Countering Gravity - Physics Question
Kirk Fraser
Posts: 364
If I have a long arm controlled by a Propeller running a trapezoid program, when it goes up there is no problem from adding weight to the end except a little more slowness. When it goes down, the weight can cause the arm to descend much faster than the trapezoid curve tells it to, after it gets past top dead center. Obviously some intermittent push in the up direction is needed to allow it to descend according to the trapezoid program instead of by gravity, and to stop where requested. I'm guessing some position feedback formula is needed or some generic push back based on 32ft/s/s to neutralize gravity's effect. How should I be thinking of it to see an answer?
Also, how does gravity impact the arm if it is rotating around the down 6 o'clock position? When it goes forward or back gravity acts the same when resisted going to 3 o'clock or 9 o'clock (or higher), slowing with increased work at those perpendicular positions but when coming down the gravity increases the speed beyond the trapezoid and overshoots the stop position. So if I send out an intermittent hold in the up position signal proportional to the angle to counteract the force at that position then follow with the continuation of the trapezoid down signal, would that work or does it need a new trapezoid ramp for each several millisecond hold and restart down segment?
Now if the arm is moving in a horizontal plane where gravity has no effect, then the motions should exclude compensation for gravity. Is there a way to tell from sensing the acceleration of measured position distances if the arm is working in a horizontal or vertical plane? Or at an angle between horizontal and vertical?
It would seem so but I'm not a math whiz so please explain. Thanks.
Also, how does gravity impact the arm if it is rotating around the down 6 o'clock position? When it goes forward or back gravity acts the same when resisted going to 3 o'clock or 9 o'clock (or higher), slowing with increased work at those perpendicular positions but when coming down the gravity increases the speed beyond the trapezoid and overshoots the stop position. So if I send out an intermittent hold in the up position signal proportional to the angle to counteract the force at that position then follow with the continuation of the trapezoid down signal, would that work or does it need a new trapezoid ramp for each several millisecond hold and restart down segment?
Now if the arm is moving in a horizontal plane where gravity has no effect, then the motions should exclude compensation for gravity. Is there a way to tell from sensing the acceleration of measured position distances if the arm is working in a horizontal or vertical plane? Or at an angle between horizontal and vertical?
It would seem so but I'm not a math whiz so please explain. Thanks.
Comments
the weight - 250 lbs
the motor type - hydraulic rotary actuator
specs - 3,000 PSI 0-20 GPM est.
Also I've noticed periodic surges in hydraulic power so the time to achieve 6 o'clock to 12 o'clock motion can vary by about double speed every 3 cycles. I have obtained a flow limiter valve for that purpose but haven't tested it yet.
plane, you are describing a motor and a weight. Perhaps some more details of the linkage would help us?
The mass inertia is what requires a trapezoid power curve to ramp up acceleration from zero to a stable speed as the weight is moved, then ramp down the acceleration as it smoothly achieves its final position. Without the ramp, using a square wave, there would be jerk with instant starts and stops. With this mass inertia, the jerk is so intense it can pull a motor hoist bolted to cement, out of the cement and hop around. So a smoother acceleration / deceleration is required, whether trapezoid which is common or an S-curve.
I was hoping to move up to the AS5055 magnetic sensor but the consultant increased his price by an order of magnitude.
Now back to the Physics Question. How do I compensate for gravity? Thanks.
Marty
Yes that's part of what I need but also the valve being a Sterling two sided (A proportional valve presents a problem of using the trapezoid at all. Once the down motion is initiated by the trapezoid controlling the B side of the valve, gravity takes over and the control trapezoid is ignored by the weighted motion. The A side of the valve powers upward motion. So it appears there needs to be some kind of interplay between the A and B sides of the valve to accomplish getting the weight down according to the requested trapezoid motion instead of by the law of gravity. My original question was what is that interplay?
a simple PID loop is unlikely to be sufficient, the Project Hexapod folks had a lot of problems with
closed loop control of a hydraulic robot leg, don't expect this to be easy.
See from 1:43 in this video - their simulations accounting for the effective backlash of a
hydraulic system show huge oscillations...
Mark, Interesting video. I especially liked the dual pump and the cute accumulators. My accumulators are just long pipes. I hadn't thought about running a simulation. Thanks.
T Chap, The only advantage I can see for a pulley system is allowing end effectors such as a hand with fingers to be smaller. You still need all of the rest of the system. So at this stage I'm staying simple. Thanks.
As for the gravitational torque, that's just geometry. Any good description of a pendulum will walk you through the math. If the mechanical configuration of the arm is predictable, you should be able to calculate the torque needed to balance gravity in real time and simply add that to the output of your PID controller. This will largely remove errors due to gravitational torque from the PID loop.
Marty
P.S. a lot of the early industrial robotic arms were hydraulic. So there is a solution.