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.