Robot-environment interactiona robot (end-effector) may interact with the environment
Β§ modifying the state of the environment (e.g., pick-and-place operations)Β§ exchanging forces (e.g., assembly or surface finishing tasks)
control of compliant motion
sensors: as before +6D force/torque (at the robot wrist)
βpeg in holeβtask
Robotics 2 2
sensors: position (encoders) at the joints* or vision at the Cartesian level
S
G
control of free motion
inspectiontask
*and velocity (by numerical differentiation or, more rarely, with tachos)
Robot compliance
PASSIVE robot end-effector equipped with mechatronic devices that βcomplyβ with the generalized forces applied at the TCP = Tool Center Point
ACTIVErobot is moved by a control law so as to react in a desired way to generalized forces applied at the TCP (typically measured by a F/T sensor)
Robotics 2 3
RCC = Remote Center of Compliance device
Β§ admittance controlcontact forces β velocity commands
Β§ stiffness/compliance controlcontact displacements β force commands
Β§ impedance controlcontact displacements β contact forces
Typical evolution of assembly forces
chamfer angle π½ = to ease the insertion, related also to the tolerances of the hole
Robotics 2 7
βpeg-in-holeβ task
Tasks with environment interactionn mechanical machining
n deburring, surface finishing, polishing, assembly,...n tele-manipulation
n force feedback improves performance of human operators in master-slave systems
n contact exploration for shape identificationn force and velocity/vision sensor fusion allow 2D/3D geometric
identification of unknown objects and their contour followingn dexterous robot hands
n power grasp and fine in-hand manipulation require force/motion cooperation and coordinated control of the multiple fingers
n cooperation of multi-manipulator systemsn the environment includes one of more other robots with their own
dynamic behaviorsn physical human-robot interaction
n humans as active, dynamic environments that need to be handled under full safety premises β¦
Robotics 2 10
Abrasive finishing of surfaces
Robotics 2 13
video
technological processes: cold forging of surfacesand hammer peening by pneumatic machine
Non-contact surface finishing
Robotics 2 14
Fluid Jet technology
Pulsed Laser technology
video
video
H2020 EU project for theFactory of the Future (FoF)
In all cases ...
n for physical interaction tasks, the desired motion specification and execution should be integrated with complementary data for the desired force
Γ¨ hybrid planning and control objectivesn the exchanged forces/torques at the contact(s) with the
environment can be explicitly set under control or simply kept limited in an indirect way
Robotics 2 15
Evolution of control approachesa bit of history from the late 70βs-mid β80s β¦
n explicit control of forces/torques only [Whitney]n used in quasi-static operations (assembly) in order to avoid deadlocks
during part insertionn active admittance and compliance control [Paul, Shimano, Salisbury]
n contact forces handled through position (stiffness) or velocity (damping) control of the robot end-effector
n robot reacts as a compressed spring (with damper) in selected/all directionsn impedance control [Hogan]
n a desired dynamic behavior is imposed to the robot-environment interaction, e.g., a βmodelβ with forces acting on a mass-spring-damper
n mimics the human arm behavior moving in an unknown environmentn hybrid force-motion control [Mason]
n decomposes the task space in complementary sets of directions where either force or motion is controlled, based onn a purely kinematic robot model [Raibert, Craig]n the actual dynamic model of the robot [Khatib]
appropriate for fast and accurate motion in dynamic interaction...Robotics 2 16
Interaction tasks of interest
interaction tasks with the environment that requiren accurate following/reproduction by the robot end-effector of desired
trajectories (even at high speed) defined on the surface of objectsn control of forces/torques applied at the contact with environments
having low (soft) or high (rigid) stiffness
robot
turninga crank
e.g., opening a door
deburring task
e.g., removing extra glue fromthe border of a car windshield
Robotics 2 17
Impedance vs. Hybrid control
n environment = mechanical system undergoing small but finite deformations
n contact forces arise as the result of a balance of two coupled dynamic systems (robot+environment)
Γ¨ desired dynamic characteristics are assigned to the force/motion interaction
n a rigid environment reduces the degrees of freedom of the robot when in (bi-/uni-lateral) contact
n contact forces result from attempts to violate geometric constraints imposed by the environment
Γ¨ task space is decomposed in sets of directions where only motion or only reaction forces are feasible
environment model ( domain of control application)impedance control hybrid force/motion control
Β§ the required level of knowledge about the environment geometry is only apparently different between the two control approaches
Β§ however, measuring contact forces may not be needed in impedance control, while it always necessary in hybrid force/motion control
Robotics 2 19
Impedance vs. Hybrid controln opening a door with a mobile
manipulator under impedance control
n piston insertion in a motor based on hybrid control of force-position (visual)
Robotics 2 20
video video
ΓΉ
A typical constrained situation β¦
robot
wrist6D F/T sensor
or RCC (or both)tool workpiece
(rigid)
the robot end-effector follows in a stable and accurateway the geometric profile of a very stiff workpiece,
while applying a desired contact force
Robotics 2 21
An unusual compliant situation β¦
Trevelyan (AUS): Oracle robotic system in a test dated 1981β¦is the sheep happy?
Robotics 2 22
A mixed interaction situation
processing/reasoning on force measurements leads to a sequence of fine motions
β correct completion of insertion task withhelp of (sufficiently large) passive compliance
1. approach 2. search 3. insertion
X,Y-axescontrol
Z-axiscontrol
Robotics 2 23
Ideally constrained contact situation
ππ&
π'
π(
π₯( = π
π( = βπ&
βidealβ = robot (sketched here as a Cartesian mass)+ environment are both infinitely STIFF(and without friction at the contact)
Robotics 2 24
a first possible modeling choice for very stiff environments
π₯ < π π( = 0
π₯ = ππ& β₯ 0
οΏ½ΜοΏ½ = 0οΏ½ΜοΏ½ = 0
ποΏ½ΜοΏ½ = π& + π(ποΏ½ΜοΏ½ = π'
In more complex situations
Robotics 2 25
n how can we describe more complex contact situations, where the end-effector of an articulated robot (not yet reduced to a Cartesian mass via feedback linearization control) is constrainedto move on an environment surface with nonlinear geometry?
n example: a planar 2R robot with end-effector moving on a circle
end-effectorconstrained on
a circular surface
(π₯5, π¦5)π
π₯
π¦
Constrained robot dynamics - 1
Robotics 2 26
n suppose that the task variables are subject to π < π (bilateral) geometric constraints in the general form π π = 0 and define
β π = π π π = 0
n the constrained robot dynamics can be derived using again the Lagrange formalism, by defining an augmented Lagrangian as
where the Lagrange multipliers π (a π-dimensional vector) can be interpreted as the generalized forces that arise at the contact when attempting to violate the constraints
πΏA π, οΏ½ΜοΏ½, π = πΏ π, οΏ½ΜοΏ½ + πBβ π = π π, οΏ½ΜοΏ½ β π π + πBβ π
n consider a robot in free space described by its Lagrange dynamic model and a task output function (e.g., the end-effector pose)
π π οΏ½ΜοΏ½ + π π, οΏ½ΜοΏ½ + π π = π’ π = π(π) π β βI
Constrained robot dynamics - 2
Robotics 2 27
contact forces doNOT produce work
n applying the Euler-Lagrange equations in the extended space of generalized coordinates π AND multipliers π yields
πππ‘
ππΏAποΏ½ΜοΏ½
Bβ
ππΏAππ
B=πππ‘
ππΏποΏ½ΜοΏ½
Bβ
ππΏππ
Bβ
πππ πBβ(π)
B
= π’
ππΏAππ
B= β π = 0
π΄ π =πβ(π)ππ
where we defined the Jacobian of the constraints as the matrixsubject to
that will be assumed of full row rank (= π)
(β )π π οΏ½ΜοΏ½ + π π, οΏ½ΜοΏ½ + π π = π’ + π΄B(π)π
β π = 0
Constrained robot dynamics - 3
Robotics 2 28
n we can eliminate the appearance of the multipliers as followsn differentiate the constraints twice w.r.t. time
n substitute the joint accelerations from the dynamic model (β )(dropping dependencies)
n solve for the multipliers
to be replaced in the dynamic model...
the inertia-weighted pseudoinverse of the constraint Jacobian π΄
invertible πΓπ matrix,when π΄ is full rank constraint
forces π areuniquely
determinedby the robotstate (π, οΏ½ΜοΏ½)
and input π’ !!
β π = 0 β βΜ =πβ(π)ππ οΏ½ΜοΏ½ = π΄ π οΏ½ΜοΏ½ = 0 β βΜ = π΄ π οΏ½ΜοΏ½ + οΏ½ΜοΏ½ π οΏ½ΜοΏ½ = 0
π΄πOP π’ + π΄Bπ β π β π + οΏ½ΜοΏ½οΏ½ΜοΏ½ = 0
π = (π΄πOPπ΄B)OP π΄πOP π + π β π’ β οΏ½ΜοΏ½οΏ½ΜοΏ½= π΄Q#
B π + π β π’ β π΄πOPπ΄B OPοΏ½ΜοΏ½οΏ½ΜοΏ½
Constrained robot dynamics - 4
Robotics 2 29
n the final constrained dynamic model can be rewritten as
where π΄Q# π = πOP(π)π΄B(π)(π΄(π)πOP(π)π΄B(π))OP and with
n if the robot state (π(0), οΏ½ΜοΏ½(0)) at time π‘ = 0 satisfies the constraints, i.e.,
then the robot evolution described by the above dynamics will be consistent with the constraints for all π‘ β₯ 0 and for any π’(π‘)
Β§ this is a useful simulation model (constrained direct dynamics)
dynamically consistent projection matrix
β π 0 = 0, π΄ π 0 οΏ½ΜοΏ½(0) = 0
π = π΄Q# (π)B π(π, οΏ½ΜοΏ½) + π(π) β π’ β π΄ π πOP π π΄B π OPοΏ½ΜοΏ½(π)οΏ½ΜοΏ½
π π οΏ½ΜοΏ½ = πΌ β π΄B(π) π΄Q# (π)B π’ β π(π, οΏ½ΜοΏ½ β π(π)) βπ(π)π΄Q# (π)οΏ½ΜοΏ½(π)οΏ½ΜοΏ½
Robotics 2 30
Example β ideal massconstrained robot dynamics
ππ&
π'
π(
π₯ = π
π =π₯π¦
π’ =π&π' π = π 0
0 π
ποΏ½ΜοΏ½ = π’ robot dynamics in free motion
πΌ β π΄B(π) π΄Q# (π)B = 0 0
0 1dynamically consistent
projection matrix
constrainedrobot dynamicsπ οΏ½ΜοΏ½
οΏ½ΜοΏ½ = ποΏ½ΜοΏ½ = 0 00 1 π’ =
0π'
π = β π΄Q# (π)Bπ’ = β 1 0 π’ = βπ& multiplier (contact force π()
β π = π₯ β π = 0 π΄ π = 1 0 π΄Q# π = β― = 10β β
Example β planar 2R robotconstrained robot dynamics
Robotics 2 31
π1
π2
π1π2
(π₯5, π¦5)π
π₯
π¦π π = π₯ β π₯5 X + π¦ β π¦5 X β π X = 0
π =π₯π¦
π = π π = πP cos πP + πX cos πP + πXπP sin πP + πX sin πP + πX
β π = π(π π) =πP cos πP + πX cos πP + πX β π₯5 X + πP sin πP + πX sin πP + πX β π¦5 X β π X = 0
βΜ =ππππ
ππππ οΏ½ΜοΏ½ =
2 π₯ β π₯5 2 π¦ β π¦5 π½_(π)οΏ½ΜοΏ½
= 2 πPπP + πXπPX β π₯5 2 πPπ P + πXπ PX β π¦5 π½_ π οΏ½ΜοΏ½ = π΄(π)οΏ½ΜοΏ½
Reduced robot dynamics - 1
Robotics 2 32
n by imposing π constraints β(π) = 0 on the π generalized coordinates π, it is also possible to reduce the description of the constrained robot dynamics to a π βπ dimensional configuration space
n start from constraint matrix π΄(π) and select a matrix π·(π) such that
n define the (π βπ)-dimensional vector of pseudo-velocities π£ as the linear combination (at a given π) of the robot generalized velocities
n inverse relationships (from βpseudoβ to βgeneralizedβ velocities and accelerations) are given by
properties of block products in inverse matrices have been used for eliminating the appearance of οΏ½ΜοΏ½ (often πΉ is only known numerically)
is a nonsingularπΓπ matrix
π΄(π)π·(π)
π΄(π)π·(π)
OP= πΈ(π) πΉ(π)
π£ = π·(π)οΏ½ΜοΏ½ οΏ½ΜοΏ½ = π· π οΏ½ΜοΏ½ + οΏ½ΜοΏ½(π)οΏ½ΜοΏ½
οΏ½ΜοΏ½ = πΉ π π£ οΏ½ΜοΏ½ = πΉ π οΏ½ΜοΏ½ β πΈ π οΏ½ΜοΏ½ π + πΉ(π)οΏ½ΜοΏ½(π) πΉ π π£
Reduced robot dynamics β 2whiteboard β¦
Robotics 2 33
π΄(π)π·(π)
OP= πΈ(π) πΉ(π) a number of properties from this definitionβ¦
two matrix inverse productsπ΄(π)π·(π) πΈ(π) πΉ(π) = π΄ π πΈ(π) π΄ π πΉ(π)
π· π πΈ(π) π· π πΉ(π) =πΌQΓQ 00 πΌ(IOQ)Γ(IOQ)
πΈ(π) πΉ(π) π΄(π)π·(π) = πΈ π π΄ π + πΉ π π· π = πΌIΓI
from pseudo-velocity π£ = π·(π)οΏ½ΜοΏ½since πΉ is a right inverse of thefull row rank matrix π· (π·πΉ = πΌ)
οΏ½ΜοΏ½ = πΉ π π£= π·B(π) π·(π)π·B(π) OPπ£
(in factπ·οΏ½ΜοΏ½ = π·πΉπ£
= π£)
differentiating w.r.t. time οΏ½ΜοΏ½ = πΉ π π£
οΏ½ΜοΏ½ = πΉοΏ½ΜοΏ½ + οΏ½ΜοΏ½π£ = πΉοΏ½ΜοΏ½ + (οΏ½ΜοΏ½π·)οΏ½ΜοΏ½
three useful identities!
differentiating w.r.t. time οΏ½ΜοΏ½π΄ + πΈοΏ½ΜοΏ½ + οΏ½ΜοΏ½π· + πΉοΏ½ΜοΏ½ = 0 β
= πΉ(π)οΏ½ΜοΏ½ β πΈ π οΏ½ΜοΏ½ π + πΉ π οΏ½ΜοΏ½ π πΉ(π)π£
(β)= πΉοΏ½ΜοΏ½ β οΏ½ΜοΏ½π΄ + πΈοΏ½ΜοΏ½ + πΉοΏ½ΜοΏ½ πΉπ£
0πΌ
οΏ½ΜοΏ½π·
Reduced robot dynamics - 3
Robotics 2 34
n consider again the dynamic model (β ), dropping dependencies
n since π΄πΈ = πΌ, multiplying on the left by πΈB isolates the multipliers
n since π΄πΉ = 0, multiplying on the left by πΉB eliminates the multipliers
n substituting in the latter the generalized accelerations and velocities with the pseudo-accelerations and pseudo-velocities leads finally to
which is the reduced (π βπ)-dimensional dynamic modeln similarly, the expression of the multipliers becomes
invertible π βπ Γ π βπ
positive definite matrix
ποΏ½ΜοΏ½ + π + π = π’ + π΄Bπ
πΈB ποΏ½ΜοΏ½ + π + π β π’ = π
πΉBποΏ½ΜοΏ½ = πΉB π’ β π β π
πΉBππΉ οΏ½ΜοΏ½ = πΉB π’ β π β π +π πΈοΏ½ΜοΏ½ + πΉοΏ½ΜοΏ½ πΉπ£
(Β§)π = πΈB ππΉοΏ½ΜοΏ½ βπ πΈοΏ½ΜοΏ½ + πΉοΏ½ΜοΏ½ πΉπ£ + π + π β π’
Robotics 2 35
Example β ideal massreduced robot dynamics
ππ&
π'
π(
π₯ = π
π =π₯π¦
π’ =π&π'
π = π 00 π
ποΏ½ΜοΏ½ = π’ robot dynamics in free motion
β π = π₯ β π = 0 π΄ = 1 0β β π΄π· = 1 0
0 1 = πΈ πΉ
reducedrobot dynamicsπΉBππΉ οΏ½ΜοΏ½ = 0 1 π 0
0 π01 οΏ½ΜοΏ½ = ποΏ½ΜοΏ½ = π' = πΉBπ’
multiplier(contact force π()
π = πΈB ππΉοΏ½ΜοΏ½ β π’
= 1 0 π 00 π
01 οΏ½ΜοΏ½ β
π&π'
= β 1 0π&π'
= βπ&
π£ = π·οΏ½ΜοΏ½ = οΏ½ΜοΏ½ pseudo-velocity
Robotics 2 36
a feasible selection of matrix π·(π)
robotJacobian
out of robotsingularities
π1
π2
π1π2
(π₯5, π¦5)π
π₯
π¦π π = π₯ β π₯5 X + π¦ β π¦5 X β π X = 0
π =π₯π¦
π£ = (scalar) value of end-effector velocity reduced
along the tangentto the constraint
π΄ π = 2 π₯ β π₯5 2 π¦ β π¦5 π½_ π= 2 πPπP + πXπPX β π₯5 2 πPπ P + πXπ PX β π¦5 π½_ π
π·(π) = β12π¦ β π¦5
12π₯ β π₯5 π½_ π det
π΄(π)π·(π) = π X h det π½_(π) β 0
π΄(π)π·(π)
OP= πΈ(π) πΉ(π)
a scalarπ£ = π·(π)οΏ½ΜοΏ½ οΏ½ΜοΏ½ = πΉ π π£ = π½_OP(π)
jβ2(π¦ β π¦5)π X
j2(π₯ β π₯5)π X
π£
Example β planar 2R robotreduced robot dynamics
Control based on reduced robot dynamics
Robotics 2 37
n the reduced π β π dynamic expressions are more compact but also more complex and less used for simulation purposes than the π-dimensional constrained dynamics
n however, they are useful for control design (reduced inverse dynamics)n in fact, it is straightforward to verify that the feedback linearizing
control law
applied to the reduced robot dynamics and to the expression (Β§) of the multipliers leads to the closed-loop system
π’ = π + π βπ πΈοΏ½ΜοΏ½ + πΉοΏ½ΜοΏ½ πΉπ£ +ππΉπ’P β π΄Bπ’X
οΏ½ΜοΏ½ = π’P π = π’X
Note: these are exactly in the form of the ideal mass example of slide #24, with π£ = οΏ½ΜοΏ½, π’P = π'/π, Ξ» = π(, π’X = βπ& (being π = 2, π = 1, π β π = 1)
Compliant contact situation
πΎ(
Robotics 2 38
a second possible modeling choice for softer environments
π₯ < π π( = 0π₯ β₯ π π( = πΎ((π₯ β π)
ποΏ½ΜοΏ½ = π& + π(ποΏ½ΜοΏ½ = π'
ππ&
π'
π(
π₯( = π
compliance/impedancecontrol (in all directions) is here a good choicethat allows to handle§ uncertain position§ uncertain orientationof the wall
with πΎ( > 0 being the stiffness of the environment
Robot-environment contact types modeled by a single elastic constant
πΎ = πΎo
rigid environmentcompliantforce sensor
compliant environment
rigid robot(including
force sensor) πΎ = πΎ(
πΎo
πΎ(
negligible intermediatemass
Robotics 2 39
series of springs =sum of compliances
(inverse of stiffnesses)
1πΎ =
1πΎo+1πΎ(
πΎ =πΎoπΎ(πΎo +πΎ(
Force control 1-dof robot-environment linear dynamic models
Robotics 2 40
n with a force sensor (having stiffness ππ and damping ππ ) measuring the contact force πΉπn stability analysis of a proportional control loop for regulation of the contact force (to a
desired constant value πΉπ) can be made using the root-locus method (for a varying ππ)n by including/excluding work-piece compliance and/or robot (transmission) compliance
(see the paper by S. Eppinger, W.P. Seering: IEEE Control Systems Mag., 1987;available as extra material on the course web)
+ work-piececompliance
+ robot compliance
large ππβ
unstable
stablefor all ππ
πΉr = πoπ₯_ πΉr = πo(π₯_βπ₯s)
πΉr = πX(π₯Xβπ₯s)πΉr = πoπ₯X
πΉ = πt πΉu β πΉr , πt> 0
Tasks requiring hybrid control
the robot should turn a crankhaving a free-spinning handle
Robotics 2 41
two generalized directions of instantaneousfree motion
at the contact:tangential velocity& angular velocityaround handle axis
βfour directions of generalized reaction forcesat the contact
Tasks requiring hybrid control
Robotics 2 42
the robot should turn a crankhaving a fixed handle
one direction onlyof instantaneous
free motionat the contact:
tangential velocity
βfive directions of generalized reaction forcesat the contact
Tasks requiring hybrid control
the robot should push a mass elastically coupled to a wall and constrained in a guide
Robotics 2 43
Tasks requiring hybrid control
generalized hybrid modeling and control for dynamic environmentsA. De Luca, C. Manes: IEEE Trans. Robotics and Automation, vol. 10, no. 4, 1994
Robotics 2 44
direction of free motion control(no contact forces can be imposed)
direction of contact force control (no motion can be imposed)
dynamic direction of control:either motion is controlled
(and a contact force results)or contact force is controlled
(and a motion results)
KE
three sets of possible directions in the task frame