Optimization of the speed controller

The speed controller is a PI controller.

The following parameters are optimized in this chapter:

Preparation

1. Open the "Run motor" menu
2. Click on the button "Start record"
Optimization of the speed controller 1:
The Scope View records position, speed and following error.
3. Under "NC": select "Functions"
4. In the field "Start mode" select the entry "Reversing sequence"
5. Enter realistic values in the following fields:
Target position 1
Target velocity
Target position 2
6. Click on the button "Start"
The motor performs the set movement periodically.
7. If necessary, reduce the acceleration time
See chapter Dynamics.
8. Under "Drive Parameters" select the tab "Velocity control"
Here you can set the controller parameters of the speed controller.

Optimization of the integral component Tn

1. Reduce the Tn value step by step
Confirm each entry with [Ctrl] + [Enter]
Meanwhile, observe the Scope View
At a certain value of Tn, the motor starts to oscillate.
Example without oscillation:
Optimization of the speed controller 2:
Example with oscillation:
Optimization of the speed controller 3:
From here on, do not reduce the Tn value any further.
2. Increase Tn again until the motor no longer oscillates
3. Increase Tn a bit more
Depending on the application.
The integral component Tn is optimized.

Optimization of the proportional component Kp

The optimization of Kp is analogous to the optimization of Tn. However, you do not have to reduce Kp, but increase it.

1. Increase the Kp value step by step
Confirm each entry with [Ctrl] + [Enter]
Meanwhile, observe the Scope View
At a certain value of Tn, the motor starts to oscillate. See above.
2. Reduce Kp again until the motor no longer oscillates
3. Still reduce Kp a little. Depending on the application