Control System Lab
Control System Lab
DATE
22 / 03 / 2024
3.
TOTAL MARKS
1
1.0 LEARNING OUTCOMES
2.0 EQUIPMENT
2. Type ‘simulink’ in command window or click icon Simulink to open Simulink toolbox.
2
5. Now click ‘Library Browser’ and the following window will display
7. Click on the block ‘Transfer Fcn”, drag the block to the blank model.
8. Students are required to draw the multiple block diagram as shown in Figure 1
9. Double click on the block ‘Transfer Fcn’ in step (7) and the Block Parameters will appear.
3
10. To set the Transfer Fcn block represents the transfer function 1
, in the numerator
𝑠+2
coefficients, type [1] which represents the numerator 1 in the transfer function while in
denominator coefficients, type [1 2] which represents 𝑠 + 2 in the transfer function.
11. Repeat the procedure (10) for each transfer function in Figure 1.
12. In the Simulink Library Browser, click on Math Operations and drag block Sum and Gain to the
similar blank model.
13. Again, in the Simulink Library Browser, click on the Sources and drag block Step to the blank
model and click on the Sinks and drag block Scope and To workspace to the same model.
14. Double click on the block “To workspace” and change the “Save format” in the block
parameters to ‘Array’.
4
15. Connect all transfer function and sum blocks as shown in Figure 1.
16. When the connection is complete, save the model. Click Run on the Simulation tab.
17. Observe the output graph by double clicking the scope. To plot the output graph from the
workspace, in command window, type
plot(out.tout,out.simout) and then enter.
Save the output figure.
18. By using block diagram reduction techniques, obtain the single transfer function which
represents the model of the system.
19. Redraw the model of the system with single transfer function with the same input and observe
the output. Save the output figure by using the similar step in (17).
(𝑠)
1. Model the electrical network in Figure 2 by obtaining its single transfer function 𝐼2 .
𝑉(𝑠)
𝑅1 = 𝑅2 = 1Ω
𝐿 = 1𝐻
𝐶 = 1𝐹
2. By using a similar technique in Part A, draw the model of the electrical network in Simulink.
3. Plot and observe the output of the model. Save the output figure.
5
b. To display the transfer function in z-domain and plot the output graph
with step input:
Q=ss(Z) then enter step(Q) then enter Save the figure plot
2. Repeat step 1 for the transfer function obtained from electrical model in
Part B. Save the figure plot.
ASSIGNMENT
1. PART A: What is your observation based on the figure plot you obtained from the
multiple block diagram and single block diagram. Justify your answer.
2. PART B: State your observations for the figure plot in Part B.
3. PART C: What is your observations based on the figure plot you obtained in step 2 part
C. Justify your answer.
4. Write down simple conclusions for your observations in this lab session.
6
PART A
7
8
9
RESULTS
Block Diagram
OBSERVATION
There is no difference in the block diagram graph even after the equation has been simplified.
PART B
Loop 1:
Loop 2:
S (𝐼 − 𝐼 ) + 𝐼 + 1 𝐼 = 0
2 1 2 𝑠 2
S𝐼 - S𝐼 + 𝐼 + 1 𝐼 = 0
2 1 2 𝑠 2
1 (𝐼 ) = Vc(s)
𝑠 2
1 V𝑆2(s) ) = Vc(s)
=(
𝑠 2𝑆2+2S + 1
V𝑆(s)
2𝑆2+2S + 1
= Vc(s)
𝑉𝑐(𝑠) s
=
𝑉(𝑠) 2𝑆2+2S + 1
1
OBSERVATION.
PART C
Part C (1)
S-domain Z-domain
Part C (2)
1
S-domain Z-domain
OBSERVATION
As we can see in part C, the graph changes a bit in the part 1 of the S-domain and Z-domain in
the amplitude which is high but in part 2 the amplitude is low.
CONCLUSION
In conclusion. Simply described, block diagram reduction is the act of joining and
rearranging blocks in order to simplify a complicated system. It simplifies system
analysis and comprehension by eliminating unnecessary blocks and connections.