See also problem
Problemè 1
A unity feedback system has transfer function
1.a
Plot the root locus for this problem
We need to find the poles and zeros of the open-loop transfer function . The poles are given by the roots of the denominator polynomial:
And the following code to draw the plot:
1.b
Find the value of that gives a damping ration of 0.2588
K is approximately .
The following code is used:
1.c
Find the location of the roots for the value of found in 1.b
With , the poles are [-1.5+2.78388218j -1.5-2.78388218j -1. +0.j ]
.
The code is:
1.d
Plot the step response of your closed-loop system, along with the step response of an ideal second order system with damping ratio 0.2588 and poles that correspond to the two poles with imaginary parts.
Here is the code for that:
1.e
Find the value of K that leads to a marginally stable system.
The characteristic equation is given by:
or
Let’s setup the Routh-Hurwitz table:
1 | 13 | |
---|---|---|
4 | K | |
0 | ||
K | - |
For marginal stability, the system must have poles on the imaginary axis. This occurs when the first element of any row in the Routh array is zero.
Let , then .
Therefore, the system is marginally stable for . This is the critical gain . For , all elements in the first column of the Routh array are positive, indicating stability. For , there is a sign change in the first column, indicating instability
For frequency oscillation at marginal stability, solve characteristic equation for with :
imaginary roots are , thus frequency of oscillation is rad/s.
Problemè 2
Consider the open-loop system
2.a
Suppose that design specifications are that the is 20% and the settling time is 1 second. Use the root-locus approach to design a PD controller for this system.
Given is 20% and settling time is 1 second, we can find , , as:
The code to find:
So desired dominant poles are:
Propose a PD controller where is the gain and is the zero introduced by the PD controller.
The code can be found here