In this tutorial, we explain the lead controller. We derive the main equations that can be used to design the phase lead controller. In the next post, which can be found here, we present an example of designing the phase lead compensator by using the derived equations. The YouTube tutorial accompanying this tutorial is given below.
Effects of the Phase Lead Compensator
Generally speaking, the phrase lead controller has the following effects on the system performance
- The phase margin of the open-loop transfer function is increased. This increases the damping ratio of the closed-loop system and decreases the overshoot of the step response. The rise time is also reduced.
- The bandwidth of the closed-loop system is increased.
- The slope of the magnitude of the open-loop transfer function is reduced near the crossover frequency. This improves relative system stability.
- The steady-state error of the system transient response is not changed.
To illustrate the effect of the phase lead compensator, figures below compare the step responses of the closed loop systems obtained on the basis of the uncompensated and compensated open-loop systems by using the phase lead compensators. The considered open-loop system is:
(1)
And the compensated open-loop system is
(2)
We can observe that the compensator achieves reduced damping and smaller settling time.
The figure below graphically shows the effect of adding the phase lead controller to the uncompensated system.
Main Equations and Derivations
The phase lead compensator is described by the following equation
(3)
where
(4)
We have that
The phase lead compensators are usually used to increase the phase margin of the open loop system near the crossover frequency. On the basis of the open loop response of the system, we can evaluate the phase margin. Then, on the basis of the desired phase margin specification, we can determine how much this phase margin needs to be increased. The desired increase of the phase margin is an input parameter for the design of our phase lead compensator. On the basis of the desired change, we need to determine the parameters
Usually, this is done through the maximum phase of the lead compensator that is denoted by
In the sequel, we will derive several formulas that relate
The phase response of the phase lead compensator is given by the following equation:
(5)
We need to find the maximum of this function. To find the maximum, we will use the following derivative formula
(6)
Applying this formula to (5), we obtain
(7)
From the last equation, we obtain
(8)
From the last equation, we obtain
(9)
Let the solution of the last equation be denoted by
(10)
Another method to determine
. We can observe that
(11)
From the last equation, we obtain
(12)
By substituting (10) in (5), we obtain
(13)
Our goal is to express
(14)
Then, we have
(15)
Next, from (13), we have
(16)
By substituting the above summarized trigonometric formulas, in (16), we obtain
(17)
From the last equation, we obtain
(18)
By solving the last equation for
(19)
Another useful equation for the design of the phase lead compensator is the equation for the asymptotic gain of the lead compensator. This equation is used to estimate how much gain increase the phase lead will produce, and to properly estimate the gain crossover frequency of the compensated system. That is, this equation can help us to properly design the gain crossover frequency of the compensated system. Taking the limit value of (23), we obtain
(20)
Consequently, the magnitude of the Bode plot asymptotically approaches
(21)
Consider Fig. 4. again, however, this time, take (21) into account. At the point where the phase reaches the maximum value, we have that the gain is half of the gain (21), that is, the gain at
(22)
This conclusion is very important because of the following. Usually, the design goal is to ensure that the compensated system will have a desired gain margin. This means that at the gain crossover frequency of the compensated system, we should have a desired phase margin. We start from the uncompensated system, and we determine the gain crossover frequency and the gain margin of the uncompensated system. Then, on the basis of this information, and on the basis of the desired phase margin of the compensated system, we can select the maximal phase of the lead compensator. Then, we can use the equation (19), to select the parameter
Summary of the Procedure for Designing the Phase Lead Compensator
Design specification and goal: Achieve the Phase Margin (PM) of the compensated system that is larger or equal to the minimum desired value of the PM. Design the parameters
(23)
PROCEDURE 1:
Step 1: Plot the Bode plot of the uncompensated system. Read the PM of the uncompensated system. On the basis of the PM of the uncompensated system and on the basis of the minimum desired PM, calculate the necessary value of
Step 2: For calculated
(24)
Step 3: Select
Step 4: Select the parameter
(25)
Step 5: Plot the Bode plot, and check if the design specifications are met. If they are met, then we have designed the filter parameters
Figure 6 below, explains the main idea of designing the phase lead compensator.