L09. PID, PURE PURSUIT

Similar documents
6.270 Lecture. Control Systems

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

MEM380 Applied Autonomous Robots I Winter Feedback Control USARSim

Robot Autonomous and Autonomy. By Noah Gleason and Eli Barnett

Module 08 Controller Designs: Compensators and PIDs

Experiment 9. PID Controller

Brett Browning and. Spring 2011

Advanced Servo Tuning

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

Sensors and Sensing Motors, Encoders and Motor Control

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

PID control. since Similarly, modern industrial

CDS 101/110: Lecture 8.2 PID Control

LAB 5: Mobile robots -- Modeling, control and tracking

Class 5. Competency Exam Round 1. The Process Designer s Process. Process Control Preliminaries. On/Off Control The Simplest Controller

Lecture 10. Lab next week: Agenda: Control design fundamentals. Proportional Control Proportional-Integral Control

Feedback Systems in HVAC ASHRAE Distinguished Lecture Series Jim Coogan Siemens Building Technologies

Figure 1.1: Quanser Driving Simulator

Sensors and Sensing Motors, Encoders and Motor Control

Different Controller Terms

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

International Journal of Research in Advent Technology Available Online at:

Closed-Loop Transportation Simulation. Outlines

A Differential Steering Control with Proportional Controller for An Autonomous Mobile Robot

GE 320: Introduction to Control Systems

Introduction to PID Control

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

Design of Compensator for Dynamical System

STABILITY IMPROVEMENT OF POWER SYSTEM BY USING PSS WITH PID AVR CONTROLLER IN THE HIGH DAM POWER STATION ASWAN EGYPT

MAE106 Laboratory Exercises Lab # 5 - PD Control of DC motor position

Embedded Control Project -Iterative learning control for

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

RWM control on EXTRAP T2R using various controller configurations.

VECTOR CONTROL SCHEME FOR INDUCTION MOTOR WITH DIFFERENT CONTROLLERS FOR NEGLECTING THE END EFFECTS IN HEV APPLICATIONS

Control and Optimization

Introduction to Servo Control & PID Tuning

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

Lecture 5 Introduction to control

Chapter 5. Tracking system with MEMS mirror

MM7 Practical Issues Using PID Controllers

Speed Control of a Pneumatic Monopod using a Neural Network

CSE 3215 Embedded Systems Laboratory Lab 5 Digital Control System

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

Capstone Python Project Features

Servo Tuning Tutorial

The PID controller. Summary. Introduction to Control Systems

Understanding PID Control

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

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

understanding sensors

InstrumentationTools.com

DYNAMICS and CONTROL

Root Locus Design. by Martin Hagan revised by Trevor Eckert 1 OBJECTIVE

Design and Analysis for Robust PID Controller

Laboratory PID Tuning Based On Frequency Response Analysis. 2. be able to evaluate system performance for empirical tuning method;

10/21/2009. d R. d L. r L d B L08. POSE ESTIMATION, MOTORS. EECS 498-6: Autonomous Robotics Laboratory. Midterm 1. Mean: 53.9/67 Stddev: 7.

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

DC Motor Speed Control using PID Controllers

Cohen-coon PID Tuning Method; A Better Option to Ziegler Nichols-PID Tuning Method

An Introduction to Proportional- Integral-Derivative (PID) Controllers

Digital Control of MS-150 Modular Position Servo System

FUZZY CONTROL FOR THE KADET SENIOR RADIOCONTROLLED AIRPLANE

Next Generation of Adaptive Traffic Signal Control

Glossary of terms. Short explanation

Instrumentation and Control Systems

Implementation of Conventional and Neural Controllers Using Position and Velocity Feedback

SECTION 6: ROOT LOCUS DESIGN

PID-control and open-loop control

A Fast PID Tuning Algorithm for Feed Drive Servo Loop

AVR221: Discrete PID Controller on tinyavr and megaavr devices. Introduction. AVR 8-bit Microcontrollers APPLICATION NOTE

Lego Mindstorms as a Simulation of Robotic Systems

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

Loop Design. Chapter Introduction

CHAPTER 2 PID CONTROLLER BASED CLOSED LOOP CONTROL OF DC DRIVE

ABS System Control. Tallinn University of Technology. Pre-bachelor project. Ondrej Ille

ADAS Development using Advanced Real-Time All-in-the-Loop Simulators. Roberto De Vecchi VI-grade Enrico Busto - AddFor

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

The Air Bearing Throughput Edge By Kevin McCarthy, Chief Technology Officer

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

Application Note Loop Tuning

Control System for a Segway

Phys Lecture 5. Motors

EE 4314 Lab 3 Handout Speed Control of the DC Motor System Using a PID Controller Fall Lab Information

Experiment 3. Performance of an induction motor drive under V/f and rotor flux oriented controllers.

Motor Modeling and Position Control Lab 3 MAE 334

Level control drain valve tuning. Walter Bischoff PE Brunswick Nuclear Plant

PROCESS DYNAMICS AND CONTROL

A Better Teleop. Jaxon Brown August 5, 2017

PART 2 - ACTUATORS. 6.0 Stepper Motors. 6.1 Principle of Operation

Design of intelligent vehicle control system based on machine visual

AN EXPERIMENTAL INVESTIGATION OF THE PERFORMANCE OF A PID CONTROLLED VOLTAGE STABILIZER

MECHATRONICS SYSTEM DESIGN

Type of loads Active load torque: - Passive load torque :-

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

Find, read or write documentation which describes work of the control loop: Process Control Philosophy. Where the next information can be found:

EV3 Advanced Topics for FLL

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

Optimal Control System Design

Robust Control Design for Rotary Inverted Pendulum Balance

Transcription:

1 L09. PID, PURE PURSUIT EECS 498-6: Autonomous Robotics Laboratory Today s Plan 2 Simple controllers Bang-bang PID Pure Pursuit 1

Control 3 Suppose we have a plan: Hey robot! Move north one meter, the east one meter, then north again for one meter. How do we execute this plan? How do we go exactly one meter? How do we go exactly north? Open Loop (Feed forward) 4 Idea: Know your system. If I command the motors to full power for three seconds, I ll go forward one meter. Command x(t) Plant Output y(t) Is this a good idea? 2

Open Loop: XYZ Positioning table 5 Physical construction of stepper motors allows precise open-loop positioning Credit: electricsteppermotors.com Closed Loop 6 Use real-time information about system performance to improve system performance. Types: Bang Bang Command x(t) Plant Output y(t) PID Command x(t) + e(t) Controller u(t) Plant Output y(t) - 3

Bang Bang Control 7 Actuator is always at one of its limits Bang-Bang: while (true) end if (error < 0) Command(maximum value) else Command(minimum value) This is stupid. No one would do this. Especially for something important. Bang Bang Bang. 8 GBU-12 Paveway II Laser Guided Bomb Sensor head. Control fins Freely gimbles to point in direction of motion. Warhead Stabilization fins Sensor head detects laser spot in one of four quadrants. Go up Go down Go left Go right 4

Bang Bang Control (Continued) 9 Pros: Simple/cheap to implement Hugely better performance than open loop Needs only primitive actuators Cons: Performance (higher drag) Proportional Control 10 Obvious improvement to Bang-Bang control: allow intermediate control values u(t) = K p e(t) Intuition: If e(t) > 0, goal position is larger than current position. So, command a larger position. 5

Proportional Control 11 We want to drive error to zero quickly This implies large gains We want to get rid of steady-state error If we re close to desired output, proportional output will be small. This makes it hard to drive steady-state error to zero. This implies large gains. Really large gains? Bang-bang control. What s wrong with really large gains? Oscillations. (We ll come back to this) Proportional Control: Oscillation 12 6

Intuition: P 13 Suppose we observe lateral position of car driving down road Goal position P control is happy when car is centered in lane Even if we re pointed away from the center. Derivative Control 14 Our vehicle doesn t respond immediately to our control inputs. From the controller s perspective, there s a delay. We need to dampen the behavior of the system. When we re getting close to our desired value, slow down a bit! Problem: computing derivatives is very sensitive to noise! 7

Intuition: D 15 Derivative control is happy when we re driving parallel to desired path. Things not getting better, but not getting worse either. Goal position PD Controller 16 Combine P and D terms P seeks error = 0 D seeks d/dt error = 0 D term helps us avoid oscillation, allowing us to have bigger P terms Faster response Less oscillation 8

Integral Control 17 Suppose we re in steady state, close to desired value. D term is zero P term is nearly zero P term may not be strong enough to force error to zero Perhaps the car is on a hill Perhaps the actuator is misaligned We re not commanding what we think Integral Control 18 If we have error for a long period of time, it argues for additional correction. Integrate error over time, add to command signal. Force average error to zero (in steady state) 9

PID Control 19 Combine all three types together, different gains for each type: Note: we often won t use all three terms. Each type of term has downsides Use only the terms you need for good performance Avoid nasty surprises Computing Gains 20 Where do PID gains come from? Analysis Carefully model system in terms of underlying physics and PID controller gains. Compute values of PID controller so that system is 1) stable and 2) performs well Empirical experimentation Hard to make models accurate enough: many parameters Often, easy to tune by hand. 10

PID Tuning 21 Very simple PID tuning procedure: 1. Increase P term until performance is adequate or oscillation begins 2. Increase D term to dampen oscillation 3. Go to 1 until no improvements possible. 4. Increase I term to eliminate steady-state error. Better procedure Ziegler-Nichols Tuning Method Integrator Gotchas 22 Integrator wind-up: Suppose it takes a large command to eliminate steady state error. (I.e., the hill is VERY steep) If desired command changes, it can take a long time to drain the integrator. bad system performance Solutions Clamp integrator 11

Pure Pursuit 24 Given a nominal path: Pick a point on the path some distance ahead lookahead distance can be constant or f(velocity) Steer car at it Repeat Pure Pursuit 25 d θ What steering angle will put us on a collision course with the goal point? Constant curvature Solve for θ 12

Pure Pursuit Example 26 Pure Pursuit: Analysis 27 Pros: Paths are kino-dynamically feasible by construction Low-level stability (controller compensates for errors) Cons: Actual path may not look much like poly line (Why is that a con?) Low-level controller does not know why a particular plan was selected. It does not know the best way to recover in the event of an error. 13

Pure Pursuit + RRT 28 Pure Pursuit can be used as edge-growth strategy for RRT Planner must predict pure pursuit path for correct obstacle avoidance This method used on MIT Urban Challenge vehicle Pure Pursuit + RRT 29 14

Pure Pursuit + RRT 30 Next time 31 Soft constraints Configuration Space 15