Lecture 5 Introduction to control

Similar documents
Lecture 4. Chapter 11 Nise. Controller Design via Frequency Response. G. Hovland 2004

Lecture 8. PID control. Industrial process control ( today) PID control. Insights about PID actions

Control Systems Engineering ( Chapter 7. Steady-State Errors ) Prof. Kwang-Chun Ho Tel: Fax:

ECE 3510 Root Locus Design Examples. PI To eliminate steady-state error (for constant inputs) & perfect rejection of constant disturbances

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

SKEE 3143 CONTROL SYSTEM DESIGN. CHAPTER 3 Compensator Design Using the Bode Plot

Analysis of Stability &

Lecture 8 - SISO Loop Design

376 CHAPTER 6. THE FREQUENCY-RESPONSE DESIGN METHOD. D(s) = we get the compensated system with :

Digital Control System

Module 4: Time Response of discrete time systems Lecture Note 1

ME 375 FINAL EXAM Wednesday, May 6, 2009

Compensation Techniques

MM1: Basic Concept (I): System and its Variables

Given the following circuit with unknown initial capacitor voltage v(0): X(s) Immediately, we know that the transfer function H(s) is

6.302 Feedback Systems Recitation 6: Steady-State Errors Prof. Joel L. Dawson S -

Homework 12 Solution - AME30315, Spring 2013

Root Locus Contents. Root locus, sketching algorithm. Root locus, examples. Root locus, proofs. Root locus, control examples

Gain and Phase Margins Based Delay Dependent Stability Analysis of Two- Area LFC System with Communication Delays

G(s) = 1 s by hand for! = 1, 2, 5, 10, 20, 50, and 100 rad/sec.

ME 375 FINAL EXAM SOLUTIONS Friday December 17, 2004

Chapter 10. Closed-Loop Control Systems

EE/ME/AE324: Dynamical Systems. Chapter 8: Transfer Function Analysis

Massachusetts Institute of Technology Dynamics and Control II

Wolfgang Hofle. CERN CAS Darmstadt, October W. Hofle feedback systems

Function and Impulse Response

The state variable description of an LTI system is given by 3 1O. Statement for Linked Answer Questions 3 and 4 :

CHAPTER 4 DESIGN OF STATE FEEDBACK CONTROLLERS AND STATE OBSERVERS USING REDUCED ORDER MODEL

ME2142/ME2142E Feedback Control Systems

MEM 355 Performance Enhancement of Dynamical Systems Root Locus Analysis

The Root Locus Method

MODERN CONTROL SYSTEMS

Chapter 9: Controller design. Controller design. Controller design

R. W. Erickson. Department of Electrical, Computer, and Energy Engineering University of Colorado, Boulder

Root Locus Diagram. Root loci: The portion of root locus when k assume positive values: that is 0

Department of Mechanical Engineering Massachusetts Institute of Technology Modeling, Dynamics and Control III Spring 2002

S_LOOP: SINGLE-LOOP FEEDBACK CONTROL SYSTEM ANALYSIS

R. W. Erickson. Department of Electrical, Computer, and Energy Engineering University of Colorado, Boulder

THE PARAMETERIZATION OF ALL TWO-DEGREES-OF-FREEDOM SEMISTRONGLY STABILIZING CONTROLLERS. Tatsuya Hoshikawa, Kou Yamada and Yuko Tatsumi

Figure 1 Siemens PSSE Web Site

Design of Digital Filters

MM7. PID Control Design

Question 1 Equivalent Circuits

NAME (pinyin/italian)... MATRICULATION NUMBER... SIGNATURE

March 18, 2014 Academic Year 2013/14

Design By Emulation (Indirect Method)

Feedback Control Systems (FCS)

into a discrete time function. Recall that the table of Laplace/z-transforms is constructed by (i) selecting to get

Lecture 10 Filtering: Applied Concepts

Figure 1: Unity Feedback System

Chapter 7. Root Locus Analysis

Chapter 13. Root Locus Introduction

Control Systems Analysis and Design by the Root-Locus Method

EE 4443/5329. LAB 3: Control of Industrial Systems. Simulation and Hardware Control (PID Design) The Inverted Pendulum. (ECP Systems-Model: 505)

6.447 rad/sec and ln (% OS /100) tan Thus pc. the testing point is s 3.33 j5.519

State Space: Observer Design Lecture 11

Stability. ME 344/144L Prof. R.G. Longoria Dynamic Systems and Controls/Lab. Department of Mechanical Engineering The University of Texas at Austin

1 Routh Array: 15 points

ECEN620: Network Theory Broadband Circuit Design Fall 2018

Today s Lecture. Block Diagrams. Block Diagrams: Examples. Block Diagrams: Examples. Closed Loop System 06/03/2017

POWER SYSTEM SMALL SIGNAL STABILITY ANALYSIS BASED ON TEST SIGNAL

A Simplified Methodology for the Synthesis of Adaptive Flight Control Systems

Fractional-Order PI Speed Control of a Two-Mass Drive System with Elastic Coupling

Lecture #9 Continuous time filter

Documentation for the Bytronic Pendulum Control System

Reduction of Multiple Subsystems

SIMON FRASER UNIVERSITY School of Engineering Science ENSC 320 Electric Circuits II. R 4 := 100 kohm

Modeling and Simulation of a Two-Mass Resonant System with Speed Controller

What lies between Δx E, which represents the steam valve, and ΔP M, which is the mechanical power into the synchronous machine?

11.2 Stability. A gain element is an active device. One potential problem with every active circuit is its stability

EE Control Systems LECTURE 6

EE Control Systems LECTURE 14

Stability Criterion Routh Hurwitz

ECE-320 Linear Control Systems. Spring 2014, Exam 1. No calculators or computers allowed, you may leave your answers as fractions.

Feedback Control System Fundamentals

Systems Analysis. Prof. Cesar de Prada ISA-UVA

Multivariable Control Systems

MAHALAKSHMI ENGINEERING COLLEGE-TRICHY

SIMON FRASER UNIVERSITY School of Engineering Science ENSC 320 Electric Circuits II. Solutions to Assignment 3 February 2005.

EE105 - Fall 2005 Microelectronic Devices and Circuits

Designing Circuits Synthesis - Lego

Sensorless speed control including zero speed of non salient PM synchronous drives

Homework Assignment No. 3 - Solutions

INC 341 Feedback Control Systems. Introduction. Introduction. System modelling

Investigating Efficiency of a Five-Mass Electromechanical System having Damping Friction, Elastic Coupling and Clearance

16.400/453J Human Factors Engineering. Manual Control II

Resonant Load Control Methods for Industrial Servo Drives

CONTROL OF INTEGRATING PROCESS WITH DEAD TIME USING AUTO-TUNING APPROACH

Lag-Lead Compensator Design

Advanced D-Partitioning Analysis and its Comparison with the Kharitonov s Theorem Assessment

RaneNote BESSEL FILTER CROSSOVER

Linear-Quadratic Control System Design

Lecture 12: Examples of Root Locus Plots. Dr. Kalyana Veluvolu. Lecture 12: Examples of Root Locus Plots Dr. Kalyana Veluvolu

Robust Mould Level Control

CONTROL SYSTEMS. Chapter 5 : Root Locus Diagram. GATE Objective & Numerical Type Solutions. The transfer function of a closed loop system is

SMALL-SIGNAL STABILITY ASSESSMENT OF THE EUROPEAN POWER SYSTEM BASED ON ADVANCED NEURAL NETWORK METHOD

Chapter #4 EEE8013. Linear Controller Design and State Space Analysis. Design of control system in state space using Matlab

Lecture 6: Resonance II. Announcements

Longitudinal automatic control system for a light weight aircraft

EE C128 / ME C134 Problem Set 1 Solution (Fall 2010) Wenjie Chen and Jansen Sheng, UC Berkeley

Transcription:

Lecture 5 Introduction to control Tranfer function reviited (Laplace tranform notation: ~jω) () i the Laplace tranform of v(t). Some rule: ) Proportionality: ()/ in () 0log log() v (t) *v in (t) () * in () t ( ) v( t) e dt 0 Time domain Frequency domain 0 2) Integration: 0log v ( t) vin ( t) dt in ( ) ( ) H ( ) Time domain Frequency domain 0 db/dec 0 90

3) Differentiation: v dvin ( t) ( t) dt ( ) ( ) in 0log H ( ) 0 db/dec 90 0 Low pa filter: H ( ) ( ω 0 ) 0log log(/ω 0 ) ~/ω 0 0 db/dec ω 0 /0 ω 0 0ω 0 ω 0 ~/jω 0 90 2

Feedback loop Y variable you d like to control (eg: haft angle of a ervo motor) X your deired value of Y (eg: 0 degree) X() Y G(XHY) Y(GH) GX Y/X G/(GH) Error G() Y X Motor and amplifier behavior Y() Senor behavior G GH G forward tranfer function, GH loop tranfer function Feedback loop Eg. Servo ytem with DC motor and Handy Board. HandyBoard knob: in code F() analog(0) Pwm motor G() Mechanical connection in FG FG potentiometer 3

Feedback loop: tability Y X G GH Thi loop will be untable if GH GH, phae(gh) ±80 deg. G() implie Y X for ome value of i.e. there will exit a frequency for which the loop will provide infinite amplification Loop Stability Y X G GH Partial tability criterion: GH < where the phae of GH i ± 80 deg. 0log GH STABLE 0 db 8 db Gain Margin ω 0 0 80 270 ω 0 4

Loop Stability Y X G GH Partial tability criterion: GH < where the phae of GH i ± 80 deg. 0log GH UNSTABLE ω 0 0 db 0 ω 0 Increaing loop gain eventually make all ytem untable 80 270 Steady tate error Steady tate error: The difference between actual and deired value when thee value are not fluctuating with time (DC behavior). Error X() Y() G() Error XY Y G* Error SSError Y G(0) Make G 0 (DC gain) large to minimize error. Thi can increae loop gain at high frequencie and lead to intability. 5

Steady tate error and tability Another look at negative feedback in an opamp: in R R2 Error in G() Model Opamp a G() / H ( ) R R R 2 Steady tate error and tability Another look at negative feedback in an opamp: in / R /(R R 2 ) in / R R R 2 R R R 2 For large and low frequency, thi reduce to R 2 R in 6

Steady tate error and tability Another look at negative feedback in an opamp: in error / Stability: GH R ( R R ) 2 R /(R R 2 ) Phae of GH i 90 for all frequencie. Thi i inherently table a GH will never Steady tate error and tability Another look at negative feedback in an opamp: in Steady tate error: error error / R /(R R 2 ) error error 0 GH At 0 (DC)! Integration (/) in the loop reduce teady tate error to zero with need for infinite loop gain at higher frequencie! R ( R R ) 2 7

Compenation in G() A feedback ytem i uually divided into two tranfer function: The plant function (G()) which uually you cannot alter (motor characteritic etc.) A compenator circuit that you can deign to optimize the feedback loop A common type of allpurpoe compenation i PID: Proportional ( p ) Integral ( i /) Derivative ( d ) PID Compenation in G() Typical PID tranfer function: tot ( p i / d ) The variou gain ( tot, p, i, d ) are adjuted to control how much of each type of compenation i applied for a pecific plant function G(). Thi adjutment i referred to a tuning and i often done iteratively (a lightly improved form of trial and error) when the plant function G i not well known. 8

PID example: poition ervo (demo) in nob et error k HandyBoard knob: in code analog(0) pot PID k Pot Pwm Motor /((a)) motor G() Mechanical connection k potentiometer PID example: poition ervo in nob k et Motor tranfer function: dt ω max error pot PID k Pot Motor (at low frequencie: G/) /((a)) αdt (at high frequencie: G/ 2 ) Torque α Inertia G( ) ω ( a) ω α 9

PID example: poition ervo in nob k et error pot PID k Pot Motor /((a)) Loop tranfer function (tability analyi): G( ) ( a)? Try proportional control: p Stability: poition ervo P control Loop tranfer function (P only): GH ( ) a log GH p ( a) 0a 0 db Gain Margin Stable for limited gain error error 90 80 p ( a) p error a ( ) 0 at 0! 0a 0

Stability: poition ervo I control Open loop tranfer function (I only): GH ( ) 2 ( i a) H ( ) i 80 270 Phae croe 80 at DC, with infinite DC gain! Inherently untable at 0 Stability: poition ervo D control Open loop tranfer function (D only): d GH ( ) ( a) 0 H ( ) d Phae alway le than 80 Stable even for large gain! 90 error ( a ) SS error 0! Problem: May be hard to implement due to amplification of fat tranient. Can be combined with P gain to add high gain tability and low SS error Model i not complete loop will till be untable at very high gain. d

loop pot analog(6); et knob(); PID in oftware Feedback potentiometer Set point error etpot; pkp*error; Proportional dkd*(errorlaterr); Derivative iki*errori; if (i>maxi) i maxi; Integration if (i<maxi) i maxi; g pid; Antiwindup motor(3,g); laterrerror; Becaue i i an integral, it will build up to large value over time for a contant error. An antiwindup check mut be put in place to avoid it overwhelming P and D control when the error i removed. Tuning PID Often PID tuning i done by nearly trial and error. Here i a common Procedure which work for many (but not all) plant function. USE external pot or menu to adjut!!!!! Set PID0 Increae P lightly and enure that the ign of the gain i correct. Increae P until ocillation begin Increae D to dampen ocillation Iterate increaing P and D until fat repone i achieved with little overhoot Increae I to remove any Steady State error. If overhoot i too large try decreaing P and D. Tet with tep repone: Crit. damped over damped under damped 2

Pleae conider the following problem for a robot with differential rear drive teering: Which robot configuration ha more pole in the tranfer function between I (current to motor) and x (ditance of enor from tape)? enor enor x x pivot pivot 2 x r v in 0 (we want robot to follow tape) x 0 Actual x value in time domain: x l in vindt in l l vdt Actual X in frequency domain: v X ~ l at low v X l v X for l 0 bot I pwm ( a) where I bot i the chai moment of inertia a I bot 3

Linearization of nonlinear function Control can be very difficult if G i nonlinear. PWM drive (combined with friction) yield a very nonlinear torque curve: T PWM Solution: Linearize thi curve in oftware by mapping PWM to deired Torque PWM PWMin 4