A method for measuring liquid surface dynamic wave height based on 3D-DIC principle

Through a method based on the 3D-DIC principle, binocular cameras and computers are used to track changes in liquid surface light spots, which solves the problems of low accuracy and noise in liquid surface wave height measurement in the existing technology, and achieves high-precision liquid surface dynamic wave height measurement.

CN113899528BActive Publication Date: 2024-09-27JIANGSU WENDONG MEASUREMENT & CONTROL TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111148310.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-29
Publication Date
2024-09-27
Estimated Expiration
2041-09-29

AI Technical Summary

Technical Problem

When measuring the dynamic wave height of the liquid surface, the existing 2D-DIC method has low accuracy, obvious noise, and is sensitive to the impact of the test site, making it difficult to achieve high-precision dynamic wave height measurement of the liquid surface.

Method used

A method based on the 3D-DIC principle is used to detransparent the liquid surface and project random light spots. Binocular industrial cameras and computers are used to track the size and shape changes of the light spots. The liquid surface wave height is calculated by combining stereo matching and triangulation methods. dynamic distribution.

Benefits of technology

It achieves high-precision measurement of liquid surface dynamic wave height, improves measurement accuracy and anti-interference ability, has clear scientific principles, simplifies the implementation process, and successfully extends the 3D-DIC principle to the fluid field.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113899528B
    Figure CN113899528B
Patent Text Reader

Abstract

The present invention provides a method for measuring the dynamic wave height of a liquid surface based on 3D-DIC, comprising: collecting an image of a light spot projected on the liquid surface; calculating the correlation of the pixel grayscale of the image based on a 3D-DIC algorithm, and obtaining the dynamic distribution of the wave height of the observation area at each moment by tracking the size and shape changes of the light spot at each moment in the image. The present invention is based on a wave surface height testing method based on the 3D-DIC principle, which dyes the liquid surface and projects random light spots to form marking points on the liquid surface for computer tracking, and rationally applies the 3D-DIC principle to the measurement of liquids. The method has clear scientific principles and is simple to implement. The relevant recognition algorithm is accurate and effective, and realizes the extension of the 3D-DIC principle from the solid field to the fluid field.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the fields of machine vision and metrology, and in particular to a method for measuring the dynamic wave height of a liquid surface based on the 3D-DIC principle. Background Art

[0002] As an important branch of experimental mechanics, optical metrology has been developed for decades. Various optical metrology methods, such as moiré method (including geometric moiré method and interferometric moiré method), holographic interferometry, electronic speckle interferometry, digital image correlation method, etc., have been successfully used in experimental mechanics and fracture mechanics to measure the surface displacement of solids. Among them, the digital image correlation method is also called digital speckle correlation measurement. It is a non-contact, non-interference, full-field deformation optical metrology method based on computer vision principles, digital image processing and numerical calculation. It is one of the most active, most concerned and most widely used optical metrology methods in the current field of experimental mechanics.

[0003] There are limited examples of using the DIC principle to measure liquid surfaces. In the article Application of digital image correlation (DIC) to sloshing liquids, the authors used a pair of CCD cameras to photograph the water surface. The two cameras used traditional 2D-DIC principle to measure the displacement change in the plane, and then based on the camera's inherent parameters and the geometric relationship between the object to be measured, the out-of-plane displacement of the measuring point was obtained through coordinate transformation. The results measured by this method are low in accuracy, have obvious noise, poor coordination between cameras, and are extremely sensitive to the impact of the test site.

[0004] Therefore, a method for measuring the dynamic wave height of the liquid surface based on the 3D-DIC principle is needed. Summary of the invention

[0005] In view of the defects in the prior art, the present invention provides a liquid surface dynamic wave height measurement method based on the 3D-DIC principle to measure the wave height.

[0006] According to one aspect of the present invention, a method for measuring liquid surface dynamic wave height based on the 3D-DIC principle is provided, comprising:

[0007] Collect the image of the light spot on the liquid surface;

[0008] The correlation of the images is calculated based on the 3D-DIC algorithm, and the dynamic distribution of wave height in the observation area at each moment is calculated by tracking the size and shape changes of the light spot at each moment.

[0009] Preferably, collecting the image of the light spot on the wavefront includes:

[0010] S1, make the liquid surface transparent;

[0011] S2, projects a light spot onto the liquid surface, sets up two industrial cameras just above the liquid surface and connects them to a computer;

[0012] S3, keeping the relative positions of the two industrial cameras unchanged, calibrating the two cameras using the calibration board and saving the calibration data;

[0013] S4, physical disturbance is applied to generate water waves, and two industrial cameras synchronously capture wave surface images at fixed time intervals.

[0014] Preferably, the devitrification treatment may be performed by dyeing or turbidifying the water body so as to present a clear spot image.

[0015] Preferably, the color of the light spot and the color of the water body after de-transparency are set to be different colors, and there is a contrast between them.

[0016] Preferably, the light spots are irregular and randomly distributed to avoid causing noise and improve the accuracy of mutual matching of images.

[0017] Preferably, the two cameras can adjust different resolutions and can enlarge or reduce the shooting range according to actual needs. A polarizer is installed in front of the camera lens to reduce the interference of external stray reflections. The shooting field of view of the dual industrial cameras can be adjusted arbitrarily according to actual test requirements. The synchronization error of the two cameras shooting images at the same time is no more than 1 second.

[0018] Preferably, a matte solid calibration plate is used for calibrating the parameters of the two industrial cameras to reduce the influence of stray light.

[0019] Preferably, the 3D-DIC algorithm can capture and measure the deformation of the light spot caused by the change in wave height, and calculate the change in wave height.

[0020] Preferably, the correlation of the image is calculated based on the 3D-DIC algorithm, and the dynamic distribution of wave height in the observation area at each moment is calculated by tracking the size and shape changes of the light spot at each moment, including:

[0021] S201, the images captured by the dual cameras are matched using traditional stereo matching and triangulation methods to obtain the world coordinates and correlation of the measurement points;

[0022] S202, through S201, the calculation process is extended to the entire wave surface, and then the wave surface height displacement field of the area to be measured at any moment is calculated.

[0023] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded by a processor and executes any one of the above-mentioned liquid surface dynamic wave height measurement methods based on the 3D-DIC principle.

[0024] Compared with the prior art, the present invention has the following beneficial effects:

[0025] The present invention is based on the 3D-DIC principle of the wave surface height test method, through the dyeing treatment of the liquid surface, and the projection of random light spots, the formation of liquid surface marking points for computer tracking, the 3D-DIC principle is reasonably applied to the measurement of liquid. The method has clear scientific principles, simple implementation, and the relevant recognition algorithm is accurate and effective, realizing the extension of the 3D-DIC principle from the solid field to the fluid field. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0027] Figure 1 A schematic diagram of the installation of a device for measuring the dynamic wave height of a liquid surface based on the 3D-DIC principle according to an embodiment of the present invention;

[0028] Figure 2 A flow chart of a method for measuring liquid surface dynamic wave height based on the 3D-DIC principle according to an embodiment of the present invention;

[0029] Figure 3 This is a real-shot light spot image in an embodiment of the present invention; wherein: Figure 3 (a) is the spot image of the liquid surface in a calm state. Figure 3 (b) is the spot image of the dynamic liquid surface at a certain moment;

[0030] Figure 4 To adopt Figure 3 The measurement results obtained by a preferred embodiment of projecting a real-shot light spot; wherein: Figure 4 (a) is the result of the regional static wave height displacement field. Figure 4 (b) is the regional dynamic wave height displacement field result.

[0031] Among them: 1-left industrial camera, 2-right industrial camera, 3-spot projection device, 4-liquid level to be measured, 5-binocular camera synchronization device, 6-computer. DETAILED DESCRIPTION

[0032] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several variations and improvements may be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0033] 3D-DIC refers to an optical measurement method that combines a binocular stereo vision system and the DIC principle to perform correlation calculations on the images of the surface of an object before and after deformation to obtain the size of its deformation. It is also a method to achieve displacement and strain measurement in three-dimensional space. A complete 3D-DIC measurement system needs to be combined with algorithms such as camera calibration and three-dimensional reconstruction. The system complexity is higher than that of 2D-DIC, and it also has higher engineering application value. The existing 3D-DIC measurement has been maturely applied in the measurement of solid objects. Please refer to "Rock and Soil Mechanics" No. 11, 2020 "Experimental Study on the Load Rate Effect of Localized Sandstone Deformation Based on 3D-DIC Technology", "Journal of Southeast University" Vol. 49 No. 6 "Experimental Study on Fatigue Performance at the Opening of the Diaphragm of Orthogonal Special-shaped Steel Bridge Deck Based on 3D-DIC", etc.

[0034] The present invention is different from the prior art in that 3D-DIC is applied to the field of liquid measurement. After devitrification of the liquid, a light spot is projected onto the liquid surface, which is analogous to the natural texture in solid testing. The computer tracks the changes in the shape and size of the light spot as the mechanical wave of the liquid surface moves, calculates the changes in the wave surface displacement field at each moment, and achieves high-precision measurement of the dynamic wave height of the liquid surface. Specifically, the present invention provides an embodiment, a method for measuring the dynamic wave height of the liquid surface based on the 3D-DIC principle, comprising:

[0035] Collect the image of the light spot projected on the liquid surface;

[0036] The correlation of images is calculated based on the 3D-DIC algorithm, and the dynamic distribution of wave height in the observation area at each moment is obtained by tracking the changes in the size and shape of the light spot at each moment.

[0037] In order to better achieve the measurement, the present invention provides another preferred embodiment, wherein the test device is as follows: Figure 1 As shown, it mainly includes a left industrial camera 1, a right industrial camera 2, a spot projection device 3, a liquid level to be measured 4, a binocular camera synchronization device 5, and a computer 6. Among them:

[0038] After the industrial cameras 1 and 2 are connected to the synchronization device 5, they are connected to the computer 6. The computer controls the shooting frequency of the industrial cameras, and the industrial cameras automatically import the captured images into the computer. In this embodiment, the industrial cameras 1 and 2 are set up above the liquid surface, and the spot projection device 3 is set up on the symmetrical center line of the industrial cameras 1 and 2.

[0039] like Figure 2 FIG. 1 is a flow chart of a method for measuring the dynamic wave height of a liquid surface based on the 3D-DIC principle of this embodiment, which specifically includes:

[0040] S1, de-transparentize the liquid 4 to be tested by dyeing to enhance the diffuse reflection effect of the water surface. In order to facilitate computer recognition and improve calculation accuracy, the de-transparentization method of the liquid surface in this embodiment adopts the method of dyeing pure black or other pure colors to form an obvious color difference with the projected light spot.

[0041] S2. Under the condition of weak ambient light, use the light spot projection device 3 to project a light spot onto the dyed water, and adjust the light spot projection device. The angle between the light of the projected light spot and the liquid surface should be as large as possible without hindering the operation of the camera, so as to ensure the projection quality and avoid the light being blocked by the local high point of the wave surface. In this embodiment, the projected light is made close to the normal direction of the liquid surface to the greatest extent, until a brighter and clearer light spot appears on the liquid surface. The left industrial camera 1 and the right industrial camera 2 are set up directly above the test area 4 of the wave surface, and are adjusted according to the actual test requirements of the experiment until a suitable field of view can be captured, and the industrial cameras 1 and 2 are properly connected to the computer 6. It can be seen that this embodiment only requires a binocular camera and a projector for sampling, which is simpler than the interference fringe method.

[0042] S3, keep the relative positions of the left industrial camera 1 and the right industrial camera 2 unchanged, calibrate the cameras using the calibration plate, complete the calibration of the camera's internal and external parameters, and save the calibration data to the computer 6. The present invention is not limited to a specific binocular camera calibration method, and any method that can achieve binocular camera calibration is acceptable. In this embodiment, a matte solid calibration plate is used to calibrate the parameters of the two industrial cameras to reduce the influence of stray light.

[0043] S4, applying physical disturbance to generate water waves, setting the required shooting time interval, the dual cameras synchronously shoot wave surface images, and store the image information obtained in the shooting in the computer 6. The images are saved in TIF format to ensure that the format is not compressed and the image quality is lossless. The shooting time interval can be set to 100ms, 50ms or 25ms. In this embodiment, a shooting interval of 50ms is preferably used.

[0044] S5, based on the 3D-DIC principle algorithm, tracks the size and shape changes of the light spot at each moment through image processing, and calculates the wavefront height distribution of the observation area at each moment.

[0045] Take a certain measurement as an example. Before the wavefront height changes, the distribution of the spot information carried by a certain area in the wavefront to be measured in the left and right viewing angles is as follows: Figure 3(a) As shown. The distribution of the spot information carried by the dynamic wavefront at a certain moment in the area changes in the left and right viewing angles, as shown in Figure 3 Based on the 3D-DIC principle, the static wave height displacement field of the area is measured by computer correlation calculation of the spot image as shown in (b). Figure 4 As shown in (a), the dynamic wave height displacement field results of the area are measured as follows: Figure 4 (b) as shown.

[0046] In order to better calculate the correlation of the spot image, the present invention provides a preferred embodiment.

[0047] First, the images captured by the two cameras are matched using traditional stereo matching and triangulation methods, as follows:

[0048] [X Q ,Y Q ,Z Q ] T =M + b

[0049]

[0050]

[0051] Where (x L ,y L ) is the coordinate of the measuring point in the left camera coordinate system, (x R ,y R ) is the coordinate of the measuring point in the right camera coordinate system; and are the intrinsic parameters of the left camera and the right camera, respectively, which can be obtained through calibration;

[0052] The coordinates of the measuring point in the world coordinate system can be expressed as:

[0053] [X Q ,Y Q ,Z Q ] T =M + b

[0054] X Q ,Y Q ,Z Q is the actual world coordinate of an observation point, M + and b are coefficient matrices related to the relative positions of the two cameras and the intrinsic parameters of the cameras.

[0055] Where M+ is the left pseudo-inverse matrix of matrix M (M+ = (M T M) -1 M T ), M and b matrices are as follows, where Rc =[R 11 ,R 12 ,R 13 ; R 21 ,R 22 ,R 23 ; R 31 ,R 32 ,R 33 ] and T c =[t x ,t y ,t z ] T It is the coefficient matrix of the left and right camera position relationship.

[0056]

[0057]

[0058] Finally, through the above calculation method, the calculation process is extended to the entire wave surface, and the world coordinates and correlation of the entire wave surface at a certain moment are obtained, that is, the wave surface height displacement field at a certain moment is obtained. Then, the wave surface height displacement field of the area to be measured at any moment is calculated.

[0059] In this example, it has the advantages of simple operation, high precision and strong anti-interference ability. It replaces the traditional DIC method of drawing speckle on the surface of solid objects and can realize the three-dimensional wave height field test on the surface of liquid.

[0060] In other embodiments of the present invention, a polarizing plate is installed in front of the camera lens to reduce the interference of external stray reflections. The calibration plate adopts a solid calibration plate with weak reflection to increase the accuracy and efficiency of calibration. After determining the measurement field of view, the relative position of the two cameras is kept unchanged by a fixing device to improve the accuracy of the calibration result. Hardware devices such as a hard trigger switch with good performance are used to achieve the synchronous shooting performance of the dual cameras.

[0061] Based on the same concept of the above methods, the present invention provides a computer-readable storage medium, in which at least one instruction, at least one program, code set or instruction set is stored, and the at least one instruction, at least one program, code set or instruction set is loaded by a processor and executes any of the above liquid surface dynamic wave height measurement methods based on the 3D-DIC principle.

[0062] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art can make various modifications or variations within the scope of the claims, which does not affect the essence of the present invention. The above preferred features can be used in any combination without conflicting with each other.

Claims

1. A method for measuring liquid surface dynamic wave height based on 3D-DIC principle. It is characterized in that include: Collect the image of the light spot projected on the liquid surface; The correlation of the pixel grayscale of the image is calculated based on the 3D-DIC algorithm, and the dynamic distribution of the wave height in the observation area at each moment is obtained by tracking the size and shape changes of the light spot at each moment in the image; Wherein, the collecting of the image of the light spot projected on the liquid surface includes: S1, de-transparentizing the liquid surface; S2, projects a light spot onto the liquid surface, sets up two industrial cameras just above the liquid surface and connects them to a computer; S3, keeping the relative positions of the two industrial cameras unchanged, calibrating the two cameras and saving the calibration data; S4, applying physical disturbance to generate water waves, and two industrial cameras synchronously capture wave surface images at fixed time intervals; The method of calculating the correlation of the pixel grayscale of the image based on the 3D-DIC algorithm and obtaining the dynamic distribution of wave height in the observation area at each moment by tracking the size and shape changes of the light spot at each moment in the image includes: S201, the images captured by the dual cameras are matched using traditional stereo matching and triangulation methods to obtain the world coordinates and correlation of the measurement points; S202, S201 is extended to the entire wave surface, thereby obtaining the wave surface height displacement field of the area to be measured at any time, Among them, S201 includes: [X Q ,Y Q ,Z Q ] T =M + b Where (x L ,y L ) is the coordinate of the measuring point in the left camera coordinate system, (x R ,y R ) is the coordinate of the measuring point in the right camera coordinate system; and are the intrinsic parameters of the left camera and the right camera, respectively, which can be obtained through calibration; The coordinates of the measuring point in the world coordinate system can be expressed as: [X Q ,Y Q ,Z Q ] T =M + b X Q ,Y Q ,Z Q is the actual world coordinate of an observation point, M + and b are coefficient matrices related to the relative positions of the two cameras and the intrinsic parameters of the cameras; Among them, M + is the left pseudo-inverse matrix of the matrix M (M + =(M T M) -1 M T ), M and b matrices are as follows, where R c =[R 11 ,R 12 ,R 13 ; R 21, R 22 ,R 23 ; R 31 ,R 32 ,R 33 ] and T c =[t x ,t y ,t z ] T is the coefficient matrix of the left and right camera position relationship; 2. The method for measuring the dynamic wave height of liquid surface based on the 3D-DIC principle according to claim 1, It is characterized in that The devitrification treatment includes dyeing or turbidity treatment of the water body.

3. The method for measuring liquid surface dynamic wave height based on the 3D-DIC principle according to claim 1, It is characterized in that The color of the light spot and the color of the liquid after de-transparency are set to be different colors, so that there is a contrast between them.

4. The method for measuring liquid surface dynamic wave height based on the 3D-DIC principle according to claim 1, It is characterized in that The light spots are irregular and randomly distributed.

5. The method for measuring liquid surface dynamic wave height based on the 3D-DIC principle according to claim 1, It is characterized in that The two industrial cameras are both capable of adjusting multiple resolutions; a polarizing plate is installed in front of the lens of each industrial camera.

6. The method for measuring liquid surface dynamic wave height based on the 3D-DIC principle according to claim 1, It is characterized in that Matte solid calibration plate is used to calibrate the parameters of two industrial cameras.

7. The method for measuring liquid surface dynamic wave height based on the 3D-DIC principle according to claim 1, It is characterized in that The 3D-DIC algorithm can capture and measure the deformation of the light spot caused by the change in wave height, and calculate the change in wave height.

8. A computer-readable storage medium, It is characterized in that The storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded by the processor and execute the liquid surface dynamic wave height measurement method based on the 3D-DIC principle as described in any one of claims 1 to 7.