System Modeling & Examples
System Modeling & Examples
1/16
Physical View:
Schematic View
Output signal
is the voltage
across here
Apply guitar
signal here as
a voltage
System View
Math Function
for Input
x(t)
Math Model
of System
y(t)
Math Function
for Output
Math Model quantitatively relates input signals math to the output signals
math Allows us to understand and predict how the system will work!
2/16
d 2y (t )
dy (t )
dx (t )
a2
a
y
(
t
)
b
b0 x (t )
1
0
1
2
dt
dt
dt
Given: Input x(t)
Find: Ouput y(t)
3/16
System Modeling
To do engineering design, we must be able to accurately predict the
quantitative behavior of a circuit or other system.
This requires math models:
Circuits
Device Rules
R: v(t)=Ri(t)
L: v(t)=L(di(t)/di)
C: dv(t)/dt=1/Ci(t)
Circuit Rules
-KVL
-KCL
-Voltage Divider
-etc.
Differential Equation
Mechanical
Device Rules
Mass: M(d2p(t)/dt2)
Spring: kxp(t)
Damping: kd(dp(t)/dt)
System Rules
-Sum of forces
-etc.
Differential Equation
4/16
5/16
Simple Model:
Drivers Thevenin
Equivalent Circuit
(Computer #1)
Cable Model
Zero Output
Resistance (Ideal)
Receivers Thevenin
Equivalent Circuit
(Computer #2)
Infinite Input
Resistance (Ideal)
Effective Operation:
x(t)
5v
t
0 0 1 1
x(t)
y(t)
0 1 0 1
6/16
x(t)
5v
x(t)
t
0 0 1 1
y(t)
0 1 0 1
x(t ) vR (t ) y (t )
vR (t ) Ri (t )
dy (t )
i (t ) C
dt
dy (t ) 1
1
y (t )
x(t )
dt
RC
RC
This is the Differential Equation to be Solved:
Given: Input x(t)
-5v
5v
t
0 0 1 1
0 1 0 1
5v
t
+
t
-5v
8/16
Input Components
5v
5v
t
-5v
-5v
5v
5v
t
+
t
-5v
t
-5v
9/16
Output Components
5v
t
-5v
Output
5v
5v
t
x(t)
Input
5v
t
t
0 0 1 1
0 1 0 1
-5v
10/16
Schematic System:
Mathematical System:
Mathematical Solution:
Computer
#1
x(t)
Computer
#2
y(t)
dy (t ) 1
1
y (t )
x(t )
dt
RC
RC
5v
Output
t
11/16
12/16
1 1
y[ n ]
n x[0] x[1] x[n 1] x[n ]
n 1
n
y
n
[
1]
n
1
y[ n ]
y[n 1]
x[n ]
n 1
n 1
This is a math
model for this
DT system
14/16
1
n
y[n 1]
x[n ]
n 1
n 1
x[n]
y[n]
-1
35
y[0]=(0/1)y[-1] +(1/1)x[0] = 35
39
43
y[2]=(2/3)y[1] +(1/3)x[1]
36
Etc.
Etc.
Initial
Condition
y[0] = 0
for n = 1 to ???
y(n) = (n/(n+1))*y(n-1) + (1/(n+1))*x(n)
end
All Components
are Clocked
Etc.
1/(n-1)
Memory
(Stores Most
Recent Output
Value)
Sum
n/(n-1)
15/16
BIG PICTURE
-
16/16