Position PID

Position PID is the algorithm typically used to perform closed-loop motion control on a position feedback axis. PID stands for the central gains used in this mode: Proportional, Integral, and Differential. The Position PID provides very good control and is suitable for nearly all motion control systems with position feedback.

The Position PID works on a position feedback only and controls both position and velocity. In certain advanced applications, other control modes may be preferred, such as Position I-PD, Velocity PID, or Velocity I-PD.

Position PID Advantages

Position PID Disadvantages

Motion Commands in Position PID Mode

The default control mode of a position axis is Position PID. If the axis is not in Position PID, use the Set Pos/Vel Ctrl Mode (68) command to set the Next Pos/Vel Control Mode to Pos PID. The next closed-loop motion command will use the control mode specified in the Next Pos/Vel Control Mode status register. The Current Control Mode register indicates the mode currently in use.

See the Closed Loop Control topic for details on which commands are supported in Position PID control.

Algorithm

Each closed loop motion command issued to the RMC specifies a target profile, which defines where the axis should be at any given moment. For each loop time when the axis is in closed loop control, the RMC uses the specified target profile to calculate the desired position of the axis at that moment (called the Target Position) and subtracts the Actual Position to determine the Position Error. The Position PID algorithm then uses this information, together with the gains and feed forwards, to calculate how much Control Output should be generated to move the axis to the Target Position. The values of the gains and feed forwards must be set to achieve proper control. The process of setting the gains is called tuning and is done as part of the setup procedure.

The Position PID uses the gains and feed forwards listed below. Each gain or feed forward is multiplied by some quantity related to the Target Position and Actual Position to come up with a percentage. The resulting percentages are all summed and then multiplied by the maximum output (typically 10V), to come up with the Control Output voltage for that loop time.

 

In addition, higher-order gains may be used if Acceleration Control or Active Damping are selected.

 

Tuning Position PID

See the Tuning Overview topic for details. The Tuning Wizard can be used to tune position PID control.

Diagram

 

See Also

Control Modes Overview


Send comments on this topic.

Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion