Next Article in Journal
Constrained Motion Control of an Independent Metering System with Uncertain Loads
Previous Article in Journal
Evaluation and Comparison of SEA Torque Controllers in a Unified Framework
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Impedance Force Control of Manipulator Based on Variable Universe Fuzzy Control

1
School of Information and Electronic Engineering, Zhejiang Gongshang University, Hangzhou 310018, China
2
Control System Laboratory, Graduate School of Engineering, Kogakuin University, Tokyo 163-8677, Japan
*
Author to whom correspondence should be addressed.
Actuators 2023, 12(8), 305; https://doi.org/10.3390/act12080305
Submission received: 24 May 2023 / Revised: 21 July 2023 / Accepted: 24 July 2023 / Published: 25 July 2023
(This article belongs to the Section Control Systems)

Abstract

:
Impedance control is a classic and straightforward control method that finds wide applications in various fields. However, traditional constant impedance control requires prior knowledge of the environment’s stiffness and position information. If the environmental information is unknown, constant impedance control is not capable of handling the task. To address this, this paper proposes a variable universe fuzzy model reference adaptive impedance control method that achieves effective force tracking even in the presence of unknown environmental information. A variable universe fuzzy controller was employed to determine the impedance parameters. The force tracking error and its rate of change were used as two input parameters for the variable universe fuzzy controller, which utilizes fuzzy inference to obtain the incremental values of the impedance parameters. For the introduced model reference controller, a novel adaptive law was employed to obtain the coefficients for contact force and torque. Subsequently, the contact force of the manipulator in Cartesian space was taken as the research object, and a simulation model of a six-joint manipulator was established in MATLAB/Simulink. By comparing it with the constant impedance control method, the feasibility and effectiveness of this control approach were validated.

1. Introduction

The force control of mechanical arms has always been an important research topic in robot control. Traditional position control is no longer sufficient for tasks involving contact-based mechanical arms because during operation, it is necessary to consider the contact force between the robot’s end effector and the environment and adjust the contact force through feedback information. In this process, the force perpendicular to the contact surface is dominant, and this force is nonlinear as the robot end effector moves. Therefore, the perception and control of force exerted on the robot’s end effector have long been an area of exploration for researchers, mainly focusing on the field of variable impedance control [1].
Since Neville Hogan [2] first proposed impedance control, extensive research has been conducted both domestically and internationally on robot force control based on impedance control. In reference [3], the authors employed reinforcement learning (RL) to obtain optimal impedance parameters and proposed a method that combines dynamic matching and linearization approaches to predict the state output distribution. This significantly improved the cost function for evaluating strategies. In references [4,5,6], in order to handle unmodeled dynamic models, the authors utilized neural networks (NNs) to approximate uncertain dynamic models. Reference [7] proposed a non-regressive adaptive model reference approach that utilizes a gradient descent algorithm to design a fuzzy estimator. This estimator allows for the adjustment of controller parameters in different physical environments and under uncertainties. The adaptive controller in reference [8] employs the Szász–Mirakyan operator as a universal approximator. According to the general approximation theorem, the Szász–Mirakyan operator, as an extension of Bernstein polynomials, can approximate uncertainties, including unmodeled dynamics and external disturbances. In reference [9], the authors proposed a method for the real-time computation of mechanical arm damping using bilateral logic functions, ensuring that the arm’s damping remains within an appropriate range. Fuzzy neural networks also find extensive applications in the field of robot control [10,11,12]. References [13,14,15] used a sliding-mode controller to compensate system input. There are also some parameter compensation control methods [16,17], such as impedance controllers that compensate for the position or impedance parameters to improve control accuracy. The combination of an adaptive Kalman filter with variable time intervals and a calibration method, proposed in reference [18], helps in estimating force and torque in the absence of force/torque sensors. It has been proven that with unknown environmental information, variable impedance control is more effective than constant impedance control [19,20,21,22,23] because constant impedance control is difficult to achieve for tasks in complex environments, and it is challenging to accurately measure impedance information. For example, challenges arise in accurately acquiring the reference trajectory of the end effector, as well as in determining the position and stiffness of the environment in practical scenarios. This is also the reason why a significant number of researchers have shifted their focus to studying adaptive impedance force control.
Considering the aforementioned current research status, both designing parameter estimators and modeling system dynamic models are difficult. So, this paper takes inspiration from the concept of model reference impedance control [24,25,26] and proposes a variable universe fuzzy model reference adaptive impedance controller to dynamically adjust impedance parameters online. Fuzzy, as the name suggests, means imprecise or incomplete information gathering. The majority of systems in the real world can be described as fuzzy systems because disturbances always exist. Adopting the idea of fuzzy control aims to enable systems to imitate human perception and make reasonable decisions through inference, similar to how humans rely on their intuition. It is a way to achieve precise control through imprecise means. By treating the damping parameter and stiffness parameter as undetermined variables, a variable universe fuzzy controller can be utilized to obtain suitable damping and stiffness values in real time. By controlling the contact force of the end effector to achieve a smooth transition and eliminate overshoot, the output force of the end effector can accurately follow the desired reference force, and it has been demonstrated that the proposed adaptive variable impedance approach ensures system stability. Finally, a simulation model was constructed in MATLAB/Simulink to implement the proposed control strategy, and it was compared with constant impedance control. The performance of these methods was compared in terms of trajectory tracking and contact force, demonstrating that the proposed control method surpasses the constant impedance control method.
The structure of this paper is outlined as follows: Section 2 presents the manipulator–environment contact model and the position-based impedance control model. Section 3 introduces the model reference adaptive controller and the proposed variable universe fuzzy model reference adaptive impedance controller. It also includes the verification of the stability of the impedance control system with multiple variable impedance parameters. Section 4 is a description of the dynamic model of the controlled system. Section 5 provides the simulation and result analysis. Finally, Section 6 presents the conclusions of this paper.

2. Description of the Model

In this section, we present the interaction model of the system utilized in this study. Subsequently, we discuss position-based impedance control and conduct an analysis of the steady-state error.

2.1. Model of Manipulator and Environment

To model the contact force between the manipulator and the environment, the manipulator can be represented by a second-order mass–spring–damper system, and the environment can also be described as a second-order mass–spring–damper system. However, in this paper, the environment is represented by a rigid system. We denote the stiffness of the environment by k e and the mass, damping, and stiffness of the robot’s end effector by m, d, and k, respectively. Let f represent the current contact force exerted by the manipulator on the environment once contact between them is established.
The process of the manipulator coming into contact with the environment can be divided into three stages, as depicted in Figure 1: pre-contact, contact initiation, and post-contact.
Figure 2 illustrates the contact force between the manipulator and the environment during the contact process. It can be observed that in the first stage, there was no contact between the manipulator and the environment. In the second stage, the manipulator underwent adjustments and stabilization, and in the third stage, the system reached a stable state. Since this paper focuses on the contact force between the manipulator and the environment, the primary focus is on the latter two stages.

2.2. Position-Based Impedance Control for Force Tracking

Because a robot is a rigid system that exhibits an overshoot when in contact with the environment, force feedback information is utilized to minimize the extent of the overshoot and demonstrate compliance during the contact phase. Similar to the earlier section, the contact model between the manipulator and the environment is depicted as a second-order mass–spring–damper system, as shown in Figure 3.
A significant body of literature demonstrates the widespread utilization of force-based impedance control for force tracking purposes. However, the majority of commercial robots solely offer position-based impedance control, rendering the achievement of force-based impedance control unfeasible with such robots. Nevertheless, position-based impedance control is commonly regarded as a means to enable compliant contact for robots. Position-based impedance control is illustrated in Figure 4.
In Figure 4, x r and x denote the reference position trajectory and the actual output position trajectory of the manipulator, respectively. x e indicates the position of the environment. Since the environment is assumed to be rigid, it can be modeled as a spring with a stiffness of k e . The position compensation Δ x adheres to the impedance relation, expressed as follows:
m Δ x ¨ + d Δ x ˙ + k Δ x = f r f = Δ f
where m, d, and k represent inertia, damping, and stiffness parameters, respectively. Δ f represents the discrepancy between the reference force and the actual feedback measurement value, given as Δ f = f r f , where f r is the designated reference force, f is the contact force of the end effector, and Δ x represents the error between the actual position and the reference position, expressed as Δ x = x x r .
The subsequent section involves the analysis of the steady-state error in impedance control. In general, the environmental model depicted in Figure 1 can be mathematically represented by Equation (2).
f = k e ( x e x )
Based on Equation (2) and Δ f = f r f , the position of the end effector can be expressed as shown in Equation (3).
x = f k e + x e = 1 k e ( f r Δ f ) + x e
By substituting Equation (3) into Equation (1), we obtain Equation (4).
m Δ f ¨ + d Δ f ˙ + ( k + k e ) Δ f = m f ¨ r + d f ˙ r + k f r k k e ( x e x r )
According to Equation (4), the steady-state error of the contact force can be expressed as Equation (5) when the manipulator is in a stable state.
e s s = k k + k e ( f r k e ( x e x r ) )
However, considering the inherent difficulty of acquiring precise environmental stiffness and position information beforehand, the parameter deviation is employed to represent the actual parameters.
x a c t = x e + Δ x e k a c t = k e + Δ k e
where Δ x e represents the deviation in the environmental position, and Δ k e represents the deviation in environmental stiffness. By replacing x e and k e with x a c t and k a c t , the steady-state error of the manipulator can be further expressed as shown in Equation (7).
e s s = k k + x a c t ( f r k a c t x a c t x r )
From Equation (5), if e s s = 0 , then x r satisfies x r = x e f r / k e ; however, it is not possible to know about k e and x e in advance. So, in Equation (7), theoretically, setting the stiffness parameter of the impedance model to k = 0 can eliminate the steady-state error.

3. Adaptive Controller

In this section, we discuss the model reference adaptive controller (MRAC) and the proposed variable universe fuzzy model reference adaptive impedance controller (VUF-MRAIC). We also demonstrate the stability conditions of the system when multiple variable parameters are present.

3.1. Model Reference Adaptive Controller

This study employs a single-input single-output (SISO) model reference adaptive controller, which refers to a control method that expects an ideal output for a controlled object with unknown parameters. By making the output of the reference model consistent with the output of the controlled object, the desired output is obtained. In this study, the basic structure of the model reference adaptive control system used when the coefficient of the controlled object is unknown is shown in Figure 5.
In Figure 5, u ( t ) represents the control input, y ( t ) represents the actual output of the controlled object, y m ( t ) represents the model output, e d ( t ) represents the error equation, and k ( t ) denotes an adaptive adjustable coefficient. To ensure that the output of the reference model aligns with the actual output, adaptive control is achieved by adjusting the value of k ( t ) in the controller through an adaptive mechanism.
Now, considering a single-input single-output system, the controlled object and reference model can be represented by dynamic Equations (8) and (9).
A m ( p ) y ( t ) = b B m ( p ) u ( t )
A m ( p ) y m ( t ) = B m ( p ) r ( t )
where A m ( p ) and B m ( p ) are coefficient matrix Herwitz polynomials of the output system and input system, respectively. r ( t ) is the input of the reference model, and y m ( t ) is the output of the reference model. In this context, p is the differential operator, and A m ( p ) and B m ( p ) are expressed by the following equations.
A m ( p ) = p n + φ n 1 p n 1 + + φ 1 p + φ 0
B m ( p ) = ϕ q p q + ϕ q 1 p q 1 + + ϕ 1 p + ϕ 0
where φ i , i = 0 , 1 , , n 1 , ϕ i , i = 0 , 1 , , q represents the coefficients of matrix elements, and n and q are the orders of higher-order derivatives. When the error is defined as e ( t ) = y ( t ) y m ( t ) , Equation (12) can be derived.
e ( t ) = B m ( p ) A m ( p ) b u ( t ) 1 b r ( t )
If it is determined that D ( p ) satisfies the condition where D ( p ) B m ( p ) / A m ( p ) is strongly positive, based on D ( p ) e ( t ) = e d ( t ) , Equation (13) can be derived.
e d ( t ) = D ( p ) B m ( p ) A m ( p ) b u ( t ) 1 b r ( t )
Subsequently, the control input u ( t ) and the coefficient adjustment rules are represented by Equations (14) and (15), respectively.
u ( t ) = k ( t ) r ( t )
k ˙ ( t ) = Γ r ( t ) e d ( t ) , Γ > 0
Γ is a gain that can be defined as any value greater than zero. Furthermore, the derivative of the output is utilized to represent the state variable. The variables are represented as follows.
y ( t ) = y 1 ( t ) y 2 ( t ) , y 1 ( t ) = y ( t ) , y 2 ( t ) = y ˙ ( t )
y m ( t ) = y m 1 ( t ) y m 2 ( t ) , y m 1 ( t ) = y m ( t ) , y m 2 ( t ) = y ˙ m ( t )
So, the linear combination of e d ( t ) as a state variable can be obtained and expressed as in Equation (18).
e d ( t ) = D ( p ) e ( t ) = ( y 2 ( t ) y m 2 ( t ) ) + 2 ( y 1 ( t ) y m 1 ( t ) )
Therefore, based on Equations (15) and (18), it can be concluded that the adaptive mechanism depicted in Figure 5 can be represented by Equation (19).
k ( t ) = Γ r ( t ) e d ( t )
k ( t ) in Equation (19) is the obtained adaptive adjustable coefficient.

3.2. Variable Universe Fuzzy Controller

This section is divided into two parts: the introduction of the principles of the variable universe fuzzy controller and the design of the variable universe fuzzy controller.

3.2.1. The Principles of the Variable Universe Fuzzy Controller

According to the current research conducted by researchers, the real-time online adjustment of impedance parameters in impedance control is advantageous for accelerating the convergence of contact force and controlling it effectively. It is considered a highly effective control strategy. Therefore, building upon the model reference adaptive control discussed in the previous section, a variable universe fuzzy controller is introduced to dynamically adjust the impedance parameters d and k in real time, aiming to minimize errors.
A fuzzy controller is essentially an interpolator, and higher accuracy requires a greater number of control rules. However, implementing a large number of rules can pose challenges and hinder interpretability, as there is a limit to the number of rules that can be added indefinitely, leading to a phenomenon [27] known as “rule explosion”. The concept of variable universe fuzzy control was first introduced in reference [28], and its principle is illustrated in Figure 6. This approach involves altering the range of the universe to adjust the density of control rules. Contracting the universe is equivalent to adding more control rules, while expanding the universe is equivalent to reducing control rules. This technique enhances the sensitivity of the fuzzy controller.

3.2.2. Design of the Variable Universe Fuzzy Controller

However, the scaling factor of the universe plays a crucial role in determining the control accuracy. Therefore, the selection of the scaling factor is of great importance. Reference [28] imposes strict constraints on the choice of scaling factors. Currently, commonly used scaling factors include exponential and integral types.
α ( x ) = ( x / E ) τ + ε , τ > 0 , ε > 0
α ( x ) = 1 λ ( k x 2 ) , λ ( 0 , 1 ) , k > 0
β ( x ) = K I 0 t ω ( E , E C ) e * ( τ ) d τ + β ( 0 )
Equations (20) and (21) represent the scaling factors for the variable universe fuzzy input, while Equation (22) represents the scaling factors for the variable universe fuzzy output. In previous research, researchers commonly utilized Equation (21) as the scaling factor for the variable universe fuzzy input. However, this expression includes two uncertain parameters, making it challenging to adjust these parameters during the actual application process. Moreover, performing integral or exponential operations at each step of the system may exceed the processing capacity of the processor. To simplify the process of obtaining the scaling factor, this paper adopts a two-stage fuzzy controller. The principle of the two-stage fuzzy controller is introduced below.
Considering the above explanation of the scaling factor, it is a very complicated process to understand the design of the scaling factor. The structure diagram of the two-stage fuzzy controller is shown in Figure 7.
The working principle of this two-stage fuzzy controller is as follows: Fuzzy controller 1 takes the input variables e ( t ) and e ˙ ( t ) , which represent the errors and the variation in the errors, respectively. Fuzzy controller 1 utilizes e ( t ) and e ˙ ( t ) to perform fuzzy inference and determine the scaling factor. The scaling factor is then applied to fuzzy controller 2 to achieve the contraction or expansion of the universe. In Figure 7, β i ( e ) represents the output scaling factor of fuzzy controller 2, which is calculated in real time based on the system error. The design methods for fuzzy controller 1, fuzzy controller 2, and β i ( e ) are discussed in the following sections.
For fuzzy controller 1, a dual-input single-output controller is considered. The error x 1 = | e ( t ) | and the rate of change in error x 2 = | e c ( t ) | are utilized as inputs to fuzzy controller 1, and α i ( i = 1 , 2 ) is employed as the output. The linguistic values of the input and output language variables are defined as three levels: “Big (B)”, “Medium (M)”, and “Small (S)”. The universe of the input variables x 1 and x 2 corresponds to the range of error and error change rate, which is defined as x 1 , x 2 : [ 0 , 6 ] , and the universe of α i ( i = 1 , 2 ) is α i [ 0 , 1 ] . In this case, Gaussian functions are used as the membership functions for the input and output language variables of fuzzy controller 1, as depicted in Figure 8.
Given that the purpose of the universe scaling factor is to expand the universe of fuzzy controller 2 for large inputs and contract it for small inputs, the self-tuning rules can be formulated using the “IF THEN” format:
I F ( x i i s B ) T H E N ( α i i s B ) I F ( x i i s M ) T H E N ( α i i s M ) I F ( x i i s S ) T H E N ( α i i s S )
We take the larger of the inferred values α 1 and α 2 as the output of fuzzy controller 1, represented by Equation (23).
α ( t ) = max { α 1 , α 2 }
For fuzzy controller 2, a dual-input and single-output configuration is considered. The inputs are e ( t ) = Δ f and e c ( t ) = Δ f ˙ , and the outputs are Δ d and Δ k . It is important to note that Δ d and Δ k are not output by the same fuzzy controller, but rather by two separate sets of fuzzy control systems. The initial universe of the input is U i n i t : [ 5 , 5 ] , and the initial universe of the output is V i n i t = [ 3 , 3 ] . So, the input universe of fuzzy controller 2 can be dynamically represented by X i = [ 5 α ( t ) , 5 α ( t ) ] , and the output universe of fuzzy controller 2 is Y i = β i ( e ) u ( t ) , i = 1 , 2 . The selection of β i ( e ) is slightly more complex, and β i ( e ) should constantly change with the change in e ( t ) . When the error is large, the control effect is stronger, and when the error is small, the control effect is weaker. The fuzzy controller is a nonlinear function, so the selection of β i ( e ) should also be nonlinear. After the simulation, selecting a proportional form of the scaling factor has a better effect, as shown in Equation (24).
β 1 , 2 ( e i ( t ) ) = e i ( t ) U i + ω
where e i ( t ) is the error E of the i t h input to the fuzzy controller, U i is the universe corresponding to the i t h input, ω is a positive number that is small enough, and β i , i = 1 , 2 is the universe scaling factor of the output obtained from the i t h calculation. So, the input and output universes after scaling can be expressed as Equation (25).
X 1 , 2 ( t ) = [ α ( t ) U i n i t , α ( t ) U i n i t ] Y 1 , 2 ( t ) = [ β 1 , 2 ( e ( t ) ) V i n i t , β 1 , 2 ( e ( t ) ) V i n i t ]
U i n i t and V i n i t in the above equation represent the initial universes of the input and output, respectively. The input and output universes are described using seven levels: “Negative Big (NB)”, “Negative Medium (NM)”, “Negative Small (NS)”, “Zero (ZO)”, “Positive Small (PS)”, “Positive Medium (PM)”, and “Positive Big (PB)”. The membership function curves for the input and output language variables of fuzzy controller 2 are illustrated in Figure 9.
The rules of fuzzy controller 2 can be expressed in the form of I F A N D T H E N as follows:
(1) I F the input Δ f is negative A N D Δ f ˙ is negative, indicating that the force error Δ f is increasing, T H E N k increases and d decreases;
(2) I F the input Δ f is negative A N D Δ f ˙ is positive, indicating that the force error Δ f is decreasing, T H E N k and d remain constant;
(3) I F the input Δ f is positive A N D Δ f ˙ is positive, indicating that the force error Δ f is increasing, T H E N k decreases and d increases;
(4) I F the input Δ f is positive A N D Δ f ˙ is negative, indicating that the force error Δ f is decreasing, T H E N k and d remain constant.
With the above design principle, the fuzzy rule set in Table 1 can be obtained by using the I F A N D T H E N rules of fuzzy controller 2 and combined with control experience.
The VUF-MRAIC control procedures proposed in this paper are summarized as follows:
Step 1: Use Equation (26) to obtain the values of the i-th input membership function of x and the j-th input membership function of y.
ω i j = min { μ A i ( x ) , μ B j ( y ) } , i , j = 1 , 2 , , 7
Step 2: Use ω i j to calculate the fuzzy output μ o i j ( z ) value, and calculate the k-th output membership function according to each rule μ o k ( z ) as in Equation (27).
μ o i j ( z ) = min { ω i j , μ o k ( z ) } , k = 1 , 2 , , 7
Step 3: Use Equation (28) to determine the fuzzy set μ o u t ( z ) of output z.
μ o u t ( z ) = max { μ o 11 ( z ) , μ o 12 ( z ) , , μ o 76 ( z ) , μ o 77 ( z ) }
Step 4: Through the Defuzzification process of the barycenter method, obtain the outputs Δ d and Δ k , which are expressed in Equation (29), by using the reasoning result.
Δ d = v = 1 n μ o u t ( z v ) z v v = 1 n μ o u t ( z v ) , Δ k = p = 1 n μ o u t ( z p ) z p p = 1 n μ o u t ( z p )
Step 5: Use Equation (30) to convert the output damping increment and stiffness increment into the actual contact force of the manipulator.
f = f r m Δ x ¨ + ( d + Δ d ) Δ x ˙ + ( k + Δ k ) Δ x
Figure 10 and Figure 11 are the flow chart of variable universe fuzzy control and the overall system diagram, respectively.

3.3. Proof of System Stability Conditions

When researchers choose the inertia parameter M, damping parameter D, and stiffness parameter K to control the target system, if these parameters are constant and symmetric positive definite, the system exhibits asymptotic stability. However, in the proposed control method, the dynamic changes in the impedance parameters are taken into account through the variable universe fuzzy controller. In this case, M is constant, whereas both D and K become time-varying. Therefore, the stability of a system with multiple time-varying parameters needs to be considered.
Experience in variable stiffness impedance control has shown that reasonable variable stiffness does not exhibit a tendency toward instability. However, this study focuses on the simultaneous variation in damping and stiffness. Lyapunov functions are considered to determine system stability. In adaptive control, it is typical to construct an energy function that combines the weighted sum of the velocity error and position error. This approach can also be applied to varying stiffness and damping control. The Lyapunov function chosen for this purpose is displayed in Equation (31).
V ( Δ x ˙ , Δ x , t ) = 1 2 ( Δ x ˙ + ψ Δ x ) T M ( Δ x ˙ + ψ Δ x ) + Δ x T ζ ( t ) Δ x
In the chosen Lyapunov function, Δ x represents the position error. It can be observed that by selecting certain positive constants ψ , ζ ( t ) satisfies semi-positive definiteness for all t > 0 . The selection of this function represents a generalized form of the Lyapunov function, enabling the establishment of adequate stability constraints, regardless of the system’s state. The following proof determines the conditions under which the system can achieve stability.
In Equation (31), ζ ( t ) represents a symmetric, semi-positive definite, and continuously differentiable matrix. Its differentiation can be performed by using Equation (32).
V ˙ ( Δ x ˙ , Δ x , t ) = ( Δ x ˙ + ψ Δ x ) T M ( Δ x ¨ + ψ Δ x ˙ ) + Δ x T ζ ( t ) Δ x ˙ + 1 2 Δ x T ζ ˙ ( t ) Δ x
The impedance model can be represented by Equation (33).
M Δ x ¨ + D Δ x ˙ + K Δ x = Δ f
By substituting Δ f = 0 from (33) into (32) and reorganizing it, Equation (34) can be obtained.
V ˙ ( Δ x ˙ , Δ x , t ) = Δ x ˙ T [ ψ M D ( t ) ] Δ x ˙ + Δ x ˙ T [ ζ ( t ) + ψ 2 M K ( t ) ψ D ( t ) ] Δ x + Δ x T 1 2 ζ ˙ ( t ) ψ K ( t ) Δ x
In order to eliminate the cross term between Δ x and Δ x ˙ , ζ ( t ) is defined as in the following Equation.
ζ ( t ) = K ( t ) + ψ D ( t ) ψ 2 M
ζ ˙ ( t ) = K ˙ ( t ) + ψ D ˙ ( t )
ζ ( t ) and ζ ˙ ( t ) are substituted into (34) to obtain Equation (37).
V ˙ ( Δ x ˙ , Δ x , t ) = Δ x ˙ T [ ψ M D ( t ) ] Δ x ˙ + Δ x T 1 2 K ˙ ( t ) + ψ 2 D ˙ ( t ) ψ K ( t ) Δ x
From the above calculation, it can be seen that when
ψ M D ( t ) 0 K ˙ ( t ) + ψ D ˙ ( t ) 2 ψ K ( t ) 0
V ˙ ( Δ x ˙ , Δ x , t ) 0 is satisfied. According to the Lyapunov stability judgment theorem, the stability condition for the operation of this system is:
(1) ψ M D ( t ) is semi-negative definite.
(2) K ˙ ( t ) + ψ D ˙ ( t ) 2 ψ K ( t ) is semi-negative definite.
The controller parameters must satisfy the above conditions to ensure the stability of the variable damping and stiffness control system.

4. Dynamic Description of the Controlled System

The dynamics of a mechanical arm with n links are typically represented by the following equations:
M ( q ) q ¨ + C ( q , q ˙ ) q ˙ + G ( q ) + F ( q ˙ ) + τ d ( q , q ˙ ) = τ
where q n × 1 is an n-dimensional vector of generalized coordinates representing the joint angles of the links; M ( q ) n × n is the positive definite mass matrix; C ( q , q ˙ ) q ˙ represents the combined force of Coriolis and Centripetal forces, and here, C ( q , q ˙ ) n × n is an n × n matrix; G ( q ) n × 1 is the vector containing the gravitational torques; F ( q ˙ ) n × 1 is the friction vector; τ d ( q , q ˙ ) n × 1 represents the external unknown disturbance vector, but in this case, we neglect external disturbances; and τ corresponds to the torque applied to each joint. By applying torque to each joint, the motion of the joints is driven, and by solving the aforementioned dynamic equations, the angle, velocity, and acceleration of each joint can be obtained.
The 6-DOF robot established in this paper follows the dynamic model based on the Lagrangian formulation.
M ( q ) q ¨ 1 q ¨ 2 q ¨ 3 q ¨ 4 q ¨ 5 q ¨ 6 + C ( q , q ˙ ) q ˙ 1 q ˙ 2 q ˙ 3 q ˙ 4 q ˙ 5 q ˙ 6 + G ( q ) + F ( q ˙ ) + τ d ( q , q ˙ ) = τ 1 τ 2 τ 3 τ 4 τ 5 τ 6
M ( q ) is a matrix of q i , l i , and m i , with q i , l i , and m i corresponding to the angle, length, and mass of each joint, respectively. C ( q , q ˙ ) and G ( q ) are vectors about q i , l i , and m i . Table 2 shows the settings of the mechanical arm specifications.
Figure 12 shows the mechanical model of the 6-dof robot arm described with Simulink. The input is the torque τ i , i = 1 , 2 , , 6 , that drives the motion of each joint, and the output is the q i , i = 1 , 2 , , 6 of each joint angle and the position of the end effector. The inner loop controls the joint torque through a PID controller. The error between the output angle of the manipulator joint and the expected joint angle calculated by inverse kinematics is taken as the input of PID, and the torque control of the inner loop has been realized. For the processing of multiple sets of solutions, the angle range of each joint can be set at the beginning, and then solutions outside the joint range can be eliminated. First, the unique optimal solution of θ 1 is determined, and then the optimal solution of θ 1 is used to obtain the optimal solution of θ 2 using the inverse solution method. The order of calculating the other joint angles is similar. The final set of solutions can serve as the control basis for achieving the robot’s target pose. The outer loop control is the VUF-MRAIC proposed earlier in this paper, which takes the actual output force f of the end effector as feedback information. So, the error between the actual force and the desired force is used as the input for the outer loop control, and the output is the position error of the end effector on the x-axis.

5. Simulation

Below, we describe three different simulation experiments that we conducted to test and compare the force tracking algorithms of the classical constant impedance control and the variable universe fuzzy model reference adaptive impedance control proposed in this paper in various environments. For reference, we have introduced the fuzzy terminal sliding-mode control in [15] as a reference. Classical constant impedance control adopts Equation (1), while adaptive variable impedance control adopts Equation (30). To compare and validate the algorithms, we utilized Matlab Simulink simulations. The simulations were conducted with the time step set to 0.002 s.

5.1. Planar Environment

Assuming that the contact environment is a plane, x ˙ e = x ¨ e = 0 . The environmental position is set to x e = 0.4   m , the impedance coefficient is m = 2 , and k = 0 . The initial state x < x e : that is, the manipulator is not in contact with the environment in the initial state. The desired contact force is set to f r = 5   N . The test results are shown in Figure 13. Figure 13a shows the trajectory tracking effect, and Figure 13b shows the force tracking effect.
After testing, selecting a damping coefficient of d = 40 can achieve ideal results. In Figure 13, x e represents the location information of the environment; x represents the position information of the manipulator; f r represents the desired tracking force; and f represents the actual contact force between the manipulator and the environment. After contacting the environment, as shown in Figure 13a, it can be observed that there is no oscillation in the trajectory during the force adjustment process, and the desired trajectory corresponding to the desired force is tracked. The above results indicate that Equation (1) is robust to a plane with unknown environmental stiffness, making classical constant impedance control effective for force tracking in environments with unknown stiffness in the plane.

5.2. Inclined Plane Environment

Assuming that the contact environment is an inclined plane, x ˙ e 0 and x ¨ e = 0 . This simulation compares the adaptability of three algorithms to dynamic changes in environmental positions, so the initial position is set to x = 0 , the environmental stiffness is set to k e = 320 , and the impedance coefficients are set as above. Figure 14 is the trajectory tracking effect diagram corresponding to the three algorithms, and Figure 15 is the force tracking effect diagram corresponding to the three algorithms.
For constant impedance control, after testing, selecting a damping coefficient d = 350 can achieve stable force tracking. However, as shown in Figure 15a, the stable value is f = 6.8   N , and there is a significant deviation from the desired force tracking value. For adaptive variable impedance, after testing, selecting an initial damping coefficient of d = 40 can achieve ideal results. As shown in Figure 15b,c, adaptive impedance control can achieve the desired stable value after a short period of time in the early stage. Therefore, for situations where the contact environment is inclined, adaptive variable impedance exhibits advantages over constant impedance control.

5.3. Sinusoidal Surface Environment

Assuming that the contact environment is a sinusoidal surface, x ˙ e 0 and x ¨ e 0 , and other settings and conditions are the same as above. Figure 16 shows the trajectory tracking effect of the three algorithms in this case, and Figure 17 shows the corresponding force tracking effect.
From Figure 17, it can be seen that for constant impedance, even with different values of d, the force tracking error persists, and the desired force cannot be achieved. However, for adaptive variable impedance, after testing, by selecting an initial damping coefficient of d = 40 and a stiffness parameter of k = 40 , the ideal tracking performance can be achieved. As shown in Figure 17b, the fuzzy terminal sliding-mode adaptive impedance control quickly tracks the desired force after a minor adjustment. In Figure 17c, the proposed variable universe fuzzy model reference adaptive impedance control achieves smooth contact. Overall, the latter two achieve the expected force tracking effect.
From the above three experiments, the following conclusions can be drawn: For a plane, even with uncertain environmental stiffness, constant impedance control can achieve the desired force tracking effect. However, for inclined planes or more complex unknown surfaces, constant impedance control is unlikely to achieve the desired force tracking effect. On the other hand, adaptive variable impedance control, after a short initial adjustment, can achieve the desired force tracking effect.
In this group of comparisons, by incorporating variable universe fuzzy control, the damping parameter d and stiffness parameter k were adjusted online. The dynamic curves of the damping and stiffness parameters after 25 s of simulation are shown in Figure 18.
It can be observed that the damping parameter and stiffness parameter are no longer fixed values but are dynamically updated online during the runtime. This dynamic variation in the impedance parameters enables the output force to move more rapidly toward the desired force direction.

6. Conclusions

Considering the shortcomings of traditional constant impedance control in the field of trajectory and force tracking, this study aimed to reduce the trajectory and force tracking errors of the system by developing a variable universe fuzzy model reference adaptive impedance controller. The innovation in this study is the determination of the most appropriate control parameters of the impedance controller by using a fuzzy controller in order to reduce the tracking error. For variable universe fuzzy controllers, a two-stage fuzzy controller is employed to obtain the universe scaling factor, which offers a simpler approach compared to other methods of selecting scaling factors. This method can achieve the effective trajectory tracking and force tracking of unknown environmental information in contact environments and enables the online automatic adjustment of impedance parameters. The stability of this controller is guaranteed by the Lyapunov function. Then, by comparing the simulation performance of the proposed variable universe fuzzy model reference adaptive impedance control strategy with constant impedance control and fuzzy terminal sliding-mode control in terms of trajectory and force, the superiority and effectiveness of the proposed strategy are demonstrated. The proposed controller was applied to a simulation model of a manipulator, and its performance on a plane, an inclined plane, and curved surfaces was tested. The results show that the variable universe fuzzy model reference adaptive impedance controller is more effective than the constant impedance controller. As a result of this study, it was concluded that the controller is valid.

Author Contributions

Conceptualization, Q.H.; methodology, Q.H.; software, D.K.; supervision, Q.H.; validation, D.K.; visualization, D.K.; writing—original draft, D.K.; writing—review and editing, D.K. and Q.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Abu-Dakka, F.J.; Saveriano, M. Variable impedance control and learning—A review. Front. Robot. AI 2020, 7, 590681. [Google Scholar] [CrossRef] [PubMed]
  2. Hogan, N. Impedance control: An approach to manipulation: Part III—Applications. J. Dyn. Syst. Meas. Control 1985, 107, 17–24. [Google Scholar] [CrossRef] [Green Version]
  3. Ding, Y.; Zhao, J.C.; Min, X. Impedance control and parameter optimization of surface polishing robot based on reinforcement learning. Proc. Inst. Mech. Eng. Part B J. Eng. Manuf. 2023, 237, 216–228. [Google Scholar] [CrossRef]
  4. Li, G.; Chen, X.; Yu, J.; Liu, J. Adaptive neural network-based finite-time impedance control of constrained robotic manipulators with disturbance observer. IEEE Trans. Circuits Syst. II Express Briefs 2021, 69, 1412–1416. [Google Scholar] [CrossRef]
  5. Peng, J.; Ding, S.; Yang, Z.; Xin, J. Adaptive neural impedance control for electrically driven robotic systems based on a neuro-adaptive observer. Nonlinear Dyn. 2020, 100, 1359–1378. [Google Scholar] [CrossRef]
  6. Kang, E.; Qiao, H.; Gao, J.; Yang, W. Neural network-based model predictive tracking control of an uncertain robotic manipulator with input constraints. ISA Trans. 2021, 109, 89–101. [Google Scholar] [CrossRef]
  7. Nazmara, G.; Fateh, M.M.; Ahmadi, S.M. Exponentially convergence for the regressor-free adaptive fuzzy impedance control of robots by gradient descent algorithm. Int. J. Syst. Sci. 2020, 51, 1883–1904. [Google Scholar] [CrossRef]
  8. Izadbakhsh, A.; Khorashadizadeh, S.; Ghandali, S. Robust adaptive impedance control of robot manipulators using Szász–Mirakyan operator as universal approximator. ISA Trans. 2020, 106, 1–11. [Google Scholar] [CrossRef]
  9. Bitz, T.; Zahedi, F.; Lee, H. Variable damping control of a robotic arm to improve trade-off between agility and stability and reduce user effort. In Proceedings of the 2020 IEEE International Conference on Robotics and Automation (ICRA), Paris, France, 31 May–31 August 2020; pp. 11259–11265. [Google Scholar]
  10. Zheng, K.; Zhang, Q.; Hu, Y.; Wu, B. Design of fuzzy system-fuzzy neural network-backstepping control for complex robot system. Inf. Sci. 2021, 546, 1230–1255. [Google Scholar] [CrossRef]
  11. Liu, A.; Chen, T.; Zhu, H.; Fu, M.; Xu, J. Fuzzy variable impedance-based adaptive neural network control in physical human–robot interaction. Proc. Inst. Mech. Eng. Part I J. Syst. Control Eng. 2023, 237, 220–230. [Google Scholar] [CrossRef]
  12. Huang, H.; Yang, C.; Chen, C.L.P. Optimal robot–environment interaction under broad fuzzy neural adaptive control. IEEE Trans. Cybern. 2020, 51, 3824–3835. [Google Scholar] [CrossRef]
  13. Ba, D.X. An intelligent sliding mode controller of robotic manipulators with output constraints and high-level adaptation. Int. J. Robust Nonlinear Control 2022, 32, 6888–6912. [Google Scholar] [CrossRef]
  14. Liu, H.; Sun, J.; Nie, J.; Zou, L. Observer-based adaptive second-order non-singular fast terminal sliding mode controller for robotic manipulators. Asian J. Control 2021, 23, 1845–1854. [Google Scholar] [CrossRef]
  15. Ozguney, O.C.; Burkan, R. Fuzzy-terminal sliding mode control of a flexible link manipulator. Acta Polytech. Hung. 2021, 18, 179–195. [Google Scholar] [CrossRef]
  16. Rojas-García, L.; Bonilla-Gutiérrez, I.; Mendoza-Gutiérrez, M.; Chávez-Olivares, C. Adaptive force/position control of robot manipulators with bounded inputs. J. Mech. Sci. Technol. 2022, 36, 1497–1509. [Google Scholar] [CrossRef]
  17. Chen, J.; Tao, G. Adaptive Control of Robot Manipulators in Varying Environments. In Proceedings of the 2022 Systems and Information Engineering Design Symposium (SIEDS), Charlottesville, VA, USA, 28–29 April 2022; pp. 211–216. [Google Scholar]
  18. Cao, F.; Docherty, P.D.; Ni, S.; Chen, X. Contact force and torque sensing for serial manipulator based on an adaptive Kalman filter with variable time period. Robot. Comput.-Integr. Manuf. 2021, 72, 102210. [Google Scholar] [CrossRef]
  19. Mazare, M.; Tolu, S.; Taghizadeh, M. Adaptive variable impedance control for a modular soft robot manipulator in configuration space. Meccanica 2022, 57, 1–15. [Google Scholar] [CrossRef]
  20. Xu, K.; Wang, S.; Yue, B.; Wang, J.; Peng, H.; Liu, D.; Chen, Z.; Shi, M. Adaptive impedance control with variable target stiffness for wheel-legged robot on complex unknown terrain. Mechatronics 2020, 69, 102388. [Google Scholar] [CrossRef]
  21. Wei, J.; Yi, D.; Bo, X.; Guangyu, C.; Dean, Z. Adaptive variable parameter impedance control for apple harvesting robot compliant picking. Complexity 2020, 2020, 4812657. [Google Scholar] [CrossRef] [Green Version]
  22. Ajani, O.S.; Assal, S.F.M. Development of an autonomous robotic system for beard shaving assistance of disabled people based on an adaptive force tracking impedance control. Proc. Inst. Mech. Eng. Part C J. Mech. Eng. Sci. 2021, 235, 5758–5775. [Google Scholar] [CrossRef]
  23. Jiao, C.; Yu, L.; Su, X.; Wen, Y.; Dai, X. Adaptive hybrid impedance control for dual-arm cooperative manipulation with object uncertainties. Automatica 2022, 140, 110232. [Google Scholar] [CrossRef]
  24. Fereydooni, R.H.; Siahkali, H.; Shayanfar, H.A.; Mazinan, A.H. sEMG-based variable impedance control of lower-limb rehabilitation robot using wavelet neural network and model reference adaptive control. Ind. Robot Int. J. Robot. Res. Appl. 2020, 47, 349–358. [Google Scholar] [CrossRef]
  25. Zhang, J.; Li, H.; Liu, Q.; Li, S. The model reference adaptive impedance control for underwater manipulator compliant operation. Trans. Inst. Meas. Control 2023, 45, 2135–2148. [Google Scholar] [CrossRef]
  26. Omrani, J.; Moghaddam, M.M. Nonlinear time delay estimation based model reference adaptive impedance control for an upper-limb human-robot interaction. Proc. Inst. Mech. Eng. Part H J. Eng. Med. 2022, 236, 385–398. [Google Scholar] [CrossRef]
  27. Weinschenk, J.J.; Weinschenk, J.; Combs, W.E.; Marks, R.J. Avoidance of rule explosion by mapping fuzzy systems to a union rule configuration. In Proceedings of the 12th IEEE International Conference on Fuzzy Systems, 2003, FUZZ ‘03, St. Louis, MO, USA, 25–28 May 2003; Volume 1, pp. 43–48. [Google Scholar]
  28. Li, H. Adaptive fuzzy controllers based on variable universe. Sci. China Ser. E Technol. Sci. 1999, 42, 10–20. [Google Scholar] [CrossRef]
Figure 1. System model of manipulator and rigid environment.
Figure 1. System model of manipulator and rigid environment.
Actuators 12 00305 g001
Figure 2. The contact force between manipulator and environment.
Figure 2. The contact force between manipulator and environment.
Actuators 12 00305 g002
Figure 3. Second-order system.
Figure 3. Second-order system.
Actuators 12 00305 g003
Figure 4. The position-based impedance control schematic.
Figure 4. The position-based impedance control schematic.
Actuators 12 00305 g004
Figure 5. Model reference adaptive control system.
Figure 5. Model reference adaptive control system.
Actuators 12 00305 g005
Figure 6. Contraction and expansion of the universe.
Figure 6. Contraction and expansion of the universe.
Actuators 12 00305 g006
Figure 7. Two-stage fuzzy controller.
Figure 7. Two-stage fuzzy controller.
Actuators 12 00305 g007
Figure 8. (a) Membership function of input variable x i ; (b) the membership function of the output variable α i .
Figure 8. (a) Membership function of input variable x i ; (b) the membership function of the output variable α i .
Actuators 12 00305 g008
Figure 9. (a) The membership function of the input e ( t ) and e c ( t ) ; (b) the membership function of the output u ( t ) .
Figure 9. (a) The membership function of the input e ( t ) and e c ( t ) ; (b) the membership function of the output u ( t ) .
Actuators 12 00305 g009
Figure 10. Flow chart of variable universe fuzzy control.
Figure 10. Flow chart of variable universe fuzzy control.
Actuators 12 00305 g010
Figure 11. Variable universe fuzzy model reference adaptive impedance control system block diagram.
Figure 11. Variable universe fuzzy model reference adaptive impedance control system block diagram.
Actuators 12 00305 g011
Figure 12. Mechanical model in Simulink.
Figure 12. Mechanical model in Simulink.
Actuators 12 00305 g012
Figure 13. Tracking effect when the contact environment is a plane. (a) Trajectory tracking effect; (b) force tracking effect.
Figure 13. Tracking effect when the contact environment is a plane. (a) Trajectory tracking effect; (b) force tracking effect.
Actuators 12 00305 g013
Figure 14. Trajectory tracking effect when the contact environment is an inclined plane. (a) Constant impedance trajectory tracking; (b) fuzzy terminal sliding-mode trajectory tracking; (c) variable universe fuzzy model reference trajectory tracking.
Figure 14. Trajectory tracking effect when the contact environment is an inclined plane. (a) Constant impedance trajectory tracking; (b) fuzzy terminal sliding-mode trajectory tracking; (c) variable universe fuzzy model reference trajectory tracking.
Actuators 12 00305 g014
Figure 15. Force tracking effect when the contact environment is an inclined plane. (a) Constant impedance force tracking; (b) fuzzy terminal sliding-mode force tracking; (c) variable universe fuzzy model reference force tracking.
Figure 15. Force tracking effect when the contact environment is an inclined plane. (a) Constant impedance force tracking; (b) fuzzy terminal sliding-mode force tracking; (c) variable universe fuzzy model reference force tracking.
Actuators 12 00305 g015
Figure 16. Trajectory tracking effect when the contact environment is a sinusoidal surface. (a) Constant impedance trajectory tracking; (b) fuzzy terminal sliding-mode trajectory tracking; (c) variable universe fuzzy model reference trajectory tracking.
Figure 16. Trajectory tracking effect when the contact environment is a sinusoidal surface. (a) Constant impedance trajectory tracking; (b) fuzzy terminal sliding-mode trajectory tracking; (c) variable universe fuzzy model reference trajectory tracking.
Actuators 12 00305 g016
Figure 17. Force tracking effect when the contact environment is a sinusoidal surface. (a) Constant impedance force tracking; (b) fuzzy terminal sliding-mode force tracking; (c) variable universe fuzzy model reference force tracking.
Figure 17. Force tracking effect when the contact environment is a sinusoidal surface. (a) Constant impedance force tracking; (b) fuzzy terminal sliding-mode force tracking; (c) variable universe fuzzy model reference force tracking.
Actuators 12 00305 g017
Figure 18. The curves of adaptive parameters. (a) Adaptive damping parameters d; (b) adaptive stiffness parameters k.
Figure 18. The curves of adaptive parameters. (a) Adaptive damping parameters d; (b) adaptive stiffness parameters k.
Actuators 12 00305 g018
Table 1. The fuzzy rule table for Δ d and Δ k .
Table 1. The fuzzy rule table for Δ d and Δ k .
NBNMNSZOPSPMPB
NBPB/NBPB/NBPM/NMPM/NMPS/NSZO/ZOZO/ZO
NMPB/NBPB/NBPM/NMPS/NSPS/NSZO/ZONS/ZO
NSPM/NBPM/NMPM/NSPS/NSZO/ZONS/PSNS/PS
ZOPM/NMPM/NMPS/NSZO/ZONS/PSNM/PMNM/PM
PSPS/NMPS/NSZO/ZONS/PSNS/PSNM/PMNM/PB
PMPS/ZOZO/ZONS/PSNM/PSNM/PMNM/PBNB/PB
PBZO/ZOZO/ZONM/PSNM/PMNM/PMNB/PBNB/PB
Note: The first row is the E universe, and the first column is the EC universe.
Table 2. Settings of mechanical arm specifications.
Table 2. Settings of mechanical arm specifications.
LinkLength (m)Weight (kg)Initial Joint Angle (deg)Angle Range (deg)
L 1 0.283.00−160∼160
L 2 0.341.7−110.0859−225∼45
L 3 0.212.5220.4351−45∼225
L 4 0.300.95.5720−110∼170
L 5 0.151.097.0640−100∼100
L 6 0.212.552.6857−266∼266
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Kong, D.; Huang, Q. Impedance Force Control of Manipulator Based on Variable Universe Fuzzy Control. Actuators 2023, 12, 305. https://doi.org/10.3390/act12080305

AMA Style

Kong D, Huang Q. Impedance Force Control of Manipulator Based on Variable Universe Fuzzy Control. Actuators. 2023; 12(8):305. https://doi.org/10.3390/act12080305

Chicago/Turabian Style

Kong, Dexin, and Qingjiu Huang. 2023. "Impedance Force Control of Manipulator Based on Variable Universe Fuzzy Control" Actuators 12, no. 8: 305. https://doi.org/10.3390/act12080305

APA Style

Kong, D., & Huang, Q. (2023). Impedance Force Control of Manipulator Based on Variable Universe Fuzzy Control. Actuators, 12(8), 305. https://doi.org/10.3390/act12080305

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop