Aircraft shape scanning error correction method, device, equipment and medium
By calculating and comparing the second-order slope values, the scanning error in the structured light measurement method is corrected, the accuracy and repeatability of the aircraft shape measurement are improved, and the problem of low measurement accuracy in the existing technology is solved.
Patent Information
- Application Number
- CN202311171405.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-12
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2043-09-12
AI Technical Summary
Existing structured light measurement methods have errors when scanning the aircraft shape, resulting in low measurement accuracy and limiting the improvement of measurement accuracy and repeatability.
By obtaining the theoretical fringe modulation curve and the actual fringe modulation curve, calculate the theoretical value and the actual value of the second-order slope, compare them to obtain the actual scanning step, correct the error caused by the scanning step, and improve the measurement accuracy.
The scanning error correction in the structured light measurement method is realized, and the accuracy and repeatability of aircraft shape measurement are improved.
Smart Images

Figure CN117168357B
Abstract
Description
Technical Field
[0001] The present application relates to the field of optical measurement technology, and in particular to a method, device, equipment and medium for correcting aircraft shape scanning errors. Background Art
[0002] Non-contact optical measurement methods are widely used in the fields of aircraft inspection and three-dimensional measurement of aircraft surface due to their non-destructive, high-precision and high-efficiency characteristics. The current mainstream optical measurement methods for aircraft surface mainly include binocular vision measurement, optical coherence measurement, structured light measurement, etc. The binocular vision measurement method uses two cameras to capture the characteristic images of the same area and simulates the principle of binocular depth estimation of the human eye to achieve three-dimensional measurement. This method has strong adaptability and a wide range of application scenarios, but the measurement process involves camera calibration, image stereo matching, spatial coordinate system conversion and other steps, which are complex to solve and easy to introduce unnecessary errors. In addition, it is a triangulation method that is easily affected by shadows. The optical coherence measurement method uses dual-beam interference to achieve depth solution through the mapping relationship between the phase difference of the interference light field and the optical path difference. This method has extremely high accuracy, but there are problems such as phase blur, and it is difficult to measure rough surfaces.
[0003] The structured light measurement method uses the principle that the fringe modulation information is sensitive to the change of the object height information to realize the mapping from the fringe modulation to the height information, thereby restoring the three-dimensional shape of the object. This method has a simple measurement system, belongs to coaxial measurement, avoids the problem of shadow occlusion, and can be used to measure the area where smooth and rough surfaces coexist. Therefore, it is considered to be a very promising measurement method and has good application prospects in the field of aircraft surface shape measurement. However, in the current structured light measurement method, there is still the problem of errors caused by the scanning system, which limits the further improvement of measurement accuracy and repeatability. Summary of the invention
[0004] The main purpose of the present application is to provide a method, device, equipment and medium for correcting aircraft shape scanning errors, aiming to solve the technical problem that the existing structured light measurement method has certain errors when scanning the aircraft shape and the measurement accuracy is low.
[0005] To achieve the above objectives, the present application provides a method for correcting aircraft shape scanning errors, comprising the following steps:
[0006] Obtain a theoretical fringe modulation curve corresponding to the scanned surface to be measured;
[0007] According to the theoretical fringe modulation curve, a second-order slope theoretical value is obtained;
[0008] Obtaining an actual fringe modulation curve corresponding to scanning the surface to be measured; wherein the actual fringe modulation curve is obtained by scanning and measuring the surface to be measured by a preset optical measurement system;
[0009] According to the actual fringe modulation curve, obtaining the actual value of the second-order slope;
[0010] The actual value of the second-order slope is compared with the theoretical value of the second-order slope to obtain an actual scanning step.
[0011] Optionally, the step of obtaining an actual fringe modulation curve corresponding to scanning the surface to be measured includes:
[0012] Controlling the optical measurement system to scan and measure the surface to be measured to obtain a plurality of imaging pictures;
[0013] Processing the plurality of imaging pictures, and vertically extracting light intensity curves of pixels corresponding to the imaging pictures;
[0014] The pixel point light intensity curve is processed to obtain an actual fringe modulation curve.
[0015] Optionally, the processing the pixel point light intensity curve to obtain an actual fringe modulation curve includes:
[0016] Performing Fourier transform on the pixel light intensity curve can yield:
[0017] F(ξ)=F -1 (ξ)+F 0 (ξ)+F 1 (ξ)
[0018] In the formula, F 0 (ξ) represents the zero-frequency information of the light intensity spectrum, F -1 (ξ) and F 1 (ξ) all represent the fundamental frequency information of the light intensity spectrum; wherein the fundamental frequency information includes the fringe modulation information;
[0019] filtering the baseband information;
[0020] The filtered baseband information is subjected to inverse Fourier transform and modulo to obtain the fringe modulation degree M. actual , then the actual fringe modulation curve is obtained.
[0021] Optionally, the optical measurement system comprises an imaging system, a first lens, a beam splitter and a lens arranged in sequence from top to bottom, the lens is used to image the surface to be measured, a second lens is provided on one side of the beam splitter, a micromirror array is provided on one side of the second lens, a white light source is provided on one side of the micromirror array, the micromirror array is used to diffract the white light source and generate sinusoidal grating fringes, and the grating image passes through the second lens and the beam splitter;
[0022] The controlling the optical measurement system to scan and measure the surface to be measured to obtain a plurality of imaging pictures includes:
[0023] Controlling the surface to be measured to be within the focal depth range of the lens;
[0024] Control the lens to move along a first direction at a preset step length, and control the micromirror array to switch to sinusoidal grating stripes with a corresponding phase difference for scanning imaging at each step; wherein the first direction is the direction in which the surface to be measured is away from the focal depth range of the lens;
[0025] The step of controlling the lens to move along the first direction at a preset step length is repeated until the surface to be measured is outside the focal depth range of the lens, so as to obtain a plurality of imaging pictures.
[0026] Optionally, controlling the surface to be measured to be within the focal depth range of the lens includes:
[0027] Controlling and adjusting the incident angle of the white light source on the micromirror array;
[0028] Controlling and adjusting the inclination angle of the micromirror array to generate sinusoidal grating fringes required for measurement;
[0029] Controlling the lens to align with the surface to be measured, and controlling the lens to move longitudinally, so that the surface to be measured is clearly visible in the imaging system;
[0030] Controlling and adjusting the relative position between the lens and the surface to be measured so that the surface to be measured is located at the center of the imaging system;
[0031] The sinusoidal grating stripes are controlled to be projected onto the surface to be measured, and the lens is controlled to move in a second direction until the surface to be measured is within the focal depth range of the lens; wherein the second direction is the direction in which the surface to be measured is close to the focal depth range of the lens.
[0032] Optionally, the expression of the theoretical fringe modulation curve is:
[0033]
[0034] Where M represents the fringe modulation, z represents the longitudinal scanning distance, and z focus represents the focal distance, z R represents the Rayleigh length, where n represents the refractive index of the medium, λ represents the central wavelength of the light source, NA represents the numerical aperture of the lens, and f 0 represents the spatial frequency of the projected grating fringe, f c represents the cutoff frequency of the optical measurement system, J 1 Represents the Bezier curve equation of the first kind.
[0035] Optionally, obtaining a second-order slope theoretical value according to the theoretical fringe modulation curve includes:
[0036] A longitudinal response curve of the sinusoidal grating stripes as the longitudinal scanning distance z changes is obtained, and the expression of the longitudinal response curve is:
[0037]
[0038] Where M max represents the maximum value of fringe modulation, e is a constant, where Z = Z position ×Δz, Δz represents the longitudinal scanning step, Z position represents the scanning position, k represents the optical measurement system parameter, FWHM represents the half width of the adjustment curve, and FWHM is a constant;
[0039] The longitudinal response curve is plotted with respect to Z position Solve the second-order partial differential of to obtain the second-order slope theoretical value K'. The expression of K' is as follows:
[0040]
[0041] Where c is a constant.
[0042] To achieve the above-mentioned purpose, the present application also provides an aircraft shape scanning error correction device, comprising:
[0043] The first acquisition module is used to acquire a theoretical fringe modulation curve corresponding to the scanned surface to be measured;
[0044] A second acquisition module is used to obtain a second-order slope theoretical value according to the theoretical fringe modulation curve;
[0045] A third acquisition module is used to acquire an actual fringe modulation curve corresponding to scanning the surface to be measured; wherein the actual fringe modulation curve is acquired by scanning and measuring the surface to be measured by a preset optical measurement system;
[0046] A fourth acquisition module, used for obtaining an actual value of a second-order slope according to the actual fringe modulation curve;
[0047] The fifth acquisition module is used to compare the actual value of the second-order slope with the theoretical value of the second-order slope to obtain an actual scanning step.
[0048] To achieve the above objectives, the present application also provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above method.
[0049] To achieve the above objectives, the present application also provides a computer-readable storage medium, on which a computer program is stored, and a processor executes the computer program to implement the above method.
[0050] The beneficial effects that this application can achieve are as follows:
[0051] The present application first calculates the second-order slope theoretical value according to the theoretical fringe modulation curve, and then scans and measures the surface to be measured of the aircraft through the corresponding optical measurement system, so as to calculate the actual value of the second-order slope corresponding to the actual fringe modulation curve. When the parameters of the optical measurement system are determined, the second-order slope theoretical value is a constant. By comparing the second-order slope theoretical value with the second-order slope actual value, the longitudinal scanning step can be accurately obtained, and the height mapping error introduced by the inaccurate scanning step can be corrected, thereby realizing the correction of the scanning error, and further improving the measurement accuracy of the structured light measurement method in scanning the aircraft shape. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the prior art description. In all drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.
[0053] Figure 1 A schematic diagram of a flow chart of a method for correcting an aircraft shape scanning error in an embodiment of the present application;
[0054] Figure 2 is a schematic structural diagram of an optical measurement system in an embodiment of the present application;
[0055] Figure 3 Schematic diagram of sinusoidal grating fringes with corresponding phase differences obtained in an embodiment of the present application;
[0056] Figure 4 Schematic diagram of scanning step error obtained in an embodiment of the present application.
[0057] Reference numerals:
[0058] 1- white light source, 2- micromirror array, 3- second lens, 4- imaging system, 5- first lens, 6- beam splitter, 7- lens, 8- surface to be measured.
[0059] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0060] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions 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. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0061] It should be noted that all directional indications in the embodiments of the present application (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components in a certain specific posture. If the specific posture changes, the directional indication will also change accordingly.
[0062] In this application, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0063] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the meaning of "and / or" appearing in the full text includes three parallel schemes. Taking "A and / or B" as an example, it includes scheme A, or scheme B, or a scheme that satisfies both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in the field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0064] Example
[0065] Reference Figure 1-Figure 4 , this embodiment provides a method for correcting aircraft shape scanning errors, comprising the following steps:
[0066] Step S100: obtaining a theoretical fringe modulation curve corresponding to scanning the surface to be measured;
[0067] Step S200: obtaining a second-order slope theoretical value according to the theoretical fringe modulation curve;
[0068] Step S300: obtaining an actual fringe modulation curve corresponding to scanning the surface to be measured; wherein the actual fringe modulation curve is obtained by scanning and measuring the surface to be measured by a preset optical measurement system;
[0069] Step S400: obtaining an actual value of a second-order slope according to the actual fringe modulation curve;
[0070] Step S500: Compare the actual value of the second-order slope with the theoretical value of the second-order slope to obtain an actual scanning step.
[0071] In this embodiment, the second-order slope theoretical value is first calculated according to the theoretical fringe modulation curve, and then the measured surface of the aircraft is scanned and measured by the corresponding optical measurement system to obtain the actual second-order slope actual value corresponding to the actual fringe modulation curve. When the parameters of the optical measurement system are determined, the second-order slope theoretical value is a constant. By comparing the second-order slope theoretical value with the second-order slope actual value, the longitudinal scanning step can be accurately acquired, and the height mapping error introduced by the inaccurate scanning step can be corrected, thereby realizing the correction of the scanning error, and further improving the measurement accuracy of the structured light measurement method in aircraft shape scanning.
[0072] It should be noted that since this embodiment scans and measures the surface to be measured of the aircraft shape based on the structured light measurement method, compared with the binocular vision measurement method, this method is simple to solve and does not have problems such as shadow occlusion; compared with the optical coherence measurement method, this method uses fringe modulation information for height solution, avoids the problem of phase ambiguity, and can be applied to rough surface measurement; at the same time, compared with the traditional structured light measurement method used in aircraft shape measurement, it realizes the correction of scanning errors, further improving the measurement accuracy and repeatability.
[0073] As an optional implementation, the step S300: obtaining an actual fringe modulation curve corresponding to scanning the surface to be measured, includes:
[0074] Step S310: controlling the optical measurement system to scan and measure the surface to be measured to obtain a plurality of imaging pictures;
[0075] Step S320: Processing the plurality of imaging pictures, and vertically extracting the light intensity curves of the pixels corresponding to the imaging pictures;
[0076] Step S330: Processing the pixel point light intensity curve to obtain an actual fringe modulation curve.
[0077] In this embodiment, when obtaining the actual fringe modulation curve, the surface to be measured is first scanned and measured by an optical measurement system to obtain multiple imaging pictures and process them, and the pixel point intensity curve corresponding to the imaging picture is longitudinally extracted and processed to obtain the actual fringe modulation curve.
[0078] It should be noted that the imaging images can be processed using synchronized phase shifting technology, which is also called instantaneous phase shifting. Multiple interference patterns with different phase shift amounts can be obtained at the same time, overcoming the shortcoming that ordinary phase shift interference cannot be observed in real time. This is an existing technology and will not be described in detail here.
[0079] As an optional implementation, the step S330: processing the pixel point light intensity curve to obtain an actual fringe modulation curve includes:
[0080] Step S331: Perform Fourier transform on the pixel light intensity curve to obtain:
[0081] F(ξ)=F -1 (ξ)+F 0 (ξ)+F 1 (ξ)
[0082] In the formula, F 0 (ξ) represents the zero-frequency information of the light intensity spectrum, F -1 (ξ) and F 1 (ξ) all represent the fundamental frequency information of the light intensity spectrum; wherein the fundamental frequency information includes the fringe modulation information;
[0083] Step S332: filtering the baseband information;
[0084] Step S333: Perform inverse Fourier transform on the filtered baseband information and take the modulus to obtain the fringe modulation degree M. actual , then the actual fringe modulation curve is obtained.
[0085] In this embodiment, the actual fringe modulation curve corresponding to the pixel point can be obtained by performing Fourier transform, filtering, inverse Fourier transform and other operations on the pixel point light intensity curve. actual The second-order slope is the actual value of the second-order slope, which ensures the accuracy of the data.
[0086] As an optional implementation, the optical measurement system includes an imaging system 4, a first lens 5, a beam splitter 6 and a lens 7 arranged in sequence from top to bottom, the lens 7 is used to image the surface to be measured 8, a second lens 3 is provided on one side of the beam splitter 6, a micromirror array 2 is provided on one side of the second lens 3, a white light source 1 is provided on one side of the micromirror array 2, the micromirror array 2 is used to diffract the white light source 1 and generate sinusoidal grating fringes, and the grating image passes through the second lens 3 and the beam splitter 6;
[0087] The step S310: controlling the optical measurement system to scan and measure the surface to be measured to obtain a plurality of imaging pictures, includes:
[0088] Step S311: controlling the surface to be measured 8 to be within the focal depth range of the lens 7;
[0089] Step S312: Control the lens 7 to move along a first direction with a preset step length, and control the micromirror array 2 to switch to sinusoidal grating stripes with a corresponding phase difference for scanning imaging at each step; wherein the first direction is a direction in which the surface to be measured 8 is away from the focal depth range of the lens 7;
[0090] Step S313: Repeat the step of controlling the lens 7 to move along the first direction at a preset step length until the surface to be measured 8 is outside the focal depth range of the lens 7, so as to obtain a plurality of imaging pictures.
[0091] In this embodiment, in combination with an optical measurement system with a specific structural form, the surface 8 to be measured is first adjusted to be within the focal depth range of the lens 7 (which can be achieved by adjusting the positional relationship between the lens 7 and the surface 8 to be measured), so as to facilitate positioning of the target area of the surface 8 to be measured in the XY plane, so as to avoid increasing the measurement time complexity, and then the lens 7 is controlled to move along the first direction with a preset step length, and the micromirror array 2 is controlled to switch to sinusoidal grating stripes with a corresponding phase difference for each step of movement, and a measurement mode is performed synchronously by scanning and phase shifting, and the scanning position and the phase shift stripes correspond one to one. Each time the lens 7 is moved longitudinally to reach a scanning position, the micromirror array 2 synchronously switches a stripe pattern with a certain phase difference, and the operation is cyclically operated until the scanning is completed. The advantages of multi-step phase shift technology and Fourier technology are combined, so that the synchronous scanning phase shift technology can be used for modulation and demodulation, and at the same time, only one imaging picture is required for each scanning position, thereby ensuring measurement accuracy and efficiency.
[0092] It should be noted that, based on a specific optical measurement system, the white light source 1 is used to provide a light source for the optical measurement system, the micromirror array 2 can diffract the white light source 1 and generate sinusoidal grating fringes, the micromirror array 2 (DMD) is based on semiconductor manufacturing technology, and is composed of a high-speed digital light reflection switch array. The imaging image and its characteristics are determined by controlling the rotation of the micromirror around a fixed (yoke) and the time domain response. The DMD and the surface to be measured 8 are in a conjugate position of the optical measurement system. Different DMDs require different light field incident angles to work properly, and need to be placed at a suitable angle according to the DMD model used in the optical measurement system; the first lens 5 and the second lens 3 Tube lens (i.e., tube lens) can be used. Tube lens is used in combination with objective lens in the microscope body. The two are combined to make a very perfect correction of the aberration of the objective lens, and the field of view of the objective lens is quite wide, which is about 40% larger than the field of view of the traditional objective lens; the beam splitter 6 is arranged at 45°, and the beam splitter 6 is an optical component used to split the incident light into two different light beams at a specified ratio; when controlling the movement of the lens 7, the lens 7 can be equipped with a lifting device driven by a servo motor for longitudinal adjustment. The servo motor is driven by the host computer control program. When the lens 7 needs to be moved longitudinally, a control instruction is input to drive the servo motor to work.
[0093] As an optional implementation manner, the step S311: controlling the surface to be measured 8 to be within the focal depth range of the lens 7 includes:
[0094] Step S3111: controlling and adjusting the incident angle of the white light source 1 on the micromirror array 2;
[0095] Step S3112: controlling and adjusting the inclination angle of the micromirror array 2 to generate sinusoidal grating fringes required for measurement;
[0096] Step S3113: controlling the lens 7 to align with the surface to be measured 8, and controlling the lens 7 to move longitudinally, so that the surface to be measured 8 is clearly visible in the imaging system 4;
[0097] Step S3114: controlling and adjusting the relative position of the lens 7 and the surface to be measured 8 so that the surface to be measured 8 is located at the center of the imaging system 4;
[0098] Step S3115: Control the sinusoidal grating stripes to be projected onto the surface to be measured 8, and control the lens 7 to move in a second direction until the surface to be measured 8 is within the focal depth range of the lens 7; wherein the second direction is the direction in which the surface to be measured 8 is close to the focal depth range of the lens 7.
[0099] In this embodiment, the incident angle of the white light source 1 on the micromirror array 2 is first controlled (set according to the measurement requirements), and the inclination angle of the micromirror array 2 can be controlled by the host computer program to generate the sinusoidal grating stripes required for measurement, and then the lens 7 is controlled to move longitudinally until the surface 8 to be measured is clearly visible in the imaging system 4. Finally, the position of the lens 7 is adjusted and moved, so that the surface 8 to be measured is finally within the focal depth range of the lens 7.
[0100] It should be noted that, in this embodiment, the inclination angle of the micromirror array 2 and the position adjustment of the lens 7 can be automatically controlled by a host computer control program.
[0101] As an optional implementation, the expression of the theoretical fringe modulation curve is:
[0102]
[0103] Where M represents the fringe modulation, z represents the longitudinal scanning distance, and z focus represents the focal distance, z R represents the Rayleigh length, where n represents the refractive index of the medium, λ represents the central wavelength of the light source, NA represents the numerical aperture of the lens, and f 0 represents the spatial frequency of the projected grating fringe, f c represents the cutoff frequency of the optical measurement system, J 1 Represents the Bezier curve equation of the first kind.
[0104] In this embodiment, the expression based on the theoretical fringe modulation curve can effectively guide the calculation of the theoretical fringe modulation.
[0105] As an optional implementation manner, the step S200: obtaining a second-order slope theoretical value according to the theoretical fringe modulation curve includes:
[0106] Step S210: Obtaining a longitudinal response curve of the sinusoidal grating fringes as the longitudinal scanning distance z changes. The longitudinal response curve is expressed as:
[0107]
[0108] Where M max represents the maximum value of fringe modulation, e is a constant, where Z = Z position ×Δz, Δz represents the longitudinal scanning step, Z position represents the scanning position, k represents the optical measurement system parameter, FWHM represents the half width of the adjustment curve, and FWHM is a constant;
[0109] Step S220: The longitudinal response curve is processed with respect to Z positionSolve the second-order partial differential of to obtain the second-order slope theoretical value K'. The expression of K' is as follows:
[0110]
[0111] Where c is a constant.
[0112] In this embodiment, since in most cases in an actual optical imaging system, the imaging environment is not ideal, the point spread function model is more consistent with the Gaussian function model. Compared with the first-class Bessel function model, the Gaussian function model has a simpler mathematical equation. Therefore, the Gaussian function model is generally used to model the point spread function and solve the modulation function in one step. When the point spread function is modeled using the Gaussian function model, when the point spread function uses the Gaussian function as an approximation, the longitudinal response curve of the sinusoidal grating stripes with the longitudinal scanning distance z can be expressed according to the above corresponding formula. By calculating the longitudinal response curve about Z position By solving the second-order partial differential of , we can obtain the theoretical value of the second-order slope K', and establish the theoretical mapping relationship between the second-order slope of the modulation curve and the scanning step. By projecting the stripes onto the surface 8 to be measured, it can be known from the structured light illumination microscopy measurement method that the modulation of the captured image reflects the degree of defocus of the object, and the position of the maximum modulation is the accurate focusing position, thereby realizing the mapping of the stripe modulation to the height of the surface 8 to be measured.
[0113] It should be noted that the fringe modulation degree M obtained above is actual The second-order slope of and the expression of K' can be combined to solve the actual scanning step.
[0114] Based on the method of this embodiment, four groups of scans were simulated and implemented, and the scan measurement results are as follows:
[0115]
[0116] As can be seen from the above table, the scanning step lengths are set to 20mm, 30mm, 40mm and 50mm respectively. The method is used to process the simulated imaging picture sequence, and the scanning step lengths of each group can be solved as 19.9997mm, 29.9888mm, 39.9628mm and 49.9310mm respectively. The simulation results show that the method can effectively and accurately solve the real scanning step length, reduce the measurement error of the structured light measurement method in the three-dimensional measurement of the aircraft shape, and improve the measurement accuracy and repeatability.
[0117] Example 2
[0118] Based on the same inventive concept as the above-mentioned embodiment, this embodiment further provides an aircraft shape scanning error correction device, comprising:
[0119] The first acquisition module is used to acquire a theoretical fringe modulation curve corresponding to the scanned surface to be measured;
[0120] A second acquisition module is used to obtain a second-order slope theoretical value according to the theoretical fringe modulation curve;
[0121] A third acquisition module is used to acquire an actual fringe modulation curve corresponding to scanning the surface to be measured; wherein the actual fringe modulation curve is acquired by scanning and measuring the surface to be measured by a preset optical measurement system;
[0122] A fourth acquisition module, used for obtaining an actual value of a second-order slope according to the actual fringe modulation curve;
[0123] The fifth acquisition module is used to compare the actual value of the second-order slope with the theoretical value of the second-order slope to obtain an actual scanning step.
[0124] The relevant explanations and examples of each module in the device of this embodiment can refer to the method of the aforementioned embodiment, and will not be repeated here.
[0125] Example 3
[0126] Based on the same inventive concept as the above-mentioned embodiment, this embodiment provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-mentioned method.
[0127] Example 4
[0128] Based on the same inventive concept as the aforementioned embodiment, this embodiment provides a computer-readable storage medium, on which a computer program is stored, and a processor executes the computer program to implement the aforementioned method.
[0129] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for correcting aircraft shape scanning errors, characterized in that: The following steps are involved: Obtain a theoretical fringe modulation curve corresponding to the scanned surface to be measured. The expression of the theoretical fringe modulation curve is: In the formula, M Indicates the fringe modulation degree, Indicates the longitudinal scanning distance, represents the focal distance, represents the Rayleigh length, where , represents the refractive index of the medium, represents the central wavelength of the light source, Represents the numerical aperture of the lens, represents the spatial frequency of the projected grating fringe, represents the cutoff frequency of the optical measurement system, represents a first-class Bezier curve equation; the optical measurement system comprises an imaging system, a first lens, a beam splitter and a lens arranged in sequence from top to bottom, the lens is used to image the surface to be measured, a second lens is provided on one side of the beam splitter, a micromirror array is provided on one side of the second lens, a white light source is provided on one side of the micromirror array, the micromirror array is used to diffract the white light source and generate sinusoidal grating fringes, and the grating image passes through the second lens and the beam splitter; According to the theoretical fringe modulation curve, the second-order slope theoretical value is obtained, including: Obtain the sinusoidal grating fringes along the longitudinal scanning distance The longitudinal response curve of the change is expressed as: In the formula, M max Indicates the maximum value of fringe modulation, e is a constant, where Z = Z position ×Δ z , Δ z Indicates the longitudinal scanning step, Z position Indicates the scanning position, k represents the optical measurement system parameters, FWHM represents the half-width of the adjustment curve, and FWHM is a constant; The longitudinal response curve is Z position Solve the second-order partial differential of to obtain the second-order slope theoretical value K'. The expression of K' is as follows: Where c is a constant; Obtaining an actual fringe modulation curve corresponding to scanning the surface to be measured; wherein the actual fringe modulation curve is obtained by scanning and measuring the surface to be measured by a preset optical measurement system; According to the actual fringe modulation curve, obtaining the actual value of the second-order slope; The actual value of the second-order slope is compared with the theoretical value of the second-order slope to obtain an actual scanning step.
2. The method for correcting aircraft shape scanning errors according to claim 1, characterized in that: The obtaining of the actual fringe modulation curve corresponding to scanning the surface to be measured comprises: Controlling the optical measurement system to scan and measure the surface to be measured to obtain a plurality of imaging pictures; Processing the plurality of imaging pictures, and vertically extracting light intensity curves of pixels corresponding to the imaging pictures; The pixel point light intensity curve is processed to obtain an actual fringe modulation curve.
3. The method for correcting aircraft shape scanning errors according to claim 2, characterized in that: The processing of the pixel point light intensity curve to obtain an actual fringe modulation curve includes: Performing Fourier transform on the pixel light intensity curve can yield: In the formula, Represents the zero-frequency information of the light intensity spectrum, and Both represent the fundamental frequency information of the light intensity spectrum; wherein the fundamental frequency information includes fringe modulation information; filtering the baseband information; The filtered baseband information is subjected to inverse Fourier transform and modulo to obtain the fringe modulation degree. , then the actual fringe modulation curve is obtained.
4. The method for correcting aircraft shape scanning errors according to claim 3, characterized in that: The controlling the optical measurement system to scan and measure the surface to be measured to obtain a plurality of imaging pictures includes: Controlling the surface to be measured to be within the focal depth range of the lens; Control the lens to move along a first direction at a preset step length, and control the micromirror array to switch to sinusoidal grating stripes with a corresponding phase difference for scanning imaging at each step; wherein the first direction is the direction in which the surface to be measured is away from the focal depth range of the lens; The step of controlling the lens to move along the first direction at a preset step length is repeated until the surface to be measured is outside the focal depth range of the lens, so as to obtain a plurality of imaging pictures.
5. The method for correcting aircraft shape scanning error according to claim 4, characterized in that: The controlling the surface to be measured to be within the focal depth range of the lens comprises: Controlling and adjusting the incident angle of the white light source on the micromirror array; Controlling and adjusting the inclination angle of the micromirror array to generate sinusoidal grating fringes required for measurement; Controlling the lens to align with the surface to be measured, and controlling the lens to move longitudinally, so that the surface to be measured is clearly visible in the imaging system; Controlling and adjusting the relative position between the lens and the surface to be measured so that the surface to be measured is located at the center of the imaging system; The sinusoidal grating stripes are controlled to be projected onto the surface to be measured, and the lens is controlled to move in a second direction until the surface to be measured is within the focal depth range of the lens; wherein the second direction is the direction in which the surface to be measured is close to the focal depth range of the lens.
6. An aircraft shape scanning error correction device, characterized in that: include: The first acquisition module is used to acquire a theoretical fringe modulation curve corresponding to the scanned surface to be measured. The expression of the theoretical fringe modulation curve is: In the formula, M Indicates the fringe modulation degree, Indicates the longitudinal scanning distance, represents the focal distance, represents the Rayleigh length, where , represents the refractive index of the medium, represents the central wavelength of the light source, Represents the numerical aperture of the lens, represents the spatial frequency of the projected grating fringe, represents the cutoff frequency of the optical measurement system, represents a first-class Bezier curve equation; the optical measurement system comprises an imaging system, a first lens, a beam splitter and a lens arranged in sequence from top to bottom, the lens is used to image the surface to be measured, a second lens is provided on one side of the beam splitter, a micromirror array is provided on one side of the second lens, a white light source is provided on one side of the micromirror array, the micromirror array is used to diffract the white light source and generate sinusoidal grating fringes, and the grating image passes through the second lens and the beam splitter; The second acquisition module is used to obtain a second-order slope theoretical value according to the theoretical fringe modulation curve, including: Obtain the sinusoidal grating fringes along the longitudinal scanning distance The longitudinal response curve of the change is expressed as: In the formula, M max Indicates the maximum value of fringe modulation, e is a constant, where Z = Z position ×Δ z , Δ z Indicates the longitudinal scanning step, Z position Indicates the scanning position, k represents the optical measurement system parameters, FWHM represents the half-width of the adjustment curve, and FWHM is a constant; The longitudinal response curve is Z position Solve the second-order partial differential of to obtain the second-order slope theoretical value K'. The expression of K' is as follows: Where c is a constant; A third acquisition module is used to acquire an actual fringe modulation curve corresponding to scanning the surface to be measured; wherein the actual fringe modulation curve is acquired by scanning and measuring the surface to be measured by a preset optical measurement system; A fourth acquisition module, used for obtaining an actual value of a second-order slope according to the actual fringe modulation curve; The fifth acquisition module is used to compare the actual value of the second-order slope with the theoretical value of the second-order slope to obtain an actual scanning step.
7. A computer device, characterized in that: The computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the processor executes the computer program to implement the method according to any one of claims 1 to 5.
