PID Compensator with Bilinear Approximation

Bilinear Transformation

There are several ways for mapping from the s-plane to z-plane. One of these, the bilinear transformation, has the advantage that it maps the entire left half of the s-plane into the unit circle in the z-plane. The bilinear transformation maps from s-plane to z-plane using the following relation:

where Ts is the sampling time of discrete-time system.

PID Compensator with Bilinear Transformation

In the continuous-time system, a transfer function for a PID controller is described as follows:

where Kp,Ki and Kd are the proportional, integral and derivative gains respectively. To map to the z-plane we substitute the bilinear relation into the above PID transfer function, so the discrete-time PID controller becomes.



You can add the following MATLAB commands into your m-file for discrete-time PID controller with appropriate gains, Kp,Ki and Kd.

In addition, the c2d command in MATLAB can convert continuous-time to discrete-time PID controller without going through an algebraic substitution or mapping. This command requires a system representation of a continuous system, sampling time and the method that will be used. For the bilinear approximation, the "tustin" method should be specified. For example, the c2d command can be used as follows.


Use your browser's "Back" button to return to the previous page.