CN113938998A - Communication control method, acquisition terminal and communication system based on Lora - Google Patents
Communication control method, acquisition terminal and communication system based on Lora Download PDFInfo
- Publication number
- CN113938998A CN113938998A CN202111164242.0A CN202111164242A CN113938998A CN 113938998 A CN113938998 A CN 113938998A CN 202111164242 A CN202111164242 A CN 202111164242A CN 113938998 A CN113938998 A CN 113938998A
- Authority
- CN
- China
- Prior art keywords
- acquisition terminal
- target
- module
- gateway
- radio frequency
- 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.)
- Pending
Links
- 238000004891 communication Methods 0.000 title claims abstract description 72
- QVFWZNCVPCJQOP-UHFFFAOYSA-N chloralodol Chemical compound CC(O)(C)CC(C)OC(O)C(Cl)(Cl)Cl QVFWZNCVPCJQOP-UHFFFAOYSA-N 0.000 title claims abstract description 49
- 238000000034 method Methods 0.000 title claims abstract description 29
- 230000005540 biological transmission Effects 0.000 claims description 25
- 230000035484 reaction time Effects 0.000 claims description 3
- 230000002618 waking effect Effects 0.000 claims 1
- 230000006855 networking Effects 0.000 description 8
- 238000012790 confirmation Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000002035 prolonged effect Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 229910052744 lithium Inorganic materials 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving 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
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving 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/0229—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
-
- 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
The invention discloses a communication control method, an acquisition terminal and a communication system based on Lora.A power supply module is controlled by an MCU control module of the target acquisition terminal to supply power to a radio frequency module in a time period of target time slicing so as to enable the target acquisition terminal to communicate with a gateway; and in the time period of the non-target time slice, the MCU control module of the target acquisition terminal controls the power supply module to cut off the power supply of the radio frequency module, so that the radio frequency module is in a power-off state in the time period of the non-target time slice. The communication control method based on the Lora solves the technical problems that the existing Lora communication product is large in power consumption and power consumption, and the Lora communication product is poor in support in a battery using environment.
Description
Technical Field
The invention relates to the technical field of communication of the Internet of things, in particular to a communication control method based on Lora. The invention also relates to an acquisition terminal based on the Lora and a communication system based on the Lora.
Background
With the development of the internet, the mobile internet and the wireless communication technology, the demand of accessing the device data to the network is becoming stronger. The existing wireless data acquisition and reporting scheme mainly comprises two types: the other mode is a mode that the gateway is accessed to the internet and then performs local networking with the local wireless acquisition module. The acquisition terminal of the first scheme usually adopts a 4G and NB network access mode, and the acquisition terminal completes all functions such as acquisition, network access and the like, so that the problems of high cost, uncontrollable power consumption and the like of the acquisition terminal are caused; the second mode can effectively reduce the cost of the acquisition end, and the scene with relatively concentrated acquisition points is beneficial to obviously reducing the cost of the whole scheme.
Currently, the existing gateway solutions in the market generally adopt a local networking mode of 2.4G (bluetooth, ZigBee, WiFi) or 433m (lora). The bandwidth of the 2.4G frequency band is large, but the communication distance is limited greatly; the 433M frequency band bandwidth is small, but the communication distance is remarkably improved compared with the 2.4G frequency band, and the method is more suitable for the application scene of the Internet of things.
In the prior art, the mainstream Lora communication product in the market only realizes the basic functions in the Lora communication frame by adopting the modes of transparent transmission and the like, and can meet the requirement of small data volume communication of the scene of the internet of things in performance.
Disclosure of Invention
The invention provides a communication control method based on Lora, which aims to solve the technical problems that the existing Lora communication product has larger power consumption and large power consumption, and the Lora communication product has poorer support in the environment of using batteries.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a communication control method based on Lora comprises the following steps: acquiring a preset gateway polling period duration; setting a plurality of time slices in each gateway polling period according to the gateway polling period time length and preset single communication time length of each acquisition terminal and the gateway; in each gateway polling period, when an acquisition terminal is networked with a gateway, determining the acquisition terminal of the network as a target acquisition terminal, determining a time slice in which the target acquisition terminal is communicated as a target time slice, and determining a time slice in which the target acquisition terminal is not communicated as a non-target time slice; in the time period of the target time slice, the power supply module is controlled by the MCU control module of the target acquisition terminal to supply power to the radio frequency module so as to enable the target acquisition terminal to communicate with the gateway; and in the time period of the non-target time slice, the MCU control module of the target acquisition terminal controls the power supply module to cut off the power supply of the radio frequency module, so that the radio frequency module is in a power-off state in the time period of the non-target time slice.
Further, in a time period of the non-target time slice, after the MCU control module of the target acquisition terminal controls the power supply module to cut off the power supply of the radio frequency module, the MCU control module is switched to a sleep state.
Further, when an input signal is provided at the I/O port of the target acquisition terminal in the time period of the non-target time slice, the MCU control module of the target acquisition terminal is awakened, the input signal is interacted and temporarily stored through the MCU control module, and radio frequency communication is carried out through the radio frequency module until the adjacent target time slice arrives.
Further, when the non-target time slice is switched to the target time slice, the MCU control module of the target acquisition terminal controls the power supply MCU control module to supply power to the radio frequency module, so that the radio frequency module enters a radio frequency state in a target reaction time period.
Furthermore, when the acquisition terminal is networked with the gateway, the synchronization time of the target acquisition terminal and the gateway is calibrated, so that the time error between the MCU control module of the target acquisition terminal and the gateway is not greater than the target time difference.
Further, when the acquisition terminals are networked with the gateways, transmission channels for communication between the target acquisition terminals and the gateways are determined, wherein in each polling period of the gateways, the plurality of target acquisition terminals are distributed to communicate on different transmission channels of the same time slice, and/or the plurality of target acquisition terminals are distributed to communicate on the same transmission channel of different target time slices.
Further, in the time period of the target time slice, the power module is controlled by the MCU control module of the target acquisition terminal to supply power to the rf module, so that the communication between the target acquisition terminal and the gateway includes: and in the time period of the target time slice, the MCU control module of the target acquisition terminal controls the power supply module to supply power to the radio frequency module, so that the target acquisition terminal interacts with the gateway, and after the target acquisition terminal and the gateway complete interaction, the MCU control module of the target acquisition terminal controls the power supply module to cut off the power supply of the radio frequency module, and then the radio frequency module of the target acquisition terminal is in a power-off state before the corresponding target time slice is finished.
Further, the time length of the polling period of the gateway is 10s, and the preset time length of single communication between each acquisition terminal and the gateway is 2 s.
The invention also provides an acquisition terminal based on Lora, which comprises an MCU control module, a radio frequency module and a power module, wherein the power module is used for providing power for the MCU control module and the radio frequency module; and controlling the power supply module to cut off the power supply of the radio frequency module in the time period of the non-target time slice, so that the radio frequency module is in a power-off state in the time period of the non-target time slice.
The invention also provides a communication system based on the Lora, which comprises a gateway and the acquisition terminal based on the Lora, wherein the radio frequency module of the acquisition terminal is in communication connection with the gateway through an Lora wireless signal.
The invention has the following beneficial effects:
according to the communication control method based on the Lora, the gateway is refreshed once in each gateway polling period according to the use requirements of users, and then the acquisition information of all the acquisition terminals is sent out in each gateway polling period so that the users can know the relevant parameters of the industrial equipment in time; the method comprises the steps that a preset gateway polling period duration is obtained, a plurality of time slices are set in each gateway polling period according to the gateway polling period duration and a preset single communication duration of each acquisition terminal and the gateway, then a plurality of time slices are set in each gateway polling period, single communication of the acquisition terminal and the gateway can be completed in each single time slice, and in a time period of a target time slice in each gateway polling period, a power supply module is controlled by an MCU control module of the target acquisition terminal to supply power to a radio frequency module so that the target acquisition terminal is communicated with the gateway; in the time period of the non-target time slices of each gateway polling period, the MCU control module of the target acquisition terminal controls the power supply module to cut off the power supply of the radio frequency module so as to enable the radio frequency module to be in a power-off state in the time period of the non-target time slices, and the technical problem that the power supply module of the existing acquisition terminal supplies power to the radio frequency module all the time to enable the radio frequency module to be communicated with the gateway, and the power consumption of the radio frequency module is large, so that the power consumption of the existing Lora communication product is large, the power consumption is large, and the technical problem that the power consumption is poor in the environment using a battery is solved.
In addition to the objects, features and advantages described above, other objects, features and advantages of the present invention are also provided. The present invention will be described in further detail below with reference to the drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart of a Lora-based communication control method according to a preferred embodiment of the present invention;
fig. 2 is a schematic flow chart of networking of an acquisition terminal and a gateway according to a preferred embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a Lora-based acquisition terminal according to a preferred embodiment of the present invention;
fig. 4 is a schematic structural diagram of a Lora-based communication system according to a preferred embodiment of the present invention.
Detailed Description
The embodiments of the invention will be described in detail below with reference to the accompanying drawings, but the invention can be embodied in many different forms, which are defined and covered by the following description.
Fig. 1 is a flowchart of a Lora-based communication control method according to a preferred embodiment of the present invention; fig. 2 is a schematic flow chart of networking of an acquisition terminal and a gateway according to a preferred embodiment of the present invention; FIG. 3 is a schematic structural diagram of a Lora-based acquisition terminal according to a preferred embodiment of the present invention; fig. 4 is a schematic structural diagram of a Lora-based communication system according to a preferred embodiment of the present invention.
As shown in fig. 1, the Lora-based communication control method of the present embodiment includes the following steps: s101, acquiring a preset gateway polling period duration; s102, setting a plurality of time slices in each gateway polling period according to the gateway polling period duration and the preset single communication duration of each acquisition terminal and the gateway; s103, in each gateway polling period, when the acquisition terminal is networked with the gateway, determining the acquisition terminal of the network as a target acquisition terminal, determining the time slice in which the target acquisition terminal is communicated as a target time slice, and determining the time slice in which the target acquisition terminal is not communicated as a non-target time slice; s104, controlling a power supply module to supply power to a radio frequency module through an MCU control module of the target acquisition terminal in a time period of the target time slice so as to enable the target acquisition terminal to communicate with the gateway; and in the time period of the non-target time slice, the MCU control module of the target acquisition terminal controls the power supply module to cut off the power supply of the radio frequency module, so that the radio frequency module is in a power-off state in the time period of the non-target time slice.
According to the communication control method based on the Lora, a gateway polling period is preset according to the use requirements of users, the gateway refreshes once in each gateway polling period, and then all the acquisition information of the acquisition terminals is sent out in each gateway polling period so that the users can know the relevant parameters of the industrial equipment in time; the method comprises the steps that a preset gateway polling period duration is obtained, a plurality of time slices are set in each gateway polling period according to the gateway polling period duration and a preset single communication duration of each acquisition terminal and the gateway, then a plurality of time slices are set in each gateway polling period, single communication of the acquisition terminal and the gateway can be completed in each single time slice, and in a time period of a target time slice in each gateway polling period, a power supply module is controlled by an MCU control module of the target acquisition terminal to supply power to a radio frequency module so that the target acquisition terminal is communicated with the gateway; in the time period of the non-target time slices of each gateway polling period, the MCU control module of the target acquisition terminal controls the power supply module to cut off the power supply of the radio frequency module so as to enable the radio frequency module to be in a power-off state in the time period of the non-target time slices, and the technical problem that the power supply module of the existing acquisition terminal supplies power to the radio frequency module all the time to enable the radio frequency module to be communicated with the gateway, and the power consumption of the radio frequency module is large, so that the power consumption of the existing Lora communication product is large, the power consumption is large, and the technical problem that the power consumption is poor in the environment using a battery is solved.
It can be understood that the gateway of the present invention adopts a Lora gateway, and communicates with the gateway through a radio frequency module of the acquisition terminal. The time length of the gateway polling period is set according to the requirements of users; the length of the gateway polling period is the time interval length of the device information acquired by the user, and optionally, the length of the gateway polling period may be other time lengths such as 8s, 10s, or 12 s; setting the single communication time of each acquisition terminal and the gateway according to the communication time of the radio frequency module and the gateway, wherein the time can be 1s, 2s or 3s and other time lengths; in the invention, the preferred gateway polling period duration is 10s, the single communication duration is 2s, the number of time slices is five, and the duration of a single time slice is 2s for explanation.
It will be appreciated that each gateway polling cycle consists of a time period in which the time-slice is located and a time period in which the non-time-slice is located. And setting a plurality of continuous time slices in each gateway polling period according to the gateway polling period time length and the preset single communication time length of each acquisition terminal and the gateway. Optionally, in the present invention, each gateway polling period includes 0 to 1 second time slice, 2 to 3 second time slice, 4 to 5 second time slice, 6 to 7 second time slice, and 8 to 9 second time slice.
Further, in order to further reduce the power consumption of the power supply module, in the time period of the non-target time slice, after the power supply module is controlled by the MCU control module of the target acquisition terminal to cut off the power supply of the radio frequency module, the MCU control module is switched to a sleep state. Optionally, the MCU control module of the target acquisition terminal wakes up before the target time slice arrives, so as to communicate with the gateway quickly.
Further, in order to avoid the loss of the acquisition information of the acquisition terminal, when an input signal exists at the I/O port of the target acquisition terminal in the time period of the non-target time slice, the MCU control module of the target acquisition terminal is awakened, the input signal is interacted and temporarily stored through the MCU control module, and radio frequency communication is carried out through the radio frequency module until the adjacent target time slice arrives. It can be understood that when an input signal is provided at the I/O port of the target acquisition terminal in the time period of the target time slice, the input signal is directly transmitted to the gateway through the radio frequency module. Optionally, when an input signal is provided at an I/O port of the target acquisition terminal and the input time of the input signal is before the target time slice of the current gateway polling period, the MCU control module performs interaction and temporary storage on the input signal until the target time slice of the current gateway polling period comes and then performs radio frequency communication through the radio frequency module; when an input signal is arranged at an I/O port of the target acquisition terminal and the input time of the input signal is after the target time slice of the current gateway polling period, the MCU control module interacts and temporarily stores the input signal until the target time slice of the next gateway circulation period comes and then carries out radio frequency communication through the radio frequency module.
Further, when the non-target time slice is switched to the target time slice, the MCU control module of the target acquisition terminal controls the power supply MCU control module to supply power to the radio frequency module, so that the radio frequency module enters a radio frequency state in a target reaction time period. Optionally, for fast power-up, the rf module is made to communicate with the gateway when entering the target time slice, and the target response time period is 100 ms. Further, when the acquisition terminal is networked with the gateway, the acquisition terminal which is networked is determined to be a target acquisition terminal, and meanwhile, the synchronization time of the target acquisition terminal and the gateway is calibrated, so that the time error between the MCU control module of the target acquisition terminal and the gateway is not greater than the target time difference. The clock synchronization of the target acquisition terminal and the gateway is realized, so that the response consistency of the target acquisition terminal and the gateway is ensured. Optionally, the tolerable range of the time error of the target collection terminal and the gateway is 500 ms.
Further, in the time period of the target time slice, the power module is controlled by the MCU control module of the target acquisition terminal to supply power to the rf module, so that the communication between the target acquisition terminal and the gateway includes: and in the time period of the target time slice, the MCU control module of the target acquisition terminal controls the power supply module to supply power to the radio frequency module, so that the target acquisition terminal interacts with the gateway, and after the target acquisition terminal and the gateway complete interaction, the MCU control module of the target acquisition terminal controls the power supply module to cut off the power supply of the radio frequency module, and then the radio frequency module of the target acquisition terminal is in a power-off state before the corresponding target time slice is finished. After the target acquisition terminal and the gateway are interacted, the MCU control module of the target acquisition terminal controls the power module to cut off the power of the radio frequency module, so that the radio frequency module of the target acquisition terminal is in a power-off state before the corresponding target time slicing is finished, and then the MCU control module of the target acquisition terminal enters a dormant state. By further checking the information transmission communication state, the power supply to the radio frequency module is cut off after the information transmission, and the power-on time of the radio frequency module is further reduced.
Further, when the acquisition terminals are networked with the gateways, transmission channels for communication between the target acquisition terminals and the gateways are determined, wherein in each polling period of the gateways, the plurality of target acquisition terminals are distributed to communicate on different transmission channels of the same time slice, and/or the plurality of target acquisition terminals are distributed to communicate on the same transmission channel of different target time slices. Specifically, step S102 includes: in each gateway polling period, when an acquisition terminal is networked with a gateway, determining the acquisition terminal of the network as a target acquisition terminal, determining a time slice in which the target acquisition terminal is communicated as a target time slice, calibrating the synchronous time of the target acquisition terminal and the gateway, and determining a transmission channel in which the target acquisition terminal is communicated with the gateway, wherein in each gateway polling period, a plurality of target acquisition terminals are distributed on different transmission channels of the same time slice, and/or a plurality of target acquisition terminals are distributed on the same transmission channel of different target time slices.
It can be understood that the process of networking the acquisition terminal and the gateway is as follows: the acquisition terminal reports registration information to the gateway, after the gateway approves the registration information, a transmission channel and a target time slice are distributed to the corresponding acquisition terminal, a registration confirmation instruction is sent to the corresponding acquisition terminal, the corresponding acquisition terminal receives the registration confirmation instruction and corrects the time with the gateway, and after the time error between the acquisition terminal and the gateway is not larger than the target error time, the acquisition terminal and the LORA gateway are networked to enter a networking mode. Preferably, the target time slice and the transmission channel distributed by the target acquisition terminal are confirmed according to the equipment registration process and gateway distribution, and if the target acquisition terminal is a history registration user, a history transmission channel and a history time slice are distributed; and if the acquisition terminal is a new registered user, distributing so that the plurality of target acquisition terminals are distributed on different channels of the same time slice, and/or distributing the plurality of target acquisition terminals on the same channel of different time slices.
Specifically, referring to fig. 2, after the whole circuit is powered on and started, the MCU control module of the target acquisition terminal controls the radio frequency module to be in a duplex working mode, and performs interactive networking with the gateway, where the registration information sent by the target acquisition terminal carries the address of the radio frequency module of the target acquisition terminal itself, if the target acquisition terminal has successfully performed network entry registration before, the corresponding target acquisition terminal is marked as a history registered user, and if the target acquisition terminal is a new acquisition terminal, the target acquisition terminal randomly generates a serial number and then fills an instruction to perform registration, and the corresponding target acquisition terminal is marked as a new registered user; a radio frequency module of the target acquisition terminal transmits registration information and records transmission time; after receiving registration information sent by a radio frequency module of a target acquisition terminal, a gateway distributes transmission channels and time slices of a corresponding acquisition terminal according to an available channel and a time slice table of a cluster of the gateway and sends a registration confirmation instruction; after receiving the registration confirmation instruction, the radio frequency module uses a synchronous timing formula to perform timing according to the time attached to the registration confirmation instruction and the sending and receiving time recorded by the radio frequency module, so that the target acquisition terminal and the gateway keep time synchronization. Alternatively, if the time error is within a tolerable range (500ms), the registration process is ended, and a normal working state is entered. If the time error is large, time correction is repeatedly initiated until the time error is within the tolerance range.
Preferably, to avoid interference, the transmission channel in the networking process is an independent channel.
In the present invention, a gateway polling cycle is 10s, and a time length of a time slice is 2s, where 300 radio frequency devices can be accommodated to perform duplex operation in the same area under the condition of 60 transmission channels, and each gateway polling cycle includes 0 to 1 second time slice, 2 to 3 second time slice, 4 to 5 second time slice, 6 to 7 second time slice, and 8 to 9 second time slice. When a plurality of radio frequency terminals are accessed to the network for working, the working state in the network is as shown in the following figure: suppose terminal a is assigned to transport channel 3, 0 to 1 second time slice; terminal B is assigned on transport channel 3, 2 to 3 second time slice, terminal C is assigned on transport channel 4, 0 to 1 second time slice; terminal D is allocated time slicing on transmission channels 4, 4 to 5. The channel and time occupancy in the network are shown in table 1:
TABLE 1
In the invention, because the terminal A and the terminal C are distributed on different channels, although the terminals communicate at the same time, the terminals do not interfere with each other.
According to the communication control method based on Lora, the working state of the power supply MCU control module is continuously controlled through interaction among the MCU control module, the power supply control module and the radio frequency module of the target acquisition terminal, so that energy is more effectively utilized, the average energy consumption of the module in the working state can meet the requirement of battery power supply, and the service life of a battery is prolonged; by time-sharing use of the transmission channel, the communication capacity of the 433MHz frequency band is fully utilized, besides the direct power-off, the radio frequency module and the MCU control module also support the sleep-off mode, and the working current of the sleep-off mode is about 4 muA and can be ignored. When the radio frequency module is in a working state, the transmitting current of the radio frequency module is 110mA, and the data transmission can be finished in about 200ms on average; the 2s time slicing avoids inter-module interference while guaranteeing a certain time error, resulting in an effective reduction of the emission time and thus an average operating current of about 2mA (calculated by 110 x (0.2/10)). If the industrial field is powered by a 5000mAh lithium battery, the single terminal can be ensured to continuously work for about 100 days, and if the polling time higher than 10s can be accepted in the industrial scene, the average power consumption can be further reduced, the service life of the battery is further prolonged, the maintenance period of a factory for the equipment is prolonged, and the maintenance cost is reduced.
Referring to fig. 3, the present invention further provides an acquisition terminal based on Lora, including an MCU control module, a radio frequency module, and a power module, where the power module is configured to provide power for the MCU control module and the radio frequency module, the MCU control module is electrically connected to the radio frequency module and the power module, the MCU control module is configured to process information and control the power module to provide power for the radio frequency module, and further control the power module to provide power for the radio frequency module in a time period where the target time slice is located, so that the target acquisition terminal communicates with the gateway; and controlling the power supply module to cut off the power supply of the radio frequency module in the time period of the non-target time slice, so that the radio frequency module is in a power-off state in the time period of the non-target time slice.
Referring to fig. 4, the present invention further provides a Lora-based communication system, which includes a gateway and the Lora-based acquisition terminal, wherein a radio frequency module of the acquisition terminal is in communication connection with the gateway through an Lora wireless signal.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A communication control method based on Lora is characterized by comprising the following steps:
acquiring a preset gateway polling period duration;
setting a plurality of time slices in each gateway polling period according to the gateway polling period time length and preset single communication time length of each acquisition terminal and the gateway;
in each gateway polling period, when the acquisition terminal is networked with the gateway, determining the acquisition terminal of the network as a target acquisition terminal, determining a time slice in which the target acquisition terminal is communicated as a target time slice, and determining a time slice in which the target acquisition terminal is not communicated as a non-target time slice;
in the time period of the target time slice, controlling a power supply module to supply power to a radio frequency module through an MCU control module of the target acquisition terminal so as to enable the target acquisition terminal to communicate with the gateway; and in the time period of the non-target time slice, the MCU control module of the target acquisition terminal controls the power supply module to cut off the power supply of the radio frequency module, so that the radio frequency module is in a power-off state in the time period of the non-target time slice.
2. The Lora-based communication control method according to claim 1,
in the time period of the non-target time slice, after the MCU control module of the target acquisition terminal controls the power supply module to cut off the power supply of the radio frequency module, the MCU control module is switched to a sleep state.
3. The Lora-based communication control method according to claim 2,
when an input signal is input to the I/O port of the target acquisition terminal in the time period of the non-target time slice, waking up the MCU control module of the target acquisition terminal, and interacting and temporarily storing the input signal through the MCU control module until the adjacent target time slice arrives and then performing radio frequency communication through the radio frequency module.
4. The Lora-based communication control method according to claim 2,
and when the target time slice is switched from the non-target time slice to the target time slice, the MCU control module of the target acquisition terminal controls the power supply MCU control module to supply power to the radio frequency module, so that the radio frequency module enters a radio frequency state in a target reaction time period.
5. The Lora-based communication control method according to claim 1,
when the acquisition terminal is networked with the gateway, the synchronization time of the target acquisition terminal and the gateway is calibrated, so that the time error between the MCU control module of the target acquisition terminal and the gateway is not greater than the target time difference.
6. The Lora-based communication control method according to claim 1,
when the acquisition terminal and the gateway are networked, the transmission channel of the target acquisition terminal and the gateway communication is determined, wherein in each polling period of the gateway, the target acquisition terminals are distributed to communicate on different transmission channels of the same time slice, and/or the target acquisition terminals are distributed to communicate on the same transmission channel of different target time slices.
7. The Lora-based communication control method according to claim 1,
in the time period of the target time slice, the MCU control module of the target acquisition terminal controls the power supply module to supply power to the radio frequency module, so that the communication between the target acquisition terminal and the gateway comprises the following steps:
and in the time period of the target time slices, the MCU control module of the target acquisition terminal controls the power supply module to supply power to the radio frequency module, so that the target acquisition terminal interacts with the gateway, and after the target acquisition terminal interacts with the gateway, the MCU control module of the target acquisition terminal controls the power supply module to cut off the power supply of the radio frequency module, and further, the radio frequency module of the target acquisition terminal is in a power-off state before the corresponding target time slices are finished.
8. The Lora-based communication control method according to claim 1,
the time length of the polling period of the gateway is 10s, and the time length of single communication between each preset acquisition terminal and the gateway is 2 s.
9. An acquisition terminal based on Lora is characterized in that,
the system comprises an MCU control module, a radio frequency module and a power module, wherein the power module is used for providing power for the MCU control module and the radio frequency module, the MCU control module is respectively electrically connected with the radio frequency module and the power module, the MCU control module is used for processing information and controlling the power module to supply power for the radio frequency module, and then the power module is controlled to supply power for the radio frequency module in a time period of target time slicing so as to enable a target acquisition terminal to be communicated with a gateway; and controlling the power supply module to cut off the power supply of the radio frequency module in the time period of the non-target time slice, so that the radio frequency module is in a power-off state in the time period of the non-target time slice.
10. A Lora-based communication system comprising a gateway and the Lora-based acquisition terminal of claim 9,
the radio frequency module of the acquisition terminal is in communication connection with the gateway through LoRa wireless signals.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111164242.0A CN113938998A (en) | 2021-09-30 | 2021-09-30 | Communication control method, acquisition terminal and communication system based on Lora |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111164242.0A CN113938998A (en) | 2021-09-30 | 2021-09-30 | Communication control method, acquisition terminal and communication system based on Lora |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113938998A true CN113938998A (en) | 2022-01-14 |
Family
ID=79277696
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111164242.0A Pending CN113938998A (en) | 2021-09-30 | 2021-09-30 | Communication control method, acquisition terminal and communication system based on Lora |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113938998A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115551061A (en) * | 2022-11-23 | 2022-12-30 | 天津通信广播集团有限公司 | Time window-based low-power-consumption wireless sensor networking method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110071229A (en) * | 2009-12-21 | 2011-06-29 | 한국전자통신연구원 | Sensor node comprising wake-up module, apparatus and method controlling wake-up sequence |
US20130010666A1 (en) * | 2010-03-22 | 2013-01-10 | Gemalto Sa | Mobile device with independent battery and radiofrequency communication interface |
CN103854461A (en) * | 2014-03-05 | 2014-06-11 | 上海复展智能科技有限公司 | Communication device and communication method of wireless gas meter |
CN208888611U (en) * | 2018-08-17 | 2019-05-21 | 河北稳控科技有限公司 | A kind of super low-power consumption control system based on wireless bidirectional communication |
CN111836277A (en) * | 2019-04-19 | 2020-10-27 | 武汉所为科技有限公司 | Lora communication method, Lora node and Lora communication system |
-
2021
- 2021-09-30 CN CN202111164242.0A patent/CN113938998A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110071229A (en) * | 2009-12-21 | 2011-06-29 | 한국전자통신연구원 | Sensor node comprising wake-up module, apparatus and method controlling wake-up sequence |
US20130010666A1 (en) * | 2010-03-22 | 2013-01-10 | Gemalto Sa | Mobile device with independent battery and radiofrequency communication interface |
CN103854461A (en) * | 2014-03-05 | 2014-06-11 | 上海复展智能科技有限公司 | Communication device and communication method of wireless gas meter |
CN208888611U (en) * | 2018-08-17 | 2019-05-21 | 河北稳控科技有限公司 | A kind of super low-power consumption control system based on wireless bidirectional communication |
CN111836277A (en) * | 2019-04-19 | 2020-10-27 | 武汉所为科技有限公司 | Lora communication method, Lora node and Lora communication system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115551061A (en) * | 2022-11-23 | 2022-12-30 | 天津通信广播集团有限公司 | Time window-based low-power-consumption wireless sensor networking method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6832449B2 (en) | Methods and devices for transmitting information and methods and devices for monitoring channels | |
US11044672B2 (en) | Station wake-up method and station | |
CN100505730C (en) | Method and system for power-saving in a wireless local area network | |
CN107770851B (en) | Method and device for waking up wireless equipment | |
KR102211930B1 (en) | Data communication method and device | |
DE60120353T2 (en) | ENERGY CONDITION FOR DRATHLESS COMMUNICATIONS | |
EP2060017B1 (en) | Method for managing the power in the wireless network | |
US9462549B2 (en) | Systems and methods for optimizing power consumption associated with processing group addressed messages | |
WO2005022781A1 (en) | Apparatus and method for controlling sleep mode in wireless access communication system | |
KR20140091666A (en) | Communication method and communication apparatus by station that operates in power safe mode in wireless lan system | |
EP1714520A2 (en) | Method and apparatus optimizing receipt of call/broadcast paging messages by self-powered wireless communications devices | |
CN107979443A (en) | awakening method and device | |
CN102300298A (en) | Mobile phone and power saving method for mobile phone in sleep mode | |
CN111245710A (en) | Intelligent gateway based on LoRa and data communication management method thereof | |
CN110191449B (en) | Communication mode switching method, device, storage medium, processor and system | |
CN111465039B (en) | Wireless upgrading method based on Lora technology | |
EP2925072B1 (en) | Node scheduling method and device | |
CN111132113A (en) | Method for realizing low-power-consumption Bluetooth Mesh network | |
CN110896558A (en) | Working mode switching method, terminal and network equipment | |
CN111405640A (en) | Low-power-consumption wireless networking communication method | |
CN113938998A (en) | Communication control method, acquisition terminal and communication system based on Lora | |
CN113038584B (en) | Data transmission method and system for wireless sensor network | |
CN113207160B (en) | Terminal awakening method and device, computer equipment and storage medium | |
CN113824571B (en) | Agricultural thing networking that is fit for wisdom agricultural | |
CN115604796A (en) | Data transmission method, system, device and storage medium |
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 |