Line following of a mobile robot

Similar documents
Nonholonomic Constraints Examples

General Definition of Torque, final. Lever Arm. General Definition of Torque 7/29/2010. Units of Chapter 10

NONLINEAR PATH CONTROL FOR A DIFFERENTIAL DRIVE MOBILE ROBOT

Rotation. Kinematics Rigid Bodies Kinetic Energy. Torque Rolling. featuring moments of Inertia

Physics 106a, Caltech 16 October, Lecture 5: Hamilton s Principle with Constraints. Examples

Robot Dynamics II: Trajectories & Motion

Lecture Schedule Week Date Lecture (M: 2:05p-3:50, 50-N202)

(W: 12:05-1:50, 50-N202)

Solving high order nonholonomic systems using Gibbs-Appell method

Torque and Rotation Lecture 7

CONTROL OF THE NONHOLONOMIC INTEGRATOR

Mechatronic System Case Study: Rotary Inverted Pendulum Dynamic System Investigation

Cross-Coupling Control for Slippage Minimization of a Four-Wheel-Steering Mobile Robot

Lagrangian Dynamics: Generalized Coordinates and Forces

Rotational Kinetic Energy

Control of a Car-Like Vehicle with a Reference Model and Particularization

Physics 106a, Caltech 4 December, Lecture 18: Examples on Rigid Body Dynamics. Rotating rectangle. Heavy symmetric top

06. Lagrangian Mechanics II

Robot Control Basics CS 685

Rotational Kinematics

Physics 201. Professor P. Q. Hung. 311B, Physics Building. Physics 201 p. 1/1

Final Exam April 30, 2013

Appendix W. Dynamic Models. W.2 4 Complex Mechanical Systems. Translational and Rotational Systems W.2.1

THE REACTION WHEEL PENDULUM

Design, realization and modeling of a two-wheeled mobile pendulum system

Modelling and Simulation of a Wheeled Mobile Robot in Configuration Classical Tricycle

Physics 141 Rotational Motion 2 Page 1. Rotational Motion 2

Electromagnetic Induction and Faraday s Law

Phys101 Lectures 19, 20 Rotational Motion

Controlling the Apparent Inertia of Passive Human- Interactive Robots

Coupled Drive Apparatus Modelling and Simulation

Forces of Constraint & Lagrange Multipliers

Constrained motion and generalized coordinates

Team-Exercises for DGC 100 Modelica Course

Non-holonomic constraint example A unicycle

EE Homework 3 Due Date: 03 / 30 / Spring 2015

EE 410/510: Electromechanical Systems Chapter 4

PRACTICE EXAM 1 for Midterm 2

Rotational Kinematics and Dynamics. UCVTS AIT Physics

We provide two sections from the book (in preparation) Intelligent and Autonomous Road Vehicles, by Ozguner, Acarman and Redmill.

Advanced Dynamics. - Lecture 4 Lagrange Equations. Paolo Tiso Spring Semester 2017 ETH Zürich

16. Rotational Dynamics

Chapter 4 Statics and dynamics of rigid bodies

Exam 2 Solutions. ε 3. ε 1. Problem 1

Circular Motion, Pt 2: Angular Dynamics. Mr. Velazquez AP/Honors Physics

EE Mobile Robots

EXPERIMENT 7: ANGULAR KINEMATICS AND TORQUE (V_3)

MOBILE ROBOT DYNAMICS WITH FRICTION IN SIMULINK

Video 3.1 Vijay Kumar and Ani Hsieh

Lecture 4. Alexey Boyarsky. October 6, 2015

Video 1.1 Vijay Kumar and Ani Hsieh

Analytical Dynamics: Lagrange s Equation and its Application A Brief Introduction

Induction and Inductance

Case Study: The Pelican Prototype Robot

Artificial Intelligence & Neuro Cognitive Systems Fakultät für Informatik. Robot Dynamics. Dr.-Ing. John Nassour J.

CEE 271: Applied Mechanics II, Dynamics Lecture 25: Ch.17, Sec.4-5

= o + t = ot + ½ t 2 = o + 2

Assignment 9. to roll without slipping, how large must F be? Ans: F = R d mgsinθ.

Physics 141. Lecture 18. Frank L. H. Wolfs Department of Physics and Astronomy, University of Rochester, Lecture 18, Page 1

Physical Dynamics (PHY-304)

Chapter 8 Lecture. Pearson Physics. Rotational Motion and Equilibrium. Prepared by Chris Chiaverina Pearson Education, Inc.

CONTROL OF ROBOT CAMERA SYSTEM WITH ACTUATOR S DYNAMICS TO TRACK MOVING OBJECT

Chap10. Rotation of a Rigid Object about a Fixed Axis

PLANAR KINETIC EQUATIONS OF MOTION (Section 17.2)

1.1. Rotational Kinematics Description Of Motion Of A Rotating Body

Example: DC Motor Speed Modeling

6. Find the net torque on the wheel in Figure about the axle through O if a = 10.0 cm and b = 25.0 cm.

The Simplest Model of the Turning Movement of a Car with its Possible Sideslip

Principles of Engineering Midterm Exam

12. Rigid Body Dynamics I

ELEC4631 s Lecture 2: Dynamic Control Systems 7 March Overview of dynamic control systems

Chapter 10. Rotation of a Rigid Object about a Fixed Axis

Rotation. Rotational Variables

Physics 106b/196b Problem Set 9 Due Jan 19, 2007

Physics 121, March 25, Rotational Motion and Angular Momentum. Department of Physics and Astronomy, University of Rochester

CONTROL DESIGN FOR AN OVERACTUATED WHEELED MOBILE ROBOT. Jeroen Ploeg John P.M. Vissers Henk Nijmeijer

Experimental Implementation of Flocking Algorithms in Wheeled Mobile Robots

Plane Motion of Rigid Bodies: Forces and Accelerations

MEAM 520. More Velocity Kinematics

Mecanum-Wheeled Vehicle Base

N mg N Mg N Figure : Forces acting on particle m and inclined plane M. (b) The equations of motion are obtained by applying the momentum principles to

Dynamics of Nonholonomic Systems

COLLEGE OF FOUNDATION AND GENERAL STUDIES PUTRAJAYA CAMPUS FINAL EXAMINATION TRIMESTER I 2012/2013

Computational and mathematical modeling of an industrialautomobile robot: a multi-purpose case of study

CP1 REVISION LECTURE 3 INTRODUCTION TO CLASSICAL MECHANICS. Prof. N. Harnew University of Oxford TT 2017

CEE 271: Applied Mechanics II, Dynamics Lecture 9: Ch.13, Sec.4-5

Texas A & M University Department of Mechanical Engineering MEEN 364 Dynamic Systems and Controls Dr. Alexander G. Parlos

Downloaded from

DC Motor Position: System Modeling

Solutions to PHY2049 Exam 2 (Nov. 3, 2017)

Quaternion-Based Tracking Control Law Design For Tracking Mode

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

Slide 1 / 37. Rotational Motion

Research Article Energy Reduction with Anticontrol of Chaos for Nonholonomic Mobile Robot System

340 IEEE TRANSACTIONS ON ROBOTICS, VOL. 26, NO. 2, APRIL 2010

7. FORCE ANALYSIS. Fundamentals F C

Lab Partner(s) TA Initials (on completion) EXPERIMENT 7: ANGULAR KINEMATICS AND TORQUE

Objectives. Fundamentals of Dynamics: Module 9 : Robot Dynamics & controls. Lecture 31 : Robot dynamics equation (LE & NE methods) and examples

Chapter 8 Lecture Notes

Generalized Coordinates, Lagrangians

Transcription:

Line following of a mobile robot May 18, 004 1 In brief... The project is about controlling a differential steering mobile robot so that it follows a specified track. Steering is achieved by setting different angular velocities on the wheels. The track is comprised of straight lines and circular curves. It is possible to take advantage of this knowledge switching the control algorithm when the robot enters a curve. A simulink block and a M-file that sets suitable parameters is provided with the robot. j c φ l b i c y C l φ r θ <w> x Figure 1: Schematic representation of the nonholonomic vehicle. System Dynamics The modeling of a two-wheeled nonholonomic vehicle is a problem deeply analyzed by a several papers in the past (see, as an example, [1, ]). In this context, a few basic concepts will be recalled and some notational conventions, useful throughout the papers, will be established. The mobile robot is modeled as a two wheels nonholonomic vehicle, endowed with an external sensor (e.g. a camera) able to determine the Cartesian relative position of a moving target. Since it is assumed that the wheels can not 1

slide on the ground, in the direction perpendicular to the actual motion, in order to derive the system dynamics, it is necessary to take into account these non-integrable kinematic constraints. The analytical dynamics of the vehicle is determined using the principle of virtual displacements and the d Alembert- Lagrange equations [3]: n ( d T T Q k )δq k = 0, (1) dt q k q k k=1 where n is the dimension of the configuration space, q k, k = 1,..., n are the generalized coordinates of the configuration space, T is the kinetic energy of the system, and Q k are the generalized forces. In particular, the state of the mechanical system evolves in a configuration space which is five dimensional (see fig.1), i.e. there are five generalized coordinates (n = 5): the point of intersection [x, y] T (expressed in the inertial frame < w >) of the symmetry axis of the carriage with the axle on which the wheels are mounted; the orientation angle θ between the symmetry axis of the carriage and a fixed axis of the frame < w >; and the angles of rotation of the left-hand wheel φ l and of the righthand one φ r. The vehicle physical parameters are denoted as follows: C o is the center of the mass of the carriage, m 0 is the mass of the carriage, m 1 and r are respectively the mass and radius of each wheel, k o is the radius of gyration of the carriage about the vertical passing through [x, y] T, l is the distance between C o and the point [x, y] T, A is the moment of inertia of the wheel about a diameter, and C is the axial moment of inertia including the actuator inertia. The absence of sliding in the direction of translational motion for both the wheels, and in the lateral direction lead to three kinematic non-integrable constraints ẋ = r φ l + φ r cos θ φ l + φ r θ ẏ = r sin θ = r b ( φ r φ l ), () hence the system has degrees of freedom, i.e. there are only two independent virtual displacements. Defined E x = d T dt ẋ T x Q x, the similar expressions of E y, E θ, E φr, E φl, by directly eliminating the dependent virtual displacements as functions of the independent variations: δx = r cos θ (δφ l +δφ r ), δy = r sin θ (δφ l + δφ r ), and δθ = r b (δφ r δφ l ), and since Q x = Q y = Q θ = 0, being Q φr = τ r, and Q φl = τ l the torques applied, respectively, to the right and left wheel, the system dynamics results m 11 φr + m 1 φl + c 1 ( φ l φ r φl ) = τ r m 1 φr + m φl + c ( φ r φ r φl ) = τ l, (3) the inertia matrix M = {m ij }, i, j = 1,, has been defined as m 11 = m = mr 4 + Jr +C, m 1 = m 1 = mr 4 Jr, where m = m 0 +m 1, and J = 1 m 0k0 +

m 1 b + A. The quantities c 1 = c = m0lr3, which are constant coefficients, are related to the geometry and mass of the system. We also assumed that the torques applied to the wheels are generated by permanent-magnet D.C. motors (one for each wheel), able to provide torques proportional to the actual current in the armature circuit. In the rest of the paper we will address either the case of current-driven motors, able to generate a torque proportional to the command by an analog control loop, or the case of voltage driven motors. In the latter case, the considered motor equations for the right wheel are: τ r = k p I r V r = R a I r + L a Ir + k p φr, (4) where I r is the armature current, k p is the constant gain between the torque and the current, V r is the armature voltage, and R a, L a are the circuit parameters. We assume that the equation relative to the left wheel has the same parameters (k p, R a, L a ). When dealing with voltage driven motors, the above linear equation will be included in the equations of the whole system and accounted for in the control law synthesis. Figure : Schematic representation of the nonholonomic vehicle. 3 Sensors Sensors deployed on the vehicle collect the following data: left and right angular velocities; these data are collected by an optical encoder and the minimum sampling period is 1ms distance y from the line (see Figure ); this distance can be either positive or negative meaning that the the vehicle is located in the internal or in the external part of the track. This information is collected by a sensor whose minimum sampling period is 0ms. The sensor has a maximum range of 1m beyond which the line is not measurable. inclination with respect to the direction of the path (see Figure ); also this information is collected by a sensor whose minimum sampling period 3

is 0ms. Also for this information the sensor has a limited range of 1m beyond which it looses sight of the track. Curve indication: upon entrance and exits from curve an event-based sensor notifies that the vehicle is on clockwise or on a counter-clockwise curve. 4 Actuators Actuators are the armature tensions on the left and right motors. saturation on the motors, maximum tension is 50 volts. There is 5 Control goals 5.1 Mandatory goals The minimum required goal is to make the vehicle follow the road with a minumum constant velocity of 1m/s. The vehicle has to always staty within the range of the path. Higher velocities are appreciated provided that the range requirement is always complied with. 5. Optional goals When the controller is notified the enter-curve or exit-curve event it can change the vehicle speed and or swithch to a different control algorithm. The sensors that measures the inclination of the vehicle can suffer faults. In this case it is possible to switch to a degraded algorithm that reconstruct the inclination using an observer but the speed is reduced to 0.5m/s. 6 Structure of the software and implementation All the files needed are in directory shark/demos/rtw. The directory includes many files, most of which have been automatically generated by Real-Time workshop and are needed for simulating the robot. The most important files are: rtw.c This file includes the main() function, the system initialization, the simulation tasks. You should not modify this file. control.c This file is the one that should include the control algorithm. Currently it includes only one task that performs a very simple kinematic control. 4

percorso.c This file includes the definition of the path. You should not modify this file. carrello0 grt rtw/carrello0.c This file is the initialization file for the Simulink simulation. At the beginiing of the file there is a #define DURATA that is used to set the lenght of the simulation in seconds. 6.1 Units of measure The position is in meters, angles are in radiants, wr and wl are in rad/seconds, tension is in volts. 6. Sign conventions Distance d is from the center of the robot to the path. It is positive if the path is to the left of the robot, it is negative if the path is to the right of the robot. Angle th is the angle between the robot direction axis and the path tangent. It is positive if the robot must turn left to get in line with the path; it is negative if the robot must turn right to get in line with the path. References [1] P.F. Muir and C.P. Neuman, Kinematic modeling of wheeled mobile robots, Journal Robotic Systems, vol.4, no., pp. 81-39, 1987. [] G. Campion, G. Bastin and B. D Andrea-Novel, Structural properties and classification of kinematic and dynamic models of wheeled mobile robots, IEEE Trans. on Robotics and Automation, vol 1, no.1, 1996. [3] J.I. Neimark and N.A. Fufaev, Dynamics of Nonholonomic Systems, American Math. Society, Providence, Rhode Island, 197. 5