Velocity PID

Velocity PID is the algorithm typically used to perform closed-loop velocity control on a position or velocity axis. PID stands for the central gains used in this mode: Proportional, Integral, and Differential. The Velocity PID provides very good control and is suitable for nearly all motion control systems with velocity feedback. In certain cases, Velocity I-PD control may be preferred.

Velocity PID Advantages

Velocity PID Disadvantages

Motion Commands in Velocity PID Mode

To use Velocity PID, use the Set Pos/Vel Ctrl Mode (68) command to set the Next Pos/Vel Control Mode to Vel 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 Velocity 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 velocity of the axis at that moment (called the Target Velocity) and subtracts the Actual Velocity to determine the Velocity Error. The Velocity 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 Velocity. 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 Velocity PID uses the gains and feed forwards listed below. Each gain or feed forward is multiplied by some quantity related to the Target Velocity and Actual Velocity 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 Velocity PID

The velocity PID gains must be tuned manually. The Tuning Wizard cannot be used to tune velocity PID control.

Diagram

 

See Also

Velocity Control | Velocity I-PD | Control Modes Overview


Send comments on this topic.

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