Control and Optimization

Similar documents
Experiment 9. PID Controller

Automatic Control Systems 2017 Spring Semester

LECTURE 2: PD, PID, and Feedback Compensation. ( ) = + We consider various settings for Zc when compensating the system with the following RL:

A M E M B E R O F T H E K E N D A L L G R O U P

TODO add: PID material from Pont slides Some inverted pendulum videos Model-based control and other more sophisticated

International Journal of Research in Advent Technology Available Online at:

PROCESS DYNAMICS AND CONTROL

Thermoelectric Temperature Control Using the isppac20

The PID controller. Summary. Introduction to Control Systems

Linear Control Systems Lectures #5 - PID Controller. Guillaume Drion Academic year

PROCESS DYNAMICS AND CONTROL

Digitally Controlled Crystal Oven. S. Jayasimha and T. Praveen Kumar Signion

Embedded Control Project -Iterative learning control for

Loop Design. Chapter Introduction

Automatic Controller Dynamic Specification (Summary of Version 1.0, 11/93)

CSE 3215 Embedded Systems Laboratory Lab 5 Digital Control System

Logic Developer Process Edition Function Blocks

1. Consider the closed loop system shown in the figure below. Select the appropriate option to implement the system shown in dotted lines using

Addendum Handout for the ECE3510 Project. The magnetic levitation system that is provided for this lab is a non-linear system.

Lake Shore Cryotronics Application Note. Temperature

Understanding PID Control

[ á{tå TÄàt. Chapter Four. Time Domain Analysis of control system

DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY EEE 402 : CONTROL SYSTEMS SESSIONAL

Lego Mindstorms as a Simulation of Robotic Systems

CDS 101/110: Lecture 8.2 PID Control

Phys Lecture 5. Motors

Control System for a Segway

Closed-loop System, PID Controller

AN2678 Application note

We can utilize the power flow control ability of a TCSC to assist the system in the following tasks:

PYKC 7 March 2019 EA2.3 Electronics 2 Lecture 18-1

UNIT III ANALOG MULTIPLIER AND PLL

MAGNETIC LEVITATION SUSPENSION CONTROL SYSTEM FOR REACTION WHEEL

Lecture 5 Introduction to control

ECE 363 FINAL (F16) 6 problems for 100 pts Problem #1: Fuel Pump Controller (18 pts)

-binary sensors and actuators (such as an on/off controller) are generally more reliable and less expensive

Introduction To Temperature Controllers

L09. PID, PURE PURSUIT

Lecture 8: More on Operational Amplifiers (Op Amps)

ENGS 26 CONTROL THEORY. Thermal Control System Laboratory

Closed-Loop Transportation Simulation. Outlines

Robot Autonomous and Autonomy. By Noah Gleason and Eli Barnett

A 40 MHz Programmable Video Op Amp

EMT212 Analog Electronic II. Chapter 4. Oscillator

d. Why do circuit designers like to use feedback when they make amplifiers? Give at least two reasons.

Chapter 5. Tracking system with MEMS mirror

Communication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi

Ecranic EC V 1A 1.5MHz Synchronous Buck Converter FEATURES GENERAL DESCRIPTION APPLICATIONS ORDER INFORMATION

Lecture 18 Stability of Feedback Control Systems

Paul Schafbuch. Senior Research Engineer Fisher Controls International, Inc.

ANNA UNIVERSITY :: CHENNAI MODEL QUESTION PAPER(V-SEMESTER) B.E. ELECTRONICS AND COMMUNICATION ENGINEERING EC334 - CONTROL SYSTEMS

Shape Memory Alloy Actuator Controller Design for Tactile Displays

CS491/691: Introduction to Aerial Robotics

Control Methods for Temperature Control of Heated Plates

CHAPTER 4 LOAD FREQUENCY CONTROL OF INTERCONNECTED HYDRO-THERMAL SYSTEM

EUP3010/A. 1.5MHz,1A Synchronous Step-Down Converter with Soft Start DESCRIPTION FEATURES APPLICATIONS. Typical Application Circuit

ELECTRICAL CIRCUITS 6. OPERATIONAL AMPLIFIERS PART III DYNAMIC RESPONSE

2.7.3 Measurement noise. Signal variance

OPERATIONAL AMPLIFIERS (OP-AMPS) II

Module 5. DC to AC Converters. Version 2 EE IIT, Kharagpur 1

Advanced Operational Amplifiers

Applications Note RF Transmitter and Antenna Design Hints

LM2931 Series Low Dropout Regulators

Temperature Sensing Function

Sensors and Sensing Motors, Encoders and Motor Control

T.J.Moir AUT University Auckland. The Ph ase Lock ed Loop.

INSTRUCTIONS FOR INSTALLATION AND USE. LTR15

Procidia Control Solutions Dead Time Compensation

BL V 2.0A 1.3MHz Synchronous Buck Converter

2. Basic Control Concepts

Operational Amplifiers

University of Tennessee at Chattanooga. Step Response Modeling. Control Systems Laboratory

Pin Assignment and Description TOP VIEW PIN NAME DESCRIPTION 1 GND Ground SOP-8L Absolute Maximum Ratings (Note 1) 2 CS Current Sense

Lecture 9. Lab 16 System Identification (2 nd or 2 sessions) Lab 17 Proportional Control

While the Riso circuit is both simple to implement and design it has a big disadvantage in precision circuits. The voltage drop from Riso is

Different Controller Terms

COMPARISON OF TUNING METHODS OF PID CONTROLLER USING VARIOUS TUNING TECHNIQUES WITH GENETIC ALGORITHM

CHAPTER 11: DIGITAL CONTROL

(1) Identify individual entries in a Control Loop Diagram. (2) Sketch Bode Plots by hand (when we could have used a computer

Simple Oscillators. OBJECTIVES To observe some general properties of oscillatory systems. To demonstrate the use of an RLC circuit as a filter.

Andrea Zanchettin Automatic Control 1 AUTOMATIC CONTROL. Andrea M. Zanchettin, PhD Spring Semester, Linear control systems design

CHAPTER 4 PID CONTROLLER BASED SPEED CONTROL OF THREE PHASE INDUCTION MOTOR

Sensors and Sensing Motors, Encoders and Motor Control

MCE441/541 Midterm Project Position Control of Rotary Servomechanism

The Open Automation and Control Systems Journal, 2015, 7, Application of Fuzzy PID Control in the Level Process Control

Physics for Scientists & Engineers 2 2 = 1 LC. Review ( ) Review (2) Review (3) e! Rt. cos "t + # ( ) q = q max. Spring Semester 2005 Lecture 30 U E

Some results on optimal estimation and control for lossy NCS. Luca Schenato

Chapter 8. Natural and Step Responses of RLC Circuits

Application Note SAW-Components

Chapter IX Using Calibration and Temperature Compensation to improve RF Power Detector Accuracy By Carlos Calvo and Anthony Mazzei

Lecture 5 - Uncontrolled rectifier circuits I

Chapter 33. Alternating Current Circuits

LM134/LM234/LM334 3-Terminal Adjustable Current Sources

Based on the ARM and PID Control Free Pendulum Balance System

1MHz, 3A Synchronous Step-Down Switching Voltage Regulator

CHAPTER 2 GENERAL STUDY OF INTEGRATED SINGLE-STAGE POWER FACTOR CORRECTION CONVERTERS

Analog Circuits and Systems

2.1 PID controller enhancements

Glossary of terms. Short explanation

Transcription:

Control and Optimization

Example Design Goals Prevent overheating Meet deadlines Save energy

Design Goals Prevent overheating Meet deadlines Save energy Question: what the safety, mission, and performance requirements here?

Design Goals Prevent overheating (safety requirement) Meet deadlines (Mission requirement) Save energy (Performance requirement) Question: what the safety, mission, and performance requirements here?

Thermal and Energy Management Safety Control (Thermal Emergency Management) Switch: Thermal Emergency? Temperature and Energy Control Power saving mode settings, schedule, etc.

Thermal and Energy Management Safety Control (Thermal Emergency Management) Switch: Thermal Emergency? Temperature and Energy Control Power saving mode settings, schedule, etc. Operate as close to the thermal limit as is safe, but without exceeding it

Thermal and Energy Management Target temperature, emergency temperature, and meltdown temperature: Failure temp. Current temperature, t Emergency temp. Target temp.

Relation of Temperature and Energy The rate of change of temperature is proportional to the difference between input power and output power (via cooling) dt = Pin Pout dt P = f ( DVS, sleep) P in out = g( T )

Scheduling and Feedback Control Feedback control corrects quality deviations or performance deviations in the physical world Feedback control loops sample the environment, determine how far it is from desired state then actuate in a direction that approaches desired state

Classical Feedback Control Loops Feedforward Desired Set Point - Controller (Policy) Actuator (Mechanism) Process Output Measured Output Sensor

Feedback Control The loop represents a causality chain Feedforward Desired Set Point - Controller (Policy) Actuator (Mechanism) Process Output Measured Output Sensor

Non-CS Feedback Control Example Deviation from desired Desired Temperature - Heating/cooling is proportional to deviation from desired temp. Proportional Controller (Policy) Heater/Cooler (Mechanism) Default Heater/cooler Setting (e.g., off) Room Actual Temp. Electric input to heater/cooler Measured Temperature Thermometer Heat generated (positive or negative)

Chip Temperature Feedback Control Deviation from desired Desired Temperature - Control depends on deviation from desired temp. Controller (Policy) DVS, Sleep (Mechanism) Default Energy Settings (DVS, Sleep) Processor Actual Temp. Power management Measured Temperature Chip Temperature Sensor Heat generated (positive or negative)

Feedback Design Concern #1: Stability Will the loop converge? - Must prevent over-compensation Desired Temperature - Proportional Controller (Policy) Heater/Cooler (Mechanism) Default Heater/cooler Setting (e.g., off) Room Actual Temp. Measured Temperature Thermometer

Feedback Design Concern #2: Steady State Error Will the loop converge exactly to the desired set point? - Depends on the control policy Desired Temperature - Proportional Controller (Policy) Heater/Cooler (Mechanism) Default Heater/cooler Setting (e.g., off) Room Actual Temp. Measured Temperature Thermometer

Stability Unstable Stable Intuition: Loop must not magnify signals (loop gain < 1) Desired Temperature - Proportional Controller (Policy) Loop gain Heater/Cooler (Mechanism) Default Heater/cooler Setting (e.g., off) Room Actual Temp. Measured Temperature Thermometer

Stability Example Is the loop below stable? u = 0.7 e m = 3 u T = 0.5 m T r - e Proportional u m Heater/Cooler Controller (Mechanism) (Policy) Room T T m Loop gain Measured Temperature Thermometer T m = T

Stability Example Is the loop below stable? u = 0.7 e m = 3 u T = 0.5 m T r - e Proportional u m Heater/Cooler Controller (Mechanism) (Policy) Room T T m Loop gain Measured Temperature Thermometer T m = T

Stability and Phase Shift Fact 1: Most reactions are not instantaneous Heat Phase shift (delay) Temperature Ratio = Gain Heat (output from heater) Room Temperature

Stability and Phase Shift Fact 2: Gain and phase shift depend on frequency Heat Phase shift (delay) Temperature Ratio = Gain Heat (output from heater) Room Temperature

Stability and Phase Shift Fact 2: Gain and phase shift depend on frequency Example: Spring If you hold the top of the spring and move 1 ft up then 1 ft down at an increasing frequency, what happens to the range of motion of the weight? Weight

Stability and Phase Shift Fact 2: Gain and phase shift depend on frequency Example: Spring If you hold the top of the spring and move 1 ft up then 1 ft down at an increasing frequency, what happens to the range of motion of the weight? Gain g(f) Answer: Range of motion of weight decreases as frequency increases Weight Frequency response Frequency f

Stability and Phase Shift Fact 2: Gain and phase shift depend on frequency Example: Spring Also, the weight grows more out of sync with you (lags behind). That is to say, phase shift increases Phase Delay p(f) Weight Frequency f

Stability Example Revisited u = 0.7 e m = 3 u T = 0.5 m T r - e Proportional u m Heater/Cooler Controller (Mechanism) (Policy) Room T T m Loop gain Measured Temperature Thermometer T m = T

Stability Example Revisited Which frequency f to consider? g1(f) p1(f) g2(f) p2(f) g3(f) p3(f) T r - e Proportional u m Heater/Cooler Controller (Mechanism) (Policy) Room T T m Gain and phase Measured Temperature Thermometer g4(f) p4(f)

Stability Example Revisited Which frequency f to consider? Answer: The one that makes the sum of p i (f) = 180 o (why?) g1(f) p1(f) g2(f) p2(f) g3(f) p3(f) T r - e Proportional u m Heater/Cooler Controller (Mechanism) (Policy) Room T T m Measured Temperature Thermometer g4(f) p4(f)

Stability Example Revisited Phase equation: S i p i (f) = p f is obtained Gain equation: P i g i (f) must be less than 1 for stability g1(f) p1(f) g2(f) p2(f) g3(f) p3(f) T r - e Proportional u m Heater/Cooler Controller (Mechanism) (Policy) Room T T m Measured Temperature Thermometer g4(f) p4(f)

Computing the Transfer Function Example 1: Find gain and phase of an integrator? Hint: substitute for input with sin (wt), and compute output, then determine gain and phase shift.

Computing the Transfer Function Example 1: Find gain and phase of an integrator? Observation: The integral of sin (wt) is cos (wt) / w Gain = 1/w Phase = -90 o

Computing the Transfer Function Example 2: Find gain and phase of a differentiator?

Computing the Transfer Function Example 2: Find gain and phase of a differentiator? Observation: The derivative of sin (wt) is w cos (wt) Gain = w Phase = 90 o

Computing the Transfer Function Example 3: Find gain and phase of a pure delay element?

Computing the Transfer Function Example 3: Find gain and phase of a pure time-delay element? Observation: Delay does not magnify signal. Phase shift is equal to proportional to frequency and delay Gain = 1 Phase = - w D

Computing the Transfer Function Example 4: Find gain and phase of an element given by the first order differential equation below? doutput Output +τ = K Input dt Observation: Gain =? Phase =?

Computing the Transfer Function Example 4: Find gain and phase of an element given by the first order differential equation below? doutput Output +τ = K Input dt Observation: Gain = K Phase = - tan -1 w t Note: This element is called first order lag. t is called a time constant.

Summary of Basic Elements Input = sin (wt) Element Gain Phase Integrator 1/w -p/2 Note: Differentiator w p/2 w = 2 p f osc Pure delay element (Delay = D) First order lag (time constant = t) Pure gain (Gain = K) 1 - w D K/ sqrt (1 + (t w) 2 ) - tan -1 (w t) K 0 Where f osc is the loop frequency of oscillation

Example A robot has a side sensor that can measure distance from a wall when the robot is traveling roughly parallel to it (a short distance away). The operator can control the wheels to turn the robot towards or away from the wall. Design a control loop that keeps the robot traveling along the wall a constant distance away (without bumping into it and without straying away). Wall can be a curved surface.