Lecturer
Set up MATLAB
3.5. Analytical Root-Locus Design of Phase-Lead Compensators¶
This MATLAB Live Script presents an analytical procedure for phase-lead design. It is based on Section 7.8 of Phillips and Harbor Feedback Control Systems, Prentice Hall, 1988[1]. For the procedure it is convenient to write the compensator transfer function as
In this procedure we choose a1, a0, and b1 such that given s1, the equation
is satisfied; that is we are designing a compensator that places a root of the closed-loop characteristic equation at s=s1.
In equation (2) we have four unknowns, including K, and only two relationships (magnitude and phase) that must be satisfied. Hence, we can arbitrarily assign values to two of the unknowns. K is easily eliminated since
so if we assume that K=1 for the design procedure we eliminate one of the unknowns. The other unknown that can be eliminated is a0 which can be seen to be the DC gain of the compensator. Its value can therefore be chosen to satisfy the steady-state error requirements of the design and we need only to determine values for a1 and b1.
The design proceeds as follows. First, we express the desired closed loop pole position
and
Then the design equations (derived in Appendix B of Phillips and Harbor, 1988) are
Given a0, G(s)H(s), and the desired closed-loop pole location s1, (5) and (6) give the remaining compensator coefficients. This procedure places a closed-loop pole at s=s1; however, the locations of the remaining poles are unknown and may be unsatisfactory. In fact, some may be unstable!
For the case that ψis either 0∘ or 180∘, equations (5) must be modified to give the single equation
where the plus sign applies to the case ψ=0∘ and the minus sign applies to ψ=180∘. For this case, the value of either a1 or b1 can also be assigned. An example is now given to illustrate the procedure.
3.5.1. Example¶
An executable version of this document is available as a MATLAB Live Script analrloc.mlx. You can use it to design a Lead Compensator for other systems by downoading that script and changing the set-up parameters.
3.5.1.1. Definitions (change these to change design)¶
The plant transfer function is :
The feedback transfer function is H(s)=1:
So G(s)H(s) is:
The desired closed-loop poles are:
Now the DC gain of this type 2 system will be:
For the purpose of illustration let us arbitrarily take a value of a0=8/3:
3.5.1.2. Calculations¶
(You shouldn’t need to change these commands)
Polar form of s1
Transfer function evaluated at s1=G(s1)H(s1)in polar form:
Magnitude:
Phase:
Hence angles are:
From (5)
Compensator is therefore given by
which in normal form:
has
Now make a transfer function
3.5.1.3. Evaluation of Design¶
Open loop transfer function:
Root locus:
Closed-loop transfer function:
Step response:
As an exercise, you should examine the effect of designing for a range of DC gains in the range 0≤Ka≤10.
3.5.2. Footnotes¶
[1] The proofs of the formulae given are derived in Appendix B of that text.