Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Introduction to Robotics
Serial Robots
2
Outline
@ McGraw-Hill Education
Robot Subsystems
@ McGraw-Hill Education
4
@ McGraw-Hill Education
Motion Subsystem
ii) End-effector
- Welding torch, painting brush, etc.
- Robot hand
- Simple grippers
6
@ McGraw-Hill Education
(iii) Actuator
- Pneumatic, Hydraulic, Electric
(iv) Transmission
- Belt and chain drives
- Gears
- Link mechanisms
7
@ McGraw-Hill Education
Recognition Subsystem
(i) Sensors (Essentially transducers)
- Converts a signal
to another
(ii) Analog-to-Digital
Converter (ADC)
- Electronic device
Control Subsystem
(i) Digital Controller
- CPU, Memory, Hard disk (to store programs)
Desired end-effector
trajectory
Joint displacement
and velocity
Controller
Driving Sensor
input
Robot
Actual end-effector
configuration
(a) Control scheme of a robot (b) ABB Controller
Fig. 2.9 Control subsystem
[Courtesy: http://www.abb.com/Product/seitp327/f0cec80774b0b3c9c1256fda00409c2c.aspx]
15
@ McGraw-Hill Education
Classification
• By Applications
• By Coordinate System
• By Actuation System
• By Control Method
• By Programming Method
17
@ McGraw-Hill Education
By Application
• Welding robot
• Assembly robot
• Heavy-duty robot
By Coordinate System
(a) Cartesian
(b) Cylindrical
(c) Spherical
(d) Anthropomorphic
(e) Gantry (a)
(f) SCARA (Selective Compliance
Assembly Robot Arm)
19
@ McGraw-Hill Education
Fundamental Configurations
Type Joints
1 (base): Motion 2 (elevation): 3 (reach): Motion
Motion
Cartesian P: travel, x P: height y P: reach z
-P+R+900@Z
Cylindrical R: rotation θ P: -do- P: -do-
-P+R+900@Z
By Actuation System
• Pneumatic (in factory floors)
By Control Method
• Servo/Non-servo control
– Servo closed-loop (Hydraulic & Electric)
– Non-servo open-loop (Pneumatic)
• Path control
– Continuous path trajectory (welding etc)
29
@ McGraw-Hill Education
By Programming Method
• Online programming
– Direct use of the robot
– Teach pendant
Actuators
2
@ McGraw-Hill Education
Outline
• An actuation system
• Pneumatic actuators
– Advantages and Disadvantages
• Hydraulic actuators
• Electric actuators
– Stepper motors
– DC motors
– AC motors
• Selection of motors
3
@ McGraw-Hill Education
An Actuation System
• A power supply
• A power amplifier
• A motor
• A transmission system
Actuator vs. Motor?
(Interchangeably used)
4
@ McGraw-Hill Education
Pneumatic Actuators
• One of fluid devices
• Uses compressed air [1-7 bar; ~.1 MPa/bar]
• Components
1) Compressor; 2) After-cooler; 3) Storage tank;
4) Desiccant driers; 5) Filters; 6) Pressure
regulators; 7) Lubricants; 8) Directional control
valves; 9) Actuators
6
@ McGraw-Hill Education
• Disadvantages
– Air is compressible.
– Precise control of speed/position is not
easy.
– If no mechanical stops resetting is slow.
– Not suitable for heavy loads
– If moisture penetrates rusts occur.
Compressibility of the air can be
advantageous.
Prevents damage due to overload.
11
@ McGraw-Hill Education
Major Components
• Compressor: Compresses air
• After-cooler: Cools air after
compression as hot air contains vapor
• Storage tank: Provides const. high
press.
• Desiccant Drier: Air passes through
chemicals to remove moisture
• Filters: Removes water droplet
• Pressure Regulator: Poppet valve
12
@ McGraw-Hill Education
• Advantages
– High + power-to-size ratio.
– Accurate control of speed/pos./dirn.
– Few backlash prob. Stiffness +
incompressibility of fluid
– Large forces can be applied at
locations.
15
@ McGraw-Hill Education
• Disadvantages
– Leakages occur Loss in performance
– Higher fire risk.
– Power pack is (70 dBA)
– Temp. change alters viscosity.
– Viscosity at temp. causes sluggishness.
– Servo-control is complex
70 dbA Noise of heavy traffic
17
@ McGraw-Hill Education
Electric Actuators
• Electric motors
+
• Mechanical transmissions
• First commercial electric motor: 1974 by
ABB
18
@ McGraw-Hill Education
Advantages vs.
Disadvantages
• Advantages
– Widespread availability of power supply.
– Basic drive element is lighter than fluid
power.
– High power conversion efficiency.
– No pollution
– High accuracy + hight repeatability
compared to cost.
– Quiet and clean
19
@ McGraw-Hill Education
Electric Motors
• Stepper motors
– Variable Reluctance
– Permanent Magnet
– Hybrid
• Small/Medium end of industrial range
• Digitally controlled No feedback
• Incremental shaft rotation for each
pulse
21
@ McGraw-Hill Education
Hybrid Stepper
• Combines the features of Variable
Reluctance and Permanent Motor
• Permanent magnet with iron caps that
have teeth
• The rotor sets itself in minimum reluctance
position
27
@ McGraw-Hill Education
DC Motors
• Direct Current: Used in toys etc.
• Electrically driven robots us DC
– Introduced in 1974 by ABB
– Powerful versions available
– Control is simple
– Batteries are rarely used
– AC supply is rectified to DC
28
@ McGraw-Hill Education
2 fr sin
f Bia l
29
@ McGraw-Hill Education
Principle of a DC Motor
• Magnetic Field Stator
– Field coils wound on the stators
– Permanent magnet
• Conductor (Armature) Rotor
– Current via brushes + commutators
• Maximum torque for = 90o
30
@ McGraw-Hill Education
31
@ McGraw-Hill Education
Features of a DC Motor
• High voltage in stator coils Fast
speed (simple speed control)
• Varying current in armature
Controls torque
• Reversing polarity Turns opposite
• Larger robots: Field control DC motor
– Current in field coils Controls torque
– High power at high speed + High
power/wt.
32
@ McGraw-Hill Education
• No field coils
• Field is by permanent magnets (PM)
• Some PM has coils for recharge
• Torque Armature current [Const. flux]
36
@ McGraw-Hill Education
Advantages of PM DC Motors
Brushless PM DC Motor
• Problem with DC motors
– Commuter and brushes Periodical
reversal of current through each armature
coil
– Brushes + Commutators Sliding
contact Sparks Wear Change
brushes + Resurface commuators
• Solution: Brushless motors
– Sequence of stator coils
– PM rotor
38
@ McGraw-Hill Education
39
@ McGraw-Hill Education
Principles of Brushless PM
• Reverse principle than convention DC
• Current carrying conductor (stator)
experience a force
• Magnet (rotor) will experience a reaction
(Newton’s 3rd law)
• Current to stator coils is electronically
switched by transistors (Expensive)
• Switching is controlled by rotor position
Magnet (rotor) rotates same direction
40
@ McGraw-Hill Education
Advantages of Brushless PM
• Better heat dissipation
• Reduced rotor inertia
• Weigh less Less expensive +
Durable
• Smaller for comparable power
• Absence of brushes Reduced
maintenance cost
• Electric robots Hazardous areas with
flammable atmospheres (Spray
painting)
41
@ McGraw-Hill Education
AC Motors
Principle of an AC Motor
Features of an AC Motor
• Higher the frequency Fast speed
• Varying frequency to a number of robot
axes has been impractical till recently
• Electromagnetism is used for regenerative
braking (also for DC) Reduces
deceleration time and overrun
• Motor speed cannot be predicted (same
for DC) Extra arrangements required
46
@ McGraw-Hill Education
Classification of an AC Motor
• Single-phase [Low-power requirements]
– Induction
– Synchronous
• Poly-phase (typically 3-phase) [High-
power requirements]
– Induction
– Synchronous
• Induction motors are cheaper Widely
used
47
@ McGraw-Hill Education
48
@ McGraw-Hill Education
AC Synchronous Motor
• Stator is same as induction motor
• Rotor is permanent magnet
• Since stator magnetic field rotates
Rotor rotates
• Speed is same as supply frequency
• Used for precise speed requirement
• Not self-starting
53
@ McGraw-Hill Education
AC vs. DC Motors
• Cheaper, rugged, reliable,
maintenance free
• Speed control is more complex
• Speed-controlled DC drive (stator
voltage) is cheaper than speed-
controlled AC drive (Variable
Frequency Drive)
• Price of VFD is steadily reducing
54
@ McGraw-Hill Education
Motor Selection
• For robot applications
– Positioning accuracy, reliability, speed of
operation, cost, etc.
• Electric is clean + Capable of high
precision
• Electronics is cheap but more heat
• Pneumatics are not for high precision
for continuous path
55
@ McGraw-Hill Education
Sample Calculations
Two meter robot arm to lift 25 kg mass
at 10 rpm
• Force = 25 x 9.81 = 245.25 N
• Torque = 245.25 x 2 = 490.5 Nm
• Speed = 2 x 10/60 = 1.047 rad/sec
• Power = Torque x Speed = 0.513 kW
• Simple but sufficient for approximation
58
@ McGraw-Hill Education
Summary
• DC motors
– Permanent Magnet (PM)
– Brushless PM
– Their construction + advantages, etc.
• AC motors
– Single-phase: Induction vs. Synchronous
– Three-phase
• Selection of motors in practical
applications
1
@ McGraw-Hill Education
Denavit-Hartenberg (DH)
Parameters
• Four parameters
– Joint offset (b)
• Frame transformations
(Homogeneous)
C θ i Sθ i 0 aiCi
Sθ i Cθi 0 a i Sθ i
Ti = , for i=1,2,3
0 0 1 0
0 0 0 1
3
@ McGraw-Hill Education
Link bi i ai i
1 0 1 (JV) 0 /2
2 b2 (JV) 0 0 0o
Link bi i ai i
1 b1 (JV) -/2 0 /2
2 0 2 (JV) a2 0
Spherical-type Arm
• DH-parameters
Link bi i ai i
1 0 1 (JV) 0 /2
2 b2 2 (JV) 0 /2
3 b3 0 0 0
(JV)
6
@ McGraw-Hill Education
C θ1 0 S θ1 0 C θ 2 0 Sθ 2 0
C θ1 Cθ2
T1 = S θ 1 0 0
T2 = Sθ
2
0 0
0 1 0 0 0 1 0 b2
0 0 0 1
0 0 0 1
1 0 0 0
0 1 0 0
T3 =
0 0 1 b3
0 0 0 1
7
@ McGraw-Hill Education
In Summary
Transformations
2
Outline
@ McGraw-Hill Education
• Kinematic chain
• Degrees-of-freedom (DOF)
• Pose ( Configuration)
• Homogeneous transformation
• Examples
3
@ McGraw-Hill Education
Transformations
• To control robot
– Relationship between joint motion (input)
and end-effector motion (output) is required
– Transformations between different
coordinate frames are required
• Robot Architecture
– Links: A rigid body with 6-DOF
– Joints: Couples 2 bodies. Provide
restrictions
4
@ McGraw-Hill Education
• Higher pair
– Line or point contact: Roller or ball rolling
5
@ McGraw-Hill Education
Kinematic Chain
• Series of links connected by joints
• Simple Kinematic Chain: When each
and every link is coupled to at most
two other links
– Closed: If each and every link coupled to
two other links Mechanism
– Open: If it contains only two links (end
ones) that are connected to only one link
Manipulator
13
@ McGraw-Hill Education
Closed-chain
14
@ McGraw-Hill Education
Open-chain
15
@ McGraw-Hill Education
Grubler-Kutzbach Criterion
p
n = s (r 1) c, c c . . . (5.1)
i
i 1
Note that, s ci ni
p p p
c c i (s n i ) s p n i . . . (5.2)
i1 i1 i1
n = 3 (4 4 1) + (1 + 1 + 1 + 1)
=1 . . . (5.4)
p
n s(r p 1) n i
i
19
@ McGraw-Hill Education
Six-DOF Manipulator
n = 6 (7 6 1) + 6 1 = 6 . . . (5.5)
20
@ McGraw-Hill Education
p
n s(r p 1) n i
i
Five-bar mechanism
n = 3 (5 5 1) + 5 1
=2 . . . (5.6)
Double parallelogram
n = 3 (5 6 1) + 6 1
=0 . . . (5.7)
21
@ McGraw-Hill Education
In Summary
• Links and joint were introduced
• Examples
22
@ McGraw-Hill Education
Pose Configuration
• Rigid-body motion
– Translation
– Rotation
• Translation: Three position coordinates
• Rotation: Three angular coordinates
• Total: Six coordinates
• A fixed-coordinate. A coordinate frame on
moving body ‘Pose’ or ‘Configuration’
23
@ McGraw-Hill Education
OM M
o
O Y
F U
Position Description
p
x
[p ] F py . . . (5.8)
p
z
p = px x + py y + pz z . . . (5.9)
1 0 0
[ x ] F 0 , [ y ] F 1 , and [ z ] F 0 . . . (5.10)
0
0
1
25
@ McGraw-Hill Education
Orientation Description
Q is called Orthogonal
29
@ McGraw-Hill Education
Due to orthogonality
u v = w, v w = u, and w u = v . . . (5.18)
C α
[ u ] F Sα ,
0
Sα
[ v ]F C α ,
0
0
[ w ]F 0
1
. . . (5.20)
31
@ McGraw-Hill Education
C S 0
QZ S C 0 . . . (5.21)
0 0 1
C 0 S 1 0 0
Q Y 0 1 0 ; Q X 0 C S
S 0 C 0 S C
. . . (5.22)
32
@ McGraw-Hill Education
px = pu C pv S . . . (5.23)
py = pu S + pv C . . . (5.24)
pz = pw . . . (5.25)
[p]F = QZ [p]M . . . (5.26)
33
@ McGraw-Hill Education
C S 0
Q Z S C 0
0 0 1
…(5.31a)
35
@ McGraw-Hill Education
…(5.31b)
36
@ McGraw-Hill Education
C S 0
Q Z' ' S C 0
0 0 1
…(5.31c)
37
@ McGraw-Hill Education
Q = QZQY’QZ’’ . . . (5.31d)
C C C SS C C S SC C S
Q SC C C S SC S C C SS
SC SS C
. . . (5.31e)
For extraction purpose, say, input is given by
q 11 q 12 q 13
Q q 21 q 22 q 23 …(5.32a)
q 31 q 32 q 33
q 23 q13
a tan 2 ( , ) …(5.32b)
S S
Cannot find when S = 0 or
38
@ McGraw-Hill Education
Non-commutative Property
C 90 o S 90 o 0 0 1 0
Q Z S 90 o C 90 o 0 1 0 0
0 0 1 0 0 1
C 90 o 0 S 90 o 0 0 1
QY 0 1 0 0 1 0
S 90 o 0 C 90 o 1 0 0
0 0 1
W.R.T. fixed frame: QZY = QYQZ = 1 0 0
0 1 0
0 1 0
But, QYZ = QZQY = 0 0 1
1 0 0 Hence, QZY QYZ
39
@ McGraw-Hill Education
In Summary
• Pose or configuration was defined
• Position description was given
• Orientation description was explained
– Direction cosine
– Euler angles
• Examples were shown
• Euler angle representation
– 12 combinations, ZYZ shown
• Non-commutative property of rotation
42
@ McGraw-Hill Education
Coordinate Transformation
P
Z W
V
p p΄
OM M
o
O Y
F U
p = o + p . . . (5.34)
[ p ] F Q [ o ] F [ p ] M
0 T
. . . (5.36)
1
1 1
[ p ] F T [ p ] M . . . (5.37)
Homogenous Transformation
44
@ McGraw-Hill Education
C 30 o S 30 o 0 0
o
S 30 C 30 o 0 0
T
0 0 1 0
0 0 0 1
3 1
0 0
2 2
1 3
0 0
2 2
0 0 1 0
0 0 0 1
Fig. 5.19 (b)
. . . (5.41)
46
@ McGraw-Hill Education
T Tt T r . . . (5.42)
C 30 o S 30 o 0 2
o
S 30 C 30 o 0 1
T
0 0 1 0
0 0 0 1
3 1
0 2
2 2
Fig. 5.19 (c) 1 3
0 1
2 2
0 0 1 0
. . . (5.43)
0 0 0 1
47
@ McGraw-Hill Education
Non-commutative Property
Like rotation matrices homogeneous transformation
matrices are non-commutative, i. e.,
TATB TBTA
48
@ McGraw-Hill Education
Fig. 5.23
50
@ McGraw-Hill Education
Denavit-Hartenberg (DH)
Parameters
• Four parameters
– Joint offset (b)
Variable DH Parameters
• First two parameters, bi and i, define the
relative position of links i 1 and i
• Last two parameters, ai and i, describe
the size and shape of link i that are always
constant.
• Parameters, bi and i, are variable
– i is variable if joint i is revolute
– bi is variable if joint i is prismatic.
61
@ McGraw-Hill Education
DH Frame Transformations
• Translation along Zi
1 0 0 0
0 1 0 0
Tb =
0 0 1 bi
0 0 0 1
• Rotation about Zi
C θ i S θi 0 0
Sθ Cθi 0 0
T = i
0 0 1 0
0 0 0 1
62
@ McGraw-Hill Education
T i = T b T T a T
C θ i Sθ i C α i Sθ i Sα i aiC i
Sθ CθiCαi C θ i Sα i a i Sθ i
Ti = i
0 Sα i Cαi bi
0 0 0 1
64
@ McGraw-Hill Education
• Frame transformations
(Homogeneous)
C θ i Sθ i 0 aiCi
Sθ Cθi 0 a i Sθ i ,
Ti = i for i=1,2,3
0 0 1 0
0 0 0 1
65
@ McGraw-Hill Education
Link bi i ai i
1 0 1 (JV) 0 /2
2 b2 (JV) 0 0 0o
Link bi i ai i
1 b1 (JV) -/2 0 /2
2 0 2 (JV) a2 0
0 1 0 b1 0 0 1 0
0 0 0 1 0 0 0 1
67
@ McGraw-Hill Education
Spherical-type Arm
• DH-parameters
Link bi i ai i
1 0 1 (JV) 0 /2
2 b2 2 (JV) 0 /2
3 b3 0 0 0
(JV)
68
@ McGraw-Hill Education
C θ1 0 Sθ 1 0 Cθ2 0 Sθ2 0
Sθ 0 C θ1 0 Sθ 0 Cθ 0
T1 = 1 T2 = 2 2
0 1 0 0 0 1 0 b2
0 0 0 1
0 0 0 1
1 0 0 0
0 1 0 0
T3 =
0 0 1 b3
0 0 0 1
69
@ McGraw-Hill Education
In Summary
Kinematics
– Forward kinematics
– Inverse Kinematic
2
@ McGraw-Hill Education
Kinematics
3
@ McGraw-Hill Education
Kinematics
• Forward kinematics
– Admits unique solution
– Requires simple multiplications and
additions
• Inverse kinematics
– Admits many solutions
– Requires solutions of non-linear algebraic
equations
4
@ McGraw-Hill Education
Forward Kinematics
• Homogeneous transformation
– Using DH Parameters
Cθi Sθi Cαi Sθi Sαi ai Ci
Sθ Cθi Cαi Cθi Sαi ai Sθi Qi ai
Ti i T
0 Sαi Cαi bi 0 1
0 0 0 1
• Forward kinematics relation
T = T1 T2 …Tn … (6.1)
• Alternate to 4 x 4 relation
Q = Q1 Q2 …Qn … (6.2)
p = a1 + Q1 a2 + … + Q1 … Qn-1 an … (6.3)
5
@ McGraw-Hill Education
c1 c 23 - c1 s 23 s1 c1 (a 2 c 2 a 3 c 23 )
s c s1 s 23 c1 s1 (a 2 c 2 a 3 c 23 )
T 1 23
… (6.11)
s 23 c 23 0 (a 2 s 2 a 3 s 23 )
0 0 0 1
8
@ McGraw-Hill Education
;
Matrices for Spherical Wrist
;
c 1 0 s1 0 c 2 0 s2 0 c3 s3 0 0
s 0 s
s 0 c1 0 c2 c3 0 0
T2 2
0
T1 1 T3 3
0 1 0 0 0 1 0 0 0 0 1 0
0 0 0 1 0 0 0 1 0 0 0 1
c1c 2 c3 s1 s 3 c1 s 2 s 3 s1c3 c1 s 2 0
s c c c s s1c 2 s 3 c1c3 s1 s 2 0
T 1 2 3 1 3
s 2 c3 s 2 s3 c2 0
0 0 0 1
… (6.12)
10
@ McGraw-Hill Education
i bi i ai i
1 0 1 (JV) [0] 0 -/2
2 b2 2 (JV) [-/2] a2 0
3 0 3 (JV) [/2] a3 /2
4 b4 4 (JV) [0] 0 -/2
5 0 5 (JV) [0] 0 /2
6 b6 6 (JV) [0] 0 0
11
@ McGraw-Hill Education
;
Forward Kinematics Results for
; PUMA Robot
1 0 0 a3
Q 0 1 0 , and p b2
0 0 1 a 2 b4 b6
… (6.14)
12
@ McGraw-Hill Education
i bi i ai i
1 b1 1 (JV) [0] 0 -/2
2 b2 2 (JV) [] 0 -/2
3 b3 0 0 0
(JV)
4 b4 4 (JV) [0] 0 /2
5 0 5 (JV) [0] 0 -/2
6 0 6 (JV) [0] 0 0
13
@ McGraw-Hill Education
;
Forward Kinematics Results for
;
Stanford Arm
- 1 0 0 0
Q 0 - 1 0 , and p b2
0 0 1 b1 b3 b4
… (6.15)
14
@ McGraw-Hill Education
Inverse Kinematics
• Inverse kinematics of 3-DOF RRR planar arm
φ θ1 θ2 θ3 … (6.15a)
p x a1c1 a2 c12 a3 c123
… (6.15b)
p y a1 s1 a 2 s12 a3 s123
… (6.15c)
wx p x a3 c φ a1 c1 a2 c12 … (6.16a)
w y p y a3 s φ a1 s1 a2 s12 … (6.16b)
16
@ McGraw-Hill Education
3 = - 1 2 . . . (6.21)
17
@ McGraw-Hill Education
Geometrical Solution
of RRR Arm
Apply cosine theorem
w2x+w2y = a21+a222 a1 a2 cos (2)
… (6.22)
Since, cos ( 2) = cos 2 -c2
w2x + w2y = a12+ a22 + 2 a1a2c2
Joint Angles
w12 w22 a12 a 22
c2
2 a1 a 2
Numerical Example
2 = 30o
1 = 0o.
θ1 a tan 2 (p y , px )
θ1 π a tan 2 (p y , px )
s2
Δ
(a2 a3 c3 ) p x p y a3 s3 p z
2 2
c2
Δ
23
@ McGraw-Hill Education
• Solutions are:
θ1 a tan 2 (q23, q13 )
θ2 a tan 2 q13
2
q23
2
, q33
3 atan2(q32 , q31 )