robust position/force control of constrained flexible

10
https://doi.org/10.1007/s10846-020-01220-1 Robust Position/Force Control of Constrained Flexible Joint Robots with Constraint Uncertainties Cumhur Baspinar 1 Received: 8 January 2020 / Accepted: 2 June 2020 © The Author(s) 2020 Abstract A novel robust control method for simultaneous position/force control of constrained flexible joint robots is proposed. The facts that the uncertainties make the usual control task unsolvable and that the equations of the controlled system are differential-algebraic make the problem dealt with considerably demanding. In order to overcome the unsolvability problem due to the constraint uncertainties the position control task is redefined in a practical way such that only a suitable subgroup of the link positions are driven to their desired trajectories. To determine the elements of the subgroup a simple algorithm of practical relevance is proposed. Under certain smoothness conditions to the contact surfaces, it is demonstrated that the position control problem can dynamically be isolated from the force control. Thus, it becomes possible to handle the position and force control tasks separately. The most significant advantage of the separation of the position and force control tasks is that it makes possible to adapt the position control methods known from free robots. Each joint is used in either position control or force control. The proposed position controller has a cascaded structure: First, trajectories for joint positions that drive the link positions to their desired values are calculated. Then, the joint torques that drive the joint positions to their calculated values are determined. A further significant benefit of the separation of the position and force control tasks arises in the force control such that the transformed equations are linear and any linear robust control approach can be used for the force control. The whole controller requires the measurement of the link and joint positions, the link and joint velocities and the contact forces, and allows modeling uncertainties in the equations of both the robot dynamics and the contact surfaces. The proposed control method is also confirmed by simulations. Keywords Constrained flexible joint robots · Position and force control · Robust control · Constraint uncertainties 1 Introduction In diverse robotic applications such as cleaning, assembling, writing, welding or surgery, end-effectors of robot manip- ulators have contact with their environments. Simultaneous control of the position of the end-effector and the force between the end-effector and the environment is usually mandatory to perform the task. Applicable position/force control algorithms are strongly needed and will further expand the application areas of robots. It can be estimated that robotic tasks will include more contacts with envi- ronment in more sophisticated future applications such as service robotics. Cumhur Baspinar [email protected] 1 Hochschule RheinMain, Postfach 3251, 65022, Wiesbaden, Germany If the contact surface can be modeled as a mass-spring- damper system, the force control task can be transformed into a position control task, since in this case the contact forces are roughly proportional to the deformations of the contact surfaces and can be expressed as a function of the end-effector kinematic variables. In the literature, studies in this context are called impedance control [1521]. Impedance control has been extensively studied since the 1980s [14]. Another widespread approach used for simultaneous position/force control is hybrid control, in which the position and force control tasks are separated from each other in the task space [1113, 2227]. Hybrid control has been controversially and intensively discussed in the literature, since, on the one hand, it provides an attractive procedure for separation of position and force control tasks, on the other hand, it can cause unstable control loops. The criticism of hybrid control is focused on its kinematic nonconsistency [23]. / Published online: 25 June 2020 Journal of Intelligent & Robotic Systems (2020) 100:945–954

Upload: others

Post on 18-Nov-2021

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Robust Position/Force Control of Constrained Flexible

https://doi.org/10.1007/s10846-020-01220-1

Robust Position/Force Control of Constrained Flexible Joint Robotswith Constraint Uncertainties

Cumhur Baspinar1

Received: 8 January 2020 / Accepted: 2 June 2020© The Author(s) 2020

AbstractA novel robust control method for simultaneous position/force control of constrained flexible joint robots is proposed.The facts that the uncertainties make the usual control task unsolvable and that the equations of the controlled system aredifferential-algebraic make the problem dealt with considerably demanding. In order to overcome the unsolvability problemdue to the constraint uncertainties the position control task is redefined in a practical way such that only a suitable subgroupof the link positions are driven to their desired trajectories. To determine the elements of the subgroup a simple algorithmof practical relevance is proposed. Under certain smoothness conditions to the contact surfaces, it is demonstrated that theposition control problem can dynamically be isolated from the force control. Thus, it becomes possible to handle the positionand force control tasks separately. The most significant advantage of the separation of the position and force control tasksis that it makes possible to adapt the position control methods known from free robots. Each joint is used in either positioncontrol or force control. The proposed position controller has a cascaded structure: First, trajectories for joint positions thatdrive the link positions to their desired values are calculated. Then, the joint torques that drive the joint positions to theircalculated values are determined. A further significant benefit of the separation of the position and force control tasks arisesin the force control such that the transformed equations are linear and any linear robust control approach can be used for theforce control. The whole controller requires the measurement of the link and joint positions, the link and joint velocities andthe contact forces, and allows modeling uncertainties in the equations of both the robot dynamics and the contact surfaces.The proposed control method is also confirmed by simulations.

Keywords Constrained flexible joint robots · Position and force control · Robust control · Constraint uncertainties

1 Introduction

In diverse robotic applications such as cleaning, assembling,writing, welding or surgery, end-effectors of robot manip-ulators have contact with their environments. Simultaneouscontrol of the position of the end-effector and the forcebetween the end-effector and the environment is usuallymandatory to perform the task. Applicable position/forcecontrol algorithms are strongly needed and will furtherexpand the application areas of robots. It can be estimatedthat robotic tasks will include more contacts with envi-ronment in more sophisticated future applications such asservice robotics.

� Cumhur [email protected]

1 Hochschule RheinMain, Postfach 3251, 65022, Wiesbaden,Germany

If the contact surface can be modeled as a mass-spring-damper system, the force control task can be transformedinto a position control task, since in this case the contactforces are roughly proportional to the deformations ofthe contact surfaces and can be expressed as a functionof the end-effector kinematic variables. In the literature,studies in this context are called impedance control [15–21].Impedance control has been extensively studied since the1980s [14].

Another widespread approach used for simultaneousposition/force control is hybrid control, in which theposition and force control tasks are separated from eachother in the task space [11–13, 22–27]. Hybrid controlhas been controversially and intensively discussed in theliterature, since, on the one hand, it provides an attractiveprocedure for separation of position and force control tasks,on the other hand, it can cause unstable control loops.The criticism of hybrid control is focused on its kinematicnonconsistency [23].

/ Published online: 25 June 2020

Journal of Intelligent & Robotic Systems (2020) 100:945–954

Page 2: Robust Position/Force Control of Constrained Flexible

The most challenging system model for control purposesemerges if the contact surfaces are rigid and the contactforces are expressed by Lagrange multipliers, since theresulting system model in this case has a differential-algebraic form. Robots modeled by differential-algebraicequations are called constrained robots [28].

Although the issue of position/force control of rigid jointrobots is well understood [1, 9–12], position/force controlmethods for flexible joint robots are rarely encounteredin the literature. A straightforward application of the controlmethods from rigid joint robots to flexible joint case doesnot lead to a satisfactory performance. The significanceof joint flexibility for robot control has widely beendiscussed [2–6]. The fact that the joint flexibility createsa natural compliance between the end-effector and thecontact surfaces motivates the use of flexible joint robotmanipulators for simultaneous position/force control.

In [7, 8, 16, 18] and [23], a few rarely encountered workson position/force control of flexible joint robots are given.

The work [7] addresses adaptive position/force control ofuncertain constrained flexible joint robots. The controller isbased on singular perturbation approach and achieves theposition tracking and the boundedness of the force errors.Unfortunately, the method cannot handle robots with strongjoint elasticities and requires the measurement of the jointaccelerations.

The position/force control law in [8] is based on solvingthe singular acceleration-level inverse dynamic equations.The controller does not require the measurement of thecontact forces. However, unmeasured contact forces canreduce the performance of the force control in the case ofmodeling uncertainties.

In [16], a passivity based force and impedance controllerfor rigid and flexible joint robots is proposed, where theconcept of energy tanks is applied such that the forcetracking controller, the impedance controller and the motordynamics together form a passive system. The approach isalso capable to stabilize unwanted contact losses. It does notdeal with the robustness issues which arise due to modelinguncertainties. The work suffers under the assumption thatthe time derivatives of the contact forces are obtainable.

In [18], a passivity based impedance controller for flexiblejoint robots is proposed, where the controller possesses acascaded structure with an inner torque feedback loop andan outer impedance control loop. The controller contains agravity compensation term and a PD control term and doesnot treat the modeling uncertainties.

The work [23] is based on the concept of singular pertur-bation theory, which works with the restrictive assumptionthat the dynamics of the controlled system can be dividedinto a fast and a slow subsystem. The controller for the

fast subsystem contains an additional robustness term com-pensating the effects of the parameter mismatching. Theunknown system parameters are estimated in real-time.

The present work proposes a novel robust control methodfor position/force control of constrained flexible jointrobots. Its position control part has a cascaded structure:First, trajectories for joint positions that drive the linkpositions to their desired values are calculated. Then, thejoint torques that drive the joint positions to their calculatedvalues are determined. The phenomenon that the controlledsystem with respect to the force is linear, leads to theconclusion that any linear robust control approach can beused for the force control. The force control law in thesimulations of Section 5 consists of a linear high gain PIDterm. The contributions of the work are given as follows:

– To the best of the author’s knowledge, this is the firstwork that allows modeling uncertainties in the contactsurfaces. Dealing with the uncertainties in the contactsurface is quite challenging, since the constraint uncer-tainties can make the position control task unfeasible[1]. For this purpose, the position control task is rede-fined in a pragmatic way in Section 2.

– The present work allows not only parameter inaccura-cies in the systemmodel but also unmodelled dynamics,which is of considerable practical relevance.

– The proposed control law does not require themeasurement of the joint and link accelerations and thetime-derivatives of the contact forces. It requires onlythe measurement of the link and joint angles, the linkand joint velocities and the contact forces.

– It is demonstrated that under certain smoothnessconditions to the contact surfaces the position controlcan dynamically be isolated from the force control. Thisresult is significant since it makes possible to handle theposition and force control tasks separately and to adaptthe position control methods known from free robots.Each joint is used in either position control or forcecontrol. A simple algorithm is developed to determinewhether a joint can be used in position control or forcecontrol. Note that by contrast with the present work,the separation of the position and force control tasks inclassical hybrid control is realized kinematically.

The present work is organized as follows: In Section 2,the dynamics of constrained flexible joint robots and therobust position/force control problem are introduced. InSection 3, the dynamic equations of the controlled systemis first transformed into a new form that enables to treat theposition control independently from the force control. Then,a robust position control law is developed. In Section 4,the linear force control law is derived. The success of the

946 J Intell Robot Syst (2020) 100:945–954

Page 3: Robust Position/Force Control of Constrained Flexible

force control depends on the success of the position control,although the position control is independent of the forcecontrol. In Section 5, the proposed control method is alsoconfirmed by simulations.

2 Problem Statement

Constrained flexible joint robots of the dynamics [3]

M(q)q + h(q, q) + K(q − θ) + J (q)λ = 0 (1)

T θ + F θ − K(q − θ) = τ (2)

φ(q) = 0 (3)

are considered, where the vectors q ∈ Rn, θ ∈ R

n andτ ∈ R

n denote the link angles, the motor angles and themotor torques at the joints, respectively. The symmetric andpositive definite matrix M(q) ∈ R

n×n denotes the massmatrix of the rigid links. The vector h(q, q) ∈ R

n consistsof the centrifugal, Coriolis and gravitational torques. Thediagonal and positive definite matrices K ∈ R

n×n, T ∈R

n×n and F ∈ Rn×n denote the stiffness, inertia and viscous

friction matrices of the joints, respectively. Equation 3describes the contact surfaces of the end-effector in the linkcoordinates q, where φ(q) ∈ R

m is a vector function withindependent components except at some isolated valuesof q. Finally, the matrix J (q) ∈ R

n×m and the vectorλ ∈ R

m denote the transpose of the Jacobian matrix ofthe constraints J (q) = (∂φ(q)/∂q)T and the Lagrangemultipliers, respectively. The Lagrange multipliers λ canbe interpreted as the constraint forces, since they aredetermined by the constraint forces and vice versa. It isassumed that the number of the constraintsm is less than thenumber of the joints n.

The system model matrices and vectors are denotedby M(q), h(q, q), K , T , F , φ(q) and J (q). They maydiffer from the relating system matrices and vectors M(q),h(q, q), K , T , F , φ(q) and J (q), which are supposed tobe unknown, and therefore, not allowed to be used in thecontrol law. The differences between the system and modelcomponents may arise due to both parameter mismatchingand unmodeled (or neglected) parts of the system dynamics.

In the following, the arguments of the vector and matrixfunctions will often be neglected for the sake of brevity ifthey are obvious from the context.

Notation Let Z be a k × l matrix and ν and μ be subsets of{1, . . . , k} and {1, . . . , l} with i and j number of elements,respectively. Zν denotes the i × l sub-matrix of Z whichincludes only the ν-rows of Z. Zνμ denotes the i × j

sub-matrix of Zν which includes only the μ-columns of Zν .

Assumption 1 Vector functions φ(q) and φ(q) are of classC2.

Assumption 2 There exists a subset σ ⊂ {1, . . . , n} with m

elements such that the equalities

rank Jσ = rank Jσ = m

hold along the system trajectories.

Assumption 1 is required by the proposed control law andsatisfied by sufficiently smooth contact surfaces. Assump-tion 2 is required to separate the position control problem fromthe force control and is only slightly restrictive since the con-straint surfaces are supposed to be independent of each other.

Let the subset α be α = {1, . . . , n} − σ . In Section 3, α-rows of the system dynamics Eqs. 1 and 2 will be used forthe position control, and in Section 4, σ -rows for the forcecontrol.

The control problem is given as follows: Specify thesystem inputs τ such that the system and controller variablesremain bounded in time and qα and λ converge to theirdesired trajectories qd

α (t) and λd(t), respectively. Note thatthe remaining link coordinates qσ , which are not controlled,are not independent variables. For a given trajectory of qα ,the trajectory of qσ is determined by the contact surfaces (3)and the initial conditions of (1) and (2) [1].

3 Position control

In the following, the α-rows of the system Eqs. 1 and 2 arefirst transformed into a structure which is more convenientfor design of position controllers, then the robust positioncontrol law is given. The α-rows of Eqs. 1 and 2 are

Mαq + hα + Kαα(qα − θα) + Jαλ = 0 (4)

Tααθα + Fααθα − Kαα(qα − θα) = τα . (5)

For separating the position control from the force control,the vectors λ and qσ will be eliminated from Eq. 4. Thesolution of the σ -rows of Eqs. 1 and 2

Mσ q + hσ + Kσσ (qσ − θσ ) + Jσ λ = 0 (6)

Tσσ θσ + Fσσ θσ − Kσσ (qσ − θσ ) = τσ . (7)

for λ is

λ = −J−1σ [Mσ q + hσ + Kσσ (qσ − θσ )] . (8)

Substituting Eqs. 8 into 4 yields

Mαq + hα + Kαα(qα − θα)

− JαJ−1σ [Mσ q + hσ + Kσσ (qσ − θσ )] = 0 . (9)

947J Intell Robot Syst (2020) 100:945–954

Page 4: Robust Position/Force Control of Constrained Flexible

The vector qσ depending on the vectors q, q and qα isobtained by differentiating the constraints Eq. 3 accordingto time twice [1]:

d2

dt2[φ(q)] = d

dt[J T q]

= J T q + J T q

= J T q + J Tσ qσ + J T

α qα = 0 (10)

The solution of Eq. 10 for qσ is

qσ = −J−Tσ (J T q + J T

α qα) . (11)

Substituting (11) into (9) converts the α-rows of Eq. 1 into

D(q) qα + g(q, q, θσ ) = θα (12)

where D(q) and g(q, q, θσ ) are defined by

D(q) = K−1αα [Mαα − Mασ J−T

σ J Tα

− JαJ−1σ (Mσα − Mσσ J−T

σ J Tα )]

g(q, q, θσ ) = K−1αα {−Mασ J−T

σ J T q + hα

− JαJ−1σ [−Mσσ J−T

σ J T q + hσ

+ Kσσ (qσ − θσ )]} + qα .

Equations 5 and 12 remind the dynamics of flexible jointrobots without constraints, for which many control methodshave been proposed so far [2]. In the following, the robustposition control method for free flexible joint robots in [2]is adapted to the constrained case.

Let D(q) and g(q, q, θσ ) be the models of D(q) andg(q, q, θσ ), respectively.

Assumption 3 rankD(q) = rank D(q) = n − m along thetrajectories.

Assumption 3 is fundamental since Eq. 12 may haveinfinitely large solutions for the components of qα ifAssumption 3 does not hold at some time instants. Onthe other hand, Assumption 3 is only slightly restrictive,since the matrices D(q) and D(q) can be influenced by thereasonable placement of the robot in relation to the contactsurfaces.

The error variables regarding the position control aredefined by

e1 = qα − qdα (13)

e2 = qα − qdα (14)

r1 = [eT1 eT

2

]T (15)

e3 = θα − θdα (16)

e4 = θα − β (17)

where θdα and β depend on t , q, q, θ and θ and denote the

desired values of θα and θα , respectively. θdα is given by

θdα = D(qd

α − K1e1 − K2e2) + g − BT1 P1r1

21

ε1(18)

whereK1 andK2 are (n−m)×(n−m) diagonal and positivedefinite controller matrices, ε1 is a positive real number, B1

is a 2(n − m) × (n − m) matrix given by

B1 =[0D−1

], (19)

1 is an upper bound function for the Euclidean norm of theunknown n − m dimensional vector 1

1 = (D − D)qα + g − g , ‖1‖ ≤ 1 (20)

and P1 is the 2(n − m) × 2(n − m) symmetric and positivedefinite solution of the following Lyapunov equation for agiven 2(n − m) × 2(n − m) dimensional symmetric andpositive definite matrix Q1

A1 =[

0 I

−K1 −K2

], AT

1 P1 + P1A1 = −Q1 . (21)

The vector β is defined by

β = −BT1 P1r1 − K3e3 − e3

22

ε2(22)

where K3 is a (n − m) × (n − m) diagonal and positivedefinite matrix, ε2 is a positive real number and 2 isan upper bound function for the Euclidean norm of theunknown variable θ d

α

‖θ dα ‖ ≤ 2 . (23)

The position control law is given by

τα = Tαα(−e3−K4e4−e42

3

ε3)+Fααθα−Kαα(qα−θα) (24)

where K4 is a (n − m) × (n − m) diagonal and positivedefinite matrix, ε3 is a positive real number and 3 isan upper bound function for the Euclidean norm of theunknown n − m dimensional vector 3

3 = T −1αα [τα − Fααθα + Kαα(qα − θα)]

− T −1αα [τα − Fααθα + Kαα(qα − θα)] − β

‖3‖ ≤ 3 . (25)

To demonstrate the efficiency of the position control lawEq. 24, the error dynamics regarding r1, e3 and e4 is

948 J Intell Robot Syst (2020) 100:945–954

Page 5: Robust Position/Force Control of Constrained Flexible

required. Substituting Eqs. 16, 18 and the time derivative ofEqs. 14 into 12 yields

Dqα + g = θdα + e3 (26)

= D(qdα − K1e1 − K2e2) + g

− BT1 P1r1

21

ε1+ e3 (27)

= D(qα − e2 − K1e1 − K2e2) + g

− BT1 P1r1

21

ε1+ e3 (28)

D(e2 +K1e1 + K2e2) + (D − D)qα + g − g︸ ︷︷ ︸

1

=

− BT1 P1r1

21

ε1+ e3 . (29)

The equality

r1 = A1r1 + B1(−1 − BT1 P1r1

21

ε1+ e3) (30)

follows from Eqs. 13–15 and 29. Note that the first n − m

rows of Eq. 30 includes only the equation e1 = e2 andthe last n − m rows of Eq. 30 is a reshaping of Eq. 29.Equation 30 forms the first part of the error dynamics.

The time derivative of Eqs. 16, 17 and 22 yield the secondpart of the error dynamics

e3 = θα − θ dα (31)

= e4 + β − θ dα (32)

= e4 − BT1 P1r1 − K3e3 − e3

22

ε2− θ d

α . (33)

The last part of the error dynamics follows from the timederivative of Eq. 17 and Eqs. 5, 24 and 25

e4 = θα − β (34)

= T −1αα [τα − Fααθα + Kαα(qα − θα)] + 3 (35)

= −e3 − K4e4 − e42

3

ε3+ 3 . (36)

Equations 30, 33 and 36 constitute the error dynamics forthe position control.

Theorem 1 The solutions of the error dynamics consistingof Eqs. 30, 33 and 36 are globally uniformly ultimatelybounded.

Proof Consider the Lyapunov function candidate

V = 1

2(rT

1 P1r1 + eT3 e3 + eT

4 e4) . (37)

The time derivative of Eq. 37 is

V = 1

2(rT

1 P1r1 + rT1 P1r1 + eT

3 e3 + eT3 e3 + eT

4 e4 + eT4 e4) .

(38)

Substituting Eqs. 21 and 30 into Eq. 38 yields

V = 1

2rT1 (AT

1 P1 + P1A1)r1 + rT1 P1B1(−1

− BT1 P1r1

21

ε1+ e3) + eT

3 e3 + eT4 e4

= −1

2rT1 Q1r1 + rT

1 P1B1(−1 − BT1 P1r1

21

ε1+ e3)

+ eT3 e3 + eT

4 e4 (39)

≤ −1

2rT1 Qr1 + ‖rT

1 P1B1‖1 − ‖rT1 P1B1‖2 2

1

ε1

+ rT1 P1B1e3 + eT

3 e3 + eT4 e4 (40)

≤ −1

2rT1 Qr1 + ε1

4+ rT

1 P1B1e3 + eT3 e3 + eT

4 e4 . (41)

Inequality Eq. 41 follows from the fact

a − a2

ε≤ ε

4, a ∈ R , ε ∈ R

+ . (42)

Substituting Eqs. 33 and 36 into Eq. 41 yields

V ≤ −1

2rT1 Qr1 + ε1

4+ rT

1 P1B1e3

+ eT3 (e4 − BT

1 P1r1 − K3e3 − e32

2

ε2− θ d

α )

+ eT4 (−e3 − K4e4 − e4

23

ε3+ 3)

≤ −1

2rT1 Qr1 + ε1

4− eT

3 K3e3 − e4K4e4 − ‖e3‖2 22

ε2

+ ‖e3‖2 − ‖e4‖2 23

ε3+ ‖e4‖3

≤ −1

2rT1 Qr1 − eT

3 K3e3 − e4K4e4

+ 1

4(ε1 + ε2 + ε3) . (43)

The Lyapunov function V decreases as long as the errorvariables satisfy the inequality

1

2rT1 Qr1 + eT

3 K3e3 + e4K4e4 ≥ 1

4(ε1 + ε2 + ε3) .

Let S1 denote the smallest level surface of the Lyapunovfunction V1 including the ellipsoid

1

2rT1 Qr1 + eT

3 K3e3 + e4K4e4 = 1

4(ε1 + ε2 + ε3) .

The solutions of the error dynamics enter S1 in a finite timeand then remain in it.

The block diagram in Fig. 1 illustrates the structure of theposition controller.

949J Intell Robot Syst (2020) 100:945–954

Page 6: Robust Position/Force Control of Constrained Flexible

Fig. 1 Closed loop position control scheme

4 Force Control

Multiplying Eq. 6 by Kσσ converts Eq. 6 into

K−1σσ (Mσ q + hσ + Jσ λ) + qσ = θσ . (44)

Equations 7 and 44 (the σ -rows of the system dynamics) areused for the force control. For this purpose, a desired valuefor θσ is first determined such that λ converges to λd if θσ

converges to its desired value θdσ . Then, the control inputs

τσ are given such that θσ converges to θdσ .

Let e5 and e6 denote the force error

e5 = λ − λd (45)

and the position error regarding the σ components of themotor angles

e6 = θσ − θdσ (46)

respectively. The desired value of θσ is given by

θdσ = K5e5 + qσ (47)

where K5 an m × m dimensional diagonal and positive defi-nite matrix. Substituting Eqs. 47 and 46 into Eq. 44 yields

K−1σσ (Mσ q + hσ + Jσ λ) = K5e5 + e6 . (48)

The solution of Eq. 48 for e5 is

e5 = (K5−K−1σσ Jσ )−1[K−1

σσ (Mσ q+hσ +Jσ λd)−e6] . (49)It is obvious from Eq. 49 that the absolute values of thecomponents of e5 can be made arbitrarily small at any timeinstant by means of the diagonal elements of K5 if thecomponents of e6 remain bounded in time. It means thatthe success of the force control depends on the boundednessof e6. Thus, the force control task is reduced to a positioncontrol problem at which the position error e6 has to be keptbounded. A linear controller keeping e6 bounded can easilybe determined by means of linear control theory since thecontrolled system (7) with the input τσ and the output θσ islinear. In this section, a linear controller for the linear system(7) is not given explicitly, since design of linear controllersis a well-known topic and does not contribute to the present

Fig. 2 Closed loop position and force control scheme

950 J Intell Robot Syst (2020) 100:945–954

Page 7: Robust Position/Force Control of Constrained Flexible

work. In the following section, a simple PID controller issuccessfully used for this purpose in the simulations.

The block diagram in Fig. 2 illustrates the structure of thewhole closed loop control system.

5 Simulations

The proposed robust control method has been simulated ona two link flexible joint robot manipulator (Fig. 3), whoseequations of motion are

m11q1 + m12q2 + h1 + k1(q1 − θ1) + J1λ = 0 (50)

m12q1 + m22q2 + h2 + k2(q2 − θ2) + J2λ = 0 (51)

t1θ1 + f1θ1 − k1(q1 − θ1) = τ1 (52)

t2θ2 + f2θ2 − k2(q2 − θ2) = τ2 (53)

ϕ(q) = l1 sin(q1) + l2 sin(q1 + q2) − a = 0 (54)

where

m11 = c1 + 2c0 cos(q2)

m12 = c2 + c0 cos(q2)

m22 = c2

h1 = −c0 sin(q2)q2(2q1 + q2) − c3 sin(q1)

−c4 sin(q1 + q2) + c5q1

h2 = c0 sin(q2)q21 − c4 sin(q1 + q2) + c6q2 ,

Fig. 3 Two link constrained flexible joint robot with revolute jointswhose physical system parameters are the masses of the links m1 andm2, the inertia moments of the links i1 and i2, the lengths of the linksl1 and l2, the distances of the centers of mass to the joints lc1 and lc2 ,the distance of the contact surface from the base of the robot a, thestiffness constants of the flexible joints k1 and k2, the inertia momentsof the joints t1 and t2 and friction constants of the joints f1 and f2

k1, k2, t1, t2, f1 and f2 are the diagonal components of thematrices K , T and F respectively, l1 and l2 are the lengthsof the first and second links, a is the distance of the contactsurface from the base of the robot and the coefficients fromc0 to c4 depend on the physical system parameters m1, m2,l1, lc1 , lc2 , g, i1 and i2 (see Fig. 3) as follows

c0 = m2l1lc2

c1 = m1l2c1

+ i1 + m2l21 + m2l

2c2

+ i2

c2 = m2l2c2

+ i2

c3 = g(m1lc1 + m2l1)

c4 = m2glc2 ,

and c5 and c6 are the coefficients of the viscous friction atthe links.

It is assumed that the model parameters m1, m2, i1, i2,l1, l2, lc1 , lc2 , g, k1, k2, t1, t2, f1, f2 and a differ from thesystem parameters nearly ±10%. The first link has beenused for the position control and the second link for the forcecontrol. Note that at this example, the first joint can be usedjust as well for the force control and the second joint for theposition control. When choosing the joints it is only decisivethat the resulting matrices Jσ , Jσ (Assumption 2) D and D

(Assumption 3) are not singular.The desired trajectory of the position q1 is sinusoidal and

the desired trajectory of the contact force λ is piece-wiselinear (Fig. 4). The force control has been performed by asimple PID controller with a realizable differentiator part.The parameters of the force controller have been selectedsuch that the settling time of 2 sec is reached.

In Fig. 4, the time flows of q1, qd1 , q2, θ1, θ

d1 , θ2, θ2, θ

d2 , λ,

λd , τ1 and τ2 for the control parameters K1 = 8, K2 = 16,K3 = 10 and K4 = 10, are seen. The chattering in the timeflows of τ2 and Qd

2 is on the one hand due to the numericalerrors and on the other hand to the strong elasticity (k1 = 10and k2 = 10) of the joints. Although the parameters of thelinear controller have been optimized using linear controltheory, the remaining parameters of the controller have beendetermined by trial and error. High controller parametersgenerally provide short settling times.

Simulation of differential-algebraic equations is ingeneral much more complicated than simulation of ordinarydifferential equations. Fortunately, the differential-algebraicequations of constrained flexible joint robots (1)–(3) can bereduced to the ordinary differential Eqs. 2, 11 and 12.This property allows us to use the ordinary differentialEqs. 2, 11 and 12 for simulation purposes instead of (1)–(3). The fact that the distance of the wall from the robot basea remains constant during the simulation of the examplesystem Eqs. 50– 54 confirms the validity of the simulationmethod used at this work (Fig. 4). It should also be noticedthat during simulations of the reduced Eqs. 2, 11 and 12,the initial values of q1, q2, q1 and q2 cannot be chosen

951J Intell Robot Syst (2020) 100:945–954

Page 8: Robust Position/Force Control of Constrained Flexible

Fig. 4 Time trajectories of q1, qd1 , q2, θ1, θd

1 , θ2, θd2 , λ, λd , τ1, τ2 and the calculated distance of the wall from the robot base a during the

simulation, respectively

952 J Intell Robot Syst (2020) 100:945–954

Page 9: Robust Position/Force Control of Constrained Flexible

arbitrarily. They must satisfy the constraint Eq. 3 and itstime derivative J T q = 0.

6 Conclusions

A robust control method for the simultaneous position/forcecontrol of constrained flexible joint robots has been proposed.For this purpose, the system model has been first convertedinto a new form that allows to separate the position andforce control tasks from each other and to group the joints:The joints in the set α are used at the position control andthe joints in the set σ at the force control. The success ofthe force control is dependent on the success of the positioncontrol. Nevertheless, the success of the position control isindependent on the success of the force control.

The applicability of the controller in practice seemsto depend on overcoming the difficulty that the proposedcontrol law requires upper bound functions for the modelinguncertainties. The necessity of such upper bound functionsgreatly increases the modeling effort.

Funding Information Open Access funding provided by ProjektDEAL.

Open Access This article is licensed under a Creative CommonsAttribution 4.0 International License, which permits use, sharing,adaptation, distribution and reproduction in any medium or format, aslong as you give appropriate credit to the original author(s) and thesource, provide a link to the Creative Commons licence, and indicateif changes were made. The images or other third party material inthis article are included in the article’s Creative Commons licence,unless indicated otherwise in a credit line to the material. If materialis not included in the article’s Creative Commons licence and yourintended use is not permitted by statutory regulation or exceedsthe permitted use, you will need to obtain permission directly fromthe copyright holder. To view a copy of this licence, visit http://creativecommonshorg/licenses/by/4.0/.

References

1. Baspinar, C.: On Robust Position/force Control of Robot Manip-ulators with Constraint Uncertainties. 10th IFAC Symposium onRobot Control, Dubrovnik (2012)

2. Baspinar, C.: Position Control of Flexible Joint Robots byAdapting Methods for Rigid Robots. 18th IFAC World Congress,Milano (2011)

3. Spong, M.W.: Modeling and control of elastic joint robots. J. Dyn.Sys. Meas. Control 109(4), 310–319 (1987)

4. Chien, M.-C., Huang, A.-C.: Adaptive control for flexible-jointelectrically driven robot with time- varying uncertainties. IEEETrans. Ind. Electron. 54, 1032–1038 (2007)

5. Consolini, L., Gerelli, O., Lo Bianco, C.G., Piazzi, A.: Minimum-time control of flexible joints with input and output constraints. In:IEEE Int. Conf. onRobotics and Automation, pp. 3811–3816 (2007)

6. Yeon, J.S., Park, J.H.: Practical robust control for flexiblejoint robot manipulators. In: IEEE Int. Conf. on Robotics andAutomation, pp. 3377–3382, Pasadena (2008)

7. Huang, L., Ge, S.S., Lee, T.H.: Position/force control of uncertainconstrained flexible joint robots, vol. 16, iss 2 (2006)

8. Ider, S.K.: Force and motion trajectory tracking control offlexible- joint robots. Mech. Mach. Theory 35, 363–378 (2000)

9. Gierlak, P., Szuster, M.: Adaptive position/force control for robotmanipulator in contact with a flexible environment. Robot. Auton.Syst. 95, 80–101 (2017)

10. Baigzadehnoe, B., Rahmani, Z., Khosravi, A., Rezaie, B.: Onposition/force tracking control problem of cooperative robotmanipulators using adaptive fuzzy backstepping approach. ISATrans. 70, 432–446 (2017)

11. Yoshikawa, T., Harada, K., Matsumoto, A.: Hybrid position/forcecontrol of flexible-macro/rigid-micro manipulator systems. IEEETran. on Robotics and Automation 12(4), 633–640 (1996)

12. Navvabi, H., Markazi, A.H.D.: Hybrid Position/Force Controlof Stewart Manipulator Using Extended Adaptive Fuzzy SlidingMode Controller, (E-AFSMC), ISA Transactions (2018)

13. Goldsmith, P.B., Francis, B.A., Goldenberg, A.A.: Stability ofhybrid position/force control applied to manipulators with flexiblejoints. Int. Journal of Robotics and Automation 14(4), 146–160(1999)

14. Hogan, N.: Impedance control: An approach to manipulation: PartI - theory, part II - implementation, part III - applications. ASMEJournal of Dynamic Systems, Measurement, and Control 107,1–24 (1985)

15. Focchi, M., Medrano-Cerda, G.A., Boaventura, T., et al.: Robotimpedance control and passivity analysis with inner torque andvelocity feedback loops. Control Theory Technol. 14, 97–112(2016)

16. Schindlbeck, C., Haddadin, S.: Unified passivity-based Cartesianforce/impedance control for rigid and flexible joint robots via task-energy tanks. In: IEEE International Conference on Robotics andAutomation (ICRA), pp. 440–447, Seattle, WA (2015)

17. Xiong, G., Chen, H., Zhang, R., Liang, F.: Robot-EnvironmentInteraction control of a flexible joint light weight robotmanipulator. International Journal of Advanced Robotic Systems9, 1–9 (2012)

18. Ott, C., Albu-Schaffer, A., Kugi, A., Hirzinger, G.: On thepassivity-based impedance control of flexible joint robots. IEEETran. on Robotics 24(2), 416–429 (2008)

19. Huang, J.B., Xie, Z.W., Liu, H., et al.: DSP/FPGA-basedcontroller architecture for flexible joint robot with enhancedimpedance performance. J. Intell. Robot Syst. 53, 247 (2008)

20. Albu-Schaffer, A., Ott, C., Hirzinger, G.: A unified passivity-based control framework for position, torque and impedancecontrol of flexible joint robots. Int. J. of Robot. Res. 26(1), 23–39(2007)

21. Ferretti, G., Magnani, G.A., Rocco, P.: Impedance control forelastic joints industrial manipulators. IEEE Trans. on Robotics andAutomation 20(3), 488–498 (2004)

22. Raibert, M.H., Craig2, J.J.: Hybrid Position/Force control ofmanipulators. ASME J. Dyn. Syst., Meas. Control 103(2), 126–133 (1981)

23. Hu, Y.-R., Vukovich, G.: Position and force control of flexiblejoint robots during contrained motion tasks. Mech. Mach. Theory36(7), 853–871 (2001)

24. Khatib, O.: A unified approach for motion and force control ofrobot manipulators: The operational space formulation. IEEE J.Robotics and Automation 3(1), 43–53 (1987)

25. Yoshikawa, T.: Dynamic hybrid position/force control of robotmanipulators–Description of hand constraints and calculation ofjoint driving force. IEEE J. Robotics and Automation 3(5), 386–392 (1987)

26. Gracia, L., Solanesa, J.E., Munoz-Benaventa, P., Miroc, J.V.,Perez-Vidalb, C., Torneroa, J.: Adaptive sliding mode control for

953J Intell Robot Syst (2020) 100:945–954

Page 10: Robust Position/Force Control of Constrained Flexible

robotic surface treatment using force feedback. Mechatronics 52,102–118 (2018)

27. Ravandi, A.K., Khanmirza, E., Daneshjou, K.: Hybridforce/position control of robotic arms manipulating in uncertainenvironments based on adaptive fuzzy sliding mode control. Appl.Soft Comput. 70, 864–874 (2018)

28. McClamroch, N.H., Wang, D.: Feedback stabilization andtracking of constrained robots. IEEE T. Automat. Contr. 33(5),419–426 (1988)

Publisher’s Note Springer Nature remains neutral with regard tojurisdictional claims in published maps and institutional affiliations.

Cumhur Baspinar studied Control Engineering and Computer Scienceat the Technical University of Istanbul. With the support of a DAADscholarship he completed his doctorate at the University of Wuppertalin Germany on the subject Robot Control. Then he worked in theautomotive industry as a control engineer. After the stations Universityof Kassel and Ostfalia University of Applied Sciences he has beenworking as a professor at the Rhein-Main University of AppliedSciences in Russelsheim since 2012. His research areas include RobotControl and Dynamics and Control of Underactuated MechanicalSystems.

954 J Intell Robot Syst (2020) 100:945–954