1.1 describing systems

13
1.1 Describing Systems ECE 5800 Western Michigan University Fall 2012

Upload: midori

Post on 08-Feb-2016

32 views

Category:

Documents


0 download

DESCRIPTION

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). - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: 1.1 Describing  Systems

1.1 Describing Systems

ECE 5800Western Michigan University

Fall 2012

Page 2: 1.1 Describing  Systems

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.

SystemInputx(t)

Outputz(t)

Statey(t)

environment

Zeroth order system

Page 3: 1.1 Describing  Systems

Properties

1. All environmental influences on a system can be reduced to a vector of m real variable varying with time.

2. All system effects can be summarized by a vector of n real variables varying with time, z

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.

Page 4: 1.1 Describing  Systems

Properties Continued

3. The system can be written as two algebraic equations involving the input, state, and output:

zFor 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.

Page 5: 1.1 Describing  Systems

Dynamic System

Dynamic systems have memory, delays, time advances, derivatives, and integrals.

๐‘“ 1

๐‘“ 2state

Input Output

Page 6: 1.1 Describing  Systems

VS(t) VR2(t)

๐‘‰ ๐‘… 2(๐‘ก)=๐‘…2

๐‘…1+๐‘…2

๐‘‰ ๐‘  (๐‘ก)VS(t) VR2(t)

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:

๐‘–=๐‘‰ ๐‘  (๐‘ก )๐‘…1+๐‘…2

Page 7: 1.1 Describing  Systems

Example 1.1

Show LtSpice and MatLab Example.

Page 8: 1.1 Describing  Systems

Time Driven ModelsThe solution to example

๐‘ฃ๐ถ (๐‘ก )=๐‘ฃ๐ถ (๐‘ก 0 )+ 1๐‘…๐ถโˆซ

๐‘ก0

๐‘ก

๐‘ฃ๐‘† (๐œ )๐‘’(๐œโˆ’๐‘ก ) /๐‘…๐ถ๐‘‘๐œ

Page 9: 1.1 Describing  Systems

Example 1.2The 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)

Page 10: 1.1 Describing  Systems

MATLAB Solution%Example 1.2%ECE 5800%John Stahl clc;clear all; %% Constantspi = 3.1415926; %%n = 1000;t = 0:1/n:60e-3-1/n; %% SolutionVs = 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')

Page 11: 1.1 Describing  Systems

LTSpice Solution

Page 12: 1.1 Describing  Systems

Control Systems

Open loop controlPlant: subsystem with a relationship we want to have a prescribed output.Controller: a subsystem with alters the behavior of the plant.

Controller Plantdesired response

Reference signal

Page 13: 1.1 Describing  Systems

Control Systems

Closed loop controlFeedback: 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 Plantdesired response

disturbance

๐‘ข1 (๐‘ก )