itsmoked
Electrical
- Feb 18, 2005
- 19,114
I have a 100W motor with a built in speed control.
It's hooked to a gear pump.
The pump outlet pressure is fed back via a pressure sensor.
I'm controlling the voltage going to the motor's speed controller with my PID.
I'm feeding a pressure profile to the plant.
With P at 1.0 and I and D zero'd I'm looking for about 100psi and the control system ramps up to about 40psi.
I add more P and the output slowly climbs to about 65psi at about a P of 8.
If I go much above 8.. LOOK OUT! It's a wild ride.
So I cranked back down to about P=6 and dialed in some I starting with 0.01. No observable improvement. As I crank the I up to 4.5 there is only a mild improvement like to maybe 72psi. If I turn up the I to 5.0? Run away!!
Further info:
I am sampling the pressure at 10ms and averaging 8 readings together.
Then running the loop at 80ms using the average.
I have no control over the motor's internal speed controller which is a 0-5V input. I'm not sure what it's control algorithm is or if it even has one. It may even be open loop.
Would a gear pump be considered a first order system?
What would be your next move on this problem? All thoughts welcome.
Keith Cress
kcress -
It's hooked to a gear pump.
The pump outlet pressure is fed back via a pressure sensor.
I'm controlling the voltage going to the motor's speed controller with my PID.
I'm feeding a pressure profile to the plant.
With P at 1.0 and I and D zero'd I'm looking for about 100psi and the control system ramps up to about 40psi.
I add more P and the output slowly climbs to about 65psi at about a P of 8.
If I go much above 8.. LOOK OUT! It's a wild ride.
So I cranked back down to about P=6 and dialed in some I starting with 0.01. No observable improvement. As I crank the I up to 4.5 there is only a mild improvement like to maybe 72psi. If I turn up the I to 5.0? Run away!!

Further info:
I am sampling the pressure at 10ms and averaging 8 readings together.
Then running the loop at 80ms using the average.
I have no control over the motor's internal speed controller which is a 0-5V input. I'm not sure what it's control algorithm is or if it even has one. It may even be open loop.
Would a gear pump be considered a first order system?
What would be your next move on this problem? All thoughts welcome.
Keith Cress
kcress -