There are much more in physics to worry about than friction

Well, when you get a ramp, you have to understand that you will always have the gravity acting there.
So, when you are sliding down the ramp, the gravity will help your "box" to keep moving. When you are sliding up the ramp, the gravity will act against your movement.
Well, let's see the first case (box already is sliding down the ramp).

P - the force of gravity on the box (P = m.g)
N - the force of the ramp on the box
Fr - Friction (always against the movement)
To keep the velocity constant, you have to have an equilibrium of all forces which are acting on the box. All we have to do is to sum all forces that are acting on the box and the result must be zero.
But to do that sum, we have to hide the force "P" for a moment and put it in two components: Px and Py. We have to do that to sum forces.
Now look what we have now:

Look, the force P still exists, but I just put two other forces that represents the force P together. Look this picture:

Well, now we have to abide two circunstances together in order to have the box sliding down with velocity constant:
N = Py
Fr = PxIt's a must to have both conditions above in order to have the box with velocity constant. So, ...
N = Py = P.cos(a)
Fr = Px = P.sin(a)
The formula of friction is Fr = μ . N
So,
μ . N = P. sin (a)
μ . P.cos(a) = P.sin(a)
μ . cos(a) = sin(a)
μ = sin(a) / cos(a)
μ = tan(a)
Well, this is what I can help. Feel free to PM me if you want the other case, which the box is sliding up the ramp.
I hope I could help. Please someone correct me If I'd commit some mistakes.
edit: changed some typo
This post was edited by betoggc on Mar 5 2015 07:00pm