Discrete-time velocity controller
Simscape / Electrical / Control / General Machine Control
The Velocity Controller block implements a velocity controller in discrete-time.
You provide measured and reference rotor velocities (w and wref) as inputs to the block. The block then outputs a reference torque Tref for an electric drive.
To prevent windup in the integrator, feed the saturated reference torque Tref_sat from the electric drive back to the velocity controller.
You can control the rotor angular velocity with discrete sample time Ts using one of three common approaches:
Proportional-integral (PI) control, with proportional and integral gains Kp_w and Ki_w:
Proportional (P) control, with proportional gain Kp_w:
P-PI control characterized by a double velocity feedback loop as shown in the following figure:
Here, the PI Controller block is structured as in the PI control strategy, and Kv is the proportional gain for a P controller.
Using PI control results in a zero in the closed-loop transfer function, which can result in undesired overshoot in the closed-loop response. This zero can be canceled by introducing a zero-cancelation block in the feedforward path. The zero cancellation transfer function in discrete time is
[1] Naouar, M. W., A. A. Naassani, E. Monmasson, and I. Slama-Belkhodja. "FPGA-based predictive current controller for synchronous machine speed drive." IEEE Transactions on Power Electronics. Vol. 23, Number 4, 2008, pp. 2115–2126.