Share this

Three servo motor control methods that PLC engineers must master

2026-04-06 04:30:39 · · #1

Servo motor speed and torque control are both controlled using analog signals, while position control is achieved through pulse generation. The specific control method used depends on the customer's requirements and the desired motion function.

Next, we will introduce three control methods for servo motors.

If you don't have requirements for the speed or position of the motor, and only need to output a constant torque, then of course you should use torque mode.

If a certain level of accuracy is required for position and speed, but real-time torque is not a major concern, it is better to use speed or position mode.

If the host controller has good closed-loop control capabilities, speed control will be more effective. If the requirements are not very high, or there are basically no real-time requirements, position control does not place high demands on the host controller.

In terms of servo drive response speed: torque mode has the least computational load and the fastest response to control signals; position mode has the greatest computational load and the slowest response to control signals.

When there are high requirements for dynamic performance during movement, the motor needs to be adjusted in real time.

If the controller itself has a slow processing speed (such as a PLC or a low-end motion controller), then position control should be used.

If the controller has a fast processing speed, the position loop can be moved from the driver to the controller using a speed-based method, reducing the workload of the driver and improving efficiency.

If a better host controller is available, torque control can also be used, removing the speed loop from the driver. This is generally only possible with high-end dedicated controllers.

Generally speaking, a relatively intuitive way to compare the quality of driver control is through response bandwidth.

When torque or speed control is applied, a square wave signal is given to the motor through a pulse generator, causing the motor to continuously rotate forward and reverse, and the frequency is continuously increased. The oscilloscope displays a frequency sweep signal. When the vertex of the envelope reaches 70.7% of the highest value, it indicates that the motor has lost synchronization. At this point, the frequency level indicates the quality of control. Generally, the current loop can achieve more than 1000Hz, while the speed loop can only achieve tens of hertz.

1. Torque control

Torque control is achieved by setting the output torque of the motor shaft through external analog input or direct address assignment. For example, if 10V corresponds to 5Nm, then when the external analog input is set to 5V, the motor shaft output will be 2.5Nm. If the motor shaft load is below 2.5Nm, the motor rotates forward; if the external load is equal to 2.5Nm, the motor does not rotate; and if the load is greater than 2.5Nm, the motor rotates in reverse (typically occurring under gravity loads). The torque setting can be changed in real-time by altering the analog input or by changing the corresponding address value via communication.

The main applications are in winding and unwinding devices where there are strict requirements on the stress on the material, such as wire winding devices or optical fiber drawing equipment. The torque setting must be changed at any time according to the change of the winding radius to ensure that the stress on the material does not change with the change of the winding radius.

2. Position control

Position control mode typically determines the rotation speed by the frequency of externally input pulses and the rotation angle by the number of pulses. Some servo systems can also directly assign speed and displacement values ​​via communication. Because position control mode allows for very strict control over both speed and position, it is generally used in positioning devices.

Application areas include CNC machine tools, printing machinery, etc.

3. Speed ​​Mode

Rotation speed can be controlled by analog input or pulse frequency. In the outer loop PID control with a host control device, speed mode can also be used for positioning, but the position signal of the motor or the position signal of the direct load must be fed back to the host for calculation.

The position mode also supports direct load outer loop detection of position signals. In this case, the encoder at the motor shaft end only detects the motor speed, and the position signal is provided by the detection device at the final load end. The advantage of this is that it can reduce the error in the intermediate transmission process and increase the positioning accuracy of the entire system.

4. Discuss the three rings.

Servo motors are typically controlled by three loops, which are three closed-loop negative feedback PID control systems. The innermost PID loop is the current loop, which operates entirely within the servo driver. It uses Hall effect sensors to detect the output current of each phase of the motor and provides negative feedback to the current setting for PID adjustment, thereby ensuring that the output current is as close as possible to the set current. The current loop controls the motor torque, so the driver's computation is minimized and the dynamic response is fastest in torque mode.

The second loop is the speed loop, which uses the signal from the motor encoder for negative feedback PID control. Its PID output is directly set by the current loop. Therefore, speed loop control includes both speed loop and current loop. In other words, the current loop must be used in any mode. The current loop is the foundation of control. While controlling speed and position, the system is also controlling the current (torque) to achieve corresponding control of speed and position.

The third loop is the position loop, which is the outermost loop. It can be built between the driver and the motor encoder, or between the external controller and the motor encoder or the final load, depending on the actual situation. Since the output of the position control loop is the setting of the speed loop, the system performs calculations for all three loops in position control mode. At this time, the system has the largest computational load and the slowest dynamic response speed.

Read next

Green lighting and intelligent lighting energy-saving control system

1. Overview According to statistics, lighting electricity consumption accounts for about 12% of China's total electr...

Articles 2026-02-22