Exercise Simulink Systems
Exercise Simulink Systems
Simulink systems
6.1
V
u
1 + s T1
y =
1
(V u y)
s T1
(1)
6.2
1
u
s Ti
(2)
with Ti = 0.1.
Do not use an integrator block!
Save the data for Ti in MATLAB initialization file simulink_systems_ex2.m to be called
before start of the Simulink model.
b) Use a step function from 0 to 1 at 0.1 seconds as input signal u and a simulation time of
0.2 seconds.
c) Use Signal & Scope Manager (Menue Tools) displaying input signal u and output signal y
in the same axis.
6.3
x = A x + B u
(3)
y = Cx+Du
with matrizes
1
Tr
with Vr = 2 and Tr = 0.005.
A=
B=
Vr
Tr
C=1 ;
D=0
A=
2Dw w2
1
0
"
B=
w2
0
C = [0 1];
D=0
6.4
- (2)
- (1)
(4)
Fig. 1: Feedback control loop
a) Generate a Simulink model simulink_systems_ex4.mdl for the control loop shown in
fig. 1. The numbers in the blocks refer to the functions defined in the respective Simulink
models of exercises 6.16.3.
b) Use an appropriate Simulink block for measurement transfer function
Fmess =
Vm
1 + s Tm
(4)
6.5
For working with the simulink model in MATLAB workspace the simulink model from 6.4 should
be linearized from input u to output y.
a) Generate an input and an output block for linearization from input u to output y in Simulink
model simulink_systems_ex4.mdl .
b) Operate command linmod from MATLAB Command Window.
c) Save the linearized Simulink model in variable sys and check the result of Simulink simulation by generating the step response of LTI model sys with step-command of Control
System Toolbox.