Agenda Path smoothing PID Graph slam.

Slides:



Advertisements
Similar presentations
PID Control for Embedded Systems
Advertisements

PID Controllers and PID tuning
Discrete Controller Design
Add and Use a Sensor & Autonomous For FIRST Robotics
LECTURE#10 PID CONTROLLER
Lab 2 Lab 3 Homework Labs 4-6 Final Project Late No Videos Write up
The Proportional-Integral-Derivative Controller
Classification and Prediction: Regression Via Gradient Descent Optimization Bamshad Mobasher DePaul University.
Paper Discussion: “Simultaneous Localization and Environmental Mapping with a Sensor Network”, Marinakis et. al. ICRA 2011.
ECIV 201 Computational Methods for Civil Engineers Richard P. Ray, Ph.D., P.E. Error Analysis.
Topological Mapping using Visual Landmarks ● The work is based on the "Team Localization: A Maximum Likelihood Approach" paper. ● To simplify the problem,
Chapter 10 – The Design of Feedback Control Systems
Chapter 10 – The Design of Feedback Control Systems PID Compensation Networks.
November 2, 2010Neural Networks Lecture 14: Radial Basis Functions 1 Cascade Correlation Weights to each new hidden node are trained to maximize the covariance.
Chapter 5: Path Planning Hadi Moradi. Motivation Need to choose a path for the end effector that avoids collisions and singularities Collisions are easy.
Steering Behaviors For Autonomous Characters
Navigation, Path finding, and Maze Encoding MICROMOUSE ALGORITHMS.
LECTURE#11 PID CONTROL AUTOMATION & ROBOTICS
PID Control and Root Locus Method
Lecture 4: Basic Concepts in Control CS 344R: Robotics Benjamin Kuipers.
Proportional/Integral/Derivative Control
Neural Networks Lecture 8: Two simple learning algorithms
Kalman filter and SLAM problem
NXT Development Tutorial Part 2: Sensor/ Motor Collaboration NTHU CS Freshman Camp Shu-Ting Wang.
WAN technologies and routing Packet switches and store and forward Hierarchical addresses, routing and routing tables Routing table computation Example.
/09/dji-phantom-crashes-into- canadian-lake/
Simultaneous Localization and Mapping Presented by Lihan He Apr. 21, 2006.
5: Processor-based Control Systems CET360 Microprocessor Engineering J. Sumey.
Young Ki Baik, Computer Vision Lab.
CS 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Feedback Control.
Low Level Control. Control System Components The main components of a control system are The plant, or the process that is being controlled The controller,
Pioneers in Engineering, UC Berkeley Pioneers in Engineering Week 8: Sensors and Feedback.
An Introduction to Kalman Filtering by Arthur Pece
PID. The proportional term produces an output value that is proportional to the current error value. Kp, called the proportional gain constant.
MESB374 System Modeling and Analysis PID Controller Design
PID CONTROLLERS By Harshal Inamdar.
CSCI1600: Embedded and Real Time Software Lecture 12: Modeling V: Control Systems and Feedback Steven Reiss, Fall 2015.
Graphs David Johnson. Describing the Environment How do you tell a person/robot how to get somewhere? –Tell me how to get to the student services building…
Lecture 17: Introduction to Control (part III)
Lecture 2: Statistical learning primer for biologists
Control 3 Keypoints: PID control
Randomized Kinodynamics Planning Steven M. LaVelle and James J
2/25/2001Industrial Process Control1 Dynamic Matrix Control - Introduction Developed at Shell in the mid 1970’s Evolved from representing process dynamics.
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.
Intelligent Robot Lab Pusan National University Intelligent Robot Lab Chapter 7. Forced Response Errors Pusan National University Intelligent Robot Laboratory.
SKEE 3143 Control Systems Design Chapter 2 – PID Controllers Design
BIRLA VISHWAKARMA MAHAVIDHYALAYA ELECTRONICS & TELECOMUNICATION DEPARTMENT o – ANKUR BUSA o – KHUSHBOO DESAI UNDER THE GUIDENCE.
ABE425 Engineering Measurement Systems ABE425 Engineering Measurement Systems PID Control Dr. Tony E. Grift Dept. of Agricultural & Biological Engineering.
Exercise 1 Suppose we have a simple mass, spring, and damper problem. Find The modeling equation of this system (F input, x output). The transfer function.
6: Processor-based Control Systems CET360 Microprocessor Engineering J. Sumey.
EEN-E1040 Measurement and Control of Energy Systems Control I: Control, processes, PID controllers and PID tuning Nov 3rd 2016 If not marked otherwise,
PID Control for Embedded Systems
Salman Bin Abdulaziz University
Neural Networks Winter-Spring 2014
Chapter 7 The Root Locus Method The root-locus method is a powerful tool for designing and analyzing feedback control systems The Root Locus Concept The.
PID Controllers Jordan smallwood.
A Simple Artificial Neuron
Control Loops Nick Schatz FRC 3184.
CSCI1600: Embedded and Real Time Software
Balanduino Supervisor: Dr. Raed Al-Qadi Prepared by: Nadeen Kalboneh Nardeen Mabrouk.
Simultaneous Localization and Mapping
6: Processor-based Control Systems
Basic Design of PID Controller
Compensators.
Homework 9 Refer to the last example.
Dynamical Systems Basics
Control.
PID Controller Design and
Exercise 1 For the unit step response shown in the following figure, find the transfer function of the system. Also find rise time and settling time. Solution.
Presentation transcript:

Agenda Path smoothing PID Graph slam

Path smoothing Until now we have worked with straight motions

Path smoothing Straight line

Path smoothing Smooth line

How do we smooth paths? X0 X0 X1 X1 X2 X2

How do we smooth paths? As we move X1 in we reduce the distance between X1 and X0 and X1 and X2. In other words as we move X1 the length of the red lines get smaller. So how do we figure out how to move X1 to reduce the length of the red lines? X2

How do we smooth paths? We subtract X1 from each of its neighbours and add the difference to X1 . In other word: X0 X1 X2 where α is a weight term that is used to control how quickly we move away from X1

How do we smooth paths? Quiz: what will happen if we repeatedly apply this update to our path? X0 X1 X2 We will end up with a straigth line

How do we smooth paths? Therefore we need a constraint to control the update to make it balance! To do this we will iteratively move the point back towards the original point X0 X1 Lets call the moving point Y1 to distinguish it from the original point X1 X2

How do we smooth paths? We now define the counter weight, which drags the point Y1 back to the original position X1 X0 X1 X2

Additional terms Distance to wall Fixed points Similarity of two following segments

Path smoothing Demo using gradient descent D:\Skole\AU-TekniskIT\Kalman\Min præsentation\Eksempel\Path smooth demo\Pathsmooth.m Juster alpha Juster beta Aktiver fixed points Aktiver gamma Vælg 3d

PID

PID controlling Desired path Use the error to control the steering Cross track error Desired path Ønsket er hurtigst muligt at komme ind på rette kurs og blive der. Use the error to control the steering

Closed loop control systems Use a measurement of output to control the input (Feedback)

PID control P depends on the present error, I on the accumulation of past errors, D is a prediction of future errors, e(t) = set point - process value

P-controlling Marginally stability unstable Perfectly damped Cross track error Perfectly damped Desired path

Error term The error term is derived by subtracting the feedback (i.e. current position) from the set point (i.e. desired position). e(t) = u(t) – y(t)

Proportional Term Simple proportional coefficient Kp is multiplied by the error term. Provides linear response to the error term.

Integral Term Integral coefficient Ki is multiplied by the error term and added to the sum of all previous integral terms. Provides response to accumulated error.

Derivative Term Derivative coefficient Kd is multiplied by the difference between the previous error and the current error. The derivative term slows the rate of change of the controller output

Effects of increasing a parameter independently Rise time Overshoot Settling time Steady-state error Stability Decrease Increase Small change Degrade Eliminate Minor change No effect in theory Improve if small

Discrete PID algorithm previous_error = setpoint - process_feedback integral = 0 while(1) { wait(dt) error = setpoint - process_feedback integral = integral + (error*dt) derivative = (error - previous_error)/dt output = (Kp*error) + (Ki*integral) + (Kd*derivative) previous_error = error }

Ziegler-Nichols Gains are first set to zero. P gain is increased until it reaches the ultimate gain, Ku, at which the output of the loop starts to oscillate. The oscillation period, Pu, are used to set the gains as shown: Control type Kp Ki Kd P 0.5Ku - PI 0.45Ku 1.2Kp/Pu PID 0.60Ku 2Kp/Pu KpPu/8

Demo 2D D:\Skole\AU-TekniskIT\Kalman\Min præsentation\Eksempel\PID demo\ PIDdemo.py D:\Skole\AU-TekniskIT\Kalman\Min præsentation\Eksempel\PID smooth\ PIDSmooth.py

= to be able to build a map of an environment and simultaneously localize within this map

Graph slam Is to use a graph whose nodes correspond to the poses of the robot at different points in time and whose edges represent constraints between the poses.

Graph slam problem To estimate the posterior probability of the robot’s path and the map given all the measurements plus an the initial position Assumption: The world is static

Constraints for graph slam: Initial localization constraint Relative motion constraints Relative measurement constraints Init: 2 Moving: 4 for hver QUIZ: how many constraints do we have in this figure i 1D? 6

Implementation of Graph based slam

Implementation of Graph based slam The best estimate for all the robot locations and landmark locations

Quiz: 1D Slam Which cells will be modified? What will the values in the cells then be?

Quiz: 1D Slam Which cells will be modified? What will the values in the cells then be?

Quiz: 1D Slam Which fields are not modifies?

Quiz: 1D slam Find the location of the landmarks

Graph slam Finds the most likely path along with the measured location of landmarks X0 X1 Graph-slam: definding our probability of a location given a sequence of such constraints Maximize the probability!

Simplifying the probability maximization Finds the most likely path along with the measured location of landmarks X0 X1 Z1 +

Demo with different measurement confidences D:\Skole\AU-TekniskIT\Kalman\Min præsentation\Eksempel\Slam\slam.py

References https://www.udacity.com http://www.comp.dit.ie/jkelleher/rtf/classmaterial/week10/PathSmoothing.pdf