Bionic mechanical arm control method and system
By building an automatic control system and using the PID control algorithm to train the grasping accuracy of the bionic robotic arm, the problem of low efficiency in planning the movement trajectory of the existing bionic robotic arm has been solved, and efficient grasping and precise control of the bionic robotic arm have been achieved.
Patent Information
- Application Number
- CN202410759876.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-13
AI Technical Summary
The moving trajectory planning efficiency of existing bionic manipulators is low, resulting in a long and energy-consuming control process with low efficiency.
By building an automatic control system, the sensor and the microcontroller bionic space are used to process environmental information and pose information, the grasping accuracy is trained based on the PID control algorithm, the bionic control parameters are obtained, and the running trajectory of the bionic manipulator is optimized through the PID control model to achieve physical objects. Crawl testing to improve crawling accuracy and efficiency.
It improves the efficiency of moving trajectory planning of the bionic manipulator, reduces the grasping accuracy error, and achieves more accurate control effects.
Smart Images

Figure CN118559708A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent control technology, and in particular to a control method and system for a bionic mechanical arm. Background Art
[0002] With the rapid development of automation technology, smart factories have emerged. Robotic arms are an important part of smart factories. The controller adjusts the movement trajectory of the robotic arm, avoids obstacles, completes designated tasks and realizes industrial production. At present, the maintenance and installation of high towers such as power towers and communication towers are still completed manually. There are great dangers for people to work at high altitudes, especially the high voltage danger of power towers. Many institutions at home and abroad have carried out research on aerial work robots. Most of the existing aerial work robots are controlled by computers, and the actions of the robots cannot fully achieve the expected effects of the operators. With the continuous improvement of industrial production precision requirements, the traditional feedback-type robotic arm control mode can no longer meet the needs of industrial development, and the realization of intelligent control of robotic arms has become a research hotspot.
[0003] The existing technology usually adopts the forward and inverse kinematics calculation method and the digital twin bionic space construction method to output the collision-free joint path points of the robot arm when completing the task, so as to realize the movement trajectory planning of the robot arm; there is also a sampling-based method to realize the movement trajectory planning of the robot arm, which uses a smaller amount of calculation to achieve high-dimensional space planning.
[0004] For example, the invention patent application with publication number: CN108279620A discloses a bionic arm control device and control method based on brain waves combined with limb movements, which includes: a brain wave sensor and a motion sensing sensor are connected to a control module through a wireless network; a voice broadcast module is connected to the control module through a wire; and the control module is connected to the bionic arm through a wireless network.
[0005] For example, the invention patent with announcement number: CN110413107B discloses an interactive control method for a bionic manipulator based on electromyographic signal pattern recognition and particle swarm optimization, which includes: firstly, establishing a pattern recognition system based on surface electromyographic signals for pre-learning, obtaining surface electromyographic signals through a multi-channel electromyograph, extracting feature data of multiple features after software filtering using Butterworth filtering and comb filtering, and performing pattern recognition based on all-channel offline feature data, using a particle swarm optimization algorithm to perform optimization search for the optimal feature combination and the optimal channel combination; then, collecting real-time surface electromyographic signals based on the optimal feature combination and the optimal channel combination, performing real-time gesture recognition using a KNN algorithm after filtering and feature extraction, and using the recognized gesture results to perform real-time robust control of the bionic manipulator of each degree of freedom.
[0006] However, in the process of implementing the technical solution of the invention in the embodiments of the present application, the present application found that the above technology has at least the following technical problems:
[0007] In the prior art, the bionic robotic arm control system can enable the bionic robotic arm to reach a specified position, but the control process is time-consuming, energy-intensive, and has low control efficiency. There is also a problem of low efficiency in planning the movement trajectory of the bionic robotic arm. Summary of the invention
[0008] The embodiments of the present application provide a bionic robotic arm control method and system, thereby solving the problem of low efficiency in bionic robotic arm movement trajectory planning in the prior art and improving the efficiency in bionic robotic arm movement trajectory planning.
[0009] The embodiment of the present application provides a bionic robotic arm control method, comprising the following steps: S1, constructing an automatic control system, wherein the automatic control system is used to determine the next position and action of the bionic robotic arm according to environmental information and the posture information of the bionic robotic arm, the automatic control system comprises a sensor and a single-chip microcomputer bionic space, the sensor comprises a position sensor and a speed sensor, the single-chip microcomputer bionic space is used to process and analyze the information collected by the sensor, and the bionic robotic arm is used to perform preset tasks; S2, based on the PID control algorithm, the grasping accuracy of the bionic robotic arm is trained to obtain training data and record the number of bionic robotic arm training times, bionic control parameters are obtained according to the obtained training data, and then it is determined whether the obtained bionic control parameters reach the reference bionic control parameters, if the reference bionic control parameters are reached, the information collected by the sensor is input into the single-chip microcomputer bionic space, otherwise the training is performed again, and the grasping accuracy includes grasping speed and grasping force; S3, the corresponding reference bionic control parameters reached in S2 are input into the single-chip microcomputer bionic space, otherwise the training is performed again, and the grasping accuracy includes grasping speed and grasping force; After the data is input into the sensor, the bionic robotic arm is trained to grasp objects in real objects, and the physical training data is obtained. It is judged whether the grasping accuracy of the bionic robotic arm is equal to the corresponding reference grasping accuracy based on the obtained physical training data. If it is equal, S4 is executed, otherwise S2 is returned; S4, a unit step response function is obtained according to the obtained bionic control parameters combined with the single-chip microcomputer bionic space, and a PID control model is obtained according to the obtained unit step response function. The operation trajectory of the bionic robotic arm is controlled by the obtained PID control model. The unit step response function is used to describe the error degree of the operation trajectory of the bionic robotic arm in different time periods; S5, a physical grasping test is performed on the bionic robotic arm within a preset time period to obtain the grasping accuracy error of the bionic robotic arm, and it is judged whether the obtained grasping accuracy error is less than the corresponding preset accuracy error. If it is less than the preset accuracy error, it indicates that the grasping accuracy of the bionic robotic arm meets the preset requirements, otherwise S1 is returned. The grasping accuracy error includes grasping speed error and grasping force error.
[0010] Furthermore, the PID control algorithm is used to perform grasping accuracy control on the bionic robotic arm to obtain grasping accuracy control parameters, and the acquired grasping accuracy control parameters are analyzed to obtain corresponding bionic control parameters; the grasping accuracy control includes proportional control, integral control and differential control; the grasping accuracy control parameters include proportional parameters, integral parameters and differential parameters, which are obtained through proportional control, integral control and differential control respectively; the proportional parameters and integral parameters are used to generate a control signal when combining with the automatic control system to determine the next position and action of the bionic robotic arm and the error generated.
[0011] Furthermore, the grasping accuracy error of the bionic robotic arm is calculated using the following formula: In the formula, i is the number of times the bionic robot arm is trained, i = 1, 2, ..., N, N is the total number of times the bionic robot arm is trained, ξ i represents the grasping speed error of the i-th bionic robotic arm training, ψ i represents the grasping force error of the i-th bionic robotic arm training, Kp i represents the scale parameter of the i-th bionic robotic arm training, K i represents the integral parameter of the i-th bionic robotic arm training, Kd i represents the differential parameter of the i-th bionic robotic arm training, α1 represents the reference grasping speed of the bionic robotic arm, α2 represents the reference grasping force of the bionic robotic arm, and α i represents the actual grasping speed of the i-th bionic robotic arm training, β i Represents the actual grasping force of the i-th bionic robotic arm training.
[0012] Furthermore, the environmental information includes binocular camera parameters, obstacle parameters and target object parameters; the posture information is used to describe the position, speed and posture information of the bionic robotic arm, specifically including binocular camera posture information, obstacle posture information and target object posture information.
[0013] Furthermore, the error degree is used to describe the oscillation degree of the unit step response function; if the error change is equal to 0, the corresponding control parameter is obtained according to the unit step response function; if the error change is not equal to 0, return to S2.
[0014] Furthermore, a specific training method for the grasping accuracy of the bionic robotic arm is as follows: S21, initializing the PID control algorithm, obtaining initial bionic control parameters, and constructing a PID control model based on the initial bionic control parameters; S22, obtaining the posture information of the bionic robotic arm, obtaining the grasping path information of the bionic robotic arm according to the posture information of the bionic robotic arm and the PID control model, and then training the bionic robotic arm for grasping accuracy based on the obtained grasping path information and obtaining the corresponding grasping accuracy; S23, judging whether the obtained grasping accuracy is equal to the reference grasping accuracy; if not, returning to S21; if equal, obtaining the corresponding bionic control parameters.
[0015] Furthermore, the specific calculation formula of the bionic control parameter is as follows: Where i is the number of times the bionic robot arm is trained, i = 1, 2, ..., N, N is the total number of times the bionic robot arm is trained, e is a natural constant, θ i represents the bionic control parameters of the i-th bionic robotic arm training, ξ i represents the grasping speed error of the i-th bionic robotic arm training, ψ i represents the grasping force error of the i-th bionic robotic arm training, Kd i represents the differential parameter of the i-th bionic robotic arm training, α1 represents the reference grasping speed of the bionic robotic arm, α2 represents the reference grasping force of the bionic robotic arm, and α i represents the actual grasping speed of the i-th bionic robotic arm training, β i Represents the actual grasping force of the i-th bionic robotic arm training.
[0016] Furthermore, the specific construction method of the PID control model is as follows: obtain state information by initializing the PID control algorithm; obtain a PID bionic control function according to the PID control algorithm and in combination with the obtained state information, wherein the PID bionic control function is used to obtain the grasping accuracy error and the corresponding grasping accuracy error change rate; obtain a PID control model according to the obtained PID bionic control function and in combination with single-chip microprocessor processing; in S23, before returning to S21, it also includes: updating the posture information of the bionic robotic arm, reference bionic control parameters and PID control model.
[0017] Furthermore, the PID bionic control function is calculated using the following formula: Where i is the number of times the bionic robot arm is trained, i = 1, 2, ..., N, N is the total number of times the bionic robot arm is trained, t i is the time of the i-th bionic robotic arm training, ξ i represents the grasping speed error of the i-th bionic robotic arm training, ψ irepresents the grasping force error of the i-th bionic robotic arm training, Kp i represents the scale parameter of the i-th bionic robotic arm training, K i represents the integral parameter of the i-th bionic robotic arm training, Kd i represents the differential parameter of the i-th bionic robotic arm training, α1 represents the reference grasping speed of the i-th bionic robotic arm training, α2 represents the reference grasping force of the i-th bionic robotic arm training, and α i represents the actual grasping speed of the i-th bionic robotic arm training, β i represents the actual grasping force of the i-th bionic robotic arm training, δ(t i ) represents the PID controller in the bionic robot arm at the tth i The bionic control function of time, G(t i ) represents the PID controller in the bionic robot arm at the tth i The error between the input signal and the reference bionic control parameter in time, ω(t i ) represents the PID controller in the bionic robot arm at the tth i The rate of change of the error between the input signal and the reference bionic control parameters within a certain period of time.
[0018] The embodiment of the present application provides a bionic robotic arm control system, which includes: a bionic space construction module, a grasping accuracy training module, a physical grasping training module, a PID control model acquisition module and a bionic test module; wherein the bionic space construction module is used to construct an automatic control system, and the automatic control system is used to determine the next position and action of the bionic robotic arm according to environmental information and the posture information of the bionic robotic arm, and the automatic control system includes a sensor and a single-chip bionic space, and the sensor includes a position sensor and a speed sensor, and the single-chip bionic space is used to The bionic robot arm is used to process and analyze the information collected by the sensor, and is used to perform preset tasks; the grasping accuracy training module is used to train the grasping accuracy of the bionic robot arm based on the PID control algorithm to obtain training data and record the number of bionic robot arm trainings, obtain bionic control parameters according to the obtained training data, and then determine whether the obtained bionic control parameters reach the reference bionic control parameters. If the reference bionic control parameters are reached, the information collected by the sensor is input into the single-chip bionic space, otherwise the training is performed again. The grasping accuracy includes grasping speed and grasping force; the physical grasping training module is used to After the corresponding data reaching the reference bionic control parameters is input into the sensor, the bionic mechanical arm is trained to grasp the real object, and the real object training data is obtained. According to the obtained real object training data, it is judged whether the grasping accuracy of the bionic mechanical arm is equal to the corresponding reference grasping accuracy. If it is equal, the PID control model acquisition module function is executed, otherwise it returns to the grasping accuracy training module for reprocessing; the PID control model acquisition module is used to obtain the unit step response function according to the obtained bionic control parameters combined with the single-chip microcomputer bionic space, and obtain the PID control model according to the obtained unit step response function. The PID control model controls the running trajectory of the bionic robotic arm, and the unit step response function is used to describe the error degree of the running trajectory of the bionic robotic arm in different time periods; the bionic test module is used to perform a physical grasping test on the bionic robotic arm within a preset time period, obtain the grasping accuracy error of the bionic robotic arm, and determine whether the acquired grasping accuracy error is less than the corresponding preset accuracy error. If it is less than the preset accuracy error, it indicates that the grasping accuracy of the bionic robotic arm has met the preset requirements, otherwise it returns to the bionic space construction module for reprocessing, and the grasping accuracy error includes grasping speed error and grasping force error.
[0019] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0020] 1. By building an automatic control system, the bionic robotic arm's grasping accuracy is trained based on the PID control algorithm to obtain the bionic control parameters and make judgments. Then, the PID control model is obtained by combining the single-chip microcomputer bionic space in the automatic control system. Finally, a food grasping test is performed to obtain the grasping accuracy error. The grasping accuracy error is used to make another judgment, thereby achieving rapid planning of the bionic robotic arm's moving trajectory, and then achieving improved efficiency in planning the bionic robotic arm's moving trajectory, effectively solving the problem of low efficiency in planning the bionic robotic arm's moving trajectory in the prior art.
[0021] 2. Initialize the PID control algorithm and build a PID control model based on the obtained initial bionic control parameters. Then obtain the posture information of the bionic robotic arm, and obtain the grasping path information of the bionic robotic arm based on the posture information and the PID control model. Then, based on the obtained grasping path information, train the grasping accuracy of the bionic robotic arm and obtain the corresponding grasping accuracy. Finally, make a judgment based on the reference grasping accuracy, thereby achieving accurate training of the grasping accuracy of the bionic robotic arm and reducing the grasping accuracy error of the bionic robotic arm.
[0022] 3. By initializing the PID control algorithm and obtaining status information, the PID bionic control function is obtained according to the PID control algorithm and the obtained status information to obtain the grasping accuracy error and the grasping accuracy error change rate. Finally, the PID bionic control function is obtained according to the obtained PID bionic control function and combined with the single-chip microprocessor processing to obtain the PID control model, thereby realizing the accurate construction of the PID control model and achieving more accurate control of the moving trajectory of the bionic robotic arm. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A flow chart of a bionic robotic arm control method provided in an embodiment of the present application;
[0024] Figure 2 A training flow chart for the grasping accuracy of a bionic robotic arm provided in an embodiment of the present application;
[0025] Figure 3 A schematic diagram of the structure of a bionic robotic arm control system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] The embodiment of the present application solves the problem of low efficiency in trajectory planning of bionic robotic arms in the prior art by providing a bionic robotic arm control method and system. An automatic control system is constructed to determine the next position and action of the bionic robotic arm according to environmental information and the posture information of the bionic robotic arm, and then the grasping accuracy of the bionic robotic arm is trained based on a PID control algorithm to obtain training data. The bionic control parameters are obtained based on the obtained training data, and it is determined whether the obtained bionic control parameters reach the reference bionic control parameters. Then, the corresponding data reaching the reference bionic control parameters is input into a sensor, and then the bionic robotic arm is trained to grasp objects in real objects to obtain the training data. Take the physical training data, and judge whether the grasping accuracy of the bionic robotic arm is equal to the reference grasping accuracy based on the acquired physical training data, then get the unit step response function according to the obtained bionic control parameters, and get the PID control model according to the obtained unit step response function to control the running trajectory of the bionic robotic arm, finally, perform a physical grasping test on the bionic robotic arm within a preset time period and obtain the grasping accuracy error, and judge whether the obtained grasping accuracy error is less than the corresponding preset accuracy error, if it is less than the preset accuracy error, it indicates that the grasping accuracy of the bionic robotic arm meets the preset requirements, and the efficiency of the bionic robotic arm movement trajectory planning is improved.
[0027] The technical solution in the embodiment of the present application is to solve the problem of low efficiency in moving trajectory planning of the above-mentioned bionic robotic arm, and the overall idea is as follows:
[0028] By building an automatic control system, the bionic robotic arm's grasping accuracy is trained based on the PID control algorithm to obtain the bionic control parameters and make judgments. Then, the PID control model is obtained by combining the single-chip microcomputer bionic space in the automatic control system. Finally, a physical grasping test is carried out to obtain the grasping accuracy error, and the judgment is made again based on the grasping accuracy error, thereby achieving the effect of improving the efficiency of the bionic robotic arm's moving trajectory planning.
[0029] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0030] like Figure 1As shown, it is a flow chart of a bionic robotic arm control method provided by an embodiment of the present application, the method comprising the following steps: S1, bionic space construction: constructing an automatic control system, the automatic control system is used to determine the next position and action of the bionic robotic arm according to environmental information and the posture information of the bionic robotic arm, the automatic control system comprises a sensor and a single-chip bionic space, the sensor comprises a position sensor and a speed sensor, the single-chip bionic space is used to process and analyze the information collected by the sensor, and the bionic robotic arm is used to perform preset tasks; S2, grasping accuracy training: based on the PID control algorithm, the grasping accuracy of the bionic robotic arm is trained to obtain training data and record the number of bionic robotic arm trainings, the bionic control parameters are obtained according to the obtained training data, and then it is determined whether the obtained bionic control parameters reach the reference bionic control parameters, if the reference bionic control parameters are reached, the information collected by the sensor is input into the single-chip bionic space, otherwise the training is performed again, and the grasping accuracy includes grasping speed and grasping force; S3, physical grasping training: the physical grasping accuracy reached in S2 is input into the single-chip bionic space, otherwise the training is performed again, and the grasping accuracy includes grasping speed and grasping force; After the corresponding data of the control parameters are input into the sensor, the bionic robotic arm is trained to grasp objects, obtain the physical training data, and judge whether the grasping accuracy of the bionic robotic arm is equal to the corresponding reference grasping accuracy based on the obtained physical training data. If it is equal, execute S4, otherwise return to S2; S4, PID control model acquisition: obtain the unit step response function according to the obtained bionic control parameters and the single-chip bionic space, and obtain the PID control model according to the obtained unit step response function, and control the operation trajectory of the bionic robotic arm through the obtained PID control model. The unit step response function is used to describe the error degree of the operation trajectory of the bionic robotic arm in different time periods; S5, bionic test: perform a physical grasping test on the bionic robotic arm within a preset time period, obtain the grasping accuracy error of the bionic robotic arm, and judge whether the obtained grasping accuracy error is less than the corresponding preset accuracy error. If it is less than the preset accuracy error, it indicates that the grasping accuracy of the bionic robotic arm meets the preset requirements, otherwise return to S1, the grasping accuracy error includes grasping speed error and grasping force error.
[0031] In this embodiment, there is a single-chip microprocessor in the single-chip bionic space, and a PID control model is obtained in combination with a unit step response function, thereby improving the efficiency of planning the moving trajectory of the bionic robotic arm.
[0032] Furthermore, the PID control algorithm is used to perform grasping accuracy control on the bionic robotic arm to obtain grasping accuracy control parameters, and the acquired grasping accuracy control parameters are analyzed to obtain corresponding bionic control parameters; grasping accuracy control includes proportional control, integral control and differential control; grasping accuracy control parameters include proportional parameters, integral parameters and differential parameters, which are obtained through proportional control, integral control and differential control respectively; proportional parameters and integral parameters are used to generate control signals in combination with the automatic control system to determine the next position and action of the bionic robotic arm when the error is generated.
[0033] In this embodiment, the grasping accuracy of the bionic robotic arm can be improved by reasonably adjusting the grasping accuracy control parameters, thereby enabling the bionic robotic arm to accurately grasp and control different objects.
[0034] Furthermore, the grasping accuracy error of the bionic robotic arm is calculated using the following formula: In the formula, i is the number of times the bionic robot arm is trained, i = 1, 2, ..., N, N is the total number of times the bionic robot arm is trained, ξ i represents the grasping speed error of the i-th bionic robotic arm training, ψ i represents the grasping force error of the i-th bionic robotic arm training, Kp i represents the scale parameter of the i-th bionic robotic arm training, K i represents the integral parameter of the i-th bionic robotic arm training, Kd i represents the differential parameter of the i-th bionic robotic arm training, α1 represents the reference grasping speed of the bionic robotic arm, α2 represents the reference grasping force of the bionic robotic arm, and α i represents the actual grasping speed of the i-th bionic robotic arm training, β i Represents the actual grasping force of the i-th bionic robotic arm training.
[0035] In this embodiment, the reference grasping speed of the bionic robotic arm is 0.25m / s, and the reference grasping force of the bionic robotic arm is 10N, which can be adjusted according to actual conditions; the grasping accuracy error of the bionic robotic arm includes the error between the grasping position and posture when grasping an object and the actual required grasping position. When performing grasping accuracy training, various factors are comprehensively considered according to actual conditions to achieve the improvement of the grasping accuracy of the bionic robotic arm.
[0036] Furthermore, the environmental information includes binocular camera parameters, obstacle parameters and target object parameters; the posture information is used to describe the position, speed and posture information of the bionic robotic arm, specifically including binocular camera posture information, obstacle posture information and target object posture information.
[0037] In this embodiment, the binocular camera parameters include the position, size and posture of the binocular camera, the obstacle parameters include the position, shape and posture of the obstacle, and the target object parameters include the position, shape, color and surface features of the target object. These parameters are very important for object recognition, positioning and tracking. In robotic arm technology, these parameters are used for navigation, obstacle avoidance, positioning and grasping tasks of bionic robotic arms, realizing more comprehensive planning of the movement trajectory of the bionic robotic arms.
[0038] Furthermore, the error degree is used to describe the oscillation degree of the unit step response function; if the error change is equal to 0, the corresponding control parameter is obtained according to the unit step response function; if the error change is not equal to 0, return to S2.
[0039] In this embodiment, the oscillation degree of the unit step response function is related to the grasping accuracy control parameters of the bionic robotic arm. The oscillation degree of the unit step response function can be controlled by adjusting the proportional parameters, integral parameters and differential parameters of the system, thereby achieving efficient control of the grasping accuracy of the bionic robotic arm.
[0040] Further, such as Figure 2 As shown, it is a training flow chart of the grasping accuracy of the bionic robotic arm provided in an embodiment of the present application. The specific training method of the grasping accuracy of the bionic robotic arm is as follows: S21, initialize the PID control algorithm, obtain the initial bionic control parameters, and construct the PID control model according to the initial bionic control parameters; S22, obtain the posture information of the bionic robotic arm, obtain the grasping path information of the bionic robotic arm according to the posture information of the bionic robotic arm and the PID control model, and then train the grasping accuracy of the bionic robotic arm based on the obtained grasping path information and obtain the corresponding grasping accuracy; S23, determine whether the acquired grasping accuracy is equal to the reference grasping accuracy; if not, return to S21; if equal, obtain the corresponding bionic control parameters.
[0041] In this embodiment, the reference grasping accuracy includes a reference grasping speed and a reference grasping force. The initialization bionic control parameters are used to initialize the parameters of the bionic control system. The task requirements of different bionic control systems are also different. By adjusting and optimizing the bionic control parameters, the grasping performance and effect of the bionic robotic arm are significantly improved, and efficient grasping accuracy training of the bionic robotic arm is achieved.
[0042] Furthermore, the specific calculation formula of the bionic control parameters is as follows: Where i is the number of times the bionic robot arm is trained, i=1,2,....,N, N is the total number of times the bionic robot arm is trained, e is a natural constant, θ i represents the bionic control parameters of the i-th bionic robotic arm training, ξ i represents the grasping speed error of the i-th bionic robotic arm training, ψi represents the grasping force error of the i-th bionic robotic arm training, Kd i represents the differential parameter of the i-th bionic robotic arm training, α1 represents the reference grasping speed of the bionic robotic arm, α2 represents the reference grasping force of the bionic robotic arm, and α i represents the actual grasping speed of the i-th bionic robotic arm training, β i Represents the actual grasping force of the i-th bionic robotic arm training.
[0043] In this embodiment, the bionic control parameters include perception parameters, motion parameters and control rule parameters. By acquiring corresponding data through the training times of the bionic robotic arm, the bionic control parameters of the bionic robotic arm are reasonably selected and optimized, thereby achieving more precise control of the moving trajectory of the bionic robotic arm.
[0044] Furthermore, the specific construction method of the PID control model is as follows: obtain state information by initializing the PID control algorithm; obtain a PID bionic control function based on the PID control algorithm and in combination with the obtained state information, and the PID bionic control function is used to obtain the grasping accuracy error and the corresponding grasping accuracy error change rate; obtain a PID control model based on the obtained PID bionic control function and in combination with the single-chip microprocessor processing; in S23, before returning to S21, it also includes: updating the posture information of the bionic robot arm, reference bionic control parameters and PID control model.
[0045] In this embodiment, the acquired state information includes the position and posture information of the bionic robotic arm. The single-chip microprocessor processes and analyzes the acquired state information, and obtains a PID control model in combination with the acquired PID bionic control function, thereby achieving a more accurate construction of the PID control model.
[0046] Furthermore, the PID bionic control function is calculated using the following formula: Where i is the number of times the bionic robot arm is trained, i = 1, 2, ..., N, N is the total number of times the bionic robot arm is trained, t i is the time of the i-th bionic robotic arm training, ξ i represents the grasping speed error of the i-th bionic robotic arm training, ψ i represents the grasping force error of the i-th bionic robotic arm training, Kp i represents the scale parameter of the i-th bionic robotic arm training, K i represents the integral parameter of the i-th bionic robotic arm training, Kd i represents the differential parameter of the i-th bionic robotic arm training, α1 represents the reference grasping speed of the i-th bionic robotic arm training, α2 represents the reference grasping force of the i-th bionic robotic arm training, and α irepresents the actual grasping speed of the i-th bionic robotic arm training, β i represents the actual grasping force of the i-th bionic robotic arm training, δ(t i ) represents the PID controller in the bionic robot arm at the tth i The bionic control function of time, G(t i ) represents the PID controller in the bionic robot arm at the tth i The error between the input signal and the reference bionic control parameter in time, ω(t i ) represents the PID controller in the bionic robot arm at the tth i The rate of change of the error between the input signal and the reference bionic control parameters within a certain period of time.
[0047] In this embodiment, the PID bionic control function is a bionic control function based on proportional, integral and differential control. Reasonable adjustment and optimization of proportional, integral and differential parameters can achieve precise control of the bionic robotic arm, thereby improving system stability and the efficiency of trajectory planning of the bionic robotic arm.
[0048] like Figure 3As shown, it is a structural schematic diagram of a bionic robotic arm control system provided by an embodiment of the present application. A bionic robotic arm control system provided by an embodiment of the present application includes: a bionic space construction module, a grasping accuracy training module, a physical grasping training module, a PID control model acquisition module and a bionic test module; wherein, the bionic space construction module is used to construct an automatic control system, and the automatic control system is used to determine the next position and action of the bionic robotic arm according to environmental information and the posture information of the bionic robotic arm. The automatic control system includes a sensor and a single-chip microcomputer bionic space, and the sensor includes a position sensor and a speed sensor. The single-chip microcomputer bionic space is used to process and analyze the information collected by the sensor, and the bionic robotic arm is used to perform preset tasks; the grasping accuracy training module is used to train the grasping accuracy of the bionic robotic arm based on the PID control algorithm to obtain training data and record the number of bionic robotic arm trainings, obtain bionic control parameters according to the obtained training data, and then determine whether the obtained bionic control parameters reach the reference bionic control parameters. If the reference bionic control parameters are reached, the information collected by the sensor is input into the single-chip microcomputer bionic space, otherwise the training is performed again, and the grasping accuracy includes grasping speed and grasping force; physical The grasping training module is used to input the corresponding data that reaches the reference bionic control parameters into the sensor, and then perform physical grasping training on the bionic robotic arm, obtain physical training data, and judge whether the grasping accuracy of the bionic robotic arm is equal to the corresponding reference grasping accuracy based on the acquired physical training data. If it is equal, the PID control model acquisition module function is executed, otherwise it returns to the grasping accuracy training module for reprocessing; the PID control model acquisition module is used to obtain the unit step response function based on the obtained bionic control parameters combined with the microcontroller bionic space, and obtain the PID control model based on the obtained unit step response function. The operation trajectory of the bionic robotic arm is controlled by the acquired PID control model, and the unit step response function is used to describe the error degree of the operation trajectory of the bionic robotic arm in different time periods; the bionic test module is used to perform a physical grasping test on the bionic robotic arm within a preset time period, obtain the grasping accuracy error of the bionic robotic arm, and determine whether the acquired grasping accuracy error is less than the corresponding preset accuracy error. If it is less than the preset accuracy error, it indicates that the grasping accuracy of the bionic robotic arm has met the preset requirements, otherwise it returns to the bionic space construction module for reprocessing. The grasping accuracy error includes grasping speed error and grasping force error.
[0049] In this embodiment, the automatic control system refers to the automatic control of key parameters in the bionic robot arm training without direct human intervention; the bionic robot arm is a mechanism and device that imitates a biological arm, and it has a structure and function similar to that of a biological arm; the components of the bionic robot arm include: a base; a main body component, which is arranged in the middle of the base, and the main body component is provided with more than two support seats in the vertical direction, and more than two support arms are movably provided between each two adjacent support seats; a torsion component, which is arranged on the base and in the circumferential direction of the main body component, and each torsion component is movably provided with A plurality of groups of cycloids and driving parts having the same number as the cycloids and capable of controlling the tightness of the cycloids, each group of cycloids is interspersed on a support seat, and when the cycloids on one side of the support seat are tightened and the cycloids on the other side of the support seat are relaxed, the support seat and the support arm can be driven to bend toward the tightened cycloid side; a rotating component is arranged on a base, a mechanical claw is provided at one end of the rotating component, and the mechanical claw is rotatably arranged on the top of the main component; the bionic robotic arm can achieve bending, extension and grasping similar to biological arms, and has broad application prospects, provides better services for human production and life, and realizes the intelligence and adaptability of the robot.
[0050] The technical scheme in the above-mentioned embodiment of the present application has at least the following technical effects or advantages: Compared with the bionic arm control device and control method based on brain waves combined with limb movements disclosed in the invention patent application with publication number: CN108279620A, the embodiment of the present application initializes the PID control algorithm, and constructs a PID control model based on the acquired initial bionic control parameters, and then obtains the posture information of the bionic robotic arm, and obtains the grasping path information of the bionic robotic arm based on the posture information and the PID control model, and then performs grasping accuracy training on the bionic robotic arm based on the acquired grasping path information and obtains the corresponding grasping accuracy, and finally makes a judgment based on the reference grasping accuracy, thereby achieving accurate training of bionics. The grasping accuracy of the robotic arm is improved, thereby reducing the grasping accuracy error of the bionic robotic arm; relative to the bionic robotic arm interactive control method based on electromyographic signal pattern recognition and particle swarm optimization announced in the invention patent with announcement number: CN110413107B, the embodiment of the present application initializes the PID control algorithm and obtains state information, and then obtains the PID bionic control function according to the PID control algorithm and the obtained state information to obtain the grasping accuracy error and the grasping accuracy error change rate, and finally obtains the PID control model according to the obtained PID bionic control function and combined with the single-chip microprocessor processing to obtain the PID control model, thereby realizing accurate construction of the PID control model, and then realizing more accurate control of the moving trajectory of the bionic robotic arm.
[0051] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0052] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0053] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0054] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0055] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0056] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A bionic robot arm control method, characterized in that: The following steps are involved: S1, constructing an automatic control system, wherein the automatic control system is used to determine the next position and action of the bionic robotic arm according to environmental information and the position information of the bionic robotic arm, wherein the automatic control system includes a sensor and a single-chip bionic space, wherein the sensor includes a position sensor and a speed sensor, wherein the single-chip bionic space is used to process and analyze the information collected by the sensor, and wherein the bionic robotic arm is used to perform a preset task; S2, based on the PID control algorithm, the grasping accuracy of the bionic robot arm is trained to obtain training data and record the number of bionic robot arm trainings, and the bionic control parameters are obtained according to the obtained training data, and then it is determined whether the obtained bionic control parameters reach the reference bionic control parameters. If the reference bionic control parameters are reached, the information collected by the sensor is input into the single-chip microcomputer bionic space, otherwise the training is repeated, and the grasping accuracy includes the grasping speed and the grasping force; S3, after inputting the corresponding data of the reference bionic control parameter in S2 into the sensor, the bionic robot arm is trained to grasp the object, and the physical training data is obtained, and it is determined whether the grasping accuracy of the bionic robot arm is equal to the corresponding reference grasping accuracy according to the obtained physical training data. If it is equal, execute S4, otherwise return to S2; S4, obtaining a unit step response function according to the obtained bionic control parameters and the bionic space of the single-chip microcomputer, and obtaining a PID control model according to the obtained unit step response function, and controlling the running trajectory of the bionic mechanical arm by the obtained PID control model, wherein the unit step response function is used to describe the error degree of the running trajectory of the bionic mechanical arm in different time periods; S5, conduct a physical grasping test on the bionic robotic arm within a preset time period, obtain the grasping accuracy error of the bionic robotic arm, and determine whether the obtained grasping accuracy error is less than the corresponding preset accuracy error. If it is less than the preset accuracy error, it indicates that the grasping accuracy of the bionic robotic arm meets the preset requirements, otherwise return to S1, the grasping accuracy error includes grasping speed error and grasping force error.
2. A bionic robot arm control method as claimed in claim 1, characterized in that: The PID control algorithm is used to perform grasping precision control on the bionic robot arm to obtain grasping precision control parameters, and the obtained grasping precision control parameters are analyzed to obtain corresponding bionic control parameters; The grasping precision control includes proportional control, integral control and differential control; The grasping accuracy control parameters include proportional parameters, integral parameters and differential parameters, which are obtained through proportional control, integral control and differential control respectively; The proportional parameter and the integral parameter are used to generate a control signal in combination with the automatic control system to determine the error generated when the next position and movement of the bionic mechanical arm are determined.
3. A bionic robot arm control method as claimed in claim 1, characterized in that: The grasping accuracy error of the bionic robotic arm is calculated using the following formula: In the formula, i is the number of times the bionic robot arm is trained, i = 1, 2, ..., N, N is the total number of times the bionic robot arm is trained, ξ i represents the grasping speed error of the i-th bionic robotic arm training, ψ i represents the grasping force error of the i-th bionic robotic arm training, Kp i represents the scale parameter of the i-th bionic robotic arm training, K i represents the integral parameter of the i-th bionic robotic arm training, Kd i represents the differential parameter of the i-th bionic robotic arm training, α1 represents the reference grasping speed of the bionic robotic arm, α2 represents the reference grasping force of the bionic robotic arm, and α i represents the actual grasping speed of the i-th bionic robotic arm training, β i Represents the actual grasping force of the i-th bionic robotic arm training.
4. A bionic robot arm control method as claimed in claim 1, characterized in that: The environmental information includes binocular camera parameters, obstacle parameters and target object parameters; The posture information is used to describe the position, speed and posture information of the bionic robotic arm, and specifically includes binocular camera posture information, obstacle posture information and target object posture information.
5. A bionic robot arm control method as claimed in claim 1, characterized in that: The error degree is used to describe the oscillation degree of the unit step response function; If the error change is equal to 0, the corresponding control parameters are obtained according to the unit step response function; If the error change is not equal to 0, return to S2.
6. A bionic robot arm control method as claimed in claim 2, characterized in that: The specific training method for the grasping accuracy of the bionic robotic arm is as follows: S21, initializing the PID control algorithm, obtaining initial bionic control parameters, and constructing a PID control model based on the initial bionic control parameters; S22, obtaining the posture information of the bionic mechanical arm, obtaining the grasping path information of the bionic mechanical arm according to the posture information of the bionic mechanical arm and the PID control model, and then performing grasping accuracy training on the bionic mechanical arm based on the obtained grasping path information and obtaining the corresponding grasping accuracy; S23, determining whether the acquired grasping accuracy is equal to the reference grasping accuracy; If not equal, return to S21; If they are equal, the corresponding bionic control parameters are obtained.
7. A bionic robot arm control method as claimed in claim 1, characterized in that: The specific calculation formula of the bionic control parameters is as follows: Where i is the number of times the bionic robot arm is trained, i = 1, 2, ..., N, N is the total number of times the bionic robot arm is trained, e is a natural constant, θ i represents the bionic control parameters of the i-th bionic robotic arm training, ξ i represents the grasping speed error of the i-th bionic robotic arm training, ψ i represents the grasping force error of the i-th bionic robotic arm training, Kd i represents the differential parameter of the i-th bionic robotic arm training, α1 represents the reference grasping speed of the bionic robotic arm, α2 represents the reference grasping force of the bionic robotic arm, and α i represents the actual grasping speed of the i-th bionic robotic arm training, β i Represents the actual grasping force of the i-th bionic robotic arm training.
8. A bionic robot arm control method as claimed in claim 6, characterized in that: The specific construction method of the PID control model is as follows: Obtain status information by initializing the PID control algorithm; According to the PID control algorithm, a PID bionic control function is obtained in combination with the acquired state information, wherein the PID bionic control function is used to obtain a grasping accuracy error and a corresponding grasping accuracy error change rate; According to the acquired PID bionic control function, the PID control model is obtained in combination with the single chip microprocessor processing; In the S23, before returning to S21, it also includes: updating the posture information of the bionic robot arm, referring to the bionic control parameters and the PID control model.
9. A bionic robot arm control method according to claim 8, characterized in that: The PID bionic control function is calculated using the following formula: Where i is the number of times the bionic robot arm is trained, i = 1, 2, ..., N, N is the total number of times the bionic robot arm is trained, t i is the time of the i-th bionic robotic arm training, ξ i represents the grasping speed error of the i-th bionic robotic arm training, ψ i represents the grasping force error of the i-th bionic robotic arm training, Kp i represents the scale parameter of the i-th bionic robotic arm training, K i represents the integral parameter of the i-th bionic robotic arm training, Kd i represents the differential parameter of the i-th bionic robotic arm training, α1 represents the reference grasping speed of the i-th bionic robotic arm training, α2 represents the reference grasping force of the i-th bionic robotic arm training, and α i represents the actual grasping speed of the i-th bionic robotic arm training, β i represents the actual grasping force of the i-th bionic robotic arm training, δ(t i ) represents the PID controller in the bionic robot arm at the tth i The bionic control function of time, G(t i ) represents the PID controller in the bionic robot arm at the tth i The error between the input signal and the reference bionic control parameter in time, ω(t i ) represents the PID controller in the bionic robot arm at the tth i The rate of change of the error between the input signal and the reference bionic control parameters within a certain period of time.
10. A bionic robotic arm control system, characterized in that: The bionic mechanical arm control system includes: a bionic space construction module, a grasping accuracy training module, a physical grasping training module, a PID control model acquisition module and a bionic test module; The bionic space construction module is used to construct an automatic control system, which is used to determine the next position and action of the bionic mechanical arm according to the environmental information and the posture information of the bionic mechanical arm. The automatic control system includes a sensor and a single-chip bionic space. The sensor includes a position sensor and a speed sensor. The single-chip bionic space is used to process and analyze the information collected by the sensor, and the bionic mechanical arm is used to perform a preset task. The grasping accuracy training module is used to train the grasping accuracy of the bionic mechanical arm based on the PID control algorithm to obtain training data and record the number of bionic mechanical arm trainings, obtain bionic control parameters according to the obtained training data, and then determine whether the obtained bionic control parameters reach the reference bionic control parameters. If the reference bionic control parameters are reached, the information collected by the sensor is input into the single-chip microcomputer bionic space, otherwise the training is repeated. The grasping accuracy includes grasping speed and grasping force; The physical object grasping training module is used to input the corresponding data that reaches the reference bionic control parameter into the sensor, and then perform physical object grasping training on the bionic mechanical arm, obtain physical object training data, and judge whether the grasping accuracy of the bionic mechanical arm is equal to the corresponding reference grasping accuracy according to the obtained physical object training data. If it is equal, the PID control model acquisition module function is executed, otherwise it returns to the grasping accuracy training module for reprocessing; The PID control model acquisition module is used to obtain a unit step response function according to the obtained bionic control parameters in combination with the single-chip microcomputer bionic space, and to obtain a PID control model according to the obtained unit step response function, and to control the running trajectory of the bionic mechanical arm through the obtained PID control model, wherein the unit step response function is used to describe the error degree of the running trajectory of the bionic mechanical arm in different time periods; The bionic test module is used to perform a physical grasping test on the bionic robotic arm within a preset time period, obtain the grasping accuracy error of the bionic robotic arm, and determine whether the obtained grasping accuracy error is less than the corresponding preset accuracy error. If it is less than the preset accuracy error, it indicates that the grasping accuracy of the bionic robotic arm has met the preset requirements. Otherwise, it returns to the bionic space construction module for reprocessing. The grasping accuracy error includes grasping speed error and grasping force error.
Citation Information
Patent Citations
Grabbing network training method and system, electronic equipment and storage medium
CN115249333A
High-precision mechanical arm control method and system based on reinforcement learning
CN115781685A
Modeling method of multi-branch flexible claw and grabbing quality evaluation method and system
CN116512252A
Dynamic target rapid grabbing planning method and system based on deep reinforcement learning
CN117245666A
Robot end effector control
US10406685B1
Cited By
High-precision detection method and device for load sensor
CN118789560A
