Professional Documents
Culture Documents
Part One
Pavel Karban
1. What is Simulink?
2. Getting Started
3. Dynamic System Definition
4. Preparing Problem for Simulation
5. Creation of Simuling Model – Standard Block Descripton
6. Analyzing Results
1. Start Simulink
a)From Command Window: type simulink
b)From Main toolbar
NOTE:
From math:
Primitive function to sine function is –cosine function
Real integrator:
Definite integral of input variable (area under sine
wave function between 0 and t)
t
y (t ) u (t ) dt
0
x Ax Bu
In general the output of dynamic system can be related to the
state variables and the input signal by the output equation
y Cx Du
Regensburg, 24. – 28.7. 2006
3. Dynamic System Definition
x Ax Bu
In general the output of dynamic system can be related to the
state variables and the input signal by the output equation
y Cx Du
Regensburg, 24. – 28.7. 2006
3. Dynamic System Definition
.
u x x y
B S integrator C S
x Ax Bu
y Cx Du x inner state vector
u input vector
x output vector
x1 Ax1
y Cx1
where
R2
x1 i L A 105 C 1
L
Initial condition (integrator):
U0
x(0) 5 103
R1 R2
Regensburg, 24. – 28.7. 2006
5. Creation of Simuling Model
Block diagram of simple dynamic system
Gain
-1e3/10e-3