ece317 : feedback and control - computer action teamweb.cecs.pdx.edu/~tymerski/ece317/ece317 l1...

18
ECE317 : Feedback and Control Lecture 1 Introduction Dr. Richard Tymerski Dept. of Electrical and Computer Engineering Portland State University 1

Upload: trinhkhuong

Post on 23-Apr-2018

263 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: ECE317 : Feedback and Control - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L1 Introduction.pdf · ECE317 : Feedback and Control ... •Disadvantage: ... •Bode

ECE317 : Feedback and Control

Lecture 1Introduction

Dr. Richard Tymerski

Dept. of Electrical and Computer Engineering

Portland State University

1

Page 2: ECE317 : Feedback and Control - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L1 Introduction.pdf · ECE317 : Feedback and Control ... •Disadvantage: ... •Bode

Outline

• Introduction of the course• Automatic control

• Open-loop system and closed-loop system

• Goal of the course

2

Page 3: ECE317 : Feedback and Control - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L1 Introduction.pdf · ECE317 : Feedback and Control ... •Disadvantage: ... •Bode

What is “Control”?

• Make some object behave as we desire.

• In control engineering, the controlled object is called system, or plant, or process.

• Imagine “control” around you!• Room temperature control

• Car driving, bicycle riding

• Voice volume control

• Balance of bank account

• “Control” (move) the position of the pointer

• etc.

3

Page 4: ECE317 : Feedback and Control - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L1 Introduction.pdf · ECE317 : Feedback and Control ... •Disadvantage: ... •Bode

What is “Automatic Control”?

• Not manual!

• Why do we need automatic control?• Convenient (room temperature control, laundry

machine)

• Dangerous (hot/cold places, space, bomb removal)

• Impossible for human (nanometer scale precision positioning, work inside the small space that human cannot enter, huge antennas control, elevator)

• It exists in nature. (human body temperature control)

• High efficiency (engine fuel-injection control)

• Many examples of automatic control around us

4

Page 5: ECE317 : Feedback and Control - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L1 Introduction.pdf · ECE317 : Feedback and Control ... •Disadvantage: ... •Bode

Outline

• Introduction of the course• Automatic control

• Open-loop system and closed-loop system

• Goal of the course

5

Page 6: ECE317 : Feedback and Control - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L1 Introduction.pdf · ECE317 : Feedback and Control ... •Disadvantage: ... •Bode

Example: Toaster

• A toaster toasts bread, by setting timer.

• A toaster does not measure the color of bread during the toasting process.

• What happens if your setting is wrong....

• However, a toaster would be more expensive with: • Sensors to measure the color, and

• Actuators to adjust the timer based on the measured color.

6

ToasterSetting of timer Toasted bread

Page 7: ECE317 : Feedback and Control - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L1 Introduction.pdf · ECE317 : Feedback and Control ... •Disadvantage: ... •Bode

Example: Laundry machine

• A laundry machine washes clothes, by setting a program.

• A laundry machine does not measurehow clean the clothes become.

• Control without measuring devices (sensors) is called open-loop control.

7

MachineProgram setting Washed clothes

Page 8: ECE317 : Feedback and Control - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L1 Introduction.pdf · ECE317 : Feedback and Control ... •Disadvantage: ... •Bode

Ex: Automobile direction control

• Change the direction of the automobile.

• Control with measuring devices (sensors) is called closed-loop (feedback) control.

• Manual (not-automatic) control

8

Auto

Steering

wheel

angleDirection

Desired

direction

Eye

HandBrain

Error

Block diagram

Page 9: ECE317 : Feedback and Control - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L1 Introduction.pdf · ECE317 : Feedback and Control ... •Disadvantage: ... •Bode

Ex: Automobile cruise control

• Maintain the speed of the automobile.

• Cruise control can be both manual and automatic.

• When the controlled system is “Automobile”, input and output depend on control objectives, and not unique!

9

Auto

Acceleration

SpeedDesired

speed

Sensor

ActuatorController

Disturbance (wind,

bumpy road, etc.)

Error

Page 10: ECE317 : Feedback and Control - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L1 Introduction.pdf · ECE317 : Feedback and Control ... •Disadvantage: ... •Bode

Ex: Room temperature control

• Maintain the temperature in a room.

• Temperature control can be automatic.

• Note the similarity of the diagram above to the diagram in the previous slides!

10

Room

Heating

switch

state TemperatureDesired

temp.

Sensor

ActuatorController

Disturbance

Error

Page 11: ECE317 : Feedback and Control - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L1 Introduction.pdf · ECE317 : Feedback and Control ... •Disadvantage: ... •Bode

Ex: Water level control

• Maintain the water level in a tank.

• Water level control can be automatic.

• Other examples : autopilot, catching a ball, etc

11

Tank

Valve

state Water levelDesired

level

Sensor

ActuatorController

DisturbanceError

Page 12: ECE317 : Feedback and Control - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L1 Introduction.pdf · ECE317 : Feedback and Control ... •Disadvantage: ... •Bode

12

Page 13: ECE317 : Feedback and Control - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L1 Introduction.pdf · ECE317 : Feedback and Control ... •Disadvantage: ... •Bode

Automatic feedback control systems:Elements and design objective

• Control system design objective is to design a controller such that the output follows the reference in a “satisfactory” manner even in the face of disturbances.

13

PlantInput OutputReference

Sensor

ActuatorController

DisturbanceError

Page 14: ECE317 : Feedback and Control - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L1 Introduction.pdf · ECE317 : Feedback and Control ... •Disadvantage: ... •Bode

Features of feedback control

• Advantage: Strong, or robust, against • uncertainty

• unpredictable disturbance

• variation of plant etc.

• Disadvantage: • The action is taken after some undesirable event

happens.

• Stability issues

14

Page 15: ECE317 : Feedback and Control - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L1 Introduction.pdf · ECE317 : Feedback and Control ... •Disadvantage: ... •Bode

Outline

• Introduction of the course• Automatic control

• Open-loop system and closed-loop system

• Goal of the course

15

Page 16: ECE317 : Feedback and Control - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L1 Introduction.pdf · ECE317 : Feedback and Control ... •Disadvantage: ... •Bode

Systematic controller design process

16

PlantInput OutputReference

Sensor

ActuatorController

Disturbance

1. Modeling

Mathematical model

2. Analysis

Controller

3. Design

4. Implementation

Page 17: ECE317 : Feedback and Control - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L1 Introduction.pdf · ECE317 : Feedback and Control ... •Disadvantage: ... •Bode

Goal of this course

To learn basics of feedback control systems

• Modeling as a transfer function and a block diagram• Laplace transform (Mathematics!)• Electrical, mechanical• Example system: DC-to-DC switching converter

• Analysis• Stability: Pole Locations, Routh-Hurwitz criterion• Time response (transient and steady state) • Frequency response, Bode diagram

• Design• frequency response technique, Bode diagram • frequency compensation, Theory, simulation with Matlab and PECS, practice in laboratories

17

Page 18: ECE317 : Feedback and Control - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L1 Introduction.pdf · ECE317 : Feedback and Control ... •Disadvantage: ... •Bode

Course roadmap

18

Laplace transform

Transfer function

Block Diagram

Linearization

Models for systems

• electrical

• mechanical

• example system

Modeling Analysis Design

Stability

• Pole locations

• Routh-Hurwitz

Time response

• Transient

• Steady state (error)

Frequency response

• Bode plot

Design specs

Frequency domain

Bode plot

Compensation

Design examples

Matlab & PECS simulations & laboratories