Video 5.1 Vijay Kumar and Ani Hsieh

Similar documents
Video 6.1 Vijay Kumar and Ani Hsieh

Index. Index. More information. in this web service Cambridge University Press

Feedback Control of Linear SISO systems. Process Dynamics and Control

Positioning Servo Design Example

CHAPTER 5 : REDUCTION OF MULTIPLE SUBSYSTEMS

(a) Torsional spring-mass system. (b) Spring element.

Poles, Zeros and System Response

Control of Manufacturing Processes

DC Motor Position: System Modeling

Course Summary. The course cannot be summarized in one lecture.

Time Response Analysis (Part II)

(b) A unity feedback system is characterized by the transfer function. Design a suitable compensator to meet the following specifications:

R a) Compare open loop and closed loop control systems. b) Clearly bring out, from basics, Force-current and Force-Voltage analogies.

Manufacturing Equipment Control

Course roadmap. Step response for 2nd-order system. Step response for 2nd-order system

Control of Manufacturing Processes

Table of Laplacetransform

Lecture 25: Tue Nov 27, 2018

Laboratory 11 Control Systems Laboratory ECE3557. State Feedback Controller for Position Control of a Flexible Joint

Position Control Experiment MAE171a

D(s) G(s) A control system design definition

Analysis and Design of Control Systems in the Time Domain

Transient Response of a Second-Order System

Example: Modeling DC Motor Position Physical Setup System Equations Design Requirements MATLAB Representation and Open-Loop Response

Performance of Feedback Control Systems

Dr Ian R. Manchester Dr Ian R. Manchester AMME 3500 : Review

Autonomous Mobile Robot Design

CHAPTER 1 Basic Concepts of Control System. CHAPTER 6 Hydraulic Control System

C(s) R(s) 1 C(s) C(s) C(s) = s - T. Ts + 1 = 1 s - 1. s + (1 T) Taking the inverse Laplace transform of Equation (5 2), we obtain

2.004 Dynamics and Control II Spring 2008

FEEDBACK CONTROL SYSTEMS

Controls Problems for Qualifying Exam - Spring 2014

Control Systems. University Questions

Linear State Feedback Controller Design

1 An Overview and Brief History of Feedback Control 1. 2 Dynamic Models 23. Contents. Preface. xiii

Chapter 7 Control. Part Classical Control. Mobile Robotics - Prof Alonzo Kelly, CMU RI

EE3CL4: Introduction to Linear Control Systems

ECSE 4962 Control Systems Design. A Brief Tutorial on Control Design

CYBER EXPLORATION LABORATORY EXPERIMENTS

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

Answers to multiple choice questions

SRV02-Series Rotary Experiment # 1. Position Control. Student Handout

An Introduction to Control Systems

Lecture 12. Upcoming labs: Final Exam on 12/21/2015 (Monday)10:30-12:30

Example: DC Motor Speed Modeling

BASIC PROPERTIES OF FEEDBACK

(a) Torsional spring-mass system. (b) Spring element.

Alireza Mousavi Brunel University

Laboratory Exercise 1 DC servo

Quanser NI-ELVIS Trainer (QNET) Series: QNET Experiment #02: DC Motor Position Control. DC Motor Control Trainer (DCMCT) Student Manual

Introduction to Feedback Control

APPLICATIONS FOR ROBOTICS

7.4 STEP BY STEP PROCEDURE TO DRAW THE ROOT LOCUS DIAGRAM

6.1 Sketch the z-domain root locus and find the critical gain for the following systems K., the closed-loop characteristic equation is K + z 0.

Feedback Control Systems

Analysis and Synthesis of Single-Input Single-Output Control Systems

Outline. Classical Control. Lecture 5

06 Feedback Control System Characteristics The role of error signals to characterize feedback control system performance.

Professional Portfolio Selection Techniques: From Markowitz to Innovative Engineering

EE 3CL4: Introduction to Control Systems Lab 4: Lead Compensation

Review: stability; Routh Hurwitz criterion Today s topic: basic properties and benefits of feedback control

Plan of the Lecture. Review: stability; Routh Hurwitz criterion Today s topic: basic properties and benefits of feedback control

SECTION 2: BLOCK DIAGRAMS & SIGNAL FLOW GRAPHS

Topic # Feedback Control Systems

Control Systems! Copyright 2017 by Robert Stengel. All rights reserved. For educational use only.

Contents. PART I METHODS AND CONCEPTS 2. Transfer Function Approach Frequency Domain Representations... 42

Predictive Cascade Control of DC Motor

ECE317 : Feedback and Control

UNIVERSITY OF WASHINGTON Department of Aeronautics and Astronautics

Overview of the Seminar Topic

School of Mechanical Engineering Purdue University. ME375 Feedback Control - 1

Second Order and Higher Order Systems

Dr Ian R. Manchester

Dynamic Compensation using root locus method

MAE143a: Signals & Systems (& Control) Final Exam (2011) solutions

DC-motor PID control

General procedure for formulation of robot dynamics STEP 1 STEP 3. Module 9 : Robot Dynamics & controls

CHBE320 LECTURE XI CONTROLLER DESIGN AND PID CONTOLLER TUNING. Professor Dae Ryook Yang

Lecture 5 Classical Control Overview III. Dr. Radhakant Padhi Asst. Professor Dept. of Aerospace Engineering Indian Institute of Science - Bangalore

MEM 355 Performance Enhancement of Dynamical Systems

Part IB Paper 6: Information Engineering LINEAR SYSTEMS AND CONTROL. Glenn Vinnicombe HANDOUT 5. An Introduction to Feedback Control Systems

Radar Dish. Armature controlled dc motor. Inside. θ r input. Outside. θ D output. θ m. Gearbox. Control Transmitter. Control. θ D.

Appendix A: Exercise Problems on Classical Feedback Control Theory (Chaps. 1 and 2)

AN INTRODUCTION TO THE CONTROL THEORY

Systems Analysis and Control

DOUBLE ARM JUGGLING SYSTEM Progress Presentation ECSE-4962 Control Systems Design

EE 422G - Signals and Systems Laboratory

Systems Analysis and Control

Control System Design

Root Locus. Motivation Sketching Root Locus Examples. School of Mechanical Engineering Purdue University. ME375 Root Locus - 1

Robot Manipulator Control. Hesheng Wang Dept. of Automation

School of Mechanical Engineering Purdue University. ME375 ElectroMechanical - 1

Lab 3: Model based Position Control of a Cart

R10 JNTUWORLD B 1 M 1 K 2 M 2. f(t) Figure 1

Mechatronics Engineering. Li Wen

System Modeling: Motor position, θ The physical parameters for the dc motor are:

State Feedback Controller for Position Control of a Flexible Link

Video 8.1 Vijay Kumar. Property of University of Pennsylvania, Vijay Kumar

CHAPTER 7 STEADY-STATE RESPONSE ANALYSES

Controller Design using Root Locus

Transcription:

Video 5.1 Vijay Kumar and Ani Hsieh Robo3x-1.1 1

The Purpose of Control Input/Stimulus/ Disturbance System or Plant Output/ Response Understand the Black Box Evaluate the Performance Change the Behavior Robo3x-1.1 2

Anatomy of a Feedback Control System Disturbance Input Desired Speed + - Controller Actuator Gas Pedal + + Output Vehicle Speed Sensor Robo3x-1.1 3

Twin Objectives of Control Performance Disturbance Rejection Robo3x-1.1 4

Learning Objectives for this Week Linear Control Modeling in the frequency domain Transfer Functions Feedback and Feedforward Control Robo3x-1.1 5

Frequency Domain Modeling Algebraic vs Differential Equations Laplace Transforms Diagrams Robo3x-1.1 6

Laplace Transforms Integral Transform that maps functions from the time domain to the frequency domain with Robo3x-1.1 7

Example Let, compute Robo3x-1.1 8

Inverse Laplace Transforms Integral Transform that maps functions from the frequency domain to the time domain Robo3x-1.1 9

Example Let, compute Robo3x-1.1 10

Laplace Transform Tables http://integral-table.com/downloads/laplacetable.pdf Robo3x-1.1 11

Video 5.2 Vijay Kumar and Ani Hsieh Robo3x-1.1 12

Generalizing Given How do we obtain? Robo3x-1.1 13

Partial Fraction Expansion Case 1: Roots of D(s) are Real & Distinct Case 2: Roots of D(s) are Real & Repeated Case 3: Roots of D(s) are Complex or Imaginary Robo3x-1.1 14

Case 1: Roots of D(s) are Real & Distinct Compute the Inverse Laplace of Robo3x-1.1 15

Case 2: Roots of D(s) are Real & Repeated Compute the Inverse Laplace of Robo3x-1.1 16

Case 3: Roots of D(s) are Complex Compute the Inverse Laplace of Robo3x-1.1 17

Video 5.3 Vijay Kumar and Ani Hsieh Robo3x-1.1 18

Using Laplace Transforms Given Solving for x(t) 1. Convert to frequency domain 2. Solve algebraic equation 3. Convert back to time domain Robo3x-1.1 19

Properties of Laplace Transforms Robo3x-1.1 20

Summary Laplace Transforms time domain <-> frequency domain differential equation <-> algebraic equation Partial Fraction Expansion factorizes complicated expressions to simplify computation of inverse Laplace Transforms Robo3x-1.1 21

Example: Solving an ODE (1) Given with, and. Solve for. Robo3x-1.1 22

Example: Solving an ODE (2) Robo3x-1.1 23

Video 5.4 Vijay Kumar and Ani Hsieh Robo3x-1.1 24

Controller Design Disturbance Input + - Input Controller + + Output Robo3x-1.1 25

Controller Design Disturbance Input + - + + Output Controller Robo3x-1.1 26

Controller Design Disturbance Input + - Controller + + System Output Robo3x-1.1 27

Controller Design Disturbance Input + - Controller + + System Output Robo3x-1.1 28

Transfer Function Relate a system s output to its input 1.Easy separation of INPUT, OUTPUT, SYSTEM (PLANT) 2.Algebraic relationships (vs. differential) 3.Easy interconnection of subsystems in a MATHEMATICAL framework Robo3x-1.1 29

In General A General N-Order Linear, Time Invariant ODE G(s) =Transfer Function = output/input Furthermore, if we know G(s), then output = G(s)*input Solution given by Robo3x-1.1 30

General Procedure Given performance criteria and desired 1. Convert 2. Analyze 3. Design using 4. Validate using 5. Iterate Robo3x-1.1 31

Underlying Assumptions Linearity 1. Superposition 2. Homogeneity System System B/c the Laplace Transform is Linear! Robo3x-1.1 32

Video 5.5 Vijay Kumar and Ani Hsieh Robo3x-1.1 33

Characterizing System Response Given How do we characterize the performance of a system? Special Case 1: 1 st Order Systems Special Case 2: 2 nd Order Systems Robo3x-1.1 34

Poles and Zeros Given Poles Zeros Example: Robo3x-1.1 35

First Order Systems In general Let U(s) = 1/s, then As such, Therefore, Robo3x-1.1 36

Characterizing First Order Systems Given with U(s) = 1/s Robo3x-1.1 37

Characterizing First Order Systems Time Constant Rise Time Settling Time Robo3x-1.1 38

Second Order Systems Given, and U(s) = 1/s Possible Cases 1. r 1 & r 2 are real & distinct 2. r 1 & r 2 are real & repeated 3. r 1 & r 2 are both imaginary 4. r 1 & r 2 are complex conjugates Robo3x-1.1 39

Case 1: Real & Distinct Roots Overdamped response Robo3x-1.1 40

Video 5.6 Vijay Kumar and Ani Hsieh Robo3x-1.1 41

Case 2: Real & Repeated Roots Critically damped response Robo3x-1.1 42

Case 3: All Imaginary Roots Undamped response Robo3x-1.1 43

Case 4: Roots Are Complex Underdamped response Robo3x-1.1 44

A Closer Look at Case 4 Exponential Decay (Real Part) Sinusoidal Oscillations (Imaginary Part) Robo3x-1.1 45

Summary of 2 nd Order Systems Given, and U(s) = 1/s Solution is one of the following: 1. Overdamped: r 1 & r 2 are real & distinct 2. Critically Damped: r 1 & r 2 are real & repeated 3. Undamped: r 1 & r 2 are both imaginary 4. Underdamped: r 1 & r 2 are complex conjugates Robo3x-1.1 46

2 nd Order System Parameters Given and U(s) = 1/s Natural Frequency n System s frequency of oscillation with no damping Damping Ratio Robo3x-1.1 47

General 2 nd Order System Given and U(s) = 1/s When b = 0 For an underdamped system Robo3x-1.1 48

General 2 nd Order Systems Second-order system transfer functions have the form with poles of the form Example: For Compute, n, and s 1,2? Robo3x-1.1 49

Video 5.7 Vijay Kumar and Ani Hsieh Robo3x-1.1 50

Characterizing Underdamped Systems Robo3x-1.1 51

Peak Time 3 2 1 Same Envelope 3 2 1 1 2 3 Motion of poles Robo3x-1.1 52

Settling Time 2 1 Same Frequency 2 1 Motion of poles 2 1 Robo3x-1.1 53

Overshoot 3 Same Overshoot 2 1 3 2 1 1 2 3 Motion of poles Robo3x-1.1 54

In Summary s-plane Robo3x-1.1 55

Video 5.8 Vijay Kumar and Ani Hsieh Robo3x-1.1 56

Independent Joint Control In general, n-link Robot Arm generally has n actuators Single Input Single Output (SISO) Single joint control Robo3x-1.1 57

Permanent Magnet DC Motor Picture Here Basic Principle Source: Wikimedia Commons Robo3x-1.1 58

Electrical Part Armature Current Back EMF Motor Torque Torque Constant Robo3x-1.1 59

Mechanical Part Gear ratio Actuator Dynamics Robo3x-1.1 60

Combining the Two Correction: the K b terms should be K m Robo3x-1.1 61

Two SISO Outcomes Input Voltage Motor Shaft Position Load Torque Motor Shaft Position Robo3x-1.1 62

Video 5.9 Vijay Kumar and Ani Hsieh Robo3x-1.1 63

Two SISO Outcomes Input Voltage Motor Shaft Position Load Torque Motor Shaft Position Assumption: L/R << J m /B m Robo3x-1.1 64

2 nd Order Approximation Divide by R and set L/R = 0 In the time domain Robo3x-1.1 65

Open-Loop System Actuator Dynamics Set-point tracking (feedback) Trajectory tracking (feedforward) Robo3x-1.1 66

Our Control Objectives Motion sequence of end-effector positions and orientations (EE poses) EE poses Joint Angles Motor Commands Transfer function Three primary linear controller designs: P (proportional) PD (proportional-derivative) PID (proportional-integral-derivative) Robo3x-1.1 67

Set-Point Tracking The Basic PID Controller Robo3x-1.1 68

Proportional (P) Control Control input proportional to error K P controller gain Error is amplified by K P to obtain the desired output signal Robo3x-1.1 69

P Control of Vehicle Speed Example: Cruise Control X v Desired linear speed q Y vehicle wheel speed Control input proportional to error Robo3x-1.1 70

Performance of P Controller K P = 10 K P = 50 K P = 100 Increases the controller gain decreases rise time Excessive gain can result in overshoot Robo3x-1.1 71

Video 5.10 Vijay Kumar and Ani Hsieh Robo3x-1.1 72

Proportional-Derivative (PD) Control Control input proportional to error AND 1 st derivative of error Including rate of change of error helps mitigates oscillations Robo3x-1.1 73

Performance of PD Controller K P = 10 K D = 1 K P = 10 K D = 3 Decreases rise time K P = 500 K D = 10 K P = 500 K D = 50 Reduces overshoot & Settling Time Robo3x-1.1 74

PD Control of a Joint Closed loop system given by w/ Robo3x-1.1 75

PD Compensated Closed Loop Response (1) Robo3x-1.1 76

PD Compensated Closed Loop Response (2) Robo3x-1.1 77

Picking K P and K D Closed loop system w/ Design Guidelines Critically damped w/ Pick and Robo3x-1.1 78

Performance of the PD Controller Assuming and Tracking error is given by At steady-state Robo3x-1.1 79

Video 5.11 Vijay Kumar and Ani Hsieh Robo3x-1.1 80

Proportional-Integral-Derivative (PID) Controller Control input proportional to error, 1 st derivative AND an integral of the error The integral term offsets any steady-state errors in the system Robo3x-1.1 81

Performance of PID Controller K P = 10 K D = 3 K P = 10 K D = 3 K I = 1 K P = 10 K D = 3 K I = 50 Eliminates SS-Error Increases overshoot & settling time Robo3x-1.1 82

PID Control of a Joint Closed-loop system is given by w/ Robo3x-1.1 83

PID Compensated Closed Loop Response (1) Robo3x-1.1 84

PID Compensated Closed Loop Response (2) Robo3x-1.1 85

Picking K P, K D, and K I Closed loop system w/ Design Guidelines System stable if K P, K D, and K I >0 Set K I = 0 and pick K P, K D, then go back to pick K I w/ in mind Robo3x-1.1 86

Summary of PID Characteristics CL Response Rise Time % Overshoot K P Decrease Increase K D Small Change Decrease Settling Time Small Change Decrease S-S Error Decrease Small Change K I Decrease Increase Increase Eliminate Robo3x-1.1 87

Tuning Gains Appropriate gain selection is crucial for optimal controller performance Analytically (R-Locus, Frequency Design, Ziegler Nichols, etc) Empirically The case for experimental validation Model fidelity Optimize for specific hardware Saturation and flexibility Robo3x-1.1 88

Feedforward Control Motion sequence of end-effector positions and orientations (EE poses) What if instead of, we want? Robo3x-1.1 89

Video 5.12 Vijay Kumar and Ani Hsieh Robo3x-1.1 90

Closed Loop Transfer Function (1) Robo3x-1.1 91

Closed Loop Transfer Function (2) Robo3x-1.1 92

Closed Loop Transfer Function (3) Robo3x-1.1 93

Picking F(s) Closed loop transfer function given by Behavior of closed loop response, given by roots of H(s) and F(s) be chosen so that Robo3x-1.1 94

Will This Work? Let F(s) = 1/G(s), i.e., a(s) = p(s) and b(s) = q(s), then System will track any reference trajectory! Robo3x-1.1 95

Caveats Minimum Phase Systems Picking F(s) = 1/G(s), leads to Assume system w/o FF loop is stable By picking F(s) = 1/G(s), we require numerator of G(s) to be Hurwitz (or ) Systems whose numerators have roots with negative real parts are called Minimum Phase Robo3x-1.1 96

Feedforward Control w/ Disturbance Assume: D(s) = constant w/ Pick F(s) = 1/G(s) = Note the following: Robo3x-1.1 97

Tracking Error Control law in time domain System dynamics w/ control + disturbance Robo3x-1.1 98

Overall Performance Robo3x-1.1 99