19
Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 Computer Science 4766/6778 Department of Computer Science Memorial University of Newfoundland January 27, 2009 COMP 4766/6778 (MUN) Kinematics of Wheeled Robots: Part 1 January 27, 2009 1 / 19

Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 · 2009-01-30 · Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 Computer Science 4766/6778 Department of Computer

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 · 2009-01-30 · Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 Computer Science 4766/6778 Department of Computer

Unit 2: LocomotionKinematics of Wheeled Robots: Part 1

Computer Science 4766/6778

Department of Computer ScienceMemorial University of Newfoundland

January 27, 2009

COMP 4766/6778 (MUN) Kinematics of Wheeled Robots: Part 1 January 27, 2009 1 / 19

Page 2: Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 · 2009-01-30 · Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 Computer Science 4766/6778 Department of Computer

1 Introduction

Kinematics?

Notation

Representation

2 Wheel Kinematic Constraints

Fixed Standard Wheel

Constraints for Other Wheel Types

COMP 4766/6778 (MUN) Kinematics of Wheeled Robots: Part 1 January 27, 2009 2 / 19

Page 3: Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 · 2009-01-30 · Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 Computer Science 4766/6778 Department of Computer

Kinematics?

Kinematics is the study of the motion of objects without beingconcerned with forces

Dynamics addresses forces

Understanding a robot’s kinematics allows us to...

Know how a robot’s body constrains its motionDetermine the paths and trajectories a robot can achieve

We will address the kinematics of wheeled robots

Far simpler than the kinematics of legged robots

Each wheel allows motion in some direction(s) and constrains it inothers

COMP 4766/6778 (MUN) Kinematics of Wheeled Robots: Part 1 January 27, 2009 3 / 19

Page 4: Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 · 2009-01-30 · Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 Computer Science 4766/6778 Department of Computer

Notation

Differs somewhat from book

Scalars in both cases: e.g. a,B, β, ˙xR

Vectors in bold lower-case: e.g. x, ξ

Matrices in bold upper-case: e.g. A,Rccw(θ),Φ(t)

Points and axes in upper-case: e.g. P,XR ,YR

COMP 4766/6778 (MUN) Kinematics of Wheeled Robots: Part 1 January 27, 2009 4 / 19

Page 5: Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 · 2009-01-30 · Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 Computer Science 4766/6778 Department of Computer

Representation

We will consider only motion within the plane (i.e. 2D motion)

The inertial reference frame is the global coordinate system withorigin O

Denoted by subscript IAxes XI and YI

The robot’s reference frame has some origin P and describes thelayout of its body w.r.t. P

(w.r.t. = “with respect to”)Denoted by subscript RAxes XR and YR

COMP 4766/6778 (MUN) Kinematics of Wheeled Robots: Part 1 January 27, 2009 5 / 19

Page 6: Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 · 2009-01-30 · Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 Computer Science 4766/6778 Department of Computer

The robot’s pose, ξI, gives the position of P, and the orientation of therobot’s reference frame w.r.t. the inertial reference frame

ξI =

xyθ

COMP 4766/6778 (MUN) Kinematics of Wheeled Robots: Part 1 January 27, 2009 6 / 19

Page 7: Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 · 2009-01-30 · Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 Computer Science 4766/6778 Department of Computer

Assume we want the robot to travel with some velocity w.r.t. theglobal reference frame

ξI =

xy

θ

where θ causes the robot to spin about P

We must determine how this motion vector is expressed w.r.t. therobot reference frame by rotating it back (i.e. clockwise) by θ

COMP 4766/6778 (MUN) Kinematics of Wheeled Robots: Part 1 January 27, 2009 7 / 19

Page 8: Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 · 2009-01-30 · Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 Computer Science 4766/6778 Department of Computer

Counterclockwise rotation in 2D is achieved by matrix multiplicationwith the rotation matrix Rccw(θ):

Rccw(θ) =

[cos θ − sin θsin θ cos θ

](See supplementary notes on “The Rotation Matrix”)

However, we desire a clockwise rotation: Rcw(θ) = Rccw(−θ); Also,we wish to apply the rotation to ξI which includes a third term, θ;This term does not need to be modified by Rcw(θ) so we expandRcw(θ) to leave it alone

Rcw(θ) =

cos θ sin θ 0− sin θ cos θ 0

0 0 1

From now on we will say R(θ) to refer to Rcw(θ)

COMP 4766/6778 (MUN) Kinematics of Wheeled Robots: Part 1 January 27, 2009 8 / 19

Page 9: Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 · 2009-01-30 · Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 Computer Science 4766/6778 Department of Computer

Thus, the motion vector in the robot reference frame is given by

ξR = R(θ)ξI (1)

We will refer to the individual components of ξR as

ξR =

˙xR

˙yR˙θR

Note that ˙θR = θ; both describe rotation about the robot origin P

COMP 4766/6778 (MUN) Kinematics of Wheeled Robots: Part 1 January 27, 2009 9 / 19

Page 10: Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 · 2009-01-30 · Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 Computer Science 4766/6778 Department of Computer

Example: A robot which is aimed down the negative XI axis iscompelled to move in the direction ξI = [1 0 0]T . θ = π, therefore

ξR = R(θ)ξI =

−1 0 00 −1 00 0 1

100

=

−100

The robot should travel along the negative XR axis.

COMP 4766/6778 (MUN) Kinematics of Wheeled Robots: Part 1 January 27, 2009 10 / 19

Page 11: Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 · 2009-01-30 · Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 Computer Science 4766/6778 Department of Computer

A forward kinematic model translates the robot’s actions into amotion vector in the inertial reference frame

For most robots, an ‘action’ corresponds to setting the spin speeds ofits wheels; e.g. spin speeds φ1 and φ2 for a 2-wheeled robotForward Kinematic Model: ξI = f (φ1, φ2)

An inverse kinematic model translates a desired motion into robotactions

Inverse Kinematic Model:[φ1 φ2

]T= g(ξI)

Can be difficult to obtain for some robots, e.g. manipulators

Many ways to achieve some poses, no solution for others

COMP 4766/6778 (MUN) Kinematics of Wheeled Robots: Part 1 January 27, 2009 11 / 19

Page 12: Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 · 2009-01-30 · Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 Computer Science 4766/6778 Department of Computer

Wheel Kinematic Constraints

Assumptions:

Plane of wheel vertical to groundSingle point of contactNo sliding or skidding

Two Constraints:Rolling constraint:

Component of motion in wheel direction = Roll speed

Sliding constraint:

Component of motion orthogonal to wheel direction = 0

(wheel direction ≡ direction perpendicular to wheel axle)

COMP 4766/6778 (MUN) Kinematics of Wheeled Robots: Part 1 January 27, 2009 12 / 19

Page 13: Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 · 2009-01-30 · Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 Computer Science 4766/6778 Department of Computer

Fixed Standard Wheel

An unsteered wheel with a fixed position and angle w.r.t. chassis

Located at distance l and angle α from P

Angle of wheel w.r.t. the ray from P to wheel centre: β

COMP 4766/6778 (MUN) Kinematics of Wheeled Robots: Part 1 January 27, 2009 13 / 19

Page 14: Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 · 2009-01-30 · Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 Computer Science 4766/6778 Department of Computer

The wheel has radius r with rotational position φ

The distance that the wheel has rolled is rφ

arc length = radius ∗ angle

The roll speed is r φ

COMP 4766/6778 (MUN) Kinematics of Wheeled Robots: Part 1 January 27, 2009 14 / 19

Page 15: Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 · 2009-01-30 · Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 Computer Science 4766/6778 Department of Computer

The rolling constraint for a fixed standard wheel (FSW) is as follows:

[sin(α + β) − cos(α + β) (−l) cos(β)] R(θ)ξI − r φ = 0

This equation ties the roll speed with the motion, such that the wheelwill roll only for that part of the motion with which it is aligned

The sliding constraint for a FSW is as follows:

[cos(α + β) sin(α + β) l sin(β)] R(θ)ξI = 0

This equation dictates that the wheel will not turn for motion that isorthogonal to the wheel direction

See supplementary notes on “The Rolling and Sliding Constraints”

COMP 4766/6778 (MUN) Kinematics of Wheeled Robots: Part 1 January 27, 2009 15 / 19

Page 16: Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 · 2009-01-30 · Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 Computer Science 4766/6778 Department of Computer

Example

Constraints on a robot with one FSW

COVERED ON BOARD

COMP 4766/6778 (MUN) Kinematics of Wheeled Robots: Part 1 January 27, 2009 16 / 19

Page 17: Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 · 2009-01-30 · Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 Computer Science 4766/6778 Department of Computer

Constraints for Other Wheel Types

Steered standard wheel

Differs from FSW only in that steering angle is a function of time: β(t)Rolling and sliding constraints same as for FSW

Why? Constraints are instantaneous, whereas impact of changes insteering angle must be integrated over time

COMP 4766/6778 (MUN) Kinematics of Wheeled Robots: Part 1 January 27, 2009 17 / 19

Page 18: Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 · 2009-01-30 · Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 Computer Science 4766/6778 Department of Computer

Castor wheelRolling constraint same as FSWSliding constraint:

Component of motion orthogonal to wheel direction = steeringmovement

[cos(α + β) sin(α + β) l sin(β)] R(θ)ξI = −d β

Given any motion ξR = R(θ)ξI, we can find a roll speed (r φ) and

steering movement (d β) to satisfy the constraintsA Castor wheel is omnidirectional and imposes no real constraints onmotion

COMP 4766/6778 (MUN) Kinematics of Wheeled Robots: Part 1 January 27, 2009 18 / 19

Page 19: Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 · 2009-01-30 · Unit 2: Locomotion Kinematics of Wheeled Robots: Part 1 Computer Science 4766/6778 Department of Computer

Swedish wheelUnless γ = π

2 , small rollers allow lateral motion =⇒ any movementcan be accommodated

A Swedish wheel is omnidirectional and imposes no real constraints onmotion

Spherical wheel

Clearly, a spherical wheel is omnidirectional and imposes no realconstraints on motion

COMP 4766/6778 (MUN) Kinematics of Wheeled Robots: Part 1 January 27, 2009 19 / 19