Research on Stability of Gray Value of Excited-State Fluorescent Oil Film Based on Variable Light Vector Angle

In global skin-friction measurement of aircraft, the fluorescent oil film method can characterize the distribution of skin friction well. However, in an actual wind tunnel test, the wing of the aircraft will inevitably produce corresponding vibrations due to the influence of wind, which will change the relative position between fluorescent oil film and UV (ultraviolet) excitation light source (position fixed). ,is also directly affects gray value imaging of fluorescent oil films. Based on this, a mathematical model is established to judge the stability of the gray value of fluorescent oil film in this vibrational environment; then, the model can be solved to obtain the vibrational range constraint that enables the gray value of fluorescent oil film to be stabilized. In order to simplify the calculation process, the light vector angle is used to describe the constraint, which also makes the results more intuitive. ,rough experimental analysis and demonstration, the prediction accuracy of this model can reach 95.61%, which has certain practical engineering application significance.


Introduction
Skin friction is one of the most important physical quantities in aerodynamics, as an essential component of the total resistance in an aircraft. It can describe the state of the turbulent boundary layer well and is also one of the most difficult physical quantities to determine [1][2][3][4]. According to available research, the skin friction of modern civil aircraft can account for about 50% of total resistance during stable operation [5][6][7][8]. It holds a dominant position when compared to other resistance factors.
erefore, it has great military and economic significance to reduce skin friction in terms of saving fuel consumption and increasing the payload of the aircraft [9,10].
Traditional methods of measuring skin friction are mainly local indirect methods, such as hot-wired method, hot-film anemometry, Preston tube, Stanton tube, boundary-layer separation, and laser Doppler anemometry [11]. Subsequently, Professor Tianshu Liu from Western Michigan University proposed a method combining fluorescent oil film and machine vision to directly measure skin friction in 2008 [12], which has the advantages of simple equipment operation, high spatial resolution, no special requirements for measurement tool, fast calculation speed, and high calculation accuracy compared to traditional measurement methods. Now, this method has become a mainstream method for the direct measurement of skin friction in the international arena. In 2011, Peng and Xiao revealed that the gray value of fluorescent oil film was linearly related to the thickness through experiments and introduced this linear equation into a relative skin-friction resistance model [13] so as to obtain a mapping model between relative skin-friction resistance of the imaging plane and the gray value of fluorescent oil film. e exploration of this model provided strong support for studying and solving the direct measurement of skin-friction resistance. In 2016, Zhan et al. [14] conducted a systematic review and analysis of the fluorescent oil film control equations and then combined the optical flow method in the experiment to verify the feasibility of the fluorescent oil film control model. In the most recent year of 2019, Zou et al. [15] used the image correlation method to obtain adjacent time-series images and the mapping matrix of their background textures, based on the continuity principle of model motion, and the global optimization equations of the mapping matrix were solved. en, the optical flow method was used to decouple the model vibration from the path motion of the fluorescent oil film surface, which improved the accuracy of the skin-friction resistance solution.
However, the linear model of gray value and fluorescent oil film thickness mentioned in many of the above studies do not take into account other disturbing factors such as the vibrational motion of the wing. For example, assuming that when UV (ultraviolet) excitation light source is fixed, the thickness of fluorescent oil film on the wing is constant and does not change with time. e aircraft wing will move with small vibrations in the actual wind tunnel test and high wind speeds, which will cause the fluorescent oil film attached to the wing to move with it too. On the basis of this movement, the spatial position of fluorescent oil film will change. is variation equates to a change in the spatial vector between UV excitation light source and fluorescent oil film. e spatial vector contains information on the distance and spatial orientation from UV excitation light source to fluorescent oil film. It changes the intensity of the light produced when the fluorescent oil film is excited by the UV excitation light source. It is well known that the gray value imaging of fluorescent oil film is linearly related to the intensity of UV light that excites the fluorescent oil film. e light intensity of the fluorescent oil film is closely related to the distance between the UV excitation source and the fluorescent oil film, that is, a longer distance of fluorescent oil film from UV excitation light source, the lower light emitted from fluorescent oil film, and the darker gray value presented. In order to facilitate the calculation of the model, the vector angle and distance factor of UV light are introduced to represent the variable space vector between fixed UV excitation light source and fluorescent oil film, using the light vector angle to characterize the wing vibration as a constraint. So a mathematical model between the light vector angle and gray value is then established to determine whether the gray value of the fluorescent oil film is stable within a certain range of light vector angle variations.
In order to solve the above-related problems, this paper analyzes and investigates the stability of the gray value of fluorescent oil film in a vibrational environment. e variational range constraint that stabilizes the gray value of the fluorescent oil film is explored, and the light vector angle is used to characterize this vibrational range constraint, which makes the results more intuitive. Based on the vibrational environment, a theoretical analysis on the stability of gray value is carried out, and we establish a mathematical model from the light vector angle and gray value. A range of light vector angular variation (maximum oscillation range) that stabilizes the gray value of the fluorescent oil film is also researched. As shown by experimental results, the measurement accuracy of the theoretical mathematical model can reach 95.61%, which has certain practical engineering application significance. At the same time, the stability of the gray value of fluorescent oil film has been studied to limit the interference factors in the measurement of skin friction resistance and to provide a range of applications for the use with fluorescent oil films.

Mathematical Model Theory
Assuming that the fluorescent oil film is with high viscosity coefficient, the effects of wing vibration or other disturbing factors on the film thickness are ignored, and only these effects on the gray value of fluorescent oil film are considered. A mathematical model is developed in these above contexts. en, the camera is calibrated to obtain the internal and external parameters. e position pose is calculated to obtain matrix R (rotation) and matrix T (translation) for the transformation of the pixel coordinate system to the world coordinate system. is method enables the world coordinate position corresponding to the pixel coordinate point to be found accurately. By obtaining information on the spatial vector variation between the fluorescent oil film and the fixed UV excitation light source, UV vector angles are used to describe the range of spatial vector variations which facilitate model calculations. Finally, a complete mathematical model for judging the stability of the gray value has been established. e vibration of the simulated wing is shown in Figure 1. e mathematical theory is derived as follows. is world coordinate system is established with a fixed UV excitation light source as the initial coordinate point, which is shown in Figure 2.
Let the UV excitation light source be I 0 , the fluorescence brightness at coordinate point 1 named "I 1 ," and the fluorescence brightness at coordinate point 2 after the offset named "I 2 ," whose coordinate information is shown in the following equation: Here, Δx, Δy, Δz are the offsets of x, y, z. From this, the vector modulus lengths of I 1 , I 2 , and I 0 named "|R 1 | �� �→ and |R 2 | �� �→ ," and the modulus length of the offset vector named "|Δ| �→ ," as shown in the following equation: e brightness equation of the fluorescent oil film [11] is then given by Here, the absorption efficiency coefficient of the fluorescent oil film named "c," and the molecular coefficient of the fluorescent oil film concentration named "ϕ(x, y, z, t)." If I 0(x,y,z) is the brightness of UV excitation light source, then I (n) is the brightness of the excited fluorescent oil film. And then, the thickness of the fluorescent oil film named "h." By rearranging, we observe that the brightness equation may be expressed as equation (4). e brightness value of the fluorescent oil film at I 1 and I 2 can be obtained, and we designate the light intensity of the UV excitation light source relative to the point (x, y, z) as I 0(x,y,z) ∧ ; similarly, I 0(x+Δx,y+Δy,z+Δz) ∧ is the light intensity of the UV excitation light source relative to the point (x + Δx, y + Δy, z + Δz).
According to research literature, the power of UV excitation light source [16][17][18] is shown as e power parameter of the UV excitation light source is W, and there a distance is d. e relationship between I 1 and I 2 is further processed, as shown in the following equation: Assuming that the concentration of the fluorescent oil film is uniform everywhere, then the thickness of fluorescent oil film is constant. So these can be written as en, we can get the luminance ratio relationship as e fluorescence brightness at I 1 is subtracted from the fluorescence brightness at I 2 to obtain the difference ΔS. It can be defined as in order to explore the stability of the gray value under the condition of wing vibration or other disturbance conditions. In other words, it can be said as the maximum range of change in light vector angle caused by wing vibration or other disturbance when the gray value is stable. erefore, a constraint is established to indicate that the gray value of the fluorescent oil film is stable, as shown in the following equation: en, the equation can be expanded as follows: It can be rewritten as where 0 ≤ Δ → (Δx,Δy,Δz) , by referring to the principle of the trigonometric formula as follows: where θ is the light vector angle. Finally, on this basis, a mathematical model which uses the varying light vector angle to describe the stability of the gray value is established. In this mathematical model, we only need to measure the coordinate information and brightness information at the initial position of the oil film; then, it is possible to obtain a range of light vector angular variations for stabilizing the gray value of the fluorescent oil film.
Mathematical Problems in Engineering 3

Experiment Operation and Result Analysis
e position-pose calculation in camera calibration facilitates the transformation of the pixel coordinate system to the world coordinate system, which enables accurate mapping of coordinate points on the pixel plane to the world coordinate system, and this is of great significance in the experiments.
e main technical route of this experiment is shown in Figure 3, where it can be divided into two modules: camera calibration and data processing. e platform used in the experiment is shown in Figure 4. We use Canon EOS 550D camera during the experiment. Its horizontal resolution and vertical resolution are 72 dpi with a bit depth of 24. It has the advantages of high resolution, fast acquisition speed, and convenient operation. e model of the UV excitation light source used in the experiment is JZFZ-220/18-001, which has a uniform emission of UV light. e effective power of it is 18 W ± 10%. During the experiment, a 632 nm optical filter is installed at the camera lens for avoiding the effects of interfering light such as UV or environmental light when the fluorescent oil film is in an excited state. e aim is to achieve an improvement in the accuracy of the gray value.
We use a high-precision sliding platform, as shown in Figure 5, which not only moves freely in the x and y axes but also has a precise scale value attached to it for reference during the actual measurement. e camera and UV excitation light source will remain fixed at all times during the experiment, which ensures the scientific validity, reliability, and accuracy of the experiment.

Camera Calibration.
e key to obtaining accurate information on the location of the world coordinates corresponding with pixel coordinate points is to complete the transformation between the pixel coordinate system and the world coordinate system [19][20][21]. e theoretical model for transforming the coordinate system can be expressed as Here, we define that the pixel scale factor is λ, the pixel coordinate is (u, v), and the world coordinate point is (X W , Y W , Z W ).
In equation (16), M 1 is the internal camera parameter matrix that determines the relationship between the camera objective and the image plane, and M 2 is the external parameter matrix which is used to determine the position-pose relationship between these three-dimensional coordinate systems [22,23].
Considering to make the method of camera calibration simple and effective, Zhang Zhengyou's camera calibration method is used in this experiment. In order to improve the accuracy of the position-pose calculations, distortion correction is applied to the radial and tangential distortion coefficients on the captured images. en, the camera calibration is completed by sorting the code points and matching the target points with the same name.
e multiple arbitrary position-pose calibration images which we used are shown in Figure 6. e camera    Table 1.
After the camera calibration process is completed, an additional image is taken for decoding, as shown in Figure 7, which is intended to complete the position-pose calculations.
And the matrix of external parameters obtained is shown in the following equation: Here, α 1 , α 2 , α 3 , β 1 , β 2 , β 3 , c 1 , c 2 , and c 3 are the coefficients obtained by multiplying the matrices of three Euler angles ϕ, ω, and κ, respectively. X s , Y s , and Z s are the origin coordinates of the camera coordinate system after rotation.

Data Processing and Result Analysis.
In this experiment, a custom-made fixation groove was used to fill the fluorescent oil film, which aimed to avoid diffusion or flow of oil film and to improve the stability of the measurement. e sample of the image taken is shown in Figure 8: e world coordinate system established during the experiment is shown in Figure 9. To improve the stability of the collected gray value data, pixel values of the measurement points are averaged, and the working distribution of the sampling points is shown in Figure 10.
Grayscale processing of the images is carried out to facilitate the reading of the pixel matrix by MATLAB software. e grid processing of the images enables us to find the exact coordinate values of pixels that will be measured.
In particular, some systematic errors will inevitably occur during the camera calibration, but target points 1 to 10 are all performed under the same camera calibration error, and so the effect of this error factor can be relatively ignored. e world coordinate system established on the decoded diagram in Figure 7 simply moved in parallel to obtain the world coordinate system, as shown in Figure 9.
e direction of movement is from right to left; then, we set the initial movement coordinates on the X-axis scale at (145, 0). e picture moving in the same direction and distance is shown in Figure 11, and the measured data are shown in Table 2. In this table, the Metrical data (mm) column indicates the moving distance interval at which the fluorescent oil film moves while the gray value is stable.    Table 2 and validated by experimental analysis, the prediction error of the model         Figure 11: Moving in the same direction and the same distance. established in this paper is 4.39%, that is, the prediction accuracy of the model is 95.61%. e distribution of the gray value curves for the sampling points is shown in Figure 12. We combine Table 2 and Figure 12 for analysis. It can be seen that the fluorescent oil film measurement point is further away from the UV excitation light source. e gray value is low, which conforms to the laws of natural science. e larger error at the measurement point 5 may be due to the fact that fluorescent oil film concentration is higher at this location compared to other areas. So it can absorb more light energy, which changes its gray value and affects the model's prediction here.

Conclusion
By researching the stability of fluorescent oil film greyscale values under wing vibration conditions, a mathematical theory was derived and analyzed, which was then validated by practical tests. After the model and data analysis, the following conclusions were drawn: (1) In this paper, a mathematical model for judging the stability of the gray value of the fluorescent oil film is developed based on the background of the vibration conditions of the wing. Within this model, we only need to measure the coordinate information and brightness information from the initial position of oil film to find the vibration range that makes the gray value of the fluorescent oil film stable, and the light vector angle is used in the model to characterize this vibration range, which makes the results more intuitive and concise. (2) e results were tested through practical experiments. According to the analysis of the experimental data, the prediction accuracy of the mathematical model established in this paper is as high as 95.61%, which reaches the index of practical engineering applications. is will provide a strong vibration range constraint for the global skin-friction measurement of aircraft and exclude the influence of vibration interference on the global skin damage measurement, which has certain practical engineering application significance.

Data Availability
e data used to support the findings of this study were supplied by Hongjiang Qian under license and so cannot be made freely available. Requests for access to these data should be made to Hongjiang Qian (e-mail: 956312605@ qq.com).

Conflicts of Interest
e authors declare that they have no conflicts of interest.