CN106370265A - Automatic and remote reservoir level measuring device and method based on one-dimensional vision - Google Patents
Automatic and remote reservoir level measuring device and method based on one-dimensional vision Download PDFInfo
- Publication number
- CN106370265A CN106370265A CN201610945007.XA CN201610945007A CN106370265A CN 106370265 A CN106370265 A CN 106370265A CN 201610945007 A CN201610945007 A CN 201610945007A CN 106370265 A CN106370265 A CN 106370265A
- Authority
- CN
- China
- Prior art keywords
- level
- water
- chip microcomputer
- hole
- reservoir
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F23/00—Indicating 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/04—Indicating 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 dip members, e.g. dip-sticks
Landscapes
- Physics & Mathematics (AREA)
- Fluid Mechanics (AREA)
- General Physics & Mathematics (AREA)
- Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)
Abstract
The invention discloses an automatic and remote reservoir level measuring device and method based on one-dimensional vision. The measuring device comprises a water level ruler and a water level detecting device, wherein the water level ruler is arranged in a reservoir, the water level detecting device is arranged on a reservoir dam and used for acquiring reservoir level data, the water level ruler comprises a ruler with scales, the ruler is arranged on a base and is provided with a buoy vertically moving along the ruler with water level lifting, and the side face, facing the water level detecting device, of the buoy is provided with a light-reflecting strip. The water level ruler is shot through a camera to obtain a one-dimensional image, accordingly the longitudinal position of the image zone where the image is located is obtained, namely the water level can be accurately measured. The whole system is managed by adopting a low-power-consumption single chip microcomputer, power consumption is greatly reduced, power is supplied by adopting a solar cell, installation is convenient, the water level detecting device is sealed in a housing, and a baffle plate is opened by controlling a through hole switching mechanism to perform image pickup.
Description
Technical field
The present invention relates to a kind of Level monitor, specifically the reservoir level automatic remote based on one-dimensional vision are surveyed
Amount device and method.
Background technology
Reservoir level measurement is the emphasis of hydrology and water conservancy department.When there is atrocious weather situation, without timely
Carry out accurately effective water level monitoring, water level, beyond reaching warning line, can cause serious waterlogging disaster.Level sensor is liquid
One of level sensor.Water conservancy safety and water resources development, management in the urgent need to the sensor of various water level aspects meets the tendency
And rise.At present, domestic and international level sensor:
(1) float type water level sensor: the operation principle of this sensor mainly uses buoyancy of water characteristic.Due to this
Class sensor uses float and floats on the surface, and application when this makes it freeze in the winter time is restricted, and float
Easily well logging built by flowing needs.At present traditional buoys formula level sensor affected easily to skid by water-level fluctuation, its own system error
Greatly, using the problems such as inconvenience, meanwhile, there is installation complexity in this float type level meter, lower end runner is easily waited indefinitely by foreign matter and asked
Topic, need to solve further.
(2) pressure drag type pressure level sensor: the hydraulic pressure that the difference of water level then exists is different, the size reaction water of hydraulic pressure
Depth.This sensor response frequency, sensitivity, the advantage of high precision and good reliability, and being easily integrated and miniature
Change.But it is influenced by temperature very greatly, and capacity of resisting disturbance is weak, thus affecting the certainty of measurement of sensor.
(3) heat-conducting level sensor: heat-conducting level sensor is based on heat conductivility.Because water heat conductivity is air
Tens times that is to say, that same high-temperature heating object is respectively placed in the middle of water and air, the cooling rate of high-temperature heating object
It is visibly different, it is to be dropped than in the air cooling a lot of soon in water, when increasing the power of heating object, the difference of the two
Away from bigger.The hot type level sensor of the type is relatively simple for structure, comprises heater element and temperature thermocouple inside it.But
Limited by practical application.
(4) conducting type level sensor: according to the difference of water quality, the electric conductivity of water also differs.Water quality is more complicated, and it is led
Electrical property is better.Have developed conducting type level sensor using the electric conductivity of water.It is by by the change of water level information
Be converted to electrical signal.Its conversion regime is divided into two kinds: condenser type and electric pole type.This sensor is generally not suitable for reservoir level and surveys
Amount.
(5) ultrasonic type level sensor: have developed ultrasonic type water level sensor using the characteristic that the water surface has reflection.Logical
The active sensor crossed in ultrasonic equipment launches ultrasound wave to the water surface, now because the reflection characteristic of water will reflect a part of sound
Ripple goes back, and the sound wave reflecting is received by same active sensor and converts thereof into electrical signal.This kind of sensor cost
Height is affected by environment big.
(6) fiber-optic grating sensor: with the development of optic communication and light sensing, occur in that a kind of superior light of sensitive property
Learn passive device, it is exactly fiber grating.Fiber grating has just obtained the very big attention in many fields after the occurrence of which, and it is right
It is huge in the contribution of sensory field of optic fibre.Fiber-optic grating sensor is more and more ripe through the development of nearly more than ten years,
People can develop the different fiber-optic grating sensor of various structures to realize to different extraneous according to different needs and condition
The sensing measurement of parameter.Be compared with traditional electrical sensor, fiber-optic grating sensor to have reliability high, quasi-distributed
Multimetering, certainty of measurement height, electromagnetism interference, anticorrosive.But existing fiber grating level sensor also exists a lot
Problem, has typically only taken into account the temperature-compensating of fiber grating itself, and have ignored the sensor metal structure thermal deformation of itself
The stress producing and the not high impact of certainty of measurement that causes sensing grating.Separately, fiber grating there is also some apply difficult points:
1. temperature and strain cross sensitivity;2. packaging technology is more complicated;3. the resonance to fiber grating, wavelength signals are detected
Equipment cost is very high.
With the high speed development of computer technology and information technology, our life and commercial production also towards digitized,
Intelligent and networking direction is constantly developed, and image recognition technology is widely applied in all fields: such as Car license recognition,
Bar code identifies, living things feature recognition etc..Computer Vision Detection Technique is one of important application of image recognition technology, is by
The important means of non-contact measurement, has obtained great development in recent years.
Research at present is all based on existing water-level measuring post based on the water-level measuring post localization method of image procossing and is identified.Market
Upper water-level measuring post can be divided into electronic water level chi (including the water-level measuring post of the e measurement technologies such as ultrasound wave or radar, to make by low- medium- high level
Valency is higher), the combined water-level measuring post of rustless steel, macromolecule water-level measuring post, recruit the reflective water-level measuring post of plate, enamel water-level measuring post etc., form and kind
Class is as shown in Figure 1.The reservoir level tester of existing camera shooting type both at home and abroad, its hardware system is all using image pick-up card, list
Piece machine+dsp+ photographing module etc., software carries out the extraction of eigenvalue using a series of images processing method, tries to achieve water level through computing
Highly.
All there are various defects in above-mentioned water level detecting system: (1) needs higher hardware cost;(2) software algorithm is multiple
Miscellaneous, software algorithm needs using the Complex Neural Network scheduling algorithm based on training sample;(3) identify that digital " 1,2 ..., 9 " are difficult
Degree is larger, and identification " e " symbol is easier, but can produce larger error when water level is in the middle of two " e ", because certain
Light conditions under the white colours that shoot between the planar line of water level and water-level measuring post " e " close;(5) affected by environment big, that is,
Make the scale with noctilucence, undesirable in shooting at night effect, reason is numerous reflective light cross interference;(6) it is difficult to commercialization.
Just because of this, the Level monitor being currently based on vision does not also have popularity.
Content of the invention
For above-mentioned deficiency, the invention provides a kind of reservoir level automatic remote measurement apparatus based on one-dimensional vision and
Method, it can not only effectively monitor reservoir level situation, and certainty of measurement is high.
The present invention solves its technical problem and adopts the technical scheme that: the reservoir level automatic remote based on one-dimensional vision is surveyed
Amount device, including water-level measuring post and condensate tank of dehumidifier, described water-level measuring post is arranged in reservoir, and described condensate tank of dehumidifier is arranged on
In order to gather reservoir level data on reservoir dam;Described water-level measuring post includes scale with a scale, and scale is arranged on base,
The buoy moving up and down along scale following water-level lifting is provided with scale, described buoy is towards the one side of condensate tank of dehumidifier
On be provided with reflecting strips.
Preferably, described condensate tank of dehumidifier include housing and be arranged on photographic head in housing, light compensating lamp,
The active crystal oscillator of stm32f407 single-chip microcomputer, memorizer, rain sensor, 25m, stm8l151 single-chip microcomputer, solar panel, fill
Electric control circuit, lithium battery, ON-OFF control circuit, mu balanced circuit and gprs module, described stm32f407 single-chip microcomputer respectively with take the photograph
As head, light compensating lamp, memorizer, the active crystal oscillator of 25m, stm8l151 single-chip microcomputer and mu balanced circuit connect, described charging control circuit
Be connected with solar panel and lithium battery respectively, described lithium battery respectively with stm8l151 single-chip microcomputer and ON-OFF control circuit
Connect, the control end of described ON-OFF control circuit is connected with stm8l151 single-chip microcomputer, described mu balanced circuit respectively with stm32f407
Single-chip microcomputer and photographic head connect, and described gprs module is connected with stm8l151 single-chip microcomputer;On housing is towards the side of water-level measuring post
It is provided with through hole, described photographic head is just arranged to through hole, is provided with through hole switching mechanism on the medial wall at housing through-hole, use
To block through hole.
Preferably, described condensate tank of dehumidifier also includes rain sensor, and described rain sensor is arranged on above housing
And the data output end of rain sensor is connected with tm32f407 single-chip microcomputer.
Preferably, described photographic head adopts ov2640 photographic head, and described photographic head is connected with the active crystal oscillator of 24m, described deposits
Reservoir adopts at24c02 storage chip.
Preferably, described gprs module includes sim800c module, sim card and mic29302 chip, described sim800c mould
Block is connected with stm8l151 single-chip microcomputer and power module respectively, and described sim card is arranged in the draw-in groove of sim800c module, described
The control end of mic29302 chip is connected with stm8l151 single-chip microcomputer.
Preferably, described through hole switching mechanism includes the supporting plate being fixed on case inside wall, sets in supporting plate one end
It is equipped with the light hole correspondingly sized with through hole, the supporting plate other end is provided with the orbit hole of level, orbit hole and light hole UNICOM,
In supporting plate, housing sidewall side is provided with chute, is provided with the shutter moving left and right, described shutter in chute
The back side is provided with the tooth bar that in rail hole moves left and right, and gear on the rotary shaft engages described tooth bar with setting, described rotation
The upper end of axle is connected with the output shaft of the motor being fixed on supporting plate, and the lower end of rotary shaft is arranged on and is fixed on supporting plate
On bearing block in, about supporting plate, the position of the corresponding tooth bar shift motion in two ends is respectively arranged with a limit switch;Institute
State and pull-type electric magnet is additionally provided with supporting plate, the stopper of pull-type electric magnet falls when shutter blocks light hole and through hole
Tooth bar is away from one end of light hole;The outfan of described limit switch is connected with stm32f407 single-chip microcomputer, described motor
Control end is connected with stm32f407 single-chip microcomputer by drive circuit, the control end of described pull-type electric magnet and stm32f407 monolithic
Machine connects.
Preferably, the upper end of described scale is provided with spherical anti-raise one's hat.
Present invention also offers the reservoir level automatic remote measuring method based on one-dimensional vision, it is characterized in that, using upper
State described measurement apparatus and carry out reservoir level measurement, measuring method comprises the following steps:
1) adjust the angle of condensate tank of dehumidifier and the focal length of photographic head, and make photographic head just to water-level measuring post and image is clear
Clear, the characteristic image of image procossing is carried out as initial pictures to the image shooting, and it is high to demarcate reservoir level according to datum line
Spend for h;
2) rainfall data is obtained by rain sensor and judge whether be currently to rain, if do not rain entering next
Step, if rained, directly exits;
3) by controlling through hole switching mechanism to open shutter, water-level measuring post is shot;
4) process is carried out to the image shooting and obtain characteristic image;
5) image of captured in real-time and initial pictures are carried out contrasting the lifting situation to judge water level.
Preferably, in step 5) in, the image according to captured in real-time obtains SEA LEVEL VARIATION height with the contrast of initial pictures
△ h, if real time water level is higher than datum line, the height of reservoir level is h+ △ h, if real time water level is less than datum line,
The height of reservoir level is h- △ h.
The invention has the beneficial effects as follows:
The present invention passes through to install the buoy with reflective horizontal stripe on water-level measuring post additional, and buoy fluctuates with SEA LEVEL VARIATION, right
Reflecting strips on buoy are shot, water-level measuring post have the advantages that easy to identify and simple and practical, water-level measuring post has at any time with
The buoy that the water surface rises and falls together, and with reflective horizontal stripe buoy and water body, there is larger difference, it is easy to correctly identify water level
Line;Photographic head carries out to water-level measuring post shooting acquisition one dimensional image, is tried to achieve the lengthwise position of place image-region by this image, you can
Measure of precision height of water level.Condensate tank of dehumidifier control core to manage whole system using low-power scm, greatly reduces
Power consumption, using solar cell for supplying power, is easily installed, condensate tank of dehumidifier is sealed in housing, by controlling through hole switch
Mechanism opening shutter is imaged;This condensate tank of dehumidifier has rain sensor, can be according to rainfall situation intellectual monitoring water
Reservoir level situation, not affected by environment, all can work round the clock.This device hardware and software cost is low, and function is strong, and certainty of measurement is high, by mistake
Difference is little, is easy to industrialization.
The water-level measuring post with buoy of the present invention can install, in conventional water-level measuring post, the buoy moving up and down additional, and buoy is just to shooting
The side band reflectorized material of head, all with scale, this scale is only used as manually estimating use at the four sides of normal water level chi, not as
Shoot identifier to use.The epimere decoration spheroid anticreep cap of water-level measuring post, comes off in order to decorate and to limit buoy, the lower end of water-level measuring post
Cylinder iron or cement pouring forms, it is placed in reservoir suitable position, plays and firmly act on.
Brief description
Fig. 1 (a) and Fig. 1 (b) is the water-level measuring post schematic diagram of prior art;
Fig. 2 is the structural representation of the present invention;
Fig. 3 is the structural representation of water-level measuring post of the present invention;
Fig. 4 is the water Cleaning Principle schematic diagram of the present invention;
Fig. 5 is the structural representation of condensate tank of dehumidifier of the present invention;
Fig. 6 is the control core circuit theory diagrams of condensate tank of dehumidifier of the present invention;
Fig. 7 is the circuit theory diagrams of gprs module of the present invention;
Fig. 8 is the structural representation of through hole switching mechanism of the present invention (supporting plate deviates from housing sidewall side);
Fig. 9 is the structural representation of through hole switching mechanism of the present invention (supporting plate is near housing sidewall side);
In figure, 1 is condensate tank of dehumidifier, and 11 is scale with a scale, and 12 is base, and 13 is buoy, and 14 is reflecting strips, 15
Prevent raising one's hat for spherical, 2 is water-level measuring post, 3 is reservoir dam, 4 is reservoir;501 is supporting plate, 502 is light hole, 503 is track
Hole, 504 be chute, 505 be shutter, 506 be tooth bar, 507 be rotary shaft, 508 be gear, 509 be motor, 510 be
Bearing block, 511 and 512 are limit switch, 513 is pull-type electric magnet.
Specific embodiment
For the technical characterstic of this programme can be clearly described, below by specific embodiment and with reference to its accompanying drawing to the present invention
It is described in detail.Following disclosure provides many different embodiments or example for realizing the different structure of the present invention.
In order to simplify disclosure of the invention, hereinafter the part and setting of specific examples is described.Additionally, the present invention can be not
With repeat reference numerals in example and/or letter.This repeat to be for purposes of simplicity and clarity, itself does not indicate and is begged for
By the relation between various embodiments and/or setting.It should be noted that part illustrated in the accompanying drawings is painted not necessarily to scale
System.Present invention omits to the description of known assemblies and treatment technology and process to avoid being unnecessarily limiting the present invention.
As shown in Figures 2 and 3, a kind of reservoir level automatic remote measurement apparatus based on one-dimensional vision of the present invention, it
Including water-level measuring post 1 and condensate tank of dehumidifier 2, described water-level measuring post 1 is arranged in reservoir 4, and described condensate tank of dehumidifier 2 is arranged on water
In order to gather reservoir level data on storehouse dam body 3;Described water-level measuring post 1 includes scale 11 with a scale, and scale 11 is arranged on base
On 12, the buoy 13 moving up and down along scale following water-level lifting is provided with scale 11, described buoy 13 is examined towards water level
It is provided with reflecting strips 14 on the one side surveying device;The upper end of described scale 11 is provided with spherical anti-raises one's hat 15.Water with buoy
Position chi can install, in conventional water-level measuring post, the buoy moving up and down additional, the side band reflectorized material just to photographic head for the buoy, conventional water
All with scale, this scale is only used as manually estimating use at the four sides of position chi, uses not as shooting identifier.Water-level measuring post upper
Section decoration spheroid anticreep cap, comes off in order to decorate and to limit buoy, and the lower end of water-level measuring post is cylinder iron or cement pouring forms, and is placed on
Suitable position in reservoir, plays firm effect.
As shown in Figure 5 and Figure 6, described condensate tank of dehumidifier includes housing and is arranged on photographic head in housing, light filling
Lamp, stm32f407 single-chip microcomputer, memorizer, rain sensor, the active crystal oscillator of 25m, stm8l151 single-chip microcomputer, solar panel,
Charging control circuit, lithium battery, ON-OFF control circuit, mu balanced circuit and gprs module, described stm32f407 single-chip microcomputer respectively with
The active crystal oscillator of photographic head, light compensating lamp, memorizer, 25m, stm8l151 single-chip microcomputer and mu balanced circuit connect, described charge control electricity
Road is connected with solar panel and lithium battery respectively, and described lithium battery is electric with stm8l151 single-chip microcomputer and on-off control respectively
Road connects, and the control end of described ON-OFF control circuit is connected with stm8l151 single-chip microcomputer, described mu balanced circuit respectively with
Stm32f407 single-chip microcomputer and photographic head connect, and described gprs module is connected with stm8l151 single-chip microcomputer;In housing towards water-level measuring post
Side on be provided with through hole, described photographic head just to through hole arrange, the medial wall at housing through-hole is provided with through hole and opens
Shutting mechanism, in order to block through hole.
Described condensate tank of dehumidifier also includes rain sensor, and described rain sensor is arranged on above housing and rainfall passes
The data output end of sensor is connected with tm32f407 single-chip microcomputer;Described photographic head adopts ov2640 photographic head, and described photographic head is even
It is connected to the active crystal oscillator of 24m, described memorizer adopts at24c02 storage chip.
As shown in fig. 7, described gprs module includes sim800c module, sim card and mic29302 chip, described sim800c
Module is connected with stm8l151 single-chip microcomputer and power module respectively, and described sim card is arranged in the draw-in groove of sim800c module, institute
The control end stating mic29302 chip is connected with stm8l151 single-chip microcomputer.
As shown in Figure 8 and Figure 9, described through hole switching mechanism includes the supporting plate 501 being fixed on case inside wall, is propping up
Frame plate 1 one end is provided with the light hole 502 correspondingly sized with through hole, and supporting plate 501 other end is provided with level and and light hole
The orbit hole 503 of 502 UNICOMs, is provided with chute 504 in supporting plate 501 near housing sidewall side, is provided with chute 504
The shutter 505 moving left and right, described shutter 505 back side is provided with the tooth bar 506 that in rail hole moves left and right, described tooth bar
506 are engaged with the gear 508 being arranged in rotary shaft 507, the upper end of described rotary shaft 507 and the stepping being fixed on supporting plate
The output shaft of motor 509 connects, and the lower end of rotary shaft is arranged in the bearing block 510 being fixed on supporting plate, left in supporting plate
The position of the corresponding tooth bar shift motion in right two ends is respectively arranged with a limit switch 511 and 512;Also set on described supporting plate 1
Be equipped with pull-type electric magnet 513, when shutter blocks light hole and through hole pull-type electric magnet stopper fall tooth bar 506 away from
One end of light hole;The outfan of described limit switch is connected with stm32f407 single-chip microcomputer, and the control end of described motor is led to
Overdrive circuit is connected with stm32f407 single-chip microcomputer, and the control end of described pull-type electric magnet is connected with stm32f407 single-chip microcomputer.
The operation principle of through hole switching mechanism is as follows: the output shaft of motor and rotary shaft are fixed together, rotary shaft
Fixing together with gear, wheel and rack is engaged together, and when motor works, rotary shaft and gear rotate, and band carry-over bar moves,
On tooth bar and shutter are fixed together, thus driving shutter movement to open or close light hole and through hole.When tooth bar moves
To touching limit switch during specified location, limit switch can give one signal of stm32f407 single-chip microcomputer, stm32f407 monolithic
Machine stops drive stepping motor work.When tooth bar movement touches the limit switch driving at light hole, shutter is by thang-kng
Bore closure, now gives pull-type electric magnet power-off, the stopper of pull-type electric magnet can fall, and blocks tooth bar, makes the tooth bar can not be to far logical
Unthreaded hole direction is moved, and prevents external force from opening shutter, strengthens safety.When next time opens, give electricity on pull-type electric magnet first,
Stopper is made to lift.Through hole switching mechanism passes through the control of stm32f407 single-chip microcomputer, and drive stepping motor automatically opens up and closes logical
Unthreaded hole and through hole.When detecting reservoir level, light hole is opened by automatically, makes photographic head pass through light hole and through hole to shoot water
Position chi;When the tests are completed, it is automatically switched off light hole and through hole, prevent dust, rainwater etc. from entering in housing, not only reduce people
Work participates in, and has saved cost, and has accomplished the purpose detecting at any time.
In detecting system of the present invention, stm32f407 single-chip microcomputer passes through dcmi interface and i2c interface and photographic head ov2640
It is connected, single-chip microcomputer is responsible for shooting image in 2 D code and identifying true plot by algorithm.Stm32f407 single-chip microcomputer and photographic head
There is provided the active crystal oscillator of 25mhz and 24mhz it is ensured that the stability of system clock respectively, improve capacity of resisting disturbance.At night or
Shoot when light conditions are bad, image definition can be impacted it is therefore desirable to be entered by light compensating lamp (led shot-light)
Row light supply, stm32f407 single-chip microcomputer pin pb9 controls the light on and off of led.Stepper motor driver chip l298n with
Stm32f407 single-chip microcomputer is connected, and motor is connected with drive circuit by way of 4 line systems, and single-chip microcomputer passes through to control the point of i/o
Output height and order is commented to control the rotating of motor, thus controlling through hole switch mechanism movement.Work as motor
When moving to specified location, touch limit switch, to one low level interrupt signal of single-chip microcomputer, stm32f407 is mono- for limit switch
Piece machine stops drive stepping motor.Rain sensor is connected with stm32f407 single-chip simulation pin pa7 by amplifying circuit,
Changed by ad, to judge whether be currently to rain, if raining, detection of not taking pictures.Prevent from causing detection knot because raining
The deviation of fruit.Ldo chip rt9193-1.8, rt9193-2.8 of mu balanced circuit provides stable 1.8v, 2.8v electricity for photographic head
Pressure, rt9193-3.3 provides 3.3v voltage for stm32f407 single-chip microcomputer, and they are all provided that more than 300ma electric current, meet system
Work.The power consumption that photographic head in work is in 30ma, when photographic head does not work, it is possible to use stm32f407 single-chip microcomputer
Pin pa5 controls photographic head power supply so as to be operated in low-power consumption mode, is 0.9ma in its operating current of low-power consumption mode, simultaneously
Stm32f407 single-chip microcomputer is also operated in low-power consumption mode, only 10 μ a at one's leisure, is so greatly lowered power consumption.
The work process of the present invention is: stm32f407 single-chip microcomputer first turns on the ad conversion of pa7 pin, and according to conversion
Result judges now whether rain, if not raining, starts to detect.Stm32f407 Micro Controller Unit (MCU) driving motor, drives logical
Hole switch mechanism movement, opens housing through-hole, when limit switch signal is detected, stops motor action.stm32f407
Single-chip microcomputer sets low pa5 pin, makes photographic head be switched to normal mode, and is communicated with photographic head by i2c interface, starts to shoot water
Position chi photo, reads, by dcmi interface, the picture data photographing;Then identify the real water level reading of water-level measuring post.
Pa5 pin drawn high by stm32f407 single-chip microcomputer, makes photographic head be operated in low-power consumption mode, then stm32f407 single-chip microcomputer is switched to
Low-power consumption mode, completes water level detecting.
As shown in Figures 2 to 4, a kind of reservoir level automatic remote measuring method based on one-dimensional vision of the present invention, it
Carry out reservoir level measurement using measurement apparatus described above, measuring method comprises the following steps:
1) adjust the angle of condensate tank of dehumidifier and the focal length of photographic head, and make photographic head just to water-level measuring post and image is clear
Clear, the characteristic image of image procossing is carried out as initial pictures to the image shooting, and it is high to demarcate reservoir level according to datum line
Spend for h;
2) rainfall data is obtained by rain sensor and judge whether be currently to rain, if do not rain entering next
Step, if rained, directly exits;
3) by controlling through hole switching mechanism to open shutter, water-level measuring post is shot;
4) process is carried out to the image shooting and obtain characteristic image;
5) image of captured in real-time and initial pictures are carried out contrasting the lifting situation to judge water level.
In step 5) in, the image according to captured in real-time obtains SEA LEVEL VARIATION height △ h with the contrast of initial pictures, if
Real time water level is higher than datum line, then the height of reservoir level is h+ △ h, if real time water level is less than datum line, reservoir level
Height be h- △ h.
As shown in figure 4, photographic head adjusts suitable focal length (shooting distance set point), by treating the water-level measuring post of buoy
Shot, characteristic image can be obtained through image procossing.Fig. 4 (a) is initial pictures, and demarcation reservoir level height is h, when
After waterline declines, obtain image such as Fig. 4 (c), the water surface can be tried to achieve by graphic based line and decline △ h, the reservoir water surface is high this moment
Spend for h- △ h;With should reservoir level rise, obtain image such as Fig. 4 (b), reservoir level height is h+ △ h this moment.By this
The precision that water-level measuring post tries to achieve water level is very high, and certainty of measurement is substantially the error of the pixel of image.
Additionally, the range of application of the present invention is not limited to the technique of the specific embodiment described in description, mechanism, system
Make, material composition, means, method and step.From the disclosure, will be easily as those of ordinary skill in the art
Ground understands, for the technique having existed at present or will having developed later, mechanism, manufacture, material composition, means, method or
Step, wherein they are executed the function being substantially the same with the corresponding embodiment of present invention description or obtain the knot being substantially the same
Really, they can be applied according to the present invention.Therefore, claims of the present invention are intended to these techniques, mechanism, system
Make, material composition, means, method or step are included in its protection domain.
Claims (9)
1. the reservoir level automatic remote measurement apparatus based on one-dimensional vision, is characterized in that, including water-level measuring post and water level detecting dress
Put, described water-level measuring post is arranged in reservoir, described condensate tank of dehumidifier is arranged on reservoir dam in order to gather reservoir water digit
According to;Described water-level measuring post includes scale with a scale, and scale is arranged on base, is provided with along scale following water-level lifting on scale
And the buoy moving up and down, described buoy is provided with reflecting strips towards on the one side of condensate tank of dehumidifier.
2. the reservoir level automatic remote measurement apparatus based on one-dimensional vision according to claim 1, is characterized in that, described
Condensate tank of dehumidifier includes housing and is arranged on photographic head in housing, light compensating lamp, stm32f407 single-chip microcomputer, memorizer, rain
The active crystal oscillator of quantity sensor, 25m, stm8l151 single-chip microcomputer, solar panel, charging control circuit, lithium battery, on-off control
Circuit, mu balanced circuit and gprs module, described stm32f407 single-chip microcomputer is active with photographic head, light compensating lamp, memorizer, 25m respectively
Crystal oscillator, stm8l151 single-chip microcomputer and mu balanced circuit connect, described charging control circuit respectively with solar panel and lithium battery
Electrical connection, described lithium battery is connected with stm8l151 single-chip microcomputer and ON-OFF control circuit respectively, the control of described ON-OFF control circuit
End processed is connected with stm8l151 single-chip microcomputer, and described mu balanced circuit is connected with stm32f407 single-chip microcomputer and photographic head respectively, described
Gprs module is connected with stm8l151 single-chip microcomputer;It is provided with through hole on housing is towards the side of water-level measuring post, described photographic head is just
Through hole is arranged, through hole switching mechanism is provided with the medial wall at housing through-hole, in order to block through hole.
3. the reservoir level automatic remote measurement apparatus based on one-dimensional vision according to claim 2, is characterized in that, described
Condensate tank of dehumidifier also includes rain sensor, and described rain sensor is arranged on above housing and the data of rain sensor is defeated
Go out end to be connected with tm32f407 single-chip microcomputer.
4. the reservoir level automatic remote measurement apparatus based on one-dimensional vision according to claim 2, is characterized in that, described
Photographic head adopts ov2640 photographic head, and described photographic head is connected with the active crystal oscillator of 24m, and described memorizer adopts at24c02 to store
Chip.
5. the reservoir level automatic remote measurement apparatus based on one-dimensional vision according to claim 2, is characterized in that, described
Gprs module includes sim800c module, sim card and mic29302 chip, described sim800c module respectively with stm8l151 monolithic
Machine and power module connect, and described sim card is arranged in the draw-in groove of sim800c module, the control end of described mic29302 chip
It is connected with stm8l151 single-chip microcomputer.
6. the reservoir level automatic remote measurement apparatus based on one-dimensional vision according to claim 2, is characterized in that, described
Through hole switching mechanism includes the supporting plate being fixed on case inside wall, is provided with correspondingly sized with through hole in supporting plate one end
Light hole, the supporting plate other end is provided with the orbit hole of level, orbit hole and light hole UNICOM, in supporting plate near housing sidewall
Side is provided with chute, is provided with the shutter moving left and right in chute, and described back of blocking is provided with an in rail hole left side
The tooth bar moving right, described tooth bar is engaged with setting gear on the rotary shaft, the upper end of described rotary shaft be fixed on support
The output shaft of the motor on plate connects, and the lower end of rotary shaft is arranged in the bearing block being fixed on supporting plate, in support
About plate, the position of the corresponding tooth bar shift motion in two ends is respectively arranged with a limit switch;It is additionally provided with described supporting plate and draw
Formula electric magnet, when shutter blocks light hole and through hole, the stopper of pull-type electric magnet falls in tooth bar away from the one of light hole
End;The outfan of described limit switch is connected with stm32f407 single-chip microcomputer, and the control end of described motor passes through drive circuit
It is connected with stm32f407 single-chip microcomputer, the control end of described pull-type electric magnet is connected with stm32f407 single-chip microcomputer.
7. the reservoir level automatic remote measurement apparatus based on one-dimensional vision according to claim 1 to 6 any one, its
Feature is, the upper end of described scale is provided with spherical anti-raise one's hat.
8. the reservoir level automatic remote measuring method based on one-dimensional vision, be is characterized in that, entered using measurement apparatus described above
Row reservoir level measures, and measuring method comprises the following steps:
1) adjust the angle of condensate tank of dehumidifier and the focal length of photographic head, and make photographic head just to water-level measuring post and image clearly, right
The image shooting carries out the characteristic image of image procossing as initial pictures, and demarcates reservoir level height for h according to datum line;
2) rainfall data is obtained by rain sensor and judge whether be currently to rain, if not raining entrance next step, such as
Fruit is rained and then directly exits;
3) by controlling through hole switching mechanism to open shutter, water-level measuring post is shot;
4) process is carried out to the image shooting and obtain characteristic image;
5) image of captured in real-time and initial pictures are carried out contrasting the lifting situation to judge water level.
9. the reservoir level automatic remote measuring method based on one-dimensional vision according to claim 8, is characterized in that, in step
In rapid 5), the image according to captured in real-time obtains SEA LEVEL VARIATION height △ h with the contrast of initial pictures, if real time water level is higher than
Datum line, then the height of reservoir level is h+ △ h, if real time water level is less than datum line, the height of reservoir level is h- △
h.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610945007.XA CN106370265A (en) | 2016-11-02 | 2016-11-02 | Automatic and remote reservoir level measuring device and method based on one-dimensional vision |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610945007.XA CN106370265A (en) | 2016-11-02 | 2016-11-02 | Automatic and remote reservoir level measuring device and method based on one-dimensional vision |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106370265A true CN106370265A (en) | 2017-02-01 |
Family
ID=57893359
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610945007.XA Withdrawn CN106370265A (en) | 2016-11-02 | 2016-11-02 | Automatic and remote reservoir level measuring device and method based on one-dimensional vision |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106370265A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108985322A (en) * | 2018-06-01 | 2018-12-11 | 广东电网有限责任公司 | A kind of cable tunnel ponding positioning identifying method based on ZF-Faster RCNNs |
CN109579935A (en) * | 2018-12-26 | 2019-04-05 | 大唐水电科学技术研究院有限公司 | A kind of luminous water-level measuring post |
CN109870211A (en) * | 2019-01-22 | 2019-06-11 | 珠海格力电器股份有限公司 | Method and device for detecting rice amount in rice storage equipment and rice barrel |
CN110530441A (en) * | 2019-08-21 | 2019-12-03 | 河海大学 | A kind of round-the-clock Online Video flow measuring system |
CN111854889A (en) * | 2020-07-03 | 2020-10-30 | 青海师范大学 | Water level monitoring system and monitoring method based on image processing technology |
CN112833986A (en) * | 2021-03-19 | 2021-05-25 | 浙江机电职业技术学院 | Water level gauge image identification method and device |
CN114046852A (en) * | 2021-11-05 | 2022-02-15 | 张家口钢源信息技术有限公司 | Novel method and equipment for detecting liquid level of converter vaporization boiler |
CN116989866A (en) * | 2023-09-27 | 2023-11-03 | 三峡金沙江云川水电开发有限公司 | Hydropower station upstream water reservoir water level monitoring device |
-
2016
- 2016-11-02 CN CN201610945007.XA patent/CN106370265A/en not_active Withdrawn
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108985322A (en) * | 2018-06-01 | 2018-12-11 | 广东电网有限责任公司 | A kind of cable tunnel ponding positioning identifying method based on ZF-Faster RCNNs |
CN108985322B (en) * | 2018-06-01 | 2019-11-22 | 广东电网有限责任公司 | A kind of cable tunnel ponding positioning identifying method based on ZF-Faster RCNNs |
CN109579935A (en) * | 2018-12-26 | 2019-04-05 | 大唐水电科学技术研究院有限公司 | A kind of luminous water-level measuring post |
CN109870211A (en) * | 2019-01-22 | 2019-06-11 | 珠海格力电器股份有限公司 | Method and device for detecting rice amount in rice storage equipment and rice barrel |
CN109870211B (en) * | 2019-01-22 | 2020-07-28 | 珠海格力电器股份有限公司 | Method and device for detecting rice amount in rice storage equipment and rice barrel |
CN110530441A (en) * | 2019-08-21 | 2019-12-03 | 河海大学 | A kind of round-the-clock Online Video flow measuring system |
CN111854889A (en) * | 2020-07-03 | 2020-10-30 | 青海师范大学 | Water level monitoring system and monitoring method based on image processing technology |
CN112833986A (en) * | 2021-03-19 | 2021-05-25 | 浙江机电职业技术学院 | Water level gauge image identification method and device |
CN114046852A (en) * | 2021-11-05 | 2022-02-15 | 张家口钢源信息技术有限公司 | Novel method and equipment for detecting liquid level of converter vaporization boiler |
CN116989866A (en) * | 2023-09-27 | 2023-11-03 | 三峡金沙江云川水电开发有限公司 | Hydropower station upstream water reservoir water level monitoring device |
CN116989866B (en) * | 2023-09-27 | 2023-12-08 | 三峡金沙江云川水电开发有限公司 | Hydropower station upstream water reservoir water level monitoring device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106370265A (en) | Automatic and remote reservoir level measuring device and method based on one-dimensional vision | |
CN106338316A (en) | Level Gauge and Remote Measurement System Used for Reservoir Water Level Measurement | |
CN106500928B (en) | A kind of reservoir dam Seepage Safety online auto monitoring system | |
CN206161096U (en) | Reservoir water level measuring device | |
CN106500766B (en) | A kind of reservoir safety online auto monitoring system | |
CN101709965B (en) | Automatic measuring device of three-dimensional terrain of water tank | |
CN102323628B (en) | Rainfall information acquiring and metering method and unit, and rainfall meter | |
CN108491844A (en) | Water meter automatic checkout system based on image procossing and its image processing method | |
CN109754573A (en) | A kind of middle and small river flood forecasting pre-warning facility and its operation method | |
CN204903787U (en) | Acid rain - rain sensor and have acid rain - rain sensor's weather station | |
CN113296134A (en) | Reservoir landslide array type underwater deformation monitoring device and monitoring method | |
CN108765980A (en) | A kind of vehicle overspeed warning device and method | |
CN107421510A (en) | A kind of hydrologic monitoring device and method | |
CN210037861U (en) | Natural river surface flow velocity and underwater flow velocity synchronous measurement device | |
CN206161250U (en) | Reservoir dam seepage flow monitoring devices | |
CN109469188A (en) | A kind of Intelligent rainwater well lid based on the NB-IoT communication technology | |
CN109784224A (en) | It is a kind of for river frost flower feature and the image detecting system of ice sheet Thickness Analysis | |
CN115792166B (en) | River flow speed buffer type underwater water quality monitoring device | |
CN204442576U (en) | High-rise settlement detecting device | |
CN111089634A (en) | Water level monitoring device and method | |
CN206782012U (en) | A kind of land water system buoy based on GIS | |
CN206161091U (en) | Reservoir water level measuring device based on two -dimensional code water -level measuring post | |
CN113074797A (en) | Water level measuring device without water gauge and water level calibration method | |
CN213481483U (en) | Intelligent reservoir water level early warning device | |
CN209028068U (en) | A kind of automatic monitering buoy of water quality of river based on wireless telecommunications |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170201 |
|
WW01 | Invention patent application withdrawn after publication |