07-25-2013 07:43 AM
I am trying to control the positon of the actuator using a setpoint and the feedback from the actuator itself. I am currently changing the direction by reversing the polarity of the wires going to the actuator, controlled by relays that are assigned to a relay fieldpoint module. I have feedback off a potentiometer located on the actuator and reading that with an AI Fieldpoint module. The object is for me to be able to input a setpoint and control the position of the actuator based off the feedback,"setpoint too high, actuator has to extend and if the setpoint is to low, the actuator has to rectract. The problem i am having is holding the position and not over shooting it. Is there any created examples that can help me with this. I would really appreciate any help.
07-25-2013 08:46 PM
Is it a Labview or motor/mechanics problem?
Seems that a PID would solve the problem on Labview.
Please post the code your code so people can help you
09-12-2013 11:38 AM
Hi:
hall0
Potentiometers are really not as precise as some other feedback options, so that's why you may be overshooting your distance. If you switch to a hall-effect sensor, you might get a better position when the actuator stops.
Matt