Mecanum-Wheeled Vehicle Base

Similar documents
Rotational Kinematics and Dynamics. UCVTS AIT Physics

Rotational Motion. Rotational Motion. Rotational Motion

EQUATIONS OF MOTION: GENERAL PLANE MOTION (Section 17.5) Today s Objectives: Students will be able to analyze the planar kinetics of a rigid body

Chapter 8 Lecture Notes

Case Study: The Pelican Prototype Robot

Circular Motion & Rotational Mechanics. Semester 2 Review Project - Sonya Kalara, Ellie Kim, and Charlotte Spry

Flipping Physics Lecture Notes: Demonstrating Rotational Inertia (or Moment of Inertia)

Rotational Kinetic Energy

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

Line following of a mobile robot

16.07 Dynamics Final Exam

Physics 207: Lecture 24. Announcements. No labs next week, May 2 5 Exam 3 review session: Wed, May 4 from 8:00 9:30 pm; here.

Week 3: Wheeled Kinematics AMR - Autonomous Mobile Robots

Physics 111. Lecture 22 (Walker: ) Torque Rotational Dynamics Static Equilibrium Oct. 28, 2009

Rotation. I. Kinematics - Angular analogs

Single-track models of an A-double heavy vehicle combination

Robot Control Basics CS 685

Lab 6a: Pole Placement for the Inverted Pendulum

ET3-7: Modelling I(V) Introduction and Objectives. Electrical, Mechanical and Thermal Systems

1. The first thing you need to find is the mass of piece three. In order to find it you need to realize that the masses of the three pieces must be

Definition. is a measure of how much a force acting on an object causes that object to rotate, symbol is, (Greek letter tau)

DOUBLE ARM JUGGLING SYSTEM Progress Presentation ECSE-4962 Control Systems Design

P211 Spring 2004 Form A

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

Non-textbook problem #I: Let s start with a schematic side view of the drawbridge and the forces acting on it: F axle θ

Physics 111. Lecture 23 (Walker: 10.6, 11.1) Conservation of Energy in Rotation Torque March 30, Kinetic Energy of Rolling Object

Chapter 11 Angular Momentum; General Rotation. Copyright 2009 Pearson Education, Inc.

Lab 5a: Pole Placement for the Inverted Pendulum

Textbook Reference: Wilson, Buffa, Lou: Chapter 8 Glencoe Physics: Chapter 8

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

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

Lab #4 - Gyroscopic Motion of a Rigid Body

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

Drive-train Basics. Team 1640 Clem McKown - mentor October 2009 (r3)

Chapter 10 Practice Test

Chapter 9- Static Equilibrium

CHAPTER 8: ROTATIONAL OF RIGID BODY PHYSICS. 1. Define Torque

DEVIL PHYSICS BADDEST CLASS ON CAMPUS IB PHYSICS

Lecture 6 Physics 106 Spring 2006

Sample Lab Report. AP Physics, Fall 2013

PLANAR KINETIC EQUATIONS OF MOTION (Section 17.2)

Chapter 4 Force System Resultant Moment of a Force

Advanced Robotic Manipulation

8.012 Physics I: Classical Mechanics Fall 2008

The dynamics of a Mobile Inverted Pendulum (MIP)

Physics. Chapter 8 Rotational Motion

Rotation. PHYS 101 Previous Exam Problems CHAPTER

Robotics I. Classroom Test November 21, 2014

7. The gyroscope. 7.1 Introduction. 7.2 Theory. a) The gyroscope

ROBOTICS Laboratory Problem 02

Quaternion-Based Tracking Control Law Design For Tracking Mode

Physics A - PHY 2048C

Simulation of the ergometer

Chapter 10: Rotation. Chapter 10: Rotation

Chapter 10: Rotation

CHAPTER 10 ROTATION OF A RIGID OBJECT ABOUT A FIXED AXIS WEN-BIN JIAN ( 簡紋濱 ) DEPARTMENT OF ELECTROPHYSICS NATIONAL CHIAO TUNG UNIVERSITY

Understanding Precession

Relating Linear and Angular Kinematics. a rad = v 2 /r = rω 2

Exam 3 Practice Solutions

Rolling, Torque & Angular Momentum

Trajectory-tracking control of a planar 3-RRR parallel manipulator

Video 1.1 Vijay Kumar and Ani Hsieh

AP Physics QUIZ Chapters 10

Physics General Physics. Lecture 14 Rotational Motion. Fall 2016 Semester Prof. Matthew Jones

Rotational Motion, Torque, Angular Acceleration, and Moment of Inertia. 8.01t Nov 3, 2004

Quantitative Skills in AP Physics 1

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

PHYSICS - CLUTCH 1E CH 12: TORQUE & ROTATIONAL DYNAMICS.

PHYSICS - CLUTCH CH 12: TORQUE & ROTATIONAL DYNAMICS.

THE REACTION WHEEL PENDULUM

PHYSICS 220. Lecture 15. Textbook Sections Lecture 15 Purdue University, Physics 220 1

Angular Momentum. Objectives CONSERVATION OF ANGULAR MOMENTUM

Rotation of Rigid Objects

Static Equilibrium; Torque

Rotational Motion and Torque

The Control of a Mobile Robot with Dual Wheel Transmission. TR-CIM October 2012

Chapter 8 Rotational Motion

Lecture PowerPoints. Chapter 11. Physics for Scientists and Engineers, with Modern Physics, 4 th edition Giancoli

Autonomous Underwater Vehicles: Equations of Motion

Physics for Scientist and Engineers third edition Rotational Motion About a Fixed Axis Problems

PLANAR KINETICS OF A RIGID BODY FORCE AND ACCELERATION

PHYSICS 149: Lecture 21

Kinematics for a Three Wheeled Mobile Robot

Objectives. Power in Translational Systems 298 CHAPTER 6 POWER

a c = v2 R = ω2 R (1) in a horizontal direction towards the barrel s axis. The horizontal force providing for this acceleration is the normal force

Moment of inertia and angular acceleration

FALL TERM EXAM, PHYS 1211, INTRODUCTORY PHYSICS I Thursday, 11 December 2014, 6 PM to 9 PM, Field House Gym

PHYS 111 HOMEWORK #11

Lab 4 Numerical simulation of a crane

Physics 101: Lecture 15 Torque, F=ma for rotation, and Equilibrium

Class XI Chapter 7- System of Particles and Rotational Motion Physics

F A C U L T Y O F E D U C A T I O N. Physics Electromagnetism: Induced Currents Science and Mathematics Education Research Group

Lecture 13 REVIEW. Physics 106 Spring What should we know? What should we know? Newton s Laws

11-2 A General Method, and Rolling without Slipping

SYSTEM OF PARTICLES AND ROTATIONAL MOTION

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

Moment of inertia and angular acceleration with Cobra 3

The acceleration due to gravity g, which varies with latitude and height, will be approximated to 101m1s 2, unless otherwise specified.

Chapter 19 Angular Momentum

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

Transcription:

Mecanum-Wheeled Vehicle Base Dan Fisher in partial fulfillment of ETLS 789 Simulation and Visualization of Dynamic Systems University of St. Thomas Dr. Michael Hennessey Fall 2014 Due December 18, 2014

Abstract Mecanum wheels offer a means to implement omni-directional translational motion in a vehicle platform. As the wheel rotates, rollers around its circumference create a force directed at an angle relative to the plane of rotation. Various combinations of wheel rotational velocities can provide a net force in any direction. This provides enhanced maneuverability in close quarters, but is often limited to smoother surfaces as the wheels require many moving rollers that can become easily obstructed by debris. Applications of this model run from small hobby kits up to heavy duty industrial vehicles. This project presents the simulation of a typical four mecanumwheeled vehicle platform using MATLAB and Simulink. All modes of vehicle motion are simulated and animated using frame-by-frame capture of a 3D vehicle model in Solidworks. System Equations The system equations presented here are the work of Lin & Shih [1], with modifications as indicated. Mecanum Wheel Parameters Each wheel is mounted on a vehicle chassis with a local robot frame of reference {R}: XRYRZR with the origin at the geometric center G and the wheel s center at A. The key parameters for each wheel are the angle of GA relative to the XR axis, the angle of the wheel s axle relative to GA, and the angle of the rollers axles relative to the wheel s plane of rotation. Note that these parameters vary for each wheel on the vehicle. Figure 1. Parameters of a mecanum wheel [1] The wheel s angular velocity φ is defined positively for clockwise (CW) rotation looking outward from the vehicle base. Vehicle Base Configuration Figure 2 shows the vehicle base as viewed from above. The rollers shown are those touching the ground on the bottom of the wheel, which form a diamond pattern. When viewing an actual mecanum-wheeled vehicle from above as in Figure 3, the visible rollers on top of the wheel form an X shape. While the wheel parameters are in the local robot frame {R}, the inertial laboratory frame {I}: XIYIYI will provide the final output coordinates of the system. 2a is the vehicle s width from wheel center to wheel center, while 2b is similarly the vehicle s length. l is the distance from the geometric center G to the wheel center A.

Y R Wheel 2 a Wheel 1 l l b Y I l G l X R Wheel 3 Wheel 4 O X I Figure 2. Vehicle base configuration as viewed from above. Rollers shown are those that touch the ground. [1] Figure 3. 4WD 100mm Mecanum Wheel Learning Kit available from nexusrobot.com. Note the typical X shape formed by the rollers visible on the top of the wheels. The wheel parameters used in this project are given in Table 1. It appears that Lin & Shih chose i values corresponding to a configuration where the rollers contacting the floor make an X pattern, reversed from the typical configuration. When their equations were simulated directly, the vehicle s translation back and forth along the XI axis was reversed from what was expected. In order to get sensible behavior from the model, the signs of the i values needed to be adjusted. The model implemented in this project uses the typical arrangement, which means the sign of each i is opposite of that given by Lin & Shih.

Table 1. Mecanum Wheel Parameter Values ( i signs reversed, compared to Lin & Shih) Wheel i i i 1 tan 1 (b/a) tan 1 (b/a) (π/2 + π/4) 2 π tan 1 (b/a) tan 1 (b/a) (π/2 + π/4) 3 π + tan 1 (b/a) tan 1 (b/a) (π/2 + π/4) 4 2π tan 1 (b/a) tan 1 (b/a) (π/2 + π/4) System Coordinates and Inputs Consider each mecanum wheel with mass mwi = mw and moment of inertia Iwi = Iw. Also, the vehicle base has mass mb and moment of inertia Ib about the ZR axis. Figure 4 shows the system state variables q = [x I y I θ] T in inertial laboratory frame {I} and input torques τ = [τ 1 τ 2 τ 3 τ 4 ] T acting on each wheel. Torques are defined positively for CW torques looking outward from the vehicle base. In general, the vehicle base should be well balanced with the center of mass near the geometric center G. However, the model is generalized for bases where the center of mass G is offset from G by distances d1 and d2. The contact friction forces between each mecanum wheel and the floor are f = [f 1 f 2 f 3 f 4 ] T. Y R Wheel 1 1 Wheel 2 f 2 f 1 2 d 1 G X R d 2 Y I f 3 G 4 Wheel 4 f 4 3 Wheel 3 O X I Figure 4. System coordinates with input torques defined positively for clockwise torques looking outward from the vehicle base

Equations The derivation of the system equations is beyond the scope of this project to show. Lin & Shih analyze the kinematics of the robot base assuming no wheel slippage parallel to the roller axes. The inverse kinematic equations are given as: φ 1 φ [ 2 ] = ( 2 φ 3 r ) φ 4 [ 2 2 2 2 l sin(π 4 + α) 2 2 2 2 l sin(π 4 + α) 2 2 2 2 l sin(π 4 + α) 2 2 2 2 l sin(π 4 + α)] cos θ sin θ 0 x I [ sin θ cos θ 0] [ y I ] (1) 0 0 1 θ where α = tan 1 (b/a). These will be used to find the direction, or sign, of each wheel s rotation during the simulation. Note that Equation (1) is modified from Lin & Shih due to the reversed +/ signs of i. The dynamics are then analyzed using Lagrange s equations. Final system equations are as follows (matrices B and M modified from Lin & Shih): M(q)q + C(q, q )q + B T Sf = 1 r BT τ (2) where q = [x I y I θ] T τ = [τ 1 τ 2 τ 3 τ 4 ] T f = [f 1 f 2 f 3 f 4 ] T S = diag[ sgn(φ 1 ) sgn(φ 2 ) sgn(φ 3 ) sgn(φ 4 ) ] M = [m ij ] 3 3 m 11 = m 22 = m b + 4 (m w + I w r 2) m 12 = m 21 = 0 m 13 = m 31 = m b (d 1 sin θ + d 2 cos θ) m 23 = m 32 = m b ( d 1 cos θ + d 2 sin θ) m 33 = m b (d 1 2 + d 2 2 ) + I b + 8 (m w + 1 r 2) l2 sin 2 (π/4 + α) 0 0 m b θ (d 1 cos θ d 2 sin θ) C = [ 0 0 m b θ (d 1 sin θ + d 2 cos θ) ] 0 0 0

B = cos θ +sin θ sin θ cos θ l 2 sin(π/4 + α) cos θ sin θ sin θ +cos θ l 2 sin(π/4 + α) cos θ sin θ sin θ +cos θ l 2 sin(π/4 + α) [ cos θ +sin θ sin θ cos θ l 2 sin(π/4 + α)] MATLAB/Simulink Model Discussion In simulating the mecanum-wheeled vehicle base, the torques applied to each wheel are the inputs, while the state variables q = [x I y I θ] T are the outputs (referred to as x, y, and theta in the block diagrams that follow). Solving Equation (2) for q provides a convenient means for modeling in Simulink: q = M 1 [ 1 r BT τ Cq B T Sf] (3) After the integrator blocks act on each state variable, subsystems are used to build up the matrices M, B, C and S. These signals are then combined together into the right-hand side of Equation (3) before being demuxed and connected back into the integrator blocks. Subsystem Phidot is used to calculate φ from Equation (1) so that sgn(φ i ) can be plugged into S. φ is also calculated and sent out to the workspace to be used as position data for the rotating wheels. Finally, subsystem Theta shifting translates into the range 0 < θ 360 for convenient use by the Solidworks external design table. The same shift was done in the MATLAB script file for each wheel s angular position. Here is the script file used to define parameters and run the simulation: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % mecanumscript2.m % This script is run together with mecanumsim2.slx clear all; % Constant parameters mw = 0.59; % mass of wheel (kg) Iw = 0.001286; % moment of inertia for wheel (kg.m^2) % Box dimensions are.6 m by.4 m mb = 9.072; % mass of platform (kg) (est 20 lbs) Ib = 2.36; % moment of inertia for platform through CM = center % (kg.m^2) r = 0.06602; % radius of wheel (m) a = 0.237; % half of axle width (width) (m) b = 0.25; % half of axle spacing (length) (m) l = (a^2+b^2)^0.5; % distance from geometric center to wheel (m) alpha = atan(b/a); % (rad) d1 = 0; % x-offset of CM from geometric center (m) d2 = 0; % y-offset of CM from geometric center (m) % Wheel contact friction forces % Assume CM coincides with geometric center

% then fi = f mu = 0.25; % Coefficient of friction g = 9.80; % Accel. due to gravity (m/s^2) f = 0.25*(mb + 4*mw)*g*mu; % Force (N) % Mass matrix, constant terms % M13 = M31 and M23 = M32 include state variable theta (not constant) M11 = mb + 4*(mw + Iw/r^2); M22 = M11; M12 = 0; M21 = 0; M33 = mb*(d1^2 + d2^2) + Ib + 8*(mw + Iw/r^2)*l^2*(sin(pi/4+alpha))^2; % Run simulation sim('mecanumsim2.slx'); % Shift wheel angles into 0 < phi < 360 phi1 = rem(phi1,360); for index = 1:size(phi1) if phi1(index) < 0 phi1(index) = phi1(index) + 360; phi2 = rem(phi2,360); for index = 1:size(phi2) if phi2(index) < 0 phi2(index) = phi2(index) + 360; phi3 = rem(phi3,360); for index = 1:size(phi3) if phi3(index) < 0 phi3(index) = phi3(index) + 360; phi4 = rem(phi4,360); for index = 1:size(phi4) if phi4(index) < 0 phi4(index) = phi4(index) + 360; figure; plot(x,y,'linewidth',2); title('25 second simulation'); xlabel('x_i (m)'); ylabel('y_i (m)'); xlim([0 5]); ylim([0 3]); axis square; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Scenarios and MATLAB Plots After a shorter test animation (Animation 1), a second longer animation (Animation 2) was created to show the main modes of operation, i.e. translation forward/backward, left/right, diagonal, as well as rotation in place. Table 2 shows the sign of each wheel s rotation (or applied torque) needed to achieve the desired motion. Translation forward is taken as north while translation right is taken as east in the robot frame of reference. F 2 + + F 1 F i F net F 4 Figure 5. Example of rightward (eastward) translation. Mecanum wheel images from vexrobotics.com. Table 2. Some possible modes of operation for the 4-mecanum-wheeled vehicle base. Wheel rotation and/or torque are defined positively for CW motion looking outward from the vehicle base. 0 = at rest (no torque). Direction Wheel 1 Wheel 2 Wheel 3 Wheel 4 N + + S + + E + + W + + NE 0 + 0 NW 0 + 0 SW 0 0 + SE + 0 0 CW rotation CCW rotation + + + + F 3

Figure 6 shows the input torques in red and the output variables in blue for the longer 25 second simulation and animation (Animation 2). The input torques were defined as piecewise linear signals using a Signal Builder block in Simulink. Because the model is open-loop, meaning there is no control feedback, the input signals were built using trial-and-error in order to produce the desired output vehicle motion. It was found that dropping the torques to zero for about 0.3-0.4s allowed the vehicle to stop before beginning the next leg. Figure 7 shows the corresponding output positions (xi, yi) for the 25 second simulation. Figure 6. Input and output signals for Animation 2

Figure 7. Output vehicle positions for Animation 2 References [1] L.-C. Lin and H.-Y. Shih, Modeling and Adaptive Control of an Omni-Mecanum- Wheeled Robot, Intelligent Control and Automation, 2013, 4, 166-179. [2] S. Bruins, Mecanum Wheel, https://grabcad.com/library/mecanum-wheel, accessed 2014-12-13.