Lecture 5: Basic Dynamical Systems CS 344R: Robotics Benjamin Kuipers.

Slides:



Advertisements
Similar presentations
CHE 185 – PROCESS CONTROL AND DYNAMICS
Advertisements

Ch 7.6: Complex Eigenvalues
Coulomb or Dry Friction Damping.
Differential Equations
Automatic Control Theory School of Automation NWPU Teaching Group of Automatic Control Theory.
Ch 9.1: The Phase Plane: Linear Systems
CHE 185 – PROCESS CONTROL AND DYNAMICS
Introduction to Control: How Its Done In Robotics R. Lindeke, Ph. D. ME 4135.
A Typical Feedback System
Linear dynamic systems
Control System Design Based on Frequency Response Analysis
example: four masses on springs
Harmonic Oscillator. Hooke’s Law  The Newtonian form of the spring force is Hooke’s Law. Restoring forceRestoring force Linear with displacement.Linear.
Dynamical Systems Analysis II: Evaluating Stability, Eigenvalues By Peter Woolf University of Michigan Michigan Chemical Process Dynamics.
The simple pendulum Energy approach q T m mg PH421:Oscillations F09
Process Control Instrumentation II
1 Chapter 9 Differential Equations: Classical Methods A differential equation (DE) may be defined as an equation involving one or more derivatives of an.
Chapter 5 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CHE 185 – PROCESS CONTROL AND DYNAMICS CONTROL LOOP ANALYSIS.
Lecture 7: PID Tuning.
Chapter 8 Performance of P-only, PI and PID Controllers.
Basic Concepts in Control
Chapter 7 PID Control.
Solving the Harmonic Oscillator
13. Oscillatory Motion. Oscillatory Motion 3 If one displaces a system from a position of stable equilibrium the system will move back and forth, that.
Lecture 4: Basic Concepts in Control CS 344R: Robotics Benjamin Kuipers.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Complex eigenvalues SECTION 3.4
Autumn 2008 EEE8013 Revision lecture 1 Ordinary Differential Equations.
Lecture 12 - Natural Response of Parallel RLC Circuits
Automatic Control Theory-
Lecture 6: Control Problems and Solutions CS 344R: Robotics Benjamin Kuipers.
Ch. 6 Single Variable Control
Dynamical Systems 2 Topological classification
DYNAMIC BEHAVIOR AND STABILITY OF CLOSED-LOOP CONTROL SYSTEMS
Lecture 2 Differential equations
Pendulums and Resonance
Population Dynamics Application of Eigenvalues & Eigenvectors.
CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams1 CEE162 Lecture 2: Nonlinear ODEs and phase diagrams; predator-prey Overview Nonlinear chaotic.
1 Lecture D32 : Damped Free Vibration Spring-Dashpot-Mass System Spring Force k > 0 Dashpot c > 0 Newton’s Second Law (Define) Natural Frequency and Period.
PID Controller Design and
KINEMATIC CHAINS & ROBOTS (I).
SECOND ORDER LINEAR Des WITH CONSTANT COEFFICIENTS.
IVR 30/10/2009 Herrmann1 IVR: Control Theory Overview: PID control Steady-state error and the integral method Overshoot and ringing in system with time.
Boyce/DiPrima 9 th ed, Ch 7.6: Complex Eigenvalues Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William E. Boyce and.
Oscillatory motion (chapter twelve)
Engineering Mathematics Class #6 Second-Order Linear ODEs (Part2)
Subsea Control and Communications Systems
Control 3 Keypoints: PID control
ChE 182 Chemical Process Dynamics and Control
Chapter 6 Root-Locus Analysis 6.1 Introduction - In some systems simple gain adjustment may move the closed- loop poles to desired locations. Then the.
Physics 430: Lecture 12 2-D Oscillators and Damped Oscillations Dale E. Gary NJIT Physics Department.
Modeling Transient Response So far our analysis has been purely kinematic: The transient response has been ignored The inertia, damping, and elasticity.
Control. 3 Motion Control (kinematic control) for mobile platform The objective of a kinematic controller is to follow a trajectory described by its position.
Lecture 9: PID Controller.
Dynamics. Motion with Regard to Mass Particle Dynamics Mass concentrated in point Newton’s Equation Governs Motion f = M x.
1 ECE 3301 General Electrical Engineering Section 30 Natural Response of a Parallel RLC Circuit.
PRIOR READING: Main 1.1, 2.1 Taylor 5.1, 5.2 SIMPLE HARMONIC MOTION: NEWTON’S LAW
SKEE 3143 Control Systems Design Chapter 2 – PID Controllers Design
System Dynamics Dr. Mohammad Kilani
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Automatic Control Theory CSE 322
Voronkov Vladimir Vasilyevich
Solving the Harmonic Oscillator
Instructor: Jongeun Choi
Lecture 10: Observers and Kalman Filters
Dynamical Systems Basics
Control.
Boyce/DiPrima 10th ed, Ch 7.6: Complex Eigenvalues Elementary Differential Equations and Boundary Value Problems, 10th edition, by William E. Boyce and.
Physics 319 Classical Mechanics
Presentation transcript:

Lecture 5: Basic Dynamical Systems CS 344R: Robotics Benjamin Kuipers

Dynamical Systems A dynamical system changes continuously (almost always) according to A controller is defined to change the coupled robot and environment into a desired dynamical system.

In One Dimension Simple linear system Fixed point Solution –Stable if k < 0 –Unstable if k > 0

In Two Dimensions Often, position and velocity: If actions are forces, causing acceleration:

The Damped Spring The spring is defined by Hooke’s Law: Include damping friction Rearrange and redefine constants

The Linear Spring Model Solutions are: Where r 1, r 2 are roots of the characteristic equation

Qualitative Behaviors Re(r 1 ), Re(r 2 ) < 0 means stable. Re(r 1 ), Re(r 2 ) > 0 means unstable. b 2 -4c < 0 means complex roots, means oscillations. b c unstable stable spiral nodal unstable

Generalize to Higher Dimensions The characteristic equation for generalizes to –This means that there is a vector v such that The solutions are called eigenvalues. The related vectors v are eigenvectors.

Qualitative Behavior, Again For a dynamical system to be stable: –The real parts of all eigenvalues must be negative. –All eigenvalues lie in the left half complex plane. Terminology: –Underdamped = spiral (some complex eigenvalue) –Overdamped = nodal (all eigenvalues real) –Critically damped = the boundary between.

Node Behavior

Focus Behavior

Saddle Behavior

Spiral Behavior (stable attractor)

Center Behavior (undamped oscillator)

The Wall Follower (x,y)

The Wall Follower Our robot model: u = (v  ) T y=(y  ) T   0. We set the control law u = (v  ) T = H i (y)

The Wall Follower Assume constant forward velocity v = v 0 –approximately parallel to the wall:   0. Desired distance from wall defines error: We set the control law u = (v  ) T = H i (y) –We want e to act like a “damped spring”

The Wall Follower We want For small values of  Assume v=v 0 is constant. Solve for  –This makes the wall-follower a PD controller.

Tuning the Wall Follower The system is Critically damped is Slightly underdamped performs better. –Set k 2 by experience. –Set k 1 a bit less than

An Observer for Distance to Wall Short sonar returns are reliable. –They are likely to be perpendicular reflections.

Experiment with Alternatives The wall follower is a PD control law. A target seeker should probably be a PI control law, to adapt to motion. Try different tuning values for parameters. –This is a simple model. –Unmodeled effects might be significant.

Ziegler-Nichols Tuning Open-loop response to a step increase. dT K

Ziegler-Nichols Parameters K is the process gain. T is the process time constant. d is the deadtime.

Tuning the PID Controller We have described it as: Another standard form is: Ziegler-Nichols says:

Ziegler-Nichols Closed Loop 1.Disable D and I action (pure P control). 2.Make a step change to the setpoint. 3.Repeat, adjusting controller gain until achieving a stable oscillation. This gain is the “ultimate gain” K u. The period is the “ultimate period” P u.

Closed-Loop Z-N PID Tuning A standard form of PID is: For a PI controller: For a PID controller: