Rolling bearing assembly optimization method and system based on improved particle swarm algorithm
By improving the particle swarm algorithm and machine vision technology, the precision and stability problems in rolling bearing assembly are solved, efficient bearing assembly is achieved, and the qualification rate and quality of the product are improved.
Patent Information
- Application Number
- CN202411061268.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-08-05
AI Technical Summary
It is difficult to ensure the high precision and stability of the bearings in the assembly of rolling bearings with the existing technology, resulting in vibration and noise during product operation, which affects the service life and working effect of the mechanical equipment.
Based on the improved particle swarm algorithm, the rolling bearing assembly objective optimization function is established, and machine vision technology is used to obtain component size data. Components are randomly selected and iteratively optimized through the improved particle swarm algorithm to find the optimal solution to achieve high-precision assembly.
It improves the qualification rate and stability of bearing products, improves product quality, reduces the inefficiency and errors of manual assembly, and achieves a more efficient assembly process.
Smart Images

Figure CN118586296B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of bearing assembly, and the invention relates to a rolling bearing assembly optimization method and system based on an improved particle swarm algorithm. Background Art
[0002] As one of the most widely used parts in various mechanical systems, rolling bearings are widely used in various mechanical industries for their reliability, durability and high precision. Their precision and performance largely affect the transmission accuracy of the entire transmission system. In the assembly of rolling bearings, it is of great significance to reasonably select assembly methods and matching tolerances to maintain the maximum stability of shaft parts during operation, ensure the normal use of machinery, reduce noise and heat, and extend the service life of bearings and mechanical equipment.
[0003] At present, bearing production has entered the era of automated production, while the assembly process of traditional rolling bearings in bearing manufacturers is manual operation. The number of balls is counted manually, and then installed into the outer ring of the bearing, lubricated, and the semi-automatic hydraulic device presses the upper end cover, which is time-consuming, labor-intensive, and inefficient. At present, the assembly of ball bearings is mainly based on radial clearance. The assembly is carried out according to the size of the groove bottom diameter of the inner and outer rings and the diameter of the steel ball. The rotation accuracy of the bearing cannot be well guaranteed. At the same time, manual assembly cannot accurately screen the components, which easily leads to poor matching between the components, causing problems in the accuracy and stability of the assembled bearing products, thereby affecting the stability of the mechanical products. In severe cases, the products may not work properly. Summary of the invention
[0004] The purpose of the present invention is to provide a rolling bearing assembly optimization method and system based on an improved particle swarm algorithm. Firstly, a rolling bearing assembly target optimization function is proposed according to the bearing coaxiality and rolling element accuracy. Then, the intelligent optimization of the rolling bearing assembly is completed by the improved particle swarm algorithm, thereby effectively improving the qualified rate of bearing products.
[0005] The technical solution to achieve the purpose of the present invention is:
[0006] A rolling bearing assembly optimization method based on an improved particle swarm algorithm comprises the following steps:
[0007] S01: Establish the rolling bearing assembly target optimization function based on the bearing coaxiality and rolling element accuracy;
[0008] S02: Obtaining the dimension data of all bearing assemblies to be assembled, and then randomly selecting inner rings, outer rings and a corresponding number of rolling elements therefrom, and calculating the bearing coaxiality and rolling element accuracy of these bearing assemblies;
[0009] S03: Iterate through the improved particle swarm algorithm to find the optimal solution, and assemble the selected components into a complete bearing according to the optimal solution.
[0010] In the preferred technical solution, the method for establishing the rolling bearing assembly target optimization function in step S01 includes:
[0011] Define the bearing assembly quality evaluation function :
[0012]
[0013] in is the natural logarithm constant, is the bearing accuracy parameter;
[0014] Maximizing the bearing equipment quality evaluation function , the objective optimization function is:
[0015]
[0016] in, , are the number of inner and outer rings and rolling elements of the bearing to be assembled, , These are the indexes of the inner and outer rings and the rolling elements, respectively.
[0017] In the preferred technical solution,
[0018] in, is the bearing coaxiality parameter, is the number of bearing rolling elements, is the accuracy of the rolling element, The index of the scroll body.
[0019] In the preferred technical solution, the bearing coaxiality parameter The calculation formula is:
[0020]
[0021] in , , are the distances between the inner circle center, the outer circle center, and the axis center. , is the average of the three distances;
[0022] Rolling element accuracy The calculation formula is:
[0023]
[0024] in, It represents the distance from a point on the rolling body surface to the center of the rolling body. is the index of the point, It is the average value of the distance from the rolling element surface to the center.
[0025] In the preferred technical solution, the method of obtaining the dimension data of all bearing assemblies to be assembled in step S02 includes:
[0026] S21: performing smoothing filtering, binarization, image enhancement, and edge extraction on the gear target image obtained by the imaging system to obtain the contour information of the bearing;
[0027] S22: Perform ellipse fitting on the gear target image. The ellipse fitting formula is:
[0028]
[0029] in, is the equation of the ellipse, , are the coordinates of the point, , , , , , are the parameters of the ellipse equation; through the coordinate information of multiple pairs of points in the image, the values of each parameter are solved and finally the complete ellipse fitting equation is obtained;
[0030] S23: According to the obtained ellipse fitting equation, the precise coordinate information of the center point and each point of each component in the bearing is calculated, and the coaxiality parameters and rolling element accuracy information of the gear are obtained.
[0031] In the preferred technical solution, the improved particle swarm algorithm in step S03 includes:
[0032] The inertia weight of the particle swarm algorithm is adaptively updated, and the inertia weight is:
[0033]
[0034] in, , denote the maximum and minimum inertia weights, respectively, Indicates the distance between the historical optimal position of the particle and the optimal position of the entire particle swarm;
[0035] Use Constraint Factor Improve the local search capability of particle swarm algorithm, The calculation formula is:
[0036]
[0037] The improved particle swarm algorithm is:
[0038]
[0039] in, represents the number of iterations, is the particle index, is the index of a dimension in the particle, is the particle velocity vector, Indicates Particle dimensional velocity vector, is the individual learning factor, is the group learning factor, , is a random number, Indicates Particle The historical best position found by the search, represents the optimal position in the entire particle group, No. Particle Wei Zai The position at the iteration.
[0040] The present invention also discloses a rolling bearing assembly optimization system based on an improved particle swarm algorithm, comprising:
[0041] The target optimization function building module builds the rolling bearing assembly target optimization function based on the bearing coaxiality and rolling element accuracy;
[0042] The parameter calculation module obtains the dimension data of all bearing assemblies to be assembled, and then randomly selects inner rings, outer rings and a corresponding number of rolling elements from them, and calculates the bearing coaxiality and rolling element accuracy of these bearing assemblies;
[0043] The iterative optimization module iterates through the improved particle swarm algorithm to find the optimal solution, and assembles the selected components into a complete bearing based on the optimal solution.
[0044] In the preferred technical solution, the method for establishing the rolling bearing assembly target optimization function in the target optimization function construction module includes:
[0045] Define the bearing assembly quality evaluation function :
[0046]
[0047] in is the natural logarithm constant, is the bearing accuracy parameter;
[0048] Maximizing the bearing equipment quality evaluation function , the objective optimization function is:
[0049]
[0050] in, , are the number of inner and outer rings and rolling elements of the bearing to be assembled, , These are the indexes of the inner and outer rings and the rolling elements, respectively.
[0051] In the preferred technical solution, the improved particle swarm algorithm in the iterative optimization module includes:
[0052] The inertia weight of the particle swarm algorithm is adaptively updated, and the inertia weight is:
[0053]
[0054] in, , denote the maximum and minimum inertia weights, respectively, Indicates the distance between the historical optimal position of the particle and the optimal position of the entire particle swarm;
[0055] Use Constraint Factor Improve the local search capability of particle swarm algorithm, The calculation formula is:
[0056]
[0057] The improved particle swarm algorithm is:
[0058]
[0059] in, represents the number of iterations, is the particle index, is the index of a dimension in the particle, is the particle velocity vector, Indicates Particle dimensional velocity vector, is the individual learning factor, is the group learning factor, , is a random number, Indicates Particle The historical best position found by the search, represents the optimal position in the entire particle group, No. Particle Wei Zai The position at the iteration.
[0060] The present invention further discloses a computer storage medium on which a computer program is stored. When the computer program is executed, the rolling bearing assembly optimization method based on the improved particle swarm algorithm is implemented.
[0061] Compared with the prior art, the present invention has the following significant advantages:
[0062] Aiming at the problem of high-precision intelligent assembly of bearings, this paper proposes a rolling bearing assembly optimization method based on an improved particle swarm algorithm. First, according to the bearing coaxiality and rolling element accuracy, a rolling bearing assembly target optimization function is proposed, and then the intelligent optimization of rolling bearing assembly is completed by the improved particle swarm algorithm. The improved particle swarm algorithm has higher efficiency and performance, thereby effectively improving the qualified rate and stability of bearing products, improving product quality, and has a broad application market space and economic value. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 It is a flow chart of a rolling bearing assembly optimization method based on an improved particle swarm algorithm in a preferred embodiment;
[0064] Figure 2 It is the structural diagram of rolling bearing;
[0065] Figure 3 It is the bearing assembly quality evaluation function diagram;
[0066] Figure 4 It is a schematic diagram of the coaxiality error of rolling bearing;
[0067] Figure 5 To improve the particle swarm algorithm comparison. DETAILED DESCRIPTION
[0068] The principle of the present invention is: according to the bearing coaxiality and rolling element precision, a rolling bearing assembly target optimization function is proposed, and then the intelligent optimization of rolling bearing assembly is completed by improving the particle swarm algorithm. The improved particle swarm algorithm has higher efficiency and performance, thereby effectively improving the qualified rate and stability of bearing products and improving product quality.
[0069] Example 1
[0070] like Figure 1 As shown, a rolling bearing assembly optimization method based on an improved particle swarm algorithm comprises the following steps:
[0071] S01: Establish the rolling bearing assembly target optimization function based on the bearing coaxiality and rolling element accuracy;
[0072] S02: Obtaining the dimension data of all bearing assemblies to be assembled, and then randomly selecting inner rings, outer rings and a corresponding number of rolling elements therefrom, and calculating the bearing coaxiality and rolling element accuracy of these bearing assemblies;
[0073] S03: Iterate through the improved particle swarm algorithm to find the optimal solution, and assemble the selected components into a complete bearing according to the optimal solution.
[0074] In a preferred embodiment, the method for establishing the rolling bearing assembly target optimization function in step S01 includes:
[0075] Define the bearing assembly quality evaluation function :
[0076]
[0077] in is the natural logarithm constant, is the bearing accuracy parameter;
[0078] Maximizing the bearing equipment quality evaluation function , the objective optimization function is:
[0079]
[0080] in, , are the number of inner and outer rings and rolling elements of the bearing to be assembled, , These are the indexes of the inner and outer rings and the rolling elements, respectively.
[0081] In a preferred embodiment,
[0082] in, is the bearing coaxiality parameter, is the number of bearing rolling elements, is the accuracy of the rolling element, The index of the scroll body.
[0083] In a preferred embodiment, the bearing coaxiality parameter The calculation formula is:
[0084]
[0085] in , , are the distances between the inner circle center, the outer circle center, and the axis center. , is the average of the three distances;
[0086] Rolling element accuracy The calculation formula is:
[0087]
[0088] in, It represents the distance from a point on the rolling body surface to the center of the rolling body. is the index of the point, It is the average value of the distance from the rolling element surface to the center.
[0089] In a preferred embodiment, the method of step S02 for obtaining the dimension data of all bearing assemblies to be assembled comprises:
[0090] S21: performing smoothing filtering, binarization, image enhancement, and edge extraction on the gear target image obtained by the imaging system to obtain the contour information of the bearing;
[0091] S22: Perform ellipse fitting on the gear target image. The ellipse fitting formula is:
[0092]
[0093] in, is the equation of the ellipse, , are the coordinates of the point, , , , , , are the parameters of the ellipse equation; through the coordinate information of multiple pairs of points in the image, the values of each parameter are solved and finally the complete ellipse fitting equation is obtained;
[0094] S23: According to the obtained ellipse fitting equation, the precise coordinate information of the center point and each point of each component in the bearing is calculated, and the coaxiality parameters and rolling element accuracy information of the gear are obtained.
[0095] In a preferred embodiment, the improved particle swarm algorithm in step S03 includes:
[0096] The inertia weight of the particle swarm algorithm is adaptively updated, and the inertia weight is:
[0097]
[0098] in, , denote the maximum and minimum inertia weights, respectively, Indicates the distance between the historical optimal position of the particle and the optimal position of the entire particle swarm;
[0099] Use Constraint Factor Improve the local search capability of particle swarm algorithm, The calculation formula is:
[0100]
[0101] The improved particle swarm algorithm is:
[0102]
[0103] in, represents the number of iterations, is the particle index, is the index of a dimension in the particle, is the particle velocity vector, Indicates Particle dimensional velocity vector, is the individual learning factor, is the group learning factor, , is a random number, Indicates Particle The historical best position found by the search, represents the optimal position in the entire particle group, No. Particle Wei Zai The position at the iteration.
[0104] In another embodiment, a computer storage medium stores a computer program, and when the computer program is executed, the rolling bearing assembly optimization method based on the improved particle swarm algorithm is implemented. The rolling bearing assembly optimization method above is adopted and will not be described in detail here.
[0105] In another embodiment, a rolling bearing assembly optimization system based on an improved particle swarm algorithm comprises:
[0106] The target optimization function building module builds the rolling bearing assembly target optimization function based on the bearing coaxiality and rolling element accuracy;
[0107] The parameter calculation module obtains the dimension data of all bearing assemblies to be assembled, and then randomly selects inner rings, outer rings and a corresponding number of rolling elements from them, and calculates the bearing coaxiality and rolling element accuracy of these bearing assemblies;
[0108] The iterative optimization module iterates through the improved particle swarm algorithm to find the optimal solution, and assembles the selected components into a complete bearing based on the optimal solution.
[0109] Specifically, the workflow of the rolling bearing assembly optimization system based on the improved particle swarm algorithm is described as follows by taking a preferred embodiment as an example:
[0110] Step 1: Establish the rolling bearing assembly target optimization function.
[0111] Rolling bearings are used to support and guide the rotation or swing of machines and to transfer loads between machine parts. Rolling bearings provide high precision and low friction, thus enabling high speeds while reducing noise, heat, energy consumption and wear. Rolling bearings generally consist of an outer ring 10, an inner ring 20, rolling elements 30 (rollers or steel balls) and a cage 40, such as Figure 2 As shown. In order to ensure the normal and effective operation of rolling bearings, the assembly accuracy between the various parts of the bearings must be ensured, among which the more important indicators are the bearing coaxiality and rolling element accuracy. Coaxiality refers to the deviation between the axis of the inner and outer rings of the bearing and the central axis of the bearing. The size of the coaxiality directly affects the running accuracy and stability of the bearing. If the coaxiality does not meet the requirements, the bearing will cause vibration and noise during operation, which will in turn affect the life and working effect of the bearing. Therefore, ensuring that the coaxiality of the bearing meets the requirements is an important guarantee for the normal operation of the bearing. The rolling element accuracy of the bearing refers to the accuracy and stability of the shape, size and material of the rolling element when it runs in the bearing. The rolling element accuracy directly affects the friction resistance, running accuracy and durability of the bearing during operation.
[0112] In order to realize intelligent high-precision equipment of rolling bearings, the present invention starts with the coaxiality and rolling element precision indicators, establishes a target optimization function, and guides the assembly process of rolling bearings.
[0113] First, define the bearing assembly quality evaluation function , The larger the value, the higher the bearing assembly quality accuracy, as shown in formula (10), where is the natural logarithm constant, is the bearing accuracy parameter, The value of As it increases, the maximum value is 1, and its function graph is as follows Figure 3 shown.
[0114] (10)
[0115] It consists of two parts: bearing coaxiality and rolling element accuracy, as shown in formula (11).
[0116] (11)
[0117] in is the bearing coaxiality parameter, is the number of bearing rolling elements, is the accuracy of the rolling element, is the index of the rolling body, is the natural logarithm constant.
[0118] Bearing coaxiality parameters It is used to measure the degree of coincidence between the inner ring, outer ring and shaft of the bearing. Ideally, the three centers should coincide, but the errors in the actual processing process will cause deviations between the three centers, such as Figure 4 As shown, the higher the coaxiality, the better the assembly quality of the bearing. The calculation of is shown in formula (12).
[0119] (12)
[0120] in , , are the distances between the inner circle center, the outer circle center, and the axis center. , is the average of the three distances.
[0121] Rolling element accuracy Including the radius and roundness of the rolling element, its calculation is shown in formula (13).
[0122] (13)
[0123] in It represents the distance from a point on the rolling body surface to the center of the rolling body. is the index of the point, It is the average value of the distance from the rolling element surface to the center.
[0124] The present invention maximizes the bearing equipment quality evaluation function To complete intelligent and high-precision bearing assembly, the target optimization function is defined as shown in formula (14), where is the bearing accuracy parameter, , are the number of inner and outer rings and rolling elements of the bearing to be assembled, , These are the indexes of the inner and outer rings and the rolling elements, respectively.
[0125] (14)
[0126] According to formula (14), it can be seen that the assembly of bearings is a multi-parameter optimization problem, which is similar to the traveling salesman problem and is an NP-hard problem. Currently, there is no optimal solution under polynomial time complexity for such problems. Relative optimal solutions are often solved by heuristic algorithms. The present invention uses an improved particle swarm algorithm to complete the optimization solution of chip mounting.
[0127] Step 2: Calculate the dimensions of the bearing assembly.
[0128] Machine vision measurement technology has high measurement accuracy, convenience, real-time and non-contact, and the construction of the measurement system is also relatively convenient. Therefore, in order to obtain the gear size, the present invention uses binocular machine vision technology to achieve accurate measurement of the three-dimensional data of the gear appearance.
[0129] In rolling gears, the inner and outer rings and rolling elements are circular in appearance. According to the imaging principle, a circle will be imaged as an ellipse after passing through an optical imaging system, so ellipse fitting is required. Ellipse fitting is the process of obtaining ellipse parameters by calculating edge pixels. First, the gear target image obtained by the imaging system is processed by smoothing filtering, binarization, image enhancement, edge extraction, etc. to obtain the contour information of the bearing. The formula for ellipse fitting is shown in Equation (15).
[0130] (15)
[0131] in is the equation of the ellipse, , are the coordinates of the point, , , , , , are the parameters of the ellipse equation. Through the coordinate information of multiple pairs of points in the image, the values of each parameter can be solved and finally the complete ellipse fitting equation can be obtained. According to the obtained ellipse equation, the precise coordinate information of the center point and each point of each component in the bearing can be calculated, and then the coaxiality parameters and rolling element accuracy information of the gear can be obtained according to equations (12) and (13).
[0132] Step 3: Bearing intelligent assembly algorithm.
[0133] According to the analysis, the intelligent assembly of bearings is an NP-hard problem, which is difficult to solve effectively using traditional target optimization methods. The particle swarm algorithm is an intelligent algorithm designed by simulating the predation behavior of bird flocks. Its principle is to search in the solution space through multiple particles. Each particle is affected by other particles during the search process. These particles have the ability to remember the optimal solution they have experienced. As the calculation evolves, the particles will eventually converge to an optimal point. The mathematical description of the standard particle swarm algorithm is shown in Equation (16).
[0134] (16)
[0135] in represents the number of iterations, is the inertia weight, is the particle index, is the index of a dimension in the particle, is the particle velocity vector, Indicates Particle dimensional velocity vector, is the individual learning factor, is the group learning factor, , Is the interval The random number in is used to increase the randomness of the search. Indicates Particle The historical best position found by the search, represents the optimal position in the entire particle group, No. Particle Wei Zai The position at the iteration. In each iteration, the inertia weight and the particle position are updated using the following formula:
[0136] (17)
[0137] in , denote the maximum and minimum inertia weights, respectively, Indicates the maximum number of iterations.
[0138] The standard particle swarm algorithm is widely used in optimization, fuzzy control and other fields, but it has defects such as poor local search ability and easy to fall into local extreme values. To solve this problem, the present invention improves the particle swarm algorithm according to the characteristics of bearing assembly.
[0139] The inertia weight of the traditional particle swarm algorithm changes over time, and it is difficult to use the state change of the algorithm, resulting in poor optimization effect. The present invention uses formula (18) to adaptively update the inertia weight of the particle swarm algorithm.
[0140] (18)
[0141] in It represents the distance between the historical optimal position of the particle and the optimal position of the entire particle swarm. The inertia weight is controlled by the distance, so that the particle swarm algorithm can be adaptively adjusted according to the real-time status.
[0142] At the same time, the present invention uses the constraint factor Improve the local search capability of particle swarm algorithm, The calculation of is shown in formula (19):
[0143] (19)
[0144] The improved particle swarm algorithm is:
[0145] (20)
[0146] The process of the present invention using the improved particle swarm algorithm for intelligent bearing assembly is as follows: first, the dimensional data of the appearance of all bearing components to be assembled are obtained, and then the inner ring, outer ring and a corresponding number of rolling elements are randomly selected from them, and the bearing coaxiality, rolling element accuracy and other data of these components are calculated. The improved particle swarm algorithm is iterated to find the optimal matching effect; finally, according to the optimal solution, the selected components are assembled into a complete bearing.
[0147] The improved particle swarm algorithm was experimented and compared with the standard particle swarm algorithm. The results are as follows: Figure 5 As shown, it can be seen that the improved particle swarm algorithm in the present invention has a faster convergence speed and can effectively prevent the algorithm from falling into a local optimal solution. At the same time, according to the calculation, the present invention can select components with higher consistency and precision for assembly, so it can effectively improve the qualified rate and stability of bearing products and improve product quality.
[0148] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications made without departing from the spirit and principles of the present invention shall be equivalent replacement modes and shall be included in the protection scope of the present invention.
Claims
1. A rolling bearing assembly optimization method based on improved particle swarm algorithm, characterized in that: The following steps are involved: S01: Establish the rolling bearing assembly target optimization function based on the bearing coaxiality and rolling element accuracy; The method of establishing the rolling bearing assembly target optimization function includes: Define the bearing assembly quality evaluation function : , in is the natural logarithm constant, is the bearing accuracy parameter; Maximizing the bearing equipment quality evaluation function , the objective optimization function is: , in, , are the number of inner and outer rings and rolling elements of the bearing to be assembled, , The indexes of the inner and outer rings and rolling elements respectively; S02: Obtaining the dimension data of all bearing assemblies to be assembled, and then randomly selecting inner rings, outer rings and a corresponding number of rolling elements therefrom, and calculating the bearing coaxiality and rolling element accuracy of these bearing assemblies; S03: Iterate through the improved particle swarm algorithm to find the optimal solution, and assemble the selected components into a complete bearing according to the optimal solution; the improved particle swarm algorithm includes: The inertia weight of the particle swarm algorithm is adaptively updated, and the inertia weight is: , in, , denote the maximum and minimum inertia weights, respectively, Indicates the distance between the historical optimal position of the particle and the optimal position of the entire particle swarm; Use Constraint Factor Improve the local search capability of particle swarm algorithm, The calculation formula is: , The improved particle swarm algorithm is: , in, represents the number of iterations, is the particle index, is the index of a dimension in the particle, is the particle velocity vector, Indicates Particle dimensional velocity vector, is the individual learning factor, is the group learning factor, , is a random number, Indicates Particle The historical best position found by the search, represents the optimal position in the entire particle group, No. Particle Wei Zai The position at the iteration.
2. The rolling bearing assembly optimization method based on improved particle swarm algorithm according to claim 1 is characterized in that: , in, is the bearing coaxiality parameter, is the number of bearing rolling elements, is the accuracy of the rolling element, The index of the scroll body.
3. The rolling bearing assembly optimization method based on improved particle swarm algorithm according to claim 2 is characterized in that: Bearing coaxiality parameters The calculation formula is: , in , , are the distances between the inner circle center, the outer circle center, and the axis center. , is the average of the three distances; Rolling element accuracy The calculation formula is: , in, It represents the distance from a point on the rolling body surface to the center of the rolling body. is the index of the point, It is the average value of the distance from the rolling element surface to the center.
4. The rolling bearing assembly optimization method based on improved particle swarm algorithm according to claim 1 is characterized in that: The method of obtaining the dimension data of all bearing assemblies to be assembled in step S02 includes: S21: performing smoothing filtering, binarization, image enhancement, and edge extraction on the gear target image obtained by the imaging system to obtain the contour information of the bearing; S22: Perform ellipse fitting on the gear target image. The ellipse fitting formula is: , in, is the equation of the ellipse, , are the coordinates of the point, , , , , , are the parameters of the ellipse equation; through the coordinate information of multiple pairs of points in the image, the values of each parameter are solved and finally the complete ellipse fitting equation is obtained; S23: According to the obtained ellipse fitting equation, the precise coordinate information of the center point and each point of each component in the bearing is calculated, and the coaxiality parameters and rolling element accuracy information of the gear are obtained.
5. A rolling bearing assembly optimization system based on improved particle swarm algorithm, characterized in that: include: The target optimization function building module builds the rolling bearing assembly target optimization function based on the bearing coaxiality and rolling element accuracy; The method of establishing the rolling bearing assembly target optimization function includes: Define the bearing assembly quality evaluation function : , in is the natural logarithm constant, is the bearing accuracy parameter; Maximizing the bearing equipment quality evaluation function , the objective optimization function is: , in, , are the number of inner and outer rings and rolling elements of the bearing to be assembled, , The indexes of the inner and outer rings and rolling elements respectively; The parameter calculation module obtains the dimension data of all bearing assemblies to be assembled, and then randomly selects inner rings, outer rings and a corresponding number of rolling elements from them, and calculates the bearing coaxiality and rolling element accuracy of these bearing assemblies; The iterative optimization module uses the improved particle swarm algorithm to iterate and find the optimal solution. According to the optimal solution, the selected components are assembled into a complete bearing. The improved particle swarm algorithm includes: The inertia weight of the particle swarm algorithm is adaptively updated, and the inertia weight is: , in, , denote the maximum and minimum inertia weights, respectively, Indicates the distance between the historical optimal position of the particle and the optimal position of the entire particle swarm; Use Constraint Factor Improve the local search capability of particle swarm algorithm, The calculation formula is: , The improved particle swarm algorithm is: , in, represents the number of iterations, is the particle index, is the index of a dimension in the particle, is the particle velocity vector, Indicates Particle dimensional velocity vector, is the individual learning factor, is the group learning factor, , is a random number, Indicates Particle The historical best position found by the search, represents the optimal position in the entire particle group, No. Particle Wei Zai The position at the iteration.
6. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed, the rolling bearing assembly optimization method based on the improved particle swarm algorithm described in any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Accuracy detector for hollow cylinder rolling body of bearing
CN103471492A
Improved particle swarm algorithm and application thereof
CN103544526A
Cascade reservoir optimal operation method based on adaptive particle swarm optimization algorithm
CN103942612A
Least squares-support vector machine prediction method based on adaptive particle swarm
CN106503788A
Optimization design method of transfer case gear based on improved particle swarm algorithm
CN112395713A
