lecture 10 forward kinematics -...

17
lecture 10 forward kinematics Katie DC Feb. 25, 2020 Modern Robotics Ch. 4

Transcript of lecture 10 forward kinematics -...

Page 1: lecture 10 forward kinematics - publish.illinois.edupublish.illinois.edu/ece470-intro-robotics/files/2020/02/... · 2020-02-26 · What is Forward Kinematics? •Kinematics: a branch

lecture 10forward kinematics

Katie DC

Feb. 25, 2020

Modern Robotics Ch. 4

Page 2: lecture 10 forward kinematics - publish.illinois.edupublish.illinois.edu/ece470-intro-robotics/files/2020/02/... · 2020-02-26 · What is Forward Kinematics? •Kinematics: a branch

Admin

• Guest Lecture on Thursday 2/27

• Quiz 1 re-take is this week

• HW3: PF Implementation due next week

• HW5 due this week

• I’ll be posting a course feedback form this week

Page 3: lecture 10 forward kinematics - publish.illinois.edupublish.illinois.edu/ece470-intro-robotics/files/2020/02/... · 2020-02-26 · What is Forward Kinematics? •Kinematics: a branch

What is Forward Kinematics?

• Kinematics: a branch of classical mechanics that describes motion of bodies without considering forces. AKA “the geometry of motion”

• Forward kinematics: a specific problem in robotics. Given the individual state of each joint of the robot (in a local frame), what is the position of a given point on the robot in the global frame?

Page 4: lecture 10 forward kinematics - publish.illinois.edupublish.illinois.edu/ece470-intro-robotics/files/2020/02/... · 2020-02-26 · What is Forward Kinematics? •Kinematics: a branch

Where is forward kinematics used?

Page 5: lecture 10 forward kinematics - publish.illinois.edupublish.illinois.edu/ece470-intro-robotics/files/2020/02/... · 2020-02-26 · What is Forward Kinematics? •Kinematics: a branch

Forward Kinematics of a Simple Chain

Page 6: lecture 10 forward kinematics - publish.illinois.edupublish.illinois.edu/ece470-intro-robotics/files/2020/02/... · 2020-02-26 · What is Forward Kinematics? •Kinematics: a branch

Assumptions

• Our robot is a kinematic chain, made of rigid links and movable joints

• No branches or loops (will discuss later)

• All joints have one degree of freedom and are revolute or prismatic

Page 7: lecture 10 forward kinematics - publish.illinois.edupublish.illinois.edu/ece470-intro-robotics/files/2020/02/... · 2020-02-26 · What is Forward Kinematics? •Kinematics: a branch

Review of Screw Motions

We derived a representation for the screw axis:

𝒮 =𝜔𝑣

∈ ℝ6

where either

• 𝜔 = 1• where 𝑣 = −𝜔 × 𝑞 + ℎ𝜔, where 𝑞

is the point on the axis of the screw and ℎ is the pitch of the screw

• 𝜔 = 0 and 𝑣 = 1

Page 8: lecture 10 forward kinematics - publish.illinois.edupublish.illinois.edu/ece470-intro-robotics/files/2020/02/... · 2020-02-26 · What is Forward Kinematics? •Kinematics: a branch

Screw Motions as Matrix ExponentialThe screw axis 𝒮𝑖 can be expressed in matrix form as:

𝒮𝑖 =𝜔𝑖 𝑣0 0

∈ 𝑠𝑒 3

To express a screw motion given a screw axis, we use the matrix exponential:

𝑒 𝒮 𝜃 ∈ 𝑆𝐸 3

Page 9: lecture 10 forward kinematics - publish.illinois.edupublish.illinois.edu/ece470-intro-robotics/files/2020/02/... · 2020-02-26 · What is Forward Kinematics? •Kinematics: a branch

Modeling Robot Joints as Screw Motions

Case 1: Revolute Joint

• 𝜔 = 1

• 𝑣 = −𝜔 × 𝑞 + ℎω

• 𝑣 = −𝜔 × 𝑞

Page 10: lecture 10 forward kinematics - publish.illinois.edupublish.illinois.edu/ece470-intro-robotics/files/2020/02/... · 2020-02-26 · What is Forward Kinematics? •Kinematics: a branch

Modeling Robot Joints as Screw Motions

Case 2: Prismatic Joint

• 𝜔 = 0

• 𝑣 = 1

• Axis of movement defines 𝑣

Page 11: lecture 10 forward kinematics - publish.illinois.edupublish.illinois.edu/ece470-intro-robotics/files/2020/02/... · 2020-02-26 · What is Forward Kinematics? •Kinematics: a branch

Product of Exponentials ApproachLet each joint 𝑖 have a configuration defined by 𝜃𝑖Initialization steps:

• Choose a fixed frame 𝑠

• Choose an end-effector (tool) frame attached to the robot 𝑏

• Put all joints in zero position

• Let 𝑀 ∈ 𝑆𝐸 3 be the configuration of 𝑏 in the 𝑠 frame when the robot is in the zero position

Page 12: lecture 10 forward kinematics - publish.illinois.edupublish.illinois.edu/ece470-intro-robotics/files/2020/02/... · 2020-02-26 · What is Forward Kinematics? •Kinematics: a branch

Product of Exponentials Approach

• Given zero position 𝑀

• For each joint 𝑖, define the screw axis

• For each motion of a joint, define the screw motion

• These operations compose nicely through multiplication, giving us the Product of Exponentials (PoE) formula!

𝑇 𝜃 = 𝑒 𝒮1 𝜃1𝑒 𝒮2 𝜃2 ⋯𝑒 𝒮𝑛−1 𝜃𝑛−1𝑒 𝒮𝑛 𝜃𝑛𝑀

Page 13: lecture 10 forward kinematics - publish.illinois.edupublish.illinois.edu/ece470-intro-robotics/files/2020/02/... · 2020-02-26 · What is Forward Kinematics? •Kinematics: a branch

Visualizing the Product of Exponentials

Page 14: lecture 10 forward kinematics - publish.illinois.edupublish.illinois.edu/ece470-intro-robotics/files/2020/02/... · 2020-02-26 · What is Forward Kinematics? •Kinematics: a branch

Example 1

Page 15: lecture 10 forward kinematics - publish.illinois.edupublish.illinois.edu/ece470-intro-robotics/files/2020/02/... · 2020-02-26 · What is Forward Kinematics? •Kinematics: a branch

Example 1: PoE

Compute 𝑒 𝒮𝑖 𝜃𝑖 for each joint:

𝑒 𝒮𝑖 𝜃𝑖 = 𝑒 𝜔𝑖 𝜃𝑖 𝐼𝜃𝑖 + 1 − cos 𝜃𝑖 𝜔𝑖 + 𝜃𝑖 − sin 𝜃𝑖 𝜔𝑖2 𝑣𝑖

0 1

and compose with 𝑀:

𝑇 𝜃 = 𝑒 𝒮1 𝜃1𝑒 𝒮2 𝜃2𝑒 𝒮3 𝜃3𝑀

Page 16: lecture 10 forward kinematics - publish.illinois.edupublish.illinois.edu/ece470-intro-robotics/files/2020/02/... · 2020-02-26 · What is Forward Kinematics? •Kinematics: a branch

Example 2

Page 17: lecture 10 forward kinematics - publish.illinois.edupublish.illinois.edu/ece470-intro-robotics/files/2020/02/... · 2020-02-26 · What is Forward Kinematics? •Kinematics: a branch

Summary

• Learned the basics of forward kinematics, which gives us a model for computing position and orientation of the end-effector

• Uses the product of exponentials formula to define this transformation as composed matrix multiplications

• Next time, we’ll learn about exponentials in the end-effector frame and modeling robots with the Universal Robot Description Format