CN112798080B - Visual liquid level detection device and method - Google Patents

Visual liquid level detection device and method Download PDF

Info

Publication number
CN112798080B
CN112798080B CN202110318782.3A CN202110318782A CN112798080B CN 112798080 B CN112798080 B CN 112798080B CN 202110318782 A CN202110318782 A CN 202110318782A CN 112798080 B CN112798080 B CN 112798080B
Authority
CN
China
Prior art keywords
camera
floating
liquid level
target object
camera array
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110318782.3A
Other languages
Chinese (zh)
Other versions
CN112798080A (en
Inventor
范钧
吕国皎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Technological University CDTU
Original Assignee
Chengdu Technological University CDTU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Technological University CDTU filed Critical Chengdu Technological University CDTU
Priority to CN202110318782.3A priority Critical patent/CN112798080B/en
Publication of CN112798080A publication Critical patent/CN112798080A/en
Application granted granted Critical
Publication of CN112798080B publication Critical patent/CN112798080B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F23/00Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm
    • G01F23/30Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by floats
    • G01F23/64Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by floats of the free float type without mechanical transmission elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/90Arrangement of cameras or camera modules, e.g. multiple cameras in TV studios or sports stadiums

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Fluid Mechanics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention provides a visual liquid level detection device and method. The detection device in the visual liquid level detection device and the visual liquid level detection method comprises a camera array and a floating target object; the camera array is formed by arranging a plurality of cameras in a one-dimensional direction; the left and right directions of the images shot by the cameras are consistent with the arrangement direction of the camera array; the optical axis directions of all camera lenses are parallel; the density of the floating target object is less than that of the measured liquid, the floating target object can float on the measured liquid, and the color of the floating target object is obviously different from that of the measured liquid. The detection method in the visual liquid level detection device and method is characterized in that a camera array is used for shooting a floating target object, and the horizontal included angle of the floating target object relative to each camera optical axis, the projection length of the distance from the camera array to the target floating object in the direction of the camera optical axis and the vertical height of the floating target object relative to the camera array, namely the liquid level position, are obtained through calculation according to the steps based on the parallax information of the floating target object.

Description

Visual liquid level detection device and method
Technical Field
The invention relates to a photoelectric technology, in particular to a visual liquid level detection device and a visual liquid level detection method.
Background
The conventional liquid level detecting device usually uses a pressure sensor, a laser sensor, etc. to measure the liquid level. If the pressure sensor is arranged at the bottom of the liquid, the liquid level is measured through water pressure calculation, and the laser sensor emits laser beams to the liquid level and measures the position of the liquid level through reflected light. The detection device cannot visually reflect the liquid level condition, and cannot reflect the actual working state of the sensor. Therefore, the invention provides a visual liquid level detection device and a visual liquid level detection method, which can detect the liquid level height and display the liquid level condition in real time, and are convenient for a user to master the working condition of the detection device in real time.
Disclosure of Invention
The invention provides a visual liquid level detection device, which aims to solve the problems that the traditional detection device cannot visually reflect the position condition of a liquid level and cannot master whether the detection device normally works or not in real time.
The visual liquid level detection device comprises a camera array and a floating target.
The camera array is formed by arranging a plurality of cameras in a one-dimensional direction; the left and right directions of the images shot by the cameras are consistent with the arrangement direction of the camera array; the optical axis directions of the camera lenses are parallel.
The density of the floating target object is less than that of the measured liquid, the floating target object can float on the measured liquid, and the color of the floating target object is obviously different from that of the measured liquid.
The camera array shoots the floating target object, and the spatial position of the floating target object is obtained through calculation according to the position of the floating target object in the image shot by each camera, namely parallax information. The floating target is in the same horizontal plane with the liquid level, so that the position of the liquid level can be measured.
The image that the camera array gathered can directly utilize the display to demonstrate to the user grasps in real time and is detected liquid level position condition and detection device operating condition, when measuring numerical value and the liquid level position that directly shows on the display have obvious difference, or see on the display that the floating object sinks, detection personnel can learn detection device abnormal operation, and be convenient for in time repair, adjust.
Optionally, the distance between cameras in the camera array is different.
The present invention adopts the following method for liquid level detection.
Firstly, cameras in the camera array photograph the floating target object, and horizontal included angles of the floating target object relative to optical axes of the cameras are measured.
Secondly, calculating the projection length of the distance from the camera array to the target floating object in the direction of the optical axis of the cameras by using the horizontal distance between the cameras and the horizontal included angle of the floating target object relative to the optical axis of each cameraD. Specifically, the horizontal distance between any two cameras is set asdThe horizontal included angles of the floating object relative to the optical axes of the two cameras are respectivelyγ iγ jThen, then
Figure 920844DEST_PATH_IMAGE001
Thirdly, in the vertical direction, utilizing the vertical included angle of the floating object relative to the optical axis of the cameraαPretilt angle of camera array with respect to horizontalβAnd the projection length of the distance from the camera array to the target floater in the direction of the optical axis of the cameraDCalculating the vertical height of the floating object relative to the camera arrayHI.e. the position of the liquid surface. In particular, the method comprises the following steps of,
Figure 366737DEST_PATH_IMAGE002
optionally, selecting other camera combinations according to the above steps, obtaining multiple sets of liquid level position measurement data simultaneously, and after eliminating data sets with errors exceeding three times of standard deviation, improving the accuracy of liquid level position detection by an averaging method.
In summary, the visual liquid level detection device and method provided by the invention can directly utilize the display to display the liquid level, so that the user can conveniently master the position condition of the detected liquid level and the working state of the detection device in real time, and simultaneously can obtain multiple groups of test data through multiple groups of cameras, thereby improving the accuracy of liquid level position detection.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a schematic structural diagram of the present invention.
Fig. 2 is a schematic diagram illustrating the principle of measuring the projection length of the target floating object distance in the optical axis direction of the camera according to the present invention.
FIG. 3 is a schematic view of the principle of measuring the vertical height of a liquid surface according to the present invention.
Icon: 100-a camera array; 200-a target float; 101-a first camera; 102-a second camera; 103-a third camera; 104-fourth camera.
It should be understood that the above-described figures are merely schematic and are not drawn to scale.
Detailed Description
Fig. 1 is a visual liquid level detection device provided by the embodiment. In the figure, the x-coordinate represents the horizontal direction in space, the y-coordinate represents the vertical direction in space, and z represents the direction perpendicular to the x-y plane.
Referring to fig. 1, the visual liquid level detecting apparatus includes a camera array 100 and a floating target 200.
Referring to fig. 2, the camera array is formed by arranging a first camera 101, a second camera 102, a third camera 103 and a fourth camera 104 in a horizontal one-dimensional direction; the left and right directions of the images shot by the cameras are consistent with the arrangement direction of the camera array; the optical axis directions of the camera lenses are parallel and are arranged at an angle of 20 degrees with the horizontal plane. The performance parameters of the first camera 101, the second camera 102, the third camera 103 and the fourth camera 104 are consistent, the shot images have a resolution of 3840 (H) × 2160 (V), the horizontal angle of view of the cameras is 80 degrees, and the vertical angle of view is 45 degrees. The distance between the first camera 101 and the second camera 102 isd 1The distance between the second camera 102 and the third camera 103 isd 2The distance between the third camera 103 and the fourth camera 104 isd 3
The density of the floating target object 200 is less than that of the measured liquid, the floating target object can float on the measured liquid, and the red paint coated on the surface of the floating target object is obviously different from that of the measured liquid.
The camera array 100 photographs a floating object, and calculates and obtains the spatial position of the floating object 200 according to the positions of the floating object 200 in images photographed by the first camera 101, the second camera 102, the third camera 103 and the fourth camera 104, i.e., parallax information. Since the floating target 200 is at the same level as the liquid surface, the position of the liquid surface can be measured.
The image collected by the camera array 100 can be displayed by the display directly, so that a user can conveniently master the position condition of the detected liquid level and the working state of the detection device in real time, when the measured value is obviously different from the liquid level position directly displayed on the display, or when a floating target object is seen on the display to sink, a detection person can know that the detection device works abnormally, and timely repair and adjustment are facilitated.
Specifically, referring to fig. 2, the present invention adopts the following method for liquid level detection.
Referring to fig. 2, firstly, the cameras in the camera array 100 take pictures of the floating target 200, and measure the horizontal angle of the floating target 200 relative to the optical axis of each camera.
Specifically, the floating target 200 is in the pixel array in the image captured by the first camera 101m 1Line, firstn 1Column position, horizontal angle relative to the optical axisγ 1Should be 80 × (1920-n 1) 3840 degrees; the floating object 200 is in the pixel array in the image taken by the second camera 102m 2Line, firstn 2Column position, horizontal angle relative to the optical axisγ 2Should be 80 × (1920-n 2) 3840 degrees; the floating target 200 is in the pixel array in the image taken by the third camera 103m 3Line, firstn 3Column position, horizontal angle relative to the optical axisγ 3Should be 80 × (1920-n 3) 3840 degrees; the floating object 200 is in the pixel array in the image taken by the fourth camera 104m 4Line, firstn 4Column position, horizontal angle relative to the optical axisγ 4Should be 80 × (1920-n 4) 3840 degrees. Since the left and right directions in which the images are photographed by the respective cameras are kept in agreement with the arrangement direction of the camera array,m 1m 2m 3andm 4should be equal.
Referring to fig. 2, the projection length of the distance from the camera array 100 to the target floating object 200 in the direction of the optical axis of the camera is calculated by using the horizontal distance between the cameras and the horizontal angle between the floating object and the optical axis of the camerasD. Specifically, the horizontal distance between any two cameras is set asdThe horizontal included angles of the floating target object 200 relative to the optical axes of the two cameras are respectivelyγ iγ jThen, then
Figure 386646DEST_PATH_IMAGE001
Specifically, taking the first camera 101 and the second camera 102 as an example, it is measured by the first step that the floating target 200 is opposite to the first camera101 horizontal included angles of the optical axes are respectivelyγ 1A horizontal angle with respect to the optical axis of the second camera 102 isγ 2The first camera 101 and the second camera 102 are spaced apart by a distance ofd 1Then there is the projection length of the distance from the camera array 100 to the target floating object 200 in the direction of the optical axis of the camera
Figure 326920DEST_PATH_IMAGE003
Thirdly, referring to fig. 3, in the vertical direction, the vertical included angle of the floating target 200 with respect to the optical axis of the camera is usedαPretilt angle of camera array 100 with respect to horizontalβAnd the projection length of the distance from the camera array 100 to the target floater 200 in the direction of the optical axis of the cameraDCalculating the vertical height of the floating target 200 relative to the camera array 100HI.e. the position of the liquid surface. In particular, the method comprises the following steps of,
Figure 1703DEST_PATH_IMAGE002
specifically, the floating object 200 is located at the pixel array in the image captured by the first camera 101m 1Line, in the image taken by the second camera 102, at pixel array levelm 2A line is formed bym 1m 2m 3Andm 4equal, the vertical included angle of the floating object relative to the optical axis of the cameraαShould be 45 × (1080-m 1) 2160 deg. The optical axes of the camera lenses are parallel and are arranged at 20 degrees to the horizontal plane, i.e. the pretilt angle of the camera array relative to the horizontal directionβIs 20 degrees. The vertical height of the floating target 200 relative to the camera array 100H 12Ying You
Figure 697127DEST_PATH_IMAGE004
I.e. the position of the liquid surface. WhereinH 12The subscript 12 indicates that the data is jointly measured by the first camera 101 and the second camera 102.
Further, according to the above steps, the first camera 101 and the third camera 10 are selected3 can be combined to obtainH 13(ii) a The combination of the first camera 101 and the fourth camera 104 is selectedH 14(ii) a The combination of the second camera 102 and the third camera 103 is selectedH 23(ii) a The combination of the second camera 102 and the fourth camera 104 is selectedH 24(ii) a The combination of the third camera 103 and the fourth camera 104 is selectedH 34. The accuracy of the liquid level position detection can be improved by averaging the data sets with errors exceeding three times of the standard deviation among the plurality of sets of measurement data.
In summary, the visual liquid level detection device and method provided by the invention can directly utilize the display to display the liquid level, so that the user can conveniently master the position condition of the detected liquid level and the working state of the detection device in real time, and simultaneously can obtain multiple groups of test data through multiple groups of cameras, thereby improving the accuracy of liquid level position detection.

Claims (3)

1. A detection method based on a visual liquid level device is characterized by comprising the following steps: the visual liquid level device comprises a camera array and a floating target object; the camera array is formed by arranging a plurality of cameras in a one-dimensional direction; the left and right directions of the images shot by the cameras are consistent with the arrangement direction of the camera array; the optical axis directions of all camera lenses are parallel; the density of the floating target object is less than that of the measured liquid, the floating target object can float on the measured liquid, and the color of the floating target object is obviously different from that of the measured liquid; the visual liquid level detection method comprises the steps that the camera array shoots a floating target object, and the spatial position of the floating target object is obtained through calculation according to the position of the floating target object in an image shot by each camera, namely parallax information; specifically, in the first step, a camera in the camera array photographs the floating target object, and a horizontal included angle of the floating target object relative to an optical axis of each camera is measured; secondly, calculating the projection length of the distance from the camera array to the target floating object in the direction of the optical axis of the cameras by using the horizontal distance between the cameras and the horizontal included angle of the floating target object relative to the optical axis of each cameraDSpecifically, the horizontal distance between any two cameras is set asdThe floating object is opposite to the two camerasThe horizontal included angles of the optical axes are respectivelyγ iγ jThen, then
Figure 664868DEST_PATH_IMAGE001
(ii) a Thirdly, in the vertical direction, utilizing the vertical included angle of the floating object relative to the optical axis of the cameraαPretilt angle of camera array with respect to horizontalβAnd the projection length of the distance from the camera array to the target floater in the direction of the optical axis of the cameraDCalculating the vertical height of the floating object relative to the camera arrayHI.e., the location of the liquid level, specifically,
Figure 50850DEST_PATH_IMAGE002
2. the detection method based on the visual liquid level device as claimed in claim 1, wherein: the distance between cameras in the camera array is different.
3. The detection method based on the visual liquid level device as claimed in claim 1, wherein: and selecting a plurality of different camera combinations to measure the liquid level position, and averaging after data with errors exceeding three times of standard deviation is eliminated so as to obtain the liquid level position.
CN202110318782.3A 2021-03-25 2021-03-25 Visual liquid level detection device and method Active CN112798080B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110318782.3A CN112798080B (en) 2021-03-25 2021-03-25 Visual liquid level detection device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110318782.3A CN112798080B (en) 2021-03-25 2021-03-25 Visual liquid level detection device and method

Publications (2)

Publication Number Publication Date
CN112798080A CN112798080A (en) 2021-05-14
CN112798080B true CN112798080B (en) 2021-06-25

Family

ID=75815761

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110318782.3A Active CN112798080B (en) 2021-03-25 2021-03-25 Visual liquid level detection device and method

Country Status (1)

Country Link
CN (1) CN112798080B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101571667A (en) * 2009-06-11 2009-11-04 四川大学 Technique for eliminating vertical parallax of multi-viewpoint stereo image
CN103017869A (en) * 2012-11-28 2013-04-03 华南农业大学 Water level measuring system and method based on digital image processing
US9933400B1 (en) * 2017-03-29 2018-04-03 Institut National D'optique Apparatus for imaging through a viscous substance
CN111854636A (en) * 2020-07-06 2020-10-30 北京伟景智能科技有限公司 Multi-camera array three-dimensional detection system and method
CN112470188A (en) * 2018-05-25 2021-03-09 艾奎菲股份有限公司 System and method for multi-camera placement

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ITBO20000257A1 (en) * 2000-05-05 2001-11-05 Steroglass S R L DEVICE AND METHOD FOR FILLING CONTAINERS.
US8874374B2 (en) * 2010-09-28 2014-10-28 Darek J. Bogucki Optical turbulence sensor
US20150096367A1 (en) * 2013-10-08 2015-04-09 Spectra Symbol Corporation Systems and Methods for Measuring Levels of Liquids of Different Densities in Containers
CN107105216B (en) * 2017-06-02 2019-02-12 北京航空航天大学 A kind of 3 d light fields display device of continuous parallax based on pinhole array, wide viewing angle
CN208595943U (en) * 2018-07-27 2019-03-12 中国石油集团川庆钻探工程有限公司工程技术研究院 A kind of binocular vision level meter
CN110927986B (en) * 2019-12-11 2021-10-01 成都工业学院 Stereoscopic display device based on pixel pair

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101571667A (en) * 2009-06-11 2009-11-04 四川大学 Technique for eliminating vertical parallax of multi-viewpoint stereo image
CN103017869A (en) * 2012-11-28 2013-04-03 华南农业大学 Water level measuring system and method based on digital image processing
US9933400B1 (en) * 2017-03-29 2018-04-03 Institut National D'optique Apparatus for imaging through a viscous substance
CN112470188A (en) * 2018-05-25 2021-03-09 艾奎菲股份有限公司 System and method for multi-camera placement
CN111854636A (en) * 2020-07-06 2020-10-30 北京伟景智能科技有限公司 Multi-camera array three-dimensional detection system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于可变孔径针孔阵列的集成成像3D显示;范钧;《红外与激光工程》;20180630;第1-4页 *

Also Published As

Publication number Publication date
CN112798080A (en) 2021-05-14

Similar Documents

Publication Publication Date Title
US10825198B2 (en) 3 dimensional coordinates calculating apparatus, 3 dimensional coordinates calculating method, 3 dimensional distance measuring apparatus and 3 dimensional distance measuring method using images
JP5097765B2 (en) Measuring method, measuring program and measuring device
EP2999220B1 (en) Method for correcting 3d image in tiled display and apparatus therefor
JP2004163292A (en) Survey system and electronic storage medium
CN111220130B (en) Focusing measurement method and terminal capable of measuring object at any position in space
CN110146030A (en) Side slope surface DEFORMATION MONITORING SYSTEM and method based on gridiron pattern notation
CN113819974B (en) River water level visual measurement method without water gauge
CN105203030B (en) Engineering ground micro-displacement quantity monitoring method
CN108489423B (en) Method and system for measuring horizontal inclination angle of product surface
CN104036518B (en) Camera calibration method based on vector method and three collinear points
CN109724540A (en) Two-dimentional MEMS scanning reflection mirror corner calibration system and scaling method
CN106643567A (en) Lane deviation system production line calibration board verification method and system
CN107271445A (en) A kind of defect inspection method and device
CN111311659A (en) Calibration method based on three-dimensional imaging of oblique plane mirror
WO2008075632A1 (en) Test method for compound-eye distance measuring device, its test device and chart used for same
JP2011069797A (en) Displacement measuring device and displacement measuring method
CN112798080B (en) Visual liquid level detection device and method
TWI412725B (en) The method of distance measurement and localization
CN116563370A (en) Distance measurement method and speed measurement method based on monocular computer vision
CN114754695B (en) Multi-view-field bridge deflection measuring device and method and storage medium
CN110288654A (en) A kind of method that the geometry of single image measures
CN105809685A (en) Single-concentric circle image-based camera calibration method
US20100128249A1 (en) Test method for compound-eye distance measuring apparatus, test apparatus, and chart used for the same
TW201024687A (en) Measuring device for water level by laser optical imaging technology and method for the same
RU164082U1 (en) DEVICE FOR MONITORING LINEAR SIZES OF THREE-DIMENSIONAL OBJECTS

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant