Flexible control method, device and equipment for assembly robot
Through the compliance control method and impedance control, the problem of inaccurate adjustment of the robotic arm when assembling special-shaped curved surface accessories is solved, the windshield glass and the helicopter frame are accurately matched, and the glass damage is avoided.
Patent Information
- Application Number
- CN202410462518.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-17
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-04-17
AI Technical Summary
In the process of assembling accessories with special-shaped curved surfaces such as large helicopter windshields, traditional robotic arms are difficult to adjust accurately, resulting in a mismatch between the posture of the windshield and the helicopter frame, causing damage to the glass.
The compliance control method is used to gradually regulate the movement of the end of the robotic arm to the target posture by presetting the target posture matrix and impedance control formula, and predict the contact stress distribution map to ensure that the average contact stress is within the threshold and avoid excessive or insufficient adjustments.
It effectively reduces the mechanical arm adjustment errors, ensures the correct matching of the windshield glass and the helicopter frame, avoids glass damage, and improves assembly accuracy.
Smart Images

Figure CN118596132A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of robot technology, and in particular to a compliant control method, device and equipment for an assembly robot. Background Art
[0002] In the assembly process of accessories including special-shaped curved surfaces such as windshields and cabin doors of large helicopters, for example, traditional assembly involves workers manipulating the mechanical arm of the assembly robot to clamp the windshield and align and install it on the helicopter frame. Since the posture of the windshield when clamped is generally not fixed and cannot directly match the posture of the helicopter frame, workers cannot directly install the windshield on the helicopter frame after clamping it. Instead, they need to first change the posture of the windshield by adjusting the clamping posture of the mechanical arm until the posture of the windshield matches that of the helicopter frame before installation. However, since the mechanical arm is a rigid structure, it is easy to adjust it inadequately or excessively, resulting in the posture of the windshield not matching that of the helicopter frame during the final installation, which in turn causes damage to the glass.
[0003] Based on this, the present invention proposes a compliant control method, device and equipment for an assembly robot to solve the above technical problems. Summary of the invention
[0004] The present invention describes a compliant control method, device and equipment for an assembly robot, so as to realize compliant control when adjusting a robot arm and reduce the influence caused by inadequate or excessive adjustment of the robot arm.
[0005] According to a first aspect, the present invention provides a compliant control method for an assembly robot, comprising:
[0006] Control the end of the mechanical arm of the assembly robot to move to a set position in front of the target part to be gripped, and determine the next expected position to which the end of the mechanical arm is expected to move according to a preset target posture matrix; wherein the target position matrix is used to characterize the posture corresponding to the condition in which the contact stress generated by the mechanical arm when assembling the target part to the target skeleton is minimized, and the target part includes a special-shaped curved surface part in a helicopter;
[0007] Identify the motion trend currently controlling the movement of the end of the robotic arm, and calculate the actual position to which the end of the robotic arm currently moves based on the motion trend and the next desired position by using a preset impedance control formula;
[0008] Based on the actual position and the preset mapping equation, a contact stress distribution diagram corresponding to the actual position is predicted; the contact stress distribution diagram is used to characterize the distribution of contact stress generated when the robot arm clamps the target accessory at the actual position and assembles it to the target skeleton;
[0009] When the average contact stress corresponding to the contact stress distribution diagram is less than a preset average contact stress threshold, the robotic arm is controlled to clamp the target accessory at the actual position and assemble it to the target skeleton; otherwise, the step returns to determine the next expected position to which the end of the robotic arm is expected to move according to the preset target posture matrix.
[0010] According to a second aspect, the present invention provides a compliant control device for an assembly robot, comprising:
[0011] A determination unit is used to control the end of the mechanical arm of the assembly robot to move to a set position in front of the target part to be gripped, and determine the next expected position to which the end of the mechanical arm is expected to move according to a preset target posture matrix; wherein the target position matrix is used to characterize the posture corresponding to the condition in which the contact stress generated by the mechanical arm when assembling the target part to the target skeleton is minimized, and the target part includes a special-shaped curved surface part in a helicopter;
[0012] a calculation unit, used for identifying a motion trend currently controlling the movement of the end of the robotic arm, and calculating an actual position currently moved to the end of the robotic arm by a preset impedance control formula based on the motion trend and the next desired position;
[0013] A prediction unit, configured to predict a contact stress distribution diagram corresponding to the actual position based on the actual position and a preset mapping equation; wherein the contact stress distribution diagram is used to characterize the distribution of contact stress generated when the robot arm clamps the target accessory at the actual position and assembles it to the target skeleton;
[0014] A control unit is used to control the robotic arm to clamp the target accessory at the actual position and assemble it to the target skeleton when the average contact stress corresponding to the contact stress distribution diagram is less than a preset average contact stress threshold; otherwise, return to the step of determining the next expected position to which the end of the robotic arm is expected to move according to a preset target posture matrix.
[0015] According to a third aspect, the present invention provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method of the first aspect is implemented.
[0016] According to the compliant control method, device and equipment of the assembly robot provided by the present invention, after determining the preset target posture matrix, the present invention adjusts the end of the robot arm to move toward the target posture matrix step by step by setting the next expected position, rather than directly adjusting the posture of the robot arm to the target posture matrix, and adds impedance control during the movement process to avoid excessive adjustment of the end of the robot arm. At the same time, each time an adjustment is made, the contact stress distribution diagram corresponding to the actual position after the adjustment will be predicted to avoid inadequate adjustment. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 creative work.
[0018] Figure 1 A schematic flow chart of a compliant control method for an assembly robot according to an embodiment is shown;
[0019] Figure 2 A schematic diagram showing the force and coordinate distribution of the end of a mechanical arm of an assembly robot during movement according to an embodiment is shown;
[0020] Figure 3 A schematic diagram showing a reference motion trajectory and an actual motion trajectory of a robot end according to an embodiment is shown;
[0021] Figure 4 A schematic block diagram of a compliant control device for an assembly robot according to an embodiment is shown. DETAILED DESCRIPTION
[0022] The solution provided by the present invention is described below in conjunction with the accompanying drawings.
[0023] Figure 1 FIG. 1 is a flow chart of a compliant control method for an assembly robot according to an embodiment. It is understood that the method can be executed by any device, equipment, platform, or equipment cluster having computing and processing capabilities. Figure 1 As shown, the method includes:
[0024] Step 101, controlling the end of the robotic arm of the assembly robot to move to a set position in front of a target component to be gripped, and determining the next desired position to which the end of the robotic arm is expected to move according to a preset target posture matrix;
[0025] In this embodiment, the target accessories include special-shaped curved surface accessories in the helicopter, that is, the target accessories refer to accessories such as windshields and cabin doors of large helicopters before assembly, which include special-shaped curved surfaces. The target skeleton refers to a blank skeleton to which the target accessories need to be installed, such as a helicopter skeleton. In this embodiment, the target accessories and the target skeleton are assembled by clamping the target accessories to the target skeleton at the end of the mechanical arm of the assembly robot.
[0026] In addition, in step 101, controlling the end of the assembly robot's mechanical arm to move to a set position in front of the target accessory to be gripped is a factory-installed setting for the assembly robot. For example, the end of the assembly robot's mechanical arm can be controlled to move to 2 cm in front of the target accessory to be gripped, that is, the set position is 2 cm in front of the target accessory. This setting is mainly to first move the end of the mechanical arm to the vicinity of the target accessory, and then fine-tune the end of the mechanical arm. In this embodiment, the direction of fine-tuning the end of the mechanical arm is to make the posture of the end of the mechanical arm as close as possible to the posture corresponding to the target posture matrix.
[0027] Among them, the target posture matrix is the optimal assembly posture corresponding to the robotic arm obtained before the embodiment of the present application, and the target position matrix is used to characterize the posture corresponding to the robotic arm when the contact stress generated by the robotic arm assembling the target accessory to the target skeleton is minimized. Optionally, the target posture matrix includes the coordinates of a set number of positioning feature points in the preset contact points between the robotic arm and the target accessory. For example, it can be the coordinates of 6 positioning feature points in the preset contact points between the robotic arm and the target accessory. The 6 positioning feature points are respectively located at 1 center point of the coverage area formed by the contact points and 5 edge points of the coverage area. Optionally, the coordinates of the positioning feature points include six-dimensional feature data, which is related to the six-dimensional force sensor at the end of the robotic arm of the assembly robot. For example, the six-dimensional data includes three-dimensional forces and three-dimensional torques on the positioning feature points.
[0028] Step 102, identifying the motion trend of the current control robot arm end movement, and calculating the actual position to which the robot arm end currently moves through a preset impedance control formula based on the motion trend and the next desired position;
[0029] In this embodiment, the current motion trend of controlling the movement of the end of the robot arm can be identified by the advanced controller in the assembly robot identifying the direction and magnitude of the force currently applied by the assembly worker to the mobile control rod at the end of the robot arm. The worker controls the movement of the end of the robot arm by applying force to the mobile control rod at the end of the robot arm.
[0030] Optionally, this embodiment can also determine the torque output of the assembly robot after the worker applies force to the mobile control rod at the end of the robot arm through the estimation of the force field required by the human body and the dynamic model of the assembly robot system.
[0031] Step 103: predicting a contact stress distribution diagram corresponding to the actual position based on the actual position and the preset mapping equation; the contact stress distribution diagram is used to characterize the distribution of contact stress generated when the robot arm clamps the target accessory and assembles it to the target skeleton at the actual position;
[0032] The contact stress here is mainly caused by the contact stress caused by the mismatch of the shape or position of the assembly holes when the target accessories and the target skeleton are connected by screws during assembly, the contact stress caused by the abnormal protrusions or depressions on the target accessories or the target skeleton causing the edges of the two to fit together, and the contact stress caused by the deformation of the target accessories or the target skeleton causing the edges of the two to fit together.
[0033] Step 104 : When the average contact stress corresponding to the contact stress distribution diagram is less than a preset average contact stress threshold, control the robot arm to clamp the target accessory at the actual position and assemble it to the target skeleton.
[0034] Step 105: When the average contact stress corresponding to the contact stress distribution diagram is not less than a preset average contact stress threshold, return to the step of determining the next expected position to which the end of the robot arm is expected to move according to the preset target posture matrix.
[0035] In this embodiment, after determining the preset target posture matrix, the present invention adjusts the end of the robot arm to move toward the target posture matrix step by step by setting the next expected position, rather than directly adjusting the posture of the robot arm to the target posture matrix, and adds impedance control during the movement process to avoid excessive adjustment of the end of the robot arm. At the same time, each time an adjustment is made, the contact stress distribution diagram corresponding to the actual position after adjustment will be predicted to avoid inadequate adjustment.
[0036] Described below Figure 1 How the various steps are performed.
[0037] For step 101:
[0038] In one embodiment of the present invention, determining the next desired position to which the end of the robotic arm is expected to move according to a preset target posture matrix includes:
[0039] Plan the reference motion trajectory of the end of the robot arm according to the preset target pose matrix;
[0040] The reference motion trajectory is divided according to a preset division rule, and the next division point on the reference motion trajectory adjacent to the current position of the end of the robot arm is determined as the next expected position.
[0041] In this embodiment, the reference motion trajectory of the end of the robotic arm is planned according to the preset target posture matrix. The motion model of the robotic arm can be combined to plan the shortest path between the current position of the robotic arm and the position corresponding to the target posture matrix as the reference motion trajectory.
[0042] For example, if the preset division rule is that the distance between each division point is 0.2 cm, the reference motion trajectory can be divided into multiple small segments with a length of 0.2 cm.
[0043] Regarding step 102:
[0044] In step 102, the preset impedance control formula is:
[0045] F(s)=Z(s)X(s)-X r (s)
[0046] Where F(s) is the contact force between the end of the robot and the environment, Z(s) is the preset expected impedance model, X(s) is the actual position of the end of the robot, and X r (s) is the next desired position of the end of the robot arm.
[0047] In this embodiment, the motion trend is used to indicate the moving direction of the end of the robot arm, and the actual position of the end of the robot arm is determined by combining the moving direction of the end of the robot arm and the contact force between the end of the robot arm and the environment.
[0048] Impedance represents the difference between the reference motion trajectory and the actual motion trajectory, and the relationship between the contact force between the end of the robot arm and the environment (in this embodiment, it mainly refers to the contact force between the end of the robot arm and the target accessory). Since the end of the robot arm may touch an object in the environment (such as the target accessory) during the movement of the robot arm to the next desired position, thereby generating contact force, the movement of the robot arm is hindered and the touched object may be damaged. Therefore, in this embodiment, impedance control is added to the movement of the robot arm. When the contact force is large, resistance is generated in time to control the movement of the robot arm, thereby avoiding more intense contact between the robot arm and the environment.
[0049] In the specific implementation, the force sensor installed at the end of the robot arm can collect the contact force information of the end, and then convert the contact force information into the position correction value of the end of the robot arm (based on the difference between the actual position and the next expected position) through the impedance model, and the next expected position X r (s), together as the input of impedance control, and then obtain the resistance to control the end of the robot, control the motor to move, so that the end of the robot arm can output resistance. Furthermore, the force and coordinate distribution of the end of the robot arm during movement are as follows: Figure 2 As shown, it can be combined Figure 2Provides smooth control of the robot arm's movements.
[0050] With respect to step 103, before step 103, this embodiment further includes:
[0051] Before inputting the actual position into the preset mapping equation, the method further includes:
[0052] When it is detected that the deviation between the actual position and the next expected position is greater than the preset deviation threshold, a corrective force is applied to the end of the robotic arm through the auxiliary force field controller to update the actual position until the deviation between the actual position and the next expected position is no greater than the preset deviation threshold.
[0053] Among them, the correction force F n The calculation formula is as follows:
[0054]
[0055] Among them, K n is the gain function of the distance, [n x , n y , n z ] T is the spatial point coordinate of the next desired position (i.e. Figure 3 The spatial coordinates of the reference point on the trajectory C p ), [p x , p y , p z ] T is the spatial point coordinate of the actual position (that is, Figure 3 The spatial point coordinates P on the actual motion trajectory p ), is the normal direction of the motion trajectory corresponding to the end of the robotic arm.
[0056] In the specific implementation, combined with Figure 3 The accompanying figure shows a description of the corrective force (also called guiding force):
[0057] In this embodiment, the auxiliary force field controller is designed to generate a three-dimensional guiding force pointing to the target pose matrix. When the end of the manipulator deviates from the target pose matrix, this guiding force applies a corrective force to the end of the manipulator to correct the actual motion trajectory of the end of the manipulator. When the deviation between the end of the manipulator and the target pose matrix is greater, the auxiliary force field controller applies a greater corrective force to the end of the manipulator. Corrective force F n The calculation process is as follows:
[0058] like Figure 3 As shown, set point P p is the current position of the center of the end of the robot arm. The coordinates of the current position can be obtained based on the robot mechanism encoder data and forward kinematics solution. Point Cp is the distance from point P on the preset reference motion trajectory p The nearest point, define P(X o ) is the reference motion trajectory corresponding to the end of the robot arm, and P(X) is defined as the current actual motion trajectory corresponding to the end of the robot arm. The direction of the correction force is the vector along the vertical direction of the reference motion trajectory, from point P p Point to point C p , represented as a unit vector The magnitude of this corrective force is defined as point P p and point C p As the distance ΔX increases, the correction force F on the end of the robot arm n The bigger.
[0059] With respect to step 103, the method for obtaining the preset mapping equation includes:
[0060] Obtaining a first model corresponding to the target accessory and a second model corresponding to the target skeleton;
[0061] For the first model and the second model, determining a defective position where contact stress exists when the first model and the second model are fitted to simulate assembly of the target accessory and the target skeleton, and a predicted contact stress corresponding to the defective position;
[0062] Obtain the shape and position errors of each defect position, which include height error and shape error;
[0063] According to the shape and position errors of each defect position and the corresponding predicted contact stress, a mapping equation between shape and position errors and contact stress is established.
[0064] In this embodiment, the first model corresponding to the target accessory and the second model corresponding to the target skeleton are established based on the scanning results obtained by scanning the target accessory and the target skeleton based on a preset planned scanning path.
[0065] In this embodiment, the height error refers to the height difference generated when the first model and the second model are fitted. Ideally, the height difference after the first model and the second model are fitted should be 0. However, since the first model and the second model may have defects such as deformation or protrusions and depressions, there may be height differences at certain points after the first model and the second model are fitted. The height error is represented by the three-dimensional coordinates corresponding to the defective position. The shape error mainly refers to the errors of inconsistent shapes and mismatched positions that may exist in some of the assembly holes corresponding to the first model and the second model when the first model and the second model are fitted. The shape error is represented by the two-dimensional coordinates corresponding to the defective position.
[0066] As an embodiment, the predicted contact stress corresponding to each defect position can be calculated in the following manner: first, based on the known stiffness of the target accessory, a flexible body mechanics model that can characterize the relationship between the deformation and the force twist of the target accessory is established; then, when the target accessory and the target skeleton are fitted, contact stress is generated due to the height difference at the defect position. The function of the generated contact stress is to cause the target accessory to deform to adapt to the height difference. Therefore, for each defect position, a simulation test can be used to estimate the degree of deformation corresponding to each defect position on the target accessory when the target skeleton fits the defect position in different postures; then, based on the stiffness of the target accessory and the estimated degree of deformation of the defect position, the force twist (i.e., the predicted contact stress) when the defect position is deformed corresponding to the height difference is determined.
[0067] Furthermore, according to the shape and position errors of each defect position and the corresponding predicted contact stress, a mapping equation between the shape and position errors and the contact stress is established. It can be assumed that the mapping equation between the shape and position errors and the contact stress is: shape and position error*k=contact stress. The predicted contact stress and shape and position errors corresponding to each defect position have been obtained through the steps of the above embodiment, but the coefficient k is unknown. Therefore, to establish a mapping equation between the shape and position errors and the contact stress, it is necessary to calculate the value of k. For example, k can be obtained by fitting the shape and position errors and the contact stress.
[0068] Preferably, a mapping equation between the shape and position errors and the contact stress is established according to the shape and position errors of each defect position and the corresponding predicted contact stress, and it may also include: for the first model, a mapping equation between the shape and position errors and the contact stress is established according to the shape and position errors of each defect position and the corresponding predicted contact stress, combined with the stiffness of the target accessory, the rigid body coordinates of the simulated contact points between the assembly robot and the first model, and the flexible body coordinates of each assembly hole on the first model relative to the simulated contact points.
[0069] In this embodiment, the contact stress is associated with factors such as the rigidity of the target accessory, the rigid body coordinates of the simulated contact points, and the flexible body coordinates of each assembly hole relative to the simulated contact points. In addition, when calculating the predicted contact stress, the different postures of the target skeleton have a corresponding relationship with the rigid body coordinates of the simulated contact points. When the posture of the target skeleton is determined, the rigid body coordinates of the simulated contact points are also known. The flexible body coordinates of each assembly hole relative to the simulated contact points have a corresponding relationship with the rigid body coordinates. When the rigid body coordinates are known, the flexible body coordinates can be calculated based on the rigid body coordinates. Therefore, preferably, when calculating k in this embodiment, k can be set to include factors such as the rigid body coordinates, the flexible body coordinates, and the rigidity of the target accessory, and the predicted contact stress and rigid body coordinates corresponding to multiple postures of the target skeleton are comprehensively considered to calculate the final k.
[0070] The rigid body coordinates of the simulated contact point between the assembly robot and the first model refer to the coordinates of the simulated contact point between the assembly robot and the first model. The flexible body coordinates of each assembly hole on the first model relative to the contact point refer to: when the target accessory is a weak rigid structure, the assembly robot may cause a slight deformation of the target accessory when gripping the target accessory, which will cause a slight coordinate change in each assembly hole. This coordinate change causes the position coordinates of each assembly hole to change relative to the change of the rigid body coordinates of the simulated contact point, so the position coordinates of the assembly hole after the change are flexible body coordinates.
[0071] As an embodiment, determining a defective position where contact stress exists when the first model and the second model are fitted to simulate the assembly of the target accessory and the target skeleton includes:
[0072] Identify and mark each defect point and assembly hole position in the first model and the second model; wherein the defect point is the position of abnormal protrusion and / or abnormal depression carried by the target accessory and the target frame when they leave the factory;
[0073] For each defect position and assembly hole position, the regional features, grayscale features and gradient features corresponding to the defect position and the assembly hole position are calculated as the defect features corresponding to the defect position and the assembly hole position;
[0074] Compare each defect point and assembly hole position in the first model and the second model, and obtain the shape and position errors corresponding to each defect point and assembly hole position based on the comparison result and the defect features corresponding to each defect point and assembly hole position;
[0075] Defective point positions and / or assembly hole positions whose shape and position errors meet the preset rules for generating contact stress are determined as defective positions.
[0076] In this embodiment, before identifying and marking each defect point and assembly hole position in the first model and the second model, the first model and the second model can be pre-processed for denoising (including removing noise from images within the contact surface range of the first model and the second model (i.e., the surface that fits together when the two are assembled)), and the first model and the second model can be segmented (the region segmentation is performed here because the target accessory is too large and is divided into small images for easy processing).
[0077] By identifying and marking each defective point and assembly hole in the first model and the second model, the position of the defective point and the height difference with the surrounding adjacent points can be determined for each segmented area according to the differences in regional characteristics, grayscale characteristics and gradient characteristics of the pixel points corresponding to the defective point and those of the surrounding pixels. The position of the assembly hole and the height difference with the surrounding adjacent points and the shape of the assembly hole can also be determined according to the differences in regional characteristics, grayscale characteristics and gradient characteristics of the pixel points corresponding to the defective point and those of the surrounding pixels.
[0078] As an embodiment, based on the assembly relationship between the first model and the second model, the assembly holes need to correspond when the two are assembled. Therefore, each defect point in the first model and the second model is compared with the assembly hole. The shapes and positions of the assembly holes with the same coordinates can be compared to determine the height errors and shape errors corresponding to the assembly holes. In addition, the defect points in one model can be compared with the corresponding points in another model to determine the height errors and shape errors corresponding to the defect points.
[0079] Preferably, in this embodiment, the comparison result obtained by comparing each defect point and assembly hole in the first model and the second model can be used as the first comparison result, the comparison result obtained by comparing each defect point and assembly hole in the first model with the first standard model can be used as the second comparison result, and the comparison result obtained by comparing each defect point and assembly hole in the second model with the second standard model can be used as the third comparison result. The first comparison result, the second comparison result and the third comparison result are combined to determine the shape and position errors corresponding to each defect point and assembly hole. Among them, the first standard model refers to the standard model corresponding to the ideal target accessory without any defects, and the second standard model refers to the standard model corresponding to the ideal target skeleton without any defects.
[0080] Finally, in this embodiment, the preset rule for generating contact stress can be that when the corresponding height error is greater than the preset height error, and / or the shape error is greater than the preset shape error, the defective points or assembly holes in the first model or the second model will generate contact stress.
[0081] Based on the above preset mapping equation, as an embodiment, based on the actual position and the preset mapping equation, predicting the contact stress distribution map corresponding to the actual position includes:
[0082] Based on the actual position, the first model and the second model, it is estimated that when the robot arm clamps the target accessory and the target skeleton at the actual position for assembly, the shape and position errors corresponding to each defect position are determined.
[0083] Since the target accessory is a weak rigid structure, the mechanical arm may cause slight deformation of the target accessory when gripping the target accessory, which may cause slight coordinate changes in each assembly hole on the target accessory. This coordinate change causes the position coordinates of each assembly hole to change relative to the change in the rigid coordinates of the contact point between the mechanical arm and the target accessory. In this embodiment, the shape and position errors between the position coordinates of each assembly hole relative to the change in the contact point and the actual coordinates of each assembly hole are determined as the shape and position errors corresponding to the defective position.
[0084] It should be noted that the contact stress distribution diagram corresponding to each posture matrix output by the contact stress estimation model is: the shape and position errors corresponding to each defect position are combined into the first model and the second model, and the edges of the first model and the second model are compared and matched according to the installation direction of the target accessory to the target skeleton, so as to obtain the corresponding chromatogram when the first model and the second model are fitted, and then the fitting of the first model and the second model is digitally simulated based on the chromatogram and the mapping equation, and the contact stress distribution diagram when the target accessory and the target skeleton are assembled is predicted.
[0085] The chromatogram is used to characterize the shape and position errors of each point on the edge of the first model and the second model.
[0086] In this embodiment, the edges of the first model and the second model are compared and matched by simulation to obtain the height error and shape error (here mainly the height difference) on the contact surface (i.e., edge) of the first model and the second model. Since the shape and position errors on the contact surface of the first model and the second model have formed a surface from points, this embodiment uses a chromatogram to characterize the shape and position errors of each point on the edge of the first model and the second model. For example, the darker the color of the chromatogram, the greater the shape and position error at that location.
[0087] Here, for the digital simulation of the fitting of the first model and the second model based on the chromatogram and the mapping equation, reference may be made to relevant digital simulation techniques, and the present application does not limit the simulation techniques.
[0088] The above describes specific embodiments of the present invention. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0089] According to another aspect of the embodiment, the present invention provides a compliant control device for an assembly robot. Figure 4FIG. 1 is a schematic block diagram of a compliant control device for an assembly robot according to an embodiment. It is understood that the device can be implemented by any device, equipment, platform, or device cluster with computing and processing capabilities. Figure 4 As shown, the device includes: a determination unit 401, a calculation unit 402, a prediction unit 403 and a control unit 404. The main functions of each component unit are as follows:
[0090] The determination unit 401 is used to control the end of the manipulator arm of the assembly robot to move to a set position in front of the target part to be gripped, and determine the next expected position to which the end of the manipulator arm is expected to move according to a preset target posture matrix; wherein the target position matrix is used to characterize the posture corresponding to the condition in which the contact stress generated by the manipulator arm when assembling the target part to the target skeleton is minimized, and the target part includes a special-shaped curved surface part in a helicopter;
[0091] A calculation unit 402 is used to identify the motion trend of the current control of the movement of the end of the robot arm, and calculate the actual position to which the end of the robot arm currently moves based on the motion trend and the next expected position through a preset impedance control formula;
[0092] The prediction unit 403 is used to predict a contact stress distribution diagram corresponding to the actual position based on the actual position and a preset mapping equation; the contact stress distribution diagram is used to characterize the distribution of contact stress generated when the robot arm clamps the target accessory at the actual position and assembles it to the target skeleton;
[0093] The control unit 404 is used to control the robotic arm to clamp the target accessory at the actual position and assemble it to the target skeleton when the average contact stress corresponding to the contact stress distribution diagram is less than a preset average contact stress threshold; otherwise, return to the step of determining the next expected position to which the end of the robotic arm is expected to move according to a preset target posture matrix.
[0094] As a preferred implementation, the calculation unit 402 determines the next desired position to which the robot arm is expected to move according to a preset target posture matrix, including:
[0095] Planning a reference motion trajectory of the end of the robotic arm according to a preset target pose matrix;
[0096] The reference motion trajectory is divided according to a preset division rule, and a next division point on the reference motion trajectory adjacent to the current position of the end of the robot arm is determined as the next expected position.
[0097] As a preferred implementation, the preset impedance control formula is:
[0098] F(s)=Z(s)X(s)-X r (s)
[0099] Where F(s) is the contact force between the end of the robot and the environment, Z(s) is the preset expected impedance model, X(s) is the actual position of the end of the robot, and X r (s) is the next desired position of the end of the robot arm.
[0100] As a preferred embodiment, the device further includes:
[0101] A correction unit is used to apply a correction force to the end of the robot arm through an auxiliary force field controller to update the actual position until the deviation between the actual position and the next expected position is no greater than the preset deviation threshold when it is detected that the deviation between the actual position and the next expected position is greater than a preset deviation threshold.
[0102] As a preferred embodiment, the correction force F n The calculation formula is as follows:
[0103]
[0104] Among them, K n is the gain function of the distance, [n x , n y , n z ] T is the spatial point coordinate of the next expected position, [p x , p y , p z ] T is the spatial point coordinate of the actual position, is the normal direction of the motion trajectory corresponding to the end of the robotic arm.
[0105] As a preferred implementation, the method for obtaining the mapping equation includes:
[0106] Acquire a first model corresponding to the target accessory and a second model corresponding to the target skeleton;
[0107] For the first model and the second model, determining a defective position where contact stress exists when the first model and the second model are fitted to simulate assembly of the target accessory and the target skeleton, and a predicted contact stress corresponding to the defective position;
[0108] Obtaining shape and position errors of each defect position, wherein the shape and position errors include height errors and shape errors;
[0109] According to the shape and position errors of the defect positions and the corresponding predicted contact stress, a mapping equation between the shape and position errors and the contact stress is established.
[0110] As a preferred embodiment, based on the actual position and a preset mapping equation, predicting a contact stress distribution diagram corresponding to the actual position includes:
[0111] Based on the actual position, the first model and the second model, it is estimated that when the robot arm clamps the target accessory and the target skeleton at the actual position for assembly, the shape and position errors corresponding to the various defect positions are determined.
[0112] As a preferred embodiment, the determining of a defective position where contact stress exists when the first model and the second model are fitted to simulate assembly of the target accessory and the target skeleton includes:
[0113] Identify and mark each defect point and assembly hole position in the first model and the second model; the defect point is the position of abnormal protrusions and / or abnormal depressions carried by the target accessory and the target skeleton when they leave the factory;
[0114] For each defect position and assembly hole position, calculating the regional features, grayscale features and gradient features respectively corresponding to the defect position and the assembly hole position, as the defect features respectively corresponding to the defect position and the assembly hole position;
[0115] Comparing each defect point and assembly hole position in the first model and the second model, and obtaining the shape and position errors corresponding to each defect point and assembly hole position based on the comparison result and the defect features corresponding to each defect point and assembly hole position;
[0116] Defective point positions and / or assembly hole positions whose shape and position errors meet the preset rules for generating contact stress are determined as defective positions.
[0117] According to another embodiment, there is also provided a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to execute a combination of Figure 1 The method described.
[0118] According to another embodiment of the present invention, an electronic device is provided, including a memory and a processor, wherein an executable code is stored in the memory, and when the processor executes the executable code, the Figure 1 method.
[0119] The various embodiments of the present invention are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0120] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the present invention can be implemented by hardware, software, firmware or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium.
[0121] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solution of the present invention should be included in the scope of protection of the present invention.
Claims
1. A compliant control method for an assembly robot, characterized in that: include: Control the end of the mechanical arm of the assembly robot to move to a set position in front of the target part to be gripped, and determine the next expected position to which the end of the mechanical arm is expected to move according to a preset target posture matrix; wherein the target position matrix is used to characterize the posture corresponding to the condition in which the contact stress generated by the mechanical arm when assembling the target part to the target skeleton is minimized, and the target part includes a special-shaped curved surface part in a helicopter; Identify the motion trend currently controlling the movement of the end of the robotic arm, and calculate the actual position to which the end of the robotic arm currently moves based on the motion trend and the next desired position by using a preset impedance control formula; Based on the actual position and the preset mapping equation, a contact stress distribution diagram corresponding to the actual position is predicted; wherein the contact stress distribution diagram is used to characterize the distribution of contact stress generated when the robot arm clamps the target accessory at the actual position and assembles it to the target skeleton; When the average contact stress corresponding to the contact stress distribution diagram is less than a preset average contact stress threshold, the robotic arm is controlled to clamp the target accessory at the actual position and assemble it to the target skeleton; otherwise, the step returns to determine the next expected position to which the end of the robotic arm is expected to move according to the preset target posture matrix.
2. The method according to claim 1, characterized in that Determining the next desired position to which the robot arm is expected to move according to a preset target posture matrix includes: Planning a reference motion trajectory of the end of the robotic arm according to a preset target pose matrix; The reference motion trajectory is divided according to a preset division rule, and a next division point on the reference motion trajectory adjacent to the current position of the end of the robot arm is determined as the next expected position.
3. The method according to claim 1, characterized in that The preset impedance control formula is: F(s)=Z(s)X(s)-X r (s) Where F(s) is the contact force between the end of the robot and the environment, Z(s) is the preset expected impedance model, X(s) is the actual position of the end of the robot, and X r (s) is the next desired position of the end of the robot arm.
4. The method according to claim 1, characterized in that: Before inputting the actual position into a preset mapping equation, the method further includes: When it is detected that the deviation between the actual position and the next expected position is greater than a preset deviation threshold, a corrective force is applied to the end of the robotic arm through an auxiliary force field controller to update the actual position until the deviation between the actual position and the next expected position is no greater than the preset deviation threshold.
5. The method according to claim 4, characterized in that The corrective force F n The calculation formula is as follows: Among them, K n is the gain function of the distance, [n x , n y , n z ] T is the spatial point coordinate of the next expected position, [p x , p y , p z ] T is the spatial point coordinate of the actual position, is the normal direction of the motion trajectory corresponding to the end of the robotic arm.
6. The method according to claim 1, characterized in that The method for obtaining the mapping equation includes: Acquire a first model corresponding to the target accessory and a second model corresponding to the target skeleton; For the first model and the second model, determining a defective position where contact stress exists when the first model and the second model are fitted to simulate assembly of the target accessory and the target skeleton, and a predicted contact stress corresponding to the defective position; Obtaining shape and position errors of each defect position, wherein the shape and position errors include height errors and shape errors; According to the shape and position errors of the defect positions and the corresponding predicted contact stress, a mapping equation between the shape and position errors and the contact stress is established.
7. The method according to claim 6, characterized in that Based on the actual position and the preset mapping equation, predicting a contact stress distribution diagram corresponding to the actual position includes: Based on the actual position, the first model and the second model, it is estimated that when the robot arm clamps the target accessory and the target skeleton at the actual position for assembly, the shape and position errors corresponding to the various defect positions are determined.
8. The method according to claim 6, characterized in that The step of determining a defective position where contact stress exists when the first model and the second model are fitted to simulate assembly of the target accessory and the target skeleton comprises: Identify and mark each defect point and assembly hole position in the first model and the second model; the defect point is the position of abnormal protrusions and / or abnormal depressions carried by the target accessory and the target skeleton when they leave the factory; For each defect position and assembly hole position, calculating the regional features, grayscale features and gradient features respectively corresponding to the defect position and the assembly hole position as the defect features respectively corresponding to the defect position and the assembly hole position; Comparing each defect point and assembly hole position in the first model and the second model, and obtaining the shape and position errors corresponding to each defect point and assembly hole position based on the comparison result and the defect features corresponding to each defect point and assembly hole position; Defective point positions and / or assembly hole positions whose shape and position errors meet the preset rules for generating contact stress are determined as defective positions.
9. A compliant control device for an assembly robot, characterized in that: include: A determination unit is used to control the end of the mechanical arm of the assembly robot to move to a set position in front of the target part to be gripped, and determine the next expected position to which the end of the mechanical arm is expected to move according to a preset target posture matrix; wherein the target position matrix is used to characterize the posture corresponding to the condition in which the contact stress generated by the mechanical arm when assembling the target part to the target skeleton is minimized, and the target part includes a special-shaped curved surface part in a helicopter; A calculation unit, used for identifying a motion trend currently controlling the movement of the end of the robotic arm, and calculating an actual position currently moved to the end of the robotic arm by a preset impedance control formula based on the motion trend and the next desired position; A prediction unit, configured to predict a contact stress distribution diagram corresponding to the actual position based on the actual position and a preset mapping equation; wherein the contact stress distribution diagram is used to characterize the distribution of contact stress generated when the robot arm clamps the target accessory at the actual position and assembles it to the target skeleton; A control unit is used to control the robotic arm to clamp the target accessory at the actual position and assemble it to the target skeleton when the average contact stress corresponding to the contact stress distribution diagram is less than a preset average contact stress threshold; otherwise, return to the step of determining the next expected position to which the end of the robotic arm is expected to move according to a preset target posture matrix.
10. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Mechanical arm assembly control method and device, mechanical arm control equipment and storage medium
CN114310912A
Accurate control method and system for active compliance of mechanical arm torque
CN115502979A
Compliant control method and device for on-orbit assembly of double-arm robot
CN117182929A
Posture adjusting method, device and equipment of assembly robot and medium
CN118288284A
Robot Hand, Robot Hand Control Method, and Program
US20220032462A1
