CN211857721U - A wireless centralized meter reading system based on Lora communication - Google Patents
A wireless centralized meter reading system based on Lora communication Download PDFInfo
- Publication number
- CN211857721U CN211857721U CN202020768164.XU CN202020768164U CN211857721U CN 211857721 U CN211857721 U CN 211857721U CN 202020768164 U CN202020768164 U CN 202020768164U CN 211857721 U CN211857721 U CN 211857721U
- Authority
- CN
- China
- Prior art keywords
- module
- meter reading
- lora
- communication
- system based
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
一种基于Lora通信的无线集中抄表系统,包括,用于人机交互用的终端设备;中继处理器模块,其具有用于与终端设备通讯连接所设的GPRS模块;抄表模块,其具有安装有电动阀以控制水路通断所设的水表,中继处理器模块与抄表模块均具有用于相互之间进行远距通讯传输所设的LoRa模块、若干通信接口、用于抄表信息存储所设的存储模块、用于发送抄表数据期间记录数据发送时间所设的时钟模块和用于给予中继处理器模块及抄表模块电力所设的电源模块;采用抗干扰能力强、通信距离远的LoRa通信技术,使空间、其他信号等干扰对水表的通信造成的影响很小,在相同环境下,更容易满足用户的需求,使整个抄表过程更加简单,进而提高了抄收的成功率。
A wireless centralized meter reading system based on Lora communication, including terminal equipment for human-computer interaction; a relay processor module, which has a GPRS module for communicating with the terminal equipment; It has a water meter installed with an electric valve to control the on-off of the water circuit. Both the relay processor module and the meter reading module have a LoRa module for long-distance communication transmission between each other, and several communication interfaces for meter reading. The storage module for information storage, the clock module for recording the data sending time during the transmission of meter reading data, and the power supply module for supplying power to the relay processor module and the meter reading module; The LoRa communication technology with long communication distance makes the interference of space and other signals have little impact on the communication of the water meter. Under the same environment, it is easier to meet the needs of users, making the whole meter reading process simpler, thereby improving the reading efficiency. Success rate.
Description
技术领域technical field
本实用新型属于无线集中抄表领域,尤其是涉及基于Lora通信的无线集中抄表系统。The utility model belongs to the field of wireless centralized meter reading, in particular to a wireless centralized meter reading system based on Lora communication.
背景技术Background technique
目前随着城镇居民的增多,水表数量也快速增长。于是本文设计一种基于Lora通信的无线集中抄表系统方案,系统中对传统的用户水表进行改进,在工作站和中继器以及水表之间建立通信网络,采用Lora和GPRS进行通信,支持水表休眠/唤醒、阀门开关、报警监测等功能,具有传输距离远、低功耗等诸多优点。At present, with the increase of urban residents, the number of water meters is also growing rapidly. Therefore, this paper designs a wireless centralized meter reading system scheme based on Lora communication. The traditional user water meter is improved in the system, a communication network is established between the workstation, the repeater and the water meter, and Lora and GPRS are used for communication to support the water meter sleep. / Wake-up, valve switch, alarm monitoring and other functions, with many advantages such as long transmission distance and low power consumption.
发明内容SUMMARY OF THE INVENTION
本实用新型要解决的技术问题是针对现有技术的不足,提供了一种基于Lora通信的无线集中抄表系统。The technical problem to be solved by the utility model is to provide a wireless centralized meter reading system based on Lora communication, aiming at the deficiencies of the prior art.
本实用新型要解决的技术问题是通过以下技术方案来实现的,包括,The technical problem to be solved by this utility model is realized through the following technical solutions, including:
用于人机交互用的终端设备;Terminal equipment for human-computer interaction;
中继处理器模块,其具有用于与终端设备通讯连接所设的GPRS模块;A relay processor module, which has a GPRS module for communicating with the terminal device;
抄表模块,其具有安装有电动阀以控制水路通断所设的水表。The meter reading module has a water meter installed with an electric valve to control the on-off of the water circuit.
中继处理器模块与抄表模块均具有用于相互之间进行远距通讯传输所设的LoRa模块、若干通信接口、用于抄表信息存储所设的存储模块、用于发送抄表数据期间记录数据发送时间所设的时钟模块和用于给予中继处理器模块及抄表模块电力所设的电源模块;Both the relay processor module and the meter reading module have a LoRa module for long-distance communication transmission between each other, several communication interfaces, a storage module for meter reading information storage, and a period for sending meter reading data. A clock module for recording data transmission time and a power supply module for supplying power to the relay processor module and the meter reading module;
终端设备通过中继处理器模块与抄表模块实现远距数据通讯。The terminal equipment realizes long-distance data communication through the relay processor module and the meter reading module.
本实用新型要解决的技术问题还可以通过以下技术方案来实现的,以上所述的一种基于Lora通信的无线集中抄表系统,终端设备采用微电脑。The technical problem to be solved by the present invention can also be achieved by the following technical solutions. In the above-mentioned wireless centralized meter reading system based on Lora communication, the terminal device adopts a microcomputer.
本实用新型要解决的技术问题还可以通过以下技术方案来实现的,以上所述的一种基于Lora通信的无线集中抄表系统,GPRS模块采用SIM800C。The technical problem to be solved by the present utility model can also be realized by the following technical solutions. In the above-mentioned wireless centralized meter reading system based on Lora communication, the GPRS module adopts SIM800C.
本实用新型要解决的技术问题还可以通过以下技术方案来实现的,以上所述的一种基于Lora通信的无线集中抄表系统,LoRa模块采用SX1278通信模块。The technical problem to be solved by the present utility model can also be realized by the following technical solutions. In the above-mentioned wireless centralized meter reading system based on LoRa communication, the LoRa module adopts SX1278 communication module.
本实用新型要解决的技术问题还可以通过以下技术方案来实现的,以上所述的一种基于Lora通信的无线集中抄表系统,抄表模块采用STM8L152M8微控制器。The technical problem to be solved by the present utility model can also be realized by the following technical solutions. In the above-mentioned wireless centralized meter reading system based on Lora communication, the meter reading module adopts STM8L152M8 microcontroller.
本实用新型要解决的技术问题还可以通过以下技术方案来实现的,以上所述的一种基于Lora通信的无线集中抄表系统,时钟模块采用CMOS实时时钟日历芯片PCF8563。The technical problem to be solved by the present invention can also be achieved by the following technical solutions. In the above-mentioned wireless centralized meter reading system based on Lora communication, the clock module adopts the CMOS real-time clock calendar chip PCF8563.
与现有技术相比,本实用新型的有益技术效果是:采用抗干扰能力强、通信距离远的LoRa通信技术,使空间、其他信号等干扰对水表的通信造成的影响很小,在相同环境下,更容易满足用户的需求,由于Lora技术的特点,可以使水表在不同天气、温度较高/较低的环境等保持稳定的信号传输和通信距离,使整个抄表过程更加简单,进而提高了抄收的成功率。Compared with the prior art, the beneficial technical effect of the present utility model is: the use of LoRa communication technology with strong anti-interference ability and long communication distance makes the influence of interference such as space and other signals on the communication of the water meter very small, and in the same environment. It is easier to meet the needs of users. Due to the characteristics of Lora technology, the water meter can maintain a stable signal transmission and communication distance in different weather, high/low temperature environments, etc., making the entire meter reading process simpler and improving. The success rate of copying.
附图说明Description of drawings
图1为本实用新型数据传输的逻辑框图;Fig. 1 is the logical block diagram of the data transmission of the present utility model;
图2为本实用新型JTAG接口电路原理图。FIG. 2 is a schematic diagram of the JTAG interface circuit of the utility model.
具体实施方式Detailed ways
以下参照附图,进一步描述本发明的具体技术方案,以便于本领域的技术人员进一步地理解本发明,而不构成对其权利的限制。The specific technical solutions of the present invention are further described below with reference to the accompanying drawings, so as to facilitate those skilled in the art to further understand the present invention, but not to limit the rights thereof.
实施例1,参照图1—2,一种基于Lora通信的无线集中抄表系统,包括,
用于人机交互用的终端设备1;
中继处理器模块2,其具有用于与终端设备1通讯连接所设的GPRS模块;The
抄表模块3,其具有安装有电动阀以控制水路通断所设的水表。The
中继处理器模块2与抄表模块3均具有用于相互之间进行远距通讯传输所设的LoRa模块、若干通信接口、用于抄表信息存储所设的存储模块、用于发送抄表数据期间记录数据发送时间所设的时钟模块和用于给予中继处理器模块2及抄表模块3电力所设的电源模块;The
终端设备1通过中继处理器模块2与抄表模块3实现远距数据通讯。The
其中,中继处理器模块2外接电源是12V直流电源,中继处理器模块2中GPRS模块使用4V电源,其他模块均使用3.3V电源,因此需要降压处理给中继处理器模块2中的各模块供电,故本文使用TI公司的DC-DC电源稳压芯片TPS54331将12V转化为3.3V和4V,通过稳压芯片构成的稳压电路非常简单且其使用方法也均为现有手段故此处不再赘述稳压芯片所构成的稳压电路具体连接接线图;Among them, the external power supply of the
其中,抄表模块3具有用于单片机程序下载所设的JTAG接口,该设置用于抄表模块3与外围设备之间的调试,图2为JTAG接口电路原理图,TRST为异步复位控制线;TDI为测试数据输入;TMS为测试模式选择,用来设置JTAG处于哪一种测试模式;TCK为测试时钟输入;TDO为测试数据输出;Among them, the
水表的阀门通过电动阀实现阀门的开关,抄表模块3检测用户用水状态,中继处理器模块2接收指令可随时通过LoRa模块与抄表模块3讯号连接从而控制电动阀实现水表阀门的开关,电动阀的控制使用为现有技术故此处不再赘述有关电动阀的控制方法及其原理。The valve of the water meter realizes the opening and closing of the valve through the electric valve, the
实施例2,实施例1所述的一种基于Lora通信的无线集中抄表系统,终端设备1采用微电脑。
实施例3,实施例2所述的一种基于Lora通信的无线集中抄表系统,GPRS模块采用SIM800C。
其中,GPRS负责中继处理器模块2和微电脑之间的通信,是中继处理器模块2中重要的一部分,因此需要选择一个高可靠性,易开发,低成本的GPRS模块,本设计中采用SIM800C作为GPRS模块,GPRS模块及其外围电路该模块供电电压3.4V~4.4V,工作的频段为:GSM850、EGSM900、DCS1800和PCS1900,其中GSM850、EGSM900频段发射功率为2W,DCS1800和PCS1900频段发射功率为1W,此模块在通用GPRS 模块的基础上内置TCP/IP协议,用户在在开发时和使用时只需要MCU通过串口向SIM800C发送特定的AT命令,即可轻松对模块进行设置,模块在接收AT指令后自动完成 GPRS和Internet的连接以及传输数据,开发过程非常简单,故此处不再赘述有关现有技术中程序的开发原理;SIM800C内部主要由闪存、射频模块和基带模块组成,外部接口主要由串口、LCD接口、声音接口、SIM卡接口、键盘接口、电源接口和天线接口组成,闪存主要用来存储用户通信录、设备配置和短信等其他信息。射频模块主要进行信号的调制解调,将射频信号转换为基带模块能够处理的信息,基带模块主要处理语音数据信号,由于GPRS模块在中继处理器模块2中的特殊应用,其外部接口中LCD接口、声音接口和键盘接口没有连接设备,其余的接口中,串口和STM32的串口模块连接,主要用来发送接收AT指令。Among them, GPRS is responsible for the communication between the
实施例4,实施例3所述的一种基于Lora通信的无线集中抄表系统,LoRa模块采用SX1278通信模块。
本申请使用SX1278 LoRa通信模块来传输中继处理器模块2和抄表模块3的指令,SX1278是由SEMTECH公司生产的低功耗半双工远距离收发器,其采用LoRa扩频调制解调技术,使得其传输距离远远超出使用FSK或OOK调制方式的无线收发系统,当传输速率较快时,使用LoRa调制技术比FSK高出8dB的灵敏度,收发器灵敏度超过-148dBm,比FSK调制方式高出20dB以上,除此外,LoRa在选择性和阻塞性能方面具有的显著优势可以进一步提高通信可靠性,同时,SX1278的软件配置具有很大的灵活性,用户可通过编程来自己决定扩频调制带宽(BW)、扩频因子(SF)和纠错率(CR)。SX1278带宽范围为7.8~500kHz,扩频因子为6~12,频段范围为137~525MHz,这里天线频率选用433MHz,由于扩频调制的每个扩频因子均呈正交分布,多个传输信号占用同一信道互相不会造成干扰,并且与基于FSK调制技术的系统能够共存,此外,SX1278还支持标准的GFSK,FSK,OOK及GMSK调制模式,因而能够与现有的M-BUS和IEEE 802.15.4g等系统或标准兼容,主要应用于无线抄表、家庭和楼宇自动化、无线警报和安防系统、工业监视、远程灌溉系统,其为现有技术中各个领域的常规使用故此处不再赘述其具体实现原理及其方法。This application uses the SX1278 LoRa communication module to transmit the instructions of the
实施例5,实施例4所述的一种基于Lora通信的无线集中抄表系统,抄表模块3采用STM8L152M8微控制器。
其中,抄表模块3硬件部分使用低功耗意法半导体生产的微控制器STM8L152M8作为控制核心,STM8L152M8是基于8位STM8内核,采用了专有的超低漏电流工艺,在最低功耗模式下实现了0.3μA的电流,其主要特点:(1)超低功耗:本设计采用STM8L系列的MCU,主要优势在于其超低功耗,具体体现在以下几个方面:1、采用等待模式、低功耗运行模式、低功耗等待模式、主动停止模式、停止模式5种低功耗模式,不同的场合可以选择不同的模式,以达到性能与功耗的平衡,在采用内部低速时钟时,低功耗模式下最大消耗电流350μA,最低消耗电流0.35μA,50nA超低I/O口漏电流,动态功耗192μA/MHz,2、具有四种不同时钟源:1-16MHz告诉外部晶振(HSE)、16MHz高速内部振荡器(HSI)、32.768低速外部晶振(LSE)、38kHz低速内部振荡器(LSI),在数字电路中,时钟的速度越快,系统的功耗就越高,处理不同的任务其速度要求也不会相同,紧急的任务需要高速时钟,而等待外部事件则时钟越低越好,在STM8L单片机中,即使在MCU运行时高速和低速时钟也可以进行切换,并且时钟分频器可以通过一条指令进行时钟分频,进一步在系统功耗和性能间进行协调,3、普遍的,MCU内部的外设不可能全部应用到一个设计中,而不需使用或者暂时不需使用的外设只要有时钟也会有电流消耗,在STM8L中,所有的外设时钟都可以单独的关闭或打开,根据使用的需求选择性的打开或关闭外设,可减少不必要的功耗,4、为了进一步降低功耗,STM8L可以停止内核,内存和外设的时钟,仅仅通外部中断来恢复,中断唤醒时间为5μs,这样既降低了系统功耗,又能迅速的响应外部事件,(2)具有丰富的片上外设:低功耗RTC时钟、DMA、ADC模数转换、比较器、定时计数器、IC、SPI、UART,其中RTC时钟可以实现对每月每日的数据进行保存,ADC可以检测电池电量,定时计数器可以定时唤醒设备检测传感器状态,SPI可以完成对SX1278的初始化配置,UART通信可以修改水表的内部参数以及读取相关数据,STM8L的片上外设为设计提供了极大的方便,缩小了电路体积,降低了成本;(3)嵌入式存储器:STM8L集成了256字节的数据存储空间,具有掉电数据不丢失、数据存储速度快、电可擦除、高可靠性等优点,为水表地址、流量数据以及设备状态等重要数据的掉电保存提供了可能,使得水表再上电后可以立即恢复到掉电前的状态;Among them, the hardware part of the
实施例6,实施例5所述的一种基于Lora通信的无线集中抄表系统,时钟模块采用CMOS实时时钟日历芯片PCF8563。
即中继处理器模块2通过GPRS网络和客户端即微电脑连接,构成水表与远程工作站的桥梁,工作站及微电脑通过GPRS网络发出抄表指令,中继处理器模块2收到后再将数据发送给水表端即抄表模块3,中继器即中继处理器模块2来进行信号转发,抄表模块3收到抄表指令后,将数据通过Lora模块发送给中继处理器模块2,中继处理器模块2再通过GPRS网络将数据上传到工作站即终端设备1即微电脑中,由此完成无线抄表过程,期间,时钟模块会提供时间戳,抄表时数据留下时间节点,本实用新型采用Lora模块,具有通信距离远,低功耗,休眠唤醒等优点,其结构设计合理,整个抄表过程更加简单,进而提高了抄收的成功率。That is, the
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202020768164.XU CN211857721U (en) | 2020-05-11 | 2020-05-11 | A wireless centralized meter reading system based on Lora communication |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202020768164.XU CN211857721U (en) | 2020-05-11 | 2020-05-11 | A wireless centralized meter reading system based on Lora communication |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN211857721U true CN211857721U (en) | 2020-11-03 |
Family
ID=73178581
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202020768164.XU Expired - Fee Related CN211857721U (en) | 2020-05-11 | 2020-05-11 | A wireless centralized meter reading system based on Lora communication |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN211857721U (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112492571A (en) * | 2020-11-30 | 2021-03-12 | 沈畅 | Low-power-consumption communication method and system for wireless meter reading |
-
2020
- 2020-05-11 CN CN202020768164.XU patent/CN211857721U/en not_active Expired - Fee Related
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112492571A (en) * | 2020-11-30 | 2021-03-12 | 沈畅 | Low-power-consumption communication method and system for wireless meter reading |
| CN112492571B (en) * | 2020-11-30 | 2022-09-13 | 沈畅 | Low-power-consumption communication method and system for wireless meter reading |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102883340B (en) | Remote transfer transmission system suitable for network-free areas and transmission method thereof | |
| CN102869077B (en) | ZigBee-protocol-based data acquisition and transmission method of wireless sensor network | |
| CN102932964B (en) | Internet of Things gateway for perceiving wild environment and data transmission method thereof | |
| CN102194309B (en) | A low-voltage power line broadband carrier concentrator | |
| CN206610423U (en) | Secondary groups net wireless long-distance meter-reading system | |
| CN110363977A (en) | A kind of remote low power consumption wireless meter reading system based on LoRa technology | |
| CN202353607U (en) | Environmental monitoring system based on Zigbee network and GPRS (general packet radio service) network for chemical industry area | |
| CN102393257A (en) | Wireless temperature sensor and power equipment temperature on-line monitoring system | |
| CN110166971A (en) | Low-consumption wireless communication device and system applied to inspection shaft pipe network | |
| CN104569311A (en) | Novel hierarchical heterogeneous cross-network air quality real-time monitoring model | |
| CN211857721U (en) | A wireless centralized meter reading system based on Lora communication | |
| CN203552448U (en) | Dam safety monitoring system based on ZigBee wireless sensor network | |
| CN107318154A (en) | Low power consumption method based on Lora communicators | |
| CN208924233U (en) | A kind of super low-power consumption bluetooth-serial ports transparent transmission conversion module | |
| CN208924395U (en) | A kind of super low-power consumption lora- serial ports transparent transmission conversion module | |
| CN103796344A (en) | Coal field burning area monitoring wireless sensor gateway | |
| CN110062443A (en) | A kind of device passively waken up under the device sleeps mode suitable for internet-of-things terminal | |
| CN208091520U (en) | A kind of wireless gas meter and kilowatt meter reading-out system based on LoRa technologies | |
| CN222283251U (en) | A navigation beacon telemetry and remote control terminal based on Beidou communication | |
| CN102386942B (en) | Single/three-phase control node device of wireless sensor network | |
| CN210835063U (en) | Intelligent electric energy meter based on LoRaWAN communication | |
| CN208572452U (en) | A kind of super low-power consumption wifi- serial ports transparent transmission conversion module | |
| CN208421596U (en) | A kind of low-power consumption sound collection equipment automatically waken up with suspend mode | |
| CN111385773A (en) | A smart water meter control circuit based on NB-IOT | |
| CN207197567U (en) | Forest fire protection well based on GPRS and single-chip microcomputer remotely monitors transmitting device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201103 Termination date: 20210511 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |
