Shaft hole assembling method and device and computer equipment

Through the classification of timing contact force data and the method of Archimedes spiral division of quadrants, the search hole position points are optimized, and the problem of long precise positioning time in aerospace plug assembly is solved, the assembly efficiency and success rate are improved, and the precision components are ensured. Security.

CN118970571APending Publication Date: 2024-11-15BEIHANG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411042647.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

During the assembly process of aviation plugs, the prior art has problems such as high time consumption and low assembly efficiency in the 'precise positioning' step, especially the complex contact state between the male and female head of the aerial plug, resulting in a long hole search time , low success rate.

Method used

By obtaining the timing contact force data between the aerial plug male head and the aerial plug female head, classifying the contact state based on the timing contact force data, using Archimedes spiral to divide the target quadrants, and determining the position point of the search hole, thereby optimizing the search hole Position and improve assembly efficiency.

Benefits of technology

In the case where the position of the aircraft plug female head is unknown, quickly determine the search hole position point, reduce the blindness of random search, significantly improve the efficiency and success rate of the aviation plug assembly process, and ensure the safety of precision components.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118970571A_ABST
    Figure CN118970571A_ABST
Patent Text Reader

Abstract

The invention relates to the field of shaft hole assembling, and discloses a shaft hole assembling method and device and computer equipment. The method comprises the following steps: acquiring time sequence contact force data between an aviation plug male head and an aviation plug female head; classifying the contact states based on the time sequence contact force data to obtain a contact category between the aviation plug male head and the aviation plug female head; wherein the contact category is used for describing a relative position relationship between the aviation plug male head and the aviation plug female head; according to the contact type and the Archimedes spiral, determining a hole searching position point in a target quadrant corresponding to the contact type; and shaft hole assembling is carried out based on the hole searching position points in the target quadrant. Therefore, the method for quickly determining the hole searching position point and completing the shaft hole assembling after the aviation plug male head and the aviation plug female head are close to each other and different target quadrants are divided based on contact categories under the condition that the pose of the aviation plug female head is unknown is realized, the hole searching position point is optimized, the blindness of random searching is reduced, and the assembling efficiency is improved. And the efficiency of the aviation plug assembling process can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of shaft hole assembly, and in particular to a shaft hole assembly method, device and computer equipment. Background Art

[0002] With the development of intelligent manufacturing technology, the assembly of aviation plugs has become increasingly critical, directly affecting the stability and reliability of electrical connections between various electronic systems and components within the equipment. In the process of aviation plug assembly, "precise positioning" is a key step to ensure connection reliability.

[0003] In the related art, the "precise positioning" process is usually achieved based on spiral hole search, random hole search or movement based on contact state recognition. However, there are some limitations in the above methods, and a new assembly method with improved efficiency needs to be proposed. Summary of the invention

[0004] The present application provides a shaft hole assembly method, device and computer equipment, which solves the technical problem of the related technology in the process of "precise positioning", that is, the contact state between the male and female aviation plugs is complicated and the time spent on hole searching is long, thereby achieving the technical effect of effectively improving the assembly efficiency.

[0005] In order to achieve the above objectives, the main technical solutions adopted in this application include:

[0006] In a first aspect, an embodiment of the present application provides a shaft hole assembly method, the method comprising:

[0007] The sequential contact force data between the male and female aviation plugs are obtained; the contact state is classified based on the sequential contact force data to obtain the contact category between the male and female aviation plugs; the contact category is used to describe the relative position relationship between the male and female aviation plugs; according to the contact category and the Archimedean spiral, the hole search position point is determined in the target quadrant corresponding to the contact category; and the shaft hole assembly is performed based on the hole search position point in the target quadrant.

[0008] In a second aspect, an embodiment of the present application provides a shaft hole assembly device, the device comprising:

[0009] Data acquisition module: used to obtain the time-series contact force data between the male and female aviation plugs; contact category determination module: used to classify the contact state based on the time-series contact force data to obtain the contact category between the male and female aviation plugs; wherein the contact category is used to describe the relative position relationship between the male and female aviation plugs; hole search position point determination module: used to determine the hole search position point in the target quadrant corresponding to the contact category according to the contact category and the Archimedean spiral; shaft hole assembly module: used to perform shaft hole assembly based on the hole search position point in the target quadrant.

[0010] In a third aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above methods when executing the computer program.

[0011] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer instructions are stored, and the computer instructions are used to enable a computer to execute the method described in any of the above embodiments.

[0012] In a fifth aspect, an embodiment of the present application provides a computer program product, including computer instructions, wherein the computer instructions are used to enable a computer to execute the method described in any of the above embodiments.

[0013] In the above embodiment, the contact state between the male and female aviation plugs is classified based on the acquired sequential contact force data, and the hole search position points falling into different target quadrants are further determined based on the Archimedean spiral according to the contact category, and finally the shaft hole assembly is performed according to the hole search position points generated in the target quadrant. At this point, a method is realized that can bring the male and female aviation plugs close to each other and divide different target quadrants based on the contact category when the position of the female aviation plug is unknown, and then quickly determine the hole search position points in the target quadrant and complete the shaft hole assembly, optimize the hole search position points, reduce the blindness of random search, and effectively improve the efficiency of the aviation plug assembly process. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0015] Figure 1a A schematic diagram of an aviation plug provided according to an embodiment of the present application;

[0016] Figure 1b A schematic diagram of a scene of a shaft-hole assembly process of an aviation plug provided according to an embodiment of the present application;

[0017] Figure 1c A schematic diagram of a platform for performing shaft-hole assembly of an aviation plug according to an embodiment of the present application;

[0018] Figure 1d A flowchart of a shaft hole assembly method provided according to an embodiment of the present application;

[0019] Figure 2aA schematic diagram of the relative position relationship between the male aviation plug and the female aviation plug provided according to an embodiment of the present application;

[0020] Figure 2b A schematic diagram of hole search position points within a target quadrant under a contact category provided according to an embodiment of the present application;

[0021] Figure 2c A schematic diagram of the relative position relationship between a male aviation plug and a female aviation plug provided according to another embodiment of the present application;

[0022] Figure 2d A schematic diagram of hole search position points within a target quadrant under a contact category provided according to another embodiment of the present application;

[0023] Figure 2e A schematic diagram of the relative position relationship between a male aviation plug and a female aviation plug provided according to another embodiment of the present application;

[0024] Figure 2f A schematic diagram of hole search position points within a target quadrant under a contact category provided according to another embodiment of the present application;

[0025] Figure 2g A schematic diagram of the relative position relationship between the male aviation plug and the female aviation plug provided according to another embodiment of the present application;

[0026] Figure 2h A schematic diagram of hole search position points within a target quadrant under a contact category provided according to another embodiment of the present application;

[0027] Figure 3 A flowchart of obtaining sequential contact force data according to an embodiment of the present application;

[0028] Figure 4 A flowchart of a shaft hole assembly method provided according to another embodiment of the present application;

[0029] Figure 5 It is a structural block diagram of a shaft hole assembly device provided according to one embodiment of the present application;

[0030] Figure 6 The figure is a diagram of the internal structure of a computer device according to one embodiment of the present application. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0032] like Figure 1a The aviation plug shown includes an aviation plug 102 (i.e., a male aviation plug), an aviation socket 104 (i.e., a female aviation plug), and a contact surface 105. With the development of intelligent manufacturing technology, the assembly of aviation plugs has become increasingly critical, directly affecting the stability and reliability of electrical connections between various electronic systems and components within the device. The assembly of such aviation plugs can be automated by controlling a robotic arm to clamp the male aviation plug close to the female aviation plug, such as Figure 1b The assembly problem of the aviation plug shown in the figure above can be simplified to the shaft hole assembly problem. The assembly platform diagram of the aviation plug is as follows: Figure 1c As shown, a robotic arm 106 and a female aviation plug 108 are fixed on the assembly platform, the position of the female aviation plug is unknown, a visual sensor 110 and a six-dimensional force sensor 112 are installed at the end of the robotic arm, and the end effector 114 of the robotic arm clamps the male aviation plug 116. Further, under this assembly platform, this type of shaft hole assembly process can be divided into the following three steps:

[0033] 1. Preliminary positioning: This part is generally the position of the hole recognized by the visual sensor, and the robot arm gripping axis moves above the position;

[0034] 2. Precise positioning: This part is generally based on force / position hybrid control and spiral hole search or random hole search, or "environmental attraction domain" potential field model, or movement based on contact state recognition to reduce the position error between the shaft and the hole until the position error between the two is less than the size gap between the two;

[0035] 3. Insertion: In this step, the posture error between the shaft and the hole is generally adjusted in real time based on compliant control, and the insertion movement is completed downward at the same time until the assembly is completed.

[0036] However, for the assembly of aviation plugs, the problems of several methods in the second step of "precise positioning" in related technologies are as follows:

[0037] 1. The upper surface area of ​​the female aviation plug is small. When the spiral hole search or random hole search strategy is adopted, if the error between the shaft hole is large, it is easy for the upper surface of the male and female aviation plugs to be out of contact. In addition, the traversal search method takes a long time and the assembly efficiency is low.

[0038] 2. For the "environmental attraction domain" method, a potential field of force needs to be formed on the surface of the female connector of the aviation plug, that is, the center of the female connector of the aviation plug is the lowest point of the potential field, and the female connector of the aviation plug is a thin-walled hole. Therefore, for the male connector, the outer side of the female connector is also the low point of the potential field of force, which will directly lead to the failure of assembly.

[0039] 3. For the movement based on contact state recognition, the next movement output is generally determined in real time based on the current contact force and learning model until the shaft and hole are aligned. Compared with general shaft and hole parts, the contact state between the male and female connectors is complex, and the accuracy of judging the current position error based on the force at a single moment is low, which further leads to a low success rate of assembly.

[0040] In addition, it should be noted that compared with ordinary axial holes, the holes of aviation plugs are thin-walled holes, and there are precision component pins in the aviation plugs. Therefore, it is necessary to ensure that the components are not damaged during the assembly process of the aviation plugs.

[0041] Based on this, according to an embodiment of the present application, a shaft hole assembly method, device and computer equipment embodiment are provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0042] Figure 1d is a flow chart of a shaft hole assembly method according to an embodiment of the present application, such as Figure 1d As shown, the method includes:

[0043] S110, obtaining sequential contact force data between the male aviation plug and the female aviation plug.

[0044] Among them, the time-series contact force data may refer to the data of the force generated by the contact between the male and female aviation plugs and the force changes as time goes by during the shaft-hole assembly process. Specifically, the time-series contact force data between the male and female aviation plugs can be obtained by measuring the contact force between the male and female aviation plugs during the assembly process through a force sensor mounted at the end of the robotic arm, capturing the size and direction of the contact force in real time through the force sensor, and recording the change of the contact force over time during the measurement process, i.e., as the time-series contact force data between the male and female aviation plugs.

[0045] S120 , classifying the contact state based on the time-series contact force data to obtain a contact category between the aviation plug male head and the aviation plug female head.

[0046] The contact state may be a physical state when the male aviation plug contacts the female aviation plug during the shaft-hole assembly process. For example, the contact state may include the magnitude, direction, change trend, and contact stability of the contact force.

[0047] The contact category is used to describe the relative position relationship between the male and female aviation plugs. For example, a coordinate system is established with the center of the upper surface of the female aviation plug as the origin. In this coordinate system, within the error range, the contact category between the male and female aviation plugs can be divided according to the different quadrants in the coordinate system where the starting position of the male aviation plug falls. The error range can be determined by the accuracy of the visual sensor mounted at the end of the robotic arm.

[0048] Specifically, the contact category between the male and female aviation plugs can be determined by a contact state recognition model. It can be understood that the contact state recognition model classifies the contact state based on the time-series contact force data using a machine learning algorithm and a classification algorithm or a pattern recognition algorithm, and finally obtains the contact category between the male and female aviation plugs.

[0049] For example, a long short-term memory neural network (LSTM) can be used to construct a contact state recognition model, and the contact state can be classified according to this model to obtain the contact category between the male and female aviation plugs. Specifically, the time series contact force data is filtered and normalized before being input into a pre-trained contact state recognition model, and the probability distribution of the contact state corresponding to the time series contact force data is output. The corresponding contact category probability value is converted through the node output corresponding to the fully connected layer, and the contact category with the highest probability is finally output by comparing the size of each contact category probability value and used as the current contact category.

[0050] S130, according to the contact category and the Archimedean spiral, determining a hole search location point in a target quadrant corresponding to the contact category.

[0051] Among them, the Archimedean spiral is a logarithmic spiral curve defined by a specific equation in a polar coordinate system. It expands outward at equal distances in each rotation cycle, so it is also called an equidistant spiral curve. It expands outward at a fixed angular velocity and grows outward at a constant linear speed, gradually covering the entire coordinate system. Therefore, the Archimedean spiral can be used to guide the hole search process, that is, to find the position where the male and female aviation plugs can be correctly matched, that is, the hole search position point.

[0052] Exemplarily, a coordinate system is established with the center of the upper surface of the male aviation plug as the origin, and the Archimedean spiral is used as the search path. The spiral starts from the origin of the coordinate system and expands outward. Based on the contact category, this surface space is divided into four quadrants, and each quadrant corresponds to a contact category. In the determined target quadrant, the search path formed by the Archimedean spiral is also divided into four parts. Furthermore, a series of hole search position points are determined along the search path of the Archimedean spiral. These points can be used as hole search position points during the shaft hole assembly process of the male aviation plug and the female aviation plug.

[0053] S140, performing shaft-hole assembly based on the hole search position points in the target quadrant.

[0054] Among them, shaft-hole assembly refers to the process of inserting the shaft (male contact) into the hole (female contact) in electrical mechanical engineering. For example, please continue to refer to Figure 1c In the assembly problem of aviation plugs, a robotic arm and a female aviation plug are fixed on the assembly platform. The position of the female aviation plug is unknown. A visual sensor and a six-dimensional force sensor are installed at the end of the robotic arm, and the end effector of the robotic arm clamps the male aviation plug. At this time, the shaft-hole assembly can refer to the process of inserting the shaft (male aviation plug) into the hole (female aviation plug).

[0055] Specifically, the shaft hole assembly based on the hole search position point in the target quadrant can be completed by the end effector of the robot arm clamping the male aviation plug close to the female aviation plug. Furthermore, the end effector of the robot arm clamps the male aviation plug to search for holes and try to plug holes based on the hole search position point in the target quadrant, and this process can be achieved through compliant control. Exemplarily, after the hole search position point in the target quadrant is generated, the robot arm will have a slightly raised movement, and then the end effector of the robot arm clamps the male aviation plug to make it move along the hole search position point in the target quadrant, and assemble the shaft hole based on the force / position hybrid control mode and the admittance control method. Specifically, the end effector of the robot arm will make a short pause at each hole search position point in the target quadrant based on the force / position hybrid control mode and determine whether the hole search is successful. If the judgment result is that the hole search is unsuccessful, the end effector of the robot arm will clamp the male aviation plug and continue to move to the next hole search position point to perform the hole search judgment again. If the result of the hole search is successful, the end effector of the robot arm will clamp the male aviation plug and further try to insert the hole, and then determine whether the insertion is successful by judging the insertion depth. Similarly, if the insertion is unsuccessful, the end effector of the robot arm will clamp the male aviation plug and continue to move to the next hole search position to search for the hole again. If the insertion is successful, the shaft hole assembly process of the male aviation plug and the female aviation plug is completed.

[0056] In the above implementation, the contact state between the male and female aviation plugs is classified based on the acquired sequential contact force data, and the hole search position points falling into different target quadrants are further determined based on the Archimedean spiral according to the contact category, and finally the shaft-hole assembly is performed according to the hole search position points generated in the target quadrant. Thus, a method is realized that can bring the male and female aviation plugs close to each other and divide different target quadrants based on the contact category when the position of the female aviation plug is unknown, and then quickly determine the hole search position points in the target quadrant and complete the shaft-hole assembly, optimize the hole search position points, reduce the blindness of random search, and effectively improve the efficiency of the aviation plug assembly process.

[0057] In some implementations, according to the contact category and the Archimedean spiral, determining the hole search position point in the target quadrant corresponding to the contact category includes:

[0058] For the nth circle of the Archimedean spiral, the starting angle of the Archimedean spiral is determined according to the contact type and the value of n. The hole search position point in the target quadrant is determined according to the initial angle and the Archimedean spiral.

[0059] The starting angle may refer to the angle measured from the fixed reference point at the center of the spiral. The radius of the spiral increases at a certain ratio with each additional turn of the Archimedean spiral. Specifically, the center of the upper surface of the female aviation plug is used as the fixed reference point at the center of the spiral. The starting angle can be determined based on the contact type and the value of n. The determination method is shown in the following formula:

[0060]

[0061] Among them, θ0 is the starting angle of the Archimedean spiral at the nth turn, CS represents the contact category, and n is the current number of turns on the Archimedean spiral.

[0062] Specifically, the hole search position point in the target quadrant is determined according to the initial angle and the Archimedean spiral. Based on the starting angle and the Archimedean spiral equation calculated by the above formula, a series of hole search position points for hole search in the target quadrant can be further calculated.

[0063] In the above implementation, based on the formula of the Archimedean spiral, the starting angle θ0 of the Archimedean spiral is first determined according to the contact type and the number of turns of the Archimedean spiral n. Further, the hole search position point in the target quadrant is determined according to the initial angle and the Archimedean spiral. The hole search position points in the target quadrant are planned by using the characteristics of the Archimedean spiral, and the target quadrant where the hole search position points are distributed is determined by identifying the contact state, so as to further optimize the hole search position points and improve the efficiency of the aviation plug assembly process.

[0064] In some embodiments, determining a hole search position point in a target quadrant according to an initial angle and an Archimedean spiral includes:

[0065] For the ith position point of the nth circle, the rotation angle of the Archimedean spiral at the ith position point of the nth circle is determined according to the starting angle, the value of n and the value of i. The hole search position point in the target quadrant is determined according to the rotation angle and the Archimedean spiral.

[0066] The i-th position point of the n-th circle can be used to represent a specific hole search position point on different circles, and each hole search position point corresponds to a specific rotation angle. The rotation angle can refer to the additional angle from the starting angle to a specific hole search position point on different circles, and this angle determines the specific position of the hole search position point on the Archimedean spiral.

[0067] Specifically, according to the i-th position point of the n-th circle, the rotation angle of the Archimedean spiral at the i-th position point of the n-th circle can be determined by the method shown in the following formula according to the starting angle, the value of n and the value of i:

[0068]

[0069] Among them, θ0 is the starting angle of the Archimedean spiral in the nth circle, n is the current number of circles on the Archimedean spiral, m is the number of points at the first circle of the Archimedean spiral, and θ i is the rotation angle of the Archimedean spiral at the ith position of the nth turn.

[0070] Specifically, the hole search position points in the target quadrant are determined according to the rotation angle and the Archimedean spiral. Based on the rotation angle and the Archimedean spiral equation calculated by the above formula, a series of hole search position points for hole search in the target quadrant can be calculated.

[0071] In the above implementation, based on the formula of the Archimedean spiral, for the ith position point of the nth circle, the rotation angle of the Archimedean spiral at the ith position point of the nth circle is determined according to the starting angle, the value of n and the value of i, and then further, the hole search position point in the target quadrant is determined according to the rotation angle and the Archimedean spiral. It can be understood that through the above implementation, the hole search position point in the target quadrant is planned by utilizing the characteristics of the Archimedean spiral, and the target quadrant where the hole search position point is distributed is determined by identifying the contact state, so as to further optimize the hole search position point and improve the efficiency of the aviation plug assembly process.

[0072] In some embodiments, the contact category is recorded as CS, and the value of CS is any one of D+1, D+2, D+3, and D+4. When the CS value is D+1, the target quadrant is the third quadrant, when the CS value is D+2, the target quadrant is the fourth quadrant, when the CS value is D+3, the target quadrant is the first quadrant, and when the CS value is D+4, the target quadrant is the second quadrant; D is a natural number.

[0073] Among them, the contact category can be data used to describe the relative position relationship between the male and female aviation plugs. Specifically, the classification criteria for the contact category classification can be divided according to the different quadrants in the coordinate system established with the center of the upper surface of the female aviation plug as the origin according to the starting position of the male aviation plug. The value of CS can be any one of D+1, D+2, D+3, and D+4. Exemplarily, when the initial position coordinates of the male aviation plug are in the first quadrant (x>0, y>0), the CS value is D+1; when the initial position coordinates of the male aviation plug are in the second quadrant (x<0, y>0), the CS value is D+2; when the initial position coordinates of the male aviation plug are in the third quadrant (x<0, y<0), the CS value is D+3; when the initial position coordinates of the male aviation plug are in the fourth quadrant (x>0, y<0), the CS value is D+4, and D is a natural number (i.e., D≥0). Furthermore, when the CS value is D+1, the target quadrant is the third quadrant; when the CS value is D+2, the target quadrant is the fourth quadrant; when the CS value is D+3, the target quadrant is the first quadrant; when the CS value is D+4, the target quadrant is the second quadrant, and D is a natural number (i.e., D≥0). It should be noted that in the contact state classification, the coordinate system is established with the female head of the aviation plug as the center; and in the process of determining the search hole position point, the coordinate system is based on the center of the male head of the aviation plug as the coordinate origin for search path planning.

[0074] It is also understandable that, further, according to the contact category and the Archimedean spiral, a method for determining the hole search position point in the target quadrant corresponding to the contact category can be shown as follows:

[0075]

[0076]

[0077] x i = b·θ i ·cosθ i ,y i =b·θ i sinθ i

[0078] Where θ0 is the starting angle of the Archimedean spiral at the nth turn, CS represents the contact category, D is a natural number, n is the current number of turns on the Archimedean spiral, m is the number of points on the first turn of the Archimedean spiral, and θi is the rotation angle of the Archimedean spiral at the ith position of the nth circle, b is the pitch of the Archimedean spiral, (x i ,y i ) are the Cartesian coordinates of the ith position point.

[0079] In the above embodiment, the quadrant position of the initial position of the male aviation plug is characterized by taking different values ​​for the contact category CS, and then based on the characteristics of the Archimedean spiral, the target quadrant where the hole search position points are distributed is determined by identifying the contact state, and further, the quadrant position of the initial position of the male aviation plug is matched with the target quadrant where the hole search position points are distributed. This conversion of the coordinate system helps to plan and execute the hole search operation more accurately.

[0080] In some embodiments, the hole search position point is determined by the following formula:

[0081]

[0082] Where θ0 is the starting angle of the Archimedean spiral in the nth circle, CS can be any of 1, 2, 3, and 4, m is the number of points in the first circle of the Archimedean spiral, and θ i is the rotation angle of the Archimedean spiral at the ith position of the nth circle, b is the pitch of the Archimedean spiral, (x i ,y i ) are the Cartesian coordinates of the ith position point.

[0083] Among them, the value of CS is any one of 1, 2, 3, and 4. Specifically, when the initial position coordinates of the male aviation plug are in the first quadrant (x>0, y>0), the value of CS is 1; when the initial position coordinates of the male aviation plug are in the second quadrant (x<0, y>0), the value of CS is 2; when the initial position coordinates of the male aviation plug are in the third quadrant (x<0, y<0), the value of CS is 3; when the initial position coordinates of the male aviation plug are in the fourth quadrant (x>0, y<0), the value of CS is 4.

[0084] For example, please refer to Figure 2a and Figure 2b When CS is 1, the initial position coordinates of the male aviation plug 202 are located in the first quadrant (x>0, y>0). At this time, the relative position relationship between the male aviation plug 202 and the female aviation plug 204 is as follows: Figure 2a As shown, in this case, Figure 2b The target quadrant where the hole search position point determined based on the contact category is located is the third quadrant;

[0085] For example, please refer to Figure 2c and Figure 2dWhen CS is 2, the initial position coordinates of the male aviation plug 202 are located in the second quadrant (x<0, y>0). At this time, the relative position relationship between the male aviation plug 202 and the female aviation plug 204 is as follows: Figure 2c As shown, in this case, Figure 2d The target quadrant where the hole search position point determined based on the contact category is located is the fourth quadrant;

[0086] For example, please refer to Figure 2e and Figure 2f When CS is 3, the initial position coordinates of the male aviation plug 202 are located in the third quadrant (x<0, y<0). At this time, the relative position relationship between the male aviation plug 202 and the female aviation plug 204 is as follows: Figure 2e As shown, in this case, Figure 2f The target quadrant where the hole search position point determined based on the contact category is located is the first quadrant;

[0087] For example, please refer to Figure 2g and Figure 2h When CS is 4, the initial position coordinates of the male aviation plug 202 are located in the fourth quadrant (x>0, y<0). At this time, the relative position relationship between the male aviation plug 202 and the female aviation plug 204 is as follows: Figure 2g As shown, in this case, Figure 2h The target quadrant where the hole search position point determined based on the contact category is located is the second quadrant.

[0088] Among them, the coordinate system is a search path planned with the center of the male aviation plug as the coordinate origin, and each search hole position point in the figure is used to represent the position of the center point of the male aviation plug in the coordinate system.

[0089] In the above implementation, the characteristics of the Archimedean spiral are used to plan the hole search position points within the target quadrant, and the target quadrant in which the hole search position points are distributed is determined by identifying the contact state, thereby further optimizing the hole search position points, reducing the blindness of random search, and improving the efficiency of the aviation plug assembly process.

[0090] In some embodiments, the contact surface of the female aviation plug and the male aviation plug has a vertical direction; the shaft hole assembly is performed based on the hole search position point in the target quadrant, including:

[0091] At the hole search position point, determine the vertical position data of the aviation plug male head. If it is determined according to the position data that the aviation plug female head and the aviation plug male head are aligned at the hole search position point, then perform the shaft hole assembly.

[0092] Specifically, the position data may be the distance data between the male and female aviation plugs measured in the vertical direction to describe the contact surface between the female and male aviation plugs. Exemplarily, the contact surface between the female and male aviation plugs may be defined as the XY plane of the coordinate system, and the Z-axis direction of the coordinate system established with this XY plane may be defined as the vertical direction. Further, the position data may be represented by a coordinate position along a direction perpendicular to the contact plane, that is, by a coordinate on the Z-axis, which reflects whether the male aviation plug is in contact with the contact surface.

[0093] Furthermore, whether the female aviation plug and the male aviation plug are aligned at the hole search position point can be determined by position data. Specifically, a first threshold position data is pre-set, which is also data reflecting whether the male aviation plug is in contact with the contact surface. However, the difference between the first threshold position data and the position data is that the position data is dynamically collected by the sensor carried by the end of the mechanical arm, reflecting the real-time position of the male aviation plug in the vertical direction; while the first threshold position data is a pre-set position data (considering that the aviation plug is a thin-walled hole compared to the ordinary shaft hole, and there are precision component pins in the aviation plug, so the value of the first threshold position data is based on the principle of not damaging the aviation plug), which is used to measure the relative distance between the male aviation plug and the female aviation plug. Exemplarily, by comparing the value of the position data with the value of the first threshold position data, it can be further determined whether the male aviation plug and the female aviation plug are aligned, and the next step of shaft hole assembly is performed based on the alignment result. That is, Pz can be used to represent the position data, and P1 can be used to represent the first threshold position data. If |Pz|>P1 is satisfied, it is determined that the male aviation plug and the female aviation plug are aligned, and the shaft-hole assembly can be further performed.

[0094] Optionally, the process of assembling the shaft hole based on the position data can be based on the admittance control mode, and the end effector of the manipulator clamps the male aviation plug and makes it move downward in the vertical direction, so as to complete the shaft hole assembly. Among them, the admittance control mode is a control strategy based on force feedback. In this mode, the movement of the manipulator is not pre-set, but dynamically adjusted according to the interactive feedback with the environment or object. Specifically, a second threshold position data is pre-set, which is also the data reflecting whether the male aviation plug is in contact with the contact surface. Although the second threshold position data and the first threshold position data are both pre-set position data for measuring the relative distance between the male aviation plug and the female aviation plug, their values ​​are different: by comparing the size of the position data and the value of the first threshold position data, it can be further determined whether the male aviation plug and the female aviation plug are aligned; and by comparing the size of the position data and the value of the second threshold position data, it can be further determined whether the male aviation plug and the female aviation plug have completed the shaft hole assembly. That is, Pz can be used to represent the position data, and P2 can be used to represent the second threshold position data. If |Pz|>P2, that is, a certain insertion depth is met, it means that the shaft hole assembly is completed.

[0095] In the above implementation, the position data of the male aviation plug in the vertical direction is determined at the hole search position point. If it is determined according to the position data that the female aviation plug is aligned with the male aviation plug at the hole search position point, the shaft hole assembly is performed and the comparison with the first threshold position data is made to ensure that the aviation plug will not be damaged during the shaft hole assembly process. Furthermore, the shaft hole assembly is performed using the admittance control mode, and the force generated when contacting with external objects is detected in real time and feedback information is generated to adjust the movement of the robot arm to achieve a softer and more precise aviation plug assembly operation.

[0096] In some embodiments, if it is determined based on the position data that the female and male aviation plugs are not aligned at the hole search position, a new hole search position is determined in the target quadrant corresponding to the contact category based on the contact category and the Archimedean spiral, and the shaft-hole assembly is performed based on the new hole search position.

[0097] Similarly, it can be understood that a first threshold position data can be preset to reflect whether the male connector of the aviation plug makes contact with the contact surface. By comparing the values of the position data and the first threshold position data, it can be further determined whether the male connector of the aviation plug and the female connector of the aviation plug are aligned, and the next shaft-hole assembly can be carried out based on the alignment result. Exemplarily, Pz can be used to represent the position data, and P1 can be used to represent the first threshold position data (it should be noted that compared with ordinary shaft-holes, for the aviation plug, its hole is a thin-walled hole, and there are precision component pins inside the aviation plug. Therefore, the principle for the value of the first threshold position data is to ensure that the aviation plug is not damaged). If it is judged that |Pz| ≤ P1, that is, the male connector of the aviation plug and the female connector of the aviation plug are not aligned, then according to the contact category and the Archimedes spiral, a new hole-searching position point is determined within the target quadrant corresponding to the contact category, and a force / position hybrid control mode is adopted to control the end effector of the robotic arm to clamp the male connector of the aviation plug and move it to the new hole-searching position point, and the shaft-hole assembly is carried out again based on the new hole-searching position point within the target quadrant.

[0098] In the above embodiment, if it is determined according to the position data that the female connector of the aviation plug and the male connector of the aviation plug are not aligned at the hole-searching position point, the end effector of the robotic arm can be controlled to clamp the male connector of the aviation plug and move it to the new hole-searching position point to carry out the shaft-hole assembly again. Through the precise comparison of the position data, not only the assembly accuracy and success rate are improved, but also the safety and integrity of the components are ensured, and at the same time, the efficiency and reliability of the aviation plug assembly process are achieved.

[0099] In some embodiments, please refer to Figure 3 , and obtain the timing contact force data between the male connector of the aviation plug and the female connector of the aviation plug, including:

[0100] S310. Obtain the initial position of the male connector of the aviation plug.

[0101] Among them, the initial position is used to describe the position of the male connector of the aviation plug in the coordinate system established with the center point of the upper surface of the female connector of the aviation plug as the origin. Optionally, within this coordinate system, the position of the male connector of the aviation plug is allowed to have a certain error range, and the error range can be determined according to the accuracy of the vision sensor carried by the end of the robotic arm. Exemplarily, the error range can be |x| < a, |y| < b, |rx| < ra, |ry| < rb, where a, b, ra, and rb are determined according to the accuracy of the vision sensor. Among them, rx and ry refer to the attitude angles around the x and y directions. rx represents the rotation angle around the x-axis, that is, the angle by which the male connector of the aviation plug rotates around its own x-axis; ry represents the rotation angle around the y-axis, that is, the angle by which the male connector of the aviation plug rotates around its own y-axis.

[0102] S320. Control the male connector of the aviation plug to move from the initial position towards the female connector of the aviation plug until the male connector of the aviation plug contacts the female connector of the aviation plug, and the current contact force between the male connector of the aviation plug and the female connector of the aviation plug is stabilized at the preset contact force.

[0103] Among them, the contact force can be used to characterize the force generated when the male aviation plug contacts the female aviation plug during the process of shaft hole assembly, which is the force actually acting on the contact point between the two. The preset contact force can be used to characterize an ideal contact force value pre-set according to the assembly requirements and component characteristics before the process of shaft hole assembly. The value selection principle is to ensure that the aviation plug is not damaged. Specifically, the end effector of the robotic arm clamps the male aviation plug and gradually approaches the female aviation plug from the initial position until the two have begun to contact and generate contact force. Then constant force control is adopted to stabilize the contact force between the male aviation plug and the female aviation plug at the preset contact force. Exemplarily, a coordinate system is established with the center of the upper surface of the female aviation plug as the origin, and the contact surface between the female aviation plug and the male aviation plug is defined as the XY plane of the coordinate system, and the Z-axis direction of the coordinate system established by this XY plane is defined as the vertical direction. FZ can be used to represent the contact force between the male aviation plug and the female aviation plug, and F1 can be used to represent the preset contact force. The end effector of the robot arm then clamps the male aviation plug and gradually approaches the female aviation plug from the initial position along the z direction until the contact force Fz between the two is greater than 0. Then, constant force control is used to stabilize the contact force between the male aviation plug and the female aviation plug in the z direction at the preset contact force F1.

[0104] S330, controlling the male aviation plug to move relative to the female aviation plug according to a preset movement sequence, and collecting six-dimensional force data between the male aviation plug and the female aviation plug under a preset contact force during the movement.

[0105] Among them, the six-dimensional force data is the data information measuring the three-dimensional force (force along the x, y, and z axes) and the three-dimensional torque (torque around the x, y, and z axes) acting on the tool or object. The preset motion sequence can refer to the motion sequence of the spatial direction and position of the male aviation plug relative to the female aviation plug, which is set in advance in order to collect the six-dimensional force data between the male aviation plug and the female aviation plug during the shaft hole assembly process. Exemplarily, a coordinate system is established with the center of the upper surface of the female aviation plug as the origin, the contact surface between the female aviation plug and the male aviation plug is defined as the XY plane of the coordinate system, and the Z-axis direction of the coordinate system established by this XY plane is defined as the vertical direction. The preset motion sequence can be rx=+θ, rx=0, rx=-θ, rx=0, ry=+θ, ry=0, ry=-θ, ry=0. Among them, rx represents the rotation angle around the x-axis, that is, the angle at which the male aviation plug rotates around its own x-axis. ry represents the rotation angle around the y-axis, that is, the angle of rotation of the male aviation plug around its own y-axis, and θ is a constant angle value set in advance, and the value is selected in principle to ensure that the aviation plug is not damaged. Specifically, the end effector of the robot arm clamps the male aviation plug using constant force control in the z direction and position control in the x and y directions. Through the preset motion sequence set in advance, the relative position of the male aviation plug relative to the female aviation plug is changed, and the six-dimensional force data between the male aviation plug and the female aviation plug during the movement is collected.

[0106] S340, encoding is performed based on the six-dimensional force data to obtain time-series contact force data.

[0107] Among them, the time-series contact force data may refer to the data on the force generated by the end effector of the robot arm during the contact between the male and female aviation plugs and the force changes as time goes by during the shaft-hole assembly process. Specifically, the force sensor carried at the end of the robot arm reads the six-dimensional force information during the above contact process in real time, and encodes it into time-series contact force data containing time information as time goes by. Exemplarily, the force sensor carried at the end of the robot arm reads the six-dimensional force information during the above contact process in real time, and encodes it into 6×t data as time goes by. Among them, t refers to the time information.

[0108] In the above implementation, the key link to ensure assembly accuracy and collect high-quality data is to control the male aviation plug to be in a preset motion sequence, collect the six-dimensional force data between the male aviation plug and the female aviation plug during the motion process under the preset motion sequence and preset contact force, and further obtain the time-series contact force data. It involves precise attitude control and force control, as well as real-time monitoring and recording of these parameters. And the original six-dimensional force data is converted into time-series contact force data that can be used for real-time monitoring, analysis and control, thereby further improving the efficiency of the aviation plug assembly process.

[0109] This specification also provides a shaft hole assembly method, please refer to the attached Figure 4 , the method comprises the following steps:

[0110] S402, obtaining the initial position of the male aviation plug.

[0111] S404, controlling the male aviation plug to move from the initial position toward the female aviation plug until the male aviation plug contacts the female aviation plug, and the current contact force between the male aviation plug and the female aviation plug is stabilized at a preset contact force.

[0112] Specifically, the end effector of the robot arm clamps the male aviation plug and gradually approaches the female aviation plug from the initial position until the two begin to contact and generate contact force. Then, constant force control is used to stabilize the contact force between the male aviation plug and the female aviation plug at a preset contact force.

[0113] S406, controlling the male aviation plug to move relative to the female aviation plug according to a preset movement sequence, and collecting six-dimensional force data between the male aviation plug and the female aviation plug under a preset contact force during the movement.

[0114] Specifically, the end effector of the robotic arm clamps the male aviation plug using constant force control in the z direction and position control in the x and y directions. Through a preset motion sequence set in advance, the relative position of the male aviation plug with respect to the female aviation plug is changed, and the six-dimensional force data between the male aviation plug and the female aviation plug during the movement is collected.

[0115] S408. Encode based on the six-dimensional force data to obtain time-series contact force data.

[0116] S410, classifying the contact state based on the time-series contact force data to obtain the contact category between the aviation plug male head and the aviation plug female head.

[0117] Among them, the contact category is used to describe the relative position relationship between the male and female aviation plugs. Specifically, the contact category between the male and female aviation plugs can be determined through a contact state recognition model. Exemplarily, an LSTM can be used to construct a contact state recognition model, and the contact state is classified according to this model to obtain the contact category between the male and female aviation plugs. Specifically, the time series contact force data is filtered and normalized and then input into a pre-trained contact state recognition model, and the probability distribution of the contact state corresponding to the time series contact force data is output. The corresponding contact category probability value is converted through the node output corresponding to the fully connected layer, and the contact category with the highest probability is finally output by comparing the size of each contact category probability value and used as the current contact category.

[0118] Optionally, the contact category is recorded as CS, and the value of CS is any one of D+1, D+2, D+3, and D+4. When the CS value is D+1, the target quadrant is the third quadrant, when the CS value is D+2, the target quadrant is the fourth quadrant, when the CS value is D+3, the target quadrant is the first quadrant, and when the CS value is D+4, the target quadrant is the second quadrant; D is a natural number.

[0119] S412. For the nth turn of the Archimedean spiral, determine the starting angle of the Archimedean spiral according to the contact type and the value of n.

[0120] Specifically, the determination method is shown as follows:

[0121]

[0122] Among them, θ0 is the starting angle of the Archimedean spiral at the nth turn, CS represents the contact category, and n is the current number of turns on the Archimedean spiral.

[0123] S414. For the i-th position point of the n-th circle, determine the rotation angle of the Archimedean spiral at the i-th position point of the n-th circle according to the starting angle, the value of n and the value of i.

[0124] Specifically, it can be determined by the method shown in the following formula:

[0125]

[0126] Among them, θ0 is the starting angle of the Archimedean spiral in the nth circle, n is the current number of circles on the Archimedean spiral, m is the number of points at the first circle of the Archimedean spiral, and θ i is the rotation angle of the Archimedean spiral at the ith position of the nth turn.

[0127] S416, determining the hole search position point in the target quadrant according to the rotation angle and the Archimedean spiral.

[0128] Specifically, the hole search position point is determined by the following formula:

[0129]

[0130]

[0131] Where θ0 is the starting angle of the Archimedean spiral in the nth circle, CS can be any of 1, 2, 3, and 4, m is the number of points in the first circle of the Archimedean spiral, and θ i is the rotation angle of the Archimedean spiral at the ith position of the nth circle, b is the pitch of the Archimedean spiral, (x i ,y i ) are the Cartesian coordinates of the ith position point.

[0132] S418, determining the vertical position data of the male aviation plug at the hole search position point in the target quadrant.

[0133] Among them, the contact surface between the female aviation plug and the male aviation plug has a vertical direction. Exemplarily, the contact surface between the female aviation plug and the male aviation plug can be defined as the XY plane of the coordinate system, and the Z-axis direction of the coordinate system established by the XY plane is defined as the vertical direction. Further, the position data can be represented by a coordinate position along a direction perpendicular to the contact plane, that is, represented by a coordinate on the Z axis, which reflects whether the male aviation plug is in contact with the contact surface.

[0134] S420: If it is determined according to the position data that the female aviation plug is aligned with the male aviation plug at the hole search position point, shaft-hole assembly is performed.

[0135] Among them, whether the female aviation plug and the male aviation plug are aligned at the hole search position point can be determined by position data. Specifically, a first threshold position data is pre-set, which is also data reflecting whether the male aviation plug is in contact with the contact surface. However, the difference between the first threshold position data and the position data is that the position data is dynamically collected by the sensor carried by the end of the robotic arm, reflecting the real-time position of the male aviation plug in the vertical direction; while the first threshold position data is a pre-set position data (considering that the aviation plug is thin-walled compared to the ordinary shaft hole, and there are precision component pins in the aviation plug, so the value of the first threshold position data is based on the principle of not damaging the aviation plug), which is used to measure the relative distance between the male aviation plug and the female aviation plug. Exemplarily, by comparing the value of the position data with the value of the first threshold position data, it can be further determined whether the male aviation plug and the female aviation plug are aligned, and the next step of shaft hole assembly is performed based on the alignment result. That is, Pz can be used to represent the position data, and P1 can be used to represent the first threshold position data. If |Pz|>P1 is satisfied, it is determined that the male aviation plug and the female aviation plug are aligned, and the shaft-hole assembly can be further performed.

[0136] Furthermore, the process of performing shaft-hole assembly based on position data can be based on the admittance control mode, and the end effector of the manipulator clamps the male aviation plug and moves it downward in the vertical direction to perform the shaft-hole assembly operation. Specifically, a second threshold position data is pre-set, which is also data reflecting whether the male aviation plug is in contact with the contact surface. Although the second threshold position data and the first threshold position data are both pre-set position data for measuring the relative distance between the male aviation plug and the female aviation plug, their values ​​are different: by comparing the position data with the value of the first threshold position data, it can be further determined whether the male aviation plug and the female aviation plug are aligned; and by comparing the position data with the value of the second threshold position data, it can be further determined whether the male aviation plug and the female aviation plug have completed the shaft-hole assembly. That is, Pz can be used to represent the position data, and P2 can be used to represent the second threshold position data. If |Pz|>P2 is satisfied, that is, a certain socket depth is satisfied, it means that the shaft-hole assembly is completed.

[0137] S422. If it is determined according to the position data that the female and male aviation plugs are not aligned at the hole search position point, a new hole search position point is determined in a target quadrant corresponding to the contact type according to the contact type and the Archimedean spiral.

[0138] Specifically, it is also understandable that a first threshold position data can be pre-set to reflect whether the male head of the aviation plug is in contact with the contact surface. By comparing the value of the position data with the value of the first threshold position data, it can be further determined whether the male head of the aviation plug and the female head of the aviation plug are aligned, and the next step of shaft hole assembly is performed based on the alignment result. Exemplarily, Pz can be used to represent the position data, and P1 can be used to represent the first threshold position data (considering that the aviation plug is thin-walled compared to the ordinary shaft hole, and there are precision component pins in the aviation plug, so the value of the first threshold position data is based on the principle of ensuring that the aviation plug is not damaged). If it is judged that |Pz|≤P1, that is, the male head of the aviation plug is not aligned with the female head of the aviation plug, then according to the contact category and the Archimedean spiral, a new hole search position point is determined in the target quadrant corresponding to the contact category.

[0139] S424, performing shaft hole assembly based on the new hole search position point.

[0140] Specifically, a force / position hybrid control mode is adopted, and based on the new hole search position point, the end effector of the robot arm is controlled to clamp the male connector of the aviation plug and move it to the new hole search position point, and the shaft hole is assembled again based on the new hole search position point in the target quadrant.

[0141] It should be understood that, although the various steps in the above flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear description in this article, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above flowchart may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0142] The embodiment of the present specification also provides a shaft hole assembly device 500 , which includes a data acquisition module 510 , a contact category determination module 520 , a hole search position point determination module 530 and a shaft hole assembly module 540 .

[0143] The data acquisition module 510 is used to acquire the time-series contact force data between the male aviation plug and the female aviation plug;

[0144] The contact category determination module 520 is used to classify the contact state based on the time-series contact force data to obtain the contact category between the male aviation plug and the female aviation plug; wherein the contact category is used to describe the relative position relationship between the male aviation plug and the female aviation plug;

[0145] The hole search position point determination module 530 is used to determine the hole search position point in the target quadrant corresponding to the contact category according to the contact category and the Archimedean spiral;

[0146] The shaft-hole assembly module 540 is used to perform shaft-hole assembly based on the hole search position points in the target quadrant.

[0147] In some embodiments, the data acquisition module 510 is also used to obtain the initial position of the male aviation plug; control the male aviation plug to move from the initial position to the female aviation plug until the male aviation plug contacts the female aviation plug, and the current contact force between the male aviation plug and the female aviation plug is stabilized at a preset contact force; control the male aviation plug to move relative to the female aviation plug according to a preset movement sequence, and collect six-dimensional force data between the male aviation plug and the female aviation plug under the preset contact force during the movement; encode based on the six-dimensional force data to obtain time series contact force data.

[0148] In some embodiments, the contact category determination module 520 is also used to record the contact category as CS, and the value of CS is any one of D+1, D+2, D+3, and D+4. When the CS value is D+1, the target quadrant is the third quadrant, when the CS value is D+2, the target quadrant is the fourth quadrant, when the CS value is D+3, the target quadrant is the first quadrant, and when the CS value is D+4, the target quadrant is the second quadrant; D is a natural number.

[0149] In some embodiments, the hole search position point determination module 530 is also used to determine the starting angle of the Archimedean spiral for the nth circle of the Archimedean spiral according to the contact category and the value of n; for the ith position point of the nth circle, determine the rotation angle of the Archimedean spiral at the ith position point of the nth circle according to the starting angle, the value of n and the value of i; and determine the hole search position point within the target quadrant according to the rotation angle and the Archimedean spiral.

[0150] In some embodiments, the contact surface of the female aviation plug and the male aviation plug has a vertical direction. The shaft-hole assembly module 540 is also used to determine the position data of the male aviation plug in the vertical direction at the hole search position point; if it is determined according to the position data that the female aviation plug and the male aviation plug are aligned at the hole search position point, the shaft-hole assembly is performed. If it is determined according to the position data that the female aviation plug and the male aviation plug are not aligned at the hole search position point, a new hole search position point is determined in the target quadrant corresponding to the contact category according to the contact category and the Archimedean spiral; the shaft-hole assembly is performed based on the new hole search position point.

[0151] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiment, and will not be repeated here. Each module in the above shaft hole assembly device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0152] In this embodiment, an axis hole assembly device is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0153] The embodiment of the present application also provides a computer device, which may be a terminal, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a medical image processing method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0154] The present application also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any of the above methods are implemented.

[0155] An embodiment of the present application provides a computer program product, including computer instructions, which are used to enable a computer to execute the method in any of the above embodiments.

[0156] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices or computer equipment. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0157] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0158] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0159] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0160] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the computer device, 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.

[0161] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of the claims of the present application. Although the embodiments of the present application are described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. A shaft hole assembly method, characterized in that: The method comprises: Obtain the sequential contact force data between the male and female aviation plugs; Classifying the contact state based on the time-series contact force data to obtain the contact category between the male aviation plug and the female aviation plug; wherein the contact category is used to describe the relative position relationship between the male aviation plug and the female aviation plug; According to the contact category and the Archimedean spiral, determining a hole search position point in a target quadrant corresponding to the contact category; The shaft hole assembly is performed based on the hole search position points in the target quadrant.

2. The method according to claim 1, characterized in that The step of determining the hole search position point in the target quadrant corresponding to the contact category according to the contact category and the Archimedean spiral includes: For the nth turn of the Archimedean spiral, determining a starting angle of the Archimedean spiral according to the contact type and the value of n; The hole search position point in the target quadrant is determined according to the initial angle and the Archimedean spiral.

3. The method according to claim 2, characterized in that The step of determining the hole search position point in the target quadrant according to the initial angle and the Archimedean spiral comprises: For the i-th position point of the n-th circle, determine the rotation angle of the Archimedean spiral at the i-th position point of the n-th circle according to the starting angle, the value of n and the value of i; The hole search position point in the target quadrant is determined according to the rotation angle and the Archimedean spiral.

4. The method according to claim 2 or 3, characterized in that: The contact category is recorded as CS, and the value of CS is any one of D+1, D+2, D+3, and D+4. When the CS value is D+1, the target quadrant is the third quadrant, when the CS value is D+2, the target quadrant is the fourth quadrant, when the CS value is D+3, the target quadrant is the first quadrant, and when the CS value is D+4, the target quadrant is the second quadrant; D is a natural number.

5. The method according to claim 4, characterized in that The hole search position point is determined by the following formula: Wherein, θ0 is the starting angle of the Archimedean spiral in the nth circle, CS is any one of 1, 2, 3, and 4, m is the number of positions of the Archimedean spiral in the first circle, θ i is the rotation angle of the Archimedean spiral at the ith position of the nth circle, b is the pitch of the Archimedean spiral, (x i ,y i ) are the Cartesian coordinates of the ith position point.

6. The method according to claim 1, characterized in that The contact surface of the female aviation plug and the male aviation plug has a vertical direction; the shaft hole assembly based on the hole search position point in the target quadrant includes: At the hole search position point, determining the position data of the male aviation plug in the vertical direction; If it is determined according to the position data that the female aviation plug is aligned with the male aviation plug at the hole search position point, shaft-hole assembly is performed.

7. The method according to claim 6, characterized in that The method further comprises: If it is determined according to the position data that the female aviation plug and the male aviation plug are not aligned at the hole search position point, a new hole search position point is determined in the target quadrant corresponding to the contact category according to the contact category and the Archimedean spiral; The shaft hole assembly is performed based on the new hole search position point.

8. The method according to claim 1, characterized in that The step of obtaining the sequential contact force data between the male aviation plug and the female aviation plug includes: Obtaining the initial position of the male aviation plug; Controlling the male aviation plug to move from the initial position toward the female aviation plug until the male aviation plug contacts the female aviation plug, and the current contact force between the male aviation plug and the female aviation plug is stabilized at a preset contact force; Controlling the male aviation plug to move relative to the female aviation plug according to a preset movement sequence, and collecting six-dimensional force data between the male aviation plug and the female aviation plug under the preset contact force during the movement; The time-series contact force data is obtained by encoding based on the six-dimensional force data.

9. A shaft hole assembly device, characterized in that: The device comprises: Data acquisition module: used to obtain the time-series contact force data between the male and female aviation plugs; A contact category determination module: used to classify the contact state based on the time-series contact force data to obtain the contact category between the male aviation plug and the female aviation plug; wherein the contact category is used to describe the relative position relationship between the male aviation plug and the female aviation plug; A hole search position point determination module is used to determine the hole search position point in the target quadrant corresponding to the contact category according to the contact category and the Archimedean spiral; Axle-hole assembly module: used for performing shaft-hole assembly based on the hole search position points in the target quadrant.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.