Sensor angle optimization method, system and device for roundness measurement of workpieces in large rotary equipment based on three-point method error separation
The laser sensor angle is optimized through the differential evolution algorithm, which solves the measurement distortion problem caused by improper angle selection in the three-point method error separation, achieves accurate measurement of workpiece roundness error and improves processing accuracy.
Patent Information
- Application Number
- CN202111517823.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-13
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-12-13
AI Technical Summary
In the existing technology, the three-point error separation method causes distortion of the workpiece roundness error measurement results when the laser sensor angle is improperly selected, making it impossible to achieve accurate measurement.
The differential evolution algorithm is used to optimize the angle arrangement of the laser sensor. The error transfer factor is analyzed through Fourier series to optimize the objective function to obtain the optimal angle. This ensures that the weight function at each order of harmonics is not zero and avoids measurement errors caused by noise amplification. distortion.
It achieves accurate measurement of workpiece roundness error, avoids the reduction in measurement accuracy caused by harmonic suppression and noise amplification, and improves the processing accuracy of large-scale rotary equipment.
Smart Images

Figure CN114330105B
Abstract
Description
Technical Field
[0001] The invention relates to the field of real-time online precision measurement of large rotary equipment, and in particular to the field of angle optimization of laser sensors for roundness measurement of workpieces of large rotary equipment. Background Art
[0002] During the processing of large rotary equipment represented by CNC machine tools, factors such as the rotation error of the spindle system and the reverse clearance of the mechanical transmission device will directly affect the actual processing accuracy of the workpiece. In order to avoid huge economic losses due to unqualified precision during the processing of the workpiece, it is necessary to monitor the workpiece processed by the large rotary equipment in real time during the processing to improve the processing accuracy of the workpiece. For rotating workpieces, the processing roundness error is an important indicator for evaluating the processing accuracy. It is of great significance to achieve accurate measurement and evaluation of the roundness error of the workpiece. However, since the rotation error of the spindle of large rotary equipment and the eccentricity of the workpiece installation will be mixed in when measuring the roundness error, the commonly used error separation technologies such as the reverse method and the multi-step method do not meet the actual online measurement needs. On the contrary, the three-point error separation technology uses three laser sensors to measure simultaneously. After data processing, the separation of various errors can be achieved, which has the characteristics of real-time online measurement.
[0003] The three-point method of error separation is to distribute the three laser displacement sensors around the same cross section of the workpiece to be measured at angles of 0°, α, and β. The original measurement signal is obtained by rotating the spindle one circle, and the measurement signals of the three laser displacement sensors are superimposed with unequal weights to obtain the combined signal S(k) and the harmonic weighted function W(k). Finally, the roundness error is separated by inverse Fourier transform. In the three-point method of roundness error separation, the weight function W(k) has a key influence on the final measurement accuracy. When a certain order of weight function W(k) is zero, the harmonic component of this order in the roundness error will be suppressed, causing distortion of the separation result. At the same time, when the amplitude of a certain order of weight function W(k) is less than 1, the random noise signal in the measurement will be amplified, affecting the measurement accuracy.
[0004] Therefore, improper selection of the laser sensor interval angle in error separation will cause the weight function to be zero at a certain harmonic order, which will cause distortion of the separation result and make it impossible to accurately measure the roundness error of the workpiece. Summary of the invention
[0005] The present invention solves the problem that the separation result is distorted due to improper selection of the interval angle of the laser sensor in error separation, resulting in the inability to accurately measure the roundness error of the workpiece.
[0006] A sensor angle optimization method for roundness measurement of a workpiece of a large rotary equipment based on three-point error separation is provided. Three laser sensors are placed on the same cross section of the workpiece to be measured at angles of 0°, α, and β, respectively, based on the three-point error separation method. The laser sensor angle optimization method includes:
[0007] The distances D1(θ), D2(θ), and D3(θ) of three measurement angles are obtained according to three laser sensors;
[0008] The error transfer factor λ is obtained according to the Fourier series of the distance D1 (θ) of the measured angle k ;
[0009] According to the harmonic order and error transfer factor λ k Get the target optimization function Q k ;
[0010] Angle encoding is performed according to the angle range of the laser sensor arrangement, and the target optimization function Q is used k Fitness calculation is performed, and mutation, crossover and selection processing are performed based on the differential evolution algorithm. The optimal angles α and β of the laser sensor arrangement are obtained according to the number of individual iterations.
[0011] Furthermore, the error transfer factor λ is obtained according to the Fourier series of the distance D1(θ) of the measured angle. k , specifically:
[0012]
[0013] Among them, λ represents the weight coefficient of the distance D2(θ) of the measured angle, μ represents the weight coefficient of the distance D3(θ) of the measured angle, and X K and Y K is the variable of the combination of weight coefficient and arrangement angle;
[0014] Furthermore, the harmonic order and the error transfer factor λ k Get the target optimization function Q k , the objective optimization function Q k Specifically:
[0015]
[0016] Among them, λ k is the error transfer factor of the k-th harmonic.
[0017] Furthermore, the angle encoding is performed according to the sensor arrangement angle range:
[0018] The encoding is to combine the parameters to be optimized into individuals, and the optimization parameters are the layout angles α and β, where the minimum value of the individual value range is Xmin =0, the maximum value is X max =2π;
[0019] The i-th individual x in the t-th generation population i t for:
[0020]
[0021] Furthermore, the objective optimization function Q k Perform fitness calculation, the fitness function is:
[0022]
[0023] Furthermore, the mutation processing based on the differential evolution algorithm is specifically as follows:
[0024]
[0025] Among them, r1, r2, r3 are the angles of each individual x i t Randomly generated integers, where r1, r2, r3∈[1, N] and are not equal to i, v i t For individual variation angles.
[0026] Furthermore, the cross processing is specifically as follows:
[0027]
[0028] Where randn(i)∈[1,D], rand(j) is a random real number in [0,1], CR is a crossover probability factor constant, which is generally limited to the range [0,1]; Individuals produced by mutation and crossover; is the variation angle individual of the t-th generation population; is the angle individual of the t-th generation population.
[0029] Furthermore, the selection process is specifically as follows:
[0030] The selection process using differential evolution algorithm adopts greedy selection:
[0031]
[0032] in,, is the best individual selected from the t-th generation population; is the fitness of the individuals generated by the mutation crossover of the t-th generation population; The fitness of the angle individual of the tth generation population, f is the fitness calculation function Q k .
[0033] The present invention provides a sensor angle optimization system for roundness measurement of workpieces of large rotary equipment based on three-point error separation. Based on the three-point error separation method, three laser sensors are placed on the same cross section of the workpiece to be measured at angles of 0°, α, and β, respectively. The laser sensor arrangement optimization system comprises:
[0034] A distance acquisition unit for measuring angles, used for acquiring distances D1 (θ), D2 (θ), and D3 (θ) of three measuring angles according to three laser sensors;
[0035] Error transfer factor λ k An acquisition unit, configured to obtain an error transfer factor λ according to the Fourier series of the distance D1(θ) of the measured angle k ;
[0036] Objective optimization function Q k The acquisition unit is used to obtain the target optimization function Q according to the harmonic order and error transfer k ;
[0037] An angle encoding unit, used for performing angle encoding according to the arrangement angle range of the laser sensor;
[0038] Fitness calculation unit, used to optimize the function Q according to the target k Perform fitness calculation;
[0039] A processing unit, used for performing mutation processing, crossover processing and selection processing based on a differential evolution algorithm;
[0040] The laser sensor arrangement optimal angle acquisition unit is used to obtain the laser sensor arrangement optimal angles α and β according to the number of individual iterations.
[0041] The present invention provides a sensor angle optimization device for roundness measurement of a workpiece of a large rotary device based on three-point method error separation, comprising:
[0042] one or more processors;
[0043] Memory; and
[0044] One or more programs, wherein one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs including instructions for executing a sensor angle optimization method in roundness measurement of workpieces of large rotary equipment based on three-point method error separation as described in any one of the above steps.
[0045] The advantages of the present invention are:
[0046] (1) Based on the factors affecting the error, the laser sensor used in the online measurement of workpieces processed by large rotary equipment is taken as the analysis object. The differential evolution algorithm is introduced into the angle optimization of the laser sensor, and the error transfer factor λ is analyzed by the Fourier series expansion of the circular contour signal. k , and uses it as the fitness function to select the optimal layout angle. The optimal angle of this method minimizes the objective function value of the error transfer factor, which ensures that the weight function at each harmonic is not zero, avoiding the harmonic suppression phenomenon, and at the same time avoids the amplification of noise, further suppressing noise interference and ensuring the precise measurement of the roundness error of the workpiece processed by large rotary equipment and the spindle rotation error.
[0047] (2) The laser sensor angle optimization method of the present invention has a simple processing flow, and the optimal angle is selected accurately and in a short time.
[0048] (3) The existing three-point method error separation uses a particle swarm algorithm to select the angle, while the present invention uses a differential evolution algorithm, which is more stable and avoids falling into a local optimal solution.
[0049] (4) The laser sensor angle optimization method of the present invention obtains the optimal angles α and β of the laser sensor arrangement according to the number of individual iterations, avoids the problem of improper selection of laser sensor interval angles in the three-point method error separation, ensures the authenticity of the separation results, and ensures that the roundness error of the workpiece processed by large-scale rotary equipment can be accurately measured.
[0050] The present invention is applicable to the field of angle optimization of online measuring equipment for workpieces processed by large-scale rotary equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 It is a flow chart of the sensor angle optimization method in the roundness measurement of a workpiece of a large rotary equipment based on the three-point method error separation according to the present invention;
[0052] Figure 2 This is an iterative effect diagram of the differential evolution algorithm described in the present invention;
[0053] Figure 3 This is the weight function amplitude diagram described in the present invention. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments.
[0055] Example 1, see Figure 1The present embodiment is described in the present embodiment. The sensor angle optimization method in the roundness measurement of a workpiece of a large rotary equipment based on the three-point method error separation is based on the three-point method error separation method. Three laser sensors are placed on the same cross section of the workpiece to be measured at angles of 0°, α, and β, respectively. The laser sensor angle optimization method includes:
[0056] The distances D1(θ), D2(θ), and D3(θ) of the measured angles are obtained according to the three laser sensors;
[0057] The error transfer factor λ is obtained according to the Fourier series of the distance D1 (θ) of the measured angle k ;
[0058] Obtain the target optimization function Q based on the harmonic order and error transfer k ;
[0059] Angle encoding is performed according to the angle range of the laser sensor arrangement, and the target optimization function Q is used k Fitness calculation is performed, and mutation, crossover and selection processing are performed based on the differential evolution algorithm. The optimal angles α and β of the laser sensor are obtained according to the number of individual iterations.
[0060] In this embodiment, the distance D1 (θ) of the measured angle refers to the distance of the sensor with an angle of 0°, the distance D2 (θ) of the measured angle refers to the distance of the sensor with an angle of 0°, and the distance D3 (θ) of the measured angle refers to the distance of the sensor with an angle of 0°. The distance of the measured angle refers to the distance between the sensor probe and the workpiece being measured.
[0061] The optimal arrangement angle obtained by this method can not only reduce the noise amplification, suppress noise interference and ensure the measurement accuracy, but also the amplitude of each order harmonic of the measurement signal under the optimal arrangement angle is not 0, which can effectively avoid the harmonic suppression phenomenon. Therefore, this method is of great significance in ensuring the accurate measurement of the roundness of workpieces in the online measurement of workpieces processed by large rotary equipment.
[0062] Example 2, see Figure 1 This embodiment further defines the sensor angle optimization method for roundness measurement of workpieces of large rotary equipment based on three-point method error separation described in the first embodiment, wherein the error transfer factor λ is obtained according to the Fourier series of the distance D1 (θ) of the measured angle. k , the specific way to obtain it is:
[0063] The distance D1(θ) of the measured angle is expanded into a Fourier series:
[0064]
[0065] Where D0 is the DC component of D1(θ) measuring the angular distance, k is the harmonic order; A k is the cosine coefficient of the k-order harmonic of the Fourier expansion of the actual measured angle distance D1(θ), B k It is the sine coefficient of the k-order harmonic of the Fourier expansion of the distance D1(θ) of the actual measured angle.
[0066] When performing three-point error separation, the distances of the three measured angles D1(θ), D2(θ) and D3(θ) need to be multiplied by the weight coefficients 1, λ and μ respectively to perform unequal weight combination to obtain the combined signal:
[0067] C(θ)=V(θ)+λV(θ+α)+μV(θ+β)
[0068] Expand the combined signal C(θ) into a Fourier series:
[0069]
[0070] Among them, λ represents the weight coefficient of the distance D2(θ) of the measured angle, μ represents the weight coefficient of the distance D3(θ) of the measured angle, and X K and Y K is the variable of the combination of weight coefficient and arrangement angle;
[0071] Among them, X k With Y k They are:
[0072]
[0073] C(θ) can also be expanded as:
[0074]
[0075] A k With B k They are:
[0076]
[0077] A k With B k Performing total differentiation yields:
[0078]
[0079] Among them, Δ(A k ) represents the A caused by measurement error k Error, Δ(B k ) represents the B caused by measurement error k Error; Δ(M k ) and Δ(N k) represents the measurement error of the distance D1(θ), D2(θ), and D3(θ) of the three measurement angles; Δ(X k ) and Δ(Y k ) represents the measurement error of the combined angle of α and β.
[0080] When the sensor measurement variance is σ 2 When the kth harmonic is introduced into A k With B k The measurement error variance is:
[0081]
[0082] Error transfer factor λ k for:
[0083]
[0084] In this embodiment, the error transfer factor λ k Its function is to evaluate the transmission and amplification effect of the noise signal in the measurement at different angles.
[0085] Example 3, see Figure 1 This embodiment further defines the sensor angle optimization method for roundness measurement of workpieces of large rotary equipment based on three-point method error separation described in the first embodiment. The target optimization function Q is obtained according to the harmonic order and error transfer. k , the objective optimization function Q k Specifically:
[0086]
[0087] Among them, λ k is the error transfer factor of the k-th harmonic.
[0088] In this embodiment, the role of the target optimization function is to obtain the optimization result through the optimization process.
[0089] Example 4, see Figure 1 This embodiment further defines the sensor angle optimization method for roundness measurement of workpieces of large rotary equipment based on three-point method error separation described in the first embodiment, wherein the angle encoding is performed according to the sensor arrangement angle range:
[0090] The encoding is to combine the parameters to be optimized into individuals, and the optimization parameters are the layout angles α and β, where the minimum value of the individual value range is X min =0, the maximum value is X max =2π;
[0091] The i-th individual x in the t-th generation population i tfor:
[0092]
[0093] In this embodiment, the angle encoding serves as the initial population for production optimization.
[0094] Example 5, see Figure 1 This embodiment further defines the sensor angle optimization method for roundness measurement of workpieces of large rotary equipment based on three-point method error separation described in the first embodiment. k Perform fitness calculation, the fitness function is:
[0095]
[0096] In this embodiment, the fitness function is used to measure the quality of individuals in the population.
[0097] Example 6, see Figure 1 This embodiment further defines the sensor angle optimization method for roundness measurement of workpieces of large rotary equipment based on three-point method error separation described in the first embodiment, and the mutation processing based on differential evolution algorithm is specifically as follows:
[0098]
[0099] Among them, r1, r2, r3 are the angles of each individual x i t Randomly generated integers, where r1, r2, r3∈[1, N] and are not equal to i, v i t For individual variation angles.
[0100] In this embodiment, the individual points at each angle are changed through variation processing.
[0101] Example 7, see Figure 1 This embodiment further defines the sensor angle optimization method for roundness measurement of workpieces of large rotary equipment based on three-point method error separation described in the first embodiment, and the cross processing is specifically as follows:
[0102]
[0103] Where randn(i)∈[1,D], rand(j) is a random real number in [0,1], CR is a crossover probability factor constant, which is generally limited to the range [0,1]; Individuals produced by mutation and crossover; is the variation angle individual of the t-th generation population; is the angle individual of the t-th generation population.
[0104] Example 8, see Figure 1 and Figure 2 This embodiment further defines the sensor angle optimization method for roundness measurement of workpieces of large rotary equipment based on three-point method error separation described in the first embodiment. The selection process is specifically as follows:
[0105] The selection process using differential evolution algorithm adopts greedy selection:
[0106]
[0107] in, is the best individual selected from the t-th generation population; is the fitness of the individuals generated by the mutation crossover of the t-th generation population; The fitness of the angle individual of the tth generation population, f is the fitness calculation function Q k .
[0108] In this embodiment, the optimization of the sensor interval angle is achieved by greedy selection and continuous updating of population individuals.
[0109] In order to verify the feasibility of the differential evolution algorithm for angle optimization, the individual dimension D = 2, the population size N = 20, the mutation factor F = 0.5, the crossover factor CR = 0.1, and the maximum number of iterations G = 500 were set for simulation verification. The optimization results are shown in Figure 2 As shown, according to Figure 2 It can be seen that after a certain number of iterations, the amplitude of the objective function remains stable, and the optimal angles α = 27.11° and β = 60.25°.
[0110] The weight function is performed according to the optimal angles α = 27.11° and β = 60.25° The results are as follows Figure 3 As shown in the figure, the amplitude of each harmonic is not 0, which effectively avoids the harmonic suppression phenomenon. At the same time, the amplitude of most harmonics is greater than 1, which reduces the amplification of noise, reduces its influence, and ensures the measurement accuracy.
[0111] Embodiment 9. This embodiment provides a sensor angle optimization system for roundness measurement of workpieces of large rotary equipment based on three-point error separation. Based on the three-point error separation method, three laser sensors are placed on the same cross section of the workpiece to be measured at angles of 0°, α, and β, respectively. The laser sensor angle optimization system includes:
[0112] A distance acquisition unit for measuring angles, used for acquiring distances D1 (θ), D2 (θ), and D3 (θ) of three measuring angles according to three laser sensors;
[0113] Error transfer factor λ k An acquisition unit, configured to obtain an error transfer factor λ according to the Fourier series of the distance D1(θ) of the measured angle k ;
[0114] Objective optimization function Q k The acquisition unit is used to obtain the target optimization function Q according to the harmonic order and error transfer k ;
[0115] An angle encoding unit, used for performing angle encoding according to the arrangement angle range of the laser sensor;
[0116] Fitness calculation unit, used to optimize the function Q according to the target k Perform fitness calculation;
[0117] A processing unit, used for performing mutation processing, crossover processing and selection processing based on a differential evolution algorithm;
[0118] The laser sensor arrangement optimal angle acquisition unit is used to obtain the laser sensor arrangement optimal angles α and β according to the number of individual iterations.
[0119] Embodiment 10: This embodiment provides a sensor angle optimization device for roundness measurement of workpieces of large rotary equipment based on three-point method error separation, comprising:
[0120] one or more processors;
[0121] Memory; and
[0122] One or more programs, wherein one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs including instructions for executing a sensor angle optimization method in roundness measurement of workpieces of large rotary equipment based on three-point method error separation as described in any one of the above steps.
Claims
1. Sensor angle optimization method for roundness measurement of workpiece in large rotary equipment based on three-point error separation. Based on the three-point error separation method, three laser sensors are respectively placed at angles of 0°, α , β Placed on the same section of the workpiece being measured, it is characterized by: The laser sensor angle optimization method comprises: Get the distance of three measurement angles based on three laser sensors D 1( θ ), D 2( θ ), D 3 ( θ ); The distance according to the measured angle D 1( θ ) to obtain the error transfer factor λ k ; According to the harmonic order and error transfer factor λ k Get the target optimization function Q k ; Angle encoding is performed according to the angle range of the laser sensor arrangement, and the target optimization function is Q k Perform fitness calculation, perform mutation processing, crossover processing and selection processing based on differential evolution algorithm, and obtain the optimal angle of laser sensor layout according to the number of individual iterations α , β .
2. The sensor angle optimization method in roundness measurement of workpieces of large rotary equipment based on three-point method error separation according to claim 1 is characterized in that: The distance according to the measured angle D 1( θ ) to obtain the error transfer factor λ k , specifically: , in, Indicates the distance at which the angle is measured D 2( θ ), Indicates the distance at which the angle is measured D 3 ( θ ), and A variable that is a combination of weight coefficient and layout angle.
3. The sensor angle optimization method in roundness measurement of workpiece of large rotary equipment based on three-point method error separation according to claim 1 is characterized in that: The harmonic order and error transfer factor λ k Get the target optimization function Q k , the objective optimization function Q k Specifically: , in, k for k The error transfer factor of the 1st order harmonic.
4. The sensor angle optimization method in roundness measurement of large rotary equipment workpiece based on three-point method error separation according to claim 1 is characterized in that: The angle encoding is performed according to the angle range of the laser sensor arrangement: The encoding is a combination of parameters to be optimized into individuals, and the optimization parameter is the layout angle α , β , where the individual value range is X min =0, X max =2π; No. t The first generation of the population i individual x i t for: 。 5. The sensor angle optimization method in roundness measurement of workpiece of large rotary equipment based on three-point method error separation according to claim 1 is characterized in that: The objective optimization function Q k Perform fitness calculation, the fitness function is:
6. The sensor angle optimization method in roundness measurement of large rotary equipment workpiece based on three-point method error separation according to claim 1 is characterized in that: The mutation processing based on the differential evolution algorithm is specifically as follows: , in, r 1. r 2. r 3 for each angle individual x i t A randomly generated integer, where r 1. r 2. r 3∈[1, N ] and i Not equal to each other, v i t For individual variation angles.
7. The sensor angle optimization method in roundness measurement of workpiece of large rotary equipment based on three-point method error separation according to claim 1 is characterized in that: The cross processing is specifically as follows: , in, randn ( i )∈[1,D], rand ( j ) is a random real number in [0,1], CR is the crossover probability factor constant, limited to the range of [0, 1]; Individuals produced by mutation and crossover; For the t The variation angle of the generation population individuals; For the t Individuals from the perspective of a generation population.
8. The sensor angle optimization method in roundness measurement of workpieces of large rotary equipment based on three-point method error separation according to claim 1 is characterized in that: The selection process is specifically as follows: The selection process using differential evolution algorithm adopts greedy selection: , in, For the t The best individual is selected from the population; For the t The fitness of individuals produced by the mutation and crossover of the generation population; No. t The fitness of individuals from the perspective of the population, f This is the fitness calculation function Q k .
9. Sensor angle optimization system for roundness measurement of workpiece in large rotary equipment based on three-point error separation. Based on the three-point error separation method, three laser sensors are respectively set at angles of 0°, α , β Placed on the same section of the workpiece being measured, it is characterized by: The laser sensor arrangement optimization system comprises: The distance acquisition unit of the measuring angle is used to acquire the distances of the three measuring angles according to the three laser sensors. D 1( θ ), D 2( θ ), D 3 ( θ ); Error Transfer Factor λ k An acquisition unit is used to obtain a distance according to the measured angle D 1( θ ) to obtain the error transfer factor λ k ; Objective Optimization Function Q k Acquisition unit, used to obtain the target optimization function according to the harmonic order and error transfer Q k ; An angle encoding unit, used for performing angle encoding according to the arrangement angle range of the laser sensor; Fitness calculation unit, used to optimize the function according to the target Q k Perform fitness calculation; A processing unit, used for performing mutation processing, crossover processing and selection processing based on a differential evolution algorithm; The laser sensor arrangement optimal angle acquisition unit is used to obtain the optimal angle of the laser sensor arrangement according to the number of individual iterations. α , β .
10. A sensor angle optimization device for roundness measurement of workpieces of large rotary equipment based on three-point method error separation, characterized in that: include: one or more processors; Memory; as well as One or more programs, wherein one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs including instructions for executing the sensor angle optimization method in the roundness measurement of workpieces of large rotary equipment based on three-point method error separation as described in any one of claims 1-8.
