Robot shaft hole assembling method and system based on guided teaching reinforcement learning
Through the guided teaching reinforcement learning method, combined with the sEMG signals and IMU data of human experts, the assembly strategy is switched in real time, which solves the problems of high training cost and insufficient adaptability in robot shaft hole assembly, and improves the efficiency and stability of the assembly task.
Patent Information
- Application Number
- CN202410578925.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-11
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-05-11
AI Technical Summary
In the existing technology, robot shaft hole assembly has problems such as poor safety performance, complex assembly process, and low work efficiency. Especially in the real environment, reinforcement learning training of physical robots has low efficiency, high training cost, and under the uncertainty of environment and state. The operation task failure rate is high.
Using a method based on guided teaching reinforcement learning, human experts wear myoelectric armbands to monitor the assembly process, obtain sEMG signals and IMU Euler angle data, and combine with reinforcement learning strategies to build an assembly direction intention recognition model and an inverse impedance control model in real time. Switch between guided teaching and reinforcement learning methods to improve the adaptability and stability of robot assembly.
It reduces the training time and resource consumption in reinforcement learning, improves the robot's adaptability and stability in complex assembly tasks, and enhances the safety and accuracy of the assembly process.
Smart Images

Figure CN118528255A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of robot assembly, and in particular relates to a robot shaft hole assembly method and system based on guided teaching reinforcement learning. Background Art
[0002] Shaft-hole assembly is one of the classic tasks of robots. For robot shaft-hole assembly tasks, it can be divided into non-contact and contact types according to whether there is contact between the shaft and the hole during the assembly process. The contact type often adopts a tactile sensing control method, based on the force feedback control method, by installing a force sensor to obtain the force and torque information at the end of the robot, and using feedback control to control the movement of the robot, thereby achieving shaft-hole assembly. This method has the problems of poor safety performance, complex assembly process, and low work efficiency. The non-contact type generally uses visual alignment to complete shaft-hole assembly, using the camera at the end of the robot to obtain the position information of the shaft hole and the workpiece, thereby achieving shaft-hole assembly, but due to factors such as the accuracy of the camera and ambient light, the accuracy is limited to a certain extent.
[0003] In order to solve the problems of safety performance and versatility in the above-mentioned contact and non-contact shaft hole assembly, the Chinese invention patent application with publication number CN117086877A provides a robot shaft hole assembly method, device and equipment based on deep reinforcement learning. The method includes the following steps: constructing a state set and an action set of the robot; inputting the state set and action set into the trained shaft hole assembly algorithm model based on deep reinforcement learning, and outputting the selected assembly action; executing the assembly action to complete the shaft hole assembly, and recording the state when the shaft hole equipment is completed, using the state as the input of the next state, and selecting the next assembly action.
[0004] The application of reinforcement learning (RL) in the field of robotics has great development potential. The robot assembly strategy based on reinforcement learning is an automated and autonomous assembly task solution. Reinforcement learning is an intelligent algorithm that adopts the idea of autonomous learning and learns the actions to be taken in various states through interaction with the environment to maximize the cumulative reward. Through the training of reinforcement learning algorithms, robots can learn and master efficient assembly skills over time to complete accurate shaft hole assembly tasks. This method provides a new technical approach for the automation of production lines and can significantly reduce the prior knowledge and manual participation required for assembly tasks. In assembly tasks, robots obtain independent exploration and perception capabilities through reinforcement learning, can judge the position of the workpiece, the posture of the robot and other state information, and select appropriate actions based on this information to complete assembly tasks, such as moving or rotating the end effector and the workpiece.
[0005] However, there is a problem of low efficiency in reinforcement learning training of physical robots in real environments, that is, in order to achieve acceptable results, the robot agent needs to consume a lot of training time and resources. In addition, as the state space increases and the complexity increases, the training cost required for reinforcement learning to find the optimal strategy also increases. In addition, the traditional robot autonomous operation system cannot meet the needs of all production tasks. In the reinforcement learning model, the robot agent forms a closed loop with the environment, so that the robot agent relies entirely on sparse rewards for decision-making and action selection. Under some conditions such as environmental changes, there may be operational task failures. Especially in tasks with environmental and state uncertainties, humans are required to provide experience and cognition. Through the participation and guidance of human cognition, the robot operation task can have better adjustment and adaptability. Summary of the invention
[0006] The present invention provides a robot shaft hole assembly method and system based on guided teaching reinforcement learning, which obtains human intention, variable impedance strategy and assembly state evaluation index from the sEMG signal generated by the human teaching assembly process, and integrates the guided teaching strategy with the reinforcement learning strategy, aiming to solve the problems of high training cost and insufficient adjustment and adaptability existing in the prior art.
[0007] In order to solve the above technical problems, the shaft hole assembly method proposed by the present invention comprises the following steps:
[0008] S1: The robot uses reinforcement learning to perform assembly operations, and human experts wear myoelectric armbands to monitor the assembly process and progress;
[0009] S2: The control center receives the sEMG signal in real time and compares it with the set threshold. When the sEMG signal is not less than the set threshold, the control robot uses the guidance teaching method to perform the assembly task. When the sEMG signal is lower than the set threshold, the control robot uses the reinforcement learning method to perform the assembly task.
[0010] S3: The control center integrates the decision-making process and output of the guided teaching method and the reinforcement learning method into a unified assembly skill framework, and the assembly skill framework selects to execute the reinforcement learning method or the guided teaching method according to the input parameters;
[0011] The guiding teaching method is specifically as follows:
[0012] S21: The human expert wears an electromyographic armband and drags the robot end to perform the teaching assembly process. The electromyographic armband sends the collected sEMG signal data and IMU Euler angle data to the control center, and the robot sends the assembly contact force, torque data and robot end effector position data to the control center;
[0013] S22: The control center pre-processes the received sEMG signal data to generate smoothed sEMG data;
[0014] S23: constructing an assembly direction intention recognition model based on sEMG signals, and identifying the movement direction generated by the assembly action performed by the human expert according to the smoothed sEMG data and state parameters;
[0015] S24: The control center calculates the damping matrix through the inverse impedance control model according to the assembly contact force, torque data and movement direction, and the robot controls the movement and rotation of the end effector in the X, Y and Z axis directions according to the six-dimensional diagonal vectors in the damping matrix.
[0016] Preferably, the preprocessing method is a sliding average method, and the window radius of the sliding average method is set to 5.
[0017] Preferably, the step S23 is specifically:
[0018] In one direction of the robot end effector space, calculate the position difference of the robot at two consecutive moments:
[0019] Δp=p(t2)-p(t1)
[0020] Where Δp is the calculated position difference, p(t1) and p(t2) are the position data of the robot end effector at time t1 and t2 respectively;
[0021] Taking the position change of the end effector on the X and Y axes in the robot base coordinate system as the reference, the size and positive and negative of the position difference of the robot in the XY plane determine the movement speed and direction of the robot end effector, and determine the eight movement direction labels;
[0022] The support vector machine method is used to build a motion direction recognition model. The sEMG signal data and IMU Euler angle data are used as input features of the motion direction recognition model to output the corresponding motion direction.
[0023] Preferably, the calculation method of the eight movement directions is as follows:
[0024] Δp x >0 and Δp y =0, the movement direction is upward;
[0025] Δp x >0 and Δp y >0, the movement direction is upper right;
[0026] Δp x =0 and Δp y >0, the movement direction is right;
[0027] Δpx <0 and Δp y >0, the movement direction is downward right;
[0028] Δp x <0 and Δp y =0, the movement direction is downward;
[0029] Δp x <0 and Δp y <0, the movement direction is lower left;
[0030] Δp x =0 and Δp y <0, the movement direction is upward;
[0031] Δp x >0 and Δp y <0, the movement direction is upper left;
[0032] Among them, Δp x is the position difference in the X direction, Δp y is the position difference in the Y direction.
[0033] Preferably, the calculation process of the inverse impedance model is:
[0034] Calculate the current torque reading Ft and the target torque Ft target The difference between the two gives the force error Ft err , calculate the force error Ft err The transpose of Ft err T ;
[0035] Calculate the damping matrix and assign the damping parameters in the damping matrix to the impedance controller of the robot;
[0036] A damping parameter strategy model based on sEMG signals is constructed, the damping parameter strategy model is trained using smoothed sEMG data and IMU Euler angle data, and the trained model is saved.
[0037] Preferably, the damping matrix is calculated as follows:
[0038]
[0039] Among them, M mum is the intermediate transformation matrix, and the calculation method is:
[0040] M num =v×inv(A)
[0041] Where A is the response matrix, and the calculation method is:
[0042] A=Tc×Ft errT +M×v d
[0043] In the above formula, Tc is the time control constant in the controller, Ft err T is the transpose of the force error, M is the inertia matrix of the impedance controller, v d is the velocity difference, and v is the velocity based on the robot position difference.
[0044] Preferably, the threshold value set in step S2 is 1000 μV.
[0045] Preferably, the reverse impedance control model is constructed using a logistic regression machine learning method.
[0046] Correspondingly, the present invention also proposes a robot shaft-hole assembly system based on guided teaching and reinforcement learning, comprising a control center and a robot that communicates bidirectionally with the control center, wherein the end of the robot is provided with a six-dimensional force / torque sensor for collecting assembly contact force and torque data and sending the data to the control center; the system is characterized in that it also includes an electromyographic arm ring, which is used to collect sEMG signals and IMU Euler angle data of human experts and send them to the control center, and the control center also receives the position data of the robot end effector, executes the above-mentioned assembly method, and controls the robot to switch between the guided teaching method and the reinforcement learning method to perform the shaft-hole assembly task.
[0047] Preferably, the communication method between the control center and the myoelectric armband is one of RS-232, RS-485, Ethernet, Bluetooth, ZigBee and WiFi.
[0048] Compared with the prior art, the present invention has the following technical effects:
[0049] 1. The assembly method proposed in the present invention introduces the experience and cognition of human experts, identifies the movement direction intention and the variable impedance strategy from the sEMG signal generated by the human expert's teaching assembly process, sends the movement direction intention and the variable impedance strategy to the robot, and guides the assembly movement of the teaching robot; it makes up for the potential limitations of the reinforcement learning model and improves the adaptability and stability of the robot in complex assembly tasks.
[0050] 2. The assembly method proposed in the present invention combines the manual guidance teaching method with the reinforcement learning method to control the robot to perform shaft hole assembly. The introduced manual guidance teaching method can reduce the large amount of training time and resources required by the robot agent in reinforcement learning, thereby reducing the training cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 is a flow chart of the assembly method of the present invention;
[0052] Figure 2 is a schematic diagram of a guided teaching and reinforcement learning method according to an embodiment of the present invention;
[0053] Figure 3 is a schematic diagram of the movement direction of an embodiment of the present invention;
[0054] Figure 4 It is a schematic diagram of system construction of an embodiment of the present invention.
[0055] The specific reference numerals are: 10, control center; 20, robot; 30, hole part; 40, shaft part; 50, myoelectric arm ring; 60, six-dimensional force / torque sensor. DETAILED DESCRIPTION
[0056] In order to make the objectives, technical solutions and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in combination with specific embodiments of the present application and with reference to the accompanying drawings.
[0057] Embodiment 1
[0058] A robot shaft hole assembly method based on guided teaching reinforcement learning, such as Figure 1 , 2 As shown, the following steps are included:
[0059] S1: The robot uses reinforcement learning methods to perform assembly operations, and human experts wear electromyography armbands to monitor the assembly process and progress.
[0060] S2: The control center receives sEMG (Surface electromyography) signals in real time and compares them with the set threshold. The control center uses a strategy switching mechanism to monitor the sEMG signal strength in the electromyography armband. When this strategy switching mechanism detects that the sEMG signal is not less than the set threshold, the control robot uses the guided teaching method to perform the assembly task. When the sEMG signal is lower than the set threshold, the control robot uses the reinforcement learning method to perform the assembly task.
[0061] In this embodiment, the threshold for comparison with the real-time sEMG data is set to 1000μV. When the real-time sEMG data is detected to be not less than 1000μV, the robot is controlled to perform the assembly task using a guided teaching method; but when the real-time sEMG data is detected to be less than 1000μV, the robot is controlled to perform the assembly task using a reinforcement learning method.
[0062] The guiding teaching method is specifically as follows:
[0063] S21: The human expert wears an EMG armband and drags the robot end to perform the teaching assembly process. The EMG armband sends the collected sEMG signal data and IMU (Inertial Measurement Unit) Euler angle data to the control center, and the robot sends the assembly contact force, torque data and robot end effector position data to the control center.
[0064] S22: The control center pre-processes the received sEMG signal data to generate smoothed sEMG data.
[0065] The preprocessing method adopted in this embodiment is the sliding average method, and the window radius of the sliding average method is set to 5. Specifically, the window size is first determined. The window radius is 5, which means that the window size is 11 (5 previous points, current point, and 5 subsequent points). Then the window is slid, starting from the starting point of the signal, and the window is gradually slid along the signal, moving one point at a time. Then the average value is calculated. For all points in the window, their average value is calculated, and this average value will replace the original value of the center point of the window. For the boundary processing of the sliding average method, at the beginning and end of the signal, since there are not enough points, the missing data can be filled by using boundary value replication.
[0066] Using the sliding average method to process sEMG signals can make the processed sEMG signals smoother, and high-frequency noise and random fluctuations are effectively suppressed.
[0067] S23: Construct an assembly direction intention recognition model based on sEMG signals, and identify the movement direction generated by the assembly action performed by human experts based on the smoothed sEMG data and state parameters. The model uses sEMG signals, IMU Euler angle data, and the position data of the robot end effector. The position difference method is used to judge the movement trend of the robot end effector based on the six-dimensional posture change information of the robot end effector, so as to estimate the speed direction of the robot assembly movement during the teaching process, and mark the assembly direction during the teaching process in the form of a movement direction label.
[0068] Specifically, in one direction of the robot end effector space, the position difference of the robot at two consecutive moments is calculated:
[0069] Δp=p(t2)-p(t1)
[0070] In the formula, Δp is the calculated position difference, p(t1) and p(t2) are the position data of the robot end effector at t1 and t2 respectively, and the direction of movement of the robot in this direction is determined according to the positive or negative value of the position difference Δp. If Δp is positive, it means that the robot moves along this direction during the observed time interval, that is, it moves forward in this direction; if Δp is negative, it means that the robot moves in the opposite direction of this direction, that is, it moves backward in this direction; if Δp is zero, it means that the position of the robot in this direction has not changed.
[0071] Taking the position change of the end effector on the X and Y axes in the robot's base coordinate system as a reference, the size and positive and negative position difference of the robot in the XY plane determine the movement speed and direction of the robot's end effector, and the common position change in the X and Y directions is used to determine the eight movement direction labels.
[0072] like Figure 3 As shown, the calculation method of the eight movement directions is as follows:
[0073] Δp x >0 and Δp y =0, the movement direction is upward;
[0074] Δp x >0 and Δp y >0, the movement direction is upper right;
[0075] Δp x =0 and Δp y >0, the movement direction is right;
[0076] Δp x <0 and Δp y >0, the movement direction is downward right;
[0077] Δp x <0 and Δp y =0, the movement direction is downward;
[0078] Δp x <0 and Δp y <0, the movement direction is lower left;
[0079] Δp x =0 and Δp y <0, the movement direction is upward;
[0080] Δp x >0 and Δp y <0, the movement direction is upper left;
[0081] Among them, Δp x is the position difference in the X direction, Δp y is the position difference in the Y direction.
[0082] The support vector machine method is used to build a motion direction recognition model. The sEMG signal data and IMU Euler angle data are used as input features of the motion direction recognition model to output the corresponding motion direction.
[0083] S24: The inverse impedance control model is constructed using the Logistic Regression machine learning method. The human expert sEMG signal data is used as input and the corresponding guidance teaching strategy is output. First, the data set is divided into a feature set and a label set. The data collected by the electromyography armband is used as the feature set, including eight-dimensional sEMG signal data and three-dimensional IMU unit Euler angle data, and the output strategy is the label set, including three-dimensional damping coefficients in the Y, Rx, and Ry directions. Then the data set is randomly divided into a training set and a test set, where the test set accounts for 20% of the total data set, which is enough to ensure the generalization ability of the model while avoiding overfitting. Then use the Logistic Regression class to create a logistic regression model, and use the training set to train the model. Finally, save the model for use when the control center switches to the guidance teaching method.
[0084] The control center calculates the damping matrix through the inverse impedance control model according to the assembly contact force, torque data and movement direction. The robot controls the movement and rotation of the end effector in the X, Y and Z axis directions according to the six-dimensional diagonal vectors in the damping matrix.
[0085] When the robot uses the guided teaching method to perform assembly tasks, the assembly direction intention recognition model and the inverse impedance control model in the guided teaching method are used to obtain the assembly direction intention from the sEMG signal of the human expert, and the 6×6 diagonal positive definite damping matrix calculated by the inverse impedance control model is used; the assembly direction intention and the damping matrix are sent to the robot to control the robot to perform the assembly task using the guided teaching strategy; while the robot executes the guided teaching method, the contact force and the end position information are obtained as the current state; the mapping relationship between the state input and the guided teaching method is established by using the dictionary structure key-value pair method; the state input is assigned a policy label, when the policy label corresponding to the guided teaching method is Policy=1, the policy label corresponding to the reinforcement learning method is Policy=0. In the 6×6 diagonal positive definite damping matrix, the six-dimensional diagonal vectors in the matrix define the damping parameters in the robot impedance control, which control the movement and rotation of the robot end effector in the X, Y and Z directions respectively.
[0086] When the monitoring human expert observes that the assembly task can proceed smoothly, the manual guidance can be ended. The strategy switching mechanism of the control center detects that the peak value of the sEMG signal is lower than the set threshold of 1000μV, determines that the assembly environment is suitable for continuing to use the reinforcement learning strategy, and switches to the reinforcement learning method to continue the assembly task.
[0087] By introducing the experience and cognition of human experts, the movement direction intention and variable impedance strategy are identified from the sEMG signals generated by the human experts' teaching assembly process, and the movement direction intention and variable impedance strategy are sent to the robot to guide the teaching robot's assembly movement; this makes up for the potential limitations of the reinforcement learning model and improves the robot's adaptability and stability in complex assembly tasks.
[0088] The calculation process of the inverse impedance model is:
[0089] Calculate the current torque reading Ft and the target torque Ft target The difference between the two gives the force error Ft err , calculate the force error Ft err The transpose of Ft err T , the calculation method is as follows:
[0090] Ft err =Ft-Ft target
[0091] Ft err T =Transpose(Ft err )
[0092] Calculate the damping matrix and assign the damping parameters in the damping matrix to the impedance controller of the robot;
[0093] A damping parameter strategy model based on sEMG signals is constructed, the damping parameter strategy model is trained using smoothed sEMG data and IMU Euler angle data, and the trained model is saved.
[0094] The damping matrix is in the form of a diagonal positive definite matrix, and its six-dimensional diagonal elements are damping parameters. The obtained damping parameters are assigned to the robot impedance controller, and the calculation method is:
[0095]
[0096] Among them, M num is the intermediate conversion matrix, which is a key matrix in the impedance control algorithm and reflects the relationship between the current state and the target state. The calculation method is:
[0097] M num =v×inv(A)
[0098] Among them, A is the response matrix, which represents the difference between the current state of the system and the expected state, reflecting the speed change of the dynamic response of the system. The calculation method is:
[0099] A=Tc×Ft errT +M×v d
[0100] In the above formula, Tc is the time control constant in the robot controller, Ft err T is the transpose of the force error, M is the inertia matrix of the impedance controller, v d is the velocity difference, and v is the velocity based on the robot position difference.
[0101] S3: The control center integrates the decision-making process and output of the guided teaching method and the reinforcement learning method into a unified assembly skill framework, and the assembly skill framework selects to execute the reinforcement learning method or the guided teaching method according to the input parameters.
[0102] Embodiment 2
[0103] like Figure 4 As shown, a robot shaft hole assembly system based on guided teaching reinforcement learning includes a control center 10 and a robot 20 that communicates with the control center 10 in a two-way manner. The end of the robot 20 is provided with a six-dimensional force / torque sensor 60 for collecting assembly contact force and torque data and sending it to the control center 10; it is characterized in that it also includes an electromyographic arm ring 50, and the myoelectric arm ring 50 is used to collect sEMG signals and IMU Euler angle data of human experts and send them to the control center 10. The control center 10 also receives the position data of the end effector of the robot 20, executes the assembly method as described in Example 1, and controls the robot 20 to switch between the guided teaching method and the reinforcement learning method to perform the shaft hole assembly task.
[0104] In this embodiment, a computer is used as the control center 10. In other embodiments of the present invention, a single chip microcomputer may also be used as the control center 10. The myoelectric armband 50 of this embodiment is a MYO myoelectric armband.
[0105] When performing the assembly task, the shaft part 50 is clamped at the end of the robot 20. The robot 20 can be controlled by a human expert to insert the shaft part 50 into the hole part 40, or the robot 20 can execute a reinforcement learning strategy to insert the shaft part 50 into the hole part 40. The six-dimensional force / torque sensor 60 records the assembly contact force and torque data and transmits them to the control center 10, which processes the contact force, torque data, sEMG electromyographic signals and robot position information through a python interface.
[0106] The communication method between the control center 10 and the myoelectric armband 50 is one of RS-232, RS-485, Ethernet, Bluetooth, ZigBee and WiFi.
[0107] The above is only a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several modifications and improvements without departing from the inventive concept of the present invention, which all fall within the protection scope of the present invention.
Claims
1. A robot shaft hole assembly method based on guided teaching reinforcement learning, characterized in that: The following steps are involved: S1: The robot uses reinforcement learning to perform assembly operations, and human experts wear myoelectric armbands to monitor the assembly process and progress; S2: The control center receives the sEMG signal in real time and compares it with the set threshold. When the sEMG signal is not less than the set threshold, the control robot uses the guidance teaching method to perform the assembly task. When the sEMG signal is lower than the set threshold, the control robot uses the reinforcement learning method to perform the assembly task. S3: The control center integrates the decision-making process and output of the guided teaching method and the reinforcement learning method into a unified assembly skill framework, and the assembly skill framework selects to execute the reinforcement learning method or the guided teaching method according to the input parameters; The guiding teaching method is specifically as follows: S21: The human expert wears an electromyographic armband and drags the robot end to perform the teaching assembly process. The electromyographic armband sends the collected sEMG signal data and IMU Euler angle data to the control center, and the robot sends the assembly contact force, torque data and robot end effector position data to the control center; S22: The control center pre-processes the received sEMG signal data to generate smoothed sEMG data; S23: constructing an assembly direction intention recognition model based on sEMG signals, and identifying the movement direction generated by the assembly action performed by the human expert according to the smoothed sEMG data and state parameters; S24: The control center calculates the damping matrix through the inverse impedance control model according to the assembly contact force, torque data and movement direction, and the robot controls the movement and rotation of the end effector in the X, Y and Z axis directions according to the six-dimensional diagonal vectors in the damping matrix.
2. A robot shaft hole assembly method based on guided teaching reinforcement learning according to claim 1, characterized in that: The preprocessing method is a sliding average method, and the window radius of the sliding average method is set to 5.
3. The robot shaft hole assembly method based on guided teaching reinforcement learning according to claim 1 is characterized in that: The step S23 is specifically as follows: In one direction of the robot end effector space, calculate the position difference of the robot at two consecutive moments: Δp=p(t2)-p(t1) Where Δp is the calculated position difference, p(t1) and p(t2) are the position data of the robot end effector at time t1 and t2 respectively; Taking the position change of the end effector on the X and Y axes in the robot base coordinate system as the reference, the size and positive and negative of the position difference of the robot in the XY plane determine the movement speed and direction of the robot end effector, and determine the eight movement direction labels; The support vector machine method is used to build a motion direction recognition model. The sEMG signal data and IMU Euler angle data are used as input features of the motion direction recognition model to output the corresponding motion direction.
4. The robot shaft hole assembly method based on guided teaching reinforcement learning according to claim 3 is characterized in that: The calculation method of the eight motion directions is as follows: Δp x >0 and Δp y =0, the movement direction is upward; Δp x >0 and Δp y >0, the movement direction is upper right; Δp x =0 and Δp y >0, the movement direction is right; Δp x <0 and Δp y >0, the movement direction is downward right; Δp x <0 and Δp y =0, the movement direction is downward; Δp x <0 and Δp y <0, the movement direction is lower left; Δp x =0 and Δp y <0, the movement direction is upward; Δp x >0 and Δp y <0, the movement direction is upper left; Among them, Δp x is the position difference in the X direction, Δp y is the position difference in the Y direction.
5. The robot shaft hole assembly method based on guided teaching reinforcement learning according to claim 1 is characterized in that: The calculation process of the inverse impedance model is: Calculate the current torque reading Ft and the target torque Ft target The difference between the two gives the force error Ft err , calculate the force error Ft err The transpose of Ft err T ; Calculate the damping matrix and assign the damping parameters in the damping matrix to the impedance controller of the robot; A damping parameter strategy model based on sEMG signals is constructed, the damping parameter strategy model is trained using smoothed sEMG data and IMU Euler angle data, and the trained model is saved.
6. A robot shaft hole assembly method based on guided teaching reinforcement learning according to claim 5, characterized in that: The calculation method of the damping matrix is: Among them, M num is the intermediate transformation matrix, and the calculation method is: M num =v×inv(A) Where A is the response matrix, and the calculation method is: A=Tc×Ft err T +M×v d In the above formula, Tc is the time control constant in the controller, Ft err T is the transpose of the force error, M is the inertia matrix of the impedance controller, v d is the velocity difference, and v is the velocity based on the robot position difference.
7. The robot shaft hole assembly method based on guided teaching reinforcement learning according to claim 1 is characterized in that: The threshold value set in step S2 is 1000 μV.
8. The robot shaft hole assembly method based on guided teaching reinforcement learning according to claim 1 is characterized in that: The reverse impedance control model is constructed using a logistic regression machine learning method.
9. A robot shaft hole assembly system based on guided teaching reinforcement learning, comprising a control center (10), a robot (20) that communicates bidirectionally with the control center (10), and a six-dimensional force / torque sensor (60) is provided at the end of the robot (20) for collecting assembly contact force and torque data and sending the data to the control center (10); characterized in that: It also includes an electromyographic armband (50), which is used to collect sEMG signals and IMU Euler angle data of human experts and send them to the control center (10). The control center (10) also receives the position data of the end effector of the robot (20), executes the assembly method as described in claims 1-8, and controls the robot (20) to switch between the guided teaching method and the reinforcement learning method to perform the shaft hole assembly task.
10. The robot shaft hole assembly system based on guided teaching reinforcement learning according to claim 9, characterized in that: The communication method between the control center (10) and the myoelectric armband (50) is one of RS-232, RS-485, Ethernet, Bluetooth, ZigBee and WiFi.
Citation Information
Patent Citations
Human-robot cooperative control method based on human body dynamic arm strength estimation model
CN113059570A
Machine learning method based on surface electromyogram signals and motion capture technology
CN113805696A
Polishing method of robot polishing system based on teaching track optimization and correction
CN116533227A
