Abstract
The calculus is one of the common diseases with high incidence. The effective treatment method is extracorporeal ultrasonic lithotripsy. At present, it is low about the intelligent and automatic level of the lithotripter, and it has gradually failed to meet the treatment needs. The extracorporeal ultrasonic lithotripsy medical cooperative robot can solve such problems effectively, and it is equally critical for accurate modeling studies of dynamic models. Based on the previous research and experimental basis, this paper proposes a correction theory to improve the accuracy of the dynamic model for the model error in collaborative robot work. The study first establishes the dynamic model and the solid model of the collaborative robot and then subtracts the value of the dynamic model from the solid model to obtain the modified equation. Finally, the accuracy of the dynamic model is improved by modifying the equation. The experiments show that the kinetic model correction theory is effective and can improve the accuracy of the dynamic model modeling after the correction of the torque equation. The experiments show that the improved dynamic model theory is effective and can improve the modeling accuracy of the dynamic model after the correction of the torque equation. The modified equation has the best correction effect in the 5th degree polynomial and can be used for the extracorporeal ultrasonic lithotripsy medical cooperative robot control.
1. Introduction
In recent years, the research on medical collaborative robot has been in the ascendant and has gradually achieved good applications in the medical field. Zhang et al. summarized the characteristics of the development of the medical robot industry, analyzed the characteristics of 63 mainstream medical robot enterprises, and comprehensively combed the overall pattern of medical robot development [1]. This provides a reference for what kind of robotic arm is used in this paper. Therefore, the robot used in this paper is a collaborative robot.
Mihelj et al detailed the characteristics of collaborative robot and explained the differences between them and traditional industrial robot in terms of protection, working conditions, and working environment. They explained that the characteristics of collaborative robot work together with people [2]. Ren et al. studied the method of collaborative robot teaching and learning [3]. This provides an idea for cooperative robot data acquisition in this paper. Faccio et al. studied the comparison model of collaboration and traditional robot assembly and compared the differences between manual assembly and noncooperative automatic assembly [4], which provided a reference for researching cooperative robot to change probes. Zanchettin et al. pointed out that the flexibility and finiteness of robot hindered the use of robot by small and medium-sized companies in the collaborative robot special report. Collaborative robot can successfully solve this kind of problem [5], which indirectly supports the research of medical collaborative robot. Gennaro et al studied the impedance control of cooperative robot in safe operation and proposed a new cooperative robot impedance control technology. The controller realizes safe human-machine cooperation through energy and power limitation and verifies the impedance using KUKA LWR 4+ arm [6]. The control algorithm provides an idea for the obstacle avoidance and collision algorithm of the debris robot and also provides a research direction for high-precision dynamic modeling.
Xiao G et al studied a new cooperative multirobot path planning algorithm, which adopts a multirobot system architecture combining centralized and distributed. The problem of global path planning and local path planning is solved by the fusion immune coevolution algorithm and artificial potential field method, and the adaptive level of the robot is improved [7]. This provides a method reference for the experimental path planning of the extracorporeal ultrasonic lithotripsy robot. Mao et al studied the safety control of collaborative robot on the detection platform. Through software design, the man-machine cooperation in the work area was realized to avoid accidents and has high safety [8], which provided a reference for the safety design of the debris robot. Yan et al. studied real-time estimation of single-point contact information of all-mechanical arm based on momentum observation and optimization algorithm in man-machine cooperation and proposed a kind of information based on robot control and motion state. Based on the momentum observation and optimization algorithm, the real-time estimation method of the single-point contact information of the whole manipulator realizes the external force perception of the mechanical arm without the aid of the sensor [9]. This provides a new idea for the collision algorithm and path planning of the extracorporeal ultrasonic lithotripsy robot. Chen studied the cooperative robot adaptive strategy of double Gaussian process, which enables the robot to adapt to the pose change of the target object and obtain smooth joint motion [10], which provides a reference method for the human-machine collaborative experiment of the debris robot. Xiao studied the collision detection algorithm for lightweight modular cooperative robot and proposed a collision detection algorithm without adding additional sensors and changing the complexity of the control system [11]. This provides a new theoretical reference for dynamic collision detection of the extracorporeal ultrasonic lithotripsy robot. He J studied the impedance adaptive control system of the variable-load dual-arm robot and proposed a double-loop impedance variable stiffness tracking control strategy. The method of decomposing the resultant force into internal force and external force is used to control the inner loop impedance and the outer loop impedance, respectively. It solved the problem of stability control of two-arm cooperative grasping and object-to-environment exchange force [12], which provides a reference method for dynamic modeling and control of the extracorporeal ultrasonic lithotripsy robot.
For the kinematics and dynamics of the medical collaborative robot, common kinematics description methods include D-H parameter method, improved D-H parameter method, and exponential product equation method (POE) [13–15]. The common methods for dynamics modeling include the Lagrange method [16, 17], Newton–Euler method [18–20], Kane method [21–24], spin-to-even method [25, 26], and Virtual work principle method [27, 28]. The Lagrange method has a large amount of calculation when the robot has a high degree of freedom, but avoids the calculation of linear acceleration and angular acceleration. The Newton–Euler method is too complicated in multidegree of freedom, but the calculation is comprehensive, so the influence of inertia is often simplified or ignored. The Kane method avoids derivation and has high computational efficiency. It is also used in dynamic modeling and high-precision control of a parallel robot [29–31], which is convenient for computer control. It considers the sum of generalized dynamics and generalized inertial forces to be zero [27, 32, 33]. Zheng et al modeling analysis, reliability, and response of nonlinear dynamics in terms of multilink joints and friction [34–37] provided references for the modeling of this paper.
For the content of this paper, the solid model is more accurate than the traditional dynamic model, but it cannot be directly used in the control system. Traditional dynamic models are less accurate but can be used directly in control systems. The improved dynamic model is established by experimental data of the solid model and the traditional dynamic model. The accuracy of the dynamic model is improved by the correction equation. Mathematical modeling and experimental methods are used to solve the undetermined coefficient matrix of the modified equation under the task. It is proved that the complement correction equation is 5th-order linear correlation in the extracorporeal ultrasonic lithotripsy medical cooperative robot.
2. The Composition and Parameters of the Cooperative Robot
The medical cooperative robot system is mainly composed of three parts: the treatment bed, the control system, and the cooperative arm system. The Figure 1 shows the design of the bed and the dual-cooperative manipulator system. The dynamic modeling study of this paper is carried out around the 6-DOF collaborative robot system that is shown in Figure 2. Figures 2(a)–2(c) are front, side, and rear views, respectively, of the cooperative robot.


(a)

(b)

(c)
During treatment, the doctor determines the location of the stone and sends a position signal to the control system. The cooperating robot then receives the position signal and plans the path for the robotic actuator to actively reach the gravel position and begin the lithotripsy treatment. Its dynamic response requires high speed and accuracy. This research uses a collaborative medical robot system developed by the laboratory, as shown in Figure 2. It has six single degree-of-freedom joint. No. 1 model is used for the bottom-up and one-two joint. No. 2 model is used for the three-four joint. No. 3 model is used for the five-six joint. And the parameters of the cooperative robot and joint are shown in Table 1. The experimental and solid modeling of this paper is based on these parameters.
3. Establish the Kinematic Model
According to Figure 2, the schematic diagram of the robot is shown in Figure 3. In the figure, Z1∼Z6 are the z-axes of the Cartesian coordinate system of each joint. Since the lithotripsy mechanism of the end effector is rigid, it is omitted in the kinetic study to replace the part with a rigid body.

According to the size relationship and coordinate system position, the D-H parameters of the collaborative robot are listed in Table 2. Furthermore, the kinematic transformation matrix is obtained.
Then, the kinematic model equation is shown as follows:
4. Establish the Dynamic Model
The Kane method is a method for establishing dynamic equations using the D’Alembert principle and the virtual displacement principle. It is a general method to establish the dynamic model of robot mechanism. The basic idea is to replace generalized coordinates as the independent variable of the system. It means that the sum of generalized dynamics and generalized inertial forces is equal to zero. The outstanding advantage of the Kane equation method in dynamic modeling is that it only needs to calculate the vector dot product and cross product operation, which avoids the derivative operation. Therefore, the number of calculations in the Kane method dynamics modeling process is much less than the other methods, greatly improving the efficiency of the calculation and facilitating control.
According to the calculation process of the Kane method, the initial conditions of the operation are as follows.
According to the parameters of the solid model, the rotation matrix of each joint is shown as follows:
The position vector of the centroid of the member described by the rod coordinate system , whose position vector is as follows:
The inertia tensor matrix of each joint in the coordinate system is as shown in equations (4a)–(4f). The unit is :
According to the kinematic equation and structure size, the generalized displacement is inferred as follows:
The Kane method needs to derive the generalized velocity and acceleration values from joint 1 to joint 6. For the rotating joint, it used the following equation to calculate. The generalized speed is as shown in equation (6). The generalized velocity of the centroid is shown in equations (7) and (8). The general angular velocity is as shown in equation (9). The generalized angular velocity is obtained, as shown in equation (10). Generalized angular acceleration is shown in equation (11). Generalized acceleration is shown in equation (12). The generalized acceleration of the centroid is as shown in equation (13):
The initial conditions determined by the working conditions are shown in equation (14). It assumes that the -axis of the absolute reference frame is perpendicular to the ground and points upwards:
The Kane method is a dynamic method based on the Kane dynamic equation. The main dynamic equations are shown in equations (15) and (16):
No additional external force load is applied at the end as a simplified condition. Substituting the known parameters into equations (15) and (16), the final torque expression can be obtained as equations (17a)–(17f) after iterative calculation:
After the final torque expression is collated, the total expression of the dynamics model can be obtained as follows:
5. Dynamic Model Analysis
Path planning is performed on the extracorporeal ultrasonic lithotripsy medical cooperative robot, and the result is substituted into equations (17a)–(17f). The main parameters of the substitution are shown in Table 3. The motion displacement curve of the end effector is shown in Figure 4.

The conditions are input into the dynamic model, and the response characteristics of the dynamic model under the task plan are shown in Figure 5.

Then, based on the dynamic model parameters and the collaborative robot shown in Figure 2, the ADAMS solid model is established. Its parameters are exactly the same as the collaborative robot. Substituting the input conditions shown in Figure 4 into the solid model, the dynamic response curves of the joints in the solid model are shown in Figure 6. Motion 1 to motion 6 in Figure 6 represents the response curves of joint 1 to joint 6.

6. Improved Dynamic Model Analysis and Modeling
Based on dynamic modeling and solid modeling, the model error is analyzed in this part. First of all, there is an error in all dynamic models, which is the difference between the actual torque variation and the torque variation in the mathematical model. That is, the error is equal to the actual value minus the mathematical model value. The error is defined as , as shown in equation (19), where is the actual moment function of the dynamic model and is the amount of moment change in the mathematical model.
When the accuracy of the dynamic model can be improved, it is considered that the correction function exists so that equation (20) is established. The is defined as the error value after the kinetic model improves the accuracy, as shown in equation (20):
The expression of the correction function derived from equations (19) and (20) is shown in equation (21), where is the amount of change in the model error:
As we all know, the real value of the dynamic model is often difficult to find and the excessively complex modeling equation makes the model lose the possibility of practical application. When the model is constructed to obtain an error lower than the general mathematical model, we believe that it is closer to the true value, and instead of the actual value for modeling and calculation, better modeling results can still be obtained. In the study of the correction function , we use the actual value instead of the real value for modeling and calculation. This is because we are more concerned with the improvement of the accuracy of the model itself, rather than the model directly reaching the true value.
The correction function is related to the time parameter t. According to Taylor’s theorem, is an nth-order function of time t. The correction function is defined, as shown in equation (22), where is the matrix of undetermined coefficients, is the amount of time variation, is the amount of change in the degree of freedom of the current joint of the robot, is the order of the function, and is the order of the function to be determined:
It can be seen that equation (22) is an implicit function of the kinetic model correction function. In order to obtain an explicit solution of the function, a mathematical model and an actual model are needed to define and solve the corresponding parameters.
In order to find the difference between the solid model and the dynamic model of each joint, we subtract the response value of the dynamic model from the response value of the solid model. The resulting model difference is shown in Figure 7, and the difference in the error of each joint portion is shown in Table 4.

According to the data of Table 4, it was found that the fitting result was better when j was equal to 5. Then, the undetermined coefficient matrix under the task is expressed by equation (23). The matrix is 0 to 5 power-related from the bottom to top:
According to equations (22) and (23), the correction function of the dynamic model at each joint is shown in equation (24). It is shown in equation (25) that the total expressions of the correction function are from joint 1 to joint 6. Furthermore, the improved dynamic model equation is equation (26), thereby completing the improvement of the accuracy of the dynamic model:
According to the data in Table 4 and Figures 5 and 6, the percentage improvement of the correction amount of such points compared with the original model equation is shown in Table 5, and the average increased percentage of joint model accuracy is shown in Table 6. The comprehensive improvement rate of the corrected model accuracy is 34.10%.
7. Conclusion
This paper proposes an improved dynamic model for the extracorporeal ultrasonic lithotripsy medical cooperative robot, which can effectively improve the accuracy of dynamic models in task execution. Based on the Kane method, the dynamic model of the collaborative robot is established, and the solid model is built based on the collaborative robot. By comparing the difference between the dynamics model and the solid model, the improved dynamic model is established for the cooperative robot. After fitting, the correction function is found to be the best when the order j of the undetermined coefficient is equal to five. Compared with the original dynamic model, the accuracy is improved by 34.1%, which provides a theoretical model for the use of the extracorporeal ultrasonic lithotripsy medical cooperative robot dynamic model.
Data Availability
The data used to support the findings of this study are available from the corresponding author upon request.
Conflicts of Interest
The authors declare that there are no conflicts of interest regarding the publication of this paper.
Acknowledgments
This research was supported by the Gansu Natural Science Foundation of China (18JR3RA142) and Education Research Fund (GJ2019C-57).