M
Is the SLC 5/05 PID instruction of any use in a machine position control application? Controlling the velocity of a machine to move from the current position to the destination. I want to do the best possible without using a servo module.
The PID instruction is easy enough to use for a process control application (temperature control for example). I am trying to find a way to use the PID instruction to improve upon my current method of proportional only control of machine velocity for a horizontal or vertical axis of a storage/retrieval machine.
I use the SLC 5/05 with analog output (4-20ma) to control the speed of an inverter. The position data comes either from an absolute encoder or from a laser measurement device (usually DeviceNet).
I use just a few rungs and the CPT instruction to run max speed (using the inverters accel and decel) until the axis is within the "proportional" distance and then ramp down from 100% to some minimum speed based on the distance to the destination.
This works OK except for the expected problems of optimizing the speed control for short moves versus long moves and unloaded machine versus fully loaded machine.
Is there something useful that the PLC PID instruction could be doing for this application?
I normally have floating point position and destination values but could scale them if necessary.
In my PLC code I use the absolute value of the current machine position minus the destination as the distance or "error". Whether I must move forward or reverse to the destination, I use the same speed control math.
Thanks in advance for any help.
The PID instruction is easy enough to use for a process control application (temperature control for example). I am trying to find a way to use the PID instruction to improve upon my current method of proportional only control of machine velocity for a horizontal or vertical axis of a storage/retrieval machine.
I use the SLC 5/05 with analog output (4-20ma) to control the speed of an inverter. The position data comes either from an absolute encoder or from a laser measurement device (usually DeviceNet).
I use just a few rungs and the CPT instruction to run max speed (using the inverters accel and decel) until the axis is within the "proportional" distance and then ramp down from 100% to some minimum speed based on the distance to the destination.
This works OK except for the expected problems of optimizing the speed control for short moves versus long moves and unloaded machine versus fully loaded machine.
Is there something useful that the PLC PID instruction could be doing for this application?
I normally have floating point position and destination values but could scale them if necessary.
In my PLC code I use the absolute value of the current machine position minus the destination as the distance or "error". Whether I must move forward or reverse to the destination, I use the same speed control math.
Thanks in advance for any help.