Refractive index field reconstruction method, device and storage medium
By optimizing the chord length and ray deflection transformation ratio of the tomographic projection matrix in background-oriented pattern technology, the more accurate tomographic projection matrix S is calculated, which solves the problem of three-dimensional refractive index field reconstruction error in the existing technology, and achieves a better and more High reconstruction accuracy and low time cost.
Patent Information
- Application Number
- CN202111252911.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-27
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2041-10-27
AI Technical Summary
The existing background-oriented patterning technology has reconstruction errors in the three-dimensional refractive index field reconstruction of high-temperature gases, mainly due to the approximate error of the tomographic projection matrix parameters.
By optimizing the chord length and ray deflection transformation ratio of the tomographic projection matrix of the background-oriented pattern reconstruction model, a more accurate tomographic projection matrix S is calculated, and the refractive index field is then reconstruction.
Refractive index reconstruction errors are significantly reduced, such as the initial reconstruction error for turbulent swirl flame objects reduced from 0.0855 to 0.0497, a decrease of about 40%. It only requires one correction calculation to obtain better optimization results, and the time cost is lower. No new measurement devices or more measurement data are required.
Smart Images

Figure CN114067047B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of high temperature gas measurement, and in particular to a method for reconstructing a three-dimensional refractive index field of an unsteady flow of a high temperature gas based on a background-guided schlieren technique. Background Art
[0002] With the rapid development of modern aerospace, energy power, missiles and rockets, there is an urgent need for measurement technology of key parameters of complex flow fields suitable for high temperature range. Especially in the industrial field, the combustion process usually involves turbulent flames with complex structures, and the research area spans a large length and time range and promotes mixing and heat transfer. In order to observe important features such as flame propagation, wrinkles, vortex shedding, vortex breakup, swirling jets and recirculation, the measurement of instantaneous three-dimensional flow fields has been the focus of research in recent years. Raman spectroscopy, Rayleigh spectroscopy, laser-induced fluorescence spectroscopy and absorption spectroscopy have been combined to obtain high-resolution measurements of multiple parameters simultaneously. However, laser-based methods are costly and have complex optical, control and data acquisition systems. Cost and safety issues limit the mobility of equipment and the range of measurement targets. Key statistical data can only be obtained by three-dimensional quantitative measurement of variables in combustion, including the destruction of flame wrinkles, out-of-plane dissipation rate and curvature fluctuations. The demand for instantaneous three-dimensional data and the high cost and complexity of laser diagnostics have created a need for alternative equipment for high-temperature thermal fluid measurements such as flames.
[0003] Background-guided Schlieren technology is a flow field measurement technology that detects light deflection information. By combining multi-view settings with tomography technology, it can reconstruct the refractive index field of three-dimensional unsteady flow, and then obtain density, temperature, flame peak geometry and other parameters. Compared with other optical diagnostic methods, its measurement equipment is simple, requiring only a camera and a Schlieren pattern background plate, and has low requirements for the measurement environment, and has high application value.
[0004] The background-guided schlieren technique is based on the geometric optical equations of light propagation, and the measurement model is discretized by dividing the measured area into several voxels. The parameters in the discrete solution model require the path information of the light in the non-uniform refractive index field. Since the information of the measured flow field is unknown, it is necessary to assume that the light passes through the measured area in a straight line when calculating the tomographic projection matrix parameters, and use the same approximate ratio when projecting the three-dimensional deflection of the light. Therefore, there are certain errors in the tomographic projection matrix parameters in the measurement model. The existing background-guided schlieren tomography technology can obtain a relatively accurate estimate of the refractive index field, and the estimated value of the refractive index field can be used as prior information to calculate the tomographic projection matrix, thereby reducing the approximate error in the reconstructed model. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide a refractive index field reconstruction method based on background-guided schlieren technology which can reduce reconstruction errors.
[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0007] A refractive index field reconstruction method based on background-guided schlieren technology, characterized by comprising:
[0008] The chord length of the tomographic projection matrix of the background-guided schlieren reconstruction model is optimized;
[0009] Optimize the light deflection transformation ratio of the background-guided schlieren reconstruction model;
[0010] The optimized tomographic projection matrix chord length and light deflection transformation ratio are used to calculate the tomographic projection matrix S;
[0011] According to the calculated tomographic projection matrix S, the refractive index field is reconstructed using the background-guided schlieren tomographic reconstruction model.
[0012] Compared with the prior art, the present invention has the following advantages:
[0013] 1) The present invention corrects two approximations in the existing model, greatly reducing the refractive index reconstruction error of the background-guided schlieren tomography technique. Taking the turbulent swirl flame object as an example, the initial reconstruction error (||n PRESET -n REC ||2 / ||n REC -1||2) is 0.0855, and the reconstruction error is reduced to 0.0497 after optimization, a decrease of about 40%.
[0014] As attached Figure 4 Shown
[0015] 2) The present invention does not require multiple corrections. A single correction calculation based on the original method can obtain a better optimization effect, so the time cost is low.
[0016] 3) Compared with the prior art, the present invention does not require additional measuring devices and does not require obtaining more measuring data, so it has high practical value. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a background-guided schlieren tomography reconstruction model;
[0018] Figure 2 It is a schematic diagram of ray tracing of background-guided schlieren tomography;
[0019] Figure 3 It is a schematic diagram of the distance traveled by voxel light.
[0020] Figure 4 It is a schematic diagram of the optimization effect of the present invention. DETAILED DESCRIPTION
[0021] The present invention will be described in detail below in conjunction with the accompanying drawings:
[0022] The measurement settings of background guided schlieren are as shown in the attached figure. Figure 1 As shown, the light emitted by the Schlieren background plate is deflected in the reconstruction area and captured by the camera image plane, resulting in a distorted Schlieren image. Compared with the original image taken by focusing directly on the background plate (without passing through the measured flow), some of its pixels are displaced.
[0023] The propagation of light follows Fermat's theorem. The light propagation equation in the Cartesian coordinate system can be expressed as:
[0024]
[0025] Where r is the position coordinate (x, y, z) of a point on the light path, n is the refractive index of the point, and ds is the differential distance along the light. T is the product of the direction of a point on the light and the refractive index. By integrating T, we can get the offset δ0 of the light after passing through the measurement volume:
[0026]
[0027] A regular hexahedron reconstruction region is established in the flow region and evenly divided into regular hexahedron voxels. The refractive index of the gas phase medium is n≈1, and the equation (10) is discretized and approximated:
[0028]
[0029] Where e∈(x,y,z) represents the world coordinate system, N is the number of voxels divided into the reconstruction area, and Δs i represents the chord length of the ray in voxel i, represents the refractive index gradient in voxel i.
[0030] Transform the three-dimensional deflection δ0 of the light into a two-dimensional offset δ in the background plane b :
[0031]
[0032] Where d is the distance from the reconstructed area to the background plate.
[0033] As attached Figure 1 As shown in the figure, in order to obtain accurate schlieren image information in practical applications, the lens needs to be focused on the background plane, so the two-dimensional offset δ of the background plane can be b The ideal imaging magnification is converted into a displacement δ in the camera imagei Finally, the deflection δ0 of the light passing through the reconstruction area and the image displacement δ i The relationship between:
[0034]
[0035] Among them, d u ,d v is the pixel size of the camera in the u and v directions;
[0036] The travel distances of M sampling rays in N voxels constitute the tomographic projection matrix S, whose i-th row and j-th
[0037] The elements of the column represent the deflection contribution weight of the j-th voxel to the i-th ray:
[0038] S ij =Δs ij ·M·d / d u,v (1)
[0039] The required refractive index in all voxels in the reconstruction area constitutes a vector n, using a first-order finite difference matrix D e The refractive index gradient in equation (11) is obtained by performing a differential operation on n.
[0040] The two-dimensional displacement of feature points observed in consecutive images is called optical flow. Features in different images are related by a certain constant brightness, and the displacement of each feature point in the image is represented by a two-dimensional vector. The basic constraint equation of optical flow is based on the assumption that the brightness of feature points in the image is constant and the displacement is small:
[0041]
[0042] Combining equations (11-15), we can obtain the reconstruction equation of background-guided schlieren tomography:
[0043]
[0044] The above is an existing background-guided schlieren refractive index field reconstruction model, in which there are two approximations: the calculation of the tomographic projection matrix elements requires the chord length Δs of the light in the voxel it passes through ij Since the refractive index field is unknown, it is necessary to assume that the light propagates in a straight line and perform ray tracing to obtain the chord length Δs corresponding to each sampled light ray ij ; Secondly, the three-dimensional offset δ0 of the light passing through the measurement area and the two-dimensional offset δ b The transformation ratio is approximately calculated by measuring the distance d from the volume to the background plate and the magnification M.
[0045] In view of the above two points, after the accurate estimation of the refractive index field is obtained by the first reconstruction, the reconstructed refractive index field can be used to perform ray tracing again to obtain a more accurate voxel ray travel distance Δs' ij , replacing Δs in equation (14) ij Recalculate the tomographic projection matrix S and reconstruct it based on it, as shown in the attached figure. Figure 3 shown.
[0046] According to formula (16), the refractive index field estimation is obtained After ray tracing, we can also obtain the three-dimensional offset of the light ray δ0 and the two-dimensional offset of the image plane δ i A more accurate transformation ratio λ is:
[0047]
[0048]
[0049] In the formula, S 0i represents the vector composed of the chord lengths of the i-th ray in all voxels, e∈(x,y,z) represents the world coordinate system, D e is a first-order finite difference matrix, whose i-th row corresponds to the i-th voxel, and the position of the element in the i-th row corresponds to the voxel required to calculate the refractive index gradient of the i-th voxel in the vector The position in.
[0050] After obtaining an accurate estimate of the refractive index field in the first reconstruction, λ is used to replace the transformation ratio d and M in equations (12) and (13) to recalculate the tomographic projection matrix S, and reconstruction is performed again on this basis.
[0051] The present invention sets up multiple groups of cameras and corresponding background plates, and the measured area is located between the camera and the background plane, and collects the schlieren images formed by multi-directional light passing through the measured area. The refractive index field is initially reconstructed and solved according to the model formula (16). The light corresponding to each pixel position on the camera image plane is accurately traced according to the reconstructed refractive index field, and the chord length correction value Δs' of the light passing through each divided voxel in the measured area is calculated. ij With the projection transformation scaled by λ, the tomographic projection matrix S is recomputed and the refractive index field is reconstructed again.
[0052] The present invention also provides a device, comprising a processor and a memory; the memory stores a program or instruction, and the program or instruction is loaded and executed by the processor to implement the steps of the flame refractive index field reconstruction method of the present invention.
[0053] The present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the flame refractive index field reconstruction method of the present invention are implemented.
Claims
1. A refractive index field reconstruction method, characterized in that: include: The chord length of the tomographic projection matrix of the background-guided schlieren reconstruction model is optimized; Optimize the light deflection transformation ratio of the background-guided schlieren reconstruction model; The optimized tomographic projection matrix chord length and light deflection transformation ratio are used to calculate the tomographic projection matrix; According to the calculated tomographic projection matrix, the refractive index field is reconstructed using the background-guided schlieren tomographic reconstruction model; The method for optimizing the chord length of the tomographic projection matrix of the background-guided schlieren reconstruction model is: In order to describe the propagation process of light, the world coordinate system (x, y, z) is established as the absolute coordinate system of the entire system; after obtaining the reconstructed refractive index field, ray tracing is performed according to the light propagation equation in the Cartesian coordinate system: Where r is the position coordinate (x, y, z) of a point on the light path, n(r) is the refractive index at point r, s represents the distance traveled by the light, and ds is the differential distance along the light. represents the refractive index gradient at point r; Define the variable t to transform equation (1) into an ordinary differential equation: Use the Runge-Kutta formula to calculate the position vector R with a calculation step of Δt: In the formula, T represents the product of the direction of a point on the light and the refractive index; k1, k2, k3 represent the slopes in the Runge-Kutta formula; Taylor's formula is used to calculate the intersection position r of the light ray with the boundary of the measurement area and the direction ω of the light ray when it leaves the measurement volume: In the formula, r0 and ω0 represent the coordinate vector and direction vector of the last position before the ray tracing exceeds the boundary using the Runge-Kutta formula, and s represents the travel distance of the ray propagation; According to formula (3) (4) and the selected step size, the chord length Δs of the light in each voxel of the control volume is calculated. i ' j ; The method for optimizing the light deflection transformation ratio of the background-guided schlieren reconstruction model is: To describe the image coordinate system (u, v) established on the image plane of each camera, the intersection position r of the light and the boundary of the measurement area and the direction ω of the light when it leaves the measurement volume are calculated according to formulas (3) and (4). Light rays in any direction emitted from the exit point position B will pass through the conjugate image point to obtain the intersection point D of the light and the image plane; the intersection point of the light and the camera image plane is calculated according to the lens model parameters: Among them, D u,v , C u,v , B u,v are the coordinates of the intersection point D, the main surface position C and the emission point position B in the image coordinate system; ii is the ideal imaging distance corresponding to the light ray exit point B, M is the ideal imaging magnification corresponding to the light ray leaving the light ray exit point B, and l is the distance from the light ray leaving the light ray exit point B to the object side principal surface; After determining the intersection of the light and the camera image plane, the three-dimensional offset of the light δ0 and the two-dimensional offset of the image plane δ i The transformation ratio λ between them is: In the formula, S 0i represents the vector composed of the chord lengths of the i-th ray in all voxels, e∈(x,y,z) represents the world coordinate system, D e is a first-order finite difference matrix, whose i-th row corresponds to the i-th voxel, and the position of the element in the i-th row corresponds to the voxel required to calculate the refractive index gradient of the i-th voxel in the vector The position in.
2. The refractive index field reconstruction method according to claim 1, characterized in that: The optimized tomographic projection matrix chord length and light deflection transformation ratio are used to calculate the tomographic projection matrix S: S ij =Δs′ ij ·λ / d u,v (8) In the formula, S ij The element in the i-th row and j-th column represents the deflection contribution weight of the j-th voxel to the i-th ray; λ is the transformation ratio; d u,v Indicates the pixel size in the u and v directions of the camera image plane; Δs i ' j is the chord length of the ray in each voxel of the control volume.
3. The refractive index field reconstruction method according to claim 2, characterized in that: The method for reconstructing the refractive index field using a background-guided schlieren tomographic reconstruction model according to the calculated tomographic projection matrix S comprises: The propagation of light follows Fermat's theorem. The light propagation equation in the Cartesian coordinate system can be expressed as Where r is the position coordinate (x, y, z) of a point on the light path, n is the refractive index of the point, and ds is the differential distance along the light. T is the product of the direction of a point on the light and the refractive index. By integrating T, we can get the offset δ0 of the light after passing through the measurement volume: Where n represents the refractive index of the gas phase medium; r is the position coordinate (x, y, z) of a point on the light path; represents the refractive index gradient; ds represents the differential distance along the light ray; A regular hexahedron reconstruction region is established in the flow region and evenly divided into regular hexahedron voxels; the refractive index of the gas phase medium is n≈1, and the equation (10) is discretized and approximated: Where e∈(x,y,z) represents the world coordinate system, N is the number of voxels divided into the reconstruction area, Δs ij represents the chord length of ray j in voxel i, represents the refractive index gradient in voxel i; Transform the three-dimensional deflection δ0 of the light into a two-dimensional offset δ in the background plane b : Where d is the distance from the reconstructed area to the background plate; δ 0x , δ 0y , δ 0z Respectively represent the deflection of light in the x, y, and z directions after passing through the measurement area; δ bu and δ bv They represent the components of the two-dimensional offset in the u and v directions obtained by projecting the three-dimensional deflection of the light through the measurement area onto the background plane; According to the two-dimensional offset δ in the background plane b , determine the image displacement δ i : Among them, d u ,d v is the pixel size of the camera in the u and v directions; M is the lens magnification; The travel distances of M sampling rays in N voxels constitute the tomographic projection matrix S, whose element in the i-th row and j-th column represents the deflection contribution weight of the j-th voxel to the i-th ray: S ij =Δs ij ·M·d / d u,v (13) The required refractive index in all voxels in the reconstruction area constitutes a vector n, using a first-order finite difference matrix D e The refractive index gradient (▽ e n) i ; Establish the reconstruction equation of background-guided schlieren tomography: In the formula, I u ,I v and I t Represents the vector composed of the derivatives of the image brightness in the camera coordinate system u, v direction and time t direction, and represents the image coordinate direction of the i-th camera perspective; D x , D y , D z Respectively represent the difference matrices in the x, y, and z directions of the world coordinate system, and calculate the first-order difference of the refractive index in the corresponding dimension; After the first reconstruction according to equation (16), an accurate estimate of the refractive index field is obtained. After that, the reconstructed refractive index field is used to perform ray tracing again to obtain a more accurate voxel ray travel distance Δs i ' j : Estimation from the refractive index field After ray tracing, we get the 3D offset of the ray δ0 and the 2D offset of the image plane δ i A more accurate transformation ratio λ is: In the formula, S 0i represents the vector composed of the chord lengths of the i-th ray in all voxels, e∈(x,y,z) represents the world coordinate system, D e is a first-order finite difference matrix, whose i-th row corresponds to the i-th voxel, and the position of the element in the i-th row corresponds to the voxel required to calculate the refractive index gradient of the i-th voxel in the vector Position in After obtaining an accurate estimate of the refractive index field in the first reconstruction, λ is used to replace the transformation ratio d and M in equations (13) and (14) to recalculate the tomographic projection matrix S, and reconstruction is performed again on this basis.
4. A refractive index field reconstruction device, characterized in that: It comprises a processor and a memory; the memory stores a program or instruction, and the program or instruction is loaded and executed by the processor to implement the steps of the refractive index field reconstruction method as claimed in any one of claims 1 to 3.
5. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the refractive index field reconstruction method according to any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Measuring method of inhomogeneous medium field based on Hartmann ray tracing
CN109883993A
Method for measuring non-uniform dielectric field based on Hartmann ray tracing
CN109883994A
