LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Linear Actuator Control Using a Generic Actuator with feedback

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.

0 Kudos
Message 1 of 3
(2,625 Views)

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

0 Kudos
Message 2 of 3
(2,593 Views)

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

ElectricActuatorShop

0 Kudos
Message 3 of 3
(2,565 Views)