CN103364046A - Intelligent air interface type water level gauge and water level measurement method - Google Patents
Intelligent air interface type water level gauge and water level measurement method Download PDFInfo
- Publication number
- CN103364046A CN103364046A CN2013103083389A CN201310308338A CN103364046A CN 103364046 A CN103364046 A CN 103364046A CN 2013103083389 A CN2013103083389 A CN 2013103083389A CN 201310308338 A CN201310308338 A CN 201310308338A CN 103364046 A CN103364046 A CN 103364046A
- Authority
- CN
- China
- Prior art keywords
- water level
- air
- processor
- pressure sensor
- transmission module
- 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.)
- Pending
Links
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 title claims abstract description 128
- 238000000691 measurement method Methods 0.000 title claims abstract description 8
- 230000005540 biological transmission Effects 0.000 claims abstract description 34
- 238000001514 detection method Methods 0.000 claims abstract description 20
- 238000003860 storage Methods 0.000 claims abstract description 20
- 239000007788 liquid Substances 0.000 claims abstract description 19
- 230000001404 mediated effect Effects 0.000 claims abstract description 13
- 238000000034 method Methods 0.000 claims abstract description 13
- 238000007789 sealing Methods 0.000 claims abstract description 3
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical group [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 claims description 6
- 229910052710 silicon Inorganic materials 0.000 claims description 6
- 239000010703 silicon Substances 0.000 claims description 6
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical group [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 claims description 4
- 229910052744 lithium Inorganic materials 0.000 claims description 4
- 238000013480 data collection Methods 0.000 claims description 3
- 238000012545 processing Methods 0.000 claims description 3
- 238000005259 measurement Methods 0.000 abstract description 5
- 238000012271 agricultural production Methods 0.000 abstract description 2
- 230000007613 environmental effect Effects 0.000 abstract description 2
- 238000004891 communication Methods 0.000 description 9
- 230000008447 perception Effects 0.000 description 4
- 229910000831 Steel Inorganic materials 0.000 description 2
- 230000007797 corrosion Effects 0.000 description 2
- 238000005260 corrosion Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000004033 plastic Substances 0.000 description 2
- 239000010959 steel Substances 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 229910052751 metal Inorganic materials 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 229910001220 stainless steel Inorganic materials 0.000 description 1
- 239000010935 stainless steel Substances 0.000 description 1
Images
Landscapes
- Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)
Abstract
本发明提供了一种气介式智能水位计及水位测量方法,气介式智能水位计包括处理器、存储单元、供电单元、传输模块和水位采集单元,其中,存储单元、传输模块和水位采集单元均与处理器和供电单元相连,供电单元和处理器相连;水位采集单元包括压力传感器和密封气管,密封气管套接在压力传感器连接口上,且压力传感器连接口直径与密封气管管径相当。本发明方法通过密封气管将液压转换为气压变化,通过压力传感器采集气压变化,处理器根据气压变化推算探测点至液面的深度,并获得水位值。本发明具有体积小、使用便捷、测量准确、环境依赖性低等优点,可广泛应用于各种环境的工业、水利及农业生产中。
The invention provides an air-mediated intelligent water level gauge and a water level measurement method. The air-mediated intelligent water level gauge includes a processor, a storage unit, a power supply unit, a transmission module and a water level acquisition unit, wherein the storage unit, the transmission module and the water level acquisition The units are all connected to the processor and the power supply unit, and the power supply unit is connected to the processor; the water level acquisition unit includes a pressure sensor and a sealed air pipe, and the sealed air pipe is sleeved on the pressure sensor connection port, and the diameter of the pressure sensor connection port is equivalent to the diameter of the sealed air pipe. The method of the invention converts the hydraulic pressure into air pressure changes by sealing the air pipe, collects the air pressure changes through the pressure sensor, and calculates the depth from the detection point to the liquid surface according to the air pressure changes, and obtains the water level value. The invention has the advantages of small size, convenient use, accurate measurement, low environmental dependence, etc., and can be widely used in industrial, water conservancy and agricultural production in various environments.
Description
技术领域technical field
本发明属于水位测量技术领域,尤其涉及一种气介式智能水位计及水位测量方法。The invention belongs to the technical field of water level measurement, in particular to an air-mediated intelligent water level gauge and a water level measurement method.
背景技术Background technique
随着水资源日益匮乏,如何精确计量水资源的消耗,实现水资源的高效、合理、准确利用,便成为了现代农业发展的关键需求之一。具有精准、自动记测并配以遥传功能的现代水位计能较好地满足上述需求,因此得到了极大的应用和发展。With the increasing scarcity of water resources, how to accurately measure the consumption of water resources and realize the efficient, reasonable and accurate use of water resources has become one of the key needs of modern agricultural development. Modern water level gauges with accurate, automatic recording and remote transmission functions can better meet the above needs, so they have been greatly used and developed.
区别于早期的自记式水位计,现代水位计多采用传感器来感知水位变化,按传感器工作原理可划分为浮子式水位计、压力式水位计及气泡式水位计等。这几类水位计虽都能够满足水位测量需求,但由于对应用环境都有着较强针对性,故也存在着诸多不足:浮子式水位计需建设专用测井,投资费用高;压力式水位计受计量水质条件影响,误差较大;气泡式水位计装置复杂,财力物力成本高,且数据采集较慢。此外,现有水位计多采用市电或太阳能提供电源,易受天气、供电情况及传输线路影响;在数据传输上,现有水位计算与远端控制中心之间多采用有线传输方式,不利于大规模应用。Different from the early self-recording water level gauges, modern water level gauges mostly use sensors to sense water level changes. According to the working principle of sensors, they can be divided into float type water level gauges, pressure type water level gauges and bubble type water level gauges. Although these types of water level gauges can meet the needs of water level measurement, they also have many shortcomings because of their strong pertinence to the application environment: the float type water level gauge needs to build a special logging well, and the investment cost is high; the pressure type water level gauge Affected by the measurement water quality conditions, the error is relatively large; the device of the bubble water level gauge is complicated, the cost of financial and material resources is high, and the data acquisition is slow. In addition, most of the existing water level gauges use mains power or solar power to provide power, which is easily affected by weather, power supply conditions, and transmission lines; in terms of data transmission, the existing water level calculation and remote control center mostly use wired transmission, which is not conducive to large-scale application.
发明内容Contents of the invention
针对现有技术存在的不足,本发明提出了一种使用便捷、测量准确、环境依赖性低的气介式智能水位计及水位测量方法。Aiming at the deficiencies in the prior art, the present invention proposes a gas-mediated intelligent water level gauge and a water level measurement method that are convenient to use, accurate in measurement, and low in environmental dependence.
为了解决上述技术问题,本发明采用如下的技术方案:In order to solve the problems of the technologies described above, the present invention adopts the following technical solutions:
一种气介式智能水位计,包括处理器、存储单元、供电单元、传输模块和水位采集单元,其中,存储单元、传输模块和水位采集单元均与处理器和供电单元相连,供电单元和处理器相连;水位采集单元包括压力传感器和密封气管,密封气管套接在压力传感器连接口上,且压力传感器连接口直径与密封气管管径相当。An air-mediated intelligent water level gauge, including a processor, a storage unit, a power supply unit, a transmission module and a water level acquisition unit, wherein the storage unit, the transmission module and the water level acquisition unit are all connected to the processor and the power supply unit, and the power supply unit and the processing The water level acquisition unit includes a pressure sensor and a sealed air pipe, the sealed air pipe is sleeved on the pressure sensor connection port, and the diameter of the pressure sensor connection port is equivalent to the diameter of the sealed air pipe.
上述压力传感器为硅集成压力传感器。The pressure sensor mentioned above is a silicon integrated pressure sensor.
上述密封气管为胶皮软管或无缝钢管,具有防腐蚀性。The above-mentioned sealed air pipe is a rubber hose or a seamless steel pipe, which has corrosion resistance.
上述传输模块为无线传输模块。The above-mentioned transmission module is a wireless transmission module.
上述供电单元为锂电池。The above-mentioned power supply unit is a lithium battery.
上述存储单元为TF卡,且以FAT32文件系统存储数据。The above-mentioned storage unit is a TF card, and stores data in the FAT32 file system.
本发明气介式智能水位计还包括显示模块。The gas-mediated intelligent water level gauge of the present invention also includes a display module.
一种水位测量方法通过密封气管将液压转换为气压变化,通过压力传感器采集气压变化,处理器根据气压变化推算探测点至液面的深度,并获得水位值。A water level measurement method converts hydraulic pressure into air pressure changes through a sealed air pipe, collects air pressure changes through a pressure sensor, and a processor calculates the depth from the detection point to the liquid surface according to the air pressure changes, and obtains the water level value.
上述的处理器根据气压变化推算探测点至液面的深度,具体包括步骤:The above-mentioned processor calculates the depth from the detection point to the liquid surface according to the change of air pressure, which specifically includes the steps:
压力传感器感应到气压变化后输出电压Vout;The pressure sensor outputs a voltage V out after sensing the air pressure change;
处理器根据输出电压Vout推算气压变化值P,即为探测点处液压;The processor calculates the air pressure change value P according to the output voltage V out , which is the hydraulic pressure at the detection point;
处理根据气压变化值P和液体密度推算探测点至液面的深度。The processing calculates the depth from the detection point to the liquid surface according to the air pressure change value P and the liquid density.
本发明水位测量方法,还包括步骤:The water level measuring method of the present invention also includes the steps of:
根据获得水位值和水位报警界限判断水位是否超限,若水位超限,则通过传输模块向远程控制中心发生报警信息;若水位未超限,则将水位值作为历史数据保存至存储单元。所述的通过传输模块向远程控制中心发生报警信息式采用网络模式、短信控制模式或电话控制模块。Judging whether the water level exceeds the limit according to the obtained water level value and the water level alarm limit, if the water level exceeds the limit, an alarm message is sent to the remote control center through the transmission module; if the water level does not exceed the limit, the water level value is saved to the storage unit as historical data. The method of sending alarm information to the remote control center through the transmission module adopts network mode, short message control mode or telephone control module.
本发明水位测量方法中,处理器根据预设的数据采集周期和定时上报周期判断是否需要采集水位数据或向远程控制中心上报水位数据,当不需要采集水位数据且不需要向远程控制中心上报水位数据时,水位计处于休眠模式,即,处理器处于休眠状态,传输模块、显示模块和水位采集单元关闭。In the water level measurement method of the present invention, the processor judges whether it is necessary to collect water level data or report the water level data to the remote control center according to the preset data collection cycle and the regular reporting cycle, and when the water level data does not need to be collected and the water level does not need to be reported to the remote control center Data, the water level gauge is in sleep mode, that is, the processor is in sleep mode, and the transmission module, display module and water level acquisition unit are turned off.
与现有技术相比,本发明具有以下优点和有益效果:Compared with the prior art, the present invention has the following advantages and beneficial effects:
1、本发明采用气介式的被动接触方式采集水位数据,装置轻便,安装简单,无需建测井,无需复杂装置及笨重气瓶,可大大降低功耗且稳定性好;在水位变幅过快时,也能快速采集水位数据,精度高,兼容性好,对环境依赖低,可广泛应用于各种环境的工业、水利及农业生产中。1. The present invention adopts the air-mediated passive contact method to collect water level data. The device is portable and easy to install. It does not need to build logging wells, complex devices and heavy gas cylinders. It can greatly reduce power consumption and has good stability; When it is fast, it can also quickly collect water level data, with high precision, good compatibility, and low dependence on the environment. It can be widely used in industrial, water conservancy, and agricultural production in various environments.
2、本发明水位测量方法独特,将水位转化为气压变化,变水压感知为气压感知,压力传感器不直接接触液体,可防阻塞、防结垢,从而延长压力传感器使用寿命。2. The water level measurement method of the present invention is unique. The water level is converted into air pressure change, and the water pressure perception is transformed into air pressure perception. The pressure sensor does not directly contact the liquid, which can prevent clogging and scaling, thereby prolonging the service life of the pressure sensor.
3、本发明的优选方案采用锂电池独立供电,使用寿命长,且不受天气、市电供电情况等的影响,方便随时监测水位,特别适合现场无法供电的野外水渠、水井等地的巡回检测,可靠性强。3. The preferred solution of the present invention uses a lithium battery for independent power supply, which has a long service life and is not affected by weather and mains power supply conditions. It is convenient to monitor the water level at any time, and is especially suitable for the itinerant detection of field canals and wells where no power supply can be provided on site. , strong reliability.
4、本发明的优选方案采用无线通信方式将采集数据传送给远程控制中心,无需布线,便于安装,具有很大的灵活性、准确度。4. The preferred solution of the present invention uses wireless communication to transmit the collected data to the remote control center, without wiring, easy to install, and has great flexibility and accuracy.
5、本发明通过存储单元实现水位数据的FAT32文件系统存储,使得存储单元可被PC识别并直接读写其中存储的数据,方便历史水位数据的查看和保存5. The present invention realizes the FAT32 file system storage of the water level data through the storage unit, so that the storage unit can be recognized by the PC and directly read and write the data stored in it, which is convenient for checking and saving the historical water level data
6、本发明将控制装置一体化于壳体内,结构紧凑,且壳体还具有防水、防潮、抗电磁干扰、抗雷击等优点,实用性强。这里控制装置指处理器、供电单元、传输模块、存储单元和压力传感器。6. The present invention integrates the control device into the casing, which has a compact structure, and the casing also has the advantages of waterproof, moisture-proof, anti-electromagnetic interference, anti-lightning strike, etc., and has strong practicability. Here the control device refers to a processor, a power supply unit, a transmission module, a storage unit and a pressure sensor.
7、本发明水位计在不需要采集水位数据或上报水位数据时,处于休眠模式,可降低功耗。7. When the water level gauge of the present invention does not need to collect water level data or report water level data, it is in a sleep mode, which can reduce power consumption.
8、本发明可根据实际情况选择短信控制模式、网络模式或电话控制模式与远程控制中心进行通信,方便灵活。8. The present invention can choose SMS control mode, network mode or telephone control mode to communicate with the remote control center according to the actual situation, which is convenient and flexible.
附图说明Description of drawings
图1为本发明水位采集工作原理示意图;Fig. 1 is the schematic diagram of working principle of water level acquisition of the present invention;
图2为本发明一种具体实施的结构框图;Fig. 2 is a structural block diagram of a kind of concrete implementation of the present invention;
图3为本发明水位计的工作流程。Fig. 3 is the working flow of the water level gauge of the present invention.
其中,1-壳体,2-显示窗口,3-密封气管,4-密封连接口,5-天线。Among them, 1-housing, 2-display window, 3-sealed gas pipe, 4-sealed connection port, 5-antenna.
具体实施方式Detailed ways
本发明气介式智能水位计通过将液压转化为气压变化,变液压感知为气压感知,通过压力传感器感知气压变化,并根据气压变化推算水位值。The air-mediated intelligent water level gauge of the present invention converts hydraulic pressure into air pressure change, changes hydraulic pressure perception into air pressure perception, senses air pressure change through a pressure sensor, and calculates the water level value according to the air pressure change.
下面将结合附图和具体实施方式进一步说明本发明。The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
见图1~2,本具体实施水位计包括处理器、存储单元、供电单元、显示模块、传输模块和水位采集单元,处理器为MSP430型号低功耗系列微处理器;存储单元为TF卡,可实现水位数据的FAT32文件系统存储,可被电脑识别并直接读写存储单元中存储的数据;供电单元为锂电池;显示模块包括显示电路和显示屏;传输模块为无线传输模块,并连接天线,所采用的天线频率范围为900/1800MHz、最大功率50W。See Figures 1-2. The water level gauge in this implementation includes a processor, a storage unit, a power supply unit, a display module, a transmission module and a water level acquisition unit. The processor is an MSP430 low-power series microprocessor; the storage unit is a TF card. The FAT32 file system storage of water level data can be realized, which can be recognized by the computer and directly read and write the data stored in the storage unit; the power supply unit is a lithium battery; the display module includes a display circuit and a display screen; the transmission module is a wireless transmission module and connected to an antenna , The frequency range of the antenna used is 900/1800MHz, and the maximum power is 50W.
水位采集单元包括压力传感器和密封气管3,压力传感器为MPX5010DP型号硅集成压力传感器,密封气管3为防腐蚀性良好的胶皮软管或无缝钢管。密封气管套接在硅集成压力传感器的外凸连接口上,并采用固体凝胶密封,连接处见图1中的密封连接口4,硅集成压力传感器连接口直径与密封气管管径相当。使用时,密封气管一端伸入液体中,该端端头固定于探测点。探测点处液体挤压密封管内空气,从而将探测点液压通过密封气管传递至压力传感器连接口。The water level acquisition unit includes a pressure sensor and a sealed air pipe 3, the pressure sensor is an MPX5010DP silicon integrated pressure sensor, and the sealed air pipe 3 is a rubber hose or a seamless steel pipe with good corrosion resistance. The airtight air tube is sleeved on the protruding connection port of the silicon integrated pressure sensor, and is sealed with solid gel. See the sealing connection port 4 in Figure 1 for the connection. The diameter of the silicon integrated pressure sensor connection port is equivalent to the diameter of the sealed air pipe. When in use, one end of the airtight tube extends into the liquid, and the end of the air tube is fixed at the detection point. The liquid at the detection point squeezes the air in the sealed tube, so that the hydraulic pressure at the detection point is transmitted to the connection port of the pressure sensor through the sealed air tube.
将密封气管3一端固定于探测点的一种具体方法为:在密封气管外套一段硬质管,可以为金属管或硬塑料管,将硬质管固定于支架,支架固定在渠道底床或侧床上。A specific method for fixing one end of the sealed air pipe 3 to the detection point is: cover a section of hard pipe, which can be a metal pipe or a hard plastic pipe, on the sealed air pipe, and fix the hard pipe to a bracket, and the bracket is fixed on the bottom bed or side of the channel. bed.
本发明的处理器、存储单元、供电单元、显示模块和传输模块均置于壳体1内,为保证壳体1的防水、防潮及抗电磁干扰,壳体1为密封的不锈钢或塑料壳体。壳体1上设有透明的显示窗口2,透过显示窗口2可观察显示屏上显示的内容。The processor, storage unit, power supply unit, display module and transmission module of the present invention are all placed in the
本发明涉及的原理及理论基础如下:The principles and theoretical basis involved in the present invention are as follows:
水位计采集水位信息时,液压压缩密封气管内空气,将探测点液压传递至压力传感器;根据压力传感器的输出电压推算探测点至液面的深度,并获得水位值。When the water level gauge collects water level information, it hydraulically compresses and seals the air in the air pipe, and hydraulically transmits the detection point to the pressure sensor; calculates the depth from the detection point to the liquid surface according to the output voltage of the pressure sensor, and obtains the water level value.
以MPX5010DP型号硅集成压力传感器为例,该压力传感器通过感知密封气管内的气压变化,形成输出电压Vout:Taking the MPX5010DP silicon integrated pressure sensor as an example, the pressure sensor forms an output voltage V out by sensing the air pressure change in the sealed air tube:
Vout=Vs·(0.09×P+0.04)±5.0%VFss (1)V out =V s ·(0.09×P+0.04)±5.0%V Fss (1)
式(1)中:In formula (1):
VS为传感器输入电压,本具体实施例中,VS=5.0V;V S is the sensor input voltage, in this specific embodiment, V S =5.0V;
VFSS为误差造成的干扰电压:V FSS is the interference voltage caused by the error:
VFSS=Pressure.Error×Temp.Factor×0.09×VS (2)V FSS = Pressure.Error×Temp.Factor×0.09×V S (2)
Temp=0~85℃ (3)Temp=0~85℃(3)
Pressure.Error为压强采集过程中产生的误差,待测压强在0~10kPa范围内时,其误差不超过±0.5kPa,待测压强不在此范围内时,其误差大于±0.5kPa;Pressure.Error is the error generated during the pressure acquisition process. When the pressure to be measured is within the range of 0 to 10kPa, the error does not exceed ±0.5kPa. When the pressure to be measured is not within this range, the error is greater than ±0.5kPa;
Temp.Factor为压强采集结果受温度影响的系数;Temp.Factor is the coefficient of pressure acquisition results affected by temperature;
Temp为传感器工作的最佳温度范围,在0°~85℃温度范围工作时,Temp.Factor=1,即采集结果不受温度变化影响;当传感器工作在-40°~0℃或85°~125℃时,Temp.Factor随温度升高或降低线性变化,最高为3.0。Temp is the best temperature range for the sensor to work. When working in the temperature range of 0°~85°C, Temp.Factor=1, that is, the acquisition results will not be affected by temperature changes; when the sensor works at -40°~0°C or 85°~ At 125°C, Temp.Factor changes linearly with increasing or decreasing temperature, the highest being 3.0.
压力传感器的输出电压Vout转换成对应的ADC值后传输至处理器,处理器根据公式(1)获得压强值P,即探测点处液压;采用液体的深度-压强公式(4)推算探测点至液面的深度h:The output voltage V out of the pressure sensor is converted into the corresponding ADC value and then transmitted to the processor. The processor obtains the pressure value P according to the formula (1), that is, the hydraulic pressure at the detection point; the detection point is calculated using the liquid depth-pressure formula (4) Depth h to liquid surface:
P=ρgh (4)P = ρgh (4)
式(4)中:In formula (4):
ρ为液体密度,g为重力加速度;由P和ρ即可推算探测点至液面的深度h,h加上液位基值即为测量的水位值。液位基值为探测点到水底的距离。ρ is the density of the liquid, g is the acceleration of gravity; the depth h from the detection point to the liquid surface can be calculated from P and ρ, and h plus the base value of the liquid level is the measured water level value. The base value of the liquid level is the distance from the detection point to the bottom of the water.
图3为本发明水位计的工作流程。水位计上电开机时,检测存储单元、传输模块、显示模块的运行状态,若检测到故障,则根据故障类型,产生故障提示;若无故障,则根据预设值,初始化数据采集周期、定时上报周期和水位报警界限限等运行参数,随即启动。本发明水位计在不需要采集水位信息且不需要上报水位数据时,处于休眠模式,此时,处理器处于休眠状态,无线传输模块、显示模块和水位采集单元均关闭,主要保留实时时钟单元工作。Fig. 3 is the working flow of the water level gauge of the present invention. When the water level gauge is powered on, it detects the operating status of the storage unit, transmission module, and display module. If a fault is detected, a fault prompt will be generated according to the fault type; if there is no fault, the data acquisition cycle and timing will be initialized according to the preset value. The operating parameters such as the reporting period and the water level alarm limit limit will be started immediately. When the water level gauge of the present invention does not need to collect water level information and does not need to report water level data, it is in the dormant mode. At this time, the processor is in the dormant state, and the wireless transmission module, the display module and the water level acquisition unit are all closed, and the real-time clock unit is mainly kept working. .
根据数据采集周期判断是否需要采集水位数据。当需要采集水位数据时,实时时钟单元产生相应中断,唤醒处理器,处理器进入正常工作状态,随即发出电平信号导通与压力传感器中ADC模块(模数变化器)相连的三极管;ADC模块开始工作,处理器连续读取ADC模块输出的ADC值,待ADC值稳定后,取读取的一系列ADC值的平均值,并根据ADC平均值、公式(1)和公式(4)推算实时水位值,该过程大概需要2~3秒,同时,处理器控制显示模块更新显示实时水位值。Determine whether to collect water level data according to the data collection cycle. When it is necessary to collect water level data, the real-time clock unit generates a corresponding interrupt, wakes up the processor, the processor enters a normal working state, and then sends a level signal to conduct the triode connected to the ADC module (analog-to-digital changer) in the pressure sensor; the ADC module Start to work, the processor continuously reads the ADC value output by the ADC module, after the ADC value is stable, takes the average value of a series of ADC values read, and calculates the real-time value according to the ADC average value, formula (1) and formula (4) The water level value, the process takes about 2 to 3 seconds, and at the same time, the processor controls the display module to update and display the real-time water level value.
获得实时水位值后,根据水位报警界限判断水位是否超限。若实时水位值超过报警界限,开启无线传输单元,与远程控制中心建立通信连接,并将水位超限报警信息发送至远程控制中心,发送完毕后断开与远程控制中心的通信连接并关闭无线传输单元;若无法与远程控制中心成功建立通信连接,可采用短信控制模式或电话控制模式与远程控制中心进行通信,发送完毕关闭无线传输单元。若实时水位值未超过报警界限,则将此次采集的水位数据作为历史数据保存至文件系统,随后水位计进入休眠模式,等待下一次唤醒。After obtaining the real-time water level value, judge whether the water level exceeds the limit according to the water level alarm limit. If the real-time water level value exceeds the alarm limit, turn on the wireless transmission unit, establish a communication connection with the remote control center, and send the water level overrun alarm information to the remote control center, disconnect the communication connection with the remote control center after sending, and turn off the wireless transmission unit; if the communication connection with the remote control center cannot be established successfully, the SMS control mode or telephone control mode can be used to communicate with the remote control center, and the wireless transmission unit is turned off after sending. If the real-time water level value does not exceed the alarm limit, the water level data collected this time will be saved to the file system as historical data, and then the water level gauge will enter the sleep mode and wait for the next wake-up.
根据定时上报周期判断是否需要采集上报水位数据。当需要上报时,实时时钟产生相应中断,唤醒处理器,处理器进入正常工作状态。首先,处理器读取上次上报结束至本次上报之间采集并保存的水位数据,开启无线传输单元,与远程控制中心建立通信连接,并将水位数据发送至远程控制中心,发送完毕后断开与远程控制中心的通信连接并关闭无线传输单元;若无法与远程控制中心成功建立通信连接,处理器采用短信控制模式或电话控制模式与远程控制中心进行通信,,发送完毕关闭无线传输单元。上报结束后,关闭无线传输单元,水位计进入休眠模式,等待下一次唤醒。Determine whether to collect and report water level data according to the regular reporting period. When a report is required, the real-time clock generates a corresponding interrupt, wakes up the processor, and the processor enters a normal working state. First, the processor reads the water level data collected and saved between the end of the last report and this report, turns on the wireless transmission unit, establishes a communication connection with the remote control center, and sends the water level data to the remote control center. Open the communication connection with the remote control center and close the wireless transmission unit; if the communication connection cannot be successfully established with the remote control center, the processor uses the SMS control mode or the telephone control mode to communicate with the remote control center, and closes the wireless transmission unit after sending. After the report is over, turn off the wireless transmission unit, and the water level gauge enters the sleep mode, waiting for the next wake-up.
为了提高水位计与远程控制中心通信的灵活性,本发明处理器与远程控制中心的通信除了采用传统的网络模式外,即服务器登录模式交互信息,还包括短信控制模式和电话控制模式。短信控制模式指处理器通过向远程控制中心的手机号码发送短信命令,与远程控制中心进行信息交互;电话控制模式指处理器通过电话呼叫远程控制中心的手机号码,与远程控制中心进行信息交互。In order to improve the flexibility of the communication between the water level gauge and the remote control center, the communication between the processor and the remote control center of the present invention not only adopts the traditional network mode, that is, the server login mode for exchanging information, but also includes the SMS control mode and the telephone control mode. The SMS control mode means that the processor exchanges information with the remote control center by sending SMS commands to the mobile phone number of the remote control center; the phone control mode means that the processor calls the mobile phone number of the remote control center by telephone to exchange information with the remote control center.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013103083389A CN103364046A (en) | 2013-07-22 | 2013-07-22 | Intelligent air interface type water level gauge and water level measurement method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013103083389A CN103364046A (en) | 2013-07-22 | 2013-07-22 | Intelligent air interface type water level gauge and water level measurement method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103364046A true CN103364046A (en) | 2013-10-23 |
Family
ID=49365912
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013103083389A Pending CN103364046A (en) | 2013-07-22 | 2013-07-22 | Intelligent air interface type water level gauge and water level measurement method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103364046A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103616055A (en) * | 2013-11-20 | 2014-03-05 | 成都老肯科技股份有限公司 | Liquid level detection device and method for medical cleaners |
CN103906206A (en) * | 2014-01-26 | 2014-07-02 | 上海挚连科技有限公司 | Sensor network based on event bank triggering reporting |
CN104280094A (en) * | 2014-10-22 | 2015-01-14 | 广东美的生活电器制造有限公司 | Kettle water level detection device, kettle and kettle water level detection method |
CN104296828A (en) * | 2014-09-24 | 2015-01-21 | 昆山腾朗电子有限公司 | Air pressure type liquid level detection device |
CN104596612A (en) * | 2015-01-26 | 2015-05-06 | 中国科学院大气物理研究所 | Method and device for detecting liquid level and liquid capacity |
CN104913828A (en) * | 2015-06-24 | 2015-09-16 | 重庆多邦科技发展有限公司 | Energy-saving method of bubble type fluviograph, bubble type fluviograph and water level monitoring system |
CN105628140A (en) * | 2016-04-11 | 2016-06-01 | 唐山现代工控技术有限公司 | Pressure guide type water level gauge and application method |
CN108168650A (en) * | 2017-12-25 | 2018-06-15 | 重庆多邦科技股份有限公司 | A kind of control method and relevant apparatus based on urban waterlogging bubble type electric water gauge |
CN109323737A (en) * | 2018-09-19 | 2019-02-12 | 宁波市机电工业研究设计院有限公司 | Water level measurement method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101408448A (en) * | 2008-11-21 | 2009-04-15 | 湖南大学 | High-frequency high-precision water-level change meter |
CN101413819A (en) * | 2008-11-18 | 2009-04-22 | 宜昌市亿能科技开发有限责任公司 | Air bubble type water level measurer |
CN101586981A (en) * | 2009-07-10 | 2009-11-25 | 国网电力科学研究院 | Constant-flow bubble type automatic water level measurement device with micro power consumption |
CN102620794A (en) * | 2012-03-27 | 2012-08-01 | 湖北亿立能科技有限公司 | Bubble type water level meter |
-
2013
- 2013-07-22 CN CN2013103083389A patent/CN103364046A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101413819A (en) * | 2008-11-18 | 2009-04-22 | 宜昌市亿能科技开发有限责任公司 | Air bubble type water level measurer |
CN101408448A (en) * | 2008-11-21 | 2009-04-15 | 湖南大学 | High-frequency high-precision water-level change meter |
CN101586981A (en) * | 2009-07-10 | 2009-11-25 | 国网电力科学研究院 | Constant-flow bubble type automatic water level measurement device with micro power consumption |
CN102620794A (en) * | 2012-03-27 | 2012-08-01 | 湖北亿立能科技有限公司 | Bubble type water level meter |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103616055A (en) * | 2013-11-20 | 2014-03-05 | 成都老肯科技股份有限公司 | Liquid level detection device and method for medical cleaners |
CN103906206A (en) * | 2014-01-26 | 2014-07-02 | 上海挚连科技有限公司 | Sensor network based on event bank triggering reporting |
CN104296828A (en) * | 2014-09-24 | 2015-01-21 | 昆山腾朗电子有限公司 | Air pressure type liquid level detection device |
CN104280094A (en) * | 2014-10-22 | 2015-01-14 | 广东美的生活电器制造有限公司 | Kettle water level detection device, kettle and kettle water level detection method |
CN104596612A (en) * | 2015-01-26 | 2015-05-06 | 中国科学院大气物理研究所 | Method and device for detecting liquid level and liquid capacity |
CN104913828A (en) * | 2015-06-24 | 2015-09-16 | 重庆多邦科技发展有限公司 | Energy-saving method of bubble type fluviograph, bubble type fluviograph and water level monitoring system |
CN105628140A (en) * | 2016-04-11 | 2016-06-01 | 唐山现代工控技术有限公司 | Pressure guide type water level gauge and application method |
CN108168650A (en) * | 2017-12-25 | 2018-06-15 | 重庆多邦科技股份有限公司 | A kind of control method and relevant apparatus based on urban waterlogging bubble type electric water gauge |
CN109323737A (en) * | 2018-09-19 | 2019-02-12 | 宁波市机电工业研究设计院有限公司 | Water level measurement method and device |
CN109323737B (en) * | 2018-09-19 | 2020-11-10 | 宁波市机电工业研究设计院有限公司 | Water level measuring method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103364046A (en) | Intelligent air interface type water level gauge and water level measurement method | |
CN111998912B (en) | Integrated full-range inspection well water level monitoring equipment and monitoring method | |
CN104111090B (en) | A kind of drainage pipeline networks multi objective on-Line Monitor Device | |
CN205823267U (en) | Use the integrated oil well indicator diagram measuring device of acceleration transducer | |
CN110243431A (en) | Method, device, equipment and storage medium for monitoring urban waterlogging | |
CN102539054A (en) | Low-power-consumption battery power supply wireless remote transmission sensor | |
CN203337198U (en) | Ultrasonic gas meter | |
CN207675258U (en) | A wireless electronic water gauge | |
CN108387277B (en) | Irrigation area integrated water level flow wireless measurement method and device | |
CN203687927U (en) | High-stability and high-accuracy biaxial inclination remote intelligent monitoring system | |
CN202511819U (en) | Wireless alarm device for repository temperature and humidity monitoring | |
CN100380415C (en) | Data Transmission System Based on Planar Capacitive Electronic Water Level Gauge | |
CN202255554U (en) | Wireless liquid level measurement device | |
CN204330729U (en) | Intelligence tubular type water percentage monitoring device | |
CN201335718Y (en) | Bubble-type water gauge | |
CN101586981A (en) | Constant-flow bubble type automatic water level measurement device with micro power consumption | |
CN110044439B (en) | A multi-parameter remote automatic pumping test recorder and method thereof | |
CN110762393A (en) | Underground pipeline monitoring terminal, system and power supply control method | |
CN209117189U (en) | A kind of heat supply temperature acquisition system based on NB-IOT | |
CN208590122U (en) | A kind of gauge table Internet of Things collector | |
CN202275074U (en) | High accuracy portable water oxygen dissolving meter | |
CN206906184U (en) | Underground water density monitoring device | |
CN205862538U (en) | Flood of a mountain area monitoring and warning system based on gsm communication | |
CN203396429U (en) | Gas meter based on voice frequency metering | |
CN203502047U (en) | Indoor environment monitoring device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20131023 |