Question Set 2: Your Answer
Question Set 2: Your Answer
Question set 2
ae2204 Aerospace Systems and Control Theory
With answers and notes by Anthony Cummins (4436253)
This topic contains two practical questions on control theory. You can use Matlab to answer these questions.
Each of these questions counts for 1.5 point towards your grade. Pressing the "Proceed" button makes the
questions active, and takes you to the last (3rd) topic.
After running through all these introduction topics, choose the questions from the "answerable items" menu
and answer them.
0.5(2s + 1)
H (s) =
2 2
s (s + 0.4s + 4)
Create a Bode plot for this transfer function (so open loop), and answer the
first four questions below.
Then create the closed-loop system, see the diagram, and answer the
last of the questions below.
Your answer
What is, for the current gain of this open-loop system (so K = 1 ), the
37
phase margin, in degrees?
What is, for the current gain of this open-loop system, the gain margin, in
3.64
dB?
By what gain factor K (as a factor, not in dB) should this system be
0.855
multiplied to achieve a 5 dB gain margin.
https://practicon.lr.tudelft.nl/practicon/index.html?extauth=1 1/7
6/22/2020 Practicon Exercise System TU Delft
Given the application of the aforementioned gain, what will be the open-
34.4
loop phase margin.
What is height of the (highest) resonance peak, in dB, for the closed-loop
5.77
transfer function? (Don't forget to apply the aforementioned gain)
Feedback
Here is the model answer:
I have a Python script for you that would produce these answers. A Matlab script is more or less similar.
https://practicon.lr.tudelft.nl/practicon/index.html?extauth=1 2/7
6/22/2020 Practicon Exercise System TU Delft
Matlab version:
https://practicon.lr.tudelft.nl/practicon/index.html?extauth=1 3/7
6/22/2020 Practicon Exercise System TU Delft
Consider the following mass-spring and damper structure, representing the mass of a vehicle (M2 ) resting on
a spring and damper (B and K2 ), attached to the wheel (M1 ). Contact between the wheel and ground is
represented by a spring only (K1 ), since the damping in the tyre can be neglected.
For a driving vehicle, the input is the ground height (U (t) ). Construct a state-space model for this system,
with the aforementioned input, and as outputs:
https://practicon.lr.tudelft.nl/practicon/index.html?extauth=1 4/7
6/22/2020 Practicon Exercise System TU Delft
Your answer
Enter the A, B, C and D matrices of the system
A = [0 0 1 0;0 0 0 1;-4500 666.666666666667 -233.333333333333
233.333333333333;8 -8 2.80000000000000 -2.80000000000000]
B = [0;0;3.833333333333334e+03;0]
C = [0,1,0,0;8,-8,2.800000000000000,-2.800000000000000]
D = [ 0;0 ]
https://practicon.lr.tudelft.nl/practicon/index.html?extauth=1 5/7
6/22/2020 Practicon Exercise System TU Delft
B = [ 3833.3333;
0.0;
0.0;
0.0 ]
D = [ 0;
0]
Explanation / script
Feedback
Here is the model answer:
Note that these do not have to match. State-space systems can be entered in (infinitely) many variations. You
can check whether two seemingly different state-space systems are equal by starting with the eigenvalues of
the a matrices (these must match) and by calculating and comparing the transfer functions.
The basic equations of motion can be obtained by considering the forces on the two masses. We start with
the top mass (M2 ). Forces on this mass are from the spring (K2 ) and the damper (B). From the drawing,
positive direction of displacement (x2 ) is apparently upward, take the direction of forces to match. A positive
force in the spring is produced when the spring is compressed (x1 positive or x2 moves in the negative
direction), so the spring force is:
K2 (x w − x m )
The damper is similar, only it works on the speed difference, force in the damper:
B(ẋ w − ẋ m )
https://practicon.lr.tudelft.nl/practicon/index.html?extauth=1 6/7
6/22/2020 Practicon Exercise System TU Delft
M2 ẍ m = K2 (x w − x m ) + B(ẋ w − ẋ m )
M1 ẍ w = K2 (x m − x w ) + B(ẋ m − ẋ w ) + K1 (u − x w )
Divide by M1 respectively M2 to get the expressions for ẍw and ẍm . Since you have expressions for the
accelerations, you can add the velocities to the state vector (so ẋw etc.). You also need the positions in the
state vector xw and xm . These can also be added, since you already have their derivatives. Some simple
manipulation and bookkeeping gets you the state-space system matrices.
https://practicon.lr.tudelft.nl/practicon/index.html?extauth=1 7/7