CN106253943A - Sensor acquisition device based on LoRa technology, network system and communication means - Google Patents
Sensor acquisition device based on LoRa technology, network system and communication means Download PDFInfo
- Publication number
- CN106253943A CN106253943A CN201610661538.6A CN201610661538A CN106253943A CN 106253943 A CN106253943 A CN 106253943A CN 201610661538 A CN201610661538 A CN 201610661538A CN 106253943 A CN106253943 A CN 106253943A
- Authority
- CN
- China
- Prior art keywords
- processor
- concentrator
- data
- wireless module
- packet
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/0215—Traffic management, e.g. flow control or congestion control based on user or device properties, e.g. MTC-capable devices
- H04W28/0221—Traffic management, e.g. flow control or congestion control based on user or device properties, e.g. MTC-capable devices power availability or consumption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/69—Spread spectrum techniques
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0212—Power saving arrangements in terminal devices managed by the network, e.g. network or access point is leader and terminal is follower
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
- H04W52/0248—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明提供一种基于LoRa技术的传感器采集器,用于与集中器组件无线连接,所述集中器组件包括集中器及与集中器连接的第一LoRa无线模块,所述传感器采集器包括处理器及与处理器连接的数据采集功能单元、第二LoRa无线模块、第二定时器,集中器组件中的第一LoRa无线模块与传感器采集器中的第二LoRa无线模块进行无线通信连接。本发明还提供一种基于LoRa技术的无线传感器采集网络系统及基于LoRa技术的无线传感器采集网络的通信方法。本发明通过通信节点和时间策略的优化配置,实现了传感器野外采集、低功耗、无人值守的特点。
The present invention provides a sensor collector based on LoRa technology, which is used for wireless connection with a concentrator component, the concentrator component includes a concentrator and a first LoRa wireless module connected to the concentrator, and the sensor collector includes a processor And the data acquisition functional unit connected with the processor, the second LoRa wireless module, the second timer, the first LoRa wireless module in the concentrator assembly and the second LoRa wireless module in the sensor collector are connected by wireless communication. The present invention also provides a wireless sensor acquisition network system based on LoRa technology and a communication method of the wireless sensor acquisition network based on LoRa technology. The present invention realizes the characteristics of sensor field collection, low power consumption and unattended through the optimized configuration of communication nodes and time strategy.
Description
技术领域technical field
本发明涉及测量技术领域,具体是一种基于LoRa技术的传感器采集器、网络系统及通信方法。The invention relates to the field of measurement technology, in particular to a sensor collector, network system and communication method based on LoRa technology.
背景技术Background technique
LoRa技术是一种基于扩频调制技术的无线通讯技术,具有传输距离远、发射功耗低、抗干扰性强等特点,环境监测、工业控制等领域已在逐步推广应用。为了降低通信节点的能耗,节点会在周期中轮替地休眠和工作,关于节点低功耗的研究较多,但是并没有针对LoRa无线模块及传感器采集器相互配合的低功耗解决方法。LoRa technology is a wireless communication technology based on spread spectrum modulation technology. It has the characteristics of long transmission distance, low transmission power consumption, and strong anti-interference. It has been gradually promoted and applied in fields such as environmental monitoring and industrial control. In order to reduce the energy consumption of communication nodes, the nodes will sleep and work alternately in the cycle. There are many studies on low power consumption of nodes, but there is no low power solution for the cooperation between LoRa wireless modules and sensor collectors.
发明内容Contents of the invention
本发明实施的目的在于提供一种基于LoRa技术的传感器采集器、网络系统及通信方法,通过通信节点和时间策略的优化配置,实现了传感器野外采集、低功耗、无人值守的特点。The purpose of the implementation of the present invention is to provide a sensor collector, network system and communication method based on LoRa technology. Through the optimal configuration of communication nodes and time strategies, the characteristics of sensor field collection, low power consumption, and unattended are realized.
一种传感器采集器,用于与集中器组件无线连接,所述集中器组件包括集中器及与集中器连接的第一LoRa无线模块,其特征在于:所述传感器采集器包括处理器及与处理器连接的数据采集功能单元、第二LoRa无线模块、第二定时器,集中器组件中的第一LoRa无线模块与传感器采集器中的第二LoRa无线模块进行无线通信连接;A sensor collector for wireless connection with concentrator components, said concentrator components comprising a concentrator and a first LoRa wireless module connected to the concentrator, characterized in that: said sensor collector includes a processor and processing The data acquisition functional unit connected to the concentrator, the second LoRa wireless module, the second timer, the first LoRa wireless module in the concentrator assembly and the second LoRa wireless module in the sensor collector are connected by wireless communication;
所述第二LoRa无线模块,用于在接收到集中器的唤醒数据包被唤醒,接收到通信数据包后,唤醒处理器,将数据包传输到处理器,第二LoRa无线模块断电,唤醒数据包包括唤醒指定的传感器采集器的唤醒信号以及用于对时的数据包时间戳,通信数据包包括需要采集传感器数据的命令以及数据包返回的时间;The second LoRa wireless module is used to wake up after receiving the wake-up data packet of the concentrator, after receiving the communication data packet, wake up the processor, transmit the data packet to the processor, power off the second LoRa wireless module, wake up The data packet includes the wake-up signal to wake up the specified sensor collector and the time stamp of the data packet used for time synchronization. The communication data packet includes the command to collect sensor data and the time when the data packet returns;
处理器接收到第二定时器的中断信号后唤醒,第二定时器继续计时,并打开第二LoRa无线模块,将采集的数据或反馈指令组成数据包发送到集中器;The processor wakes up after receiving the interrupt signal of the second timer, the second timer continues to count, and turns on the second LoRa wireless module, and sends the collected data or feedback instructions to the concentrator in a data packet;
所述数据采集功能单元,用于根据处理器解析的采集传感器数据的指令采集传感器数据,数据采集完成后通过中断唤醒处理器,数据采集功能单元断电。The data collection function unit is used to collect sensor data according to the instruction for collecting sensor data analyzed by the processor. After the data collection is completed, the processor is woken up by an interrupt, and the data collection function unit is powered off.
一种基于LoRa技术的无线传感器采集网络系统,包括一个集中器组件及与集中器组件连接的多个传感器采集器,集中器组件包括集中器及与集中器连接的第一LoRa无线模块,每个传感器采集器包括处理器及与处理器连接的数据采集功能单元、第二LoRa无线模块、第二定时器,集中器组件中的第一LoRa无线模块与传感器采集器中的第二LoRa无线模块进行无线通信连接,其特征在于:A wireless sensor acquisition network system based on LoRa technology, comprising a concentrator component and a plurality of sensor collectors connected with the concentrator component, the concentrator component includes a concentrator and the first LoRa wireless module connected with the concentrator, each The sensor collector includes a processor and a data acquisition functional unit connected to the processor, a second LoRa wireless module, and a second timer. The first LoRa wireless module in the concentrator component is connected to the second LoRa wireless module in the sensor collector. Wireless communication connection, characterized in that:
所述集中器用于根据接收到的数据服务器指令,确定下发给传感器采集器的数据包,然后通过第一LoRa无线模块开始逐个给网络中的传感器采集器发送数据包,数据包包括唤醒数据包和通信数据包,其中唤醒数据包包括唤醒指定的传感器采集器的唤醒信号以及用于对时的数据包时间戳,通信数据包包括需要采集传感器数据的命令以及数据包返回的时间;The concentrator is used to determine the data packets sent to the sensor collector according to the received data server instructions, and then start sending data packets to the sensor collectors in the network one by one through the first LoRa wireless module, and the data packets include wake-up data packets and a communication data packet, wherein the wake-up data packet includes a wake-up signal to wake up a specified sensor collector and a data packet time stamp for time synchronization, and the communication data packet includes a command to collect sensor data and the time when the data packet returns;
所述集中器还用于接收来自传感器采集器的数据并进行处理;The concentrator is also used to receive and process data from the sensor collector;
所述第一LoRa无线模块还用于将集中器处理的传感器采集器的数据返回给数据服务器;The first LoRa wireless module is also used to return the data of the sensor collector processed by the concentrator to the data server;
所述处理器用于在被第二定时器的中断信号唤醒后,将第二定时器清零,开始一个周期的计时,同时打开本节点的第二LoRa无线模块,使第二LoRa无线模块从断电状态变为休眠状态,处理器进入休眠状态,在接收到第二LoRa无线模块发送的数据包后被唤醒,通过数据包时间戳与集中器对时,并根据回复集中器时间设置第二定时器,若通信数据包的指令为采集传感器数据的指令,使数据采集功能单元上电,处理器进入休眠状态,数据采集功能单元开始采集传感器数据,数据采集完成后通过中断唤醒处理器,数据采集功能单元断电,处理器保存采集的传感器数据后,进入休眠状态;若通信数据包为配置信息修改指令,处理器处理后,进入休眠状态;The processor is used to reset the second timer to zero after being woken up by the interrupt signal of the second timer, start a cycle of timing, and open the second LoRa wireless module of the node at the same time, so that the second LoRa wireless module can be turned off from the off state. The power state changes to the dormant state, the processor enters the dormant state, wakes up after receiving the data packet sent by the second LoRa wireless module, synchronizes the time with the concentrator through the time stamp of the data packet, and sets the second timing according to the reply time of the concentrator If the instruction of the communication data packet is an instruction to collect sensor data, the data collection function unit is powered on, the processor enters a dormant state, and the data collection function unit starts to collect sensor data. After the data collection is completed, the processor is awakened by an interrupt, and the data collection The functional unit is powered off, the processor saves the collected sensor data, and enters the dormant state; if the communication data packet is a configuration information modification instruction, the processor enters the dormant state after processing;
所述第二LoRa无线模块,用于在接收到集中器的唤醒数据包被唤醒,接收到通信数据包后,唤醒处理器,将数据包传输到处理器,第二LoRa无线模块断电;The second LoRa wireless module is used to wake up after receiving the wake-up data packet of the concentrator, after receiving the communication data packet, wake up the processor, transmit the data packet to the processor, and the second LoRa wireless module is powered off;
所述处理器接收到第二定时器的中断信号后唤醒,第二定时器继续计时,并打开第二LoRa无线模块,将采集的数据或反馈指令组成数据包发送到集中器;The processor wakes up after receiving the interrupt signal of the second timer, the second timer continues timing, and opens the second LoRa wireless module, and the collected data or feedback instructions form a data packet and send it to the concentrator;
所述数据采集功能单元,用于根据处理器解析的采集传感器数据的指令采集传感器数据,数据采集完成后通过中断唤醒处理器,数据采集功能单元断电。The data collection function unit is used to collect sensor data according to the instruction for collecting sensor data analyzed by the processor. After the data collection is completed, the processor is woken up by an interrupt, and the data collection function unit is powered off.
进一步的,集中器组件还包括与集中器连接的第一定时器,集中器收到第一定时器中断触发信号后,将第一定时器清零,根据确定的窗口时间开始一个周期的计时。Further, the concentrator component also includes a first timer connected to the concentrator, and the concentrator clears the first timer after receiving the interrupt trigger signal of the first timer, and starts a period of timing according to the determined window time.
一种基于LoRa技术的无线传感器采集网络的通信方法,其应用于基于LoRa技术的无线传感器采集网络中,所述无线传感器采集网络运用一个集中器组件及多个传感器采集器的星形网络连接,传感器采集器包括处理器及与处理器连接的数据采集功能单元、第二LoRa无线模块、第二定时器,集中器组件和每个传感器采集器的第二LoRa无线模块进行无线连接,其特征在于所述方法包括如下步骤:A communication method of a wireless sensor acquisition network based on LoRa technology, which is applied in a wireless sensor acquisition network based on LoRa technology, wherein the wireless sensor acquisition network uses a concentrator component and a star network connection of a plurality of sensor collectors, The sensor collector includes a processor and a data acquisition functional unit connected to the processor, a second LoRa wireless module, a second timer, and the second LoRa wireless module of the concentrator component and each sensor collector is wirelessly connected, and is characterized in that The method comprises the steps of:
步骤一、传感器采集器的处理器被第二定时器的中断信号唤醒后,将第二定时器清零,开始一个周期的计时;Step 1, after the processor of the sensor collector is woken up by the interrupt signal of the second timer, the second timer is cleared to start a period of timing;
步骤二、处理器打开本节点的第二LoRa无线模块后,使第二LoRa无线模块从断电状态变为休眠状态,处理器进入休眠状态;Step 2: After the processor turns on the second LoRa wireless module of the node, the second LoRa wireless module changes from a power-off state to a dormant state, and the processor enters a dormant state;
步骤三、第二LoRa无线模块等待接收集中器的唤醒数据包,待接收到属于第二LoRa无线模块的唤醒数据包后唤醒,待接收到通信数据包后,唤醒处理器,将数据包传输到处理器,第二LoRa无线模块断电,其中唤醒数据包包括唤醒指定的传感器采集器的唤醒信号以及用于对时的数据包时间戳,通信数据包包括需要采集传感器数据的命令以及数据包返回的时间;Step 3, the second LoRa wireless module waits to receive the wake-up data packet of the concentrator, wakes up after receiving the wake-up data packet belonging to the second LoRa wireless module, and wakes up the processor after receiving the communication data packet, and transmits the data packet to The processor, the second LoRa wireless module is powered off, wherein the wake-up data packet includes a wake-up signal to wake up the specified sensor collector and a data packet time stamp for time synchronization, and the communication data packet includes a command that needs to collect sensor data and a data packet return time;
步骤四、处理器解析收到的数据包,通过数据包时间戳与集中器对时,并根据回复集中器的时间设置第二定时器;若通信数据包的指令为采集传感器数据的指令,使数据采集功能单元上电,处理器进入休眠状态,数据采集功能单元开始采集传感器数据,数据采集完成后通过中断唤醒处理器,数据采集功能单元断电,处理器保存采集的传感器数据后,进入休眠状态;若通信数据包为配置信息修改指令,处理器处理后,进入休眠状态。Step 4, the processor parses the received data packet, synchronizes the time with the concentrator through the data packet timestamp, and sets the second timer according to the time of replying to the concentrator; if the instruction of the communication data packet is an instruction to collect sensor data, use The data acquisition function unit is powered on, the processor enters a sleep state, and the data acquisition function unit starts to collect sensor data. After the data acquisition is completed, the processor is awakened by an interrupt, and the data acquisition function unit is powered off. After the processor saves the collected sensor data, it enters sleep mode. state; if the communication data packet is a configuration information modification instruction, the processor will enter the dormant state after processing.
步骤五、传感器采集器接收到第二定时器的中断信号后唤醒,第二定时器继续计时,并打开第二LoRa无线模块,将采集的数据或反馈指令组成数据包发送到集中器;Step 5, the sensor collector wakes up after receiving the interrupt signal of the second timer, the second timer continues timing, and turns on the second LoRa wireless module, and sends the collected data or feedback instructions to form a data packet to the concentrator;
步骤六、处理器进入休眠状态,第二LoRa无线模块断电。Step 6: The processor enters the dormant state, and the second LoRa wireless module is powered off.
本发明为了解决传感器采集器的通信及低功耗问题,不仅利用传感器采集器中第二LoRa无线模块自身的低功耗和高可靠性特点,并通过与处理器、数据采集功能单元的配合,通过断电、休眠、工作这三种状态的切换,降低每个传感器采集器的功耗,使每个功能模块在未使用的时候,处于断电或休眠状态,在保证可靠性的条件下,实现无线传感器的低功耗。In order to solve the problem of communication and low power consumption of the sensor collector, the present invention not only utilizes the low power consumption and high reliability characteristics of the second LoRa wireless module in the sensor collector, but also cooperates with the processor and the data acquisition functional unit, By switching between the three states of power-off, sleep, and work, the power consumption of each sensor collector is reduced, so that each functional module is in a power-off or sleep state when it is not in use. Under the condition of ensuring reliability, Achieve low power consumption for wireless sensors.
附图说明Description of drawings
图1是本发明基于LoRa技术的无线传感器采集网络的网络架构示意图;Fig. 1 is the network architecture schematic diagram of the wireless sensor acquisition network based on LoRa technology of the present invention;
图2是本发明中集中器与传感器采集器的电路结构示意图;Fig. 2 is the circuit structural representation of concentrator and sensor collector among the present invention;
图3是本发明中集中器与传感器采集器的工作、断电和休眠时序图,图中的最粗实线部分表示工作状态,普通实线部分表示休眠状态,最细实线部分表示断电状态。Fig. 3 is the working, power-off and dormancy sequence diagram of concentrator and sensor collector in the present invention, and the thickest solid line part in the figure represents working state, common solid line part represents dormancy state, and the thinnest solid line part represents power-off state.
图中:1—集中器组件,11—集中器,12—第一LoRa无线模块,13—第一定时器,2—传感器采集器,21—处理器,22—数据采集功能单元,23—第二LoRa无线模块,24—第二定时器。In the figure: 1—concentrator component, 11—concentrator, 12—the first LoRa wireless module, 13—the first timer, 2—sensor collector, 21—processor, 22—data acquisition functional unit, 23—the first Two LoRa wireless modules, 24—the second timer.
具体实施方式detailed description
下面将结合本发明中的附图,对本发明中的技术方案进行清楚、完整地描述。The technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention.
图1所示为本发明基于LoRa技术的无线传感器采集网络的网络架构示意图,集中器作为整个采集网络的控制端,所述的无线传感器采集网络运用一个集中器组件及多个传感器采集器的星形网络连接,集中器组件和每个传感器采集器均采用LoRa无线模块进行无线连接。Fig. 1 shows the schematic diagram of the network architecture of the wireless sensor acquisition network based on LoRa technology in the present invention. The concentrator is used as the control end of the entire acquisition network. Formal network connection, the concentrator component and each sensor collector adopt LoRa wireless module for wireless connection.
如图2所示,网络中的集中器组件1包括集中器11及与集中器11连接的第一LoRa无线模块12和第一定时器13。每个传感器采集器2包括处理器21及与处理器21连接的数据采集功能单元22、第二LoRa无线模块23、第二定时器24,集中器组件1中的第一LoRa无线模块12与传感器采集器2中的第二LoRa无线模块23进行无线通信连接以实现集中器组件1与传感器采集器2进行通信连接。As shown in FIG. 2 , the concentrator component 1 in the network includes a concentrator 11 and a first LoRa wireless module 12 and a first timer 13 connected to the concentrator 11 . Each sensor collector 2 includes a processor 21 and a data acquisition functional unit 22 connected to the processor 21, a second LoRa wireless module 23, a second timer 24, the first LoRa wireless module 12 and the sensor in the concentrator assembly 1 The second LoRa wireless module 23 in the collector 2 performs wireless communication connection to realize the communication connection between the concentrator component 1 and the sensor collector 2 .
集中器组件1作为整个采集网络的控制端,不在低功耗的范围之内,本发明实现的方法是为了解决传感器采集器2的通信及低功耗问题,不仅利用传感器采集器2中第二LoRa无线模块23自身的低功耗和高可靠性特点,并通过与处理器21、数据采集功能单元22的配合,通过断电、休眠、工作这三种状态的切换,降低每个传感器采集器的功耗,使每个功能模块在未使用的时候,处于断电或休眠状态,在保证可靠性的条件下,实现无线传感器的低功耗。The concentrator assembly 1, as the control end of the entire collection network, is not within the scope of low power consumption. The method realized by the present invention is to solve the communication and low power consumption problems of the sensor collector 2, not only utilizing the second sensor collector 2 The LoRa wireless module 23 has the characteristics of low power consumption and high reliability, and by cooperating with the processor 21 and the data acquisition function unit 22, through the switching of the three states of power-off, sleep, and work, it reduces the cost of each sensor collector. Low power consumption, so that each functional module is in a power-off or dormant state when not in use, and realizes low power consumption of wireless sensors under the condition of ensuring reliability.
集中器11收到第一定时器13中断触发信号后,将第一定时器13清零,根据确定的窗口时间开始一个周期的计时;After the concentrator 11 receives the first timer 13 interrupt trigger signal, the first timer 13 is cleared, and starts a period of timing according to the determined window time;
集中器11根据接收到的数据服务器指令,确定下发给传感器采集器2的数据包,然后通过第一LoRa无线模块12开始逐个给网络中的传感器采集器2发送数据包,数据包包括唤醒数据包和通信数据包,其中唤醒数据包包括唤醒指定的传感器采集器2的唤醒信号以及用于对时的数据包时间戳,通信数据包包括需要采集传感器数据的命令以及数据包返回的时间;数据包全部发送完毕后,第一LoRa无线模块12等待接收传感器采集器2回复的数据包;The concentrator 11 determines the data packets sent to the sensor collector 2 according to the received data server instructions, and then starts to send data packets to the sensor collectors 2 in the network one by one through the first LoRa wireless module 12, and the data packets include wake-up data. packet and communication data packet, wherein the wake-up data packet includes a wake-up signal to wake up the specified sensor collector 2 and a data packet time stamp for time synchronization, and the communication data packet includes the command for collecting sensor data and the time when the data packet returns; the data After all the packets have been sent, the first LoRa wireless module 12 waits to receive the data packet that the sensor collector 2 replies;
来自传感器采集器2的数据接收完毕后,集中器11处理完接收的数据包,与数据服务器通信,返回所需的数据。After receiving the data from the sensor collector 2, the concentrator 11 processes the received data packets, communicates with the data server, and returns the required data.
请进一步参考图3,所述基于LoRa技术的无线传感器采集网络的通信方法包括如下步骤:Please further refer to Fig. 3, the communication method of the wireless sensor collection network based on LoRa technology comprises the steps:
步骤一、传感器采集器2的处理器21被第二定时器24的中断信号唤醒后,将第二定时器24清零,开始一个周期的计时;Step 1, after the processor 21 of the sensor collector 2 is awakened by the interrupt signal of the second timer 24, the second timer 24 is cleared to zero, and a period of timing is started;
步骤二、处理器21打开本节点的第二LoRa无线模块23后,使第二LoRa无线模块23从断电状态变为休眠状态,处理器21进入休眠状态;Step 2, after the processor 21 opens the second LoRa wireless module 23 of this node, the second LoRa wireless module 23 is changed from the power-off state to the dormant state, and the processor 21 enters the dormant state;
步骤三、第二LoRa无线模块23等待接收集中器11的唤醒数据包,待接收到属于第二LoRa无线模块23的唤醒数据包后唤醒,待接收到通信数据包后,唤醒处理器21,将数据包传输到处理器21,第二LoRa无线模块23断电,其中唤醒数据包包括唤醒指定的传感器采集器2的唤醒信号以及用于对时的数据包时间戳,通信数据包包括需要采集传感器数据的命令以及数据包返回的时间;Step 3, the second LoRa wireless module 23 waits to receive the wake-up data packet of the concentrator 11, wakes up after receiving the wake-up data packet belonging to the second LoRa wireless module 23, and wakes up the processor 21 after receiving the communication data packet. The data packet is transmitted to the processor 21, and the second LoRa wireless module 23 is powered off, wherein the wake-up data packet includes a wake-up signal to wake up the specified sensor collector 2 and a data packet time stamp for time synchronization, and the communication data packet includes the sensor that needs to be collected. The command of the data and the time when the data packet is returned;
步骤四、处理器21解析收到的数据包,通过数据包时间戳与集中器11对时,并根据回复集中器11的时间设置第二定时器24;若通信数据包的指令为采集传感器数据的指令,使数据采集功能单元22上电,处理器21进入休眠状态,数据采集功能单元22开始采集传感器数据,数据采集完成后通过中断唤醒处理器21,数据采集功能单元22断电,处理器21保存采集的传感器数据后,进入休眠状态;若通信数据包为配置信息修改指令,处理器21处理后,进入休眠状态。Step 4, the processor 21 parses the received data packet, aligns the time with the concentrator 11 by the data packet time stamp, and sets the second timer 24 according to the time of replying to the concentrator 11; if the instruction of the communication data packet is to collect sensor data instruction, the data acquisition functional unit 22 is powered on, the processor 21 enters a dormant state, the data acquisition functional unit 22 starts to collect sensor data, after the data acquisition is completed, the processor 21 is awakened by an interrupt, the data acquisition functional unit 22 is powered off, and the processor 21 enters the dormant state after saving the collected sensor data; if the communication data packet is a configuration information modification instruction, the processor 21 processes it and enters the dormant state.
步骤五、传感器采集器2接收到第二定时器24的中断信号后被唤醒,第二定时器24继续计时,并打开第二LoRa无线模块23,将采集的数据或反馈指令组成数据包发送到集中器11;Step five, the sensor collector 2 wakes up after receiving the interrupt signal of the second timer 24, the second timer 24 continues timing, and opens the second LoRa wireless module 23, and sends the collected data or feedback instructions to form a data packet to concentrator 11;
步骤六、处理器21进入休眠状态,第二LoRa无线模块23断电,返回执行步骤一。Step 6, the processor 21 enters the dormant state, the second LoRa wireless module 23 is powered off, and returns to step 1.
若第二LoRa无线模块23在本周期内一直未收到唤醒数据包,则在本周期内都处于休眠状态,一直等待接收唤醒数据包;若第二个周期仍然未收到,就在第三个周期内按照预设的时间主动发送数据包给集中器11,使通信恢复正常。If the second LoRa wireless module 23 has not received the wake-up packet in this cycle, it is in a dormant state in this cycle, waiting to receive the wake-up packet; Within a cycle, the data packet is actively sent to the concentrator 11 according to the preset time, so that the communication returns to normal.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何属于本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto, any changes or substitutions that can be easily imagined by those skilled in the art within the technical scope disclosed in the present invention, All should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610661538.6A CN106253943B (en) | 2016-08-12 | 2016-08-12 | Sensor collector, network system and communication means based on LoRa technologies |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610661538.6A CN106253943B (en) | 2016-08-12 | 2016-08-12 | Sensor collector, network system and communication means based on LoRa technologies |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106253943A true CN106253943A (en) | 2016-12-21 |
| CN106253943B CN106253943B (en) | 2018-06-08 |
Family
ID=57591462
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610661538.6A Active CN106253943B (en) | 2016-08-12 | 2016-08-12 | Sensor collector, network system and communication means based on LoRa technologies |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106253943B (en) |
Cited By (21)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106781398A (en) * | 2017-01-03 | 2017-05-31 | 国网江苏省电力公司电力科学研究院 | A kind of multilist collection copies the LoRa wireless meter reading methods of communication interface converter |
| CN107132329A (en) * | 2017-06-27 | 2017-09-05 | 福建强闽信息科技有限公司 | A kind of LoRaWAN multi-parameter water qualities on-line monitoring system and method |
| CN107358788A (en) * | 2017-09-13 | 2017-11-17 | 广州市厚德物联科技有限公司 | Power supply cable disconnection monitoring and alarming device based on LoRa technology |
| CN107426534A (en) * | 2017-05-25 | 2017-12-01 | 智恒科技股份有限公司 | Intelligent acquisition system and management system |
| CN107590981A (en) * | 2017-09-22 | 2018-01-16 | 成都博高信息技术股份有限公司 | A kind of LORAWAN ammeters communication module and its control method |
| CN107730866A (en) * | 2017-10-19 | 2018-02-23 | 成都汉度科技有限公司 | Four tables unification acquisition system based on polymer optical fiber communication |
| CN108006440A (en) * | 2017-12-08 | 2018-05-08 | 成都星协科技有限公司 | Distributed gas leak detection system |
| CN108628211A (en) * | 2018-05-08 | 2018-10-09 | 宁波天德创新智能科技有限公司 | A kind of data concentrator and application method of installation and repairing quality intelligent control platform |
| CN108777882A (en) * | 2018-06-08 | 2018-11-09 | 东北农业大学 | A kind of LoRa communication means, apparatus and system towards low-power consumption wide area network |
| CN110351817A (en) * | 2019-07-09 | 2019-10-18 | 杭州博联智能科技股份有限公司 | Method for realizing low power consumption, device, terminal, medium and wireless telecommunication system |
| CN110381572A (en) * | 2019-06-29 | 2019-10-25 | 深圳市中电数通智慧安全科技股份有限公司 | A kind of node communication method and electronic equipment |
| CN111352496A (en) * | 2018-12-24 | 2020-06-30 | 航天科工惯性技术有限公司 | Low-power-consumption processing method combining single chip microcomputer and LoRa technology |
| CN111505981A (en) * | 2020-04-09 | 2020-08-07 | 国网浙江省电力有限公司湖州供电公司 | A UHF-based intelligent information collection system and method |
| CN111542009A (en) * | 2020-04-21 | 2020-08-14 | 中国人民解放军军事科学院国防工程研究院工程防护研究所 | Explosion effect wireless test network trigger acquisition control method |
| CN111585342A (en) * | 2020-04-09 | 2020-08-25 | 国网浙江省电力有限公司湖州供电公司 | UHF-based remote electric power information acquisition system and method |
| CN111629426A (en) * | 2020-05-28 | 2020-09-04 | 中国林业科学研究院资源信息研究所 | Open-air sound collection system of low-power consumption based on loRa communication |
| CN112954782A (en) * | 2021-03-26 | 2021-06-11 | 珠海瑞德电子科技有限公司 | Motor control method and device based on LoRa unit |
| CN114866973A (en) * | 2021-04-15 | 2022-08-05 | 深圳中云创新技术有限公司 | A low-power waveform data acquisition method and terminal |
| CN116233785A (en) * | 2023-04-03 | 2023-06-06 | 佳思德科技(深圳)有限公司 | A method for uploading detection data of an alcohol detector |
| CN116669155A (en) * | 2023-05-23 | 2023-08-29 | 西安航天动力技术研究所 | A wireless sensor network sub-node power-saving circuit for aerospace vehicles |
| CN117202125A (en) * | 2023-09-01 | 2023-12-08 | 上海旋荣科技股份有限公司 | Use Lora technique to carry out data acquisition device of complex environment |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20090023240A (en) * | 2007-08-29 | 2009-03-04 | (주)태광이엔시 | Substation monitoring system and method |
| CN102612122A (en) * | 2012-02-24 | 2012-07-25 | 苏州博联科技有限公司 | Low-power-consumption wireless sensor network system and controlling and awaking method thereof |
-
2016
- 2016-08-12 CN CN201610661538.6A patent/CN106253943B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20090023240A (en) * | 2007-08-29 | 2009-03-04 | (주)태광이엔시 | Substation monitoring system and method |
| CN102612122A (en) * | 2012-02-24 | 2012-07-25 | 苏州博联科技有限公司 | Low-power-consumption wireless sensor network system and controlling and awaking method thereof |
Cited By (23)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106781398A (en) * | 2017-01-03 | 2017-05-31 | 国网江苏省电力公司电力科学研究院 | A kind of multilist collection copies the LoRa wireless meter reading methods of communication interface converter |
| CN107426534A (en) * | 2017-05-25 | 2017-12-01 | 智恒科技股份有限公司 | Intelligent acquisition system and management system |
| CN107132329A (en) * | 2017-06-27 | 2017-09-05 | 福建强闽信息科技有限公司 | A kind of LoRaWAN multi-parameter water qualities on-line monitoring system and method |
| CN107358788A (en) * | 2017-09-13 | 2017-11-17 | 广州市厚德物联科技有限公司 | Power supply cable disconnection monitoring and alarming device based on LoRa technology |
| CN107590981A (en) * | 2017-09-22 | 2018-01-16 | 成都博高信息技术股份有限公司 | A kind of LORAWAN ammeters communication module and its control method |
| CN107730866A (en) * | 2017-10-19 | 2018-02-23 | 成都汉度科技有限公司 | Four tables unification acquisition system based on polymer optical fiber communication |
| CN108006440A (en) * | 2017-12-08 | 2018-05-08 | 成都星协科技有限公司 | Distributed gas leak detection system |
| CN108628211A (en) * | 2018-05-08 | 2018-10-09 | 宁波天德创新智能科技有限公司 | A kind of data concentrator and application method of installation and repairing quality intelligent control platform |
| CN108777882A (en) * | 2018-06-08 | 2018-11-09 | 东北农业大学 | A kind of LoRa communication means, apparatus and system towards low-power consumption wide area network |
| CN111352496A (en) * | 2018-12-24 | 2020-06-30 | 航天科工惯性技术有限公司 | Low-power-consumption processing method combining single chip microcomputer and LoRa technology |
| CN110381572A (en) * | 2019-06-29 | 2019-10-25 | 深圳市中电数通智慧安全科技股份有限公司 | A kind of node communication method and electronic equipment |
| CN110351817A (en) * | 2019-07-09 | 2019-10-18 | 杭州博联智能科技股份有限公司 | Method for realizing low power consumption, device, terminal, medium and wireless telecommunication system |
| CN111505981A (en) * | 2020-04-09 | 2020-08-07 | 国网浙江省电力有限公司湖州供电公司 | A UHF-based intelligent information collection system and method |
| CN111585342A (en) * | 2020-04-09 | 2020-08-25 | 国网浙江省电力有限公司湖州供电公司 | UHF-based remote electric power information acquisition system and method |
| CN111585342B (en) * | 2020-04-09 | 2022-04-22 | 国网浙江省电力有限公司湖州供电公司 | UHF-based remote electric power information acquisition system and method |
| CN111542009A (en) * | 2020-04-21 | 2020-08-14 | 中国人民解放军军事科学院国防工程研究院工程防护研究所 | Explosion effect wireless test network trigger acquisition control method |
| CN111542009B (en) * | 2020-04-21 | 2022-02-08 | 中国人民解放军军事科学院国防工程研究院工程防护研究所 | Explosion effect wireless test network trigger acquisition control method |
| CN111629426A (en) * | 2020-05-28 | 2020-09-04 | 中国林业科学研究院资源信息研究所 | Open-air sound collection system of low-power consumption based on loRa communication |
| CN112954782A (en) * | 2021-03-26 | 2021-06-11 | 珠海瑞德电子科技有限公司 | Motor control method and device based on LoRa unit |
| CN114866973A (en) * | 2021-04-15 | 2022-08-05 | 深圳中云创新技术有限公司 | A low-power waveform data acquisition method and terminal |
| CN116233785A (en) * | 2023-04-03 | 2023-06-06 | 佳思德科技(深圳)有限公司 | A method for uploading detection data of an alcohol detector |
| CN116669155A (en) * | 2023-05-23 | 2023-08-29 | 西安航天动力技术研究所 | A wireless sensor network sub-node power-saving circuit for aerospace vehicles |
| CN117202125A (en) * | 2023-09-01 | 2023-12-08 | 上海旋荣科技股份有限公司 | Use Lora technique to carry out data acquisition device of complex environment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106253943B (en) | 2018-06-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106253943B (en) | Sensor collector, network system and communication means based on LoRa technologies | |
| CN101404511B (en) | Energy-saving control device for wireless sensor network node circuit | |
| CN103645796B (en) | Based on high-performance hydrographic water resource telemetering terminal and the power consumption control method thereof of ARM framework | |
| CN102781027B (en) | Intelligent processing method for abnormal gateway in network activity period of wireless sensor | |
| CN107295615A (en) | A kind of method of wake on wireless equipment | |
| CN101425917A (en) | Sleep scheduling method for wireless sensor network | |
| CN101483908A (en) | Wireless sensor network node | |
| CN103840568A (en) | Low-power-consumption power supply system for wireless sensor network | |
| CN101364993A (en) | Method and apparatus for reducing sensor node dormancy power consumption | |
| CN102325160A (en) | Universal sensing node of self-organizing network of Internet of things | |
| WO2010037330A1 (en) | Method for reducing the power consumption of rf sim card on the waiting mode | |
| CN106507271A (en) | A method for collecting vibration signals of industrial mechanical equipment | |
| CN102883340A (en) | Remote transfer transmission system suitable for network-free areas and transmission method thereof | |
| CN107290070A (en) | An intelligent energy-saving efficient wireless temperature measurement method and its device | |
| CN104376665A (en) | Monitoring node of perimeter protection system of wireless sensor network | |
| CN103258415B (en) | Low-consumption wireless sensing node device and method of work thereof | |
| CN103152803B (en) | Fixed network structure-based ultra-lightweight wireless communication protocol | |
| CN103634885B (en) | A kind of identification card and operation method thereof | |
| CN105119726B (en) | A kind of wireless sensing net node fast wake-up method and device thereof | |
| CN103152752A (en) | IEEE (Institute of Electrical and Electronic Engineers) 802.15.4g standard-based wireless monitoring communication protocol | |
| CN104916103B (en) | The wireless communication and control method of intelligence instrument | |
| CN104916104B (en) | The wireless communication and control method of intellectual water meter | |
| CN204440629U (en) | A kind of low-power consumption bus data acquisition device | |
| CN104916102B (en) | The wireless communication and control method of intelligent gas meter | |
| CN105375584A (en) | Timing low-power consumption energy-saving apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |