1. Introduction
High-end equipment is the central focus of China’s industrial upgrading and manufacturing power strategy. The surface quality of high-end equipment components directly impacts both the performance and lifespan of equipment. Grinding processes can enhance the surface integrity of the workpiece, eliminate surface burrs, optimize surface roughness, and improve the fatigue strength of the workpiece. However, traditional manual grinding faces challenges, such as low efficiency and inconsistent quality. In contrast, robotic automated grinding offers high precision and excellent repeatability and has been widely adopted [
1]. Nevertheless, the shapes and structures of workpieces are often complex, and control methods that solely focus on robot end position tracking may result in excessive contact forces. Such extreme contact forces can lead to surface wear or structural damage to the workpiece. Therefore, the design of controllers for complex surface grinding robots should prioritize dynamic adaptability in uncertain environments [
2].
As a fundamental method of active compliance control, impedance control can dynamically adjust the interactive responses between a robot and a workpiece. When processing complex surfaces, impedance control effectively mitigates the process failures caused by errors in robot trajectory tracking [
3,
4]. Such process failures may include wear accumulation and surface burns on the workpiece. The existing impedance control methods encompass backstepping control [
5,
6], adaptive control [
7], H-∞ control [
8,
9], etc. Based on traditional position impedance control, an earlier study [
10] constructed an impedance controller based on environmental parameter identification by introducing the recursive least squares method with a forgetting factor to update environmental stiffness in real time online and correct the reference position to reduce the force tracking error. Another study [
11] proposed a variable impedance control method for a continuous medium manipulator based on a finite-time observer. By identifying acceleration, it avoided the difficulty of directly sensing interference force and showed good robustness and stability in a noisy environment. A different study [
12] investigated an adaptive tracking impedance control strategy for manipulators working within an uncertain contact environment. The proposed position and attitude controllers can ensure the finite-time convergence of state variables and do not require prior knowledge of the disturbance’s boundary. Furthermore, another group [
13] proposed a whole-body impedance control method for a humanoid, wheeled robot that uses a fuzzy adaptive system to compensate for the uncertain dynamics of the controlled system. Moreover, a recent study [
14] addressed the problem of stability being ignored in the design of variable impedance controllers for existing aerospace manipulators by implementing a variable impedance control system with state-independent stability to ensure the exponential stability of the desired variable impedance dynamic system. Impedance controllers based on mechanism models depend on accurate dynamic information regarding the robot. However, in grinding operations, factors such as friction force during tool–workpiece contact and the load change caused by material removal during grinding will cause the model to deviate from the real system.
Applying machine learning techniques to approximate unmodeled dynamics or load variations, as well as to rectify dynamic errors in real time, can enhance impedance control precision, while reducing controller dependence on the model parameters [
15,
16]. Radial basis function neural networks (RBFNNs), known for their superior accuracy and efficiency in identifying system nonlinearities, are widely utilized in robotic control systems [
17,
18]. A previous study [
19] proposes a fully distributed control strategy that incorporates neural network-based task-space synchronization controllers and neural network-based null-space formation controllers. Another study [
20] introduced a sliding mode control framework that employs neural networks for manipulators that are subject to system uncertainties, input dead zones, and external disturbances. In this context, the neural network estimates unknown parameters related to system uncertainty and input dead zones. A further study [
21] presented an enhanced incremental radial basis function neural network designed to estimate the dynamic parameters of manipulators operating in constrained environments. Moreover, a recent study [
22] outlined a methodology for grouping model parameters and training an RBF neural network that computes the average parameter values for each group as reference points and establishes relationships between the optimal controller feedback gains and the system parameters. Furthermore, another study [
23] described an adaptive neural network tracking controller that utilizes full-state feedback via RBFNNs for unknown dynamic models, with a disturbance observer compensating for unidentified disturbances. It is important to note that the inherent identification errors in neural networks may lead to discrepancies between the estimated and actual dynamic model values, thereby affecting the accuracy of controller output torque calculations. Persistent and accumulating errors can induce system oscillations or divergence, ultimately compromising the robustness of the control algorithm.
Sliding mode control (SMC) is highly robust. Neural network identification errors can be considered bounded uncertainty within the framework of SMC, and the upper bound of this error can be directly compensated for by designing a sliding mode switching term. This approach ensures stable system convergence despite the presence of identification errors [
24,
25,
26]. An earlier study [
27] introduced a sliding mode control strategy based on RBF neural networks for T-S fuzzy descriptor systems that estimates system nonlinearities and unknown constants, while ensuring the fulfillment of system accessibility conditions. Another study [
28] presented an RBF neural network-based sliding mode control strategy applied to steer-by-wire controller design that effectively enhanced the dynamic response of a steering system at the level needed for application in vehicles. To address the uncertainties in micro-electromechanical system (MEM) gyroscope systems, one study [
29] employed radial basis function neural networks for approximation, establishing update rules for parameter vectors and RBFNN weights based on tracking errors and filtered modeling error data.
However, RBFNN identification error increases the sliding mode switching term value, leading to high-frequency chattering. Reaching laws can enhance the system’s dynamic performance by dynamically adjusting the reaching speed and smoothing the switching terms [
30]. Some common reaching laws include the isokinetic approach law (IAL) and the exponential approach law (EAL). A previous study [
31] introduced a novel variable exponential power reaching law that adaptively adjusts the reaching speed based on the initial state of the system and analyzed its finite-time convergence characteristics. Another study [
32] proposed a fractional-order reaching law sliding mode controller with finite-time performance that significantly improved the system’s robustness and transient response, while ensuring finite-time convergence of the controller. A further study [
33] developed a predefined variable power time reaching law that effectively reduces chattering, minimizes the control input, and strictly guarantees predefined time convergence.
Based on the analysis presented above, this study proposes an adaptive impedance control method that integrates machine learning with a sliding mode algorithm for a complex surface-grinding robot. The objective was to enhance the robot’s adaptability to intricate contact environments, thereby achieving more accurate and stable grinding results. The main contributions of this paper are as follows: (1) a novel adaptive disturbance identification method based on an RBFNN is developed to accurately estimate the uncertainties encountered by the robot during online grinding; (2) by leveraging the inherent robustness of sliding mode control, estimation errors and unmodeled dynamics are actively mitigated to ensure stable tracking of the desired impedance model dynamics in the presence of significant disturbances; (3) an exponential reaching law is introduced into the sliding mode control design, effectively reducing chattering and enhancing the interactive stability of free-form surface grinding, while maintaining robust convergence.
The remainder of this paper is organized as follows: In the second section, we establish the impedance control model based on a dynamic model of the robot in a joint coordinate system. The third section presents an adaptive neural network impedance control method designed to address the various disturbances encountered by the grinding robot, along with proof of its stability. In the fourth section, we present the results from simulation analyses and experimental verification. Finally, a summary is provided in the fifth section.
2. Description of the Grinding Robot Impedance Dynamics
Task space models are frequently employed in the design of impedance controllers for robots, as they can directly represent impedance between the grinding device and the workpiece. This approach eliminates the need for joint space models in controller design, thereby reducing the computational burden and minimizing the control errors. Taking into account external disturbances and modeling uncertainties, the robot dynamics model utilizes joint angles as variables [
2].
in which
is the angular displacement of the robot joints,
is the joint control torque applied by the actuators,
is the symmetric positive definite inertia matrix,
is the centrifugal and Coriolis force matrixes,
is the gravity vector, and
is the external disturbance.
Let
be the position vector of the robot end-effector, which is a function of joint angle
. Mapping between
and
satisfies [
14].
in which
is the robot Jacobian matrix.
Let the contact force between the robot end-effector and the environment be
.The dynamics equation is [
22] given as follows:
in which
is the desired end-effector trajectory, and
is the actual end-effector trajectory. When a deviation occurs between them, a corresponding force is generated.
are the mass, damping, and stiffness coefficient matrices, respectively.
At equilibrium, the relationship between the end-effector force
and joint torque
follows on from the virtual work principle [
22].
Thus, the end-effector position-based impedance dynamics model is established [
22]:
in which
is the error and disturbance in modeling,
,
To facilitate the design of control methods, we make the following assumptions about the robot’s dynamics.
Assumption 1:
The inertia matrix is symmetric positive definite, uniformly bounded, and continuous, and its inverse exists, satisfying the following equation:
Assumption 2:
is skew-symmetric for any vector , satisfying the following equation:
In the actual grinding process, the desired end-effector trajectory
may become unreachable, for example due to obstacles. Therefore, the goal of impedance control is to make the actual end-effector trajectory
track the desired impedance trajectory
, where the relationship between
and
is [
22] given as follows:
where
and
.
4. Simulation Analysis and Verification
The two-degree-of-freedom robotic hand and environmental contact model used in the simulation are shown in
Figure 2.
The dynamic equation of the grinding robot with the end position as the variable is shown in Equation (5), specifically expressed as follows:
The system parameters of the robot used in the simulation are as follows:
The Jacobian matrix parameters describing the relationship between the velocity of the end-effector tip and the robot joint angular velocities are given as follows:
In the formula, the value of
is given by
, where
where
represents the load,
and
are the lengths of joint 1 and joint 2, respectively, and
is the acceleration of gravity,
.
The actual parameters of the robot are shown in
Table 1.
The impedance parameters are as follows:
To validate the effectiveness of the proposed method, two simulation cases were conducted. The first case investigates the tracking performance for reference trajectories, while the second performs comparative analysis between the proposed method and two established existing methods. The first algorithm involves exponential reaching law-based sliding mode impedance control (ERL-SMC), the second algorithm involves an RBFNN and isokinetic approach law-based sliding mode impedance control (RBFNN-IAL-SMC), and the third algorithm corresponds to the novel method proposed in this work, which combines the RBFNN with the exponential reaching law in sliding mode impedance control (RBFNN-ERL-SMC). The RBFNN-ERL-SMC algorithm expression follows Equation (16).
Case1:
The desired trajectory is specified as an elliptical path for the robot’s end-effector, and this path is described by the equation , . The initial values of the robot desired end-effector trajectory and desired impedance trajectory are set as and , with initial values for the desired impedance trajectory given by and . To verify the ability of the proposed control method to eliminate steady-state tracking errors, the initial values of the robot end-effector are given as , which are distinct from the initial values of the desired impedance trajectory. To validate the robustness of the proposed method against disturbances, a time-varying disturbance is implemented; no disturbance is applied during s, while a defined disturbance is introduced for s. The contact surface of the obstacle is at .
The RBFNN parameters were set as follows:
The control algorithm parameters are shown in
Table 2.
During the simulation, the amplitude of estimation error in the x-direction and y-direction does not exceed 20 and 50 units, respectively, while maintaining stability. Therefore, the gains of the sliding mode robust term in the controller are designed as 20 and 50, which serve to suppress the estimation error of the RBFNN.
The tracking performance of the proposed method for the elliptic reference trajectory in the X-direction is shown in
Figure 3 and
Figure 4, while its performance in the Y-direction under the same trajectory is shown in
Figure 5 and
Figure 6. For the X-direction, the initial value of the robot’s actual end-effector trajectory is set at 0.5 cm, while the desired impedance trajectory initiates at 0.8 cm, specifically to preclude a performance validation compromise that could arise from identical starting conditions.
Figure 3 demonstrates that the actual trajectory achieves exact tracking of the desired impedance trajectory in the X-direction at t = 0.5 s using the proposed control method. As demonstrated in
Figure 4, the steady-state tracking error in the X-direction is maintained below 0.0092 cm during all the stabilization phases post t = 0.5 s. As shown in
Figure 4, periodic oscillations occurred in the actual trajectory at t = 5 s. This phenomenon was caused by the external disturbance applied to the robot, where the disturbance signal took the form of a sawtooth wave function. Under the controller’s action, the robot is still able to remain stable during operation. Building upon the preceding tracking performance analysis,
Figure 5 demonstrates accelerated convergence in the Y-direction using the proposed controller, achieving precise trajectory alignment at t = 0.6 s.
Figure 6 confirms sustained steady-state tracking precision with errors constrained below 0.0075 cm, validating the robust disturbance rejection capabilities.
In the proposed method of this paper, the RBFNN is employed for online disturbance estimation and real-time compensation, thereby reducing the control scheme’s dependence on the model parameters.
Figure 7 and
Figure 8 display the sums of the nine weight magnitudes in the X-direction network and the Y-direction network, respectively. As observed from these figures, the weights reach steady-state values around t = 0.5 s, indicating that the RBFNN has achieved convergence in disturbance estimation. This is consistent with the tracking performance of the robot’s end-effector trajectory.
Case2:
To further validate the efficacy of the proposed method, two additional algorithms were adopted for comparative simulation. The desired trajectory of the robot’s end-effector is a circle, described by the equation
,
, and
is applied. The control algorithm parameters are shown in
Table 3. The parameters of the RBFNN remain consistent with those defined in case1.
The ERL-SMC algorithm expression is given as follows:
The RBFNN-IAL-SMC algorithm expression is given as follows:
The X-direction trajectory tracking results of the three algorithms for a circular trajectory are presented in
Figure 9,
Figure 10 and
Figure 11. It can be observed from these figures that under the action of the controllers, the motion of the robot end-effector in the X-direction reached a steady state and successfully achieved accurate tracking of the given values. Specifically, the convergence time of ERL-SMC is 0.6 s, that of RBFNN-IAL-SMC is 0.45 s, and that of RBFNN-ERL-SMC is 0.4 s. The tracking errors for all three methods are shown in
Figure 12, revealing an absolute error amplitude of 0.02 cm for the ERL-SMC method, 0.01 cm for RBFNN-IAL-SMC, and 0.005 cm for the proposed RBFNN-ERL-SMC. The comparative analysis of the control performance difference between these two methods in the X-direction is presented in
Table 4.
The results from the three algorithms in terms of Y-direction trajectory tracking are shown in
Figure 13,
Figure 14 and
Figure 15. It can be observed from the figures that under the action of the controllers, the motion of the robot end-effector in the Y-direction reached a steady state and successfully achieved accurate tracking of the given values. Specifically, the convergence time of ERL-SMC was 0.5 s, that of RBFNN-IAL-SMC was 0.4 s, and that of RBFNN-ERL-SMC was 0.4 s. These results demonstrate that the implementation of the RBFNN significantly enhances the convergence speed. The tracking errors for all three methods are shown in
Figure 16, revealing an absolute error amplitude of 0.015 cm for the ERL-SMC method, 0.011 cm for RBFNN-IAL-SMC, and 0.008 cm for the proposed RBFNN-ERL-SMC. The comparative analysis of the control performance difference between these two methods in the Y-direction is presented in
Table 4.
The tracking performances of the ideal trajectory, impedance trajectory, and actual trajectory of the robot end-effector in Cartesian space for the three algorithms are shown in
Figure 17,
Figure 18 and
Figure 19. Using the proposed RBFNN-ERL-SMC method, the actual trajectory exhibits significantly smaller fluctuations compared to the other two simulations, with more concentrated trajectory paths and a superior performance.
To more intuitively demonstrate the control effects of these three simulations, the steady-state errors of the three control methods are compared in tabular form. The selected error metrics were the mean absolute error (MAE) and the root mean square error (RMSE), calculated as follows:
Table 4 shows that the RBFNN-ERL-SMC method outperforms both ERL-SMC and RBFNN-IAL-SMC. The proposed method reduces the MAE of the X-direction position from 0.00899 to 0.00404 and the MAE of the Y-direction position from 0.01175 to 0.00821. Furthermore, it reduces the RMSE of the X-direction position from 0.02658 to 0.02366 and the RMSE of the Y-direction position from 0.03057 to 0.02669.