CN104132710A - Water level flow sensor, water level flow monitoring system and water level flow monitoring method - Google Patents
Water level flow sensor, water level flow monitoring system and water level flow monitoring method Download PDFInfo
- Publication number
- CN104132710A CN104132710A CN201410295849.6A CN201410295849A CN104132710A CN 104132710 A CN104132710 A CN 104132710A CN 201410295849 A CN201410295849 A CN 201410295849A CN 104132710 A CN104132710 A CN 104132710A
- Authority
- CN
- China
- Prior art keywords
- water level
- circuit
- flow
- flow sensor
- channel
- 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.)
- Granted
Links
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 title claims abstract description 131
- 238000012544 monitoring process Methods 0.000 title claims abstract description 25
- 238000000034 method Methods 0.000 title claims abstract description 13
- 238000001514 detection method Methods 0.000 claims abstract description 19
- 230000005540 biological transmission Effects 0.000 claims abstract description 13
- 239000013078 crystal Substances 0.000 claims description 11
- 230000010355 oscillation Effects 0.000 claims description 7
- 229910001220 stainless steel Inorganic materials 0.000 claims description 7
- 239000010935 stainless steel Substances 0.000 claims description 7
- 239000003822 epoxy resin Substances 0.000 claims description 4
- 229920000647 polyepoxide Polymers 0.000 claims description 4
- 238000007796 conventional method Methods 0.000 claims description 3
- 238000005259 measurement Methods 0.000 description 11
- 230000002262 irrigation Effects 0.000 description 10
- 238000003973 irrigation Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 4
- 239000003990 capacitor Substances 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 230000007797 corrosion Effects 0.000 description 2
- 238000005260 corrosion Methods 0.000 description 2
- 239000004593 Epoxy Substances 0.000 description 1
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 description 1
- 230000032683 aging Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000003628 erosive effect Effects 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 239000003621 irrigation water Substances 0.000 description 1
- 229910052744 lithium Inorganic materials 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000007789 sealing Methods 0.000 description 1
- 238000004062 sedimentation Methods 0.000 description 1
Landscapes
- Measuring Volume Flow (AREA)
Abstract
本发明旨在提供一种可精确快速测量水位流量、使用寿命长、工作稳定的水位流量传感器、水位流量监测系统及水位流量监测方法,该水位流量传感器包括其上设置有多个触点的水位探测杆、与触点连接的多路电压比较电路、与多路电压比较电路对应连接的多路选择电路、接收多路选择电路输出信号的主控电路、与主控电路连接的数据变送输出电路;本水位流量监测系统包括上位机、上述水位流量传感器,水位流量传感器经由RS-232/RS-485转换器与上位机对应连接,其本发明具有耐腐蚀、使用寿命长,可在水体内连续监测渠道中水位流量,并将结果显示在数码管上及上位机中等优点。
The present invention aims to provide a water level and flow sensor, a water level and flow monitoring system and a water level and flow monitoring method that can accurately and quickly measure water level and flow, have a long service life and work stably. The detection rod, the multi-channel voltage comparison circuit connected to the contact, the multiple-channel selection circuit correspondingly connected to the multiple-channel voltage comparison circuit, the main control circuit receiving the output signal of the multi-channel selection circuit, and the data transmission output connected to the main control circuit circuit; the water level flow monitoring system includes a host computer, the above-mentioned water level flow sensor, and the water level flow sensor is connected to the host computer via an RS-232/RS-485 converter. Continuously monitor the water level and flow in the channel, and display the results on the digital tube and the upper computer.
Description
技术领域 technical field
本发明及水位流量监测领域,具体涉及一种用于探测流量的水位流量传感器、水位流量监测系统及水位流量监测方法。 The invention relates to the field of water level and flow monitoring, in particular to a water level and flow sensor for detecting flow, a water level and flow monitoring system and a water level and flow monitoring method. the
背景技术 Background technique
目前,我国是个缺水大国,而农业灌溉用水占我国总用水量的60%以上,因此,对农业实现精确灌溉,以节约农业水资源是农田灌溉的一项十分迫切的要求,同时也是实现可持续发展的重大举措。 At present, my country is a country with a large water shortage, and agricultural irrigation water accounts for more than 60% of my country's total water consumption. Therefore, realizing precise irrigation for agriculture to save agricultural water resources is a very urgent requirement for farmland irrigation. A major move for continued development. the
目前,在灌区常用的量水方法有流速仪量水、水工建筑物量水、特设量水设备量水等,其中流速仪量水主要以流速面积法为主,尽管测量精度高,但价格昂贵,操作麻烦,不便于大面积推广。对于灌溉渠道来说,该方法一般用于水位流量关系的校核率定和控制重要断面的水量监测。利用水工建筑物量水虽然简单易行,但误差较大,加之水工建筑物老化、变形、冲於等原因,测量精度没有保障。利用特设量水设备设施进行量水,设施工程造价高,且渠道水流情况对观测精度影响较大,如泥沙淤积、漂浮物影响等;且水位流量的率定工作量大,不便于实行数字和图形信息自动化传输。因此,我国灌区迫切需要结合灌溉渠道或河道实际情况,研发经济、实用,价格适宜、便于实现数字信息传输的水位流量量测和监测设备。 At present, water measurement methods commonly used in irrigation areas include flow meter water measurement, hydraulic building water measurement, special water measurement equipment water measurement, etc. Among them, flow meter water measurement is mainly based on the flow velocity area method. Although the measurement accuracy is high, the price Expensive, cumbersome to operate, and inconvenient for large-scale promotion. For irrigation channels, this method is generally used for the calibration of water level and flow relationship and the monitoring of water volume in important sections. Although it is simple and easy to use hydraulic structures to measure water, the error is relatively large, and the measurement accuracy is not guaranteed due to the aging, deformation, and erosion of hydraulic structures. Using special water measuring equipment and facilities to measure water, the construction cost of the facilities is high, and the water flow in the channel has a great impact on the observation accuracy, such as sedimentation, floating objects, etc.; and the calibration of the water level and flow is a large workload, which is not easy to implement Automatic transmission of numerical and graphic information. Therefore, my country's irrigation areas urgently need to combine the actual conditions of irrigation channels or rivers to develop economical, practical, affordable water level and flow measurement and monitoring equipment that facilitates digital information transmission. the
发明内容 Contents of the invention
本发明的目的在于克服现有技术的不足,适应现实需要,旨在提供一种可精确快速测量水位流量的、且使用寿命长、工作稳定的水位流量传感器、水位流量监测系统及水位流量监测方法。 The purpose of the present invention is to overcome the deficiencies of the prior art, to meet the needs of reality, and to provide a water level and flow sensor, a water level and flow monitoring system and a water level and flow monitoring method that can accurately and quickly measure the water level and flow, have a long service life and work stably . the
为了实现本发明的目的,本采用的技术方案为: In order to realize the purpose of the present invention, this adopted technical scheme is:
设计一种水位流量传感器,包括水位探测杆,在所述水位探测杆上设置有一定数量的触点,还包括与所述触点对应连接的多路电压比较电路、与所述多路电压比较电路对应连接的多路选择电路、用于接收所述多路选择电路输出信号并输出流量信号的主控电路、用于接收所述主控电路所输出的流量信号、并将流量信号传送至上位机的数据变送输出电路。 A water level flow sensor is designed, comprising a water level detection rod, a certain number of contacts are arranged on the water level detection rod, and a multi-channel voltage comparison circuit correspondingly connected to the contacts, and a comparison circuit with the multi-channel voltage The multiplex circuit connected to the corresponding circuit, the main control circuit for receiving the output signal of the multiplex circuit and outputting the flow signal, for receiving the flow signal output by the main control circuit, and transmitting the flow signal to the upper The data transmission output circuit of the machine.
所述主控电路包括微控芯片、均与所述微控芯片对应连接的时钟电路、复位电路和JTAG接口电路,所述微控芯片为MSP430系列单片机中的任一一种。 The main control circuit includes a micro-control chip, a clock circuit, a reset circuit and a JTAG interface circuit all correspondingly connected to the micro-control chip, and the micro-control chip is any one of MSP430 series single-chip microcomputers. the
所述时钟电路包括低频振荡电路、高频振荡电路,所述低频振荡电路包括10.768KHz~32.768KHz的低频晶体振荡器,所述高频振荡电路包括450KHz~8MHz的高频晶体振荡器;所述多路选择电路包括多路复用器ADG732;所述数据变送输出电路包括与所述微控芯片对应连接的MAX3232芯片、与该MAX3232芯片对应连接的RS-232接口;所述复位电路为R-C复位电路。 The clock circuit includes a low-frequency oscillator circuit and a high-frequency oscillator circuit, the low-frequency oscillator circuit includes a low-frequency crystal oscillator of 10.768KHz to 32.768KHz, and the high-frequency oscillator circuit includes a high-frequency crystal oscillator of 450KHz to 8MHz; The multiplexing circuit includes a multiplexer ADG732; the data transmission output circuit includes a MAX3232 chip correspondingly connected to the microcontroller chip, and an RS-232 interface connected correspondingly to the MAX3232 chip; the reset circuit is an R-C reset circuit. the
所述水位探测杆包括壳体,所述触点沿其轴线方向以0.5~5.0mm等间距距离设置在壳体外表面。 The water level detection rod includes a housing, and the contacts are arranged on the outer surface of the housing at equal intervals of 0.5-5.0 mm along the axis direction. the
所述触点为不锈钢螺钉,该不锈钢螺钉上的螺钉冒设置于所述壳体外表面。 The contacts are stainless steel screws, and the caps on the stainless steel screws are arranged on the outer surface of the housing. the
所述多路电压比较电路、多路选择电路、微控芯片、时钟电路均位于电路板上,所述电路板设置于所述壳体内部空腔中,并由环氧树将其密封。 The multi-channel voltage comparison circuit, the multi-channel selection circuit, the micro-control chip and the clock circuit are all located on the circuit board, and the circuit board is arranged in the inner cavity of the housing and sealed by an epoxy tree. the
该水位流量传感器还包括与所述微控芯片对应连接的并用于显示流量信息的数码显示管组。 The water level flow sensor also includes a digital display tube group correspondingly connected with the micro-control chip and used for displaying flow information. the
一种水位流量监测系统,包括上位机、以上所述的水位流量传感器;所述水位流量传感器经由RS-232/RS-485转换器与所述上位机对应连接。 A water level and flow monitoring system includes a host computer and the above-mentioned water level and flow sensor; the water level and flow sensor is correspondingly connected to the host computer via an RS-232/RS-485 converter. the
一种利用以上所述水位流量监测系统进行水位流量监测的方法,包括如下步骤: A method for monitoring water level and flow using the above-mentioned water level and flow monitoring system, comprising the steps of:
① 将所述水位流量传感器的水位探测杆按常规方法布设于待检测的渠道或河流的对应位置处; ① Arrange the water level detection rod of the water level flow sensor at the corresponding position of the channel or river to be detected according to the conventional method;
② 由水位流量传感器的多路电压比较电路采集不同触点间的电压并与参考电压进行比较,之后将结果输出至多路选择电路中; ② The multi-channel voltage comparison circuit of the water level flow sensor collects the voltage between different contacts and compares it with the reference voltage, and then outputs the result to the multi-channel selection circuit;
③ 多路选择电路将输入的电压信号进行编码并输入至水位流量传感器的主控电路中; ③ The multi-channel selection circuit encodes the input voltage signal and inputs it to the main control circuit of the water level flow sensor;
④ 主控电路将输入至其内的编码信号处理为水深信号R,并将该水深信号R代入下式中计算出待检测渠道或河流对应位置处的流量Q: ④ The main control circuit processes the encoded signal input into it into a water depth signal R, and substitutes the water depth signal R into the following formula to calculate the flow Q at the corresponding position of the channel or river to be detected:
(1); (1);
式(1)中A为渠道过水断面面积;n为渠道糙率;i为渠道纵坡;其中,在水位流量传感器布设位点固定的情况下,渠道过水断面面积A与水深信号R呈对应的函数关系,因而只需测定对应的水深信号,即可获知对应检测点的流量; In formula (1), A is the cross-sectional area of the channel; n is the roughness of the channel; i is the longitudinal slope of the channel; among them, when the water level and flow sensor is fixed at the location, the cross-sectional area A of the channel and the water depth signal R are in the form of The corresponding functional relationship, so only need to measure the corresponding water depth signal, you can know the flow of the corresponding detection point;
⑤ 所述主控电路将所得流量Q经由RS-232/RS-485转换器输出至上位机中、及输出至显示终端显示。 ⑤ The main control circuit outputs the obtained flow Q to the upper computer through the RS-232/RS-485 converter, and outputs it to the display terminal for display.
本发明的有益效果在于: The beneficial effects of the present invention are:
1.本水位流量传感器测量精度高、稳定可靠,通过测得水位探测杆不同触点的电压值,并进行比较,通过微控芯片的分析处理后可将水位流量信息实时显示在显示终端上显示,便于工作人员直观的观察,其次可经由本传感器中的数据变送输出电路将输出信息传输至上位机中。 1. The water level and flow sensor has high measurement accuracy, stability and reliability. By measuring the voltage values of different contacts of the water level detection rod and comparing them, the water level and flow information can be displayed on the display terminal in real time after analysis and processing by the micro-control chip. , which is convenient for the staff to observe intuitively, and secondly, the output information can be transmitted to the host computer through the data transmission output circuit in the sensor.
2.本发明的水位探测杆由不锈钢螺钉作为壳体外部的触点,并由环氧树脂将壳体内部空腔及电路板进行密封,在该传感器进水水中时,首先可可以使得本水位探测杆具有很好的耐腐蚀性、密封性,避免水体对该水位探测杆及其内部的电路造成腐蚀等损坏,增加其使用寿命。 2. The water level detecting rod of the present invention is made of stainless steel screw as the contact outside the housing, and the cavity inside the housing and the circuit board are sealed by epoxy resin. When the sensor enters the water, the water level can be made first The detection rod has good corrosion resistance and sealing performance, which can prevent water body from causing corrosion and other damage to the water level detection rod and its internal circuit, and increase its service life. the
3.本发明流量监测系统在对水体进行流量监测时,不受室外坏境等因素影响,可将流量信号实时输出至室内上位机中,方便快捷的监测流量信息;便于操作人员的实时观察,节省人力、物力等资源;且该系统操作使用维护简便,生产制造成本低,易于推广使用。 3. When the flow monitoring system of the present invention monitors the flow of the water body, it is not affected by factors such as the outdoor environment, and can output the flow signal to the indoor host computer in real time, so as to monitor the flow information conveniently and quickly; it is convenient for the real-time observation of the operator, Resources such as manpower and material resources are saved; and the system is easy to operate, use and maintain, has low manufacturing costs, and is easy to popularize and use. the
4.本发明流量监测系统在输出流量信号的同时,也可将水深R实时的输出至显示终端,以及上位机中,便于操作人员获知相关参数。 4. While outputting the flow signal, the flow monitoring system of the present invention can also output the water depth R to the display terminal and the host computer in real time, so that the operator can know the relevant parameters. the
附图说明 Description of drawings
图1为本发明中水位探测杆主要结构示意图; Fig. 1 is a schematic diagram of the main structure of the water level detection rod in the present invention;
图2为本发明水位流量传感器电路原理示意图; Fig. 2 is a schematic diagram of the circuit principle of the water level flow sensor of the present invention;
图3为本发明中JTAG接口、复位电路、时钟电路及与微控芯片电路连接示意图; Fig. 3 is JTAG interface, reset circuit, clock circuit and connect schematic diagram with micro-control chip circuit among the present invention;
图4为本发明中数据变送输出电路示意图; Fig. 4 is a schematic diagram of a data transmission output circuit in the present invention;
图1中:1.电线;2.电路板;3.触点;4.壳体;5. 环氧树脂。 In Figure 1: 1. Wire; 2. Circuit board; 3. Contact; 4. Shell; 5. Epoxy resin.
具体实施方式 Detailed ways
下面结合附图和实施例对本发明进一步说明: Below in conjunction with accompanying drawing and embodiment the present invention is further described:
实施例1:一种水位流量传感器,参见图1至图4,包括水位探测杆,该水位探测杆包括壳体4,在壳体4外表面沿其轴线方向上以2.0mm等间距距离设置有多个用于与外部电路(电路板2)连接的触点3,触点3为不锈钢螺钉,该不锈钢螺钉上的螺钉冒设置于壳体4外表面,如图1中所示。该水位流量传感器还包括与上述触点3对应连接的多路电压比较电路、与多路电压比较电路对应连接的并用于接收多路电压比较电路输出电压的多路选择电路、用于接收多路选择电路输出信号并输出水位信号的主控电路、用于接收主控电路所输出的流量信号、并将流量信号传送的数据变送输出电路。上述多路选择电路包括多路复用器ADG732。主控电路包括MSP430F149单片机、均与MSP430F149单片机对应连接的时钟电路、复位电路和JTAG接口电路,JTAG接口为MSP430F149单片机的程序下载器,同时JTAG接口也作为MSP430F149单片机的程序调试接口;JTAG接口的1、3、5、7、9、13引脚分别与MSP430F149单片机的TD0、TDI、TMS、TCK、DVss、RST引脚连接;时钟电路包括低频振荡电路、高频振荡电路,低频振荡电路包括32.768KHz的低频晶体振荡器Y2,其与MSP430F149单片机中的XIN、XOUTI/TCLK两引脚对应连接,高频振荡电路包括8MHz的高频晶体振荡器Y1、与该高频晶体振荡器Y1组成串联回路的电容C2、C3,该高频晶体振荡器Y1的两端与MSP430F149单片机中的XT2IN、XT2OUT两引脚对应连接。高频晶体振荡器Y1、低频晶体振荡器Y2为MSP430F149单片机分别提供32.768KHz和8MHz时钟;采用低频晶体振荡器Y2可以满足低功耗的要求,8MHz的高频振荡器Y1,在不用时可以将其关闭,以降低功耗。数据变送输出电路包括与MSP430F149单片机的UTXDO、URXDO引脚连接的MAX3232芯片、与该MAX3232芯片对应连接的RS-232接口;RS-232接口主要用于实现与上位机建立通信连接,将数据实现向上位机的传输。复位电路为R-C复位电路,包括串联的按键S、电阻R1,与按键S、电阻R1并联的电容C1,按键S与电容C1并联后与MSP430F149单片机中的RST引脚对应连接。该水位流量传感器还包括与MSP430F149单片机对应连接的并用于显示水位信息的数码显示管组,通过数码显示管组的显示可将经由该水位流量传感器检测处理的流量信息显示在数码显示管组上,便于直观的观察。上述的多路电压比较电路、多路选择电路、MSP430F149单片机、时钟电路均印刷于电路板2上,并将电路板2设置于壳体4内部空腔中,并由环氧树脂5将其密封,用于防止水进入其内对电路板造成损坏。通过电线1将检测的数据传输出去。其多路电压比较电路采集水位信号后,与参考电压比较,其输出电压(即比较结果)进入多路复用器ADG732的输入通道中,多路复用器ADG732的数据输出通道与MSP430F149单片机对应连接。上述多路复用器ADG732根据其上的5位二进制地址线A0、A1、A2、A3和A4能够编码成32个地址,其多路复用器ADG732上的五位地址选端依次与MSP430F149单片机的P6.3、P6.4、P6.5、P6.6和P6.7引脚相连,这样单片机通过改变这几个IO口(P6.3、P6.4、P6.5、P6.6、P6.7引脚)的输入,就可以改变ADG732的选通地址,将32路输入之一切换至公共输出端。多路复用器ADG732的控制端CS、WR和EN依次与MSP430F149单片机的P3.0、P3.1和P3.2与相连,单片机改变P3.0、P3.1和P3.2引脚的输入就可以改变ADG732的工作状态。 Embodiment 1: A water level flow sensor, referring to Figures 1 to 4, includes a water level detection rod, the water level detection rod includes a housing 4, and the outer surface of the housing 4 along its axis direction is provided with 2.0mm equidistant distances A plurality of contacts 3 for connecting with an external circuit (circuit board 2 ), the contacts 3 are stainless steel screws, and the screw caps on the stainless steel screws are arranged on the outer surface of the housing 4 , as shown in FIG. 1 . The water level flow sensor also includes a multi-way voltage comparison circuit correspondingly connected to the above-mentioned contact 3, a multi-way selection circuit correspondingly connected to the multi-way voltage comparison circuit and used to receive the output voltage of the multi-way voltage comparison circuit, and a multi-way selection circuit for receiving the output voltage of the multi-way voltage comparison circuit. The main control circuit that selects the output signal of the circuit and outputs the water level signal, and the data transmission output circuit that is used to receive the flow signal output by the main control circuit and transmit the flow signal. The above-mentioned multiplexing circuit includes a multiplexer ADG732. The main control circuit includes MSP430F149 single-chip microcomputer, clock circuit, reset circuit and JTAG interface circuit which are all connected with MSP430F149 single-chip microcomputer. , 3, 5, 7, 9, 13 pins are respectively connected with the TD0, TDI, TMS, TCK, DVss, RST pins of the MSP430F149 microcontroller; the clock circuit includes a low-frequency oscillation circuit, a high-frequency oscillation circuit, and a low-frequency oscillation circuit includes 32.768KHz The low-frequency crystal oscillator Y2 is connected to the XIN and XOUTI/TCLK pins of the MSP430F149 microcontroller. The high-frequency oscillator circuit includes an 8MHz high-frequency crystal oscillator Y1, which forms a series circuit with the high-frequency crystal oscillator Y1. Capacitors C2 and C3, the two ends of the high-frequency crystal oscillator Y1 are correspondingly connected with the XT2IN and XT2OUT pins of the MSP430F149 microcontroller. The high-frequency crystal oscillator Y1 and the low-frequency crystal oscillator Y2 provide 32.768KHz and 8MHz clocks for the MSP430F149 microcontroller respectively; the low-frequency crystal oscillator Y2 can meet the requirements of low power consumption, and the 8MHz high-frequency oscillator Y1 can be used when not in use. It is turned off to reduce power consumption. The data transmission output circuit includes the MAX3232 chip connected to the UTXDO and URXDO pins of the MSP430F149 microcontroller, and the RS-232 interface connected to the MAX3232 chip; the RS-232 interface is mainly used to establish a communication connection with the host computer, and realize the data Transmission to host computer. The reset circuit is an R-C reset circuit, including a key S in series, a resistor R1, and a capacitor C1 connected in parallel with the key S and resistor R1. The key S and the capacitor C1 are connected in parallel to the RST pin in the MSP430F149 microcontroller. The water level flow sensor also includes a digital display tube group correspondingly connected with the MSP430F149 microcontroller and used for displaying water level information. Through the display of the digital display tube group, the flow information detected and processed by the water level flow sensor can be displayed on the digital display tube group. It is convenient for intuitive observation. The above-mentioned multi-channel voltage comparison circuit, multi-channel selection circuit, MSP430F149 single-chip microcomputer, and clock circuit are all printed on the circuit board 2, and the circuit board 2 is arranged in the inner cavity of the housing 4, and it is sealed by epoxy resin 5 , used to prevent water from entering it and causing damage to the circuit board. The detected data is transmitted through the wire 1. After its multi-channel voltage comparison circuit collects the water level signal, it compares with the reference voltage, and its output voltage (that is, the comparison result) enters the input channel of the multiplexer ADG732, and the data output channel of the multiplexer ADG732 corresponds to the MSP430F149 microcontroller connect. The above-mentioned multiplexer ADG732 can be encoded into 32 addresses according to the 5-bit binary address lines A0, A1, A2, A3 and A4 on it, and the five-bit address selection terminals on the multiplexer ADG732 are sequentially connected with the MSP430F149 microcontroller The P6.3, P6.4, P6.5, P6.6 and P6.7 pins are connected, so that the MCU can change these IO ports (P6.3, P6.4, P6.5, P6.6, P6.7 pin) input, you can change the strobe address of the ADG732, and switch one of the 32 inputs to the common output. The control terminals CS, WR and EN of the multiplexer ADG732 are connected to P3.0, P3.1 and P3.2 of the MSP430F149 microcontroller in turn, and the microcontroller changes the input of P3.0, P3.1 and P3.2 pins You can change the working state of ADG732.
本发明还涉及一种水位流量监测系统,包括上位机、以上所述的水位流量传感器;该水位流量传感器经由RS-232/RS-485转换器与上位机对应通信连接。 The present invention also relates to a water level and flow monitoring system, which includes a host computer and the above-mentioned water level and flow sensor; the water level and flow sensor is correspondingly connected to the host computer via an RS-232/RS-485 converter. the
本发明还涉及一种利用以上所述水位流量监测系统进行水位流量监测的方法,包括如下步骤: The present invention also relates to a method for monitoring water level and flow using the above-mentioned water level and flow monitoring system, comprising the following steps:
① 将所述水位流量传感器的水位探测杆按常规方法布设于待检测的渠道或河流的对应位置处; ① Arrange the water level detection rod of the water level flow sensor at the corresponding position of the channel or river to be detected according to the conventional method;
② 由水位流量传感器的多路电压比较电路采集不同触点间的电压并与参考电压进行比较,之后将结果输出至多路选择电路中; ② The multi-channel voltage comparison circuit of the water level flow sensor collects the voltage between different contacts and compares it with the reference voltage, and then outputs the result to the multi-channel selection circuit;
③ 多路选择电路将输入的电压信号进行编码并输入至由水位流量传感器的主控电路中; ③ The multi-channel selection circuit encodes the input voltage signal and inputs it to the main control circuit of the water level flow sensor;
④ 主控电路将输入至其内的编码信号处理为水深信号R,并将该水深信号R代入下式中计算出待检测渠道或河流对应位置处的流量Q: ④ The main control circuit processes the encoded signal input into it into a water depth signal R, and substitutes the water depth signal R into the following formula to calculate the flow Q at the corresponding position of the channel or river to be detected:
(1) (1)
式(1)并计算出其流量Q;试中A为渠道过水断面面积;n为渠道糙率;i为渠道纵坡;其中,在水位流量传感器布设位点固定的情况下,渠道过水断面面积A与水深信号R呈对应的函数关系,因而只需测定对应的水深信号,即可获知对应检测点的流量; Formula (1) and calculate its flow Q; in the test, A is the cross-sectional area of the channel; n is the roughness of the channel; The cross-sectional area A has a corresponding functional relationship with the water depth signal R, so the flow rate at the corresponding detection point can be known only by measuring the corresponding water depth signal;
⑤ 所述主控电路将所得流量Q经由RS-232/RS-485转换器输出至上位机中、及输出至数码管组(显示终端)上显示。 ⑤ The main control circuit outputs the obtained flow Q to the upper computer through the RS-232/RS-485 converter, and outputs it to the digital tube group (display terminal) for display.
所述式(1)包括由如下步骤得到: Described formula (1) comprises and obtains by following steps:
(1)确定渠道的渠道糙率n、过水断面面积A、渠道纵坡i。 (1) Determine the channel roughness n, cross-sectional area A, and longitudinal slope i of the channel.
(2)将渠道过水断面面积A、水深R代入均匀流公式(2)中: (2) Substitute the cross-sectional area A and water depth R of the channel into the uniform flow formula (2):
(2), (2),
其中C为谢才系数; Among them, C is the talent coefficient;
(3)将曼宁公式代入均匀流公式(2)中,即可得到: (3) Substituting the Manning formula into the uniform flow formula (2), we can get:
。 .
从该式可以看出,在渠道断面形状、尺寸、纵坡及糙率确定后,渠道中水流流量仅仅是水深R的函数。故只要能测到渠道中的水深R,就可计算出渠道中水流流量。假定渠道为圆形管道,其横截面为圆形,在该圆形管道确定后其形状、尺寸、纵坡及糙率均能确定,其过水断面面积,其中D为该圆形管道直径,为充满角;且,从该式可看出,在该圆形管道确定后其D可直接得出,水深可由本水位流量传感器测得,故该式中的充满角便可得出,故过水断面面积便可得出;因此流量Q便可得出。再如假定渠道横截面为矩形,其上下宽为d,高为L,A=d(L-R);由该式可得出在该矩形渠道确定后其上下宽、高均可确定,故其A仅是R的函数,故只需测得水深R便可得出过水断面面积A,故中只需只需测得水深R便可得出Q的大小。 It can be seen from this formula that after the shape, size, longitudinal slope and roughness of the channel section are determined, the water flow in the channel is only a function of the water depth R. Therefore, as long as the water depth R in the channel can be measured, the water flow in the channel can be calculated. Assume that the channel is a circular pipe with a circular cross-section. After the circular pipe is determined, its shape, size, longitudinal slope and roughness can be determined. , where D is the diameter of the circular pipe, is full angle; and , it can be seen from this formula that after the circular pipe is determined, its D can be directly obtained, and the water depth can be measured by the water level flow sensor, so the formula full angle in It can be concluded that the cross-sectional area of water can be obtained; therefore, the flow rate Q can be obtained. Another example is assuming that the cross-section of the channel is rectangular, its upper and lower width is d, and its height is L, A=d(LR); from this formula, it can be concluded that after the rectangular channel is determined, its upper and lower width and height can be determined, so its A It is only a function of R, so it is only necessary to measure the water depth R to obtain the cross-sectional area A of the water, so The size of Q can be obtained only by measuring the water depth R.
本发明的本水位流量传感器、水位流量监测系统、及与两者相结合的水位流量检测方法具有如下优点: The water level and flow sensor, the water level and flow monitoring system of the present invention, and the water level and flow detection method combined with the two have the following advantages:
①本水位流量传感器只需要3.3VDC的锂电池进行供电即可,功耗低。 ①The water level flow sensor only needs 3.3VDC lithium battery for power supply, and the power consumption is low.
②在使用时,本水位流量传感器从非活动状态转入低功耗模式休眠状态的电流只有0.7μA。 ②When in use, the current of the water level flow sensor from the inactive state to the low power mode sleep state is only 0.7μA. the
③本水位流量传感器当外部中断时,从休眠状态进入活动状态只需要6μS。 ③ When the water level flow sensor is interrupted externally, it only takes 6 μS to enter the active state from the dormant state. the
本发明选取黄河下游河南省人民胜利渠灌区东干渠为试验点,该渠道采用混凝土衬砌。将本发明与流速仪(流速仪为目前流速检测相对准确的一种仪器)观测的流量实测值进行对比,试验数据及其误差分析见表1。 The present invention selects the East Main Canal of the People's Shengli Canal Irrigation Area in Henan Province in the lower reaches of the Yellow River as a test point, and the canal is lined with concrete. The present invention is compared with the measured flow rate observed by the flow meter (the flow meter is a relatively accurate instrument for detecting flow velocity at present), and the test data and error analysis thereof are shown in Table 1. the
表1 流量监测对比 Table 1 Flow Monitoring Comparison
由上表观测结果可知,本发明的流量测量值与流速仪观测的流量实测值相比,最大相对误差在2.89%,本发明完全可以满足水文规范要求,符合水文观测规范精度要求。同时,为实现我国农田灌溉渠道水位流量观测自动化和数字信息与图形自动传输提供技术支持,为灌区实现科学化精细灌溉,实现节约用水,提高科学管理水平提供条件。 From the observation results in the above table, it can be seen that the maximum relative error between the flow measurement value of the present invention and the actual flow measurement value observed by the current meter is 2.89%. At the same time, it provides technical support for realizing the automation of water level and flow observation of farmland irrigation channels in my country and the automatic transmission of digital information and graphics, and provides conditions for realizing scientific and precise irrigation in irrigation areas, realizing water conservation, and improving the level of scientific management.
最后指出,本实施例公布的是较佳的实施例,但并不局限于此,本领域的普通技术人员,极易根据上述实施例,做出不同的引申和变化,但只要不脱离本发明的精神,都在本发明的保护范围内。 Finally, it is pointed out that this embodiment discloses a preferred embodiment, but it is not limited thereto. Those skilled in the art can easily make different extensions and changes based on the above embodiments, but as long as they do not depart from the present invention spirit, all within the protection scope of the present invention. the
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410295849.6A CN104132710B (en) | 2014-06-27 | 2014-06-27 | Stage-discharge sensor, stage-discharge monitoring system and stage-discharge monitoring method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410295849.6A CN104132710B (en) | 2014-06-27 | 2014-06-27 | Stage-discharge sensor, stage-discharge monitoring system and stage-discharge monitoring method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104132710A true CN104132710A (en) | 2014-11-05 |
CN104132710B CN104132710B (en) | 2018-05-18 |
Family
ID=51805481
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410295849.6A Expired - Fee Related CN104132710B (en) | 2014-06-27 | 2014-06-27 | Stage-discharge sensor, stage-discharge monitoring system and stage-discharge monitoring method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104132710B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104535134A (en) * | 2014-12-29 | 2015-04-22 | 太原理工大学 | Millimeter-level digital type water level sensor detecting method |
CN108460483A (en) * | 2018-02-09 | 2018-08-28 | 中国水利水电科学研究院 | A kind of quantitative inversion method of natural river course flow |
CN109781045A (en) * | 2019-01-28 | 2019-05-21 | 江阴众和电力仪表有限公司 | A kind of LPS Linear displacement transducer probing shell and its processing technology |
CN110567548A (en) * | 2019-10-11 | 2019-12-13 | 安徽恒泰电气科技股份有限公司 | Mining intelligent liquid level sensor |
CN111486923A (en) * | 2020-05-26 | 2020-08-04 | 四川艾贝斯科技发展有限公司 | Sectional type water level monitoring device and low-power-consumption water level monitoring method |
CN111878712A (en) * | 2020-07-07 | 2020-11-03 | 恒天益科技(深圳)有限公司 | Method and system for monitoring uniform flow of pipe network |
CN111985164A (en) * | 2020-07-10 | 2020-11-24 | 江苏省海洋资源开发研究院(连云港) | River flow prediction method based on fluid power and piecewise Manning formula |
CN113029254A (en) * | 2021-04-20 | 2021-06-25 | 河海大学 | Measuring device and measuring method for depth and flow of water in pipeline |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3911744A (en) * | 1974-04-10 | 1975-10-14 | Liquidometer Corp | Liquid level gauging apparatus |
JPS5984121A (en) * | 1982-11-05 | 1984-05-15 | Unyusho Kowan Gijutsu Kenkyusho | Water contact signal processing type stepwise crest measuring device |
CN1831493A (en) * | 2006-04-10 | 2006-09-13 | 中国科学院电工研究所 | Liquid nitrogen level measuring device for high voltage superconducting power equipment |
CN2852066Y (en) * | 2005-11-04 | 2006-12-27 | 栾继军 | Ultrasonic Doppler open channel flowmeter |
CN101464481A (en) * | 2008-12-31 | 2009-06-24 | 中国海洋大学 | Resistivity monitoring method and apparatus for sea floor erosion/deposition dynamic process |
CN201517936U (en) * | 2009-09-17 | 2010-06-30 | 中国船舶重工集团公司第七一九研究所 | Time division multiplex multi-channel electric contact liquid level detection circuit |
US20120035880A1 (en) * | 2003-03-31 | 2012-02-09 | Al-Misfer Adel S | Measurement of molten sulfur level in receptacles |
CN202420602U (en) * | 2012-01-13 | 2012-09-05 | 武汉世纪水元科技股份有限公司 | Water level automatic measuring device |
CN204007787U (en) * | 2014-06-27 | 2014-12-10 | 华北水利水电大学 | Stage-discharge sensor and stage-discharge monitoring system |
-
2014
- 2014-06-27 CN CN201410295849.6A patent/CN104132710B/en not_active Expired - Fee Related
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3911744A (en) * | 1974-04-10 | 1975-10-14 | Liquidometer Corp | Liquid level gauging apparatus |
JPS5984121A (en) * | 1982-11-05 | 1984-05-15 | Unyusho Kowan Gijutsu Kenkyusho | Water contact signal processing type stepwise crest measuring device |
US20120035880A1 (en) * | 2003-03-31 | 2012-02-09 | Al-Misfer Adel S | Measurement of molten sulfur level in receptacles |
CN2852066Y (en) * | 2005-11-04 | 2006-12-27 | 栾继军 | Ultrasonic Doppler open channel flowmeter |
CN1831493A (en) * | 2006-04-10 | 2006-09-13 | 中国科学院电工研究所 | Liquid nitrogen level measuring device for high voltage superconducting power equipment |
CN101464481A (en) * | 2008-12-31 | 2009-06-24 | 中国海洋大学 | Resistivity monitoring method and apparatus for sea floor erosion/deposition dynamic process |
CN201517936U (en) * | 2009-09-17 | 2010-06-30 | 中国船舶重工集团公司第七一九研究所 | Time division multiplex multi-channel electric contact liquid level detection circuit |
CN202420602U (en) * | 2012-01-13 | 2012-09-05 | 武汉世纪水元科技股份有限公司 | Water level automatic measuring device |
CN204007787U (en) * | 2014-06-27 | 2014-12-10 | 华北水利水电大学 | Stage-discharge sensor and stage-discharge monitoring system |
Non-Patent Citations (2)
Title |
---|
王艳菊等: "基于电容式传感器的储液智能化测量系统", 《微计算机信息》 * |
韩宇平等: "北运河河流生态需水分段法研究", 《华北水利水电大学学报(自然科学版)》 * |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104535134B (en) * | 2014-12-29 | 2017-10-20 | 太原理工大学 | A kind of grade digital water level sensor detecting method |
CN104535134A (en) * | 2014-12-29 | 2015-04-22 | 太原理工大学 | Millimeter-level digital type water level sensor detecting method |
CN108460483B (en) * | 2018-02-09 | 2021-03-12 | 中国水利水电科学研究院 | Quantitative inversion method for natural river flow |
CN108460483A (en) * | 2018-02-09 | 2018-08-28 | 中国水利水电科学研究院 | A kind of quantitative inversion method of natural river course flow |
CN109781045A (en) * | 2019-01-28 | 2019-05-21 | 江阴众和电力仪表有限公司 | A kind of LPS Linear displacement transducer probing shell and its processing technology |
CN110567548A (en) * | 2019-10-11 | 2019-12-13 | 安徽恒泰电气科技股份有限公司 | Mining intelligent liquid level sensor |
CN110567548B (en) * | 2019-10-11 | 2024-04-30 | 安徽恒泰电气科技股份有限公司 | Mining intelligent liquid level sensor |
CN111486923A (en) * | 2020-05-26 | 2020-08-04 | 四川艾贝斯科技发展有限公司 | Sectional type water level monitoring device and low-power-consumption water level monitoring method |
CN111878712A (en) * | 2020-07-07 | 2020-11-03 | 恒天益科技(深圳)有限公司 | Method and system for monitoring uniform flow of pipe network |
CN111985164A (en) * | 2020-07-10 | 2020-11-24 | 江苏省海洋资源开发研究院(连云港) | River flow prediction method based on fluid power and piecewise Manning formula |
CN111985164B (en) * | 2020-07-10 | 2024-06-18 | 江苏省海洋资源开发研究院(连云港) | River flow prediction method based on hydrodynamic force and sectional Manning formula |
CN113029254A (en) * | 2021-04-20 | 2021-06-25 | 河海大学 | Measuring device and measuring method for depth and flow of water in pipeline |
CN113029254B (en) * | 2021-04-20 | 2023-03-14 | 河海大学 | Method for measuring depth and flow of pipeline inflow water |
Also Published As
Publication number | Publication date |
---|---|
CN104132710B (en) | 2018-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104132710B (en) | Stage-discharge sensor, stage-discharge monitoring system and stage-discharge monitoring method | |
CN205940620U (en) | Water pollution monitoring early warning system | |
CN206523504U (en) | A kind of soil temperature and humidity detection sampling integrated instrument | |
CN203587176U (en) | Laser water level sensor | |
CN203443642U (en) | Inclination angle sensing type smart storage tank liquid level detection device | |
CN101315361A (en) | Detection system and method based on wireless network salinity and temperature | |
CN207528277U (en) | Plug-in type ultrasonic flowmeter and Flow Measuring System | |
CN206553631U (en) | A kind of high-accuracy multifunctional pipeline cathode protection parameter detecting instrument | |
CN207816967U (en) | A kind of intelligence soil water potential analyzer | |
CN204228658U (en) | A kind of water quality of river monitoring device | |
CN103412043A (en) | Device and method for measuring wireless receiving and sending ultrasonic brine baume degree, evaporation capacity and liquid level | |
CN204007787U (en) | Stage-discharge sensor and stage-discharge monitoring system | |
CN205785332U (en) | Integration remote measurement paddy field moisture water-level instrumentation | |
CN201819712U (en) | Gas ultrasonic flow metering unit based on DSP (Digital Signal Processor) | |
CN202092803U (en) | Ultrasonic heat meter provided with empty tube detector | |
CN201387354Y (en) | Novel radio frequency admittance sectional type liquid level meter | |
CN104614015A (en) | Portable field environment data comprehensive acquisition and analysis system | |
CN204389429U (en) | The much higher function soil sensor of a kind of precision | |
CN204788568U (en) | Water level measurement device | |
CN203385495U (en) | Multipath temperature testing system | |
CN102590894B (en) | Automatic observation system for runoff experimental station | |
CN106525909A (en) | Intelligent water quality detector | |
CN206756936U (en) | Electrodeless formula conductivity detector for salt water area | |
CN205301360U (en) | Measurement system more than one minute based on acoustics doppler velocity of flow section plotter | |
CN204269165U (en) | A kind of flow measuring instrument |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180518 Termination date: 20190627 |