Virtual image distance measurement method and system based on microlens array wavefront segmentation
Through wavefront segmentation of microlens arrays and spot array image analysis, the virtual image distance is directly calculated, which solves the problems of virtual image distance measurement error and system complexity in the prior art, and realizes high-precision and low-cost virtual image distance measurement.
Patent Information
- Application Number
- CN202411211026.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-12-06
AI Technical Summary
The virtual image distance measurement methods of existing AR/VR equipment are costly, complex in systems, and have measurement errors, especially due to the large errors caused by subjective judgment of image clarity.
Using the virtual image distance measurement method based on wavefront segmentation of microlens arrays, the spherical wavefront of the device is segmented through the microlens array to form a spot array, and the image acquisition device is used to collect the spot array image, and the wavefront curvature is calculated by analyzing the spot center of mass position. To determine the virtual image distance, measurement errors in the quantitative judgment of clear images are avoided.
It improves the accuracy and speed of virtual image distance measurement, simplifies the system structure, reduces the measurement cost, and the measurement error is less than 30mm, which is better than traditional methods.
Smart Images

Figure CN119086016A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of optical measurement, and in particular, to a method and system for measuring virtual image distance based on microlens array wavefront segmentation. Background Art
[0002] AR / VR technology uses computer simulation to generate a virtual world in three-dimensional space, providing users with simulated experience of vision, hearing, touch and other senses, so that users can feel immersive experience. It has been widely used in entertainment, education, medical and industrial fields. Immersion is one of the key elements of AR / VR system. In order to ensure that AR / VR system brings real scene interaction and good visual experience to users, it is very important to accurately measure and adjust the virtual image distance. Virtual image distance (Virtual image distance-VID) refers to the distance between the virtual image plane of the display module of the virtual image display device and the pupil of the human eye, which is used to characterize the imaging distance of the virtual image display device between the human eye. The errors generated in the production and assembly process of the optical lens, display module, accessories and other structures of AR / VR equipment will cause the actual virtual image distance to differ from the preset virtual image distance, which will reduce the user's sense of immersion, affect the accuracy of interaction, and easily cause visual fatigue, dizziness and other phenomena. Therefore, AR / VR equipment needs to be tested for virtual image distance after processing.
[0003] At present, the main method for measuring virtual images at home and abroad is to shoot AR / VR virtual images through a photographic system, and calculate the virtual image distance based on the actual object distance or through the focusing characteristics of the camera. For example, the virtual image is imaged using a focusable camera lens to find the position with the highest image clarity, and the virtual image distance is analyzed by the focusing characteristics of the camera or the actual object distance. The measurement cost is high and the system is complex. In addition, the position with the highest image clarity is determined by human subjective judgment. The lack of quantitative judgment of the clear image will also cause measurement errors, and the measurement error can reach 100mm. Another example is the depth of field characteristics of the photographic system, and the relative change of image clarity in the process of shooting virtual images and reference objects by the same photographic system is used to calculate the virtual image distance. The error introduced by human subjective judgment is solved, and the measurement error reaches 40mm, which is a certain improvement over the traditional method, but the measurement system is still relatively complex and the measurement cost is high. Summary of the invention
[0004] The purpose of this application is to propose a virtual image distance measurement method based on Hartmann wavefront segmentation, to solve the deficiencies in the AR / VR virtual image distance measurement method in the prior art, to improve the measurement accuracy of the virtual image distance, and to reduce the complexity of the detection system structure.
[0005] The technical solution of the present application provides a method for measuring virtual image distance based on microlens array wavefront segmentation, the method comprising:
[0006] Step 1: Use a microlens array to segment the spherical wavefront of the virtual image target of the device, each microlens unit in the microlens array focuses the spherical wavefront it receives and forms a spot array at its focus, and use an image acquisition device to acquire the focused spot array image at the focus of the microlens array;
[0007] Step 2: for each microlens unit, based on the slope of the spherical wavefront and the focal length of the corresponding microlens unit, derive an expression for the offset of the center of each light spot relative to the optical axis of the microlens; based on the offset expression and the spacing of the corresponding microlens unit, derive an expression for the average center spacing of adjacent light spots;
[0008] Step 3, determine the centroid distance between adjacent spots according to the number and size of pixels in the spot array image, and substitute the centroid distance into the average center distance expression to derive the curvature radius of the spherical wavefront, and use the curvature radius as the virtual image distance.
[0009] Furthermore, in step 2, with the light spot array image as the xy plane, the offset of the light spot center corresponding to the microlens unit in the i-th row and j-th column in the microlens array relative to the microlens optical axis in the x and y directions is:
[0010]
[0011] In the formula, σ(x i,j ) is the offset of the center of the light spot in the x-axis direction, σ(y i,j ) The offset of the center of the light spot in the y-axis direction, f i,j is the focal length of the microlens unit in the i-th row and j-th column of the microlens array, x and y are variables of two spatial dimensions in the coordinate system, R0 is the radius of curvature of the spherical wavefront, Φ is the function expression of the spherical wavefront at the front surface of the microlens array, where Φ is:
[0012]
[0013] In the formula, Derivation of σ(x i,j ) and σ(y i,j ), only the items and ignore the others.
[0014] Furthermore, in step 2, the focal length f of each microlens unit is replaced by the calibrated microlens focal length f i,j , use the calibrated microlens pitch P instead of the pitch P of each microlens unit i,j , the expression of the average center distance between adjacent light spots in the x and y directions is:
[0015]
[0016] In the formula, Q x is the average center distance between adjacent light spots in the x direction, Q y is the average center distance between adjacent light spots in the y direction.
[0017] Furthermore, in step 3, the centroid distance between adjacent light spots is:
[0018] Q=NS
[0019] In the formula, Q is the centroid distance between adjacent spots in the spot array image, N is the number of pixels between adjacent spots in the spot array image, and S is the size of the pixel in the spot array image. Substituting Q into the average center spacing expression, the curvature radius R0 of the spherical wavefront is obtained as follows:
[0020]
[0021] Where the radius of curvature R0 is the virtual image distance.
[0022] Furthermore, the virtual image distance measurement method based on microlens array wavefront segmentation also includes calibration of the focal length of the microlens, as follows:
[0023] S101: setting a calibration light source at a predetermined reference position, using a microlens array to segment the spherical wavefront of the calibration light source, and using an image acquisition device to acquire a light spot array reference image at the focus of the microlens array;
[0024] S102: Determine the centroid spacing between adjacent light spots according to the number and size of pixels in the light spot array reference image as a reference centroid spacing, and calculate a reference curvature radius according to the calibrated microlens spacing and the reference centroid spacing;
[0025] S103: translating the calibration light source along the direction of the optical axis of the image acquisition device at the same interval K times, and calculating the curvature radius after translation according to the method of S101 to S102;
[0026] S104: Subtracting the translated curvature radius from the reference curvature radius to obtain K groups of measured focal lengths, and taking the average value of the K groups of measured focal lengths as the calibrated focal length of the microlens.
[0027] Furthermore, in S104, the translated curvature radius is subtracted from the reference curvature radius to obtain:
[0028]
[0029] Where ΔR is the interval of the calibration light source translation, f k To measure the focal length, N0 is the number of pixels between adjacent spots in the reference image of the spot array, and N kis the number of pixels between adjacent spots in the shifted spot array image, k is the label of the number of shifts, k = 1, 2, 3, …, K.
[0030] Furthermore, the calibrated focal length of the microlens is:
[0031]
[0032] Where P is the calibrated microlens spacing.
[0033] The technical solution of the present application also provides a virtual image distance measurement system based on microlens array wavefront segmentation, including: a microlens array, an image acquisition device, a distance measurement device and a host computer;
[0034] The microlens array is used to segment the spherical wavefront of the device;
[0035] The image acquisition device is arranged at the focus of the microlens array and is used to acquire the spot array image of the spherical wavefront;
[0036] The distance measuring device is used to measure the distance between the device and the receiving surface of the image acquisition device;
[0037] The host computer is used to process the spot array image.
[0038] The beneficial effects of this application are:
[0039] The technical solution in this application uses a microlens array to segment the wavefront emitted by the virtual image target, and sets an image acquisition device at the focus of the microlens to receive the light spot array, calculates the wavefront curvature by analyzing the centroid position of the light spot, and calculates the virtual image distance of the corresponding acquisition position from the wavefront curvature. The technical solution in this application has high measurement accuracy and fast speed, and the system structure is simple, which can solve the shortcomings of existing measurement methods. Compared with existing measurement methods, the technical solution of this application does not need to determine the virtual image distance based on the imaging clarity of the camera, avoids measurement errors in the process of quantitative judgment of the clear image, and improves measurement accuracy.
[0040] The technical solution in the present application can calibrate the parameters of the microlens array by measuring virtual image targets at different distances, recording the centroid distances of the light spots at different distances and calculating the corresponding curvature radii. By subtracting the curvature radii at different distances, the calibrated focal length of the lens array is obtained. Calibration of the parameters of the microlens array can further improve the measurement accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The advantages of the above and / or additional aspects of the present application will become apparent and easily understood in the description of the embodiments in conjunction with the following drawings, in which:
[0042] Figure 1is a principle diagram of a virtual image distance measurement method based on microlens array wavefront segmentation according to an embodiment of the present application;
[0043] Figure 2 is a schematic diagram of a microlens array splitting a spherical wavefront according to an embodiment of the present application;
[0044] Figure 3 is a structural schematic diagram of a virtual image distance measuring device according to an embodiment of the present application;
[0045] Figure 4 is a schematic structural diagram of a microlens array calibration device according to an embodiment of the present application;
[0046] Figure 5 is a diagram of the measurement result of the microlens spacing according to an embodiment of the present application;
[0047] Figure 6 is a diagram of the measurement result of the focal length of a microlens according to an embodiment of the present application;
[0048] Figure 7 is a diagram of virtual image distance measurement results at different measurement distances according to an embodiment of the present application;
[0049] Figure 8 is an error comparison diagram of virtual image distance measurement results at different measurement distances according to an embodiment of the present application;
[0050] Fig. 9 is a diagram of virtual image distance measurement results corresponding to different focal lengths according to an embodiment of the present application;
[0051] Fig.10 This is a diagram showing error results of light spot spacings corresponding to different measurement distances according to an embodiment of the present application. DETAILED DESCRIPTION
[0052] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0053] In the following description, many specific details are elaborated to facilitate a full understanding of the present application. However, the present application may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present application is not limited to the specific embodiments disclosed below.
[0054] like Figure 1 to Figure 2 As shown, this embodiment provides a virtual image distance measurement method based on microlens array wavefront segmentation, including:
[0055] Step 1: Use a microlens array to segment the spherical wavefront emitted by the virtual image target of the AR / VR device. Each microlens unit in the microlens array focuses the spherical wavefront it receives and forms a light spot array at its focus. Use an image acquisition device to capture the image of the light spot array formed after focusing at the focus of the microlens array.
[0056] The microlens array is set at a predetermined position, and an image acquisition device is set at the focus of the microlens array. The AR / VR device is turned on, and the virtual image target of the AR / VR device is used as a light source to generate a spherical wavefront. The microlens array divides the spherical wavefront. The divided spherical wavefront forms a two-dimensional light spot array on the receiving surface of the image acquisition device. The image acquisition device acquires an image of the two-dimensional light spot array to obtain a light spot array image at the predetermined position.
[0057] In this embodiment, a virtual image distance measuring device needs to be built before measurement. The virtual image distance measuring device includes a microlens array, an image acquisition device and a distance measuring device. Specifically, the microlens array can be fixed, the image acquisition device is set at the focus of the microlens array, and the virtual image target of the AR / VR device to be measured is set at a position with a distance L from the receiving surface of the image acquisition device. The distance measuring device is used to measure the distance between the AR / VR device and the receiving surface of the image acquisition device. The distance from the virtual image target to the device screen is L0, and the distance from the device screen to the receiving surface of the image acquisition device is L1. The device screen is used as a reference surface, and the microlens array is moved back and forth to change the size of L1. The center spacing of the light spots received on the image acquisition device will also change accordingly. The wavefront curvature of the corresponding position is calculated, and then the distance from the virtual image target of the AR / VR device to the receiving surface of the image acquisition device is calculated, which is the virtual image distance. In this embodiment, the image acquisition device can use a CCD detector, and the distance measuring device can use a laser rangefinder.
[0058] Step 2: For each microlens unit, based on the slope of the spherical wavefront and the focal length of the corresponding microlens unit, derive the expression for the offset of the center of the light spot in each light spot array relative to the microlens optical axis; based on the offset expression and the spacing of the corresponding microlens unit, derive the expression for the average center spacing of adjacent light spots.
[0059] The collected spot array image is taken as the xy plane, and the offset of any spot center in the x-axis direction relative to the corresponding microlens optical axis is σ(x i,j ), the offset in the y-axis direction relative to the corresponding microlens optical axis is σ(y i,j ), where i is the row of the microlens array, j is the column of the microlens array, and the offset of the center of the light spot corresponding to the microlens unit in the i-th row and j-th column in the microlens array relative to the optical axis of the microlens in the x and y directions is:
[0060]
[0061] In the formula, x and y are variables of two spatial dimensions in the coordinate system. is the slope of the spherical wavefront in the x-axis direction, is the slope of the spherical wavefront in the y-axis direction, f i,j is the focal length of the microlens unit in the i-th row and j-th column in the microlens array, Φ is the function expression of the spherical wavefront at the receiving surface of the image acquisition device, and the virtual image target is a point light source, and the function expression of its spherical wavefront at the front surface of the microlens array is:
[0062]
[0063] In the formula, R0 is the radius of curvature of the spherical wavefront. That is, R0 is much larger than the change of x and y. After substituting it into the expression of the spherical wave function, the second term and other terms after Φ(x,y) are ignored, and only Item, the offset of the center of the light spot corresponding to the microlens unit in the i-th row and j-th column in the microlens array relative to the optical axis of the microlens in the x and y directions is obtained as follows:
[0064]
[0065] In this embodiment, since the focal length value of each microlens unit of the microlens array is almost the same in actual processing and production, the calibrated average focal length value can be used as the focal length value of all microlens units when calculating the center distance between adjacent light spots, and then the virtual image distance is calculated using the calibrated average focal length value, thereby simplifying the calculation process.
[0066] Use the calibrated microlens focal length f to replace the focal length f of each microlens unit i,j , use the calibrated microlens pitch P instead of the pitch P of each microlens unit i,j , the expression of the average center distance between adjacent light spots in the x and y directions is:
[0067]
[0068] The above formula is the average center distance expression of adjacent light spots, where Q x is the average center distance between adjacent light spots in the x direction, Q y is the average center distance between adjacent light spots in the y direction. From the derivation result of the center distance between adjacent light spots, it can be known that after the calibrated microlens focal length f and the calibrated microlens spacing P are determined, in the light spot array image collected at the predetermined position (that is, when the distance between the virtual image target and the receiving surface of the image acquisition device is constant), the center distance between adjacent light spots is constant.
[0069] In this embodiment, for a spherical wave emitted by a point light source (i.e., a virtual image target), the wavefront is a sphere centered on the point light source, and its curvature radius R0 is equal to the distance from the light source to a certain point on the spherical wavefront. Under the action of the microlens array, the xy plane of the collected spot array image is very small, and the microlens array is far away from the point light source, so that the curvature radius R0 is large. Therefore, in the xy plane of the spot array image, the changes in the coordinates x and y are very small for the wavefront curvature R0, so it can be obtained that
[0070] Step 3, determine the centroid distance between adjacent spots according to the number and size of pixels in the spot array image, and substitute the centroid distance into the average center distance expression in step 2 to derive the curvature radius of the spherical wavefront, which is used as the virtual image distance (VID).
[0071] The centroid spacing between adjacent light spots is determined according to the number and size of pixels in the light spot array image. The centroid spacing is:
[0072] Q=NS
[0073] In the formula, Q is the centroid distance between adjacent spots in the spot array image, N is the number of pixels between adjacent spots in the spot array image, and S is the size of the pixel in the spot array image. The centroid distance Q between adjacent spots is substituted into the average center distance expression:
[0074]
[0075] The curvature radius R0 of the spherical wavefront is obtained as:
[0076]
[0077] The radius of curvature R0 represents the distance from the virtual image target to the receiving surface of the image acquisition device, that is, the virtual image distance. In this embodiment, when determining the centroid spacing of adjacent light spots in the light spot array image, the centroid of the light spot is used as the light spot center, and the position of the light spot centroid can be obtained by the existing algorithm, which will not be repeated here; when the calibrated microlens focal length f, the calibrated microlens spacing P and the light spot centroid spacing are determined, the above steps can be used to achieve the measurement of the virtual image distance, wherein the light spot centroid spacing can be measured using a measurement tool in a computer, such as a matlab platform.
[0078] The f and P used in the above steps 1 to 3 are parameters of the microlens array. These two parameters need to be calibrated in advance. Among them, the microlens spacing P can be directly measured, and the microlens focal length f can be measured experimentally. Substitute the calibrated microlens focal length f and the calibrated microlens spacing P into the formula The curvature radius R0 of the spherical wavefront can be obtained, and then the virtual image distance of the AR / VR device can be obtained.
[0079] For the microlens pitch P, a tool microscope can be used to image the microlens array and measure the pitch of the microlens array; specifically, microlenses in M different regions are selected for imaging, the pitch of the microlenses in each region is measured, and the measured average value of the pitch of the microlenses in M different regions is calculated as the calibrated microlens pitch P, that is, Will The value of is used as the calibrated microlens pitch P. For the microlens focal length f, the specific focal length value can be reversely deduced by using the method of using the microlens array to perform wavefront segmentation in the present invention.
[0080] The microlens focal length is calibrated, and the specific process is as follows:
[0081] S101: setting a calibration light source at a predetermined reference position, using a microlens array to segment the spherical wavefront of the calibration light source, and using an image acquisition device to acquire a light spot array reference image at the focus of the microlens array;
[0082] S102: determining the centroid spacing between adjacent light spots according to the number and size of pixels in the reference image of the light spot array as a reference centroid spacing, and calculating a reference curvature radius according to the calibrated microlens spacing and the reference centroid spacing;
[0083] S103: translating the calibration light source along the direction of the optical axis of the image acquisition device at the same interval K times, and calculating the curvature radius after translation according to the method of S101 to S102;
[0084] S104: Subtract the translated curvature radius from the reference curvature radius to obtain K groups of measured focal lengths, calculate the average value of the K groups of measured focal lengths, and use the average value of the measured focal lengths as the calibrated microlens focal length, as follows:
[0085]
[0086] Where ΔR is the interval of the calibration light source translation, f k To measure the focal length, N0 is the number of pixels between adjacent spots in the reference image of the spot array, and N k is the number of pixels between adjacent light spots in the shifted light spot array image, k is the label of the number of shifts, k = 1, 2, 3, ..., K; the calibrated microlens focal length obtained by the above formula is:
[0087]
[0088] In this embodiment, before calibrating the focal length of the microlens, a microlens array calibration device needs to be built. The microlens array calibration device includes a calibration light source, a microlens array, an image acquisition device, and a distance measuring device. The image acquisition device can use a CCD detector, and the distance measuring device can use a laser rangefinder to measure the distance moved by the calibration light source. The calibration light source can use a laser, such as a 633nm He-Ne laser, such as Figure 4 As shown, a single-mode optical fiber is coupled to the laser emission end, and the end of the optical fiber is fixed on a one-dimensional translation stage, and a standard spherical wave is generated by point diffraction.
[0089] like Figure 3 As shown, this embodiment provides a virtual image distance measurement system based on microlens array wavefront segmentation, which includes a microlens array, an image acquisition device, a distance measurement device and a host computer.
[0090] Microlens arrays are used to segment the spherical wavefront of AR / VR devices.
[0091] The image acquisition device is arranged at the focus of the microlens array and is used to acquire the spot array image of the spherical wavefront.
[0092] The distance measuring device is used to measure the distance between the AR / VR device and the receiving surface of the image acquisition device.
[0093] The host computer is used to process the light spot array image, which includes operations such as determining the light spot centroid and calculating the centroid distance.
[0094] In this embodiment, the image acquisition device may use a CCD detector, and the distance measuring device may use a laser rangefinder.
[0095] The virtual image distance measuring device based on microlens array wavefront segmentation also includes a calibration light source, which is used to generate spherical waves when calibrating the focal length of the microlens.
[0096] In this embodiment, a laser may be used as the calibration light source. A single-mode optical fiber is coupled to the emission end of the laser and the end of the optical fiber is fixed on a one-dimensional translation stage to generate a standard spherical wave by point diffraction.
[0097] The method of the present invention is used to measure the virtual image distance of the AR / VR device and calculate the measurement error. The specific process is as follows:
[0098] First, prepare a microlens array with a focal length of 1.9 mm, a single microlens size of 0.11 mm, and a CCD with a pixel size of 5.2 μm × 5.2 μm. Figure 3The microlens array calibration device shown in the figure calibrates the microlens pitch P and the microlens focal length f of the microlens array. Specifically, the microlens array is imaged using a tool microscope, and microlenses in 20 different areas are selected for measurement. The average value of the 20 pitch measurements is taken as the microlens pitch P. The measurement results are as follows Figure 5 As shown; using the calibration method in S101 to S104, 15 groups of focal length data are measured, and the average value of the 15 groups of focal lengths is taken as the true value of the focal length f of the microlens array, The measurement results are as follows Figure 6 shown.
[0099] Then, build Figure 3 The virtual image distance measurement device shown in the figure is used to perform a virtual image distance measurement experiment. The AR / VR device to be tested is fixed at a predetermined position, and the light spot array image at the predetermined position is collected. The center of mass distance between adjacent light spots is measured using the MATLAB platform. According to the formula The curvature radius of the AR / VR device is calculated to be 0.35 mm. The AR / VR device is translated multiple times at the same interval. The curvature radius is obtained in the same way after each translation, and the translation distance is measured using a laser rangefinder.
[0100] Finally, after translation, the formula The difference between the calculated curvature radius and R0 is compared with the translation distance measured by the laser rangefinder to obtain the measurement error, which is less than 30 mm. The measurement results are as follows: Figure 7 As shown, the measurement error of the present invention is smaller than the error of the measurement method in the prior art.
[0101] When the focal length f of the microlens used in the experiment is small and the measuring distance is large, the error will increase with the increase of the measuring distance, such as Figures 7 and 8 As shown in the figure, when the measuring distance is greater than 2m, the measurement error begins to increase. The main reason is that the focal length f of the microlens is small. When the measuring range increases, the change in the center distance of the light spots is not obvious. The centroid recognition algorithm itself has errors and cannot accurately identify the small changes in the light spot spacing. Therefore, when conducting measurement experiments, a microlens array with a suitable focal length f should be selected to ensure the accuracy of the measurement.
[0102] There are centroid detection errors, microlens array parameter errors and ranging device positioning errors in the process of virtual image distance measurement. These errors jointly affect the accuracy of virtual image distance measurement. Among them, the centroid detection error is the main influencing factor, which will be analyzed one by one below.
[0103] Centroid detection error: In the process of virtual image distance measurement, due to the influence of environmental factors and the inadequacy of the centroid recognition algorithm, there is a difference between the measurement result of the centroid spacing of the light spot on the spot image received by the CCD and the theoretical value, resulting in a centroid detection error. By measuring the spot spacing received by the CCD at different distances from the point light source in the y direction, the theoretical value of the spacing can be calculated when the microlens array parameters are known, and the actual value is compared with the theoretical value to obtain the spot spacing error. The spot spacing error e Q The centroid detection error e N satisfy:
[0104]
[0105] like Fig.10 As shown, the spot spacing error is less than 5×10 -2 According to the above formula, the centroid detection error is less than 2.5×10 -2 Pixel, the error of virtual image distance caused by centroid detection error can be expressed as:
[0106]
[0107] Substitute the determined parameters f = 1.92mm, P = 0.1102mm, S = 5.2μm, and combine the above formula to calculate within a range of 2m: 1.29×10 -2 m.
[0108] Microlens array parameter error: Since the microlens array parameter lens focal length f and microlens spacing P have errors in the calibration process, the wavefront curvature radius R0 calculated by the parameters f and P will also have measurement errors. f and P can be expressed as f = f0 + e f 、P=P0+e P , where f0 and P0 are actual measured values, e f and e p To measure the standard deviation, the error in virtual image distance caused by the microlens array parameter error can be expressed as:
[0109]
[0110] like Figure 5 and Figure 6 According to the microlens parameter calibration experiment, the standard deviation of f and P is e f =1.86×10 - 2 mm, e p =1.5×10 -4 mm, according to the above formula
[0111] Positioning error of the distance measuring device: During the virtual image distance measurement process, a laser distance meter is used to position the point light source. There is a measurement error between the distance measurement value of the laser distance meter and the true value. The distance measurement error of the laser distance meter used in this embodiment is 1 mm. The virtual image distance error caused by the positioning error of the distance measuring device can be expressed as:
[0112] Each error is independent of each other, so the total error is:
[0113]
[0114] After substituting each error value, we get the total error e R 2.35×10 -2 m.
[0115] To avoid large errors during measurement, replace the microlens array with different focal lengths and continue Figure 3 The virtual image distance measuring device shown in the figure performs multiple measurements and performs error analysis to obtain the VID measurement range applicable to microlens arrays with different focal lengths, such as Fig. 9 It is a VID measurement curve drawn based on different focal lengths f. When the focal length is larger, as the VID measurement distance increases, the change in the center distance of the light spot is more obvious, and it can adapt to larger VID measurements. The measurement results are shown in Table 1:
[0116] Table 1
[0117] Microlens array f Effective measuring distance Measurement error 1.9mm 2m <![CDATA[2.35×10 -2 m]]> 10mm 4m <![CDATA[1.51×10 -2 m]]> 20mm 6m <![CDATA[1.64×10 -2 m]]> 40mm 8m <![CDATA[1.58×10 -2 m]]>
[0118] The steps in this application can be adjusted in order, combined, and deleted according to actual needs.
[0119] The units in the device of the present application can be combined, divided and deleted according to actual needs.
[0120] Although the present application is disclosed in detail with reference to the accompanying drawings, it should be understood that these descriptions are merely exemplary and are not intended to limit the application of the present application. The scope of protection of the present application is defined by the appended claims and may include various modifications, alterations and equivalents made to the invention without departing from the scope and spirit of the present application.
Claims
1. A virtual image distance measurement method based on microlens array wavefront segmentation, include: Step 1, using a microlens array to segment the spherical wavefront of the virtual image target of the device, each microlens unit in the microlens array focuses the spherical wavefront it receives, and forms a spot array at its focus, and uses an image acquisition device to acquire the focused spot array image at the focus of the microlens array; Step 2: for each microlens unit, based on the slope of the spherical wavefront and the focal length of the corresponding microlens unit, derive an expression for the offset of the center of each light spot relative to the optical axis of the microlens; based on the offset expression and the spacing of the corresponding microlens unit, derive an expression for the average center spacing of adjacent light spots; Step 3, determining the centroid distance between adjacent light spots according to the number and size of pixels in the light spot array image, and substituting the centroid distance into the average center distance expression, deriving the curvature radius of the spherical wavefront, and using the curvature radius as the virtual image distance.
2. The virtual image distance measurement method based on microlens array wavefront segmentation as claimed in claim 1, in, In step 2, taking the light spot array image as the xy plane, the offset of the light spot center corresponding to the i-th row and j-th column microlens unit in the microlens array relative to the microlens optical axis in the x and y directions is: In the formula, σ(x i,j ) is the offset of the center of the light spot in the x-axis direction, σ(y i,j ) The offset of the center of the light spot in the y-axis direction, f i,j is the focal length of the microlens unit in the i-th row and j-th column of the microlens array, x and y are variables of two spatial dimensions in the coordinate system, R 0 is the radius of curvature of the spherical wavefront, Φ is the functional expression of the spherical wavefront at the front surface of the microlens array, where Φ is: In the formula, Derivation of σ(x i,j ) and σ(y i,j ), only the items and ignore the others.
3. The virtual image distance measurement method based on microlens array wavefront segmentation as claimed in claim 2, in, In step 2, the focal length f of each microlens unit is replaced by the calibrated microlens focal length f i,j , use the calibrated microlens pitch P instead of the pitch P of each microlens unit i,j , the expression of the average center distance between adjacent light spots in the x and y directions is: In the formula, Q x is the average center distance between adjacent light spots in the x direction, Q y is the average center distance between adjacent light spots in the y direction.
4. The virtual image distance measurement method based on microlens array wavefront segmentation as claimed in claim 3, in, In step 3, the centroid distance between adjacent light spots is: Q=NS Where Q is the centroid distance between adjacent spots in the spot array image, N is the number of pixels between adjacent spots in the spot array image, and S is the size of the pixel in the spot array image. Substituting Q into the average center spacing expression, the curvature radius R of the spherical wavefront is obtained: 0 for: Wherein, the radius of curvature R 0 is the virtual image distance.
5. The virtual image distance measurement method based on microlens array wavefront segmentation as claimed in claim 4, in, The virtual image distance measurement method based on microlens array wavefront segmentation also includes calibration of the focal length of the microlens, which is specifically as follows: S101: setting a calibration light source at a predetermined reference position, using the microlens array to segment the spherical wavefront of the calibration light source, and using the image acquisition device to acquire a light spot array reference image at the focus of the microlens array; S102: determining the centroid spacing between adjacent light spots according to the number and size of pixels in the reference image of the light spot array as a reference centroid spacing, and calculating a reference curvature radius according to the calibrated microlens spacing and the reference centroid spacing; S103: translating the calibration light source along the direction of the optical axis of the image acquisition device K times at the same interval, and calculating the curvature radius after translation according to the method of S101 to S102; S104: Subtracting the translated curvature radius from the reference curvature radius to obtain K groups of measured focal lengths, and taking an average value of the K groups of measured focal lengths as the calibrated focal length of the microlens.
6. The virtual image distance measurement method based on microlens array wavefront segmentation as claimed in claim 5, in, In S104, the curvature radius after translation is subtracted from the reference curvature radius to obtain: Where ΔR is the interval of the calibration light source translation, f k To measure focal length, N 0 is the number of pixels between adjacent light spots in the reference image of the light spot array, N k is the number of pixels between adjacent spots in the shifted spot array image, k is the label of the number of shifts, k = 1, 2, 3, …, K.
7. The virtual image distance measurement method based on microlens array wavefront segmentation as claimed in claim 6, in, The calibrated focal length of the microlens is: Where P is the calibrated microlens spacing.
8. A virtual image distance measurement system based on microlens array wavefront segmentation, include: Microlens array, image acquisition device, distance measuring device and host computer; The microlens array is used to segment the spherical wavefront of the device; The image acquisition device is arranged at the focus of the microlens array and is used to acquire the spot array image of the spherical wavefront; The distance measuring device is used to measure the distance between the device and the receiving surface of the image acquisition device; The host computer is used to process the spot array image.
