Water meter data acquisition terminal based on LORA wireless communication technology

文档序号:196405 发布日期:2021-11-02 浏览:35次 中文

阅读说明:本技术 一种基于lora无线通信技术的水表数据采集终端 (Water meter data acquisition terminal based on LORA wireless communication technology ) 是由 姜开祥 姜山 王宝敏 于 2021-07-06 设计创作,主要内容包括:本公开提供了一种基于LoRa通信技术的用电数据采集终端,其特征在于,包括处理器以及分别与处理器连接的具有LoRa模块的无线通信模块、采集模块、RFID模块、近场通信NFC模块、摄像模块、显示模块、操控模块、音频模块、USB模块、数据预测模块;所述LoRa模块的无线通信模块用于将RFID模块、近场通信NFC模块、摄像模块、显示模块、操控模块、音频模块、USB模块和数据预测模块的数据传输至处理器或客户端,保证数据传输准确率同时降低能耗;增加了用户用水量预测功能,对水表历史数据进行分析,并准确预测用户下一阶段的水量使用情况.在本系统开发过程中,利用LoRa技术使数据在保证准确率的同时,尽量节省抄表数据传输过程中的能耗。(The utility model provides an electricity consumption data acquisition terminal based on loRa communication technology, which is characterized by comprising a processor, and a wireless communication module, an acquisition module, an RFID module, a Near Field Communication (NFC) module, a camera module, a display module, a control module, an audio module, a USB module and a data prediction module which are respectively connected with the processor and are provided with a loRa module; the wireless communication module of the LoRa module is used for transmitting data of the RFID module, the Near Field Communication (NFC) module, the camera module, the display module, the control module, the audio module, the USB module and the data prediction module to the processor or the client, so that the data transmission accuracy is ensured, and the energy consumption is reduced; in the system development process, the LoRa technology is utilized to ensure the accuracy of the data and save the energy consumption in the meter reading data transmission process as much as possible.)

1. An electricity consumption data acquisition terminal based on an LoRa communication technology is characterized by comprising a processor, and a wireless communication module, an acquisition module, an RFID module, a Near Field Communication (NFC) module, a camera module, a display module, a control module, an audio module, a USB module and a data prediction module which are respectively connected with the processor and provided with a LoRa module; the wireless communication module of the LoRa module is used for transmitting the data of the RFID module, the Near Field Communication (NFC) module, the camera module, the display module, the control module, the audio module, the USB module and the data prediction module to the processor or the client, so that the data transmission accuracy is guaranteed, and the energy consumption is reduced.

2. The electricity data acquisition terminal based on the LoRa communication technology of claim 1, wherein the processor further comprises a first capacitor, a first resistor and a second capacitor, one end of the first capacitor is connected with the regulation and control end of the main controller, and the regulation and control end of the main controller is connected with the reset switch of the reset circuit through a tenth resistor.

3. The electricity data acquisition terminal based on the LoRa communication technology as claimed in claim 1, wherein pins 15, 13 and 9 of the LoRa module are grounded, pin 10 is connected with the power module, pin 18 is connected with a grounding capacitor R14, pins 1 and 2 are respectively connected with the light emitting diodes LED1 and LED2 through a resistor R7 and a resistor R8, and the other ends of the light emitting diodes LED1 and LED2 are grounded.

4. The electrical data acquisition terminal based on LoRa communication technology of claim 1, wherein the acquisition module comprises an ethernet interface, a communication interface and a micro control unit, the communication interface is connected with the micro control unit through an SPI bus, and the micro control unit is further connected with the ethernet interface.

5. The electricity consumption data collection terminal based on the LoRa communication technology as claimed in claim 1, wherein the RFID module comprises an RFID rf chip and an RFID rf antenna, the RFID rf chip has a globally unique ID number, information of a meter user can be stored in the RFID rf chip, and the information can also be stored in the computer server by associating the chip unique ID number with the meter user.

6. The electricity consumption data acquisition terminal based on the LoRa communication technology as claimed in claim 1, wherein the NFC module comprises an NFC tag transmission and storage module and an NFC antenna; the NFC antenna is used for sensing a radio frequency signal of the NFC terminal and providing a power supply for the NFC tag transmission and storage module; and the NFC label transmission and storage module is communicated with the NFC terminal through an RF channel.

7. The electrical data acquisition terminal based on LoRa communication technology of claim 1, characterized in that, the camera module includes a camera and a transmission line, the camera is used for collecting image data and transmitting the data to the processor through the transmission line.

8. The electricity data acquisition terminal based on the LoRa communication technology as claimed in claim 1, wherein the display module includes at least one LED light pillar, the light source emitting module is configured to emit an original light source signal, and the light source receiving module is configured to receive the original light source signal and convert the original light source signal into a target electrical signal.

9. The electricity consumption data acquisition terminal based on the LoRa communication technology as claimed in claim 1, wherein the audio module has an audio signal input end through which an audio signal enters the audio module, the audio and video integrated device further comprises an audio signal switching control, and the audio signal switching control is electrically connected with the audio signal input end.

10. The electricity consumption data acquisition terminal based on the LoRa communication technology as claimed in claim 9, wherein the data prediction module comprises a data comparison unit, a data fitting unit, a storage unit and a data prediction unit, and the data prediction unit predicts the trend of the fitting curve of the data fitting module according to the slope of the fitting curve for the prediction of the fitting curve; the data comparison module is used for comparing the results of the data acquisition module and the data prediction module with a preset value and transmitting the comparison result to the data transceiver module; the storage unit is used for storing the information input by the field detection unit and the preset information input by the preset data input module.

Technical Field

The utility model relates to a water gauge data acquisition terminal based on LORA wireless communication technique.

Background

The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art.

The technology of Lang Range (namely LoRa) appearing in recent years belongs to one of the latest emerging application technologies of the Internet of things, and gradually replaces the technologies of Zigbee, Bluetooth, Wifi and the like in some fields.

However, the problem that water supply is not matched when a user uses water, and the water pressure is difficult to meet normal water use is solved, the problem that normal water supply is guaranteed by predicting the water demand in advance and then allocating the water pressure of the water use in real time, but certain technical problems exist in the aspects of data processing water meter data acquisition and the like at present, so that accurate prediction on the water use of the user cannot be effectively carried out, and the technical problem that how to improve the data acquisition and prediction on the water use of the water meter data is urgently needed to be solved at present.

Disclosure of Invention

In order to solve the above problems, the present disclosure provides an electricity consumption data acquisition terminal based on an LoRa communication technology, which includes a processor, and a wireless communication module, an acquisition module, an RFID module, a near field communication NFC module, a camera module, a display module, a control module, an audio module, a USB module, and a data prediction module, which are connected to the processor and have an LoRa module, respectively; the wireless communication module of the LoRa module is used for transmitting the data of the RFID module, the Near Field Communication (NFC) module, the camera module, the display module, the control module, the audio module, the USB module and the data prediction module to the processor or the client, so that the data transmission accuracy is guaranteed, and the energy consumption is reduced.

The processor further comprises a first capacitor, a first resistor and a second capacitor, one end of the first capacitor is connected with the regulation and control end of the main controller, and the regulation and control end of the main controller is connected with the reset switch of the reset circuit through a tenth resistor.

Pins 15, 13 and 9 of the LoRa module are grounded, pin 10 is connected with the power module, pin 18 is connected with grounding capacitor R14, pins 1 and 2 are respectively connected with light emitting diode LED1 and LED2 through resistor R7 and resistor R8, and the other ends of light emitting diode LED1 and LED2 are grounded.

The acquisition module comprises an Ethernet interface, a communication interface and a micro control unit, wherein the communication interface is connected with the micro control unit through an SPI bus, and the micro control unit is also connected with the Ethernet interface.

The RFID module comprises an RFID radio frequency chip and an RFID radio frequency antenna, the RFID radio frequency chip is provided with a global unique ID number, information of an instrument user can be stored in the RFID radio frequency chip, and the information can be stored in a computer server in a correlated manner by utilizing the unique ID number attribute of the chip and the instrument user.

The NFC module comprises an NFC label transmission and storage module and an NFC antenna; the NFC antenna is used for sensing a radio frequency signal of the NFC terminal and providing a power supply for the NFC tag transmission and storage module; and the NFC label transmission and storage module is communicated with the NFC terminal through an RF channel.

The camera module comprises a camera and a transmission line, wherein the camera is used for collecting image data and transmitting the data to the processor through the transmission line.

The display module comprises at least one LED light column, the light source emitting module is used for emitting an original light source signal, and the light source receiving module is used for receiving the original light source signal and converting the original light source signal into a target electric signal.

The audio frequency module has audio signal input end, and audio signal passes through audio signal input end gets into the audio frequency module, the integrative equipment of audio frequency and video further includes audio signal switches the controlling part, audio signal switches the controlling part with audio signal input end electricity is connected.

The data prediction module comprises a data comparison unit, a data fitting unit, a storage unit and a data prediction unit, and the data prediction unit predicts the trend of the fitting curve of the data fitting module according to the slope of the fitting curve; the data comparison module is used for comparing the results of the data acquisition module and the data prediction module with a preset value and transmitting the comparison result to the data transceiver module; the storage unit is used for storing the information input by the field detection unit and the preset information input by the preset data input module.

Compared with the prior art, this disclosure possesses following beneficial effect:

1. the system comprises a processor, a wireless communication module with an LoRa module, an acquisition module, an RFID module, a Near Field Communication (NFC) module, a camera module, a display module, an operation module, an audio module, a USB module and a data prediction module, wherein the wireless communication module with the LoRa module is respectively connected with the processor, the acquisition module, the RFID module, the NFC module, the camera module, the display module, the operation module, the audio module and the data prediction module are based on the LoRa technology, a remote meter reading system is taken as a research object, and important research is carried out on related technologies in the remote meter reading system based on a LoRa network structure. The LoRa module is connected with the water meter through the repeater, sends the order to the water meter in order to receive accurate data information in the table in real time to send data to the gateway remotely. In order to prevent node data from being maliciously intercepted by other servers in the sending process, the data are encrypted by the application server, the data safety is protected, the application server analyzes the original data and visually presents the data in real time for users to use.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application.

Fig. 1 is a structural diagram of a water meter data acquisition terminal based on the LORA wireless communication technology according to an embodiment of the present application;

FIG. 2 is a schematic diagram of a LoRa module in the embodiment shown in FIG. 1;

fig. 3 is a circuit diagram of a processor of the water meter data acquisition terminal in the embodiment shown in fig. 1.

Fig. 4 is a schematic structural diagram of a display module according to an embodiment of the present application.

101, a processor; 102. a power supply module; 103. a wireless communication module; 104. an acquisition module; 105. an RFID module; 106. a Near Field Communication (NFC) module; 107. a camera module; 108. a display module; 109. a control module; 110. an audio module; 111. a USB module; 112. and a data prediction module.

The specific implementation mode is as follows:

the present disclosure is further described with reference to the following drawings and examples.

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.

Example 1

As shown in fig. 1, an electricity consumption data acquisition terminal based on the LoRa communication technology includes a power supply module 102 for supplying power, a processor 101, and a wireless communication module 103, an acquisition module 104, an RFID module 105, a NFC module 106, a camera module 107, a display module 108, a manipulation module 109, an audio module 110, a USB module 111, and a data prediction module 112, which are respectively connected to the processor 101 and have the LoRa module. The wireless communication module of the LoRa module is used for transmitting the data of the RFID module, the Near Field Communication (NFC) module, the camera module, the display module, the control module, the audio module, the USB module and the data prediction module to the processor or the client, so that the data transmission accuracy is guaranteed, and the energy consumption is reduced.

The processor is a core part of an information security management module in the intelligent water meter of the internet of things and is used for executing corresponding programs and data encryption, and in another embodiment of the application, the processor is a central processing unit or a single chip microcomputer which directly adopts an executable encryption algorithm in the prior art, such as EFM 32.

As one embodiment, as shown in fig. 3, the processor (100A, 100B) further includes a first capacitor C101, a first resistor R101, and a second capacitor C102. Specifically, one end of the first capacitor C101 is connected to a regulation terminal (corresponding to NPOR terminal) of the main controller U1A, and the regulation terminal (corresponding to NPOR terminal) of the main controller U1A is connected to the reset switch K202 of the reset circuit 200 through the tenth resistor R203. Specifically, a regulation end (corresponding to the NPOR end) of the main controller U1A is connected to one end (corresponding to the 1 pin) of the reset switch K202, the other end (corresponding to the 2 pins) of the reset switch K202 is connected to the common end, and the control platform can be reset through the reset switch K202. One end of the first resistor R101 and one end of the second capacitor C102 are connected to a clock input end (corresponding to the CLKIN end) of the main controller U1A, and the other end of the first resistor R101 is connected to an external clock signal output end (corresponding to the PTC-CLKOUT1 end), that is, an externally input clock pulse provides a pulse signal for the main controller U1A to operate. In some embodiments, the USB interface circuit 300 includes an eleventh resistor R301, a twelfth resistor R302, a first transistor Q301, a second transistor Q302, and a regulator U301, wherein the first transistor Q301 and the second transistor Q302 are NPN transistors and both have switching and amplifying functions. The regulator U301 is used for regulating and controlling the data interaction between the external device and the main controller U1. Specifically, one end of the eleventh resistor R301 is connected to the electrical control end (corresponding to the OTG-VBUS end) of the main controller U1B, and the other end of the eleventh resistor R301 and the collector of the first transistor Q301 are connected to the enable end (corresponding to the EN end) of the regulator U301. One end of the twelfth resistor R302 is connected to the identification end (corresponding to the OTG-ID end) of the main controller U1B, the other end of the twelfth resistor R302 is respectively connected to the base of the first transistor Q301 and the collector of the second transistor Q302, the base of the second transistor Q302 is connected to the enable end (corresponding to the HOST-EN end) of the main controller U1C (not shown in the figure) through the thirteenth resistor R303, that is, the main controller U1C outputs a level signal to control the modulator U301. In some embodiments, the data circuit 400 further includes an eighteenth resistor R401 and a pull-up resistor bank (corresponding to R403-R409). The pull-up resistor bank (corresponding to R403-R409) clamps uncertain signals at a high level through a resistor, and the resistor plays a role in current limiting at the same time. One end of the eighteenth resistor R401 is connected to a clock signal end (corresponding to the CLK end) of the transceiver U401, and the other end of the eighteenth resistor R401 is connected to a clock signal output end (FLASH0-DQS/EMMC-CLKO end) of the external circuit, that is, a pulse clock signal output by the external circuit is input to the transceiver U401 through the eighteenth resistor R401. One end of the pull-up resistor bank (corresponding to R403-R409) is connected with a power supply end (corresponding to VCCIO-FLASH end), the other end of the pull-up resistor bank (corresponding to R403-R409) is connected corresponding to a pin (corresponding to DATA0-DATA7) of the transceiver U401, and an uncertain signal can be clamped at a high level through the pull-up resistor bank (corresponding to R403-R409) so as to ensure the stability of the transceiver U401.

The loRa module is a spread spectrum communication mode, realizes data interaction among multiple peripheral nodes, has a transmissible distance of 3-5 KM, and can transmit and store real-time data within a certain distance by combining the setting of the processor 101, so that the information about power utilization is transmitted to the near-end receiving equipment. As shown in fig. 2, pins 15, 13 and 9 of the LoRa module are grounded, pin 10 is connected to the power module, pin 18 is connected to the grounding capacitor R14, pins 1 and 2 are connected to the LEDs 1 and 2 through the resistor R7 and the resistor R8, respectively, and the other ends of the LEDs 1 and 2 are grounded. The light emitting diodes LED1 and LED2 are used for displaying the working state of the LoRa module, so as to facilitate later operation and maintenance.

The acquisition module comprises an Ethernet interface, a communication interface (W5500, a CAN interface, an RS485 interface, a small wireless interface and the like) and a Micro Control Unit (MCU), wherein the communication interface is connected with the micro control unit through an SPI bus, and the micro control unit is also connected with the Ethernet interface; the communication interface is used for receiving power utilization information and the level or working state of the corresponding interface; the Ethernet interface is used for uploading registration information of the micro control unit, uploading power utilization information obtained by the communication interface, uploading the working state of the acquisition module and receiving a task instruction issued by the bus control unit; the micro control unit is used for controlling the Ethernet interface and the communication interface to carry out up-to-down communication or up-to-down communication, and controlling the working state of the acquisition module according to the task instruction. That is to say, the interaction between each acquisition module and the processor 101 can be directly realized through the communication module connected to the bus control unit when the main control module is absent. The communication module can communicate the processor 101 with each acquisition module through the bus control unit, and by the design, the data of each acquisition module can be guaranteed not to be influenced by the fault of the master control module and can be reported to the processor 101 in time. The fault-tolerant capability of the whole system is further enhanced, and the data transmission is more stable and reliable. The registration information can be determined according to the address of each interface and the level condition of the corresponding interface.

The RFID module comprises an RFID radio frequency chip and an RFID radio frequency antenna 104, the RFID radio frequency chip is provided with a global unique ID number, information of a meter user can be stored in the RFID radio frequency chip, and the information can be stored in a computer server by using the attribute of the chip unique ID number and the meter user in a correlation manner. User information stored in the RFID radio frequency chip can be erased and written through the RFID reader-writer or the RFID mobile terminal, and meanwhile, the RFID radio frequency chip has high-strength data encryption capacity, so that no authorized person can operate and check data. The RFID radio frequency chip adopts a high-frequency communication protocol. When an external RFID reader-writer or an RFID mobile handheld terminal is close to the automatic reading device of the passive self-generating instrument, a weak electromagnetic field emitted by the external RFID reader-writer or the RFID mobile handheld terminal triggers an electromagnetic energy collecting module of the automatic reading device of the passive self-generating instrument to collect energy and convert the energy into electric energy so as to drive a photoelectric emission circuit board 109 and a photoelectric receiving circuit board 108 to finish automatic collection of 114 degrees of a photoelectric meter digit wheel. After the automatic acquisition is completed, the acquired data can be directly and interactively uploaded with an external RFID reader-writer or an RFID mobile handheld terminal through the RFID module. When the photoelectric transmitting circuit board 109 and the photoelectric receiving circuit board 108 complete the acquisition of the degree of the photoelectric meter digit wheel 114, the meter user information stored in the RFID radio frequency chip is also interactively uploaded with an external RFID reader-writer or an RFID mobile handheld terminal.

The near field communication NFC module is used for receiving the data to be transmitted sent by the processor 1 and remotely transmitting the data to be transmitted; the NFC module comprises an NFC label transmission and storage module and an NFC antenna; the NFC antenna is used for sensing a radio frequency signal of the NFC terminal and providing a power supply for the NFC tag transmission and storage module; and the NFC label transmission and storage module is communicated with the NFC terminal through an RF channel and is communicated with the MCU through an I2C or SPI channel. The NFC antenna is a 4.7uH inductor.

The camera module 107 comprises a camera and a transmission line, the camera is used for collecting image data, the data is transmitted to the processor 1 through the transmission line, and reading images of the metering instrument are collected through a front-end camera of the instrument installed on the metering instrument. The front-end camera of the instrument further comprises an auxiliary light source for providing a light source for the camera.

The display module 108 includes at least one LED light column, the light source emitting module is configured to emit an original light source signal, the light source receiving module is configured to receive the original light source signal, convert the original light source signal into a target electrical signal, and send the target electrical signal to the processing module, the processor is configured to process the target electrical signal to obtain a target light energy signal, and send the target light energy signal to the multi-channel light energy display module, and the multi-channel light energy display module is configured to display the target light energy signal.

The audio module 110 has an audio signal input end, and audio signal passes through the audio signal input end gets into the audio module, the integrative equipment of audio frequency and video further includes audio signal switches the controlling part, audio signal switches the controlling part with the audio signal input end electricity is used for audio frequency and video integrative equipment has multichannel audio signal input, and is right multichannel audio signal switches control to make wherein audio signal of the same kind pass through the audio signal input end is inputed to the audio module is handled.

The USB module comprises a USB port through which data can be transmitted.

The data prediction module 112 comprises a data comparison unit, a data fitting unit, a storage unit and a data prediction unit, wherein the data prediction unit predicts the trend of the fitting curve of the data fitting module according to the slope of the fitting curve; the data comparison module is used for comparing the results of the data acquisition module and the data prediction module with a preset value and transmitting the comparison result to the data transceiver module; the storage unit is used for storing the information input by the field detection unit and the preset information input by the preset data input module; the early warning terminal is used for displaying early warning information and comprises a computer, a PAD and a smart phone; the preset data input module is used for inputting preset values.

The power module can adopt a storage battery to supply power for the processor and each module.

Firstly, the overall architecture of the remote meter reading system based on the LoRa is designed, each device in the overall architecture has different functions and can be mainly divided into a water meter terminal, a LoRa module, a repeater, a system gateway and an application server, and the main functions of the water meter are used for collecting the water consumption of a user. The LoRa module is connected with the water meter through the repeater, sends the order to the water meter in order to receive accurate data information in the table in real time to send data to the gateway remotely. The gateway packages the data after receiving the original data, and uploads the data to the background server through the Ethernet 4G, and in order to prevent the node data from being maliciously intercepted by other servers in the sending process, the data is encrypted by the gateway, so that the data security is protected. The application server analyzes the original data, and visually displays the data in real time for a user to use, so that the system is added with a water consumption prediction function for the user, analyzes historical data of the water meter and accurately predicts the water consumption use condition of the user at the next stage.

Although the present disclosure has been described with reference to specific embodiments, it should be understood that the scope of the present disclosure is not limited thereto, and those skilled in the art will appreciate that various modifications and changes can be made without departing from the spirit and scope of the present disclosure.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种PLC广播批量升级方法及系统

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!