Assignment 1 - Block Diagrams and MatlabSimulink
Assignment 1 - Block Diagrams and MatlabSimulink
November 9, 2022
1
1.1 Matlab Simulink basics
Try to recreate Figure 2. In control engineering it is very easy to get lost. Therefore, we work with areas, sub/super
systems, and functions. The steps below will guide you creating your first area.
• Try to recreate Figure 1, note that some blocks are flipped, and within some blocks values have changed.
• Make sure you have commented the area out. This way the programme does not try to compile, and compute
that system.
Once you have double-clicked all your blocks, and you have assembled your first area you can start with the actual
assignment.
1.2 Theory questions
The questions below correspond to Figure 3 and Figure 4. The transfer functions G1, G2, G3, and G4 are setup
in the S-domain (recall Laplace), yet the scope in Figure 3 displays the system responses in the time domain, see
Figure 4 . The length of the simulation is determined by the value in the ’Simulation stop time’ bar in the top of the
model window. By default the simulation stop time is set to 10.0 [s].
3
Figure 3: Open loop systems: G1(s) - G4(s)
Theory Questions:
1. Where does R(s) stand for?
2. What is the order order of systems G1, G2, G3, and G4? How do you recognise that?
3. Is the slope at t=1.0 [s] equal to zero?
4. Give the formula for the final value theorem. Also describe under which conditions the formula
5. How do we find the pole location of a transfer function?
6. Present a table with for G1,G2,G3, and G4. (|Input|Transfer Function|Pole location|Final Value|).
7. Discuss if these four systems will be stable or unstable when you create a negative 1:1 feedback loop?
4
Figure 5: An open loop system response
8. How many poles do we need in order to observe oscillations in the system response?
9. How are the poles closest to the origin called?
10. Give a qualitative drawing of the poles corresponding to the system response in Figure 5.
11. Complete the ’...’ in Figure 6. Also write down the correct words in the caption.
12. Give a equation for E(s).
13. Obtain the transfer function C(s)
R(s)
5
port.
18. Reduce the block diagram into one equivalent transfer function. Show the intermediate steps of reducing the
block diagram.
Hint 1, make use of the properties of a linear system (Homogeneity: f (t)·G = xf (t) (t) –> αf (t)·G = α·xf (t) (t), and
Additivity: f (t)+g(t)·G = xf (t) (t)+xg(t) (t)); Hint 2, have a look at the equations below:
Moving a summing point behind a block: Figure 8 belongs to equation 1 and equation 2.
X2
X3 = GX1 ± (4)
G
6
Closed loop simplification or elimination feedback loop: Figure 10 belongs to equation 5.
C(s) G(s)
= (5)
R(s) 1±G(s)H(s)
Note for a negative feedback loop a + sign should be used; for a positive feedback loop a − sign should be used.
Good luck!
Kind Regards,
T. Hegberg
Lecturer Aeronautical Engineering, Inholland university of applied sciences - Delft