Readings: FC: p : lead compensation. 9/9/2011 Classical Control 1

Similar documents
Outline. Digital Control. Lecture 3

Frequency Response Analysis and Design Tutorial

JUNE 2014 Solved Question Paper

CDS 101/110: Lecture 8.2 PID Control

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

Dr Ian R. Manchester Dr Ian R. Manchester Amme 3500 : Root Locus Design

CDS 101/110: Lecture 9.1 Frequency DomainLoop Shaping

Dr Ian R. Manchester

EC CONTROL SYSTEMS ENGINEERING

ME451: Control Systems. Course roadmap


Lecture 7:Examples using compensators

Course Outline. Time vs. Freq. Domain Analysis. Frequency Response. Amme 3500 : System Dynamics & Control. Design via Frequency Response

ECE317 : Feedback and Control

EES42042 Fundamental of Control Systems Bode Plots

GE420 Laboratory Assignment 8 Positioning Control of a Motor Using PD, PID, and Hybrid Control

JNTUWORLD. 6 The unity feedback system whose open loop transfer function is given by G(s)=K/s(s 2 +6s+10) Determine: (i) Angles of asymptotes *****

Classical Control Design Guidelines & Tools (L10.2) Transfer Functions

PERSONALIZED EXPERIMENTATION IN CLASSICAL CONTROLS WITH MATLAB REAL TIME WINDOWS TARGET AND PORTABLE AEROPENDULUM KIT

Automatic Control Systems 2017 Spring Semester

LECTURE FOUR Time Domain Analysis Transient and Steady-State Response Analysis

Implementation and Simulation of Digital Control Compensators from Continuous Compensators Using MATLAB Software

Chapter 5 Frequency-domain design

1.What is frequency response? A frequency responses the steady state response of a system when the input to the system is a sinusoidal signal.

Compensation of a position servo

Implementation of Proportional and Derivative Controller in a Ball and Beam System

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

Välkomna till TSRT15 Reglerteknik Föreläsning 8

ME 5281 Fall Homework 8 Due: Wed. Nov. 4th; start of class.

EE 482 : CONTROL SYSTEMS Lab Manual

AC : A STUDENT-ORIENTED CONTROL LABORATORY US- ING PROGRAM CC

Position Control of DC Motor by Compensating Strategies

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

Rotary Motion Servo Plant: SRV02. Rotary Experiment #03: Speed Control. SRV02 Speed Control using QuaRC. Student Manual

Ball Balancing on a Beam

Bode Plot for Controller Design

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING QUESTION BANK UNIT - I SYSTEMS AND THEIR REPRESENTATION

Module 08 Controller Designs: Compensators and PIDs

MCE441/541 Midterm Project Position Control of Rotary Servomechanism

SECTION 6: ROOT LOCUS DESIGN

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

CDS 101/110a: Lecture 8-1 Frequency Domain Design

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

CDS 101/110a: Lecture 8-1 Frequency Domain Design. Frequency Domain Performance Specifications

BSNL TTA Question Paper Control Systems Specialization 2007

EE 435. Lecture 16. Compensation Systematic Two-Stage Op Amp Design

Design of Compensator for Dynamical System

Magnetic Levitation System

Phys Lecture 5. Motors

Electrical Engineering. Control Systems. Comprehensive Theory with Solved Examples and Practice Questions. Publications

ME 375 System Modeling and Analysis

MTE 360 Automatic Control Systems University of Waterloo, Department of Mechanical & Mechatronics Engineering

and using the step routine on the closed loop system shows the step response to be less than the maximum allowed 20%.

SYLLABUS. osmania university CHAPTER - 1 : CONTROL SYSTEMS CLASSIFICATION

ECE317 Homework 7. where

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

Control Design for Servomechanisms July 2005, Glasgow Detailed Training Course Agenda

Hands-on Lab. PID Closed-Loop Control

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

SRV02-Series Rotary Experiment # 3. Ball & Beam. Student Handout

Ball and Beam. Workbook BB01. Student Version

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

Laboratory Assignment 5 Digital Velocity and Position control of a D.C. motor

Digital Control of MS-150 Modular Position Servo System

CDS 101/110: Lecture 10-2 Loop Shaping Design Example. Richard M. Murray 2 December 2015

Design and Implementation of the Control System for a 2 khz Rotary Fast Tool Servo

EEL2216 Control Theory CT2: Frequency Response Analysis

Comparative Analysis of a PID Controller using Ziegler- Nichols and Auto Turning Method

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

Penn State Erie, The Behrend College School of Engineering

Figure 1: Unity Feedback System. The transfer function of the PID controller looks like the following:

Lab 1: Simulating Control Systems with Simulink and MATLAB

PID, I-PD and PD-PI Controller Design for the Ball and Beam System: A Comparative Study

Lecture 5 Introduction to control

Advanced Servo Tuning

CONTROLLER DESIGN FOR POWER CONVERSION SYSTEMS

Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc.

Optimal Control System Design

Lecture 18 Stability of Feedback Control Systems

What s new in SmartCtrl 2.0?

Reduction of Multiple Subsystems

DEGREE: Biomedical Engineering YEAR: TERM: 1

The Discussion of this exercise covers the following points: Angular position control block diagram and fundamentals. Power amplifier 0.

DESIGN AND ANALYSIS OF FEEDBACK CONTROLLERS FOR A DC BUCK-BOOST CONVERTER

Bode Plots. Hamid Roozbahani

This article presents a review of PLL transfer functions with attention to the conditions required for steady-state stability

MM7 Practical Issues Using PID Controllers

Motomatic via Bode by Frank Owen, PhD, PE Mechanical Engineering Department California Polytechnic State University San Luis Obispo

Loop Design. Chapter Introduction

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

Integrator windup and PID controller design

Servo Tuning. Dr. Rohan Munasinghe Department. of Electronic and Telecommunication Engineering University of Moratuwa. Thanks to Dr.

MEM01: DC-Motor Servomechanism

Application Note #2442

Model Reference Adaptive Controller Design Based on Fuzzy Inference System

EE Experiment 8 Bode Plots of Frequency Response

EE422G Solution to Homework #8

Lecture 8 ECEN 4517/5517

Rectilinear System. Introduction. Hardware

CHAPTER 9 FEEDBACK. NTUEE Electronics L.H. Lu 9-1

Transcription:

MM0 Frequency Response Design Readings: FC: p389-407: lead compensation 9/9/20 Classical Control

What Have We Talked about in MM9? Control design based on Bode plot Stability margins (Gain margin and phase margin) Transient performance Steady-state performance Nyquist Diagram What s Nyquist diagram? What we can gain from Nyquist diagram Matlab functions: bode(), margin(), nyquist() 9/9/20 Classical Control 2

Nyquist Criterion for Stability (MM9) The Nyquist criterion states that: P = the number of open-loop (unstable) poles of G(s)H(s) N = the number of times the Nyquist diagram encircles clockwise encirclements of - count as positive encirclements counter-clockwise (or anti-clockwise) encirclements of - count as negative encirclements Z = the number of right half-plane (positive, real) poles of the closed-loop system The important equation: Z = P + N 9/9/20 Classical Control 3

Goals for this lecture (MM0) An illustrative example Frequency response analysis Frequency response design Lead and lag compensators What s a lead/lag compensator? Their frequency features A systematical procedure for lead compensator design A practical design example Beam and Ball Control 9/9/20 Classical Control 4

An Illustrative Example: Antenna Position Control Control system design for a satellite tracking antenna (one-dimentional) Design specifications: Overshoot to a step input less than 6%; Settling time to 2% to be less than 0 sec.; Tracking error to a ramp input of slope 0.0rad/sec to be less than 0.0rad; Sampling time to give at at least 0 samples in a rise time. 9/9/20 Classical Control 5

9/9/20 Classical Control 6 System model: Transfer function: T c T d B J... B t T t u J B a a s s s U s c ) ( ) ( 0.,, ) ( ) ( ) ( Example: Mathematical Modeling

Example: Open-Loop Analysis Transfer function: ( s) B Tc ( t), a 0., u( t) U( s) s s( ) J B a Open-loop properties Step response Impulse response impulse(tf(,[0 0])); figure; step(tf(,[0 0]),0) Stability? 9/9/20 Classical Control 7

Example: Possible Control Structure K G(s) KD(s) G(s) G(s) D(s) G(s) KD(s) D2(s) Different control structures Cascade controller: Gain, dynamic compensator? Feedback controller: Gain, dynamic compensator? Single or multiple loops?... 9/9/20 Classical Control 8

Example: Just Gain Controller? sys=tf(,[0 0]), step(feedback(00*sys,)) K G(s) sys=tf(,[0 0]), ------------- 0 s^2 + s rlocus(sys) 9/9/20 Classical Control 9

syscl=feedback(0.*sys,); bode(syscl) ; figure, margin(0.*sys) Closed-loop transfer function 0. ---------------- 0 s^2 + s + 0. 9/9/20 Classical Control 0

Dynamic Compensation Objective: If a satisfactory process dynamics can not be obtained by a gain adjustment alone, some modification or compensation of the process dynamics is needed +KD(s)G(s)=0 Controller KD(s) Plant G(s) 9/9/20 Classical Control

Lead and Lag Compensators Lead compensation: acts mainly to lower rise time and decrease the transient overshoot: D(s)=(s+z)/(s+p) with z < p Lag compensation: acts mainly to improve the steadystate accuracy: D(s)=(s+z)/(s+p) with z > p Compensationis typically placed in series with the plant in the feedforward path Controller KD(s) Plant G(s) 9/9/20 Classical Control 2

Frequency Properties of Lead and Lag 9/9/20 Classical Control 3

Lead and PD Controllers (I) PD compensation: D(s)=K(T D s+) Increasing the phase margin Amplify the high frequency noise Lead compensation: D(s)=K(Ts+)/(Ts+), < 9/9/20 Classical Control 4

Lead and PD Controllers (II) Lead compensation: D(s)=K(Ts+)/(Ts+), < Lead compensator is a high-pass filter (app.pd control) It is used whenever substantial improvement in damping is required The maximum phase contribution is Example: sysd=tf([0 ],[ ]) bode(sysd) max T sin sin max max 9/9/20 Classical Control 5

Example: PD Controller for Antenna Control (I) Design the low frequency gain K with respect to the steadystate error specification: Tracking error to a ramp input of slope 0.0rad/sec to be less than 0.0rad Ramp Input (R(s) = /s^2): (MM5) Antenna system case... K= 9/9/20 Classical Control 6

Example: PD Controller for Antenna Control (II) PD controller: D(s)=0s+ sysd=tf(,[0.0.0 0])*tf([0.0.0],); syscl2=feedback(sysd,); step(syscl2) Check whether this controller is ok? 9/9/20 Classical Control 7

Example: Intuitive Lead Design Design the low frequency gain K with respect to the steadystate error specification Antenna system case... K= Lead controller: D(s)=(0s+)/(s+) sysd=tf(,[0.0.0 0])*tf([0.0.0],[ ]); syscl3=feedback(sysd,); step(syscl3) 9/9/20 Classical Control 8

Example: Comparison of PD and Lead Design bode(syscl2,syscl3); grid 9/9/20 Classical Control 9

Goals for this lecture (MM0) An illustrative example Frequency response analysis Frequency response design Lead and lag compensators What s a lead/lag compensator? Their frequency features A systematical procedure for lead compensator design 9/9/20 Classical Control 20

Lead Compensator Design Procedure (I) Step : Design the low frequency gain K with respect to the staedy-state error specification Antenna system case... K= Step Input (R(s) = /s): Ramp Input (R(s) = /s^2): Parabolic Input (R(s) = /s^3): 9/9/20 Classical Control 2

Lead Compensator Design Procedure (II) Step 2: Determine the needed phase lead Original system PM: sys=tf(,[0 0]), margin(sys)... PM=8 at 0.308 Expected PM: Expected overshoot limit (6%) Dampling ratio ξ 0.5 Expected PM 00*0.5=50 degree Directly needed phase lead: 50-8=32 degree Expected phase lead: 32+ (7~0) degree 9/9/20 Classical Control 22

Lead Compensator Design Procedure (III) Lead compensation: D(s)=K(Ts+)/(Ts+), < Step 3: Determine coefficient α sin sin max max Step 4: Determine coefficient T T max ( n / 2) sin sin 40 40 2 0.92 0.274 4.622 max T sin sin max max 9/9/20 Classical Control 23

Lead Compensator Design Procedure (IV) Step 5: Draw the compensated frequency response, check PM sysd=tf([4.622 ],[.037 ]); sysc=sys*sysd; margin(sysc); step(feedback(sysc,)) 9/9/20 Classical Control 24

Why this Lead Compensator doesn t work? (I) Check the poles & zeros of the closed-loop... syscl=feedback(sysc,); pzmap(syscl); Compare with a standard 2nd-order system... Sys2=tf(0.3099, conv([ 0.384-0.403i], [ 0.384+0.403i])) ; step(feedback(sysc,),sys2) 9/9/20 Classical Control 25

Lead Compensator Design Procedure (V) Step 6: Iterate on the design until all specifications are met sysd=tf([9.7457 ],[.09 ]) ; sysc=sys*sysd; margin(sysc); syscl=feedback(sysc,); step(syscl) sysd=tf([9 ],[ ]); syscl=feedback(sys*sysd,); step(syscl) T D ( s ) max sin sin 9.7457.09 max max s s ( n /.5) sin sin 53 53 0.92 0.2 3 9.7457 9/9/20 Classical Control 26

9/9/20 Classical Control 27

System: A ball rolls along the track of a beam that is pivoted at some position. Objective: To steadily place the ball at any given position along the track Strategy: To control the track angle through the control of a servo motor 4. What s B&B System? 9/9/20 Classical Control 28

4.2 Why focus on B&B System? The ball and beam apparatus demonstrates the control problems associated with unstable systems. An example of such a system is a missile during launch; active control is required to prevent the missile going unstable and toppling over. 9/9/20 Classical Control 29

4.4 AUE Beam and Ball System Implement at least one control method 5-0% overshoot and 3-6 second settling time The potentiometer and axle a hybrid stepping motor TI MSP430 fix-point 9/9/20 Classical Control 30

4.4. Modelling the AUE B&B System r B R 2 p 2 p Lagrangian modelling technique Block diagram of stepping motor and load r s m g s J 2 ball m s 2 R 9/9/20 Classical Control 3

4.4.2 Analysis of the AUE B&B From the nyquist plot, it can be Observed that the system is unstable since - is encircled clockwise by the nyquist plot System The system is unstable if it is exposed to a step input. From this can it be concluded that the system needs some kind of controller. 9/9/20 Classical Control 32

4.4.3 Control Strategy for the B&B System Cascade control Master loop (outer loop) Slave loop (inner loop) 9/9/20 Classical Control 33

4.4.4 Control Design for Slave Loop The block control contains the P-controller, Kp2. The slave loop must be faster enough (e.g., 0 times faster) comparing with the master loop kp 2 4.4 s Through bode plot it can be seen that the system has a cutoff frequency at appr. 5 rad/sec The system is settled in approximately 0.3 sec 9/9/20 Classical Control 34

4.4.5 Control Design for Master Loop Kp( s ) D 7.023 67.452 2 4.4 s s the system has a phase margin of 47.5 deg at a frequency of.38 Hz 9/9/20 Classical Control 35

4.4.6 Simulation Tests 9/9/20 Classical Control 36

4.4.7 Real Test Videos 9/9/20 Classical Control 37

Exercise Could you repeat the antenna design using. Continuous lead compensation; 2. Emulation method for digital control; Such that the design specifications: Overshoot to a step input less than 5%; Settling time to % to be less than 4 sec.; Tracking error to a ramp input of slope 0.0rad/sec to be less than 0.0rad; Sampling time to give at at least 0 samples in a rise time. (Write your analysis and program on a paper!) 9/9/20 Classical Control 38