Intelligent sorting method and system for piston components
By acquiring and processing the image information of the sorting pool, identifying the position and coverage of the piston assembly, and optimizing the sorting rules and robotic arm paths, the problem of violent clamping and damage caused by inaccurate positions in traditional sorting methods is solved, and the piston assembly is improved. Sorting efficiency and accuracy.
Patent Information
- Application Number
- CN202410666063.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-05-28
AI Technical Summary
The traditional piston component sorting method relies on manual visual inspection and simple mechanical sorting, resulting in inaccurate positions, violent sorting and collision damage, and insufficient sorting efficiency and accuracy.
By obtaining the image information of the sorting pool, identifying the position of the piston component and the clampable part, calculating the sorting coverage and priority, mapping the image information to the coordinate space, correcting the sorting rules, and sorting based on the priority and the position of the robot arm, Loop execution until the level information is 0.
The precise positioning and prioritization of piston components is achieved, which avoids violent clamping and collision damage, and improves sorting efficiency and accuracy.
Smart Images

Figure CN118237303B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of piston sorting, and in particular relates to a piston component intelligent sorting method and system. Background Art
[0002] Today, as automation and intelligence are becoming the mainstream of industrial production, piston components, as key components in mechanical equipment, are crucial to improving the operating efficiency of the entire production line. Traditional piston component sorting methods mainly rely on manual visual inspection and simple mechanical sorting devices.
[0003] With the development of computer vision, image processing, and machine learning algorithms, new ideas and technical means have been provided for the sorting of piston components. However, in the current sorting process, due to the inaccurate determination of the position of the piston component and its clamping position, violent sorting is very likely to occur during the decomposition process, resulting in damage during the clamping process, or damage due to collision with other piston components during the clamping process. Summary of the invention
[0004] In order to solve the above problems existing in the prior art, the present invention provides a piston assembly intelligent sorting method and system. The technical problem to be solved by the present invention is achieved through the following technical solutions:
[0005] A piston assembly intelligent sorting method, comprising:
[0006] S1, obtaining image information of the sorting pool;
[0007] S2. Obtaining position information and a sorting coverage rate of each piston assembly according to the image information, and obtaining a sorting priority according to the position information and the sorting coverage rate;
[0008] S3, mapping the image information to the coordinate space of the sorting pool to obtain a mapping relationship between each pixel of the image information and the coordinate data in the sorting pool;
[0009] S4, obtaining the hierarchical information corresponding to the position information of the piston assembly, and modifying the sorting priority according to the hierarchical information to obtain a sorting rule;
[0010] S5. Sorting the sorting pool based on the sorting rule, wherein the sorting priority includes the coordinate data and priority number of the piston assembly in the sorting pool;
[0011] S6. Loop through steps S1-S5 until the level information is zero.
[0012] In a specific embodiment, the step S2 includes:
[0013] S21, identifying the piston assembly and the clampable portion of the piston assembly in the image information to obtain pixel coordinate parameters of the piston assembly and the clampable portion, wherein the clampable portion is a preset position on the first end side and the second end side of the piston assembly;
[0014] S22, calculating the geometric center of the clampable portion according to the pixel coordinate parameters of the clampable portion to obtain position information of the piston assembly;
[0015] S23, calculating the number of pixels covered by the piston assembly according to the pixel coordinate parameters of the piston assembly, and calculating the number of pixels covered by the clampable portion according to the pixel coordinate parameters of the clampable portion;
[0016] S24, obtaining the piston assembly coverage rate and the clampable portion coverage rate according to the number of covered pixels of the piston assembly and the number of covered pixels of the clampable portion, so as to determine the sorting coverage rate;
[0017] S25. Sort the sorting coverage rates to obtain sorting priorities.
[0018] In a specific embodiment, the sorting coverage rate is the product of the piston assembly coverage rate and the clampable portion coverage rate.
[0019] In a specific implementation, the step S21 includes:
[0020] S211, inputting the image information into a pre-trained neural network model to determine the boundary of the piston assembly, the boundary of the clampable portion of the piston assembly and the posture of the piston assembly in the image information;
[0021] S212. Obtaining piston assembly pixel coordinate parameters and clampable portion pixel coordinate parameters according to the boundary of the piston assembly and the boundary of the clampable portion.
[0022] In a specific implementation, step S5 includes:
[0023] S51, according to the number and position of the mechanical arms, obtain an array of initial distances {D m1 , D m2 , D mn ..., D mN}, where m represents the robot arm number, n represents the priority number, and N represents the maximum priority number;
[0024] S52, compare the element sizes of the corresponding positions of each initial distance array, select the value with the smallest element size at each position to obtain the shortest distance array {D min1 , D min2 , D minn ..., D minN};
[0025] S53, when at least three consecutive elements in the shortest distance array are the same robot arm, the middle element is replaced with an element corresponding to another robot arm with a shorter distance, so that at most two adjacent elements are the same robot arm, and the line connecting the origin of the replaced robot arm from the position does not intersect with the line connecting the origin of the robot arm corresponding to the adjacent position, otherwise, no replacement is performed to obtain the optimal distance array;
[0026] S54. According to the order corresponding to the optimal distance array, the corresponding robotic arms are controlled to perform sorting in sequence.
[0027] The present invention also provides a piston assembly intelligent sorting system, comprising:
[0028] An image acquisition module, used for acquiring image information of the sorting pool;
[0029] A position calculation module, used to obtain the position information and sorting coverage rate of each piston assembly according to the image information, so as to obtain the sorting priority according to the position information and the sorting coverage rate;
[0030] A coordinate mapping module, used for mapping the image information to the coordinate space of the sorting pool, so as to obtain a mapping relationship between each pixel of the image information and the coordinate data in the sorting pool;
[0031] A rule determination module, used for obtaining the hierarchical information corresponding to the position information of the piston assembly, and correcting the sorting priority according to the hierarchical information to obtain a sorting rule;
[0032] A sorting module, used for sorting the sorting pool based on the sorting rule, wherein the sorting priority includes the coordinate data and priority number of the piston assembly in the sorting pool;
[0033] The iteration module is used to control the sorting system to cyclically execute the image acquisition module, the position calculation module, the coordinate mapping module, the rule determination module and the sorting module until the level information is 0.
[0034] In a specific implementation, the position calculation module includes:
[0035] A coordinate parameter determination unit, used for identifying the piston assembly and the clampable portion of the piston assembly in the image information to obtain the piston assembly pixel coordinate parameters and the clampable portion pixel coordinate parameters, wherein the clampable portion is a preset position of the first end side and the second end side of the piston assembly;
[0036] A position determination unit, used for calculating the geometric center of the clampable portion according to the pixel coordinate parameters of the clampable portion to obtain position information of the piston assembly;
[0037] A pixel number calculation unit, used to calculate the number of pixels covered by the piston assembly according to the pixel coordinate parameters of the piston assembly, and to calculate the number of pixels covered by the clampable portion according to the pixel coordinate parameters of the clampable portion;
[0038] A sorting coverage rate calculation unit, used for obtaining the piston assembly coverage rate and the clampable portion coverage rate according to the number of covered pixels of the piston assembly and the number of covered pixels of the clampable portion, so as to determine the sorting coverage rate;
[0039] The sorting priority determination unit is used to sort the sorting coverage rates to obtain sorting priorities.
[0040] In a specific embodiment, the sorting coverage rate is the product of the piston assembly coverage rate and the clampable portion coverage rate.
[0041] In a specific implementation, the coordinate parameter determination unit includes:
[0042] a boundary determination subunit, used for inputting the image information into a pre-trained neural network model to determine the boundary of the piston assembly, the boundary of the clampable portion of the piston assembly and the posture of the piston assembly in the image information;
[0043] The coordinate parameter determination subunit is used to obtain the piston assembly pixel coordinate parameters and the clampable portion pixel coordinate parameters according to the boundary of the piston assembly and the boundary of the clampable portion.
[0044] In a specific embodiment, the sorting module comprises:
[0045] An initial distance calculation unit is used to obtain an initial distance array {D} of each mechanical arm from the piston assembly corresponding to the priority number according to the number and position of the mechanical arms. m1 , D m2 , D mn ..., D mN}, where m represents the robot arm number, n represents the priority number, and N represents the maximum priority number;
[0046] The shortest distance calculation module is used to compare the element sizes of the corresponding positions of each initial distance array, and select the value with the smallest element size at each position to obtain the shortest distance array {D min1 , D min2 , D minn ..., D minN};
[0047] The optimal distance calculation module is used for replacing the middle element with an element corresponding to another robotic arm with a shorter distance when at least three consecutive elements in the shortest distance array are the same robotic arm, so that at most two adjacent elements are the same robotic arm, and the line connecting the origin of the replaced robotic arm from the position does not intersect with the line connecting the origin of the robotic arm corresponding to the adjacent position, otherwise, no replacement is performed to obtain the optimal distance array;
[0048] The sorting unit is used to control the corresponding mechanical arms to sort in sequence according to the order corresponding to the optimal distance array.
[0049] Beneficial effects of the present invention:
[0050] The intelligent sorting method of piston components of the present invention comprises: S1, obtaining the image information of the sorting pool; S2, obtaining the position information and sorting coverage rate of each piston component according to the image information, and obtaining the sorting priority according to the position information and the sorting coverage rate; S3, mapping the image information to the coordinate space of the sorting pool, and obtaining the mapping relationship between each pixel of the image information and the coordinate data in the sorting pool; S4, obtaining the hierarchical information corresponding to the position information of the piston component, and correcting the sorting priority according to the hierarchical information to obtain the sorting rule; S5, sorting the sorting pool based on the sorting rule, and the sorting priority includes the coordinate data and priority number of the piston component in the sorting pool; S6, looping and executing steps S1-S5 until the hierarchical information is 0. In this way, the best sorting order can be obtained by determining the position information and sorting coverage rate of the piston component, so as to avoid the lower piston component from being clamped in advance, thereby avoiding the component damage caused by violent clamping.
[0051] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 It is a schematic flow chart of a piston assembly intelligent sorting method provided by an embodiment of the present invention;
[0053] Figure 2 It is a block diagram of a piston assembly intelligent sorting system module provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0054] The present invention is further described in detail below with reference to specific embodiments, but the embodiments of the present invention are not limited thereto.
[0055] Embodiment 1
[0056] See also Figure 1 , Figure 1The figure is a flow chart of a piston assembly intelligent sorting method provided by an embodiment of the present invention, comprising:
[0057] S1, obtaining image information of the sorting pool;
[0058] The image information of this application is a composite image of the images taken by the color camera and the depth camera. Since the piston components are similar in color, it is difficult to determine the boundaries between the piston components. Therefore, it is necessary to combine the texture information of the image of the piston component taken by the color camera and the image of the piston component taken by the depth camera to determine the boundaries of the piston components.
[0059] S2. Obtaining position information and a sorting coverage rate of each piston assembly according to the image information, and obtaining a sorting priority according to the position information and the sorting coverage rate;
[0060] The step S2 comprises:
[0061] S21, identifying the piston assembly and the clampable portion of the piston assembly in the image information to obtain pixel coordinate parameters of the piston assembly and the clampable portion, wherein the clampable portion is a preset position on the first end side and the second end side of the piston assembly;
[0062] Specifically, the image information is input into a pre-trained neural network model to determine the boundary of the piston assembly, the boundary of the clampable portion of the piston assembly and the posture of the piston assembly in the image information;
[0063] The pixel coordinate parameters of the piston assembly and the pixel coordinate parameters of the clampable portion are obtained according to the boundary of the piston assembly and the boundary of the clampable portion.
[0064] When training the neural network model, its training set includes pre-collected images of the piston assembly and the clampable part of the piston assembly in different postures and different coverage levels.
[0065] When clamping the piston assembly, in order to avoid damage to the piston assembly structure caused by violent clamping, this application needs to determine whether the clampable part is properly clamped, that is, whether the through holes on the two side end faces of the piston assembly along the radial direction are covered or covered more severely. The piston assembly pixel coordinate parameters are the coordinate parameters of the boundary surrounded by the piston assembly contour, and the clampable part pixel coordinate parameters are the coordinate parameters of the boundary surrounded by the clampable part contour. When calculating the coverage rate later, the area of the contour can be determined by the number of pixels surrounded by the contour.
[0066] S22, calculating the geometric center of the clampable portion according to the pixel coordinate parameters of the clampable portion to obtain position information of the piston assembly;
[0067] It should be noted that the position information of the piston assembly in this embodiment is not the geometric center of the piston assembly, but the geometric center of the clampable portion. The clampable portion can only be clamped when it meets the clamping conditions.
[0068] S23, calculating the number of pixels covered by the piston assembly according to the pixel coordinate parameters of the piston assembly, and calculating the number of pixels covered by the clampable portion according to the pixel coordinate parameters of the clampable portion;
[0069] S24, obtaining the piston assembly coverage rate and the clampable portion coverage rate according to the number of covered pixels of the piston assembly and the number of covered pixels of the clampable portion, so as to determine the sorting coverage rate;
[0070] When the posture of the piston assembly is identified by the neural network model, the piston assembly coverage and the clampable portion coverage can be obtained according to the projection area corresponding to the piston assembly and the clampable portion of the posture stored in the database.
[0071] S25. Sort the sorting coverage rates to obtain sorting priorities. Specifically, the sorting coverage rate is the product of the piston assembly coverage rate and the clampable portion coverage rate. It should be noted that the clampable portion coverage rate may also be 0. If there is no clampable portion, it will be directly removed and re-determined at the next sorting. It should be noted that if either side of the end faces meets the clamping conditions, it can be considered to meet the clamping conditions, and a larger coverage rate is selected for calculation. In this embodiment, as long as the clamping conditions are met, no matter how large the coverage rate of the piston assembly is, it can be clamped. If the clamping conditions are not met, even if the coverage rate of the piston assembly is relatively large, it cannot be clamped. For the clamping conditions, in the embodiment of the present application, the clampable portion coverage rate is less than 30%, which can be considered to meet the clamping conditions.
[0072] S3, mapping the image information to the coordinate space of the sorting pool to obtain a mapping relationship between each pixel of the image information and the coordinate data in the sorting pool;
[0073] S4, obtaining the hierarchical information corresponding to the position information of the piston assembly, and modifying the sorting priority according to the hierarchical information to obtain a sorting rule;
[0074] The hierarchical information is the height information of the piston assembly in the sorting pool determined by the distance sensor. Since the piston assemblies in the sorting pool are in a stacked state, it is necessary to determine the stacking position of the piston assembly to determine whether it can be grasped. In other words, if the sorting priority is consistent with the hierarchical information, the sorting priority is used as the sorting rule. If the sorting priority is inconsistent with the hierarchical information, the inconsistent piston assembly is removed from the sorting to obtain the sorting rule.
[0075] Specifically, the distance sensor and the color camera can be set at the same height. When the sorting pool is empty, the depth information is determined to be 0. When there is a piston assembly in the sorting pool, the depth information is determined based on the distance from the distance sensor to the surface of the piston assembly.
[0076] S5. Sorting the sorting pool based on the sorting rule, wherein the sorting priority includes the coordinate data and priority number of the piston assembly in the sorting pool;
[0077] The step S5 comprises:
[0078] S51, according to the number and position of the mechanical arms, obtain an array of initial distances {D m1 , D m2 , D mn ..., D mN}, where m represents the robot arm number, n represents the priority number, and N represents the maximum priority number;
[0079] S52, compare the element sizes of the corresponding positions of each initial distance array, select the value with the smallest element size at each position to obtain the shortest distance array {D min1 , D min2 , D minn ..., D minN};
[0080] S53, when at least three consecutive elements in the shortest distance array are the same robot arm, the middle element is replaced with an element corresponding to another robot arm with a shorter distance, so that at most two adjacent elements are the same robot arm, and the line connecting the origin of the replaced robot arm from the position does not intersect with the line connecting the origin of the robot arm corresponding to the adjacent position, otherwise, no replacement is performed to obtain the optimal distance array;
[0081] S54. According to the order corresponding to the optimal distance array, the corresponding robotic arms are controlled to perform sorting in sequence.
[0082] It should be noted that if the number of robotic arms is 1, the robotic arms can directly perform the gripping in order according to the priority number. When there are multiple robotic arms and they are in different positions, in order to improve the gripping efficiency and avoid collisions between robotic arms during the gripping process, path planning is required in advance. First, calculate the distance between each robotic arm and the piston assembly at each priority number position, and select the shortest distance D minnThat is, the sorting efficiency can be further improved. However, since there may be multiple consecutive piston assemblies to be sorted that are at the shortest distance from a certain robotic arm at the same time, in order to avoid the risk of damage caused by early sorting of the piston assemblies in the lower layers, it is necessary to sort them as much as possible according to the sorting priority. Of course, the optimal situation is to follow this order completely, but it will reduce the sorting efficiency. Other robotic arms need to wait until the multiple piston assemblies with higher sorting priorities are sorted in turn before they can sort, thus wasting sorting time. Based on this, when the above situation is determined to occur in this embodiment, the sorting robotic arm of the piston assembly with the middle priority is replaced by another robotic arm with a shorter distance, so that the robotic arms can work at the same time, so that the sorting system can sort according to the sorting priority as much as possible, while improving the sorting efficiency.
[0083] S6. Loop through steps S1-S5 until the level information is zero.
[0084] The present invention can obtain the best sorting order by determining the position information and the sorting coverage of the piston assembly, thereby preventing the lower piston assembly from being clamped in advance, thereby avoiding damage to the assembly caused by violent clamping.
[0085] See also Figure 2 The present invention also provides a piston assembly intelligent sorting system, including:
[0086] An image acquisition module, used for acquiring image information of the sorting pool;
[0087] A position calculation module, used to obtain the position information and sorting coverage rate of each piston assembly according to the image information, so as to obtain the sorting priority according to the position information and the sorting coverage rate;
[0088] A coordinate mapping module, used for mapping the image information to the coordinate space of the sorting pool, so as to obtain a mapping relationship between each pixel of the image information and the coordinate data in the sorting pool;
[0089] A rule determination module, used for obtaining the hierarchical information corresponding to the position information of the piston assembly, and correcting the sorting priority according to the hierarchical information to obtain a sorting rule;
[0090] A sorting module, used for sorting the sorting pool based on the sorting rule, wherein the sorting priority includes the coordinate data and priority number of the piston assembly in the sorting pool;
[0091] The iteration module is used to control the sorting system to cyclically execute the image acquisition module, the position calculation module, the coordinate mapping module, the rule determination module and the sorting module until the level information is 0.
[0092] In a specific implementation, the position calculation module includes:
[0093] A coordinate parameter determination unit, used for identifying the piston assembly and the clampable portion of the piston assembly in the image information to obtain the piston assembly pixel coordinate parameters and the clampable portion pixel coordinate parameters, wherein the clampable portion is a preset position of the first end side and the second end side of the piston assembly;
[0094] A position determination unit, used for calculating the geometric center of the clampable portion according to the pixel coordinate parameters of the clampable portion to obtain position information of the piston assembly;
[0095] A pixel number calculation unit, used to calculate the number of pixels covered by the piston assembly according to the pixel coordinate parameters of the piston assembly, and to calculate the number of pixels covered by the clampable portion according to the pixel coordinate parameters of the clampable portion;
[0096] A sorting coverage rate calculation unit, used for obtaining the piston assembly coverage rate and the clampable portion coverage rate according to the number of covered pixels of the piston assembly and the number of covered pixels of the clampable portion, so as to determine the sorting coverage rate;
[0097] The sorting priority determination unit is used to sort the sorting coverage rates to obtain sorting priorities.
[0098] In a specific embodiment, the sorting coverage rate is the product of the piston assembly coverage rate and the clampable portion coverage rate.
[0099] In a specific implementation, the coordinate parameter determination unit includes:
[0100] a boundary determination subunit, used for inputting the image information into a pre-trained neural network model to determine the boundary of the piston assembly, the boundary of the clampable portion of the piston assembly and the posture of the piston assembly in the image information;
[0101] The coordinate parameter determination subunit is used to obtain the piston assembly pixel coordinate parameters and the clampable portion pixel coordinate parameters according to the boundary of the piston assembly and the boundary of the clampable portion.
[0102] In a specific embodiment, the sorting module comprises:
[0103] An initial distance calculation unit is used to obtain an initial distance array {D} of each mechanical arm from the piston assembly corresponding to the priority number according to the number and position of the mechanical arms. m1 , D m2 , D mn ..., D mN}, where m represents the robot arm number, n represents the priority number, and N represents the maximum priority number;
[0104] The shortest distance calculation module is used to compare the element sizes of the corresponding positions of each initial distance array, and select the value with the smallest element size at each position to obtain the shortest distance array {D min1 , D min2 , D minn ..., D minN};
[0105] The optimal distance calculation module is used for replacing the middle element with an element corresponding to another robotic arm with a shorter distance when at least three consecutive elements in the shortest distance array are the same robotic arm, so that at most two adjacent elements are the same robotic arm, and the line connecting the origin of the replaced robotic arm from the position does not intersect with the line connecting the origin of the robotic arm corresponding to the adjacent position, otherwise, no replacement is performed to obtain the optimal distance array;
[0106] The sorting unit is used to control the corresponding mechanical arms to sort in sequence according to the order corresponding to the optimal distance array.
[0107] 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 one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0108] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. 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 invention. In this specification, the schematic representations of the above terms do 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. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification.
[0109] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in a claim. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0110] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A piston assembly intelligent sorting method, characterized in that: include: S1, obtaining image information of the sorting pool; S2. Obtaining position information and a sorting coverage rate of each piston assembly according to the image information, and obtaining a sorting priority according to the position information and the sorting coverage rate; S3, mapping the image information to the coordinate space of the sorting pool to obtain a mapping relationship between each pixel of the image information and the coordinate data in the sorting pool; S4, obtaining the hierarchical information corresponding to the position information of the piston assembly, and modifying the sorting priority according to the hierarchical information to obtain a sorting rule; S5. Sorting the sorting pool based on the sorting rule, wherein the sorting priority includes the coordinate data and priority number of the piston assembly in the sorting pool; S6, looping through steps S1-S5 until the level information is 0; The step S2 comprises: S21, identifying the piston assembly and the clampable portion of the piston assembly in the image information to obtain pixel coordinate parameters of the piston assembly and the clampable portion, wherein the clampable portion is a preset position on the first end side and the second end side of the piston assembly; S22, calculating the geometric center of the clampable portion according to the pixel coordinate parameters of the clampable portion to obtain position information of the piston assembly; S23, calculating the number of pixels covered by the piston assembly according to the pixel coordinate parameters of the piston assembly, and calculating the number of pixels covered by the clampable portion according to the pixel coordinate parameters of the clampable portion; S24, obtaining the piston assembly coverage rate and the clampable portion coverage rate according to the number of covered pixels of the piston assembly and the number of covered pixels of the clampable portion, so as to determine the sorting coverage rate; S25. Sort the sorting coverage rates to obtain sorting priorities.
2. The intelligent sorting method for piston components according to claim 1, characterized in that: The sorting coverage rate is the product of the piston assembly coverage rate and the clampable portion coverage rate.
3. The intelligent sorting method for piston components according to claim 1, characterized in that: The step S21 comprises: S211, inputting the image information into a pre-trained neural network model to determine the boundary of the piston assembly, the boundary of the clampable portion of the piston assembly and the posture of the piston assembly in the image information; S212. Obtaining piston assembly pixel coordinate parameters and clampable portion pixel coordinate parameters according to the boundary of the piston assembly and the boundary of the clampable portion.
4. The intelligent sorting method for piston components according to claim 1, characterized in that: The step S5 comprises: S51, according to the number and position of the mechanical arms, obtain the initial distance array {D m1 , D m2 , D mn ..., D mN }, where m represents the robot arm number, n represents the priority number, and N represents the maximum priority number; S52, compare the element sizes of the corresponding positions of each initial distance array, select the value with the smallest element size at each position to obtain the shortest distance array {D min1 , D min2 , D minn ..., D minN }; S53, when at least three consecutive elements in the shortest distance array are the same robot arm, the middle element is replaced with an element corresponding to another robot arm with a shorter distance, so that at most two adjacent elements are the same robot arm, and the line connecting the origin of the replaced robot arm from the position does not intersect with the line connecting the origin of the robot arm corresponding to the adjacent position, otherwise, no replacement is performed to obtain the optimal distance array; S54. According to the order corresponding to the optimal distance array, the corresponding robotic arms are controlled to perform sorting in sequence.
5. An intelligent sorting system for piston components, characterized in that: include: An image acquisition module, used to acquire image information of the sorting pool; A position calculation module, used to obtain the position information and sorting coverage rate of each piston assembly according to the image information, so as to obtain the sorting priority according to the position information and the sorting coverage rate; A coordinate mapping module, used for mapping the image information to the coordinate space of the sorting pool, so as to obtain a mapping relationship between each pixel of the image information and the coordinate data in the sorting pool; A rule determination module, used for obtaining the hierarchical information corresponding to the position information of the piston assembly, and correcting the sorting priority according to the hierarchical information to obtain a sorting rule; A sorting module, used for sorting the sorting pool based on the sorting rule, wherein the sorting priority includes the coordinate data and priority number of the piston assembly in the sorting pool; An iteration module, used for controlling the sorting system to cyclically execute the image acquisition module, the position calculation module, the coordinate mapping module, the rule determination module and the sorting module until the level information is 0; The position calculation module comprises: A coordinate parameter determination unit, used for identifying the piston assembly and the clampable portion of the piston assembly in the image information to obtain the piston assembly pixel coordinate parameters and the clampable portion pixel coordinate parameters, wherein the clampable portion is a preset position of the first end side and the second end side of the piston assembly; A position determination unit, used for calculating the geometric center of the clampable portion according to the pixel coordinate parameters of the clampable portion to obtain position information of the piston assembly; A pixel number calculation unit, used to calculate the number of pixels covered by the piston assembly according to the pixel coordinate parameters of the piston assembly, and to calculate the number of pixels covered by the clampable portion according to the pixel coordinate parameters of the clampable portion; A sorting coverage rate calculation unit, used for obtaining the piston assembly coverage rate and the clampable portion coverage rate according to the number of covered pixels of the piston assembly and the number of covered pixels of the clampable portion, so as to determine the sorting coverage rate; The sorting priority determination unit is used to sort the sorting coverage rates to obtain sorting priorities.
6. The intelligent sorting system for piston components according to claim 5, characterized in that: The sorting coverage rate is the product of the piston assembly coverage rate and the clampable portion coverage rate.
7. The piston assembly intelligent sorting system according to claim 5, characterized in that: The coordinate parameter determination unit comprises: a boundary determination subunit, used for inputting the image information into a pre-trained neural network model to determine the boundary of the piston assembly, the boundary of the clampable portion of the piston assembly and the posture of the piston assembly in the image information; The coordinate parameter determination subunit is used to obtain the piston assembly pixel coordinate parameters and the clampable portion pixel coordinate parameters according to the boundary of the piston assembly and the boundary of the clampable portion.
8. The piston assembly intelligent sorting system according to claim 5, characterized in that: The sorting module comprises: The initial distance calculation unit is used to obtain the initial distance array {D m1 , D m2 , D mn ..., D mN }, where m represents the robot arm number, n represents the priority number, and N represents the maximum priority number; The shortest distance calculation module is used to compare the element sizes of the corresponding positions of each initial distance array, and select the value with the smallest element size at each position to obtain the shortest distance array {D min1 , D min2 , D minn ..., D minN }; The optimal distance calculation module is used for replacing the middle element with an element corresponding to another robotic arm with a shorter distance when at least three consecutive elements in the shortest distance array are the same robotic arm, so that at most two adjacent elements are the same robotic arm, and the line connecting the origin of the replaced robotic arm from the position does not intersect with the line connecting the origin of the robotic arm corresponding to the adjacent position, otherwise, no replacement is performed to obtain the optimal distance array; The sorting unit is used to control the corresponding mechanical arms to sort in sequence according to the order corresponding to the optimal distance array.
