Variable-speed cross search method for shaft hole attitude alignment in assembly
The variable speed cross search method is used to quickly and accurately estimate the shaft hole attitude, which solves the problems of long shaft hole assembly time and large contact torque in the existing technology, and achieves a faster and more efficient shaft hole alignment and assembly process.
Patent Information
- Application Number
- CN202410973166.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-07-19
AI Technical Summary
The existing technology cannot quickly and accurately estimate the attitude of the shaft hole, which results in prolonged jamming time and increased assembly time. The average contact moment is large, which affects assembly efficiency and wear of the shaft hole.
The variable speed cross search method is used to estimate the attitude angle of the hole through preliminary search, construct a variable speed search function, adjust the search speed according to the attitude angle and torque information, reduce the impact of data noise, increase the attitude search speed, and reduce jamming time in the shaft hole assembly. and contact moment.
Fast and accurate shaft hole alignment is achieved, assembly time is shortened, average contact torque is reduced, and assembly efficiency and shaft hole service life are improved.
Smart Images

Figure CN118664600A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of assembly robots, and in particular relates to a speed-changing cross search method for aligning the posture of shaft holes in assembly. Background Art
[0002] In industrial production, robots are often used for assembly tasks, such as circuit board assembly, automobile production, high-voltage line maintenance, and plug assembly. These tasks are equivalent to shaft-hole assembly. In practical applications, there are limitations such as insufficient measurement accuracy of shaft and hole postures and insufficient robot motion accuracy. At this time, in small-clearance shaft-hole assembly, the robot cannot complete the shaft-hole assembly by directly moving to the desired posture.
[0003] By visually measuring the hole position, the shaft can be directly moved into the hole when the shaft-hole gap is large. It is difficult and costly to achieve small gap assembly by improving the accuracy of the equipment. Based on vision, the search trajectory is designed and combined with force information, small gap assembly can be achieved without improving the accuracy of the camera and robot. Existing search methods are mainly divided into two categories: plane search and space search.
[0004] The plane search method traverses the area around the hole and corrects the search direction through force information, so that the shaft can fall into the hole. However, to achieve traversal, the shaft needs to move along a dense spiral search trajectory. The smaller the shaft-hole clearance, the denser the spiral trajectory required, which makes the assembly process too slow and time-consuming. When the shaft-hole clearance is smaller than the robot's motion accuracy and posture have obvious deviations, this method can hardly complete the assembly.
[0005] The subsequent development of the spatial search method can improve the search speed and realize the small gap shaft hole assembly and posture alignment. By tilting the shaft, the end face of the shaft has an obvious lowest point relative to the end face of the hole. In this way, different posture deviations between the shaft and the hole will produce significantly different contact forces and moments. However, in practical applications, the posture of the hole is often not accurately measured, which affects the assembly accuracy and assembly cycle.
[0006] In summary, existing methods essentially use passive compliance to achieve alignment of the shaft and hole in posture. Some literature uses active swinging based on compliance to get the shaft out of the jammed state and improve the assembly success rate. Due to interference from friction and other forces, and the fact that only whether the shaft and hole are jammed can be determined through torque information, the magnitude of the posture deviation between the shaft and hole cannot be estimated. Since the posture of the hole cannot be actively estimated, the shaft is truly aligned with the hole when the assembly is nearly complete. This will increase the jamming time, thereby increasing the assembly time and average contact torque. In the assembly of deep holes and shafts, posture deviations will cause jamming and contact torque between the shaft and hole. This will prolong the assembly time and increase the wear of the shaft and hole. In shaft-hole assembly, assembly time and contact torque are key indicators for measuring algorithm performance. Summary of the invention
[0007] In order to overcome the existing technology, the present invention proposes a variable speed cross search method for aligning the posture of the shaft hole in assembly, so as to solve the problem that the existing method cannot quickly and accurately estimate the posture of the hole, thereby prolonging the blocking time and assembly time and increasing the average contact torque.
[0008] A variable speed cross search method for aligning the posture of the shaft hole in the assembly includes the following steps:
[0009] S1. Establish the three coordinate axes of the hole coordinate system as x, y and z, perform a preliminary search for the hole's posture, the search directions are x and y respectively, drive the shaft to rotate along x and y to search, after preliminarily estimating the hole's posture angle, fix the shaft's posture angle in the current search direction to the estimated hole's posture angle, and record the positive and negative data of the shaft during the search process: angle, torque and weight;
[0010] S2, estimate the attitude angle of the hole, and use the positive and negative data to estimate the positive clearance of the shaft hole and the negative clearance of the shaft hole respectively;
[0011] S3, when stuck, estimate the angular motion range of the axis moving in the positive and negative directions to the torque threshold at the current assembly depth along the z direction;
[0012] S4, constructing a variable speed search function;
[0013] S5, searching along the current search direction at the search speed, while recording data, the recorded data being the same as that in step S1;
[0014] S6. If the shaft is stuck in the hole, repeat steps S2-S5; otherwise, continue to insert the shaft into the hole until the assembly is completed.
[0015] Compared with the prior art, the present invention has the following beneficial effects:
[0016] 1. The method of this application can reduce the influence of data noise and actively estimate the posture of the hole based on the data;
[0017] 2. The method of this application designs a variable speed search function based on the estimated attitude angle and the estimated shaft-hole clearance, which can improve the speed of attitude search;
[0018] 3. The method of the present application can significantly shorten the assembly time and reduce the average contact torque in the assembly of square, circular and triangular shaft holes.
[0019] The present invention will be further described below in conjunction with the accompanying drawings and implementation modes. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a flow chart of a speed change cross search method for aligning the posture of the shaft hole in the assembly of the present application;
[0021] Figure 2 It is a diagram of the axial hole assembly process in hole posture estimation;
[0022] Figure 3 It is a graph showing the relationship between attitude angle and search speed using a function curve;
[0023] Figure 4 It is a graph showing the relationship between contact torque and search speed using a function curve;
[0024] Figure 5 is a diagram of an experimental platform constructed in an embodiment;
[0025] Figure 6 A schematic diagram of the holes for assembling square, circular and triangular shaft holes in the embodiment;
[0026] Figure 7 The square shaft hole is assembled by the existing method in the embodiment, and the torque curve of the shaft along the x and y directions is obtained;
[0027] Figure 8 The square shaft hole in the embodiment is assembled by this method, and the torque curve of the shaft along the x and y directions is obtained. DETAILED DESCRIPTION
[0028] The embodiments of the technical solution of the present invention will be described in detail below in conjunction with the accompanying drawings. Unless otherwise specified, the technical terms or scientific terms used in this application are the common meanings understood by those skilled in the art to which the present invention belongs.
[0029] Before estimating the hole posture, the previous process needs to be completed. The position of the hole is measured by the camera, and the hole coordinate system O is established at the center of the hole according to the measured value. H , the three coordinate axes of the coordinate system are x, y and z. Then, through position search and attitude correction, the axis is made ready for attitude search, and then the hole attitude estimation is performed:
[0030] Figure 1 A flow chart of a variable speed cross search method for the alignment of the shaft hole posture in the assembly is shown.
[0031] In the variable speed cross search method constructed in the present application, the shaft searches alternately along the x and y directions, the rotation speed is constantly changed and adjusted as the state of the shaft changes during rotation, and the x and y directions are perpendicular to each other and present a cross shape; it includes the following steps:
[0032] S1. Perform a preliminary search for the posture of the hole, with the search directions being x and y respectively, and drive the shaft to rotate along x and y to search. After preliminarily estimating the posture angle of the hole, fix the posture angle of the shaft in the current search direction to the estimated posture angle of the hole, and record the positive and negative data of the shaft during the search process: angle, torque and weight; It is a set of data recorded after the shaft hole contacts in the forward search; It is a set of data recorded after the shaft hole contacts in the negative search;
[0033] S2, estimate the attitude angle of the hole, and use the positive and negative data to estimate the positive clearance of the shaft hole and the negative clearance of the shaft hole respectively;
[0034] S3, when stuck, estimate the angular motion range of the axis moving in the positive and negative directions to the torque threshold at the current assembly depth along the z direction;
[0035] S4, constructing a variable speed search function;
[0036] S5, searching along the current search direction at the search speed, while recording data, the recorded data being the same as that in step S1;
[0037] S6. If the shaft is stuck in the hole, repeat steps S2-S5; otherwise, continue to insert the shaft into the hole until the assembly is completed.
[0038] The proposed method can quickly and accurately estimate the posture of the hole, and can align the shaft to the hole more quickly, thereby reducing the assembly time and the average contact torque, overcoming the limitations of the existing methods.
[0039] Specifically, in step S2, after the shaft-hole contacts, there is a piecewise linear relationship between the change in contact torque and the change in rotation angle. To obtain this piecewise linear relationship, the θ recorded in S1 is used to calculate the rotation angle. H 、T H 、w H and θ L 、T L 、w L , combined with the weighted least squares method, a polynomial fitting is performed to obtain the positive and negative polynomial parameters k respectively. H and k L ; The relationship between the shaft-hole clearance δ and the assembly depth Δh and the shaft-to-hole offset angle Δθ is δ=Δh·Δθ,
[0040] The position of the shaft in the z direction when it contacts the upper surface of the hole is h0, and the positions after contact in the positive and negative directions are h H 、h L ; Using k H and k LCalculate the angle θ when the contact force between the shaft and the hole reaches the threshold H1 and θ L1 ; Then, estimate the hole's attitude angle θ M The positive clearance δ of the shaft and hole is estimated by using the data recorded after the shaft and hole contact in the positive and negative searches. H and negative clearance of shaft and hole δ L ;
[0041] k H = wls(θ H ,T H ,w H 0,k L = wls(θ L ,T L ,w L )
[0042] k H and k L They represent the first-order polynomial parameters obtained by fitting the weighted least squares method in the positive and negative directions, respectively. It is a set of data recorded after the shaft hole contacts in the forward search; It is a set of data recorded after the shaft hole contacts in the negative search;
[0043] θ H1 =(-T limit -k H (2)) / k H (1),θ L1 =(T limit -k L (2)) / k L (1)
[0044] k H (2) represents the coefficient of the first-order term in the first-order polynomial obtained by forward fitting, k H (1) represents the coefficient of the 0th order term in the linear polynomial obtained by forward fitting; T limit is the contact torque threshold: k L (2) represents the coefficient of the first-order term in the first-order polynomial obtained by negative fitting, k L (1) represents the coefficient of the 0th degree term in the linear polynomial obtained by negative fitting;
[0045] θ M =((h0-h H )·θ H1 +(h0-h L )·θ L1 ) / (2·h0-h H -h L )
[0046] δ H =(h0-h H )·(θ H1 -θ M )
[0047] δ L =(h0-h L )·θ M -θ L1 ).
[0048] Furthermore, when the blockage occurs, it is estimated that at the current depth, the angular motion ranges of the axis moving in the positive and negative directions to the torque threshold are δθ H and δθ L ;
[0049] δθ H =δ H / (h0-h C )
[0050] δθ L =δ L / (h0-h C )
[0051] Among them, δ represents the shaft-hole clearance, θ M It represents the estimated hole attitude angle, defines the position when the axis contacts the upper surface of the hole as h0, and defines the position along the assembly depth direction at the current moment during assembly as h C , the direction of coordinate axis z is defined as the assembly depth direction.
[0052] Furthermore, a variable speed search function is constructed, and the search speed is defined as v, where v includes the positive search (P-search), the negative search (N-search) and the estimated θ M Then return to the hole posture position θ from the positive position M The rotation speed (P-back) is determined by the angle v θ and v related to the torque F composition;
[0053]
[0054]
[0055] Among them, v θ represents the search speed adjusted according to the attitude angle, v F represents the search speed adjusted according to the contact torque; v max 、v end and v back is the maximum speed during the search, the contact phase speed, and the return speed, T limitis the contact torque threshold, T is the contact torque in the current direction fed back by the sensor, where θ is the rotation angle of the axis, k is a coefficient greater than zero, and v r =v max -v end ,θ H =θ M +δθ H ,θ L =θ M -δθ L θ H Indicates the angular position when the contact torque between the shaft and the hole is expected to reach the threshold in the forward search, θ L Indicates the angular position when the contact torque between the shaft and the hole is expected to reach the threshold in the negative search.
[0056] According to the estimated attitude angle and the estimated shaft-hole clearance, a variable speed search function is designed to improve the speed of attitude search; according to the torque information, a speed limit function v is designed. F , ensuring the safety of assembly.
[0057] Exemplarily, in step S1, the drive shaft is searched for rotation along the x and y directions using admittance control. The external force is converted into a deviation displacement relative to the desired displacement through admittance control.
[0058] Assembly process such as Figure 2 After the axis rotates along the y direction, the lowest point is generated, and the position search is performed through the admittance control until the three-point contact state (black dot position) is reached, as shown in Figure 2 As shown in (c), the rotation angle along y is then reset to zero, completing the hole position search. Then the posture search is performed.
[0059] Figure 2 (a) indicates the initial position for the shaft hole to be assembled. Figure 2 (b) indicates that the axis is along O H -y rotates to the lowest point, Figure 2 F in (b) m and F z denote the desired forces driving the shaft in the x and z directions, respectively, Figure 2 (d) indicates that the rotation angle of the axis along y is reset to zero and the search continues along x and y. Figure 2 (e) indicates that the hole position search is completed.
[0060] v in step S4 θ like Figure 3 As shown in the figure, the relationship between the attitude angle and the search speed is represented by a function curve (positive return P-back; negative return N-back); v F like Figure 4As shown in the figure, the relationship between contact torque and search speed is represented by a function curve. When the shaft and the hole generate contact torque, reducing the search speed can reduce the disturbance effect.
[0061] Example
[0062] Build as Figure 5 The experimental platform shown is used to carry out the shaft-hole assembly experiment.
[0063] In the experiment, square, circular and triangular shaft holes were assembled (such as Figure 6 The performance of the method proposed in this application is verified. The side length of the square hole and the triangular hole is 30mm, the diameter of the round hole is 30mm, the shaft hole gap is 0.1mm, the hole depth is 35mm, and the material is aluminum alloy. The method proposed in this application is experimentally verified with the "flexible shaft hole assembly using partial spiral force trajectory and inclined shaft posture" method, and the performance is compared.
[0064] The method of "flexible shaft-hole assembly using partial helical force trajectory and tilted shaft posture" is denoted as method1, and the proposed hole posture estimation method based on variable speed cross search is denoted as method2. Each shaft hole is assembled 10 times using the two methods. The data related to time when square, circular, and triangular shaft holes are assembled, as well as the data related to contact torque when square, circular, and triangular are assembled.
[0065] Taking the search for square holes as an example: the average total assembly time for method 1 is 79.26s, and the average total assembly time for method 2 is 71.02s. The average posture search time for method 1 is 59.98s, and the average posture search time for method 2 is 52.03s; the average posture preliminary search time for method 1 is 25.6s, and the average precise search time is 35.285s, while the average times for method 2 are 19.55s and 32.31s respectively. The average contact torque for method 1 is 0.1562Nm, which is greater than the 0.1109Nm of method 2. These data are shown in Table 1. The assembly performance data of circular holes and triangular holes are also shown in Table 1. Figure 7 and Figure 8 The torque curves of the shaft along the x and y directions when method1 and method2 are used in the square shaft hole assembly are shown respectively. Comparing the curves, the shaft is subjected to a larger torque for a longer time when method1 is used, while the shaft is subjected to a larger torque for a shorter time when method2 is used.
[0066] In the initial posture search stage, method2 estimates the current direction hole posture θ M This indicates that using position control to quickly move the pile to θ M, which saves time compared to continuing the search using force control. In the precise posture search phase, method 2 takes less time, indicating that position control is used to align θ M It saves time compared to torque control. In the assembly of the three shapes of shaft holes, method2 has a smaller contact torque, which means that the shaft hole wear is small during the assembly process.
[0067] The proposed method has good performance in the posture search process of shaft-hole assembly. In the posture search stage of shaft holes of three shapes, the assembly time is shortened by 13% to 40%, and the average contact torque is reduced by 15% to 69%. This method has fast assembly speed and small wear between shaft holes.
[0068] Table 1. Data table of hole posture estimation
[0069]
[0070] The present invention has been fully demonstrated through the preferred embodiments, but this does not mean that the present invention is limited. Any technician with relevant professional knowledge can make appropriate adjustments or optimizations to the above-disclosed structures and technical contents without violating the core of the technical solution of the present invention to form equivalent implementation cases. These adjusted or optimized implementation cases still fall within the scope of the technical solution of the present invention.
Claims
1. A speed-changing cross search method for aligning the posture of the central axis hole during assembly, characterized in that: The following steps are involved: S1. Establish the three coordinate axes of the hole coordinate system as x, y and z, perform a preliminary search for the hole's posture, the search directions are x and y respectively, drive the shaft to rotate along x and y to search, after preliminarily estimating the hole's posture angle, fix the shaft's posture angle in the current search direction to the estimated hole's posture angle, and record the positive and negative data of the shaft during the search process: angle, torque and weight; S2, estimate the attitude angle of the hole, and use the positive and negative data to estimate the positive clearance of the shaft hole and the negative clearance of the shaft hole respectively; S3, when stuck, estimate the angular motion range of the axis moving in the positive and negative directions to the torque threshold at the current assembly depth along the z direction; S4, constructing a variable speed search function; S5, searching along the current search direction at the search speed, while recording data, the recorded data being the same as that in step S1; S6. If the shaft is stuck in the hole, repeat steps S2-S5; otherwise, continue to insert the shaft into the hole until the assembly is completed.
2. According to claim 1, a speed change cross search method for aligning the posture of the shaft hole in the assembly is characterized by: The specific process of step S2 is: the position of the shaft in the z direction when it contacts the upper surface of the hole is defined as h0, and the positions after contact in the positive and negative directions are defined as h H 、h L ; Using k H and k L Calculate the angle θ when the contact force between the shaft and the hole reaches the threshold H1 and θ L1 ; Estimate the hole's attitude angle θ H and use the positive and negative data to estimate the positive clearance δ of the shaft and hole respectively H and negative clearance of shaft and hole δ L ; k H =wls(θ H ,T H ,w H ),k L =wls(θ L ,T L ,w L ) k H and k L They represent the first-order polynomial parameters obtained by fitting the weighted least squares method in the positive and negative directions, respectively. It is a set of data recorded after the shaft hole contacts in the forward search; It is a set of data recorded after the shaft hole contacts in the negative search; θ H1 =(-T limit -k H (2)) / k H (1),θ L1 =(T limit -k L (2)) / k L (1) k H (2) represents the coefficient of the first-order term in a first-order polynomial, k H (1) represents the coefficient of the 0th degree term in a linear polynomial; T limit is the contact torque threshold; k L (2) represents the coefficient of the first-order term in the first-order polynomial obtained by negative fitting, k L (1) represents the coefficient of the 0th degree term in the linear polynomial obtained by negative fitting; θ M =((h0-h H )·θ H1 +(h0-h L )·θ L1 ) / (2·h0-h H -h L ) d H =(h0-h H )·(θ H1 -θ M ) d L =(h0-h L )(θ M -θ L1 )。 3. According to claim 2, a speed change cross search method for aligning the posture of the shaft hole in the assembly is characterized by: The specific process of step S3 is as follows: when stuck, it is estimated that at the current depth, the angular motion ranges of the axis moving in the positive and negative directions to the torque threshold are δθ respectively. H and δθ L ; dth H =d H / (h0-h C ) dth L =d L / (h0-h C ) Among them, δ represents the shaft-hole clearance, the position when the shaft contacts the upper surface of the hole is defined as h0, and the position along the assembly depth direction at the current moment during assembly is defined as h C , the direction of coordinate axis z is defined as the assembly depth direction.
4. A speed change cross search method for aligning the posture of the shaft hole in the assembly according to claim 1, characterized in that: The process of step S4 is: construct a variable speed search function, and the search speed v is: Among them, v θ represents the search speed adjusted according to the attitude angle, v F represents the search speed adjusted according to the contact torque; v max 、v end and v back are the maximum speed during the search, the speed during the contact phase, and the speed during the return phase, T limit is the contact torque threshold, T is the contact torque in the current direction fed back by the sensor, where θ is the rotation angle of the axis, k is a coefficient greater than zero, and v r =v max -v end ,θ H =θ M +δθ H ,θ L =θ M -δθ L θ H Indicates the angular position when the contact torque between the shaft and the hole is expected to reach the threshold in the forward search, θ L Indicates the angular position when the contact torque between the shaft and the hole is expected to reach the threshold in the negative search. P-search indicates positive search, N-search indicates negative search, and P-back indicates positive return.
5. A speed change cross search method for aligning the posture of the shaft hole in assembly according to claim 3, characterized in that: In step S3 , the shaft-hole clearance δ=Δh·Δθ, where Δh represents the shaft-hole assembly depth, and Δθ represents the offset angle of the shaft relative to the hole.
6. A speed change cross search method for aligning the posture of the shaft hole in assembly according to claim 1, characterized in that: In step S1, the drive axis is searched along x and y rotation using admittance control.
Citation Information
Patent Citations
Natural interactive virtual assembly system based on product full semantic model
CN101441677A
Device and method for realizing axle hole assembly by utilizing flexibility of robot
CN102218652A
Automatic robot assembling method for cylindrical-rectangular composite hole type part
CN110549338A
Robot shaft hole assembling method based on deep reinforcement learning and admittance control
CN115674204A
Blind search method for spaceflight shaft hole assembly right triangle hypotenuse
CN117984326A
