Describing Systems

advertisement
1.1 Describing Systems
ECE 5800
Western Michigan University
Fall 2012
1.1 The nature of Systems
A System is an entity
isolated from an
environment with
entry points called
Inputs and exits into
the environment call
Outputs.
Input
x(t)
System
State
y(t)
environment
Zeroth order system
Output
z(t)
Properties
1. All environmental influences on a system can be
reduced to a vector of m real variable varying
with time. π‘₯ 𝑑 = π‘₯1 𝑑 … π‘₯π‘š 𝑑 .
2. All system effects can be summarized by a
vector of n real variables varying with time,
z 𝑑 = 𝑧1 𝑑 … 𝑧𝑛 𝑑 .
3. If the output signals are algebraic functions of
only the current input, the system is said to be
zeroth order, since there can be system
dynamics. y 𝑑 = 𝑦1 𝑑 … 𝑦𝑝 𝑑 .
Properties Continued
3. The system can be written as two algebraic
equations involving the input, state, and output:
𝑦 𝑑 = 𝑓1 π‘₯ 𝑑
z 𝑑 = 𝑓2 π‘₯ 𝑑 , 𝑦 𝑑
For suitable functions 𝑓1 and 𝑓2 .
4. If the input signal depends dynamically on the
output, there must also be system memory. The
state and output equations are dynamic, 𝑓1 and 𝑓2
depend on time delays, advances, derivatives, and
integrals.
Dynamic System
Dynamic systems have
memory, delays, time
advances, derivatives,
and integrals.
Input
π‘₯ 𝑑
𝑓1
𝑓2
state
Output
𝑧 𝑑
Example 1.1 Zeroth Order
The source voltage, VS(t),
is the input to the resistor
network. The two
resistors form a simple
system with an output
VR2(t). The state variable is
the current.
Input: π‘₯ 𝑑 = 𝑉𝑆 𝑑
Output: z 𝑑 = 𝑉𝑅2 𝑑
State: y 𝑑 = 𝑖(𝑑)
VS(t)
VS(t)
VR2(t)
𝑉𝑅2 (𝑑) =
𝑖=
𝑅2
𝑉 (𝑑)
𝑅1 + 𝑅2 𝑠
𝑉𝑠 𝑑
𝑅1 + 𝑅2
VR2(t)
Example 1.1
Show LtSpice
and MatLab
Example.
Time Driven Models
The solution to
example
𝑣𝐢 𝑑 = 𝑣𝐢 𝑑0
1
+
𝑅𝐢
𝑑
𝑣𝑆 𝜏 𝑒
𝑑0
𝜏−𝑑 𝑅𝐢 π‘‘πœ
Example 1.2
The RC circuit is
driven by a time
signal. The output is
the voltage is across
the capacitor.
The derivation of the
output voltage is
shown.
𝑉𝑆 = 𝑉𝑅 + 𝑉𝐢
𝑉𝑅 = 𝐼𝑅
𝑉𝑅 = 𝐢
𝑉𝑆 = 𝑅𝐢
VS(t)
𝑑𝑉𝐢
×𝑅
𝑑𝑑
𝑑𝑉𝐢
+ 𝑉𝐢
𝑑𝑑
𝑉𝑆 = 𝑅𝐢
𝑑𝑉𝐢
+ 𝑉𝐢
𝑑𝑑
VR2(t)
MATLAB Solution
%Example 1.2
%ECE 5800
%John Stahl
clc;
clear all;
%% Constants
pi = 3.1415926;
%%
n = 1000;
t = 0:1/n:60e-3-1/n;
%% Solution
Vs = 2 + 1*sin(2*pi*60*t);
Vo = -2*exp(-100*t)+0.0657366*sin(2*pi*60*t)+0.247821*cos(2*pi*60*t)+2;
%%
figure(1)
plot(t,Vo,'r');
title('ECE 5800 Example 1.2')
xlabel('time')
ylabel('volts')
LTSpice Solution
Control Systems
desired
π‘₯(𝑑)
Controller
Plant
response
𝑧(𝑑)
Reference signal
Open loop control
Plant: subsystem with a relationship we want to
have a prescribed output.
Controller: a subsystem with alters the behavior
of the plant.
Control Systems
desired
π‘₯(𝑑)
Controller
𝑒1 𝑑
disturbance
𝑒2 𝑑
Plant
response
𝑧(𝑑)
Closed loop control
Feedback: a signal giving the controller the
response of the plant to the reference signal.
Disturbance: a signal which alters the behavior of
the plant.
Download