Abstract
Both the position and force control of robots are needed in industrial manufacturing, such as in assembly and grinding, etc. In this paper, we concentrate on two issues. One is the system oscillation in traditional hybrid force–position control (HFPC) during switching between force and position control because the diagonal elements in the selection matrix are either 0 or 1. Another issue is the poor force-tracking performance of conventional impedance control, which depends on accurate environmental models. To address these issues, a coupled force–position control (CFPC) method is presented in this paper by combining the proposed adaptive impedance control method with a modified HFPC method. The selection matrix of HFPC is replaced with a weighted matrix . A weighted matrix regulator is designed to realize smooth switching between position and force control by adjusting the matrix weights in real time, and an adaptive impedance control algorithm is proposed to improve the force-tracking performance in complex environments. To verify the feasibility of the CFPC method proposed in this paper, simulations and physical experiments were conducted. The results show that the CFPC method has the advantages of a better force-tracking performance and a smoother switching between position and force control compared to the traditional HFPC method. A grinding experiment was conducted to further compare the performances of the HFPC and CFPC methods. The roughness values of the ground plates were 0.059 μm for the HFPC method and 0.031 μm for the proposed CFPC method, which demonstrates that the proposed CFPC method has a better performance.
1. Introduction
Force and position are two typical control objects in robotic control problems. In many robotic applications, such as peg-in-hole assembly, grinding, and polishing, etc., it is necessary to control both force and position. The robot generally needs to switch frequently between a free space and a contact-manipulating space, where the robot should be compliant. This is an essential problem when designing a compliance controller that has the following advantages: it not only implements smooth changes between the force and position control modes without system oscillation and contact force overshoot but also performs excellently in terms of force tracking in complicated environment.
There are two major compliance control methods, which are impedance control and hybrid force–position control (HFPC) [1,2]. Impedance control, introduced by Hogan [3], can be used for force tracking by adjusting the dynamic relation between the motion and the contact force. This indirect force control method is widely used owing to its easy implementation and robustness [4,5,6,7]. For instance, Yang et al. [8] employed an observer in the robot joint space to estimate the interaction torque of the robot and used impedance control to adjust the position and orientation of the manipulator at the interaction points. However, traditional impedance control depends on an accurate environmental model. The force-tracking performance is poor in an unstructured environment. To solve this problem, some researchers proposed adaptive impedance control methods by combining adaptive control with impedance control. Li et al. [9] proposed an adaptive impedance control algorithm and established a linear quadratic regulator using reinforcement learning to achieve minimum error tracking. Ikeura et al. [10] and Lee et al. [11] presented a variable impedance control method to deal with force-tracking problems in varying environment. Sheng et al. [12] presented an adaptive impedance control method for mirror milling. Mei et al. [13] proposed an adaptive unified impedance and admittance control method to solve the problem of interactions between the robot and the environment. Although the force-tracking performance improved, overshoot in the contact force is always ignored, which may damage the workpiece. Moreover, the impedance control couples force and position, force control always affects positioning accuracy [14], so impedance control cannot be applied for accurate position tracking in a free space.
Unlike impedance control, HFPC divides the robot task space into two orthogonal subspaces and controls the force and position independently [15,16,17]. Ravandi et al. [18] proposed an HFPC method that combines fuzzy logic with traditional sliding mode control to obtain precise force tracking in uncertain environments. Xie et al. [19] presented an HFPC method to achieve motion tracking and force controlling. A hybrid force-position controller based on fuzzy PID was designed to improve the quality of aviation blade grinding [20]. Anh et al. [21] proposed a hybrid force–position control algorithm based on a neural network to improve the performance of the traditional HFPC method. Although this method is robust, the diagonal elements in the selection matrix of a traditional HFPC method only have two states, i.e., 0 and 1. Consequently, when a manipulator switches from position control to force control, oscillation occurs. Furthermore, it is always difficult to judge when to switch the control mode precisely because environmental information is lacking.
Aiming to address the issues mentioned above, our goal is to design a controller that has the advantages of autonomous smooth switching between the force and position control modes, and also having good performance in terms of force tracking in complicated environments. We make some efforts, as follows:
- The selection matrix of HFPC is replaced by weighted matrix , and a weight matrix regulator is designed to achieve automatic smooth switching between position and force control by adjusting the matrix weights in real time according to contact force feedback.
- An adaptive impedance controller is proposed to implement force tracking in complicated environment, and its stability is also analyzed.
- Combining the proposed adaptive impedance controller with the modified HFPC method, we present a coupled force–position control (CFPC) method in this paper. This method has the merits of an automatic smooth switching between the free space and the interaction manipulating space without contact force overshoot and system oscillation.
The remainder of this paper is organized as follows. In Section 2, a Kalman filter is used to estimate the contact force between the manipulator end-effector and the environment. The design of the coupled force–position controller is presented. The adaptive impedance controller is designed, and its stability is also analyzed. In Section 3, simulations and experiments are conducted to demonstrate the performance and applicability of the proposed CFPC method. Finally, a conclusion is drawn in Section 4.
2. Proposal of the Coupled Force–Position Controller
2.1. Contact Force Estimation
The contact force model comprises a robot model and an environmental model. The robot model is represented by a second-order mass-spring-damper model, and the environment is represented as a rigid model, as shown in Figure 1.
Figure 1.
Contact force model for estimation.
The implementation of the proposed CFPC method requires measuring the contact force between the manipulator end-effector and the environment. To obtain an accurate contact force from noisy measurements (the gravity of the tool has been compensated via the gravity-compensation algorithm; assuming the manipulator moves slowly, the influence of the inertia of the tool can be ignored), the Kalman filter, which is a widely applied Bayesian estimation method, is used to estimate the contact force. The state equations are given by
where and denote the system state vector and measurement vector, respectively; ; ; and represent force and torque measured by the six-axis force–torque sensor, respectively; and and are expressed as follows:
The system and the measurement models can be expressed as follows:
where and denote process noise and measurement noise, respectively. Equations (3) and (4) can be discretized as follows:
where
, represents the force signal at the k-th moment, and the iterative process of the Kalman filter is determined by the following Equations [22]:
where , , , , , and denote the process noise, Kalman gain, measurement noise, covariance, predictive system sate, and predictive covariance, respectively.
2.2. CFPC Modeling
The contact process between the robot and the environment can be divided into two phases: the first phase is the robot moving in a free space, and the second phase is robot’s contact with the environment. In such a contact process, the robot needs to switch from position control to force control correspondingly. The traditional HFPC method switches between force and position control using a selection matrix in the controller. However, each diagonal element in the selection matrix of the traditional HFPC method is either 0 or 1, the system oscillates when switching from one control mode to the other, and it is always difficult to judge when to switch the control mode precisely in complex environments. To address this problem, we replaced the selection matrix with the weighted matrix . The control block diagram of the proposed CFPC is shown in Figure 2. and stand for the desired trajectory and desired force, and denotes the identity matrix. We also designed a weight matrix regulator to realize automatic smooth switching between position and force control by adjusting the matrix weights in real time according to contact force feedback. The matrix weights are adjusted in Algorithm 1. is the contact force between the end-effector of the manipulator and the environment, is the contact force threshold, is the exponent that determines the transition curve of the weights and is set according to different requirements of force sensitivity, and is the diagonal element of .
| Algorithm 1. Weight Adjustment |
| Input , , if , else if , else output |
Figure 2.
Control block diagram of the proposed CFPC method.
2.3. Force Controller Design
Generally, the commercial manipulator performs position tracking excellently, so we merely focus on the force controller design. Impedance control has the advantage of an easy implementation, but its force-tracking performance is poor in complex environments, since it depends on an accurate environmental model [23]. To overcome this limitation, we propose an adaptive impedance control algorithm to improve the performance of force tracking.
Figure 3 shows the block diagram of the proposed adaptive impedance control method. The control algorithm can be expressed as folles:
where , , , , and denote trajectory sent to the robot, contact force between the end-effector and environment, mass, damping, and stiffness, respectively.
Figure 3.
Adaptive impedance controller.
Without loss of generality, we study the one-dimensional case. Equation (12) can be rewritten as follows:
As the accurate environmental stiffness is unknown, reference trajectory is difficult to obtain. Therefore, the trajectory can be replaced with the environmental location [24], and Equation (13) can be expressed as follows:
By letting position perturbation , Equation (14) becomes the following:
Because an error exists between the actual and the measured environmental locations, estimation should be performed. Let denote the estimation of the environmental location and stand for the estimated error of the environmental location, which can be expressed as . Define ; then, Equation (15) can be rewritten as follows:
where and are time-varying parameters, indicating the persistent force-tracking error.
We propose the following adaptive impedance control algorithm:
where
with and being adjusted according to the force error. and denote the sampling period and update rate of the system, respectively.
2.4. Stability Analysis of the Force Controller
In this section, we analyze the stability of the force controller we designed in this paper. To analyze the stability of the force controller, we first substitute (18) and (19) into (17) to obtain
It follows that
According to the environmental model , we can obtain
where denotes environmental stiffness.
Upon substituting (22) into (21), we obtain
It follows that
Let , , and . Equation (24) can be rewritten as
and n elements of and series can be discretized as [24],
Using the common initial value of zero for and , Equation (25) becomes
in which the Laplace transformation gives
From (29), we can obtain the stability condition of the system:
Assuming that is large and that is small, such that , . Equation (30) can be rewritten as
According to Routh’s stability criterion, we obtain
and the stable condition of the system is given as follows:
The steady-state error of the stable system can be obtained by Laplace transform:
Assuming that the input of the system is a step function, ; when , we have . Therefore, the contact force between the end-effector and the environmental approaches the desired force as . This fact shows that the adaptive impedance controller designed in this paper is stable. In Section 3, We also confirm this through simulations and experiments, in which a complex input function in the system provides a tracking error close to zero.
3. Simulations and Experiments
3.1. Simulations
To verify the effectiveness and performance of the proposed controller, we used a Python implementation to simulate CFPC. We compared the force-tracking performance on a plane, a slope, and a complex surface using HFPC and CFPC. The simulation parameters are listed in Table 1, and the simulation results are shown in Figure 4, Figure 5 and Figure 6.
Table 1.
Simulation parameters.
Figure 4.
Simulations on plane surface. Force tracking using (a) the HFPC and (b) proposed CFPC methods. (c) Position tracking. (d) Weighted parameter .
Figure 5.
Simulations on sloped surface. Force tracking using (a) the HFPC and (b) proposed CFPC methods. (c) Position tracking. (d) Weighted parameter .
Figure 6.
Simulations on complex surface. Force tracking using (a) the HFPC and (b) proposed CFPC methods. (c) Position tracking. (d) Weighted parameter .
Figure 4a, Figure 5a, and Figure 6a show the variable force tracking of HFPC on the plane, sloped, and complex surfaces, respectively. While switching between position and force control, the system oscillates and an overshoot occurs for large tracking forces. Figure 4b, Figure 5b, and Figure 6b show the variable force tracking of the proposed CFPC method on the plane, sloped, and complex surfaces. The contact force approaches the desired force smoothly without overshoot. The results of the position tracking are shown in Figure 4c, Figure 5c, and Figure 6c. The position-tracking error results in a large force-tracking error in the initial phase when using HFPC. The weights of position control and force control are shown in Figure 4d, Figure 5d, and Figure 6d, verifying the smooth change.
3.2. Experiments
The proposed CFPC method was also verified through physical experiments. The experimental platform mainly comprises a computer (Intel Core i7: Intel Corporation, Ubuntu 18.04, Python 2.7), robot controller, robot body (Universal Robots UR5: Universal Robots A/S Energivej 25 DK-5260, Odense, Danmark, maximum load: 5 kg, communication frequency: 125 Hz), six-axis force–torque sensor (Universal Robots NRS-6050-D80, maximum force/torque: ±500 N/±10 Nm, sampling rate: <1000 Hz, force/torque resolution: 0.015 N/0.312 × 10−3 Nm), and signal converter. The details of the experimental platform are shown in Figure 7.
Figure 7.
Schematic of the experimental platform.
To demonstrate the feasibility of the proposed CFPC method, we compared the performances of the HFPC and CFPC methods. We conducted constant force-tracking and variable force-tracking experiments on sloped, curved, and complicated surfaces, as shown in Figure 8a,b and Figure 9. The results are shown in the Video S1. The results of force-tracking experiments on sloped, curved surfaces are shown in Figure 10, Figure 11, Figure 12 and Figure 13. The constant force and variable force-tracking experiments on sloped and curved surfaces in Figure 10a, Figure 11a, Figure 12a, and Figure 13a show that the HFPC method demonstrates a large overshoot of contact forces when switching between position and force control and that system oscillation also occurs. In contrast, Figure 10b, Figure 11b, Figure 12b, and Figure 13b show that the proposed CFPC method can realize smooth switching between position and force control. Figure 10d, Figure 11d, Figure 12d, and Figure 13d show the smooth transition between position and force control. The results of position tracking are shown in Figure 10c, Figure 11c, Figure 12c, and Figure 13c.
Figure 8.
Experimental platform when executing (a) force tracking on a sloped surface and (b) force tracking on curved surface, and (c) when grinding.
Figure 9.
Experimental platform when executing force tracking on a complex surface.
Figure 10.
Constant force-tracking experiment on a sloped surface. Force tracking using (a) the HFPC and (b) proposed CFPC methods. (c) Position tracking. (d) Weighted parameter .
Figure 11.
Variable force-tracking experiment on a sloped surface. Force tracking using (a) the HFPC and (b) proposed CFPC methods. (c) Position tracking. (d) Weighted parameter .
Figure 12.
Constant force-tracking experiment on curved surface. Force tracking using (a) the HFPC and (b) proposed CFPC methods. (c) Position tracking. (d) Weighted parameter .
Figure 13.
Variable force-tracking experiment on a curved surface. Force tracking using (a) the HFPC and (b) proposed CFPC methods. (c) Position tracking. (d) Weighted parameter .
We also conducted this experiment in a complicated environment where the controller needs to switch frequently between the position and force control. This complicated environment includes a sloped, a curved surface, and a step surface. The experiment results are shown in Figure 14. The overshoot of contact forces and system oscillation are obvious when using HFPC, as shown in Figure 14a, because the traditional HFPC depends on accurate environmental information and we do not know exactly when to apply position or force control in complicated environments. Unlike the HFPC method, the CFPC method can realize automatic smooth switching between position and force control according to the contact force feedback, and there is no overshoot of contact forces, as shown in Figure 14b. The results of position tracking are shown in Figure 14c, and the weights of position control and force control are shown in Figure 14d.
Figure 14.
Force-tracking experiment on a complex surface. Force tracking using (a) the HFPC and (b) proposed CFPC methods. (c) Position tracking. (d) Weighted parameter .
Finally, we conducted a grinding experiment that changes the position control to force control during the working process to further demonstrate the performance of the proposed CFPC in practical applications. The desired grinding force was set to 10 N on a Q235 plate with an initial roughness of 0.49 μm, and the motor speed was set to 3000 rpm. The grinding devices is shown in Figure 8c.
The grinding force obtained using CFPC approaches the desired force smoothly (Figure 15b), whereas the grinding force obtained using HFPC presents an overshoot (Figure 15a). As seen from Figure 15d, the control mode switches gradually. The results of the position tracking are shown in Figure 15c, and the grinding results are shown in Figure 16. The roughness values of the ground plates are 0.059 μm for HFPC and 0.031 μm for the proposed CFPC. The roughness is measured in the time interval [0, 8] s. The grinding experiment further demonstrates that the proposed CFPC can realize smooth switching between position and force control, which leads to better grinding performances.
Figure 15.
Grinding experiment on the plane. Force tacking using (a) the HFPC and (b) proposed CFPC methods. (c) Position tracking. (d) Weighted parameter .
Figure 16.
(a) Grinding experiment results and (b) measured roughness from the HFPC (left photograph) and proposed CFPC (right photograph) methods.
4. Conclusions
To realize smooth switching between a free space and a contact manipulating space, a CFPC method was proposed by combining the proposed adaptive impedance control method with the modified HFPC method. This control method can provide an automatic smooth transition between position and force control according to the contact force feedback, thereby solving the oscillation problem of traditional HFPC. Moreover, the proposed CFPC method has good force-tracking performance in complicated environments. The stability of the force controller has also been analyzed. The feasibility of the proposed CFPC method was evaluated through constant and variable force-tracking simulations, as well as physical experiments on sloped, curved, and complicated surfaces. A grinding experiment was conducted to compare the performances of the HFPC and the proposed CFPC methods, which showed that the proposed CFPC can provide better roughness compared to the HFPC method. The simulations and experiments demonstrated that the proposed CFPC method could realize automatic smooth switching between free space and interaction space without system oscillation and contact force overshoot.
Our future work will focus on further improving the response ability of the system.
Supplementary Materials
The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/act11060150/s1, Video S1: Dynamic contact force tracking in uncertain environment.
Author Contributions
X.S. contributed the central idea and wrote the initial draft of the paper. B.L., W.X., and Z.L. contributed to refining the ideas and revised this paper. All authors have read and agreed to the published version of the manuscript.
Funding
This work is supported by the Key-area Research and Development Program of Guangdong Province under Grant 2019B090915001 and partly supported by Shenzhen Research and Development Program of China under Grant No. JSGG20180504170011639.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Doulgeri, Z.; Arimoto, S. A force commanded impedance control for a robot finger with uncertain kinematics. Int. J. Robot Res. 1999, 18, 1013–1029. [Google Scholar] [CrossRef] [Scilit]
- Kang, G.; Oh, H.; Seo, J.; Kim, U.; Choi, H.R. Variable admittance control of robot manipulators based on human intention. IEEE/ASME Trans. Mechatron. 2019, 24, 1023–1032. [Google Scholar] [CrossRef] [Scilit]
- Hogan, N. Impedance control: An approach to manipulation. Part I—Theory. Part II—Implementation. Part III—Applications. J. Dyn. Syst. Meas. Control 1985, 107, 1–24. [Google Scholar] [CrossRef] [Scilit]
- Gea, J.; Kirchner, F. Modelling and simulation of robot arm interaction forces using impedance control. IFAC Proc. Vol. 2008, 41, 15589–15594. [Google Scholar] [CrossRef] [Scilit]
- Caccavale, F.; Chiacchio, P.; Marino, A.; Villani, L. Six-DOF impedance control of dual-arm cooperative manipulators. IEEE/ASME Trans. Mechatron. 2008, 13, 576–586. [Google Scholar] [CrossRef] [Scilit]
- Kim, T.; Yoo, S.; Seo, T.; Kim, H.; Kim, J. Design and force-tracking impedance control of 2-DOF wall-cleaning manipulator via disturbance observer. IEEE/ASME Trans. Mechatron. 2020, 24, 1487–1498. [Google Scholar] [CrossRef] [Scilit]
- Kim, D.; Koh, K.; Cho, G.; Zhang, L. A robust impedance controller design for series elastic actuators using the singular perturbation theory. IEEE/ASME Trans. Mechatron. 2020, 25, 164–174. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Yang, C.; Peng, G.; Li, Y.; Cui, R.; Cheng, L.; Li, Z. Neural networks enhanced adaptive admittance control of optimized robot-environment interaction. IEEE Trans. Cybern. 2019, 49, 2568–2579. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Li, Z.; Liu, J.; Huang, Z.; Peng, Y.; Pu, H.; Ding, L. Adaptive impedance control of human-robot Cooperation using reinforcement learning. IEEE Trans. Ind. Electron. 2017, 64, 8013–8022. [Google Scholar] [CrossRef] [Scilit]
- Ikeura, R.; Inooka, H. Variable impedance control of a robot for cooperation with a human. In Proceedings of the 2015 IEEE International Conference on Robotics and Automation (ICRA), Nagoya, Japan, 21–27 May 1995; pp. 3097–3102. [Google Scholar]
- Lee, K.; Buss, M. Force tracking impedance control with variable target stiffness. IFAC Proc. Vol. 2008, 41, 6751–6756. [Google Scholar] [CrossRef] [Scilit]
- Sheng, X.; Zhang, X. Fuzzy adaptive hybrid impedance control for mirror milling system. Mechatronics 2018, 53, 20–27. [Google Scholar] [CrossRef] [Scilit]
- Mei, C.; Yuan, J.; Guan, R. Adaptive unified impedance and admittance control using online environment estimation. In Proceedings of the 2018 IEEE International Conference on Robotics and Biomimetics, Kuala Lumpur, Malaysia, 12–15 December 2018; pp. 1864–1869. [Google Scholar]
- Huynh, B.; Wu, C.; Kuo, Y. Force/position hybrid control for a Hexa robot using gradient Descent Iterative Learning Control Algorithm. IEEE Access 2019, 7, 72329–72342. [Google Scholar] [CrossRef] [Scilit]
- Li, J.; Liu, L.; Wang, Y.; Liang, W. Adaptive hybrid impedance control of robot manipulators with robustness against environment’s uncertainties. In Proceedings of the 2015 IEEE International Conference on Mechatronics and Automation (ICMA), Beijing, China, 2–5 August 2015; pp. 1846–1851. [Google Scholar]
- Peng, J.; Ding, S.; Yang, Z.; Zhang, F. Neural network-based hybrid position/force tracking control for robotic systems without velocity measurement. Neural Process Lett. 2020, 51, 1125–1144. [Google Scholar] [CrossRef] [Scilit]
- Lu, Z.; Huang, P.; Liu, Z.; Chen, H. Fuzzy observer-based hybrid force/position control design for a multiple-sampling-rate bimanual teleoperation system. IEEE Trans. Fuzzy Syst. 2019, 27, 1383–1396. [Google Scholar] [CrossRef] [Scilit]
- Ravandi, A.; Khanmirza, E.; Daneshjou, K. Hybrid force/position control of robotic arms manipulating in uncertain environment based on adaptive fuzzy sliding mode control. Appl. Soft Comput. 2018, 70, 864–874. [Google Scholar] [CrossRef] [Scilit]
- Xie, S.; Ren, J. A Hybrid position/force controller for Joint Robots. In Proceedings of the 2021 IEEE International Conference on Robotics and Automation, Xi’an, China, 30 May–5 June 2021; pp. 6415–6421. [Google Scholar]
- Zhang, H.; Li, L.; Zhao, J.; Zhao, J.; Liu, S.; Wu, J. Design and implementation of hybrid force/position control for robot automation grinding aviation blade based on fuzzy PID. Int. J. Adv. Manuf. Technol. 2020, 107, 1741–1754. [Google Scholar] [CrossRef] [Scilit]
- Anh, H.; Kien, C. Adaptive neural compliant force-position control of serial PAM robot. J. Intell. Robot. Syst. 2018, 89, 351–369. [Google Scholar] [CrossRef] [Scilit]
- Qian, Y.; Yan, R.; Hu, S. Bearing degradation evaluation using recurrence quantification analysis and Kalman filter. IEEE Trans. Instrum. Meas. 2014, 63, 2599–2610. [Google Scholar] [CrossRef] [Scilit]
- Peng, J.; Yang, Z.; Ma, T. Position/Force tracking impedance control for robotic systems with uncertainties based on adaptive Jacobian and neural network. Complexity 2019, 2019, 1–16. [Google Scholar] [CrossRef] [Scilit]
- Jung, S.; Hsia, T.; Bonitz, G. Force tracking impedance control of robot manipulators under unknown environment. IEEE Trans. Control Syst. Technol. 2004, 12, 474–483. [Google Scholar] [CrossRef] [Scilit]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).





















