Hydrological monitoring system and method based on ONENET Internet of things platform

文档序号:1735036 发布日期:2019-12-20 浏览:31次 中文

阅读说明:本技术 一种基于onenet物联网平台的水文监测系统及方法 (Hydrological monitoring system and method based on ONENET Internet of things platform ) 是由 柯跃前 于 2019-07-29 设计创作,主要内容包括:本发明涉及一种基于ONENET物联网平台的水文监测系统及方法。所述系统包括水文监测监测装置和ONENET物联网平台,所述水文监测监测装置包括STM32单片机及与该STM32单片机连接的液位变送器水位采集模块、用于在本地端显示水位监测数据的显示模块、用于实现STM32单片机与ONENET物联网平台通信的ESP8266模块,所述水文监测监测装置还包括用于为液位变送器水位采集模块供电的24V电源模块、用于为STM32单片机供电的5V电源模块。本发明具有成本低、功耗低、可靠性强、更方便组网的特点;能够监测到水位实时变化情况,对偏僻危险区域的水文监测的监测人员安全也能够得到保障,同时,监测系统还可以及时对水位变化情况采取快速的预警通知。(The invention relates to a hydrological monitoring system and method based on an ONENET Internet of things platform. The system includes hydrology monitoring devices and ONENET thing networking platform, hydrology monitoring devices include STM32 singlechip and the liquid level transmitter water level collection module who is connected with this STM32 singlechip, be used for showing the display module of water level monitoring data, be used for realizing the ESP8266 module of STM32 singlechip and ONENET thing networking platform communication at local end, hydrology monitoring devices still including be used for the 24V power module of liquid level transmitter water level collection module power supply, be used for the 5V power module for the power supply of STM32 singlechip. The invention has the characteristics of low cost, low power consumption, strong reliability and more convenient networking; the water level real-time change condition can be monitored, the safety of monitoring personnel for hydrologic monitoring of remote dangerous areas can be guaranteed, and meanwhile, the monitoring system can also timely take quick early warning notification for the water level change condition.)

1. The utility model provides a hydrology monitoring system based on ONENET thing networking platform, a serial communication port, including hydrology monitoring devices and ONENET thing networking platform, hydrology monitoring devices includes the STM32 singlechip and the liquid level changer water level acquisition module who is connected with this STM32 singlechip, is used for at the display module of local end demonstration water level monitoring data, is used for realizing the ESP8266 module of STM32 singlechip and ONENET thing networking platform communication, hydrology monitoring devices still including be used for the 24V power module of the power supply of liquid level changer water level acquisition module, be used for the 5V power module for the power supply of STM32 singlechip.

2. The hydrological monitoring system based on the ONENET Internet of things platform as claimed in claim 1, wherein the liquid level transmitter water level acquisition module adopts an HH-T20J model input type static pressure water level sensor as a water level sensing detection element.

3. The hydrological monitoring system based on the ONENET Internet of things platform as claimed in claim 2, wherein the input type static pressure water level sensor of model HH-T20J is placed in a measuring water pipe.

4. The hydrological monitoring system based on the ONENET Internet of things platform as claimed in claim 1, wherein the display module adopts an LCD12864 display screen.

5. The hydrological monitoring system based on the ONENET Internet of things platform as claimed in claim 1, further comprising a mobile phone and a PC which are in communication with the ONENET Internet of things platform.

6. A hydrological monitoring method of a hydrological monitoring system based on an ONENET Internet of things platform is based on any one of claims 1 to 5, and is characterized by comprising the following steps:

s1, building a hydrological monitoring and monitoring device, connecting an STM32 single chip microcomputer with a liquid level transmitter water level acquisition module, a display module and an ESP8266 module, connecting the liquid level transmitter water level acquisition module with a 24V power module, and then placing an input type static pressure water level sensor of the liquid level transmitter water level acquisition module in a measuring water pipe;

s2, starting a power supply and debugging a system to realize communication between the STM32 single chip microcomputer and an ONENET Internet of things platform;

step S3, liquid level transmitter water level collection module gathers water level data and transmits for STM32 singlechip and handles, and the depth value and the voltage size that liquid level transmitter water level collection module measured are:

wherein, U is the voltage size, unit: mV; h is depth;

and S4, the STM32 singlechip transmits the data to the ONENET Internet of things platform through an ESP8266 module, and the data are broadcasted to the mobile phone and the PC by the ONENET Internet of things platform.

Technical Field

The invention belongs to the field of hydrological devices, and particularly relates to a hydrological monitoring system and method based on an ONENET Internet of things platform, wherein an ESP8266 module and the ONENET Internet of things platform are applied to realize river water level monitoring.

Background

As is well known, water conservancy and hydrology are very important information resources for a region or a country, and a hydrological monitoring technology is responsible for processing the water conservancy and hydrological information, and the technology is a systematic technology set and mainly relates to a computer technology, a sensor technology, a communication technology and the like, and after the information is acquired and processed, the important information of the water conservancy and hydrological information can be correctly reflected. In recent years, natural disasters frequently occur, and monitoring and forecasting become an effective disaster prevention and reduction measure. Flood disasters caused by typhoons and earthquakes bring huge economic and mental losses to countries and people, and the problem of scientific harm reduction is urgent. By predicting the change of the river water level in advance and giving an early warning, the loss of flood disasters to the country and people can be reduced to a great extent, and a scientific and effective river water level alarm system is very necessary. The hydrologic monitoring technology can use the latest technology to achieve scientific disaster reduction. The prior hydrological monitoring technology in China is still in a relatively laggard state, laggard equipment is still used for monitoring hydrological information in rivers, lakes and reservoirs in many areas, traditional manual acquisition of hydrological information is also used in more places, and the methods can not meet the requirements of people at present. The backward data acquisition mode can not only accurately acquire hydrological information, but also can not comprehensively and effectively deal with sudden natural disasters to realize real-time monitoring and acquisition. In foreign countries, the development of hydrological monitoring technology is still advanced, the detection technology is mature due to the long research time, the research in the aspect of the United states is particularly prominent, the development of wireless network technology is combined with the hydrological detection technology, so that the hydrological detection mode is more flexible and changeable, and the detection range is greatly expanded.

There are related patent applications for hydrological monitoring: an open system (201810846789.0) for hydrological water resource monitoring, a channel fixed-point hydrological monitoring interaction system (201821492659.3), a hydrological monitoring station (201010296195.0), an irrigation monitoring system (201721848975.5) based on an Oneet platform, patent application 1, 2, 3, 4 or scheme is high in cost or not in the hydrological field or considering communication stability problem or high power consumption or complex networking, therefore, the application provides a hydrological monitoring system and method based on an ONENET Internet of things platform aiming at the defects of the existing scheme, an ESP8266 module is connected with the ONENET Internet of things platform, the real-time water level change condition can be monitored, the safety of monitoring personnel for hydrological monitoring in remote dangerous areas can be guaranteed, meanwhile, the monitoring system can timely adopt quick early warning notification on the water level change condition, and is low in cost, low in power consumption and high in reliability, And the networking is more convenient. The application in the aspect of water level monitoring can greatly improve the real-time performance, continuity and precision of a water level monitoring system. The design of the system has a positive promoting effect on the development of hydrological monitoring technology in the future, plays a role in quickly early warning the occurrence of natural disasters, and provides valuable escape time for people in a disaster area.

Disclosure of Invention

The invention aims to provide a hydrological monitoring system and method based on an ONENET Internet of things platform, which have the characteristics of low cost, low power consumption, strong reliability and more convenient networking, can monitor the real-time change condition of the water level, can also ensure the safety of monitoring personnel for hydrological monitoring in remote dangerous areas, and can also adopt quick early warning notification to the change condition of the water level in time

In order to achieve the purpose, the technical scheme of the invention is as follows: the utility model provides a hydrology monitoring system based on ONENET thing networking platform, includes hydrology monitoring devices and ONENET thing networking platform, hydrology monitoring devices include STM32 singlechip and the liquid level changer water level acquisition module who is connected with this STM32 singlechip, be used for at the display module of local end demonstration water level monitoring data, be used for realizing the ESP8266 module of STM32 singlechip and ONENET thing networking platform communication, hydrology monitoring devices still including be used for 24V power module, the 5V power module that is used for supplying power for the liquid level changer water level acquisition module power supply for STM32 singlechip.

In an embodiment of the invention, the liquid level acquisition module of the liquid level transmitter adopts an HH-T20J model input type static pressure water level sensor as a water level sensing detection element.

In one embodiment of the invention, the HH-T20J type drop-in static pressure water level sensor is placed in the measuring water pipe.

In an embodiment of the present invention, the display module employs an LCD12864 display screen.

In an embodiment of the invention, the system further comprises a mobile phone and a PC which are communicated with the ONENET Internet of things platform.

The invention also provides a hydrological monitoring method based on the hydrological monitoring system based on the ONENET Internet of things platform, which comprises the following steps:

s1, building a hydrological monitoring and monitoring device, connecting an STM32 single chip microcomputer with a liquid level transmitter water level acquisition module, a display module and an ESP8266 module, connecting the liquid level transmitter water level acquisition module with a 24V power module, and then placing an input type static pressure water level sensor of the liquid level transmitter water level acquisition module in a measuring water pipe;

s2, starting a power supply and debugging a system to realize communication between the STM32 single chip microcomputer and an ONENET Internet of things platform;

step S3, liquid level transmitter water level collection module gathers water level data and transmits for STM32 singlechip and handles, and the depth value and the voltage size that liquid level transmitter water level collection module measured are:

wherein, U is the voltage size, unit: mV; h is depth;

and S4, the STM32 singlechip transmits the data to the ONENET Internet of things platform through an ESP8266 module, and the data are broadcasted to the mobile phone and the PC by the ONENET Internet of things platform.

Compared with the prior art, the invention has the following beneficial effects: the hydrological monitoring system has the characteristics of low cost, low power consumption, strong reliability and more convenience in networking, can monitor the real-time water level change condition, can also guarantee the safety of monitoring personnel for hydrological monitoring in remote dangerous areas, and can also adopt quick early warning notification to the water level change condition in time.

Drawings

Fig. 1 is a schematic diagram of the architecture of the hydrological monitoring system based on the ONENET internet of things platform.

Fig. 2 is a connection schematic diagram of the hydrological monitoring system based on the ONENET internet of things platform.

FIG. 3 is a monitoring interface of the system of the present invention.

FIG. 4 is a line graph of measured data for the system of the present invention.

FIG. 5 is a circuit schematic diagram of the STM32 single chip microcomputer minimum system.

Fig. 6 is a schematic circuit diagram of an ESP8266 module of the present invention.

FIG. 7 is a schematic diagram of a display module circuit according to the present invention.

Fig. 8 is a schematic circuit diagram of a power module according to the present invention.

Fig. 9 is a schematic diagram of a wiring circuit of the drop-in type static pressure water level sensor of the present invention.

Detailed Description

The technical scheme of the invention is specifically explained below with reference to the accompanying drawings.

The invention provides a hydrological monitoring system based on an ONENET Internet of things platform, which comprises a hydrological monitoring device and an ONENET Internet of things platform, wherein the hydrological monitoring device comprises an STM32 single chip microcomputer, a liquid level transmitter water level acquisition module connected with the STM32 single chip microcomputer, a display module (adopting an LCD12864 display screen) for displaying water level monitoring data at a local end, an ESP8266 module for realizing communication between the STM32 single chip microcomputer and the ONENET Internet of things platform, a 24V power supply module for supplying power to the liquid level transmitter water level acquisition module, and a 5V power supply module for supplying power to the STM32 single chip microcomputer (as shown in figure 8). The liquid level transmitter water level acquisition module adopts an HH-T20J model input type static pressure water level sensor as a water level sensing detection element. The HH-T20J type throw-in static pressure water level sensor is arranged in the measuring water pipe. The system also comprises a mobile phone and a PC which are communicated with the ONENET Internet of things platform.

The invention also provides a hydrological monitoring method based on the hydrological monitoring system based on the ONENET Internet of things platform, which comprises the following steps:

s1, building a hydrological monitoring and monitoring device, connecting an STM32 single chip microcomputer with a liquid level transmitter water level acquisition module, a display module and an ESP8266 module, connecting the liquid level transmitter water level acquisition module with a 24V power module, and then placing an input type static pressure water level sensor of the liquid level transmitter water level acquisition module in a measuring water pipe;

s2, starting a power supply and debugging a system to realize communication between the STM32 single chip microcomputer and an ONENET Internet of things platform;

step S3, liquid level transmitter water level collection module gathers water level data and transmits for STM32 singlechip and handles, and the depth value and the voltage size that liquid level transmitter water level collection module measured are:

wherein, U is the voltage size, unit: mV; h is depth;

and S4, the STM32 singlechip transmits the data to the ONENET Internet of things platform through an ESP8266 module, and the data are broadcasted to the mobile phone and the PC by the ONENET Internet of things platform.

The following is a specific example of the present invention.

As shown in fig. 1 and 2, the embodiment designs a set of river water level monitoring system based on an STM32 single chip microcomputer and an ESP8266 module, and combines a networking platform to realize the functions of real-time acquisition, timing report, abnormal alarm and the like of the river water level; including hydrology monitoring devices and ONENET thing networking platform, hydrology monitoring devices includes STM32 singlechip and the liquid level transmitter water level collection module who is connected with this STM32 singlechip, is used for showing the display module of water level monitoring data at local end (adopt LCD12864 display screen, as shown in figure 7), is used for realizing the ESP8266 module of STM32 singlechip and ONENET thing networking platform communication, hydrology monitoring devices still including being used for the 24V power module of the power supply of liquid level transmitter water level collection module, being used for the 5V power module for the power supply of STM32 singlechip. The main realization functions are as follows:

the data acquisition of different water level changes can be realized.

The outdoor power supply is suitable, and the system stability is guaranteed.

The change of the collected data is checked in real time through computer or mobile phone software.

The real-time early warning of abnormal data needs to be accurate and effective.

The internet of things platform can generate a line graph to facilitate data analysis.

The hydrological monitoring system of the present example employs the following components:

1. STM32 single chip microcomputer

The single chip microcomputer chip adopts STM32 series single chip microcomputer designed by ST company as the control core of the whole system, adopts Cortex-M3 specially designed for high-performance, low-cost and low-power consumption system as hardware architecture, and official provides graphic bottom library generation software STM32Cube MX, thereby greatly reducing software development difficulty and having good compatibility with KEIL programming software. After comprehensive analysis, STM32F103RCT6 was selected as the monolithic chip of the present design (as shown in FIG. 5).

2. Water level acquisition module of liquid level transmitter

An HH-T20J type drop-in static pressure water level sensor (i.e., drop-in level transmitter, shown as a water level sensor interface diagram in FIG. 9) is used as the water level sensing element. The force-sensitive chip with high precision and high stability of an imported stainless steel isolation diaphragm is adopted, a stainless steel shell is welded in a fully-sealed mode through reasonable and precise structural design and thick film technology temperature compensation, signal amplification and V/I conversion, a sensor back pressure cavity is connected with the atmosphere through a waterproof cable with a ventilation conduit, and therefore 4-20mA or 0-10 mA signals of industrial standards are output, and the performance is stable and reliable. The input transducer is based on the principle that the static pressure of the measured liquid is in direct proportion to the height of the liquid, adopts the piezoresistive effect of a diffused silicon or ceramic sensitive element to convert the static pressure into an electric signal, and converts the electric signal into a 4-20mADC standard current signal to output after temperature compensation and linear correction. After comprehensive analysis, the HH-T20J level transmitter was selected as the measurement sensor of the present design.

3. ESP8266 module

The communication module adopts an ESP8266 series module, has the advantages of low price, low power consumption, complete TCP/IP stack and microcontroller functions, large working temperature range of the ESP8266 series module, strong stability, capability of being used in various environments, support of connection with an ONENET Internet of things platform, and accordance with design requirements, and the ESP8266 series module is selected as a designed wireless communication module (as shown in figure 6) after comprehensive analysis.

4. Internet of things platform selection

The ONENET serves as an open cloud platform of the Internet of things, intelligent hardware development tools are rich in types, platform services are reliable, and the ONENET can help various terminal devices to quickly access a network and complete integrated service processes such as data transmission, data storage and data management. ONENET can provide three communication modes: ethernet communications, GPRS data traffic communications, and Wi-Fi wireless communications. And after comprehensive analysis, selecting an ONENET Internet of things platform as the cloud platform designed at this time.

The main hardware design of the river water level monitor is formed by an STM32F103RCT6 singlechip, an ESP8266 wireless module, an ONENET Internet of things platform, an LCD12864 display screen and the like. The design block diagram and the system composition are shown in fig. 1 and fig. 2. And (3) applying Windows monitoring software and developing a database based on the VC # platform. The data source is provided by an ONENET Internet of things platform, the API interface of the ONENET platform is accessed, and the data uploaded to the ONENET platform is downloaded to Windows monitoring software through the Internet, so that the real-time data can be quickly checked, and the monitoring efficiency is improved. Windows monitoring software design, as shown in FIG. 3 monitoring interface.

The water level depth and the voltage can be found by a plurality of times of experimental results of the hydrological monitoring device of the embodiment of the invention and approach to the linear relation shown in figure 4, and the working principle of the liquid level transmitter can be known, and the depth value and the voltage measured by the liquid level transmitter used in the experiment are approximate to:

wherein, U is the voltage size, unit: mV; h is depth, unit: cm.

The above are preferred embodiments of the present invention, and all changes made according to the technical scheme of the present invention that produce functional effects do not exceed the scope of the technical scheme of the present invention belong to the protection scope of the present invention.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:用于车辆的监测液体储罐的液位的设备及方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类