CN116963244A - Sleep mode data receiving and transmitting control method of LoRa module - Google Patents

Sleep mode data receiving and transmitting control method of LoRa module Download PDF

Info

Publication number
CN116963244A
CN116963244A CN202311222362.0A CN202311222362A CN116963244A CN 116963244 A CN116963244 A CN 116963244A CN 202311222362 A CN202311222362 A CN 202311222362A CN 116963244 A CN116963244 A CN 116963244A
Authority
CN
China
Prior art keywords
module
lora
main control
power supply
control chip
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
Application number
CN202311222362.0A
Other languages
Chinese (zh)
Inventor
李博强
李博鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Zhongda Technology Co ltd
Original Assignee
Nanjing Zhongda Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nanjing Zhongda Technology Co ltd filed Critical Nanjing Zhongda Technology Co ltd
Priority to CN202311222362.0A priority Critical patent/CN116963244A/en
Publication of CN116963244A publication Critical patent/CN116963244A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Transceivers (AREA)

Abstract

The invention discloses a dormant mode data receiving and transmitting control method of a LoRa module, which relates to the technical field of wireless communication in a low power consumption mode. According to the invention, the main control chip controls the baud of the LoRa antenna module to be less than or equal to 9600bps, so that when the serial port detects that data need to be transmitted in a sleep mode, the main control chip only wakes up the LoRa antenna module, and ultra-low power consumption data transmission in the sleep mode is realized; under the ultralow electric quantity of the power supply battery, the super capacitor for storing energy is adopted for power supply, so that the LoRa antenna module can at least ensure that the current data transmission is completed, the normal data transmission under the extremely low electric quantity power supply battery is realized, and the data loss risk is avoided.

Description

Sleep mode data receiving and transmitting control method of LoRa module
Technical Field
The invention relates to the technical field of wireless communication in a low-power consumption mode, in particular to a dormant mode data receiving and transmitting control method of a LoRa module.
Background
LoRa serial port transparent communication module has compact structure, low power consumption's characteristics. The module is designed for industrial standard, and adopts a high-performance industrial chip solution to realize the rapid development and deployment of the LoRa network for data transmission of the LoRa network, thereby realizing the purposes of remote low-power consumption control and data acquisition. The use of the module in an application can greatly reduce the time for product development.
At present, in order to adapt to different application scenarios, the LoRa module is usually provided with a plurality of working modes, and is common: normal transceiving mode, sleep mode, etc. The definition of the mode of operation of the LoRa module produced by different companies varies, whatever the term, in which the sleep mode represents the mode of operation with the lowest power consumption.
Sleep mode refers to the LoRa module entering the lowest power consumption. The components operating in this mode have an SPI interface: under the low power consumption mode, the master control chip wakes up the radio frequency chip through the SPI interface in advance, and enters a standby mode. The Regulator is used for ensuring the voltage required by the SPI interface, and the power supply is from VBAT, namely battery voltage. RC64K low-frequency crystal oscillation circuit: for guaranteeing the reference clock required by the SPI interface. In SLEEP mode, most of the circuits of the rf chip are in SLEEP state, and only the SPI interface is accessible. In practice, when the SPI is accessed, the NSS bit is set by the master control chip, and the signal can wake up the rf chip from sleep mode.
However, under extreme working conditions, the power supply battery of the LoRa module powered by the battery may not be capable of completing the wake-up in the sleep mode, or the normal transmission of the power supply battery of the LoRa module with large weight may not be completed once after the wake-up, so that the power supply interruption is caused by uncontrollable displacement of the power supply battery of the LoRa module with large weight due to abnormal vibration in the working conditions, and the technical problem that needs to be solved is how to ensure the transmission of key data collected by the sensor under the working conditions.
Disclosure of Invention
In order to solve the technical problems in the prior art, the invention provides a dormant mode data receiving and transmitting control method of a LoRa module. The following technical scheme is adopted:
a dormant mode data receiving and transmitting control method of a LoRa module comprises the following steps:
step 1, a main control chip of a LoRa module acquires power supply battery electric quantity data of a battery management chip at intervals of set time;
step 2, setting a capacitor energy storage range threshold value, and when the main control chip judges that the electric quantity of the power supply battery is within the capacitor energy storage range threshold value, controlling a capacitor charging circuit to be started by the main control chip, and enabling the power supply battery to supply power to the energy storage capacitor through the capacitor charging circuit, wherein the energy storage capacitor stores the set electric quantity;
step 3, the main control chip controls the LoRa module to enter a dormant mode, in the dormant mode, the serial port is set to be in a working state, when the serial port detects data, the main control chip is communicated with the battery management chip to confirm the power supply battery electric quantity data, and if the main control chip judges that the power supply battery electric quantity data is greater than or equal to a wake-up threshold value, the main control chip controls the LoRa antenna module of the wake-up LoRa module to wirelessly transmit the data of the serial port;
and step 4, if the main control chip judges that the electric quantity data of the power supply battery is smaller than the awakening threshold value, the main control chip controls the energy storage capacitor to be connected into power supply, and then controls the LoRa antenna module of the awakening LoRa module to wirelessly transmit the serial data.
By adopting the technical scheme, when normal power supply is performed, namely the main control chip judges that the electric quantity of the power supply battery is within the energy storage range threshold of the capacitor through collecting the detection data of the battery management chip, the energy storage range threshold of the capacitor refers to the state that the power supply battery is in a higher electric quantity state, at the moment, the energy storage is required to be performed in the energy storage capacitor, the electric quantity of the energy storage generally occupies the smaller electric quantity of the power supply battery, the normal work of the power supply battery is not greatly influenced, and the electric quantity stored by the energy storage capacitor can last for a longer time;
after entering the sleep mode, the serial port is directly connected with the main control chip, when the serial port detects that data exists, the main control chip can wake up the LoRa antenna module to send the received data, electric quantity confirmation is needed before sending, once an extreme case with extremely low electric quantity exists, if the action of waking up the LoRa antenna module to send the received data is executed, the sending failure is likely to be caused, and even the data is lost;
therefore, electric quantity detection is performed firstly, when the main control chip judges that the electric quantity data of the power supply battery is smaller than the wake-up threshold value, namely, when the battery abnormality occurs, the support of the LoRa antenna module for transmission cannot be ensured, at the moment, the energy storage capacitor which finishes energy storage before is connected to power supply, the energy storage capacitor replaces the power supply battery for power supply, at least the LoRa antenna module can be ensured to finish the data transmission when the data transmission is performed, the normal data transmission under the power supply battery with extremely low electric quantity is solved, and the loss risk of the data is avoided.
Optionally, the standard electric quantity value of the power supply battery is set to be P, and the threshold value of the capacitive energy storage range is set to be 90% P-P.
By adopting the technical scheme, 90% of P-P is the initial electricity value of the power supply battery in use, and the energy storage of the energy storage capacitor is performed at the moment, so that the influence on the normal power supply of the power supply battery is small.
Optionally, the wake-up threshold is 1% p of the power supply battery's power value.
Through adopting above-mentioned technical scheme, through the power supply of power supply battery, under some low-power consumption's loRa module application, can satisfy 3-5 years continuous power supply in theory, when power supply battery's electric quantity is less than 1%P, generally the abnormal condition has appeared, or duration is overlength, and the electric quantity of usually being less than 1%P can not guarantee to support the loRa antenna module and accomplish a data transmission, needs to adopt energy storage capacitor power supply this moment.
Optionally, step 5 is further included, after the LoRa antenna module powered by the energy storage capacitor sends the serial port data, the LoRa antenna module sends a battery abnormal data packet to the LoRa networking control center, and the main control chip controls the LoRa module to enter the sleep mode again.
Through adopting above-mentioned technical scheme, after adopting energy storage capacitor power supply to accomplish data transmission, need send battery abnormal data package to the control center of LoRa network deployment, inform the staff of the abnormal state of this LoRa module of distal end, after the control center of LoRa network deployment received this battery abnormal data package, still should set up alarm module, alarm module warning reminds the staff in time to handle, after sending data, main control chip should control the LoRa module again and get into sleep mode, saves the electric energy as far as possible.
Optionally, after the main control chip wakes up the LoRa antenna module of the LoRa module in the sleep mode, the baud of the LoRa antenna module is less than or equal to 9600bps.
By adopting the technical scheme, when the serial port detects that data is needed to be transmitted in the sleep mode under the condition that the baud of the LoRa antenna module is less than or equal to 9600bps, the main control chip only wakes up the LoRa antenna module, and the data can be transmitted in the low-power consumption mode in the sleep mode.
Optionally, in step 2, the storage capacity of the storage capacitor does not exceed the standard electric quantity value of the power supply battery by 2%.
Through adopting above-mentioned technical scheme, under the energy storage condition of general 2%P electric quantity, energy storage capacitor can support the work of loRa module at least 1 week time, and the charge-discharge process of container is physical process all the time, does not have chemical reaction. The performance is stable unlike a battery using a chemical reaction. In the case of no use, the theoretical amount of electricity can be maintained for more than 1 year.
Optionally, the data receiving and transmitting control under the sleep mode is realized based on a low-power consumption LoRa module, wherein the low-power consumption LoRa module comprises a main control chip, a battery management chip, a power supply module, a pin module, a serial port and a LoRa antenna module;
the power supply module comprises a power supply battery, a first electric control switch, a capacitor charging circuit, an energy storage capacitor and a second electric control switch, wherein the battery management chip collects electric quantity information of the power supply battery and is in communication connection with the main control chip, the power supply battery supplies power to all electric devices, the power supply battery supplies power to the energy storage capacitor through the first electric control switch and the capacitor charging circuit, the energy storage capacitor is connected to all electric devices through the second electric control switch to supply power, the main control chip controls execution actions of the first electric control switch and the second electric control switch respectively, the energy storage capacitor is charged through the capacitor charging circuit, and the energy storage capacitor supplies power to all electric devices through the second electric control switch;
the lowest baud rate of the serial port is lower than 9600bps, the serial port is directly connected with the main control chip, and when the baud rate of the serial port is lower than or equal to 9600bps, user data is received and responded in a sleep mode without additional wake-up operation;
the LoRa antenna module is in communication connection with the main control chip through the pin module, and the main control chip controls the execution action of the LoRa antenna module and controls the operation baud rate of the LoRa antenna module.
Optionally, the first electric control switch and the second electric control switch are all electric control PMOS tubes, the energy storage capacitor is a super capacitor, and the first electric control switch, the second electric control switch and the energy storage capacitor are all connected to a circuit board of the low-power-consumption LoRa module in a welding mode; the LoRa antenna module is a LoRa wireless spread spectrum module SX1276.
Through adopting above-mentioned technical scheme, automatically controlled PMOS pipe can realize the on-off control of circuit under the control of main control chip, the consumption is extremely low, power supply battery can realize supplying power for energy storage capacitor through electric capacity charging circuit, under main control chip's control, first automatically controlled switch-on just can realize the charge of energy storage capacitor, charging time is controllable, super capacitor just can realize charging for a few seconds generally, do not influence the normal operating of low-power consumption loRa module, the opening of second automatically controlled switch can realize that super capacitor supplies power for whole low-power consumption loRa module, satisfy the power supply demand under the ultralow mode of extreme state power supply battery electric quantity, realize only adopting a power supply battery just can realize more stable power supply backup demand, its effect is different from adopting the mode of reserve battery, because the circumstances that causes the power supply battery to appear extremely low electric quantity is very likely to lead to the reserve battery to appear also same situation, for example violent vibration condition, the weight of battery is far away from the electric capacity, therefore the backup condition of super capacitor its stability is better than reserve battery.
Optionally, the serial port is a low-power UART communication serial port, the receiving end is used for docking data sources, the transmitting end is directly docked with the main control chip, and the using baud rate is adjustable between 1200bps and 115200bps.
By adopting the technical scheme, the serial port adopts a low-power UART communication serial port, the supported baud rate is adjustable, and the setting range is 1200bps to 115200bps. When the baud rate is not higher than 9600bps, serial data of a user can be received and responded in a dormant state without additional wake-up operation, and when the baud rate is higher than 9600bps, a wakeup pin is required to be operated to wake up the module.
Optionally, the pin module includes a sending status indication pin, a receiving status indication pin, an AT configuration pin, a module serial port input pin, a module serial port output pin, a module wake-up pin, a module reset pin, a power input pin, a radio frequency antenna interface pin, a start mode selection pin, and a plurality of reserved pins;
the serial port transmits data to the main control chip through a serial port input pin of the module, and the main control chip transmits instruction data to the serial port through a serial port output pin of the module;
the main control chip is in communication connection with the LoRa antenna module through a radio frequency antenna interface pin.
In summary, the present invention includes at least one of the following beneficial technical effects:
the invention can provide a dormant mode data receiving and transmitting control method of the LoRa module, when a power supply battery supplies power normally, the main control chip controls the baud of the LoRa antenna module to be less than or equal to 9600bps, when the serial port detects that data is needed to be transmitted in the dormant mode, the main control chip only wakes up the LoRa antenna module, and can realize data transmission in a low-power mode in the dormant mode and ultra-low-power data transmission in the dormant mode;
under the ultralow electric quantity of the power supply battery, the super capacitor for storing energy is adopted for power supply, so that the LoRa antenna module can at least ensure that the current data transmission is completed, the normal data transmission under the extremely low electric quantity power supply battery is realized, and the data loss risk is avoided.
Drawings
FIG. 1 is a flow chart of a sleep mode data transceiver control method of a LoRa module of the present invention;
FIG. 2 is a schematic diagram of the electrical device connection principle of the low power LoRa module of the present invention;
fig. 3 is a schematic diagram of a pin module of the low power LoRa module of the present invention.
Reference numerals illustrate: 1. a main control chip; 2. a battery management chip; 3. a power supply battery; 4. a capacitor charging circuit; 5. an energy storage capacitor; 6. a serial port; 7. a LoRa antenna module; 8. a first electrically controlled switch; 9. a second electrically controlled switch; 10. and a pin module.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
The embodiment of the invention discloses a dormant mode data receiving and transmitting control method of a LoRa module.
Referring to fig. 1-3, embodiment 1, a sleep mode data transceiving control method of a LoRa module includes the following steps:
step 1, a main control chip 1 of a LoRa module acquires power supply battery 3 electric quantity data of a battery management chip 2 every set time;
step 2, setting a capacitor energy storage range threshold, and when the main control chip 1 judges that the electric quantity of the power supply battery 3 is within the capacitor energy storage range threshold, controlling the capacitor charging circuit 4 to be started by the main control chip 1, and supplying power to the energy storage capacitor 5 by the power supply battery 3 through the capacitor charging circuit 4, wherein the set electric quantity is stored in the energy storage capacitor 5;
step 3, the main control chip 1 controls the LoRa module to enter a dormant mode, in the dormant mode, the serial port 6 is set to be in a working state, when the serial port 6 detects that data exists, the main control chip 1 communicates with the battery management chip 2 to confirm the data of the electric quantity of the power supply battery 3, and if the main control chip 1 judges that the data of the electric quantity of the power supply battery 3 is greater than or equal to a wake-up threshold value, the main control chip 1 controls the LoRa antenna module 7 of the wake-up LoRa module to wirelessly transmit the data of the serial port 6;
and 4, if the main control chip 1 judges that the electric quantity data of the power supply battery 3 is smaller than the awakening threshold value, the main control chip 1 controls the energy storage capacitor 5 to be connected into power supply, and then controls the LoRa antenna module 7 of the awakening LoRa module to wirelessly transmit the data of the serial port 6.
When the power is normally supplied, that is, when the main control chip 1 judges that the electric quantity of the power supply battery 3 is within the capacitor energy storage range threshold value through collecting the detection data of the battery management chip 2, the capacitor energy storage range threshold value refers to that the power supply battery 3 is in a higher electric quantity state, at the moment, the energy storage is needed to be carried out in the energy storage capacitor 5, the electric quantity of the energy storage generally occupies the smaller electric quantity of the power supply battery 3, the normal operation of the power supply battery 3 is not greatly influenced, and the electric quantity stored in the energy storage capacitor 5 can last for a longer time;
after entering the sleep mode, the serial port 6 is directly connected with the main control chip 1, when the serial port 6 detects that data exists, the main control chip 1 can wake up the LoRa antenna module 7 to send the received data, electric quantity confirmation is needed before sending, once an extreme condition of extremely low electric quantity occurs, if the action of waking up the LoRa antenna module 7 to send the received data is executed, the sending failure is likely to be caused, and even the data is lost;
therefore, the electric quantity detection is performed firstly, when the main control chip 1 judges that the electric quantity data of the power supply battery 3 is smaller than the wake-up threshold, that is, when the battery abnormality occurs, the support of the transmission of the LoRa antenna module 7 cannot be ensured, at this moment, the energy storage capacitor 5 which finishes energy storage before is connected to power supply, the energy storage capacitor 5 replaces the power supply battery 3 to supply power, at least the completion of the current data transmission of the LoRa antenna module 7 can be ensured, the normal data transmission under the power supply battery 3 with extremely low electric quantity is solved, and the loss risk of the data is avoided.
In example 2, the standard electric power value of the power supply battery 3 is set to be P, and the threshold value of the capacitive storage range is set to be 90% P-P.
90% P-P is the initial electricity value of the power supply battery 3, and the energy storage of the energy storage capacitor 5 is performed at this time, so that the influence on the normal power supply of the power supply battery 3 is small.
In example 3, the wake-up threshold is 1% p of the power supply value of the power supply battery 3.
By supplying power through the power supply battery 3, under some low-power consumption LoRa module applications, continuous power supply for 3-5 years can be theoretically satisfied, when the electric quantity of the power supply battery 3 is lower than 1% p, an abnormal condition generally occurs, or the duration is too long, and the electric quantity which is usually lower than 1% p cannot ensure that the support LoRa antenna module 7 completes one data transmission, and at the moment, the energy storage capacitor 5 is required to supply power.
Embodiment 4 further comprises step 5, after the LoRa antenna module 7 powered by the energy storage capacitor 5 transmits the data of the serial port 6, the LoRa module transmits a battery abnormal data packet to the LoRa networking control center, and the main control chip 1 controls the LoRa module to enter the sleep mode again.
After the data transmission is completed by adopting the energy storage capacitor 5 to supply power, a battery abnormal data packet needs to be sent to the LoRa networking control center, a remote worker is informed of the abnormal state of the LoRa module, an alarm module is set after the LoRa networking control center receives the battery abnormal data packet, the alarm module alarms and reminds the worker to perform treatment in time, and after the data is sent, the main control chip 1 should control the LoRa module to enter a sleep mode again, so that electric energy is saved as much as possible.
In embodiment 5, after the main control chip 1 wakes up the LoRa antenna module 7 of the LoRa module in the sleep mode, the baud of the LoRa antenna module 7 is less than or equal to 9600bps.
When the baud of the LoRa antenna module 7 is less than or equal to 9600bps, the master control chip 1 only wakes up the LoRa antenna module 7 when the serial port 6 detects that data needs to be transmitted in the sleep mode, and the data can be transmitted in the low power consumption mode in the sleep mode.
In embodiment 6, in step 2, the stored electric quantity of the storage capacitor 5 does not exceed 2% of the standard electric quantity value P of the power supply battery 3.
Under the normal 2%P electric quantity energy storage condition, the energy storage capacitor 5 can support the LoRa module to work for at least 1 week, and the charging and discharging process of the container is always a physical process without chemical reaction. The performance is stable unlike a battery using a chemical reaction. In the case of no use, the theoretical amount of electricity can be maintained for more than 1 year.
Embodiment 7, realizing data receiving and transmitting control in sleep mode based on low power consumption LoRa module, wherein the low power consumption LoRa module comprises a main control chip 1, a battery management chip 2, a power supply module, a pin module 10, a serial port 6 and a LoRa antenna module 7;
the power supply module comprises a power supply battery 3, a first electric control switch 8, a capacitor charging circuit 4, an energy storage capacitor 5 and a second electric control switch 9, wherein the battery management chip 2 collects electric quantity information of the power supply battery 3 and is in communication connection with the main control chip 1, the power supply battery 3 supplies power to each electric device, the power storage capacitor 5 is supplied with power through the first electric control switch 8 and the capacitor charging circuit 4, the energy storage capacitor 5 is connected with each electric device through the second electric control switch 9 to supply power, the main control chip 1 respectively controls execution actions of the first electric control switch 8 and the second electric control switch 9, the first electric control switch 8 is turned on, the energy storage capacitor 5 charges the energy storage capacitor 5 through the capacitor charging circuit 4, and the second electric control switch 9 is turned on, so that the energy storage capacitor 5 supplies power to each electric device;
the lowest baud rate of the serial port 6 is lower than 9600bps, the serial port 6 is directly connected with the main control chip 1, and when the baud rate of the serial port 6 is lower than or equal to 9600bps, user data is received and responded in a sleep mode without additional wake-up operation;
the LoRa antenna module 7 is in communication connection with the main control chip 1 through the pin module 10, and the main control chip 1 controls the execution action of the LoRa antenna module 7 and controls the operation baud rate of the LoRa antenna module 7.
The first electric control switch 8 and the second electric control switch 9 are all electric control PMOS tubes, the energy storage capacitor 5 is a super capacitor, and the first electric control switch 8, the second electric control switch 9 and the energy storage capacitor 5 are all connected to a circuit board of the low-power-consumption LoRa module in a welding mode; the LoRa antenna module 7 is a LoRa wireless spread spectrum module SX1276.
The on-off control of the circuit can be realized under the control of the main control chip 1 by the electric control PMOS tube, the power consumption is extremely low, the power supply battery 3 can supply power to the energy storage capacitor 5 through the capacitor charging circuit 4, under the control of the main control chip 1, the charging of the energy storage capacitor 5 can be realized by switching on the first electric control switch 8, the charging time is controllable, the super capacitor can realize the charging within a few seconds generally, the normal operation of the low-power consumption LoRa module is not influenced, the super capacitor can supply power to the whole low-power consumption LoRa module by switching on the second electric control switch 9, the power supply requirement of the power supply battery 3 in an extreme state in an ultralow power mode is met, the more stable power supply backup requirement can be realized by adopting only one power supply battery 3, the effect is different from the mode of adopting the standby battery, the situation that the extremely low power supply battery 3 is caused is likely to cause the same situation of the standby battery, for example, the severe vibration situation is greatly caused, the weight of the battery is far greater than the capacitor, and the backup situation of the super capacitor is better than the standby battery.
The serial port 6 is a low-power UART communication serial port, the receiving end is used for docking data sources, the transmitting end is directly docked with the main control chip 1, and the using baud rate is adjustable between 1200bps and 115200bps.
The serial port 6 adopts a low-power UART communication serial port, supports the adjustable baud rate and is set to be in a range of 1200bps to 115200bps. When the baud rate is not higher than 9600bps, serial data of a user can be received and responded in a dormant state without additional wake-up operation, and when the baud rate is higher than 9600bps, a wakeup pin is required to be operated to wake up the module.
In embodiment 8, the pin module 10 includes a sending status indication pin, a receiving status indication pin, an AT configuration pin, a module serial input pin, a module serial output pin, a module wake-up pin, a module reset pin, a power input pin, a radio frequency antenna interface pin, a start mode selection pin, and a plurality of reserved pins;
the serial port 6 sends data to the main control chip 1 through a module serial port input pin, and the main control chip 1 sends instruction data to the serial port 6 through a module serial port output pin;
the main control chip 1 is in communication connection with the LoRa antenna module 7 through a radio frequency antenna interface pin.
The low-power consumption LoRa module adopts low-power consumption serial port design and supports an air wake-up mechanism (corresponding to LCP parameters: link monitoring period). Corresponding usage scenario:
1. if only uploading is performed and no receiving occasion is performed, the configuration of the LCP can be maximum (namely, full OXFFF, unit second), and the module automatically and deeply sleeps when no serial port is input. When the serial port has a data port, the serial port is automatically awakened and data is pushed. Therefore, HL9 not only supports transmitting data AT low power consumption, but also can operate using AT commands. The baud rate of the low-power serial port is less than or equal to 9600;
2. if uplink and downlink are needed and the downlink rule is unknown, the module needs to receive at any time. If the power consumption is not required, the default LCP is configured to be 0, namely a transparent continuous receiving mode, and is similar to LoRaWANClassC. If there is a power consumption requirement, it is necessary to compromise power consumption and reception by configuring LCP values. The LCP is in a sleep period, the monitoring of the LoRa signal is started when the period is up, the default granularity is 1 second, and the shortest wake-up response is 1 second. If a faster wakeup period is required, secondary development and burning can be performed with reference to the HL 9-SDK. The faster the wake-up, the shorter the sleep time, and the higher the wake-up frequency, the higher the power consumption.
3. If uplink and downlink are needed, the downlink is sent and received after being sent, namely the LoRaWANClassA mode. The old version may be actively dormant after the transmission is completed, after a period of time has elapsed since receipt, and a new transmission request may be made to cycle the operation again. The configuration of the receiving window is supported, and the receiving window is configured by the command AT+RXW (the function is to open RXW seconds for receiving after the completion of the transmission, note that the function needs to configure the LCP because the purpose of opening the receiving window is to save power consumption because the module can enter into dormancy after the window time is exceeded).
The above embodiments are not intended to limit the scope of the present invention, and therefore: all equivalent changes in structure, shape and principle of the invention should be covered in the scope of protection of the invention.

Claims (10)

1. A dormant mode data receiving and transmitting control method of a LoRa module is characterized in that: the method comprises the following steps:
step 1, a main control chip (1) of a LoRa module acquires electric quantity data of a power supply battery (3) of a battery management chip (2) at intervals of set time;
step 2, setting a capacitor energy storage range threshold, and when the main control chip (1) judges that the electric quantity of the power supply battery (3) is within the capacitor energy storage range threshold, controlling the capacitor charging circuit (4) to be started by the main control chip (1), and supplying power to the energy storage capacitor (5) through the capacitor charging circuit (4) by the power supply battery (3), wherein the set electric quantity is stored in the energy storage capacitor (5);
step 3, the main control chip (1) controls the LoRa module to enter a dormant mode, in the dormant mode, the serial port (6) is set to be in a working state, when the serial port (6) detects that data exists, the main control chip (1) communicates with the battery management chip (2) to confirm the electric quantity data of the power supply battery (3), and if the main control chip (1) judges that the electric quantity data of the power supply battery (3) is greater than or equal to a wake-up threshold value, the main control chip (1) controls the LoRa antenna module (7) of the wake-up LoRa module to wirelessly transmit the data of the serial port (6);
and 4, if the main control chip (1) judges that the electric quantity data of the power supply battery (3) is smaller than the wake-up threshold value, the main control chip (1) controls the energy storage capacitor (5) to be connected into power supply, and then controls the LoRa antenna module (7) of the wake-up LoRa module to wirelessly transmit the data of the serial port (6).
2. The method for controlling dormant mode data transceiving of a LoRa module according to claim 1, wherein: and the standard electric quantity value of the power supply battery (3) is set as P, and the threshold value of the capacitive energy storage range is set as 90% P-P.
3. The method for controlling dormant mode data transceiving of a LoRa module according to claim 2, wherein: the wake-up threshold is 1% P of the power value of the power supply battery (3).
4. A method for controlling dormant mode data transceiving of a LoRa module according to claim 3, wherein: and 5, after the LoRa antenna module (7) powered by the energy storage capacitor (5) transmits the data of the serial port (6), the LoRa module transmits a battery abnormal data packet to the LoRa networking control center, and the main control chip (1) controls the LoRa module to enter the sleep mode again.
5. The method for controlling dormant mode data transceiving of a LoRa module according to claim 4, wherein: after the main control chip (1) wakes up the LoRa antenna module (7) of the LoRa module in the sleep mode, the baud of the LoRa antenna module (7) is less than or equal to 9600bps.
6. The method for controlling dormant mode data transceiving of a LoRa module according to claim 5, wherein: in the step 2, the stored electric quantity of the energy storage capacitor (5) is not more than 2% of the standard electric quantity value of the power supply battery (3).
7. The method for controlling dormant mode data transceiving of a LoRa module according to claim 6, wherein: the method comprises the steps of realizing data receiving and transmitting control in a sleep mode based on a low-power consumption LoRa module, wherein the low-power consumption LoRa module comprises a main control chip (1), a battery management chip (2), a power supply module, a pin module (10), a serial port (6) and a LoRa antenna module (7);
the power supply module comprises a power supply battery (3), a first electric control switch (8), a capacitor charging circuit (4), an energy storage capacitor (5) and a second electric control switch (9), wherein the battery management chip (2) collects electric quantity information of the power supply battery (3) and is in communication connection with the main control chip (1), the power supply battery (3) supplies power for each electric device, the energy storage capacitor (5) is powered through the first electric control switch (8) and the capacitor charging circuit (4), the energy storage capacitor (5) is connected to supply power for each electric device through the second electric control switch (9), the main control chip (1) respectively controls execution actions of the first electric control switch (8) and the second electric control switch (9), the energy storage capacitor (5) is powered through the capacitor charging circuit (4), and the energy storage capacitor (5) is powered through the second electric control switch (9);
the lowest baud rate of the serial port (6) is lower than 9600bps, the serial port (6) is directly connected with the main control chip (1), and when the baud rate of the serial port (6) is lower than or equal to 9600bps, user data is received and responded in a sleep mode, and no additional wake-up operation is needed;
the LoRa antenna module (7) is in communication connection with the main control chip (1) through the pin module (10), and the main control chip (1) controls the execution action of the LoRa antenna module (7) and controls the operation baud rate of the LoRa antenna module (7).
8. The method for controlling dormant mode data transceiving of a LoRa module according to claim 7, wherein: the first electric control switch (8) and the second electric control switch (9) are all electric control PMOS tubes, the energy storage capacitor (5) is a super capacitor, and the first electric control switch (8), the second electric control switch (9) and the energy storage capacitor (5) are connected to a circuit board of the low-power consumption LoRa module in a welding mode; the LoRa antenna module (7) is a LoRa wireless spread spectrum module SX1276.
9. The method for controlling dormant mode data transceiving of a LoRa module according to claim 8, wherein: the serial port (6) is a low-power UART communication serial port, the receiving end is used for docking data sources, the transmitting end is directly docked with the main control chip (1), and the using baud rate is adjustable from 1200bps to 115200bps.
10. The method for controlling dormant mode data transceiving of a LoRa module according to claim 9, wherein: the pin module (10) comprises a sending state indication pin, a receiving state indication pin, an AT configuration pin, a module serial port input pin, a module serial port output pin, a module awakening pin, a module resetting pin, a power supply input pin, a radio frequency antenna interface pin, a starting mode selection pin and a plurality of reserved pins;
the serial port (6) transmits data to the main control chip (1) through a module serial port input pin, and the main control chip (1) transmits instruction data to the serial port (6) through a module serial port output pin;
the main control chip (1) is in communication connection with the LoRa antenna module (7) through a radio frequency antenna interface pin.
CN202311222362.0A 2023-09-21 2023-09-21 Sleep mode data receiving and transmitting control method of LoRa module Pending CN116963244A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311222362.0A CN116963244A (en) 2023-09-21 2023-09-21 Sleep mode data receiving and transmitting control method of LoRa module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311222362.0A CN116963244A (en) 2023-09-21 2023-09-21 Sleep mode data receiving and transmitting control method of LoRa module

Publications (1)

Publication Number Publication Date
CN116963244A true CN116963244A (en) 2023-10-27

Family

ID=88449723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311222362.0A Pending CN116963244A (en) 2023-09-21 2023-09-21 Sleep mode data receiving and transmitting control method of LoRa module

Country Status (1)

Country Link
CN (1) CN116963244A (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107884020A (en) * 2017-10-23 2018-04-06 苏州燃气集团有限责任公司 A kind of low-power consumption gauge table and its system using NB IoT frameworks
CN209149462U (en) * 2018-11-15 2019-07-23 郑州润无声物联网技术有限公司 A kind of gas meter, flow meter module
CN209434916U (en) * 2019-01-30 2019-09-24 长沙帝浩电子有限公司 A kind of protection board of high-power high-voltage lithium battery
CN111092631A (en) * 2019-12-31 2020-05-01 成都麦杰康科技有限公司 433M communication system for realizing low power consumption
CN111497768A (en) * 2020-04-20 2020-08-07 吉利汽车研究院(宁波)有限公司 Vehicle auxiliary power supply method and system based on super capacitor
CN111525650A (en) * 2020-05-27 2020-08-11 德施曼机电(中国)有限公司 Intelligent lock battery management method
CN111912495A (en) * 2020-08-13 2020-11-10 中水智联(深圳)技术有限公司 Low-power-consumption multifunctional radar water level gauge
CN112468987A (en) * 2020-10-22 2021-03-09 江西裕丰智能农业科技有限公司 Novel agricultural data acquisition intelligent terminal
WO2021179885A1 (en) * 2020-03-09 2021-09-16 Oppo广东移动通信有限公司 Vehicle energy storage early warning method, terminal device, vehicle, vehicle key, and medium
CN215042224U (en) * 2021-03-23 2021-12-07 比亚迪股份有限公司 Vehicle-mounted low-voltage battery intelligent power supply system and electric vehicle
CN115102270A (en) * 2022-06-02 2022-09-23 深圳矽递科技股份有限公司 Power utilization control method and system and readable storage medium
WO2023001226A1 (en) * 2021-07-23 2023-01-26 北京车和家信息技术有限公司 Wake-up control device and vehicle
CN116086540A (en) * 2023-01-10 2023-05-09 成都飞英思特科技有限公司 Industrial equipment state monitoring method, system and storage medium
CN219145069U (en) * 2022-12-29 2023-06-06 欣旺达电动汽车电池有限公司 Storage battery charging awakening circuit and device

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107884020A (en) * 2017-10-23 2018-04-06 苏州燃气集团有限责任公司 A kind of low-power consumption gauge table and its system using NB IoT frameworks
CN209149462U (en) * 2018-11-15 2019-07-23 郑州润无声物联网技术有限公司 A kind of gas meter, flow meter module
CN209434916U (en) * 2019-01-30 2019-09-24 长沙帝浩电子有限公司 A kind of protection board of high-power high-voltage lithium battery
CN111092631A (en) * 2019-12-31 2020-05-01 成都麦杰康科技有限公司 433M communication system for realizing low power consumption
WO2021179885A1 (en) * 2020-03-09 2021-09-16 Oppo广东移动通信有限公司 Vehicle energy storage early warning method, terminal device, vehicle, vehicle key, and medium
CN111497768A (en) * 2020-04-20 2020-08-07 吉利汽车研究院(宁波)有限公司 Vehicle auxiliary power supply method and system based on super capacitor
CN111525650A (en) * 2020-05-27 2020-08-11 德施曼机电(中国)有限公司 Intelligent lock battery management method
CN111912495A (en) * 2020-08-13 2020-11-10 中水智联(深圳)技术有限公司 Low-power-consumption multifunctional radar water level gauge
CN112468987A (en) * 2020-10-22 2021-03-09 江西裕丰智能农业科技有限公司 Novel agricultural data acquisition intelligent terminal
CN215042224U (en) * 2021-03-23 2021-12-07 比亚迪股份有限公司 Vehicle-mounted low-voltage battery intelligent power supply system and electric vehicle
WO2023001226A1 (en) * 2021-07-23 2023-01-26 北京车和家信息技术有限公司 Wake-up control device and vehicle
CN115102270A (en) * 2022-06-02 2022-09-23 深圳矽递科技股份有限公司 Power utilization control method and system and readable storage medium
CN219145069U (en) * 2022-12-29 2023-06-06 欣旺达电动汽车电池有限公司 Storage battery charging awakening circuit and device
CN116086540A (en) * 2023-01-10 2023-05-09 成都飞英思特科技有限公司 Industrial equipment state monitoring method, system and storage medium

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
江苏芮捷智能科技: "Rejeee LoRa HL9/HL10模组用户手册", 《知乎》, 18 July 2023 (2023-07-18) *
江苏芮捷智能科技: "邮票孔LoRa模组选型指南", 《知乎》, 9 September 2023 (2023-09-09) *
芮捷官网: "HL10模组硬件手册", 《WWW.REJEEE.COM》, 14 September 2022 (2022-09-14) *
金鑫;黄博阳;申妍华;: "基于无线IoTE传感器的新型高效唤醒机制", 南方电网技术, no. 08, 20 August 2020 (2020-08-20) *
雷宇;: "基于LoRa的学生宿舍智能抄表系统设计", 机电工程技术, no. 08, 26 August 2018 (2018-08-26) *
韩雨龙;薛志超;文丰;: "低功耗热电偶无线传感器节点设计与实现", 电子测量技术, no. 15, 8 August 2020 (2020-08-08) *

Similar Documents

Publication Publication Date Title
CN102892184B (en) One realizes Zigbee module list live wire or battery powered apparatus and method
CN111007781A (en) Control method and system of environment monitoring device
JP2002026812A (en) Power source control apparatus, receiving device for remote controller and optical communication apparatus
US8140129B2 (en) Mobile phone terminal and communication system
CN105656167A (en) Passive wireless sensor node power supply circuit based on vibration energy harvesters
CN207937961U (en) The dormancy awakening system of remote information processor
JP2007067829A (en) Battery-driven communication device and communication method
CN110337139B (en) Low-power-consumption control method based on wireless sensor and wireless sensor
CN113261348A (en) Signal repeater device operable in low power repeater mode of operation
CN113765679B (en) Computer network awakening method and system
JP2015057039A (en) Smart battery provided with power-supply voltage management electronic circuit
CN108200554B (en) Narrow-band Internet of things instrument based on PSM and eDRX, communication method and system
CN112616178A (en) Energy consumption management method and device, electronic equipment and storage medium
CN110572869A (en) equipment awakening method and device based on BLE and Hall switch
CN108495361B (en) Electronic tag, data exchange host and electronic tag system
CN108964162A (en) A kind of battery management system wake-up system and a kind of DC/DC converter
CN116963244A (en) Sleep mode data receiving and transmitting control method of LoRa module
CN116367283A (en) Method for reducing power consumption, passive NFC chip and storage medium
Coulibaly et al. Occupancy-aware power saving for smart parking iot sensors
KR102333814B1 (en) Energy harvesting system, apparatus and method for performing long distance wakeup
CN106452647A (en) Radio frequency device and wireless sensor network system
CN103888271A (en) WIA-PA wireless network adapter power supply circuit
CN209057212U (en) A kind of super long standby time positioning device based on NB-IOT
CN108366415B (en) Method and equipment for supplying power to LPWA equipment
KR20220001976A (en) Battery management system and communication method thereof

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