A robot reconfiguration method and system based on multi-sensor fusion
Through the robot reconfiguration method based on multi-sensor fusion, the problem of insufficient adaptability of traditional intelligent control systems is solved, and the flexible reconstruction and adaptability of the robot mechanical body are realized, ensuring the continuous operation and high-precision control of the system in the event of environmental changes and failures.
Patent Information
- Application Number
- CN202411871575.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-18
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2044-12-18
AI Technical Summary
Traditional intelligent control systems lack adaptability and are unable to flexibly adjust system configurations according to changes in the environment and task requirements. In addition, the control accuracy of digital twin technology is insufficient, which limits the flexibility and adaptability of the system.
A robot reconfiguration method based on multi-sensor fusion is adopted. By dividing the robot mechanical body into reconfigurable motion execution units, the connection order and method are calibrated using a random sampling method, an equivalent mathematical model is established, and the data is monitored in real time and the model is updated to achieve fault diagnosis and reconstruction, ensuring the reconfigurability and adaptability of the robot mechanical body.
The robot's mechanical body has achieved flexible reconstruction and adaptability, and can reconfigure its form and function according to the environment and task requirements, ensuring the continuous operation of the system in the event of a fault, and realize real-time comparison and adjustment of simulated solutions and actual solutions through digital twin technology.
Smart Images

Figure CN119828457B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of robot control technology, and in particular to a robot reconfiguration method and system based on multi-sensor fusion. Background Art
[0002] With the development of advanced concepts such as intelligent manufacturing, industrial Internet and smart cities, reconfigurable systems and digital twin technologies as key enabling technologies have received strong support from governments and enterprises. Among them, digital twin technology, as an important means to achieve intelligent manufacturing, has received widespread attention from academia and the business community for its practical application. Reconfigurable systems are one of the key technologies to achieve the goal of intelligent manufacturing. The development of these technologies is of great significance to promoting the intelligent transformation of the manufacturing industry.
[0003] Traditional intelligent control systems have obvious deficiencies in their adaptive capabilities, making it difficult to flexibly adjust system configurations according to changes in the environment and task requirements. They also face technical challenges in realizing external digital twins of the system. Existing systems lack effective control measures for the smallest units, making it difficult to achieve flexible reconstruction of the system. Furthermore, the control accuracy of digital twin technology is insufficient, limiting the flexibility and adaptability of the system.
[0004] Therefore, finding a method that can flexibly adjust the system configuration according to changes in the environment and task requirements, and accurately control the digital twin model, is a technical problem that needs to be urgently solved by those skilled in the art. Summary of the Invention
[0005] The present invention provides a robot reconfiguration method and system based on multi-sensor fusion, which is used to solve the defect in the existing technology that it is difficult to flexibly adjust the system configuration according to changes in the environment and task requirements, and to achieve the reconfigurability and adaptability of the robot mechanical body.
[0006] The present invention provides a robot reconfiguration method based on multi-sensor fusion, comprising the following steps:
[0007] S1. Divide the robot's mechanical body into a plurality of reconfigurable motion execution units, each of which includes a joint, a motor, an angle sensor disposed on the motor input side, and a gyroscope disposed on the motor output side, wherein the angle sensor is concentrically connected to the motor, and a measuring axis of the gyroscope is tangent to the motor output side;
[0008] S2. Use a random sampling method to calibrate the connection order and connection mode of any reconfigurable motion execution unit to obtain an initial model, and calibrate the connection structure between two adjacent reconfigurable motion execution units according to the priority information in the initial model to obtain an optimized model;
[0009] S3, performing a paving operation on the optimized model in multiple movable directions to obtain an equivalent mathematical model;
[0010] S4, obtaining real-time monitoring data of the angle sensor and the gyroscope and calculating actual motion parameters, and inputting the real-time monitoring data into an equivalent mathematical model to obtain simulation values;
[0011] S5. Perform fault judgment on the robot mechanical body based on the actual motion parameters and simulation values. When the robot mechanical body fails, update the parameters of the equivalent mathematical model and replan the motion trajectory. Repeat steps S4-S5 until the robot mechanical body completes motion control.
[0012] According to a robot reconfiguration method based on multi-sensor fusion provided by the present invention, the robot mechanical body is divided according to the drive, reducer, connection structure of each output part in the robot mechanical body, components of the connection structure, each end-effector in the robot mechanical body and part of the end-effector, and the two adjacent reconfigurable motion execution units are connected by a connection structure.
[0013] According to a robot reconfiguration method based on multi-sensor fusion provided by the present invention, step S2 specifically includes:
[0014] S21. Collecting data from the angle sensor in each reconfigurable motion execution unit, constraining the spatial structural motion of the robot mechanical body to the motion of the reconfigurable motion execution unit, determining the priority of each reconfigurable motion execution unit in the robot mechanical body, and processing the angle sensor data using the least squares method to obtain an initial model of the robot mechanical body;
[0015] S22, performing step-by-step calibration from the end of the mechanism of the robot mechanical body toward the base until all reconfigurable motion execution units of all degrees of freedom in the robot mechanical body are calibrated, thereby obtaining an optimized model of the robot mechanical body;
[0016] S23, determining the initial angle range of two adjacent reconfigurable motion execution units and the length of the rod connecting the two adjacent reconfigurable motion execution units according to the structural constraints of the robot mechanical body;
[0017] S24. Determine an optimization model according to the initial angle range and the length of a rod connecting two adjacent reconfigurable motion execution units.
[0018] According to a robot reconfiguration method based on multi-sensor fusion provided by the present invention, step S22 of performing step-by-step calibration from the end of the mechanism of the robot mechanical body toward the base includes:
[0019] Step 1: Record the position of the reconfigurable motion execution unit to be calibrated in the initial model and record it as the zero point position;
[0020] Step 2: Control the reconfigurable motion execution unit to be calibrated to perform reverse growth motion until the return data of the sensor in the reconfigurable motion execution unit is 0, and the reconfigurable motion execution unit to be calibrated reaches the actual motion maximum position, and the actual motion maximum position is recorded;
[0021] Step 3: Determine the midpoint between the actual maximum motion position and the zero point position, perform a binary search between the midpoint position and the mechanical limit position of the reconfigurable motion execution unit in the robot mechanical body, and obtain the accurate position of the reconfigurable motion execution unit of the degree of freedom to be calibrated.
[0022] According to a robot reconfiguration method based on multi-sensor fusion provided by the present invention, the paving operation specifically includes:
[0023] Starting from the base reconfigurable motion execution unit of the robot's mechanical body, a motion reference direction is set, and the motors in each reconfigurable motion execution unit are driven to make the reconfigurable motion execution units with the highest priority move step by step until the angle between all adjacent rods is 180 degrees and all rods are located in the motion reference direction; the motion reference direction is any movable direction of the reconfigurable motion execution unit;
[0024] From the reconfigurable motion execution unit at the end of the robot's mechanical body to the reconfigurable motion execution unit at the base of the robot's mechanical body, each level of the reconfigurable motion execution unit moves independently. When the real-time data returned by the sensor remains unchanged but the motor current increases, the current angular range of the reconfigurable motion execution unit is recorded;
[0025] The motor of the current reconfigurable motion execution unit is driven to move in the reverse direction and return to the initial position, and the initial angle range of each reconfigurable motion execution unit is obtained in order from low to high priority.
[0026] According to a robot reconfiguration method based on multi-sensor fusion provided by the present invention, the calculation of actual motion parameters specifically includes:
[0027] Calculate the actual angle value of each reconfigurable motion execution unit according to the angle sensor data;
[0028] Calculate the angular velocity of each reconfigurable motion execution unit based on gyroscope data;
[0029] The position parameters of each reconfigurable motion execution unit are calculated based on the angle value and the angular velocity.
[0030] According to a robot reconfiguration method based on multi-sensor fusion provided by the present invention, step S5 specifically includes:
[0031] S51, establishing a DH parameter matrix according to the connection relationship and motion characteristics of the reconfigurable motion execution unit;
[0032] S52, establishing a homogeneous transformation matrix between adjacent reconfigurable motion execution units based on the DH parameter matrix;
[0033] S53, calculating the cumulative error value of the actual motion parameter relative to the simulated value, and when the cumulative error value exceeds a preset threshold, determining that the robot mechanical body has a fault;
[0034] S54, taking the faulty reconfigurable motion execution unit as the equivalent rod length, modifying the DH parameters and reconstructing the kinematic model;
[0035] S55. Replan the motion trajectory based on the reconstructed kinematic model. The robot mechanical body moves according to the replanned motion trajectory. Repeat step S4, continuously obtain real-time monitoring data from the angle sensor and gyroscope, and calculate the actual motion parameters. Repeat steps S53-S55 until the robot mechanical body completes motion control.
[0036] The present invention also provides a robot reconfigurable system based on multi-sensor fusion, which adopts the robot reconfigurable method as described above, including:
[0037] A structural division unit is used to divide the robot mechanical body into a plurality of reconfigurable motion execution units, each of which includes a joint, a motor, an angle sensor arranged on the motor input side, and a gyroscope arranged on the motor output side, wherein the angle sensor is concentrically connected to the motor, and the measuring axis of the gyroscope is tangent to the motor output side;
[0038] a calibration unit, configured to calibrate the connection order and connection mode of any reconfigurable motion execution unit using a random sampling method to obtain an initial model, and to calibrate the connection structure between two adjacent reconfigurable motion execution units according to the priority information in the initial model to obtain an optimized model;
[0039] An equivalent mathematical model construction unit is used to perform a paving operation on the optimization model in multiple movable directions to obtain an equivalent mathematical model;
[0040] A real-time monitoring unit is used to obtain real-time monitoring data from the angle sensor and gyroscope and calculate actual motion parameters, and input the real-time monitoring data into an equivalent mathematical model to obtain a simulation value;
[0041] The trajectory adjustment unit is used to diagnose faults of the robot's mechanical body based on actual motion parameters and simulation values. When a fault occurs in the robot's mechanical body, the parameters of the equivalent mathematical model are updated and the motion trajectory is replanned. Real-time monitoring and trajectory planning are repeated until the robot's mechanical body completes motion control.
[0042] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any one of the above-described robot reconfiguration methods is implemented.
[0043] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which implements any of the above-mentioned robot reconfiguration methods when executed by a processor.
[0044] The present invention provides a robot reconfiguration method based on multi-sensor fusion. By adding sensors to the motor to form a reconfigurable motion execution unit and establishing a corresponding equivalent mathematical model, the reconfigurability and adaptability of the robot mechanical body are realized, so that the robot mechanical body can reconfigure its own form and function according to different environments and task requirements. At the same time, when a module fails, the entire system can eliminate the faulty module through reconfiguration to maintain the continuity of operation, and realize real-time comparison and adjustment of simulated solutions and actual solutions through digital twin technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0046] Figure 1 is a flow chart of the robot reconfiguration method provided by the present invention;
[0047] Figure 2 Schematic diagram of the arrangement of sensors of the robot reconfiguration method provided by the present invention;
[0048] Figure 3 This is a schematic diagram of the minimum unit acceleration ratio during the robot mechanical body parameter calibration process of the robot reconfiguration method provided by the present invention;
[0049] Figure 4 It is a schematic diagram of the principle of the robot reconfiguration method provided by the present invention to constrain the mechanical motion of the system into the rotational motion of the reconfigurable motion execution unit;
[0050] Figure 5 It is a schematic diagram of the principle of the robot reconfiguration method provided by the present invention to constrain the mechanical motion of the system into the linear motion of the reconfigurable motion execution unit;
[0051] Figure 6 It is a flowchart of the robot reconfiguration method provided by the present invention;
[0052] Figure 7 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0053] 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 conjunction with the accompanying drawings and embodiments of the present invention. Obviously, the embodiments described are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0054] like Figure 1 As shown, the present invention provides a robot reconfiguration method based on multi-sensor fusion, comprising the following steps:
[0055] S1. Divide the robot mechanical body into several reconfigurable motion execution units, each reconfigurable motion execution unit includes a joint, a motor, an angle sensor arranged on the input side of the motor and a gyroscope arranged on the output side of the motor, wherein the angle sensor is concentrically connected to the motor, and the measuring axis of the gyroscope is tangent to the output side of the motor; wherein the robot mechanical body is divided according to the drive, the reducer, the connection structure of each output part in the robot mechanical body, the components of the connection structure, each end-effector in the robot mechanical body and the part of the end-effector, and the two adjacent reconfigurable motion execution units are connected by a connection structure.
[0056] like Figure 2 As shown, the angle sensor 1 is placed at the tail of the input-side motor 3 to measure the motor's rotation angle. The angle sensor 1 should be concentrically connected to the device under test to improve measurement accuracy and service life. The gyroscope 2 is placed at the output-side reducer 4 and has a measuring axis tangent to the output rotation to ensure that relatively accurate position information is obtained, providing safe data for the posture calculation of the reconfigurable motion execution unit of the robot's mechanical body. During the installation process, the sensor's zero point calibration and reference setting should be correct to obtain accurate data. The sensor layout should ensure that the measured data can fully and accurately reflect the dynamic characteristics of the structure, have a high signal-to-noise ratio, and be sensitive to changes in the dynamic and static force parameters of the actual structure or environmental changes.
[0057] It can be understood that the base of the robot body is the first-level reconfigurable motion execution unit, which is also the highest-level reconfigurable motion execution unit. The sensor on the lowest-level reconfigurable motion execution unit rotates around the central axis at a speed v a The rotation speed of the higher-level reconfigurable motion execution unit is a b Satisfy a certain quantitative relationship, the relationship is as follows:
[0058]
[0059] Where L represents the length of the rod connecting the two reconfigurable motion execution units, L1 represents the distance between the sensor on the lowest level reconfigurable motion execution unit and the central axis, L2 represents the distance between the sensor on the higher level reconfigurable motion execution unit and the central axis, θ represents the rotation angle of the reconfigurable motion execution unit, t0 represents the time when the reconfigurable motion execution unit starts to move, t n Indicates the current moment.
[0060] By adding sensors to the motor to form a reconfigurable motion execution unit, real-time monitoring and data collection of the robot's mechanical body's motion state are achieved, enabling the robot's mechanical body to accurately obtain the angle, speed, and acceleration information of each joint, providing a reliable data basis for the precise control and fault diagnosis of the robot's mechanical body, and also providing hardware support for the reconfigurability of the robot's mechanical body.
[0061] In one embodiment of the present invention, the reconfigurable motion execution unit of the robot mechanical body includes a joint component, a reduction device, a FOC motor, a posture sensor mpu6050 and an angle sensor as5600.
[0062] S2. Use the random sampling method to calibrate the connection order and connection mode of any reconfigurable motion execution unit to obtain an initial model, and calibrate the connection structure between two adjacent reconfigurable motion execution units according to the priority information in the initial model to obtain an optimized model.
[0063] Specifically, step S2 includes:
[0064] S21. Collecting data from the angle sensor in each reconfigurable motion execution unit, constraining the spatial structural motion of the robot's mechanical body to the motion of the reconfigurable motion execution unit, confirming the priority of each reconfigurable motion execution unit in the robot's mechanical body, and processing the angle sensor data using a least squares method to obtain an initial model; wherein the motion of the reconfigurable motion execution unit includes linear motion of the reconfigurable motion execution unit or rotational motion of the reconfigurable motion execution unit;
[0065] S22, performing step-by-step calibration from the end of the mechanism of the robot mechanical body toward the base until all reconfigurable motion execution units of all degrees of freedom in the robot mechanical body are calibrated, thereby obtaining an optimized model of the robot mechanical body;
[0066] S23, determining the initial angle range of two adjacent reconfigurable motion execution units and the length of the rod connecting the two adjacent reconfigurable motion execution units according to the structural constraints of the robot mechanical body;
[0067] S24. Determine an optimization model according to the initial angle range and the length of a rod connecting two adjacent reconfigurable motion execution units.
[0068] like Figure 3 As shown in the figure, the horizontal axis represents time, the vertical axis represents the acceleration of the reconfigurable motion execution unit, and three different broken lines represent the acceleration changes of three different reconfigurable motion execution units. Among them, the red broken line represents the acceleration change of the reconfigurable motion execution unit with the highest priority, the yellow broken line represents the acceleration change of the reconfigurable motion execution unit with the second priority, and the blue broken line represents the acceleration change of the reconfigurable motion execution unit with the lowest priority. Specifically, the robot mechanical body is a 6-degree-of-freedom manipulator as an example for explanation:
[0069] Arbitrarily select a set of reconfigurable motion execution units inside the robot mechanical body D = {D1, D2, D3, D4, D5, D6}, where D1 represents the reconfigurable motion execution unit of the first degree of freedom, D2 represents the reconfigurable motion execution unit of the second degree of freedom, D3 represents the reconfigurable motion execution unit of the third degree of freedom, D4 represents the reconfigurable motion execution unit of the fourth degree of freedom, D5 represents the reconfigurable motion execution unit of the fifth degree of freedom, and D6 represents the reconfigurable motion execution unit of the sixth degree of freedom;
[0070] Randomly select any set D from the robot's mechanical body i ={D a , D b , D c}, D i Denotes the geometry of the i-th reconfigurable motion execution unit, D a Denotes the reconfigurable motion execution unit of the ath degree of freedom, D b Denotes the reconfigurable motion execution unit of the b-th degree of freedom, D c The reconfigurable motion execution unit represents the c-th degree of freedom. A reconfigurable motion execution unit with a degree of freedom is randomly selected to move. The angular acceleration sent back by the angle sensor is divided and calculated as follows:
[0071]
[0072] in, Denotes the degree of freedom D a The angular sensor sends back the angular acceleration. Denotes the degree of freedom D b The angular sensor transmits angular acceleration back;
[0073] If the ratio k is greater than one, it indicates that the reconfigurable motion execution unit represented by the numerator has a lower priority than the reconfigurable motion execution unit represented by the denominator. If the sensor data of a reconfigurable motion execution unit is 0, it indicates that the priority of the reconfigurable motion execution unit is the highest in the set.
[0074] Reconfigurable motion execution unit D with residual degrees of freedom m ={D d , D e , D f}, D m Denotes the mth reconfigurable motion execution unit set, D d Denotes the reconfigurable motion execution unit of the d-th degree of freedom, D e Denotes the reconfigurable motion execution unit of the e-th degree of freedom, D f The reconfigurable motion execution unit representing the f-th degree of freedom can also be used to infer the priority of the reconfigurable motion execution units in the set. If the priorities of all reconfigurable motion execution units cannot be distinguished, this method can be used to sample and detect again until the priorities of all reconfigurable motion execution units in each system are distinguished.
[0075] like Figure 4 As shown, the two reconfigurable motion execution units can be connected by a straight rod or a curved rod. The connection structure described in the present invention specifically refers to the connecting rod between the executable units, and the connecting rod can be a connecting rod of any shape. The equivalent straight rod length between the executable units is derived from the rod length calibration process, and the angle range between the minimum units is derived from the paving operation referred to in the present invention. Figure 4 This is an example of a curved rod being equivalent to a straight rod. The principle of constraining the mechanical motion of the robot body to the rotational motion of the reconfigurable motion execution unit is:
[0076] The spatial structural motion of the robot's mechanical body is constrained to the rotational motion of the reconfigurable motion execution unit, so that the sensor on the reconfigurable motion execution unit rotates around the central axis. There is a specific quantitative relationship between the rotation speed of the sensor and the rotation speed of the higher-level reconfigurable motion execution unit. Through this motion constraint method, not only can the system's rod length calibration be completed, but the inherent parameters of the robot's mechanical body can also be measured, providing the necessary basic data support for subsequent system reconstruction and control.
[0077] like Figure 5 As shown in the figure, N is a reconfigurable motion execution unit, N+1 is a reconfigurable motion execution unit at the next level, and the angle sensor 1 and the posture sensor 5 are located on the same central axis. The principle of constraining the mechanical motion of the robot body to the linear motion of the reconfigurable motion execution unit is:
[0078] By constraining the mechanical motion of the robot's mechanical body to the linear motion of the reconfigurable motion execution unit, this motion constraint method can not only complete the system's rod length calibration, but also have a specific impact on the end contacts of the robotic arm. By analyzing this impact, we can better understand and control the motion characteristics of the system, providing an important reference basis for the precise control and reconstruction of the system.
[0079] Furthermore, the step S22 of performing step-by-step calibration from the end of the mechanism of the robot mechanical body toward the base includes:
[0080] Step 1: Record the position of the reconfigurable motion execution unit to be calibrated in the initial model and record it as the zero point position;
[0081] Step 2: Control the reconfigurable motion execution unit to be calibrated to perform reverse growth motion until the return data of the sensor in the reconfigurable motion execution unit is 0, and the reconfigurable motion execution unit of the degree of freedom to be calibrated reaches the actual motion maximum position, and the actual motion maximum position is recorded;
[0082] Step 3. Record the actual maximum motion position of the reconfigurable motion execution unit of the degree of freedom to be calibrated, determine the midpoint between the actual maximum motion position and the zero point position, perform a binary search between the midpoint position and the mechanical limit position of the reconfigurable motion execution unit in the robot mechanical body, and obtain the accurate position of the reconfigurable motion execution unit of the degree of freedom to be calibrated.
[0083] In one embodiment of the present invention, when calibrating the reconfigurable motion execution unit, the initial positions of all reconfigurable motion execution units are recorded as the zero position, the unit with the least interference with other reconfigurable motion execution units is selected for calibration, and the calibrated reconfigurable motion execution unit is placed at the position with the least interference with the lower-level reconfigurable motion execution unit. The above steps are repeated until the calibration of all reconfigurable motion execution units is completed, and the maximum angle range of each reconfigurable motion execution unit is obtained.
[0084] After the robot mechanical body determines the priority of each reconfigurable motion execution unit and reads the inherent parameters, the reconfigurable motion execution unit with the lowest priority starts to return to the zero position one by one. During this process, the rod length can be calibrated again according to the above method to obtain the optimized model.
[0085] S3. Perform paving operations on the optimized model in multiple movable directions to obtain an equivalent mathematical model.
[0086] The paving operation specifically includes:
[0087] Starting from the base reconfigurable motion execution unit of the robot's mechanical body, a motion reference direction is set, and the motors in each reconfigurable motion execution unit are driven to make the reconfigurable motion execution units with the highest priority move step by step until the angle between all adjacent rods is 180 degrees and all rods are located in the motion reference direction; the motion reference direction is any movable direction of the reconfigurable motion execution unit;
[0088] From the reconfigurable motion execution unit at the end of the robot's mechanical body to the reconfigurable motion execution unit at the base of the robot's mechanical body, each level of the reconfigurable motion execution unit moves independently. When the real-time data returned by the sensor remains unchanged but the motor current increases, the current angular range of the reconfigurable motion execution unit is recorded;
[0089] The motor of the current reconfigurable motion execution unit is driven to move in the reverse direction and return to the initial position, and the initial angle range of each reconfigurable motion execution unit is obtained in order from low to high priority.
[0090] In the embodiment of the present invention, the motion reference direction may be a vertical direction or a horizontal direction, and this application does not make any specific limitation on this.
[0091] As you can understand, the tiling operation is used to calibrate the limit conditions of the joint structure. If the motor current is detected to be abnormally increased, but the gyroscope reading does not fluctuate significantly, indicating that the change is not caused by external torque but by internal factors, it is determined whether the joint has reached the maximum angle value. The principle of determining whether the maximum angle value has been reached is as follows:
[0092] To ensure equipment safety and optimize performance, progressive load testing is required. By gradually adjusting the load and closely monitoring changes in motor current, the critical point of safe operation is determined to effectively prevent damage to the motor equipment.
[0093] Adjust the mechanical joint to a safe state to avoid damage to the motor due to overload. Gradually reduce the load until the motor current drops to the normal operating range. Then, gradually increase the load while closely monitoring the motor current to accurately identify the threshold at which the current begins to rise significantly. In this process, the load is gradually increased in a program-controlled manner to ensure the accuracy of the test. As the load gradually increases, the motor current will gradually increase. Record the exact moment when the current begins to increase significantly, which usually indicates that the motor is approaching its load limit. The joint phase referred to in the present invention includes the limit range of the motion angle of the reconfigurable motion execution unit in a predetermined coordinate system and the angle when the system end bears the maximum weight value of the load. The specific measurement method is to return the reconfigurable motion execution unit to the zero position, starting from the end reconfigurable motion execution unit, evaluate the angle and load capacity of the reconfigurable motion execution unit according to the above-mentioned progressive load test method, and after the measurement is completed, return to zero and perform such measurement on the reconfigurable motion execution unit of the previous level to obtain the maximum load and angle motion data of the system reconfigurable motion execution unit. The relationship between the three-phase motor current and load is as follows:
[0094]
[0095] Among them, I represents the three-phase motor current, U represents the voltage, and P represents the power.
[0096] Generally, the power factor of a three-phase motor is cosθ=0.85, and the efficiency η=0.85.
[0097] This progressive load testing method not only effectively prevents motor overload but also collects performance data on the motor under different operating conditions. This data is valuable for understanding the motor's operating characteristics, optimizing design parameters, and improving system reliability. Furthermore, this method helps identify and resolve issues that may cause abnormal current increases, such as mechanical friction, internal motor damage, or control algorithm flaws, thereby ensuring stable operation and long-term performance of the robot's mechanical structure.
[0098] In one embodiment of the present invention, there are four reconfigurable motion execution units in the optimization model, and they are arranged in a trapezoidal shape. First, the base reconfigurable motion execution unit at the bottom (denoted as unit 1) is used as the starting point, and the vertical upward direction is used as the reference direction. The motors of each unit are driven in sequence from high to low priority (i.e., from No. 1 to No. 4): first, the motor of unit No. 1 is driven to align it with the vertical direction, then the motor of unit No. 2 is driven to adjust the angle between it and the connecting rod of unit No. 1 to 180 degrees, and then the motor of unit No. 3 is driven to adjust the angle between it and the connecting rod of unit No. 2 to 180 degrees, and finally the motor of unit No. 4 is driven to adjust the angle between it and the connecting rod of unit No. 3 to 180 degrees. At this time, the connecting rods of all units are in the vertical direction. direction; after completing the vertical alignment, start testing the angular range of each unit in turn from the end unit No. 4 toward the base unit No. 1, drive the motor of each unit to make it move independently, and monitor the sensor data and motor current at the same time. When it is observed that the angle and posture data sent back by the sensor in real time remain unchanged while the motor current increases significantly, record the angular position of the current unit as the limit of its motion range; after completing the angular range test of each unit, drive the motor of the unit to move in the opposite direction to return it to its initial position, and obtain and record the initial angular range of each unit in the trapezoidal structure in order from No. 4 to No. 1 (i.e., priority from low to high), and finally complete the angular range calibration process of the entire paving operation.
[0099] In one embodiment of the present invention, after the optimization model is flattened, the joint angle movement range must be obtained to make the angle range of the equivalent mathematical model and the angle range of the robot mechanical body more accurate. The method for obtaining the joint angle movement range is the same as the principle of determining whether the maximum angle value has been reached, and will not be repeated here.
[0100] S4. Acquire real-time monitoring data of the angle sensor and the gyroscope and calculate actual motion parameters, and input the real-time monitoring data into an equivalent mathematical model to obtain simulation values; wherein the actual motion parameters include the actual angle value, angular velocity and position parameters of the reconfigurable motion execution unit.
[0101] Specifically, the calculation of the actual motion parameters includes:
[0102] Calculate the actual angle value of each reconfigurable motion execution unit according to the angle sensor data;
[0103] Calculate the angular velocity of each reconfigurable motion execution unit based on gyroscope data;
[0104] The position parameters of each reconfigurable motion execution unit are calculated based on the angle value and the angular velocity.
[0105] S5. Perform fault judgment on the robot mechanical body based on the actual motion parameters and simulation values. When the robot mechanical body fails, update the parameters of the equivalent mathematical model and replan the motion trajectory. Repeat steps S4-S5 until the robot mechanical body completes motion control.
[0106] Specifically, step S5 includes:
[0107] S51, establishing a DH parameter matrix according to the connection relationship and motion characteristics of the reconfigurable motion execution unit;
[0108] S52, establishing a homogeneous transformation matrix between adjacent reconfigurable motion execution units based on the DH parameter matrix;
[0109] S53, calculating the cumulative error value of the actual motion parameter relative to the simulated value, and when the cumulative error value exceeds a preset threshold, determining that the robot mechanical body has a fault;
[0110] S54, taking the faulty reconfigurable motion execution unit as the equivalent rod length, modifying the DH parameter matrix and reconstructing the kinematic model;
[0111] S55. Replan the motion trajectory based on the reconstructed kinematic model. The robot mechanical body moves according to the replanned motion trajectory. Repeat step S4, continuously obtain real-time monitoring data from the angle sensor and gyroscope, and calculate the actual motion parameters. Repeat steps S53-S55 until the robot mechanical body completes motion control.
[0112] The present invention achieves the continuity and smoothness of the robot's mechanical body movement through optimization processing of the planned path and real-time error accumulation calculation, combined with obstacle orientation judgment and data inheritance mechanism. At the same time, it can effectively avoid obstacles during the movement process, and improves the operating efficiency of the robot's mechanical body through the data inheritance mechanism, reducing the time for repeated calculation and calibration.
[0113] It is understandable that when the current reconfigurable motion execution unit fails, the current reconfigurable motion execution unit is locked, that is, the current reconfigurable motion execution unit is recorded as connecting rod data into the previous level reconfigurable motion execution unit to form a reconfigurable motion execution unit.
[0114] In one embodiment of the present invention, a forward kinematic model of a reconfigurable motion actuator is established. Based on real-time data collected by angle sensors and gyroscopes, and in combination with known connecting rod geometry, a homogeneous transformation matrix established using DH parameters is used to calculate the position and posture of the robot's end-piece mechanical body. This is then used through an inverse kinematics solution process to calculate the motion parameters of each reconfigurable motion actuator required to achieve the target motion, based on the desired end-piece position and posture and the coordinate transformation relationship calibrated by the DH parameters. These parameters are then used to drive each motor to perform the corresponding motion. When a fault is detected in the system, the kinematic equations are re-solved with reduced degrees of freedom, using the faulty reconfigurable motion actuator as an equivalent rod length and re-establishing the DH parameters and coordinate transformation relationship. This allows for trajectory planning and motion control in the faulty state, ensuring that the robot's mechanical body can maintain basic functionality even after a fault.
[0115] The homogeneous transformation matrix of the robot's mechanical body coordinate system {j} relative to the upper level coordinate system {j-1} is:
[0116]
[0117] Among them, j represents the minimum unit coordinate system number, θ j Represents the joint rotation angle, which is x j-1 Along z j Turn to x j The directed angle, C represents the abbreviation of trigonometric function sine, S represents the abbreviation of trigonometric function cosine, a j represents the length of a single link in a single link joint, that is, the length of the common normal from coordinate system {j} to {j+1}, α j Represents the coordinate axis z j With z j+1 The deflection angle between the connecting rod and the connecting rod (i.e. the connecting rod bending angle) is positive if it is counterclockwise, d j Indicates the connecting rod offset, which is x j-1 With z j The intersection of the link j coordinate system and the origin along z j Directed distance in direction, represents the joint rotation angle θ j The cosine value of Indicates the connecting rod bending angle α j The cosine value of represents the joint rotation angle θ j The sine value of Represents the homogeneous transformation matrix from the j-1th coordinate system to the jth coordinate system.
[0118] During the motion solution process of the machine system, the position and posture of the end of the robot mechanical body can be obtained through the coordinate system transformation of the connecting rod. The key to establishing an equivalent mathematical model is to find the mapping relationship between the local coordinate system and the global coordinate system. Based on the transformation matrix of the adjacent connecting rods, the position and posture matrix of the end of the robot mechanical body can be established based on the above coordinate system and DH model parameters. The established forward kinematics formula of the robot mechanical body is as follows:
[0119] 0 A T = 0 A1 1 A2 2 A3 3 A4 4 A5 5 A6
[0120] in, 0 A T represents the overall transformation matrix from the base coordinate system {0} to the end pose coordinate system {T}, 0 A1 represents the transformation matrix from the base coordinate system {0} to the first link coordinate system {1}, 1 A2 represents the transformation matrix from the first link coordinate system {1} to the second link coordinate system {2}, 2 A3 represents the transformation matrix from the second link coordinate system {2} to the third link coordinate system {3}, 3 A4 represents the transformation matrix from the third link coordinate system {3} to the fourth link coordinate system {4}, 4 A5 represents the transformation matrix from the 4th link coordinate system {4} to the 5th link coordinate system {5}, 5 A6 represents the transformation matrix from the fifth link coordinate system {5} to the sixth link coordinate system {6}.
[0121] Furthermore, the equivalent angular range of the reconfigurable motion execution unit is calculated based on its pre-locked structure. The angle between the two rods connected to the reconfigurable motion execution unit can be determined from the motion data of the current reconfigurable motion execution unit before locking. The angular constraint range of the reconfigurable motion execution unit on the previous level can be inferred using the law of cosines, given the calibrated rod length information. The equivalent angular range of the motion can then be obtained. The specific mathematical formula is as follows:
[0122]
[0123] Where r represents the length of the connecting rod between the current reconfigurable motion execution unit and the previous level reconfigurable motion execution unit, h represents the length of the connecting rod between the current reconfigurable motion execution unit and the next level reconfigurable motion execution unit, and g represents the distance between r and h;
[0124] For a reconfigurable motion actuator that is locked at the previous level, ∠A represents the equivalent rod length restriction caused by the reconfigurable motion actuator's failure. Determining ∠A reveals the angular restriction within the system for the reconfigurable motion actuator. This allows the reconfigurable motion actuator to be eliminated from the simulation solution generated by the parameter matrix.
[0125] In one embodiment of the present invention, an operating parameter system of a reconfigurable motion execution unit is established. After confirming the role played by each reconfigurable motion execution unit on the overall robot mechanical body based on the monitoring data of the reconfigurable motion execution unit, the robot mechanical body judges the degree of freedom. If a faulty reconfigurable motion execution unit is found according to the above parameters, the parameter matrix is automatically modified to generate an actual parameter matrix.
[0126] Specifically, in order to maintain stability and data accuracy, it is necessary to obtain the sequential relationship between each joint through random selection, and then calculate the various parameters of the robot mechanical body starting from the end joint of the robot mechanical body. After all joints are calculated, in order to ensure the integrity of the data and check the data, it is necessary to traverse again from the initial end joint to the end joint.
[0127] In one embodiment of the present invention, when a robot mechanical body fails, an equivalent mathematical model is required to re-plan the motion trajectory to ensure that the reconstructed robot mechanical body can efficiently and stably complete the predetermined motion task. The re-planning of the motion trajectory includes two stages: in the coarse interpolation stage, the system first performs global random sampling of the motion trajectory of each reconfigurable motion execution unit of the reconstructed robot mechanical body, and constructs a local sampling area based on the validity of the sampling data to obtain the key trajectory points required to complete the predetermined task. These trajectory points correspond to the motion solution of the reconfigurable motion execution unit calculated based on the DH parameter matrix; in the fine interpolation stage, considering the requirements of the reconstructed robot mechanical body for motion time and accuracy, the system uses a quintic polynomial interpolation method to smooth the trajectory points obtained by coarse interpolation, wherein the quintic polynomial interpolation formula is:
[0128] θ(t)=a0+a1t+a2t2+a3t3+a4t4+a5t5
[0129] Wherein, θ(t) represents the angular position of the reconfigurable motion execution unit at time t, a0 represents the constant term coefficient of the initial angular position, a1 represents the linear term coefficient of the initial angular velocity, a2 represents the quadratic term coefficient of the initial angular acceleration, a3 represents the cubic term coefficient of the angular jerk, a4 represents the quartic term coefficient of the angular jerk, a5 represents the quintic term coefficient of the angular jerk, t represents time, t2 represents the square term of time, t3 represents the cube term of time, t4 represents the fourth power term of time, and t5 represents the fifth power term of time;
[0130] By combining global sampling and local optimization, the overall trajectory planning is ensured while achieving precise local control. However, it should be noted that the randomness of the sampling process can lead to uncertainty in the sampling area. Therefore, in practical applications, it is necessary to adjust the sampling strategy and optimization parameters to improve sampling efficiency and trajectory optimization stability.
[0131] In one embodiment of the present invention, during the motion of a robotic arm, due to spatial constraints, some system structures may not be able to move according to the originally planned path data. This invention accumulates the differences between the data (including angular velocity, angle, and position) transmitted by the sensors configured for all reconfigurable motion execution units and the simulation results. If the accumulated error of a reconfigurable motion execution unit exceeds a threshold, it is determined that the robotic arm has encountered an obstacle during motion. The approximate location of the obstacle can be determined based on the motion angle of the reconfigurable motion execution unit at that time.
[0132] The specific judgment method is to perform a quadratic integration of the angular acceleration sent back by the sensor of the reconfigurable motion execution unit to obtain the angle between the obstacle and the zero point of the reconfigurable motion execution unit:
[0133]
[0134] Among them, θ d represents the angle between the obstacle and the zero position of the reconfigurable motion execution unit, a t Indicates the angular acceleration sent back by the sensor, d t represents the time differential term;
[0135] As the robot's mechanical body avoids obstacles, its approximate position is known. This allows the geometric constraints of the obstacle in both the horizontal and vertical directions to be determined, allowing for data inheritance for the next movement. The actual system parameters calculated from the previous system movement are directly inherited for the next movement, eliminating the need to repeatedly determine rod length and center of gravity through minimum unit rotation, thus saving time and improving efficiency.
[0136] The present invention realizes the reconfigurability and adaptability of the robot mechanical body by adding sensors to the motor to form a reconfigurable motion execution unit and establishing a corresponding equivalent mathematical model, so that the robot mechanical body can reconfigure its own form and function according to different environments and task requirements. At the same time, when a module fails, the entire system can eliminate the faulty module through reconfiguration to maintain the continuity of operation, and realizes real-time comparison and adjustment of simulated solutions and actual solutions through digital twin technology.
[0137] like Figure 6Specifically, the robot reconfiguration method is described with a specific embodiment:
[0138] First, the touch screen display system waits to receive motion instructions, obtains the structural information of the robot's mechanical body, and divides it into several reconfigurable motion execution units. The reconfigurable motion execution units are calibrated using a random sampling method to obtain an optimization model, and the reconfigurable motion execution units are further calibrated based on the priority order of the reconfigurable motion execution units in the optimization model to obtain an optimization model; the paving operation of the movable direction is performed based on the optimization model to obtain an equivalent mathematical model; if the equivalent mathematical model accepts the motion instructions of the robot's mechanical body, stream data processing is performed, that is, the actual motion parameters of the robot's mechanical body are calculated, posture settlement is performed based on the actual motion parameters, a DH parameter matrix is generated, and the settlement result is transmitted to the kinematic model to determine whether the simulation value is the same as the actual value. If not, it is determined that the equivalent mathematical model has an external equivalent solution, and the equivalent mathematical model re-plans the trajectory, optimizes the trajectory, drives the motor of the robot's mechanical body to move according to the optimized trajectory, and calculates the accumulated error between the actual motion parameters and the simulation value of each reconfigurable motion execution unit in real time. The motion state is continuously monitored through a small disturbance feedback mechanism. When the error exceeds a preset threshold, the robot mechanical body will determine that the corresponding unit has failed, and reconstruct the equivalent mathematical model by taking the failed unit as the equivalent rod length, re-determine the motor position and perform angle calibration. The equivalent mathematical model performs trajectory planning and optimizes the motion trajectory by combining coarse interpolation and fine interpolation. Coarse interpolation obtains key trajectory points through global sampling, and fine interpolation uses a quintic polynomial interpolation method to achieve trajectory smoothing. During the execution of the motion, the robot mechanical body continuously judges and records path obstacles, and saves the obstacle information through a data inheritance mechanism for subsequent motion planning. The robot mechanical body drives the motor to execute the planned motion through PWM signals, and transmits the real-time motion parameters of each reconfigurable motion execution unit back to the control system. By comparing the actual motion data with the calculation results of the equivalent mathematical model, the system operation status is continuously monitored. At the same time, the operation status is displayed on the touch screen in real time and new control instructions are received, thereby realizing precise control of the robot mechanical body in normal and fault states.
[0139] Among them, in the reading stage of stream data, the present invention is based on CAN bus communication, and through decision-making, three-layer instructions between central control and minimum control are interpreted by specific interpreters between each other, and data is sent down layer by layer to achieve collaborative work of the robot mechanical body.
[0140] The present invention provides a robot reconfigurable system based on multi-sensor fusion, which adopts the robot reconfiguration method as described above, including:
[0141] A structural division unit is used to divide the robot mechanical body into a plurality of reconfigurable motion execution units, each of which includes a joint, a motor, an angle sensor arranged on the motor input side, and a gyroscope arranged on the motor output side, wherein the angle sensor is concentrically connected to the motor, and the measuring axis of the gyroscope is tangent to the motor output side;
[0142] a calibration unit, configured to calibrate the connection order and connection mode of any reconfigurable motion execution unit using a random sampling method to obtain an initial model, and to calibrate the connection structure between two adjacent reconfigurable motion execution units according to the priority information in the initial model to obtain an optimized model;
[0143] An equivalent mathematical model construction unit is used to perform a paving operation on the optimization model in multiple movable directions to obtain an equivalent mathematical model;
[0144] A real-time monitoring unit is used to obtain real-time monitoring data from the angle sensor and gyroscope and calculate actual motion parameters, and input the real-time monitoring data into an equivalent mathematical model to obtain a simulation value;
[0145] The trajectory adjustment unit is used to diagnose faults of the robot's mechanical body based on actual motion parameters and simulation values. When a fault occurs in the robot's mechanical body, the parameters of the equivalent mathematical model are updated and the motion trajectory is replanned. Real-time monitoring and trajectory planning are repeated until the robot's mechanical body completes motion control.
[0146] The following describes the robot reconfigurable device provided by the present invention. The robot reconfigurable device described below and the robot reconfigurable method described above can refer to each other.
[0147] Figure 7 An example of a physical structure diagram of an electronic device is shown below. Figure 7As shown, the electronic device may include: a processor (processor) 710, a communication interface (Communications Interface) 720, a memory (memory) 730 and a communication bus 740, wherein the processor 710, the communication interface 720, and the memory 730 communicate with each other through the communication bus 740. The processor 710 can call the logic instructions in the memory 730 to execute the robot reconfiguration method, which includes: dividing the robot mechanical body into several reconfigurable motion execution units; using a random sampling method to calibrate the connection order and connection method of any reconfigurable motion execution unit to obtain an initial model, and calibrate the connection structure between two adjacent reconfigurable motion execution units according to the priority information in the initial model to obtain an optimized model; performing a paving operation on the optimized model in multiple movable directions to obtain an equivalent mathematical model; obtaining real-time monitoring data of the angle sensor and the gyroscope and calculating the actual motion parameters, and inputting the real-time monitoring data into the equivalent mathematical model to obtain a simulation value; performing a fault judgment on the robot mechanical body based on the actual motion parameters and the simulation value, and when the robot mechanical body fails, updating the parameters of the equivalent mathematical model and replanning the motion trajectory, real-time monitoring and trajectory planning, until the robot mechanical body completes motion control.
[0148] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0149] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the robot reconfiguration method provided by the above methods, which includes: dividing the robot mechanical body into several reconfigurable motion execution units; using a random sampling method to calibrate the connection order and connection method of any reconfigurable motion execution unit to obtain an initial model, and calibrating the connection structure between two adjacent reconfigurable motion execution units according to the priority information in the initial model to obtain an optimized model; performing a paving operation on the optimized model in multiple movable directions to obtain an equivalent mathematical model; obtaining real-time monitoring data of the angle sensor and the gyroscope and calculating the actual motion parameters, and inputting the real-time monitoring data into the equivalent mathematical model to obtain a simulation value; performing a fault judgment on the robot mechanical body based on the actual motion parameters and the simulation value. When a fault occurs in the robot mechanical body, the parameters of the equivalent mathematical model are updated and the motion trajectory is replanned, and real-time monitoring and trajectory planning are performed until the robot mechanical body completes motion control.
[0150] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the robot reconfiguration method provided by the above-mentioned methods, the method comprising: dividing the robot mechanical body into a number of reconfigurable motion execution units; using a random sampling method to calibrate the connection order and connection mode of any reconfigurable motion execution unit to obtain an initial model, and calibrating the connection structure between two adjacent reconfigurable motion execution units according to the priority information in the initial model to obtain an optimized model; performing a paving operation on the optimized model in multiple movable directions to obtain an equivalent mathematical model; obtaining real-time monitoring data of the angle sensor and the gyroscope and calculating the actual motion parameters, and inputting the real-time monitoring data into the equivalent mathematical model to obtain a simulation value; performing a fault judgment on the robot mechanical body based on the actual motion parameters and the simulation value, and when a fault occurs in the robot mechanical body, updating the parameters of the equivalent mathematical model and replanning the motion trajectory, and performing real-time monitoring and trajectory planning until the robot mechanical body completes motion control.
[0151] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0152] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.
[0153] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A robot reconfiguration method based on multi-sensor fusion, characterized in that: The following steps are involved: S1. Divide the robot's mechanical body into a plurality of reconfigurable motion execution units, each of which includes a joint, a motor, an angle sensor disposed on the motor input side, and a gyroscope disposed on the motor output side, wherein the angle sensor is concentrically connected to the motor, and a measuring axis of the gyroscope is tangent to the motor output side; S2. Use a random sampling method to calibrate the connection order and connection mode of any reconfigurable motion execution unit to obtain an initial model, and calibrate the connection structure between two adjacent reconfigurable motion execution units according to the priority information in the initial model to obtain an optimized model; determine the initial angle range of the two adjacent reconfigurable motion execution units and the length of the rod connecting the two adjacent reconfigurable motion execution units according to the structural constraints of the robot mechanical body; determine the optimized model based on the initial angle range and the length of the rod connecting the two adjacent reconfigurable motion execution units; S3. Performing a paving operation on the optimized model in multiple movable directions to obtain an equivalent mathematical model; the paving operation specifically includes: Starting from the base reconfigurable motion execution unit of the robot's mechanical body, a motion reference direction is set, and the motors in each reconfigurable motion execution unit are driven to make the reconfigurable motion execution units with the highest priority move step by step until the angle between all adjacent rods is 180 degrees and all rods are located in the motion reference direction; the motion reference direction is any movable direction of the reconfigurable motion execution unit; From the reconfigurable motion execution unit at the end of the robot's mechanical body to the reconfigurable motion execution unit at the base of the robot's mechanical body, each level of the reconfigurable motion execution unit moves independently. When the real-time data returned by the sensor remains unchanged but the motor current increases, the current angular range of the reconfigurable motion execution unit is recorded; Drive the motor of the current reconfigurable motion execution unit to move in the opposite direction and return to the initial position, and obtain the initial angle range of each reconfigurable motion execution unit in order from low to high priority; S4, obtaining real-time monitoring data of the angle sensor and the gyroscope and calculating actual motion parameters, and inputting the real-time monitoring data into an equivalent mathematical model to obtain simulation values; S5. Perform fault judgment on the robot mechanical body based on the actual motion parameters and simulation values. When the robot mechanical body fails, update the parameters of the equivalent mathematical model and replan the motion trajectory. Repeat steps S4-S5 until the robot mechanical body completes motion control.
2. The robot reconfiguration method based on multi-sensor fusion according to claim 1, characterized in that: The robot mechanical body is divided according to the drive, reducer, connection structure of each output part in the robot mechanical body, components of the connection structure, each end-effector in the robot mechanical body and part of the end-effector, and the two adjacent reconfigurable motion execution units are connected by a connection structure.
3. The robot reconfiguration method based on multi-sensor fusion according to claim 2, characterized in that: Step S2 specifically includes: S21. Collecting data from the angle sensor in each reconfigurable motion execution unit, constraining the spatial structural motion of the robot mechanical body to the motion of the reconfigurable motion execution unit, determining the priority of each reconfigurable motion execution unit in the robot mechanical body, and processing the angle sensor data using the least squares method to obtain an initial model of the robot mechanical body; S22. Calibrate step by step from the end of the mechanism of the robot mechanical body toward the base until all reconfigurable motion execution units of all degrees of freedom in the robot mechanical body are calibrated to obtain an optimized model of the robot mechanical body.
4. The robot reconfiguration method based on multi-sensor fusion according to claim 3 is characterized in that: The step S22 of calibrating the robot from the end of the mechanism to the base includes: Step 1: Record the position of the reconfigurable motion execution unit to be calibrated in the initial model and record it as the zero point position; Step 2: Control the reconfigurable motion execution unit to be calibrated to perform reverse growth motion until the return data of the sensor in the reconfigurable motion execution unit is 0, and the reconfigurable motion execution unit to be calibrated reaches the actual motion maximum position, and the actual motion maximum position is recorded; Step 3: Determine the midpoint between the actual maximum motion position and the zero point position, perform a binary search between the midpoint position and the mechanical limit position of the reconfigurable motion execution unit in the robot mechanical body, and obtain the accurate position of the reconfigurable motion execution unit of the degree of freedom to be calibrated.
5. The robot reconfiguration method based on multi-sensor fusion according to claim 1, characterized in that: The calculating of the actual motion parameters specifically includes: Calculate the actual angle value of each reconfigurable motion execution unit according to the angle sensor data; Calculate the angular velocity of each reconfigurable motion execution unit based on gyroscope data; The position parameters of each reconfigurable motion execution unit are calculated based on the angle value and the angular velocity.
6. The robot reconfiguration method based on multi-sensor fusion according to claim 1, characterized in that: Step S5 specifically includes: S51, establishing a DH parameter matrix according to the connection relationship and motion characteristics of the reconfigurable motion execution unit; S52, establishing a homogeneous transformation matrix between adjacent reconfigurable motion execution units based on the DH parameter matrix; S53, calculating the cumulative error value of the actual motion parameter relative to the simulated value, and when the cumulative error value exceeds a preset threshold, determining that the robot mechanical body has a fault; S54, taking the faulty reconfigurable motion execution unit as the equivalent rod length, modifying the DH parameter matrix and reconstructing the kinematic model; S55. Replan the motion trajectory based on the reconstructed kinematic model. The robot mechanical body moves according to the replanned motion trajectory. Repeat step S4, continuously obtain real-time monitoring data from the angle sensor and gyroscope, and calculate the actual motion parameters. Repeat steps S53-S55 until the robot mechanical body completes motion control.
7. A robot reconfigurable system based on multi-sensor fusion, characterized in that: The robot reconfiguration method according to any one of claims 1 to 6 comprises: A structural division unit is used to divide the robot mechanical body into a plurality of reconfigurable motion execution units, each of which includes a joint, a motor, an angle sensor arranged on the motor input side, and a gyroscope arranged on the motor output side, wherein the angle sensor is concentrically connected to the motor, and the measuring axis of the gyroscope is tangent to the motor output side; a calibration unit, configured to calibrate the connection order and connection mode of any reconfigurable motion execution unit using a random sampling method to obtain an initial model, and to calibrate the connection structure between two adjacent reconfigurable motion execution units according to the priority information in the initial model to obtain an optimized model; An equivalent mathematical model construction unit is used to perform a paving operation on the optimization model in multiple movable directions to obtain an equivalent mathematical model; A real-time monitoring unit is used to obtain real-time monitoring data from the angle sensor and gyroscope and calculate actual motion parameters, and input the real-time monitoring data into an equivalent mathematical model to obtain a simulation value; The trajectory adjustment unit is used to diagnose faults of the robot's mechanical body based on actual motion parameters and simulation values. When a fault occurs in the robot's mechanical body, the parameters of the equivalent mathematical model are updated and the motion trajectory is replanned. Real-time monitoring and trajectory planning are repeated until the robot's mechanical body completes motion control.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the robot reconfiguration method according to any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the robot reconfiguration method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Reconfigurable mechanical arm system joint module operation state health detection method
CN108608426A
Fault-tolerant control method for modular self-reconfiguration robot
CN117532619A