CN108932829B - Water meter data acquisition method based on LoRa low-power-consumption wireless communication technology - Google Patents
Water meter data acquisition method based on LoRa low-power-consumption wireless communication technology Download PDFInfo
- Publication number
- CN108932829B CN108932829B CN201811003561.1A CN201811003561A CN108932829B CN 108932829 B CN108932829 B CN 108932829B CN 201811003561 A CN201811003561 A CN 201811003561A CN 108932829 B CN108932829 B CN 108932829B
- Authority
- CN
- China
- Prior art keywords
- wireless
- concentrator
- water meter
- wireless communication
- data message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to a water meter data acquisition method based on a LoRa low-power consumption wireless communication technology, which comprises more than one water meter with a wireless communication function, more than one concentrator and a master station system. The water meter adopts a random active reporting working mode, the wireless state is in an open state during reporting, the wireless state is in a closed state at other time, the external wireless interference is avoided, and the low power consumption is ensured. The method comprises the logic of water meter network access, normal transmission and network access again after transmission failure. When all water meters are in network access, uniform wireless parameters are used, the batch production setting is facilitated, the wireless parameters of each adjacent concentrator are inconsistent after the water meters are in network access, and the wireless communication below the adjacent concentrators is guaranteed not to interfere with each other.
Description
Technical Field
The invention relates to the field of battery testing, in particular to a water meter data acquisition method based on a LoRa low-power-consumption wireless communication technology.
Background
With the rapid development of national economy in China, the living standard of people is increasingly improved, the complete set rate and commercialization of residences are continuously expanded, and electricity, water and gas become an essential part in life. The resident has higher and higher requirements on the aspects of the residential surrounding environment, the management quality of the property department, the service level of the public utilities and the like. Meanwhile, the privacy right of residents is more and more emphasized, and the traditional utility service mode (manual meter reading mode) is not suitable for the development of the society increasingly obviously.
The application of the centralized meter reading technology is new, the wired meter reading technology adopts industrial buses such as RS-485, MBus and the like, complex wiring engineering is needed, and water department, gas companies and the like are more and more prone to meter reading by adopting the low-power consumption wireless communication technology along with the development of the wireless technology.
Disclosure of Invention
In view of this, the present invention provides a water meter data acquisition method based on a LoRa low-power wireless communication technology, which can realize automatic low-power meter reading.
The invention is realized by adopting the following scheme: a water meter data acquisition method based on LoRa low-power consumption wireless communication technology comprises more than one water meter with wireless communication function, more than one concentrator and a master station system, and comprises the following steps:
step S1: the concentrator acquires wireless parameters from a master station system;
step S2: the concentrator uses the default wireless parameters and the wireless parameters acquired from the system to simultaneously detect the wireless data;
step S3: the water meter with the wireless communication function is actively awakened at random time;
step S4: the wakened water meter detects whether a wireless parameter message sent by the concentrator is received, if so, the step S5 is carried out, otherwise, the step S6 is carried out;
step S5: the water meter reports a data message to the concentrator by using the wireless parameters sent by the concentrator, and the step S7 is carried out;
step S6: the water meter reports a data message to the concentrator by using default wireless parameters, and the step S7 is carried out;
step S7: the concentrator judges whether the received data message uses the wireless parameters sent by the concentrator or the default wireless parameters, if the data message uses the wireless parameters sent by the concentrator, the step S8 is executed, and if the data message uses the default wireless parameters, the step S9 is executed;
step S8: the concentrator stores the received data message, issues a common message to the water meter which sends the data message, and goes to step S10;
step S9: the concentrator stores the received data message, issues the wireless parameter message acquired from the master station system to the water meter which sends the data message, and goes to step S10;
step S10: if the water meter receives the common message sent by the concentrator, the wireless function is closed, and the step S3 is returned to wait for the next random awakening; if the water meter receives the wireless parameter message sent by the concentrator, the wireless parameter message is stored, the wireless function is closed, and the step S3 is returned to wait for the next random awakening; if the water meter does not receive the response message of the concentrator within the preset time, the step S11 is performed;
step S11: if the water meter previously adopts the default wireless parameters to send the data message to the concentrator, the wireless function is closed, and the step S3 is returned to wait for the next random awakening; if the water meter previously sends the data message to the concentrator by adopting the wireless parameters sent by the concentrator, the local wireless parameters are cleared, and the step S4 is returned.
Further, in step S1, the master station system controls the wireless parameters obtained by the adjacent concentrators to be inconsistent.
Further, the wireless communication function is realized by adopting an LoRa wireless communication module.
Furthermore, one concentrator corresponds to N water meters with wireless communication functions respectively.
The invention can prolong the service life of the wireless water meter powered by the battery to more than 6 years, improve the capacity of the wireless water meter in a unit cell, reduce the wireless transmission conflict probability and improve the success rate of data acquisition. The water meter adopts a random active reporting working mode, the wireless state is in an open state during reporting, the wireless state is in a closed state at other time, the external wireless interference is avoided, and the low power consumption is ensured. The method comprises the logic of water logging-in, normal transmission and re-networking after transmission failure. When all water meters are in network access, uniform wireless parameters are used, the batch production setting is facilitated, the wireless parameters of each adjacent concentrator are inconsistent after the water meters are in network access, and the wireless communication below the adjacent concentrators is guaranteed not to interfere with each other.
Compared with the prior art, the invention has the following beneficial effects: the invention adopts the low-power-consumption LoRa wireless transmission module, and can effectively reduce the power consumption. Meanwhile, through the matching of the master station system, the concentrator and the wireless water meter, the probability of transmission conflict can be reduced, and the success rate of data acquisition is improved.
Drawings
FIG. 1 is a schematic diagram of the system of the present invention.
Detailed Description
The invention is further explained below with reference to the drawings and the embodiments.
It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the disclosure. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments according to the present application. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, and it should be understood that when the terms "comprises" and/or "comprising" are used in this specification, they specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof, unless the context clearly indicates otherwise.
As shown in fig. 1, the present embodiment provides a water meter data acquisition method based on a LoRa low-power wireless communication technology, including more than one water meter with a wireless communication function, more than one concentrator, and a master station system, including the following steps:
step S1: the concentrator acquires wireless parameters from a master station system;
step S2: the concentrator uses the default wireless parameters and the wireless parameters acquired from the system to simultaneously detect the wireless data;
step S3: the water meter with the wireless communication function is actively awakened at random time;
step S4: the wakened water meter detects whether a wireless parameter message sent by the concentrator is received, if so, the step S5 is carried out, otherwise, the step S6 is carried out;
step S5: the water meter reports a data message to the concentrator by using the wireless parameters sent by the concentrator, and the step S7 is carried out;
step S6: the water meter reports a data message to the concentrator by using default wireless parameters, and the step S7 is carried out;
step S7: the concentrator judges whether the received data message uses the wireless parameters sent by the concentrator or the default wireless parameters, if the data message uses the wireless parameters sent by the concentrator, the step S8 is executed, and if the data message uses the default wireless parameters, the step S9 is executed;
step S8: the concentrator stores the received data message, issues a common message to the water meter which sends the data message, and goes to step S10;
step S9: the concentrator stores the received data message, issues the wireless parameter message acquired from the master station system to the water meter which sends the data message, and goes to step S10;
step S10: if the water meter receives the common message sent by the concentrator, the wireless function is closed, and the step S3 is returned to wait for the next random awakening; if the water meter receives the wireless parameter message sent by the concentrator, the wireless parameter message is stored, the wireless function is closed, and the step S3 is returned to wait for the next random awakening; if the water meter does not receive the response message of the concentrator within the preset time, the step S11 is performed;
step S11: if the water meter previously adopts the default wireless parameters to send the data message to the concentrator, the wireless function is closed, and the step S3 is returned to wait for the next random awakening; if the water meter previously sends the data message to the concentrator by adopting the wireless parameters sent by the concentrator, the local wireless parameters are cleared, and the step S4 is returned.
In this embodiment, in step S1, the master station system controls the wireless parameters obtained by the adjacent concentrators to be inconsistent.
In this embodiment, the wireless communication function is implemented by using an LoRa wireless communication module.
In this embodiment, one of the concentrators corresponds to each of the N water meters with the wireless communication function.
The embodiment meets the requirement that the wireless water meter powered by the battery reaches the service life of more than 6 years, can improve the capacity of the wireless water meter in a unit cell, reduces the wireless transmission conflict probability and improves the success rate of data acquisition. The water meter adopts a random active reporting working mode, the wireless state is in an open state during reporting, the wireless state is in a closed state at other time, the external wireless interference is avoided, and the low power consumption is ensured. The method of the embodiment comprises the logic of network access by water meter, normal transmission and network access again after transmission failure. When all water meters are in network access, uniform wireless parameters are used, the batch production setting is facilitated, the wireless parameters of each adjacent concentrator are inconsistent after the water meters are in network access, and the wireless communication below the adjacent concentrators is guaranteed not to interfere with each other.
The above description is only a preferred embodiment of the present invention, and all equivalent changes and modifications made in accordance with the claims of the present invention should be covered by the present invention.
Claims (3)
1. A water meter data acquisition method based on a LoRa low-power consumption wireless communication technology is characterized in that: the system comprises more than one water meter with wireless communication function, more than one concentrator and a master station system, and comprises the following steps:
step S1: the concentrator acquires wireless parameters from a master station system;
step S2: the concentrator uses the default wireless parameters and the wireless parameters acquired from the system to simultaneously detect the wireless data;
step S3: the water meter with the wireless communication function is actively awakened at random time;
step S4: the wakened water meter detects whether a wireless parameter message sent by the concentrator is received, if so, the step S5 is carried out, otherwise, the step S6 is carried out;
step S5: the water meter reports a data message to the concentrator by using the wireless parameters sent by the concentrator, and the step S7 is carried out;
step S6: the water meter reports a data message to the concentrator by using default wireless parameters, and the step S7 is carried out;
step S7: the concentrator judges whether the received data message uses the wireless parameters sent by the concentrator or the default wireless parameters, if the data message uses the wireless parameters sent by the concentrator, the step S8 is executed, and if the data message uses the default wireless parameters, the step S9 is executed;
step S8: the concentrator stores the received data message, issues a common message to the water meter which sends the data message, and goes to step S10;
step S9: the concentrator stores the received data message, issues the wireless parameter message acquired from the master station system to the water meter which sends the data message, and goes to step S10;
step S10: if the water meter receives the common message sent by the concentrator, the wireless function is closed, and the step S3 is returned to wait for the next random awakening; if the water meter receives the wireless parameter message sent by the concentrator, the wireless parameter message is stored, the wireless function is closed, and the step S3 is returned to wait for the next random awakening; if the water meter does not receive the response message of the concentrator within the preset time, the step S11 is performed;
step S11: if the water meter previously adopts the default wireless parameters to send the data message to the concentrator, the wireless function is closed, and the step S3 is returned to wait for the next random awakening; if the water meter previously sends the data message to the concentrator by adopting the wireless parameters sent by the concentrator, the local wireless parameters are removed, and the step S4 is returned;
in step S1, the master station system controls the wireless parameters obtained by the adjacent concentrators to be inconsistent.
2. The water meter data acquisition method based on the LoRa low-power consumption wireless communication technology as claimed in claim 1, characterized in that: the wireless communication function is realized by adopting a LoRa wireless communication module.
3. The water meter data acquisition method based on the LoRa low-power consumption wireless communication technology as claimed in claim 1, characterized in that: one concentrator corresponds to N water meters with wireless communication functions respectively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811003561.1A CN108932829B (en) | 2018-08-30 | 2018-08-30 | Water meter data acquisition method based on LoRa low-power-consumption wireless communication technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811003561.1A CN108932829B (en) | 2018-08-30 | 2018-08-30 | Water meter data acquisition method based on LoRa low-power-consumption wireless communication technology |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108932829A CN108932829A (en) | 2018-12-04 |
CN108932829B true CN108932829B (en) | 2020-12-29 |
Family
ID=64443706
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811003561.1A Active CN108932829B (en) | 2018-08-30 | 2018-08-30 | Water meter data acquisition method based on LoRa low-power-consumption wireless communication technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108932829B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110312299B (en) | 2019-07-11 | 2022-07-22 | 京东方科技集团股份有限公司 | Communication system, gateway, terminal and communication method based on LoRa technology |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102426771A (en) * | 2011-12-08 | 2012-04-25 | 大连海事大学 | Ship engine-room monitoring system |
CN102883312A (en) * | 2012-11-06 | 2013-01-16 | 彩虹奥特姆(湖北)光电有限公司 | Method, node, host and system for organizing network automatically |
CN103152803A (en) * | 2013-03-04 | 2013-06-12 | 山东大学 | Fixed network structure-based ultra-lightweight wireless communication protocol |
CN105208638A (en) * | 2015-08-27 | 2015-12-30 | 重庆甲虫网络科技有限公司 | Communication method of wireless sensor network |
CN106900042A (en) * | 2017-03-24 | 2017-06-27 | 浙江理工大学 | A kind of sensor node of tree-shaped sensor network MANET |
CN207367353U (en) * | 2017-07-27 | 2018-05-15 | 江苏中科君达物联网股份有限公司 | One kind is based on LoRa technology intelligent wireless teletransmission valve control water meters |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201215064A (en) * | 2010-06-17 | 2012-04-01 | Interdigital Patent Holdings | Application layer protocol support for sleeping nodes in constrained networks |
WO2012031389A1 (en) * | 2010-09-08 | 2012-03-15 | Nokia Corporation | Random access channel design in machine type communications |
CN102905354B (en) * | 2012-09-06 | 2014-10-29 | 东南大学 | Synchronization method for low-power-consumption wireless meter reading system |
CN103021154B (en) * | 2012-12-26 | 2014-08-06 | 西南大学 | Wireless meter reading system based on Ad Hoc |
US9883482B2 (en) * | 2015-03-05 | 2018-01-30 | Telefonaktiebolaget Lm Ericsson (Publ) | Signaling of core network restart to wireless devices |
CN105430768A (en) * | 2016-01-20 | 2016-03-23 | 刘圣德 | Wireless communication Ad-Hoc Network-based intelligent agricultural system |
CN108260186B (en) * | 2016-12-29 | 2023-06-20 | 中兴通讯股份有限公司 | Network access method, device and system |
-
2018
- 2018-08-30 CN CN201811003561.1A patent/CN108932829B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102426771A (en) * | 2011-12-08 | 2012-04-25 | 大连海事大学 | Ship engine-room monitoring system |
CN102883312A (en) * | 2012-11-06 | 2013-01-16 | 彩虹奥特姆(湖北)光电有限公司 | Method, node, host and system for organizing network automatically |
CN103152803A (en) * | 2013-03-04 | 2013-06-12 | 山东大学 | Fixed network structure-based ultra-lightweight wireless communication protocol |
CN105208638A (en) * | 2015-08-27 | 2015-12-30 | 重庆甲虫网络科技有限公司 | Communication method of wireless sensor network |
CN106900042A (en) * | 2017-03-24 | 2017-06-27 | 浙江理工大学 | A kind of sensor node of tree-shaped sensor network MANET |
CN207367353U (en) * | 2017-07-27 | 2018-05-15 | 江苏中科君达物联网股份有限公司 | One kind is based on LoRa technology intelligent wireless teletransmission valve control water meters |
Also Published As
Publication number | Publication date |
---|---|
CN108932829A (en) | 2018-12-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Wei et al. | Design of energy consumption monitoring and energy-saving management system of intelligent building based on the Internet of things | |
CN110034785A (en) | The method that power-off fault quickly positions is realized based on power line carrier communication | |
CN204992153U (en) | Multi -functional smart jack based on wi -Fi | |
CN103269070A (en) | Automatic demand response system and automatic demand response method | |
CN102592424A (en) | Wireless meter reading communication system | |
CN101894448A (en) | Remote centralized meter-reading system | |
CN207764339U (en) | A kind of overhead type fault locator based on NB-IOT communications | |
CN105092961A (en) | Ammeter system using mobile terminal for positioning | |
CN108932829B (en) | Water meter data acquisition method based on LoRa low-power-consumption wireless communication technology | |
Jianyun et al. | RETRACTED: Research on Application of Automatic Weather Station Based on Internet of Things | |
CN106413058B (en) | Wireless low-power transmission module applied to TMS drain valve wireless detection system | |
CN103378604A (en) | Smart micro-grid | |
CN107124691A (en) | A kind of WiFi intelligent cut-in methods of low-power consumption bluetooth auxiliary | |
CN209433545U (en) | A kind of remote electric power metering system based on LoRa technology | |
CN203490825U (en) | Energy consumption monitoring system based on GPRS (general packet radio service) and ZIGBEE technology | |
CN207455845U (en) | Controller based on LoRa wireless technologys | |
CN207556572U (en) | Environmental monitoring system | |
CN113793044B (en) | Energy consumption management system of wisdom garden | |
CN206786988U (en) | Air conditioner intelligent management system based on energy internet | |
CN210377831U (en) | Dual-mode four-meter acquisition system based on micropower wireless and power line carrier | |
CN111641209B (en) | Distributed photovoltaic module working mode switching method and system based on 5G communication | |
CN213043692U (en) | Intelligent energy gateway supporting multi-terminal self-adaptive access | |
CN106879144A (en) | A kind of intelligent controller for road lamp | |
Sun et al. | Smart home system design and implementation based on OneM2M | |
CN201805452U (en) | Wireless unvarnished transmission device based on wireless network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |