140 likes | 233 Views
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. System. Input x(t). Output z (t). State y(t).
E N D
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 environmentwith entry points called Inputs and exits into the environment call Outputs. System Input x(t) Output z(t) State y(t) environment Zeroth order system
Properties • All environmental influences on a system can be reduced to a vector of m real variable varying with time. • All system effects can be summarized by a vector of n real variables varying with time, z • 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.
Properties Continued 3. The system can be written as two algebraic equations involving the input, state, and output: z For suitable functions and . 4. If the input signal depends dynamically on the output, there must also be system memory. The state and output equations are dynamic, and depend on time delays, advances, derivatives, and integrals.
Dynamic System Dynamic systems have memory, delays, time advances, derivatives, and integrals. Output Input state
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: State: VS(t) VR2(t) VS(t) VR2(t)
Example 1.1 Show LtSpice and MatLab Example.
Time Driven Models The solution to example
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')
Control Systems 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. Controller Plant response desired Reference signal
Control Systems disturbance 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. Controller Plant response desired