A method for using a PIV experimental device with an automatic calibration device

By introducing an automatic calibration device into the PIV experimental device, using a robot and a control unit to realize automatic adjustment of a high-speed camera, the problem of time-consuming calibration process in the prior art is solved, the efficiency and accuracy of the experiment are improved, and it is suitable for multi-phase flow detection.

CN110579627BActive Publication Date: 2024-11-22ZHEJIANG SCI-TECH UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910804396.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-08-29
Publication Date
2024-11-22
Estimated Expiration
2039-08-29

AI Technical Summary

Technical Problem

The calibration process of existing PIV experimental devices requires a lot of manpower and resources, and is not automated and efficient, which affects the detection accuracy and time efficiency of fluid or multiphase flows.

Method used

A PIV experimental device with automatic calibration device is designed, including a robot and a control unit. The robot has three degrees of freedom and can adjust the position and focal length of the high-speed camera through vertical lifting, horizontal telescopic and rotating mechanisms, and screening in combination with image processing system. The measurement domain is automatically adjusted to automatically adjust the camera's focal length and object distance to improve the efficiency and accuracy of the experiment.

Benefits of technology

It realizes rapid and effective automatic calibration of PIV experiments, improves the efficiency and universality of the experiments, reduces the waste of manpower and resources, enhances the intelligence and accuracy of the experiments, and is suitable for shooting of different cameras.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110579627B_ABST
    Figure CN110579627B_ABST
Patent Text Reader

Abstract

The present invention discloses a PIV experimental device with an automatic calibration device, including an observation plate and the automatic calibration device, wherein an observation domain is provided on the observation plate, wherein the observation domain is divided into a plurality of measurement domains of circular boss structures, and the automatic calibration device is arranged opposite to the observation domain; the automatic calibration device includes a support seat, a high-speed camera, a manipulator for fixing the high-speed camera, and a control unit for controlling the movement of the manipulator, wherein the manipulator is installed on the support seat, and the manipulator includes a vertical lifting mechanism, a horizontal telescopic mechanism, and a rotating mechanism for connecting the vertical lifting mechanism and the horizontal telescopic mechanism; the control unit is used to control the operation of the vertical lifting mechanism, the horizontal telescopic mechanism and the rotating mechanism. After adopting the present PIV experimental device, the experiment is made more efficient, and can be used for shooting with different cameras, and has high universality and intelligence. The present invention provides a method for using a PIV experimental device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention also relates to a method for using the automatic calibration device for the PIV experimental device. Background Art

[0002] In the detection of fluid or multiphase flow, the use of PIV experimental devices is common. Its principle is to use an optical camera to capture tracer particles or other particle phases, and then use computer post-processing to obtain the vector field and velocity field of the target in this experiment (such as the particle phase in the solid and liquid phases). Usually when using a PIV device, it is necessary to adjust the distance between the high-speed camera and the observation area and the focal length of the high-speed camera so that the image of the observation area can be displayed more clearly on the computer.

[0003] However, the existing placement device of high-speed cameras only has the functions of bearing weight and manual translation. The calibration of each test takes up most of the test time, which causes waste of manpower and resources. In the process industry, multiphase mixed transportation is widely used. There are still many problems about the impact of fluid (mainly including multiphase flow) on the conveying device during transportation. In particular, it requires scientific researchers and industry to study the movement mechanism of multiphase flow in the conveying device according to the current situation. The choice of test device determines the accuracy of the test and the efficiency in time. Intelligent, efficient and precise experiments have always been the ideal direction for engineers and scientific researchers. Summary of the invention

[0004] In order to overcome the deficiencies of the prior art, the present invention provides a PIV experiment device with an automatic calibration device that can establish a PIV experiment more reasonably, quickly and effectively.

[0005] The technical solution adopted by the present invention to solve the technical problem is: a PIV experimental device with an automatic calibration device, comprising an observation plate and the automatic calibration device, the observation plate is provided with an observation area, the observation plate is provided with an observation area, the observation area is divided into a plurality of measurement areas of circular boss structures, and the automatic calibration device is arranged opposite to the observation area;

[0006] The automatic calibration device includes a support base, a high-speed camera, a manipulator for fixing the high-speed camera, and a control unit for controlling the movement of the manipulator. The manipulator is installed on the support base, and the manipulator includes a vertical lifting mechanism, a horizontal telescopic mechanism, and a rotating mechanism for connecting the vertical lifting mechanism and the horizontal telescopic mechanism.

[0007] The control unit is used to control the operation of the vertical lifting mechanism, the horizontal telescopic mechanism and the rotating mechanism.

[0008] The beneficial effects of the present invention are as follows: the manipulator has at least three degrees of freedom, can be extended and retracted in the horizontal direction, lifted and lowered in the vertical direction, and can swing through a rotating mechanism, and the high-speed camera realizes an organic combination of actions through the manipulator and under the control of the control unit. When the experimental device is not in use, the manipulator uses the rotating mechanism to rotate 90 degrees clockwise to a vertical position to be in a lowered state; when in use, the front end of the manipulator rotates 90 degrees counterclockwise. When the corresponding focal length and object distance are calculated by the control unit, the focal length of the camera is adjusted according to the focal length value and using the focal length adjustment device (that is, the camera lens is rotated using the focal length adjustment device so that the focal length value of the camera is the same as that calculated by the computer), and at the same time, the cylinder of the forearm of the manipulator is started and moved to the same position as the calculated object distance. When working, for particles passing through the observation domain, the measurement domain can increase the ability to reflect light. If a group of measurement domains is close to the fluid, there are usually foreign objects attached to it, which causes the measurement domain in the picture taken by the high-speed camera to be not a complete circle. Therefore, the measurement domain on the observation domain taken in the early stage is screened, and the most suitable measurement domain is selected. Then, according to the clarity of the measurement domain, the position and focal length of the high-speed camera are adjusted using the manipulator and control unit. After using this PIV experimental device, the experiment is more efficient, and it can be used for shooting with different cameras, with high universality and intelligence.

[0009] It is further configured as follows: the vertical lifting mechanism is a vertically arranged vertical cylinder; the horizontal telescopic mechanism is a vertically arranged horizontal cylinder; the rotating mechanism includes a vertical connecting seat fixed to the vertical cylinder and a horizontal connecting seat fixed to the horizontal cylinder, the horizontal connecting seat is rotatably arranged on the vertical connecting seat through a hinge shaft, and a driven gear is fixed on the surface of the horizontal connecting seat, a driving gear meshing with the driven gear is rotatably arranged on the vertical connecting seat, a servo motor is also installed on the vertical connecting seat, and the output shaft of the servo motor is coaxially connected to the driving gear; the vertical cylinder, the horizontal cylinder and the servo motor are all controlled by a control unit. The vertical cylinder, the horizontal cylinder and the servo motor are simpler and more convenient to control, and the servo motor has high control accuracy, which improves the accuracy of the experiment.

[0010] It is further configured that: obstacle sensors are installed on the upper and lower parts of the horizontal cylinder respectively, and the obstacle sensors are used to sense obstacle signals from the surroundings and transmit them to the control unit to control the operation of the vertical cylinder, the horizontal cylinder and the servo motor. The setting of the obstacle sensor helps to improve the safety of the automatic calibration device and avoid damage to the experimental equipment.

[0011] It is further configured that: the measurement domain is a convex spherical surface structure. The convex spherical surface structure can more accurately reflect the attached foreign matter, thereby excluding the measurement domain that is not suitable for observation.

[0012] In order to overcome the shortcomings of the prior art, the present invention provides a method for using a PIV experimental device, which calibrates the position and focal length of a PIV camera through a function model, improves the recognition of tracer particles in the PIV experimental device, and further improves the experimental environment of the PIV experimental device.

[0013] The technical solution adopted by the present invention to solve the technical problem is: a method for using an automatic calibration device for a PIV experimental device, using the aforementioned PIV experimental device, comprising the following steps:

[0014] Step 1: Use the image processing system to select the two largest measurement domains in the observation domain, which are defined as measurement domain A and measurement domain B respectively;

[0015] Step 2: Import the image in the observation domain into the image processing system for grayscale processing, and obtain the grayscale value of the measurement domain A (B) as h t The standard grayscale value of the preset measurement domain is H = h t (a), wherein the grayscale value of the measurement domain A (B) is the value obtained after grayscale processing is performed on one measurement domain selected from the measurement domain A and the measurement domain B;

[0016] Step 3: Establish the gray value h of the measurement domain A (B) t The functional relationship between the focal length f of the camera and the object distance u is Fitting β0, β1, β2, β3, β4, and β5 are constants;

[0017] Step 4: Use the parameter estimation algorithm in multivariate linear regression to obtain multiple sets of focal lengths f and object distances u and the corresponding grayscale h t , and estimate the corresponding parameters Among them, i = 0, 1, 2, 3, 4, 5, that is, the corresponding is a constant, the corresponding function is

[0018] Step 5: Based on the object distance u, image distance v and focal length f of one of the convex lenses of the high-speed camera lens, the relationship between the object distance u, image distance v and focal length f is obtained as follows: and get

[0019] Step 6: The distance from the center of the high-speed camera lens group to the high-speed camera film is taken as the film distance D. According to the principle of camera imaging, when the image of the object falls on the high-speed camera film, v=D(d). Simultaneously combining functions (a), (b), (c) and (d), we get:

[0020]

[0021] Calculate f = ψ(D, H) and u = φ(D, H);

[0022] Step 7: According to the focal length f and object distance u obtained in step 6, the object distance and focal length of the high-speed camera in the measurement domain are controlled by an automatic calibration device.

[0023] The beneficial effects of the present invention are as follows: the manipulator has at least three degrees of freedom, can be extended and retracted in the horizontal direction, raised and lowered in the vertical direction, and can swing through a rotating mechanism, and the high-speed camera realizes an organic combination of actions through the manipulator and under the control of the control unit. During operation, for particles passing through the observation domain, the measurement domain can increase the ability to reflect light. If a group of measurement domains is close to the fluid, foreign matter is usually attached, resulting in the measurement domain in the picture taken by the high-speed camera being often not a complete circle. Therefore, the measurement domain on the observation domain taken in the early stage is screened, the most suitable measurement domain is selected, and then the position and focal length of the high-speed camera are adjusted using the manipulator and the control unit according to the clarity of the measurement domain. After adopting this PIV experimental device, the experiment is more efficient, and it can be used for shooting with different cameras, with high universality and intelligence.

[0024] It is further set to: The gray value h of the measurement domain A (B) in step 2 t The weighted average method is used to obtain h t =0.3R+0.6G+0.1B.

[0025] Further set as follows: In step 6, f = ψ (D, H) and u = φ (D, H) are solved by Matlab software,

[0026] BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 It is a schematic diagram of the structure of the measurement domain according to an embodiment of the present invention.

[0028] Figure 2 It is a schematic diagram of the structure of the automatic calibration device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0029] The present invention will be further described below in conjunction with the accompanying drawings:

[0030] Embodiment 1: Figure 1 , 2As shown, this embodiment includes an observation plate 1 and an automatic calibration device 2. The observation plate 1 is provided with an observation area 11, and the observation area 11 is divided into a plurality of measurement areas 12 of circular spherical structures. The automatic calibration device 2 is arranged opposite to the observation area 11, and includes a support seat 21, a high-speed camera 22, a manipulator 23 for fixing the high-speed camera, and a control unit (not shown) for controlling the movement of the manipulator 23. The manipulator is installed on the support seat 21, and the manipulator includes a vertical lifting mechanism, a horizontal telescopic mechanism, and a rotating mechanism 233 for connecting the vertical lifting mechanism and the horizontal telescopic mechanism. Among them, the control unit controls the operation of the vertical lifting mechanism, the horizontal telescopic mechanism and the rotating mechanism through the line, and the line control here belongs to the conventional connection to realize the data transmission of the control signal.

[0031] The vertical lifting mechanism is a vertical cylinder 231 arranged vertically; the horizontal telescopic mechanism is a vertical horizontal cylinder 232 arranged vertically; the rotating mechanism 233 includes a vertical connecting seat 2331 fixed to the vertical cylinder 231 and a horizontal connecting seat 2332 fixed to the horizontal cylinder 232, the horizontal connecting seat 2332 is rotatably arranged on the vertical connecting seat 2331 through a hinge shaft, and a driven gear 2334 is fixed on the surface of the horizontal connecting seat 2332, a driving gear 2333 meshing with the driven gear 2334 is rotatably arranged on the vertical connecting seat 2331, and a servo motor 2335 is also installed on the vertical connecting seat 2331, and the output shaft of the servo motor 2334 is coaxially connected to the driving gear 2333; the vertical cylinder 231, the horizontal cylinder 232 and the servo motor 2335 are all controlled by a control unit. In addition, obstacle sensors 3 are installed on the upper and lower parts of the horizontal cylinder 232, respectively. The obstacle sensors 3 are used to sense obstacle signals from the surroundings and transmit them to the control unit to control the operation of the vertical cylinder 231, the horizontal cylinder 232 and the servo motor 2335, which helps to improve the safety of the automatic calibration device 2 and avoid damage to the experimental equipment. The control unit uses Siemens S7-300 PLC, which is also the most commonly used PLC in the industry to control devices such as manipulators. The PLC itself is a complete control system, including software control and actuators (control chips).

[0032] Embodiment 2: This embodiment relates to the method of using Embodiment 1. This embodiment includes the following steps:

[0033] Step 1: Screen out two measurement domains 12 with the largest areas in the observation domain 11 through an image processing system, and define them as measurement domain A and measurement domain B respectively;

[0034] Step 2: Import the image in the observation domain 11 into the image processing system in the control unit for grayscale processing, and obtain the grayscale value of the measurement domain A (B) as h t The standard grayscale value of the preset measurement domain is H = h t(a), wherein the grayscale value of the measurement domain A (B) is the value obtained after grayscale processing is performed on one measurement domain selected from the measurement domain A and the measurement domain B;

[0035] Step 3: Establish the gray value h of the measurement domain A (B) t The functional relationship between the focal length f of the camera and the object distance u is Fitting β0, β1, β2, β3, β4, and β5 are constants;

[0036] Step 4: Use the parameter estimation algorithm in multivariate linear regression to obtain multiple sets of focal lengths f and object distances u and the corresponding grayscale h t , and estimate the corresponding parameters Among them, i = 0, 1, 2, 3, 4, 5, that is, the corresponding is a constant, the corresponding function is

[0037] Step 5: Based on the object distance u, image distance v and focal length f of one of the convex lenses of the high-speed camera 22, the relationship between the object distance u, image distance v and focal length f is obtained as follows: and get

[0038] Step 6: The distance from the center of the lens group of the high-speed camera 22 to the film of the high-speed camera is taken as the film distance D. According to the principle of camera imaging, when the image of the object falls on the film of the high-speed camera 22, v=D(d); by combining functions (a), (b), (c) and (d), we get:

[0039]

[0040] Calculate f = ψ(D, H) and u = φ(D, H);

[0041] Step 7: According to the focal length f and object distance u obtained in step 6, the object distance and focal length of the high-speed camera in the measurement domain are controlled by an automatic calibration device.

[0042] Among them, the gray value h of the measurement domain A (B) in step 2 is t The weighted average method is used to obtain h t =0.3R+0.6G+0.1B.

[0043] The use of parameter estimation in the multiple linear regression in step 4 is an existing theory. Please refer to "Mathematical Statistics" Wang Rongxin's edition P198 (Chapter 5 Regression Analysis 4 Parameter Estimation of Multiple Linear Regression).

[0044] In step 6, f = ψ (D, H) and u = φ (D, H) are solved by Matlab software, f = solve ('

[0045]

[0046] According to the existing characteristics of the high-speed camera 22, it is known that the clearest image distance of the high-speed camera 22 is D = 30 mm, and the standard gray value of image processing is H = 0.85. According to the experimental data, the multivariate linear regression equation with gray values ​​between 0.85 and 1 and focal length values ​​between 0 and 30 mm is fitted as follows:

[0047]

[0048] Among them, β0=8.14, β1=9.06, β2=1.27, β3=-9.13, β4=-6.32, β5=0.98;

[0049] Will and D=v, we can get the following formula:

[0050]

[0051] 0.85 = 8.14 + 9.06f + 1.27f 2 -9.13u-6.32u 2 +0.98fu;

[0052] According to the above formula, we can get

[0053] When H = 0.85, D = 30 mm: f = 1.2138 (f = -29.1927, f = -1.2138, f = 105.3781 are discarded) mm, u = 1.2645 m. That is, at this time, the high-speed camera 22, under the control of the automatic calibration device 2, has a focal length f of 1.2138 mm and an object distance u of 1.2645 m, which can obtain the clearest PIV experimental image information.

[0054] The specific usage method is as above, and the adjustment parameters of the focal length f and the object distance u are adjusted accordingly according to the parameters of the high-speed camera 22, the observation domain conditions in the experimental environment and other factors. However, no matter how the adjustment is made, the actual calculation scheme is obtained by calculating in sequence according to the above steps.

[0055] For example, according to different experimental environments, especially when different image distances are required, when H = 0.85, D = 25 mm: f = 1.1941 (f = -24.7895, f = -1.3908, f = 87.1438 discarded) mm, u = 1.2540 m;

[0056] When H = 0.85, D = 20 mm: f = 1.1661 (f = -20.3819, f = -1.4018, f = 68.9167 discarded) mm, u = 1.2383 m;

[0057] When H = 0.90, D = 30 mm: f = 1.2099 (f = -29.1939, f = -1.3785, f = 105.3782 discarded) mm, u = 1.2607 m;

[0058] When H = 0.90, D = 25 mm: f = 1.1902 (f = -24.7910, f = -1.3857, f = 87.1439 discarded) mm, u = 1.2497 m;

[0059] When H=0.90, D=20mm: f=1.1624 (f=-20.3836, f=-1.3965, f=68.9170 discarded) mm, u=1.2341m.

[0060] Then, the control unit controls the change of the focal length f and the object distance u to achieve the optimal shooting state. The focal length f can be adjusted manually by the high-speed camera 22, or the control unit can control the focal length f of the high-speed camera 22 through the existing communication protocol to achieve automatic control.

[0061] In addition, since there are sometimes multiple groups of convex lenses in the high-speed camera 22, the multiple groups of convex lenses can also be regarded as a model of a single group of convex lenses for calculation. Considering the model purely from a mathematical perspective, the process of imaging through the lens is regarded as a function mapping relationship. Each group of convex lenses corresponds to a projective transformation, that is, multiple groups of lenses can be directly written as a function relationship. By using the characteristics of the selected high-speed camera 22 (that is, the specific function relationship formed by the different multiple groups of lenses), the function relationship between the focal length, image distance and object distance used in the model calculation of a single group of convex lenses is replaced, and the focal length and object distance of the selected high-speed camera 22 are solved to complete the calculation of the experimental device adjustment. Therefore, whether the high-speed camera 22 used in practice is a multiple group of convex lenses or a single group of convex lenses, the final calculation result can be achieved through the above steps.

Claims

1. A method for using an automatic calibration device for a PIV experimental device, Its characteristics are: The PIV experimental device includes an observation plate and the automatic calibration device. The observation plate is provided with an observation area, and the observation area is divided into a plurality of measurement areas of circular boss structures. The automatic calibration device is arranged opposite to the observation area. The automatic calibration device includes a support seat, a high-speed camera, a manipulator for fixing the high-speed camera, and a control unit for controlling the movement of the manipulator. The manipulator is installed on the support seat, and the manipulator includes a vertical lifting mechanism, a horizontal telescopic mechanism, and a rotating mechanism for connecting the vertical lifting mechanism and the horizontal telescopic mechanism. The control unit is used to control the operation of the vertical lifting mechanism, the horizontal telescopic mechanism, and the rotating mechanism. The following steps are also included: Step 1: Use the image processing system to select the two largest measurement domains in the observation domain, which are defined as measurement domain A and measurement domain B respectively; Step 2: Import the image in the observation domain into the image processing system for grayscale processing, and obtain the grayscale value of the measurement domain A (B) as h t The standard grayscale value of the preset measurement domain is H = h t (a), wherein the grayscale value of the measurement domain A (B) is the value obtained after grayscale processing is performed on one measurement domain selected from the measurement domain A and the measurement domain B; Step 3: Establish the gray value h of the measurement domain A (B) t The functional relationship between the focal length f of the camera and the object distance u is Fitting β 0 , β 1 , β 2 , β 3 , β 4 , β 5 is a constant; Step 4: Use the parameter estimation algorithm in multivariate linear regression to obtain multiple sets of focal lengths f and object distances u and the corresponding grayscale h t , and estimate the corresponding parameters Among them, i = 0, 1, 2, 3, 4, 5, that is, the corresponding is a constant, the corresponding function is Step 5: Based on the object distance u, image distance v and focal length f of one of the convex lenses of the high-speed camera lens, the relationship between the object distance u, image distance v and focal length f is obtained as follows: and get Step 6: The distance from the center of the high-speed camera lens group to the high-speed camera film is taken as the film distance D. According to the principle of camera imaging, when the image of the object falls on the high-speed camera film, v=D(d). Simultaneously combining functions (a), (b), (c) and (d), we get: Calculate f = ψ(D, H) and u = φ(D, H); Step 7: According to the focal length f and object distance u obtained in step 6, the object distance and focal length of the high-speed camera in the measurement domain are controlled by an automatic calibration device.

2. The method for using the automatic calibration device for the PIV experimental device according to claim 1, Its characteristics are: The gray value h of the measurement domain A (B) in step 2 t The weighted average method is used to obtain h t =0.3R+0.6G+0.1B.

3. The method for using the automatic calibration device for the PIV experimental device according to claim 2, Its characteristics are: In step 6, f = ψ (D, H) and u = φ (D, H) are solved by Matlab software.