EE565:Mobile Robotics Lecture 2

Similar documents
10/11/07 1. Motion Control (wheeled robots) Representing Robot Position ( ) ( ) [ ] T

CMPUT 412 Motion Control Wheeled robots. Csaba Szepesvári University of Alberta

Motion Control (wheeled robots)

Robotics (Kinematics) Winter 1393 Bonab University

EE565:Mobile Robotics Lecture 3

Mobile Robot Kinematics

Unit 2: Locomotion Kinematics of Wheeled Robots: Part 3

Camera Drones Lecture 2 Control and Sensors

Autonomous Navigation for Flying Robots

Centre for Autonomous Systems

BEST2015 Autonomous Mobile Robots Lecture 2: Mobile Robot Kinematics and Control

CS283: Robotics Fall 2016: Sensors

E80. Experimental Engineering. Lecture 9 Inertial Measurement

MEM380 Applied Autonomous Robots Winter Robot Kinematics

Mobile Robotics. Marcello Restelli. Dipartimento di Elettronica e Informazione Politecnico di Milano tel:

Mobile Robots Locomotion

Exam in DD2426 Robotics and Autonomous Systems

Zürich. Roland Siegwart Margarita Chli Martin Rufli Davide Scaramuzza. ETH Master Course: L Autonomous Mobile Robots Summary

Outline Sensors. EE Sensors. H.I. Bozma. Electric Electronic Engineering Bogazici University. December 13, 2017

This was written by a designer of inertial guidance machines, & is correct. **********************************************************************

Fundamental problems in mobile robotics

Practical Robotics (PRAC)

CHAPTER 3 MATHEMATICAL MODEL

Kinematics, Kinematics Chains CS 685

EE-565-Lab2. Dr. Ahmad Kamal Nasir

Chapter 4 Dynamics. Part Constrained Kinematics and Dynamics. Mobile Robotics - Prof Alonzo Kelly, CMU RI

Mobile Robotics. Mathematics, Models, and Methods. HI Cambridge. Alonzo Kelly. Carnegie Mellon University UNIVERSITY PRESS

Cinematica dei Robot Mobili su Ruote. Corso di Robotica Prof. Davide Brugali Università degli Studi di Bergamo

Sensor technology for mobile robots

Robotics and Autonomous Systems

Robotics and Autonomous Systems

Encoder applications. I Most common use case: Combination with motors

Final Exam Practice Fall Semester, 2012

Navigational Aids 1 st Semester/2007/TF 7:30 PM -9:00 PM

Mobile Robots Locomotion & Sensors

CHAPTER 2 SENSOR DATA SIMULATION: A KINEMATIC APPROACH

ROBOTICS AND AUTONOMOUS SYSTEMS

Satellite Attitude Determination

OFERTA O120410PA CURRENT DATE 10/04//2012 VALID UNTIL 10/05/2012 SUMMIT XL

Cecilia Laschi The BioRobotics Institute Scuola Superiore Sant Anna, Pisa

A General Framework for Mobile Robot Pose Tracking and Multi Sensors Self-Calibration

Chapter 3: Kinematics Locomotion. Ross Hatton and Howie Choset

Non-holonomic Planning

Non Linear Control of Four Wheel Omnidirectional Mobile Robot: Modeling, Simulation and Real-Time Implementation

1 Differential Drive Kinematics

Introduction to Robotics

Kinematics of Wheeled Robots

ROBOT SENSORS. 1. Proprioceptors

INSTITUTE OF AERONAUTICAL ENGINEERING

navigation Isaac Skog

Camera and Inertial Sensor Fusion

A Simplified Vehicle and Driver Model for Vehicle Systems Development

Range Sensors (time of flight) (1)

Motion Capture & Simulation

Motion Control (wheeled robots)

Exterior Orientation Parameters

Selection and Integration of Sensors Alex Spitzer 11/23/14

METR 4202: Advanced Control & Robotics

ECGR4161/5196 Lecture 6 June 9, 2011

MTRX4700 Experimental Robotics

Lecture 1 Wheeled Mobile Robots (WMRs)

Lecture 13 Visual Inertial Fusion

Range Imaging Through Triangulation. Range Imaging Through Triangulation. Range Imaging Through Triangulation. Range Imaging Through Triangulation

WEEKS 1-2 MECHANISMS

Information page for written examinations at Linköping University TER2

Robotics. Chapter 25. Chapter 25 1

7 3-Sep Localization and Navigation (GPS, INS, & SLAM) 8 10-Sep State-space modelling & Controller Design 9 17-Sep Vision-based control

Kinematics. Kinematics analyzes the geometry of a manipulator, robot or machine motion. The essential concept is a position.

Localization, Where am I?

State Estimation for Continuous-Time Systems with Perspective Outputs from Discrete Noisy Time-Delayed Measurements

Estimation of Altitude and Vertical Velocity for Multirotor Aerial Vehicle using Kalman Filter

Development of a Ground Based Cooperating Spacecraft Testbed for Research and Education

Thomas Bräunl EMBEDDED ROBOTICS. Mobile Robot Design and Applications with Embedded Systems. Second Edition. With 233 Figures and 24 Tables.

Line of Sight Stabilization Primer Table of Contents

10/5/09 1. d = 2. Range Sensors (time of flight) (2) Ultrasonic Sensor (time of flight, sound) (1) Ultrasonic Sensor (time of flight, sound) (2) 4.1.

Testing the Possibilities of Using IMUs with Different Types of Movements

2.1 Introduction. 2.2 Degree of Freedom DOF of a rigid body

COPYRIGHTED MATERIAL INTRODUCTION CHAPTER 1

ME5286 Robotics Spring 2014 Quiz 1 Solution. Total Points: 30

Build and Test Plan: IGV Team

Human Machine Interaction

Perception: Sensors. Autonomous Mobile Robots. Davide Scaramuzza Margarita Chli, Paul Furgale, Marco Hutter, Roland Siegwart

Visual Recognition: Image Formation

Computer Animation and Visualisation. Lecture 3. Motion capture and physically-based animation of characters

Collaboration is encouraged among small groups (e.g., 2-3 students).

Evaluating the Performance of a Vehicle Pose Measurement System

Improving autonomous orchard vehicle trajectory tracking performance via slippage compensation

ROBOT TEAMS CH 12. Experiments with Cooperative Aerial-Ground Robots

CAMERA GIMBAL PERFORMANCE IMPROVEMENT WITH SPINNING-MASS MECHANICAL GYROSCOPES

Modeling, Parameter Estimation, and Navigation of Indoor Quadrotor Robots

Probabilistic Robotics

ROBOTICS 01PEEQW. Basilio Bona DAUIN Politecnico di Torino

MEAM 620: HW 1. Sachin Chitta Assigned: January 10, 2007 Due: January 22, January 10, 2007

THE UNIVERSITY OF AUCKLAND

Inertial Measurement Units I!

Self-calibration of a pair of stereo cameras in general position

Design of a Three-Axis Rotary Platform

Lecture VI: Constraints and Controllers. Parts Based on Erin Catto s Box2D Tutorial

MULTI-MODAL MAPPING. Robotics Day, 31 Mar Frank Mascarich, Shehryar Khattak, Tung Dang

Kinematics of Machines Prof. A. K. Mallik Department of Mechanical Engineering Indian Institute of Technology, Kanpur. Module 10 Lecture 1

Transcription:

EE565:Mobile Robotics Lecture 2 Welcome Dr. Ing. Ahmad Kamal Nasir

Organization Lab Course Lab grading policy (40%) Attendance = 10 % In-Lab tasks = 30 % Lab assignment + viva = 60 % Make a group Either use lab computers or bring your own laptop (Recommended) 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 2

Today s Objectives Wheel Kinematics and Robot Pose Differential wheel drive Ackermann wheel drive Introduction to Mobile Robot Sensors Wheel Encoders Inertial Measurement Unit (IMU) and GPS Range sensors (Ultrasonic, 2D/3D Laser Scanner) Vision sensor (Monocular, Stereo Cameras) Introduction to Mobile Robot Actuators DC Brush/Brushless motors Motion Controller Position controller PID based Velocity controller 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 3

Wheel Kinematics and Robot Pose Calculation Basics Wheel Kinematics Wheel types and constraints General wheel equation Differential drive robot Geometric solutions for wheel kinematics Ackermann steering Double Ackermann steering 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 4

Basics Degree of Freedoms (DOF) Mobile Robot Pose Kinematic Kinematics models Wheel Types and Constraints Holonomic Non-holonomic 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 5

Degree of Freedoms (DOF) DOF for a mobile robot are the number of directions in which motion can be made. A car has 3 DOF: Translation(2) + Rotation(1) 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 6

Pose X = x y θ 2D robot pose y q X = x y z α β γ 3D robot pose x 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 7

Kinematics Kinematics is the study of motion with out the origin of force. Mobile robot kinematics deals with the relationship of wheel motion and constraints with the platform motion. 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 8

Mobile Robot Kinematics Legged locomotion Wheeled locomotion De facto standard Highly efficient on hard surfaces 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 9

Mobile Robot Kinematics (Cont.) It is used for position and motion estimation A mobile robot moves unbounded in its environment There is no direct way to measure robot s pose It is integrated over time which leads to inaccuracies Each wheel contributes to robot motion and therefore also it s constraints. 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 10

Differential Drive Kinematics 3 DOF Not all DOF can be actuated or have encoders Wheels can impose differential constraints which complicates the computation of Kinematics x y = φr 0 Rolling constraint No-sliding constraint 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 11

Differential Drive Forward Kinematics Forward Kinematics: Given a set of wheel speeds, determine robot velocity 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 12

Differential Drive Inverse Kinematics Inverse Kinematics: Given desired robot velocity, determine corresponding wheel velocities 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 13

Holonomic and Non-holonomic Holonomic Systems The robot is able to move instantaneously in any direction in the space of its degree of freedom Omnidirectional robot, office chair with castor wheels Non-holonomic Systems The robot is not able to move instantaneously in any direction in the space of its degree of freedom Differential drive robot, car 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 14

Wheel Types Standard Wheels 2 DOF Rotation around wheel axis Rotation around contact point Can be steered/fixed Castor Wheels 3DOF Rotation around wheel axis Rotation around contact point Rotation around castor axle 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 15

Wheel Types (Cont.) Swedish Wheel 3 DOF Rotation around wheel axis Rotation around contact point Rotation around roller Spherical Wheels 3 DOF 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 16

Wheeled Kinematics Problem: For a mobile robot with different wheels, what is the relationship between wheel speed φ and platform velocities ( x, y, θ) Assumptions Movement on a horizontal plane Point contact of the wheel Pure rolling i.e. no slipping, skidding or sliding Non-deformable wheels No friction for rotation around contact point 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 17

Notations 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 18

Deriving a general wheel equation Coordinate Frames I: Inertial R: Robot S: Steering W: Wheel The position vector of wheel in inertial frame 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 19

Deriving a general wheel equation (Cont.) Velocity vector from one frame to another 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 20

Standard Wheel (Cont.) 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 21

Constraint for a Standard Wheel 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 22

Standard Wheel (Cont.) 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 23

Standard Wheel (Cont.) 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 24

Differential Kinematics Given a wheeled robot, each wheel imposes n constraints, only fixed and steerable standard wheels impose no-sliding constraints. Suppose a robot has n wheels of radius r i, the individual wheel constraints can be concatenated in matrix form Rolling Constraints J 1 β s R θ ξ I J 2 φ = 0 J 1 β s = No-Sliding Constraints J 1f, J J 1s β 2 = diag r 1,, r n, φ = s C 1 β s R θ C 1 β s = ξ I = 0 C 1f C 1s β s φ 1 φ n 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 25

Differential Kinematics Stacking the rolling and no-sliding constraints gives an expression for the differential kinematics J 1 (β s ) R θ ξ C 1 (β s ) I = J 2 φ 0 Solving this equation for ξ I yields the forward differential kinematics equation needed for computing wheel odometry Solving this equation for φ yields the inverse differential kinematics needed for control 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 26

A Differential Drive Robot (Example) 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 27

A Differential Drive Robot (Example) 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 28

Differential Drive Forward Kinematics 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 29

Differential Drive Forward Kinematics 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 30

Differential Drive Robot Inverse Kinematics 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 31

Differential Drive Robot Kinematics (Summary) 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 32

Ackermann Steering This specific type of drive system is mostly found in the field of automotive applications. It consist of a fixed axle and another one connecting the parallel steered wheels If driven wheels are connected to fixed axle, differential system is require, e.g. car, if steered wheels are driven then differential is obsolete. It has 3 DOF which are not independent. 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 33

Ackermann Steering Desired drive speed is denoted by V D while V RR, V LR are rear right and left wheel speed and V RF, V LF are front right and left wheel speed l denotes the length of vehicle, d denotes the distance between wheel and kinematic center and φ is steer angle. 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 34

Double Ackermann Steering In a double Ackermann steering both axles are steerable It is kinematically even more complex an problematic then the Ackermann steering When a curve is steered, two rotation points of the robot motion will occur. This yields slip of the single wheels. The advantages are Smaller turning radius Sideward motion(both axle are steered in parallel) In off-road applications, the errors of this configuration are lower than those of the interaction between vehicle and terrain 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 35

Double Ackermann Steering Using the vehicle parameters and desired velocity and steering angles the turning radius and wheel velociis are as follows 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 36

Introduction to mobile robot sensors Wheel Encoders Range Sensors Ultrasonic Infrared 2D/3D Laser Range Scanner Inertial Measurement Unit (IMU) Gyroscope Accelerometer Magnetometer Global Positioning System (GPS) Vision Sensor Monocular camera Stereo cameras 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 37

Wheel Encoders A pair of encoders is used on a single shaft. The encoders are aligned so that their two data streams are one quarter cycle (90 deg.) out of phase. Which direction is shaft moving? Suppose the encoders were previously at the position highlighted by the dark band; i.e., Encoder A as 1 and Encoder B as 0. The next time the encoders are checked: If they moved to the position AB=00, the position count is incremented If they moved to the position AB=11, the position count is decremented 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 38

Wheel Encoders (Cont.) State transition table Previous state and current state are the same, then there has been no change in position Any single-bit change corresponds to incrementing/decrementing the count If there is a double-bit change, this corresponds to the encoders being misaligned, or having moved too fast in between successive checks an illegal transition 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 39

Ultrasonic Active time of flight sensor, emit an ultrasound signal and wait until it receive the echo Opening angle, crosstalk, specular reflection 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 40

Infrared An IR proximity sensor works by applying a voltage to a pair of IR light emitting diodes (LED s) which in turn, emit infrared light. This light propagates through the air and once it hits an object it is reflected back towards the sensor. If the object is close, the reflected light will be stronger than if the object is further away. It has problem associated with the color of the surface 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 41

2D Laser Range Scanner High Precision Wide field of view 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 42

3D Laser Range Scanner 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 43

Gyroscope A gyroscope is a device for measuring or maintaining orientation, based on the principles of conservation of angular momentum Measures orientation (standard gyro) or angular velocity (rate gyro, needs integration for angle) 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 44

Accelerometer Measures all external forces acting upon them (including gravity) To obtain inertial acceleration (due to motion alone), gravity must be subtracted Accelerometers behave as a damped mass on a spring. Acceleration causes displacement of this "spring" proportional to the acceleration experienced. This room = your weight = 1g Bugatti Veyron, 0 to 100Km/h in 2.4s= 1.55g Space Shuttle reentry & launch = 3g Max experienced by a human* = 46.2g Death or extensive & severe injuries= +50g x z y 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 45

Magnetometer Compass invented by the Chinese in the 4th century, Carl Gauss invents the "magnetometer" in 1833 Earth magnetic field, Hard and Soft Iron effects 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 46

IMU 3-axes MEMS gyroscope Provides angular velocity Integrate for angular position 3-axes MEMS accelerometer Provides accelerations (including gravity) 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 47

Global Positioning System 24+ satellites, 12 hour orbit, 20.190 km height 6 orbital planes, 4+ satellites per orbit, 60deg distance Every satellite transmits its position and time Requires measurements of 4 different satellites Low accuracy (3-15m) but absolute 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 48

Monocular Camera Vision is most powerful sense CCD and CMOS Automatic extraction of meaningful information (features) Applications 3D reconstruction and modeling Motion capture Teleportation Robot navigation Problems Blurr (Aperature) Lense Distortation Projective geometry (length, angles) 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 49

Stereo Camera It is the process of obtaining depth information from a pair of images coming from two cameras that look at the scene from different but known position Correspondence search prblem 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 50

Introduction to mobile robot actuators DC Motors Brush motor Brushless motor Motion control Open-loop control (trajectory following) Feedback control PID based velocity/position control 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 51

DC Brush Motor More power = faster rotation Power is modulated using PWM 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 52

DC Brushless Motor Electromagnets are stationary Permanent magnets on the axis No brushes (less maintenance, higher efficiency) Measure motor position/speed using back- EMF 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 53

Motion Control The objective of a kinematic controller is to follow a trajectory described by its position and/or velocity profiles as function of time. Motion control is not straight forward because mobile robots are typically non-holonomic systems. Most controllers are not considering the dynamics of the system 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 54

Open-loop Control Trajectory divided in segments of clearly defined shape Lines and arcs control problem pre-compute a smooth trajectory based on line and arcs Disadvantages limitations and constraints of the robots velocities and accelerations does not adapt or correct the trajectory if dynamical changes of the environment occur 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 55

Feedback Control Find a control matrix K, if exists such that the control of v(t) and ω(t) drives the error e to zero 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 56

Position Control Assume that the goal of the robot is the origin of the global inertial frame. The kinematics for the differential drive mobile robot with respect to the global reference frame are: 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 57

Position Control 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 58

Position Control (Cont.) 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 59

PID Velocity Control Move the robot at a desired speed? Calculate the individual wheel velocities Wheel encoders are used for feedback Microcontroller runs the control algorithm (PID) and generates required PWM H-Bridge is used as power amplifier 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 60

Summary Wheel Kinematics and Robot Pose calculation Differential wheel drive Ackermann wheel drive Introduction to Mobile Robot Sensors Wheel Encoders Inertial Measurement Unit (IMU) and GPS Range sensors (Ultrasonic, 2D/3D Laser Scanner) Vision sensor (Monocular, Stereo Cameras) Introduction to Mobile Robot Actuators DC Brush/Brushless motors Position control PID based velocity controller 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 61

Questions 24 Jan 2016 Dr. -Ing. Ahmad Kamal Nasir 62