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.)
Granted
Application number
CN202311222362.0A
Other languages
Chinese (zh)
Other versions
CN116963244B (en
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/CN116963244B/en
Publication of CN116963244A publication Critical patent/CN116963244A/en
Application granted granted Critical
Publication of CN116963244B publication Critical patent/CN116963244B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] 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

一种LoRa模块的休眠模式数据收发控制方法A sleep mode data sending and receiving control method for LoRa modules

技术领域Technical field

本发明涉及低功耗模式下无线通信技术领域,尤其是涉及一种LoRa模块的休眠模式数据收发控制方法。The present invention relates to the technical field of wireless communication in low power consumption mode, and in particular to a sleep mode data transmission and reception control method of a LoRa module.

背景技术Background technique

LoRa串口透传通信模块,具有结构紧凑、功耗低的特点。模块为工业级标准设计,采用高性能工业级芯片解决方案实现LoRa网络数据传输可快速开发部署LoRa网络,实现远距离低功耗的控制和数据采集的目的。在应用中使用该模块能够大大减少产品开发的时间。The LoRa serial port transparent communication module has the characteristics of compact structure and low power consumption. The module is designed to industrial standards and uses high-performance industrial-grade chip solutions to realize LoRa network data transmission, which can quickly develop and deploy LoRa networks to achieve long-distance, low-power control and data collection purposes. Using this module in your application can significantly reduce product development time.

目前,为了适应不同应用场景,通常LoRa模块设有多种工作模式,常见的是:正常收发模式、睡眠模式、休眠模式等。不同公司生产的LoRa模块的工作模式定义有所不同,不管是哪种说法,其中休眠模式代表着最低功耗的工作模式。At present, in order to adapt to different application scenarios, LoRa modules usually have multiple working modes. The common ones are: normal transceiver mode, sleep mode, hibernation mode, etc. The working mode definitions of LoRa modules produced by different companies are different. No matter which way you say it, the sleep mode represents the lowest power consumption working mode.

休眠模式,是指LoRa模块进入最低功耗。在该模式下工作的部件有SPI接口:在低功耗模式下,预先主控芯片通过SPI接口唤醒射频芯片,进入standby模式。Regulator稳压器,用于保证SPI接口所需电压,该电源来自VBAT,即电池电压。RC64K低频晶体振荡电路:用于保证SPI接口所需要参考时钟。SLEEP模式下,射频芯片绝大多数电路都处于休眠状态,只有SPI接口是可以访问的。实际上,访问SPI的时候,主控芯片会置位NSS位,该信号就能够把射频芯片从sleep模式下唤醒。Sleep mode means that the LoRa module enters the lowest power consumption. The components that work in this mode have the SPI interface: in the low-power mode, the pre-main control chip wakes up the RF chip through the SPI interface and enters the standby mode. Regulator is a voltage regulator used to ensure the voltage required by the SPI interface. The power source comes from VBAT, which is the battery voltage. RC64K low-frequency crystal oscillator circuit: used to ensure the reference clock required by the SPI interface. In SLEEP mode, most circuits of the radio frequency chip are in sleep state, and only the SPI interface is accessible. In fact, when accessing SPI, the main control chip will set the NSS bit, and this signal can wake up the radio frequency chip from sleep mode.

然而在极端工况下,采用电池供电的LoRa模块的供电电池可能都不能完成休眠模式下的唤醒,或者是唤醒后无法完成一次正常的发送,造成这种工况可能是异常振动导致重量较大LoRa模块供电电池产生不可控的位移导致供电中断,这种工况下如何保证传感器采集的关键数据的传输是亟需解决的技术问题。However, under extreme working conditions, the power supply battery of the battery-powered LoRa module may not be able to complete the wake-up from sleep mode, or may not be able to complete a normal transmission after waking up. The cause of this working condition may be abnormal vibration leading to heavy weight. Uncontrollable displacement of the LoRa module power supply battery causes power supply interruption. How to ensure the transmission of key data collected by the sensor under this working condition is an urgent technical problem that needs to be solved.

发明内容Contents of the invention

为了解决现有技术中的技术问题,本发明提供一种LoRa模块的休眠模式数据收发控制方法。采用如下的技术方案:In order to solve the technical problems in the prior art, the present invention provides a sleep mode data transmission and reception control method of a LoRa module. Adopt the following technical solutions:

一种LoRa模块的休眠模式数据收发控制方法,包括以下步骤:A sleep mode data sending and receiving control method for a LoRa module, including the following steps:

步骤1,LoRa模块的主控芯片每隔设定时间获取电池管理芯片的供电电池电量数据;Step 1. The main control chip of the LoRa module obtains the battery power data of the battery management chip at every set time;

步骤2,设置电容储能范围阈值,当主控芯片判断供电电池电量位于电容储能范围阈值之内时,主控芯片控制电容充电电路开启,供电电池通过电容充电电路为储能电容供电,储能电容存储设定电量;Step 2: Set the capacitor energy storage range threshold. When the main control chip determines that the power supply battery is within the capacitor energy storage range threshold, the main control chip controls the capacitor charging circuit to open, and the power supply battery supplies power to the energy storage capacitor through the capacitor charging circuit. The capacitor can store the set power;

步骤3,主控芯片控制LoRa模块进入休眠模式,休眠模式下,设置串口处于工作状态,串口检测到有数据时,主控芯片与电池管理芯片通信确认供电电池电量数据,若主控芯片判断供电电池电量数据大于等于唤醒阈值,则主控芯片控制唤醒LoRa模块的LoRa天线模块将串口的数据进行无线发送;Step 3. The main control chip controls the LoRa module to enter sleep mode. In the sleep mode, set the serial port to be in working state. When the serial port detects data, the main control chip communicates with the battery management chip to confirm the power supply battery power data. If the main control chip determines that the power supply If the battery power data is greater than or equal to the wake-up threshold, the main control chip controls the LoRa antenna module to wake up the LoRa module and send the serial port data wirelessly;

步骤4,若主控芯片判断供电电池电量数据小于唤醒阈值,则主控芯片控制储能电容接入供电,后控制唤醒LoRa模块的LoRa天线模块将串口的数据进行无线发送。Step 4. If the main control chip determines that the power supply battery power data is less than the wake-up threshold, the main control chip controls the energy storage capacitor to connect to the power supply, and then controls the LoRa antenna module to wake up the LoRa module to wirelessly send the serial port data.

通过采用上述技术方案,在正常供电时,也就是主控芯片通过采集电池管理芯片的检测数据判断供电电池电量位于电容储能范围阈值之内时,电容储能范围阈值是指供电电池处于较高电量状态下,此时需要在储能电容内进行储能,储能的电量一般占用供电电池较小的电量,不会对供电电池正常工作产生较大影响,储能电容存储的电量能持续较长时间;By adopting the above technical solution, during normal power supply, that is, when the main control chip determines that the power of the power supply battery is within the capacitor energy storage range threshold by collecting the detection data of the battery management chip, the capacitor energy storage range threshold means that the power supply battery is at a higher level. In the power state, energy needs to be stored in the energy storage capacitor at this time. The stored energy generally occupies a small amount of power in the power supply battery and will not have a major impact on the normal operation of the power supply battery. The power stored in the energy storage capacitor can last longer. long time;

在进入到休眠模式后,串口和主控芯片直接连接,可以在串口检测到有数据时,主控芯片可以唤醒LoRa天线模块将接收到的数据进行发送,在发送前需要进行电量确认,一旦出现电量极低的极端情况,若还是执行唤醒LoRa天线模块将接收到的数据进行发送的动作,很有可能导致发送失败,甚至造成数据的丢失;After entering the sleep mode, the serial port and the main control chip are directly connected. When the serial port detects data, the main control chip can wake up the LoRa antenna module to send the received data. The power needs to be confirmed before sending. Once the In extreme situations where the battery is extremely low, if you still perform the action of waking up the LoRa antenna module to send the received data, it is likely to cause the transmission to fail or even cause data loss;

因此先进行电量检测,当主控芯片判断供电电池电量数据小于唤醒阈值,也就是出现电池异常时,此时不能确保支持LoRa天线模块进行发送,此时需要将之前完成储能的储能电容接入供电,储能电容代替供电电池进行供电,至少能确保LoRa天线模块完成当次数据发送,解决了极端低电量的供电电池下正常发送数据,避免数据的丢失风险。Therefore, power detection is performed first. When the main control chip determines that the battery power data is less than the wake-up threshold, that is, when a battery abnormality occurs, it cannot ensure that the LoRa antenna module is supported for transmission. At this time, the energy storage capacitor that has completed energy storage needs to be connected. The energy storage capacitor replaces the power supply battery for power supply, which at least ensures that the LoRa antenna module completes the current data transmission, solves the problem of normal data transmission under extremely low-power power supply batteries, and avoids the risk of data loss.

可选的,设供电电池的标准电量值为P,电容储能范围阈值为90%P-P。Optional, assume that the standard power value of the power supply battery is P, and the capacitor energy storage range threshold is 90%P-P.

通过采用上述技术方案,90%P-P为供电电池的使用初期的电量值,在此时进行储能电容的储能,对供电电池的正常供电影响较小。By adopting the above technical solution, 90%P-P is the power value of the power supply battery at the initial stage of use. The energy storage capacitor is stored at this time, which has little impact on the normal power supply of the power supply battery.

可选的,唤醒阈值为供电电池的电量值的1%P。Optional, the wake-up threshold is 1%P of the power value of the power supply battery.

通过采用上述技术方案,通过供电电池的供电,在一些低功耗的LoRa模块应用下,理论上可满足3-5年的持续供电,在供电电池的电量低于1%P时,一般是出现了异常情况,或是持续时间过长,通常低于1%P的电量不能确保支撑LoRa天线模块完成一次数据发送,此时需要采用储能电容供电。By adopting the above technical solution, through the power supply of the power supply battery, in some low-power LoRa module applications, theoretically it can meet the continuous power supply for 3-5 years. When the power of the power supply battery is less than 1%P, the problem usually occurs. In the event of an abnormal situation or the duration is too long, the power usually lower than 1%P cannot ensure that the LoRa antenna module can complete a data transmission. At this time, an energy storage capacitor is required for power supply.

可选的,还包括步骤5,LoRa模块采用储能电容供电LoRa天线模块发送完串口的数据后,向LoRa组网控制中心发送电池异常数据包,主控芯片再次控制LoRa模块进入休眠模式。Optionally, step 5 is also included. The LoRa module uses energy storage capacitor to power the LoRa antenna module. After sending the serial port data, it sends a battery abnormality data packet to the LoRa network control center. The main control chip controls the LoRa module to enter sleep mode again.

通过采用上述技术方案,在采用储能电容供电完成数据传输后,需要向LoRa组网控制中心发送电池异常数据包,通知远端的工作人员该LoRa模块的异常状态,LoRa组网控制中心接收到该电池异常数据包后,还应当设置报警模块,报警模块报警提醒工作人员及时进行处置,在发送完数据后,主控芯片应当再次控制LoRa模块进入休眠模式,尽可能地节省电能。By adopting the above technical solution, after data transmission is completed using energy storage capacitor power supply, a battery abnormal data packet needs to be sent to the LoRa network control center to notify the remote staff of the abnormal status of the LoRa module. The LoRa network control center receives After the battery abnormal data packet, an alarm module should also be set up. The alarm module will alarm and remind the staff to deal with it in time. After sending the data, the main control chip should control the LoRa module to enter sleep mode again to save power as much as possible.

可选的,主控芯片唤醒休眠模式下的LoRa模块的LoRa天线模块后,LoRa天线模块的波特小于等于9600bps。Optionally, after the main control chip wakes up the LoRa antenna module of the LoRa module in sleep mode, the baud of the LoRa antenna module is less than or equal to 9600bps.

通过采用上述技术方案,LoRa天线模块的波特小于等于9600bps的情况下,可以在休眠模式下实现串口检测到有数据时需要发送时,主控芯片只唤醒LoRa天线模块,可在休眠模式下低功耗模式下实现数据的发送。By adopting the above technical solution, when the baud rate of the LoRa antenna module is less than or equal to 9600bps, it can be realized in the sleep mode that when the serial port detects data and needs to be sent, the main control chip only wakes up the LoRa antenna module. Implement data transmission in power consumption mode.

可选的,步骤2中,储能电容存储电量不超过供电电池的标准电量值为P的2%。Optionally, in step 2, the energy stored in the energy storage capacitor does not exceed 2% of the standard energy value of the power supply battery, which is P.

通过采用上述技术方案,通常2%P电量的储能情况下,储能电容能支持LoRa模块工作至少1周时间,且容器的充放电过程始终是物理过程,没有化学反应。因此性能是稳定的,与利用化学反应的蓄电池是不同的。在不使用的情况下,理论上电量可以维持1年以上。By adopting the above technical solution, usually under the energy storage condition of 2%P power, the energy storage capacitor 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 and there is no chemical reaction. Therefore, the performance is stable, which is different from batteries that use chemical reactions. When not in use, the battery can theoretically last for more than 1 year.

可选的,基于低功耗LoRa模块实现休眠模式下数据收发控制,所述低功耗LoRa模块包括主控芯片、电池管理芯片、供电模块、引脚模块、串口和LoRa天线模块;Optionally, implement data transceiver control in sleep mode based on a low-power LoRa module. The low-power LoRa module includes 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 includes a power supply battery, a first electronically controlled switch, a capacitor charging circuit, an energy storage capacitor and a second electronically controlled switch. The battery management chip collects the power information of the power supply battery and communicates with the main control chip. The power supply battery supplies power to each electrical device, and supplies power to the energy storage capacitor through the first electronically controlled switch and the capacitor charging circuit. The energy storage capacitor is connected through the second electronically controlled switch to power each electrical device. The main control chip controls respectively The execution actions of the first electronically controlled switch and the second electronically controlled switch are achieved by turning on the first electronically controlled switch to realize charging of the energy storage capacitor through the capacitor charging circuit, and by turning on the second electronically controlled switch to realize the energy storage capacitor. Provide power to various electrical devices;

所述串口的使用最低波特率低于9600bps,串口与主控芯片直接连接,且当串口使用波特率小于等于9600bps时,在休眠模式下接收并响应用户数据,无需额外进行唤醒操作;The minimum baud rate used by the serial port is lower than 9600bps, the serial port is directly connected to the main control chip, and when the baud rate used by the serial port is less than or equal to 9600bps, user data is received and responded to in sleep mode without additional wake-up operations;

所述LoRa天线模块通过引脚模块与主控芯片通信连接,所述主控芯片控制LoRa天线模块的执行动作,并控制LoRa天线模块的运行波特率。The LoRa antenna module is communicatively connected to the main control chip through the pin module. The main control chip controls the execution actions of the LoRa antenna module and controls the operating baud rate of the LoRa antenna module.

可选的,第一电控开关和第二电控开关均是电控PMOS管,所述储能电容是超级电容,所述第一电控开关、第二电控开关和储能电容均通过焊接的方式接入到低功耗LoRa模块的电路板;所述LoRa天线模块是LoRa无线扩频模块SX1276。Optionally, the first electronically controlled switch and the second electronically controlled switch are both electronically controlled PMOS tubes, the energy storage capacitor is a supercapacitor, and the first electronically controlled switch, the second electronically controlled switch and the energy storage capacitor all pass Connect to the circuit board of the low-power LoRa module by welding; the LoRa antenna module is the LoRa wireless spread spectrum module SX1276.

通过采用上述技术方案,电控PMOS管可在主控芯片的控制下实现电路的通断控制,功耗极低,供电电池可以实现通过电容充电电路为储能电容供电,在主控芯片的控制下,第一电控开关接通就可以实现储能电容的充电,充电时间可控,超级电容一般几秒就可以实现充能,不影响低功耗LoRa模块的正常运行,第二电控开关的开启可以实现超级电容为整个低功耗LoRa模块供电,满足极端状态供电电池电量超低模式下的供电需求,实现只采用一个供电电池就可以实现更加稳定的供电备份需求,其效果有别于采用备用电池的模式,因为造成供电电池出现极低电量的情况很有可能导致备用电池也出现同样的状况,例如剧烈振动情况,电池的重量远远大于电容,因此超级电容的备份情况其稳定性要好于备用电池。By adopting the above technical solution, the electronically controlled PMOS tube can realize the on-off control of the circuit under the control of the main control chip, with extremely low power consumption. The power supply battery can supply power to the energy storage capacitor through the capacitor charging circuit. Under the control of the main control chip When the first electronically controlled switch is turned on, the energy storage capacitor can be charged. The charging time is controllable. The supercapacitor can generally be charged in a few seconds without affecting the normal operation of the low-power LoRa module. The second electronically controlled switch By turning on, the supercapacitor can be used to power the entire low-power LoRa module to meet the power supply needs in extreme low-power battery modes. It can achieve more stable power supply backup needs by using only one power supply battery. Its effect is different from Use the backup battery mode, because the extremely low power of the power supply battery is likely to cause the same situation in the backup battery, such as severe vibration. The weight of the battery is much greater than the capacitor, so the backup status of the supercapacitor is unstable. Better than battery backup.

可选的,所述串口是低功耗UART通信串口,接收端用于对接数据来源,发送端直接对接主控芯片,使用波特率在1200bps到115200bps之间可调。Optionally, the serial port is a low-power UART communication serial port. The receiving end is used to connect to the data source, and the sending end is directly connected to the main control chip. The baud rate is adjustable between 1200bps and 115200bps.

通过采用上述技术方案,串口采用低功耗UART通信串口,支持波特率可调,设置范围1200bps到115200bps。当使用波特率不高于9600bps时,可在休眠状态下接收并响应用户的串口数据,无需额外唤醒操作,当使用波特率高于9600bps时,则需要操作wakeup引脚对模块进行唤醒。By adopting the above technical solution, the serial port uses a low-power UART communication serial port, which supports adjustable baud rate and a setting range of 1200bps to 115200bps. When the baud rate is not higher than 9600bps, it can receive and respond to the user's serial port data in the sleep state without additional wake-up operations. When the baud rate is higher than 9600bps, you need to operate the wakeup pin to wake up the module.

可选的,引脚模块包括发送状态指示引脚、接收状态指示引脚、AT配置引脚、模块串口输入引脚、模块串口输出引脚、模块唤醒引脚、模块复位引脚、电源输入引脚、射频天线接口引脚、启动模式选择引脚和多个保留引脚;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, and a power input pin. pins, RF antenna interface pins, startup mode selection pins and multiple reserved pins;

串口通过模块串口输入引脚向主控芯片发送数据,主控芯片通过模块串口输出引脚向串口发送指令数据;The serial port sends data to the main control chip through the module serial port input pin, and the main control chip sends command data to the serial port through the module serial port output pin;

主控芯片通过射频天线接口引脚与LoRa天线模块通信连接。The main control chip communicates with the LoRa antenna module through the radio frequency antenna interface pin.

综上所述,本发明包括以下至少一种有益技术效果:To sum up, the present invention includes at least one of the following beneficial technical effects:

本发明能提供一种LoRa模块的休眠模式数据收发控制方法,供电电池正常供电时,主控芯片控制LoRa天线模块的波特小于等于9600bps,可以在休眠模式下实现串口检测到有数据时需要发送时,主控芯片只唤醒LoRa天线模块,可在休眠模式下低功耗模式下实现数据的发送,实现休眠模式的超低功耗的数据发送;The present invention can provide a sleep mode data transceiver control method for the LoRa module. When the power supply battery is normally powered, the main control chip controls the baud of the LoRa antenna module to be less than or equal to 9600 bps. It can be realized in the sleep mode that the serial port detects data that needs to be sent. At this time, the main control chip only wakes up the LoRa antenna module, which can realize data transmission in the sleep mode and low power consumption mode, realizing ultra-low power consumption data transmission in the sleep mode;

在供电电池超低电量下,采用完成储能的超级电容进行供电,至少能确保LoRa天线模块完成当次数据发送,解决了极端低电量的供电电池下正常发送数据,避免数据的丢失风险。When the power supply battery is ultra-low, the use of supercapacitors that complete energy storage for power supply can at least ensure that the LoRa antenna module completes the current data transmission, solving the problem of normal data transmission under extremely low-power power batteries and avoiding the risk of data loss.

附图说明Description of the drawings

图1是本发明一种LoRa模块的休眠模式数据收发控制方法的流程示意图;Figure 1 is a schematic flow chart of a sleep mode data sending and receiving control method of a LoRa module according to the present invention;

图2是本发明低功耗LoRa模块的电器件连接原理示意图;Figure 2 is a schematic diagram of the electrical device connection principle of the low-power LoRa module of the present invention;

图3是本发明低功耗LoRa模块的引脚模块原理示意图。Figure 3 is a schematic diagram of the pin module of the low-power LoRa module of the present invention.

附图标记说明:1、主控芯片;2、电池管理芯片;3、供电电池;4、电容充电电路;5、储能电容;6、串口;7、LoRa天线模块;8、第一电控开关;9、第二电控开关;10、引脚模块。Explanation of reference signs: 1. Main control chip; 2. Battery management chip; 3. Power supply battery; 4. Capacitor charging circuit; 5. Energy storage capacitor; 6. Serial port; 7. LoRa antenna module; 8. First electronic control switch; 9. Second electronic control switch; 10. Pin module.

具体实施方式Detailed ways

以下结合附图对本发明作进一步详细说明。The present invention will be further described in detail below with reference to the accompanying drawings.

本发明实施例公开一种LoRa模块的休眠模式数据收发控制方法。The embodiment of the present invention discloses a sleep mode data transmission and reception control method of a LoRa module.

参照图1-图3,实施例1,一种LoRa模块的休眠模式数据收发控制方法,包括以下步骤:Referring to Figures 1-3, Embodiment 1, a sleep mode data transmission and reception control method of a LoRa module, includes the following steps:

步骤1,LoRa模块的主控芯片1每隔设定时间获取电池管理芯片2的供电电池3电量数据;Step 1: The main control chip 1 of the LoRa module obtains the power data of the power supply battery 3 of the battery management chip 2 at every set time;

步骤2,设置电容储能范围阈值,当主控芯片1判断供电电池3电量位于电容储能范围阈值之内时,主控芯片1控制电容充电电路4开启,供电电池3通过电容充电电路4为储能电容5供电,储能电容5存储设定电量;Step 2, set the capacitor energy storage range threshold. When the main control chip 1 determines that the power of the power supply battery 3 is within the capacitor energy storage range threshold, the main control chip 1 controls the capacitor charging circuit 4 to open, and the power supply battery 3 passes through the capacitor charging circuit 4. The energy storage capacitor 5 supplies power, and the energy storage capacitor 5 stores the set power;

步骤3,主控芯片1控制LoRa模块进入休眠模式,休眠模式下,设置串口6处于工作状态,串口6检测到有数据时,主控芯片1与电池管理芯片2通信确认供电电池3电量数据,若主控芯片1判断供电电池3电量数据大于等于唤醒阈值,则主控芯片1控制唤醒LoRa模块的LoRa天线模块7将串口6的数据进行无线发送;Step 3. The main control chip 1 controls the LoRa module to enter sleep mode. In the sleep mode, set the serial port 6 to be in the working state. When the serial port 6 detects data, the main control chip 1 communicates with the battery management chip 2 to confirm the power data of the power supply battery 3. If the main control chip 1 determines that the power data of the power supply battery 3 is greater than or equal to the wake-up threshold, the main control chip 1 controls the LoRa antenna module 7 to wake up the LoRa module and wirelessly transmit the data from the serial port 6;

步骤4,若主控芯片1判断供电电池3电量数据小于唤醒阈值,则主控芯片1控制储能电容5接入供电,后控制唤醒LoRa模块的LoRa天线模块7将串口6的数据进行无线发送。Step 4, if the main control chip 1 determines that the power data of the power supply battery 3 is less than the wake-up threshold, the main control chip 1 controls the energy storage capacitor 5 to connect to the power supply, and then controls the LoRa antenna module 7 to wake up the LoRa module to wirelessly send the data from the serial port 6 .

在正常供电时,也就是主控芯片1通过采集电池管理芯片2的检测数据判断供电电池3电量位于电容储能范围阈值之内时,电容储能范围阈值是指供电电池3处于较高电量状态下,此时需要在储能电容5内进行储能,储能的电量一般占用供电电池3较小的电量,不会对供电电池3正常工作产生较大影响,储能电容5存储的电量能持续较长时间;During normal power supply, that is, when the main control chip 1 determines that the power of the power supply battery 3 is within the capacitor energy storage range threshold by collecting the detection data of the battery management chip 2, the capacitor energy storage range threshold means that the power supply battery 3 is in a relatively high power state. At this time, energy needs to be stored in the energy storage capacitor 5. The energy stored in the energy storage capacitor 5 generally occupies a small amount of power in the power supply battery 3 and will not have a major impact on the normal operation of the power supply battery 3. The energy stored in the energy storage capacitor 5 can last for a longer period of time;

在进入到休眠模式后,串口6和主控芯片1直接连接,可以在串口6检测到有数据时,主控芯片1可以唤醒LoRa天线模块7将接收到的数据进行发送,在发送前需要进行电量确认,一旦出现电量极低的极端情况,若还是执行唤醒LoRa天线模块7将接收到的数据进行发送的动作,很有可能导致发送失败,甚至造成数据的丢失;After entering the sleep mode, the serial port 6 is directly connected to the main control chip 1. When the serial port 6 detects data, the main control chip 1 can wake up the LoRa antenna module 7 to send the received data. This needs to be done before sending. Battery confirmation. Once an extreme situation of extremely low battery occurs, if the action of waking up the LoRa antenna module 7 to send the received data is still performed, it is likely to cause the transmission to fail or even cause data loss;

因此先进行电量检测,当主控芯片1判断供电电池3电量数据小于唤醒阈值,也就是出现电池异常时,此时不能确保支持LoRa天线模块7进行发送,此时需要将之前完成储能的储能电容5接入供电,储能电容5代替供电电池3进行供电,至少能确保LoRa天线模块7完成当次数据发送,解决了极端低电量的供电电池3下正常发送数据,避免数据的丢失风险。Therefore, power detection is performed first. When the main control chip 1 determines that the power data of the power supply battery 3 is less than the wake-up threshold, that is, when a battery abnormality occurs, it cannot ensure that the LoRa antenna module 7 is supported for transmission. At this time, the storage device that has completed energy storage needs to be The energy capacitor 5 is connected to the power supply, and the energy storage capacitor 5 replaces the power supply battery 3 for power supply. This can at least ensure that the LoRa antenna module 7 completes the current data transmission, which solves the problem of normal data transmission under the extremely low-power power supply battery 3 and avoids the risk of data loss. .

实施例2,设供电电池3的标准电量值为P,电容储能范围阈值为90%P-P。Embodiment 2, assume that the standard electric quantity value of the power supply battery 3 is P, and the capacitor energy storage range threshold is 90%P-P.

90%P-P为供电电池3的使用初期的电量值,在此时进行储能电容5的储能,对供电电池3的正常供电影响较小。90%P-P is the power value of the power supply battery 3 at the initial stage of use. At this time, the energy storage capacitor 5 is stored, which has little impact on the normal power supply of the power supply battery 3.

实施例3,唤醒阈值为供电电池3的电量值的1%P。In Embodiment 3, the wake-up threshold is 1%P of the power value of the power supply battery 3 .

通过供电电池3的供电,在一些低功耗的LoRa模块应用下,理论上可满足3-5年的持续供电,在供电电池3的电量低于1%P时,一般是出现了异常情况,或是持续时间过长,通常低于1%P的电量不能确保支撑LoRa天线模块7完成一次数据发送,此时需要采用储能电容5供电。Through the power supply of power supply battery 3, in some low-power LoRa module applications, it can theoretically meet the continuous power supply for 3-5 years. When the power of power supply battery 3 is less than 1%P, an abnormal situation usually occurs. Or the duration is too long, and the power usually lower than 1%P cannot ensure that the LoRa antenna module 7 can complete a data transmission. At this time, the energy storage capacitor 5 needs to be used for power supply.

实施例4,还包括步骤5,LoRa模块采用储能电容5供电LoRa天线模块7发送完串口6的数据后,向LoRa组网控制中心发送电池异常数据包,主控芯片1再次控制LoRa模块进入休眠模式。Embodiment 4 also includes step 5. The LoRa module uses the energy storage capacitor 5 to power the LoRa antenna module 7. After sending the data from the serial port 6, it sends a battery abnormality data packet to the LoRa network control center. The main control chip 1 controls the LoRa module to enter again. Sleep mode.

在采用储能电容5供电完成数据传输后,需要向LoRa组网控制中心发送电池异常数据包,通知远端的工作人员该LoRa模块的异常状态,LoRa组网控制中心接收到该电池异常数据包后,还应当设置报警模块,报警模块报警提醒工作人员及时进行处置,在发送完数据后,主控芯片1应当再次控制LoRa模块进入休眠模式,尽可能地节省电能。After data transmission is completed using energy storage capacitor 5, a battery abnormality data packet needs to be sent to the LoRa network control center to notify the remote staff of the abnormal status of the LoRa module. The LoRa network control center receives the battery abnormality data packet. Finally, an alarm module should be set up. The alarm module will alert the staff to deal with it in time. After sending the data, the main control chip 1 should control the LoRa module to enter sleep mode again to save power as much as possible.

实施例5,主控芯片1唤醒休眠模式下的LoRa模块的LoRa天线模块7后,LoRa天线模块7的波特小于等于9600bps。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 9600 bps.

LoRa天线模块7的波特小于等于9600bps的情况下,可以在休眠模式下实现串口6检测到有数据时需要发送时,主控芯片1只唤醒LoRa天线模块7,可在休眠模式下低功耗模式下实现数据的发送。When the baud of the LoRa antenna module 7 is less than or equal to 9600bps, it can be implemented in the sleep mode. When the serial port 6 detects data and needs to be sent, the main control chip 1 only wakes up the LoRa antenna module 7, which can reduce power consumption in the sleep mode. Data is sent in this mode.

实施例6,步骤2中,储能电容5存储电量不超过供电电池3的标准电量值为P的2%。Embodiment 6, in step 2, the energy stored in the energy storage capacitor 5 does not exceed 2% of the standard electrical energy value of the power supply battery 3, which is P.

通常2%P电量的储能情况下,储能电容5能支持LoRa模块工作至少1周时间,且容器的充放电过程始终是物理过程,没有化学反应。因此性能是稳定的,与利用化学反应的蓄电池是不同的。在不使用的情况下,理论上电量可以维持1年以上。Usually, under the energy storage condition of 2%P power, 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 and there is no chemical reaction. Therefore, the performance is stable, which is different from batteries that use chemical reactions. When not in use, the battery can theoretically last for more than 1 year.

实施例7,基于低功耗LoRa模块实现休眠模式下数据收发控制,低功耗LoRa模块包括主控芯片1、电池管理芯片2、供电模块、引脚模块10、串口6和LoRa天线模块7;Embodiment 7 implements data transmission and reception control in sleep mode based on a low-power LoRa module. The low-power LoRa module includes 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;

供电模块包括供电电池3、第一电控开关8、电容充电电路4、储能电容5和第二电控开关9,电池管理芯片2采集供电电池3的电量信息,并与主控芯片1通信连接,供电电池3为各电器件供电,通过第一电控开关8和电容充电电路4为储能电容5供电,储能电容5通过第二电控开关9接入为各电器件供电,主控芯片1分别控制第一电控开关8和第二电控开关9的执行动作,通过第一电控开关8开启,实现储能电容5通过电容充电电路4为储能电容5充能,通过第二电控开关9开启,实现储能电容5为各电器件供电;The power supply module includes a power supply battery 3, a first electronic control switch 8, a capacitor charging circuit 4, an energy storage capacitor 5 and a second electronic control switch 9. The battery management chip 2 collects the power information of the power supply battery 3 and communicates with the main control chip 1 connection, the power supply battery 3 supplies power to each electrical device, and supplies power to the energy storage capacitor 5 through the first electronically controlled switch 8 and the capacitor charging circuit 4. The energy storage capacitor 5 is connected through the second electronically controlled switch 9 to power each electrical device. The main The control chip 1 controls the execution of the first electronically controlled switch 8 and the second electronically controlled switch 9 respectively. By turning on the first electronically controlled switch 8, the energy storage capacitor 5 is charged through the capacitor charging circuit 4. The second electronic control switch 9 is turned on to realize that the energy storage capacitor 5 supplies power to each electrical device;

串口6的使用最低波特率低于9600bps,串口6与主控芯片1直接连接,且当串口6使用波特率小于等于9600bps时,在休眠模式下接收并响应用户数据,无需额外进行唤醒操作;The minimum baud rate used by serial port 6 is lower than 9600bps. Serial port 6 is directly connected to the main control chip 1. When the baud rate used by serial port 6 is less than or equal to 9600bps, it receives and responds to user data in sleep mode without additional wake-up operations. ;

LoRa天线模块7通过引脚模块10与主控芯片1通信连接,主控芯片1控制LoRa天线模块7的执行动作,并控制LoRa天线模块7的运行波特率。The LoRa antenna module 7 is communicatively connected to the main control chip 1 through the pin module 10. The main control chip 1 controls the execution of the LoRa antenna module 7 and controls the operating baud rate of the LoRa antenna module 7.

第一电控开关8和第二电控开关9均是电控PMOS管,储能电容5是超级电容,第一电控开关8、第二电控开关9和储能电容5均通过焊接的方式接入到低功耗LoRa模块的电路板;LoRa天线模块7是LoRa无线扩频模块SX1276。The first electronically controlled switch 8 and the second electronically controlled switch 9 are both electronically controlled PMOS tubes, and the energy storage capacitor 5 is a supercapacitor. The first electronically controlled switch 8 , the second electronically controlled switch 9 and the energy storage capacitor 5 are all welded. The method is connected to the circuit board of the low-power LoRa module; the LoRa antenna module 7 is the LoRa wireless spread spectrum module SX1276.

电控PMOS管可在主控芯片1的控制下实现电路的通断控制,功耗极低,供电电池3可以实现通过电容充电电路4为储能电容5供电,在主控芯片1的控制下,第一电控开关8接通就可以实现储能电容5的充电,充电时间可控,超级电容一般几秒就可以实现充能,不影响低功耗LoRa模块的正常运行,第二电控开关9的开启可以实现超级电容为整个低功耗LoRa模块供电,满足极端状态供电电池3电量超低模式下的供电需求,实现只采用一个供电电池3就可以实现更加稳定的供电备份需求,其效果有别于采用备用电池的模式,因为造成供电电池3出现极低电量的情况很有可能导致备用电池也出现同样的状况,例如剧烈振动情况,电池的重量远远大于电容,因此超级电容的备份情况其稳定性要好于备用电池。The electronically controlled PMOS tube can realize the on-off control of the circuit under the control of the main control chip 1, with extremely low power consumption. 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 energy storage capacitor 5 can be charged when the first electronic control switch 8 is turned on, and the charging time is controllable. The supercapacitor can generally be charged in a few seconds, without affecting the normal operation of the low-power LoRa module. The second electronic control Turning on the switch 9 allows the supercapacitor to power the entire low-power LoRa module, meeting the power supply requirements of the extreme power supply battery 3 in ultra-low power mode, and achieving a more stable power supply backup requirement using only one power supply battery 3. The effect is different from the mode of using a backup battery, because the extremely low power of the power supply battery 3 is likely to cause the same situation of the backup battery, such as severe vibration. The weight of the battery is much greater than the capacitor, so the supercapacitor The stability of the backup situation is better than that of the backup battery.

串口6是低功耗UART通信串口,接收端用于对接数据来源,发送端直接对接主控芯片1,使用波特率在1200bps到115200bps之间可调。Serial port 6 is a low-power UART communication serial port. The receiving end is used to connect to the data source, and the sending end is directly connected to the main control chip 1. The baud rate is adjustable between 1200bps and 115200bps.

串口6采用低功耗UART通信串口,支持波特率可调,设置范围1200bps到115200bps。当使用波特率不高于9600bps时,可在休眠状态下接收并响应用户的串口数据,无需额外唤醒操作,当使用波特率高于9600bps时,则需要操作wakeup引脚对模块进行唤醒。Serial port 6 uses a low-power UART communication serial port, supports adjustable baud rate, and the setting range is 1200bps to 115200bps. When the baud rate is not higher than 9600bps, it can receive and respond to the user's serial port data in the sleep state without additional wake-up operations. When the baud rate is higher than 9600bps, you need to operate the wakeup pin to wake up the module.

实施例8,引脚模块10包括发送状态指示引脚、接收状态指示引脚、AT配置引脚、模块串口输入引脚、模块串口输出引脚、模块唤醒引脚、模块复位引脚、电源输入引脚、射频天线接口引脚、启动模式选择引脚和多个保留引脚;Embodiment 8, the pin module 10 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, and a power input. pins, RF antenna interface pins, startup mode selection pins and multiple reserved pins;

串口6通过模块串口输入引脚向主控芯片1发送数据,主控芯片1通过模块串口输出引脚向串口6发送指令数据;Serial port 6 sends data to main control chip 1 through the module serial port input pin, and main control chip 1 sends command data to serial port 6 through the module serial port output pin;

主控芯片1通过射频天线接口引脚与LoRa天线模块7通信连接。The main control chip 1 communicates with the LoRa antenna module 7 through the radio frequency antenna interface pin.

低功耗LoRa模块采用低功耗串口设计、支持空中唤醒机制(对应LCP参数:链路监测周期)。对应使用场景:The low-power LoRa module adopts a low-power serial port design and supports an over-the-air wake-up mechanism (corresponding to LCP parameters: link monitoring cycle). Corresponding usage scenarios:

1.如果只上传不接收场合,则可以将LCP配置最大(即全OXFFFF,单位秒),则模组在无串口输入时,自动深度休眠。当串口有数据口,自动唤醒并推送数据。因此,HL9不仅支持低功耗下发送数据,同样可以使用AT命令进行操作。低功耗串口要求波特率≤9600;1. If you only upload without receiving, you can configure the LCP to the maximum (that is, full OXFFFF, unit second), and the module will automatically go into deep sleep when there is no serial port input. When the serial port has a data port, it automatically wakes up and pushes data. Therefore, HL9 not only supports sending data under low power consumption, but can also operate using AT commands. Low-power serial port requires baud rate ≤ 9600;

2.如果需要上行和下行,且下行规律未知,则模组需要随时接收。如果功耗无要求,则默认LCP配置为0即为透传持续接收模式,类似LoRaWANClassC。如果有功耗要求,则需要通过配置LCP值来兼顾功耗和接收。LCP为休眠周期,周期到则开启LoRa信号监测,默认颗粒度为1秒,则最短唤醒响应为1秒钟。如果需要更快唤醒周期,则可以参考HL9-SDK进行二次开发和烧录。越快唤醒,则休眠时间越短,唤醒频度越高功耗越高。2. If uplink and downlink are required and the downlink pattern is unknown, the module needs to receive it at any time. If there is no power consumption requirement, the default LCP configuration is 0, which is transparent transmission continuous reception mode, similar to LoRaWAN ClassC. If there are power consumption requirements, you need to consider both power consumption and reception by configuring the LCP value. LCP is a sleep cycle. When the cycle is over, LoRa signal monitoring is turned on. The default granularity is 1 second, and the shortest wake-up response is 1 second. If you need a faster wake-up cycle, you can refer to HL9-SDK for secondary development and programming. The faster it wakes up, the shorter the sleep time, and the higher the frequency of wake-up, the higher the power consumption.

3.如果需要上行和下行,且下行为发送后开接收,即LoRaWANClassA方式。旧版本可以使用发送完成后,等一段时间接收后,主动休眠,有新发送请求再次循环该操作。支持接收窗口配置,通过指令AT+RXW配置接收窗口(功能为发送完成后开RXW秒接收,注意该功能需要配置LCP因为开接收窗口目的就是为了超过窗口时间后模组能够进入休眠节约功耗)。3. If uplink and downlink are required, and the downlink is sent and then received, that is the LoRaWAN ClassA method. The old version can be used to wait for a period of time to receive after the sending is completed, then actively sleep, and cycle the operation again when there is a new sending request. Supports receiving window configuration, configure the receiving window through the command AT+RXW (the function is to enable RXW seconds to receive after the transmission is completed. Note that this function requires configuring LCP because the purpose of opening the receiving window is to allow the module to enter sleep after the window time is exceeded to save power consumption) .

以上均为本发明的较佳实施例,并非以此限制本发明的保护范围,故:凡依本发明的结构、形状、原理所做的等效变化,均应涵盖于本发明的保护范围之内。The above are all preferred embodiments of the present invention, and are not intended to limit the scope of protection of the present invention. Therefore, any equivalent changes made based on the structure, shape, and principle of the present invention should be covered by the scope of protection of the present invention. Inside.

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 A sleep mode data transmission and reception control method for a LoRa module Active CN116963244B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311222362.0A CN116963244B (en) 2023-09-21 2023-09-21 A sleep mode data transmission and reception control method for a LoRa module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311222362.0A CN116963244B (en) 2023-09-21 2023-09-21 A sleep mode data transmission and reception control method for a LoRa module

Publications (2)

Publication Number Publication Date
CN116963244A true CN116963244A (en) 2023-10-27
CN116963244B CN116963244B (en) 2024-11-12

Family

ID=88449723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311222362.0A Active CN116963244B (en) 2023-09-21 2023-09-21 A sleep mode data transmission and reception control method for a LoRa module

Country Status (1)

Country Link
CN (1) CN116963244B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119031402A (en) * 2024-08-14 2024-11-26 南京中达科技有限公司 A method for monitoring data transmission and reception in sleep mode of LoRa module

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 gas 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 gas 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) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119031402A (en) * 2024-08-14 2024-11-26 南京中达科技有限公司 A method for monitoring data transmission and reception in sleep mode of LoRa module

Also Published As

Publication number Publication date
CN116963244B (en) 2024-11-12

Similar Documents

Publication Publication Date Title
US8355352B2 (en) Access point agitation
CN113261348B (en) Signal repeater equipment operable in low power repeater operation mode
WO2018157689A1 (en) Method for implementing low power consumption on standby for bluetooth security device and bluetooth security device
CN207937961U (en) The dormancy awakening system of remote information processor
Kaushik et al. Experimental demonstration of multi-hop RF energy transfer
JP6092678B2 (en) Non-contact power transmission system
CN110363977A (en) A kind of remote low power consumption wireless meter reading system based on LoRa technology
CN113765679B (en) Computer network awakening method and system
CN112616178A (en) Energy consumption management method and device, electronic equipment and storage medium
CN116963244A (en) Sleep mode data receiving and transmitting control method of LoRa module
US20240196332A1 (en) Wireless communication method and related apparatus
CN108200554B (en) Narrow-band Internet of things instrument based on PSM and eDRX, communication method and system
CN108495361B (en) Electronic tag, data exchange host and electronic tag system
US20210104917A1 (en) Energy harvesting system, apparatus and method for performing wakeup
JP2007067829A (en) Battery-driven communication device and communication method
CN116367283B (en) Method for reducing power consumption, passive NFC chip and storage medium
CN202206549U (en) A wireless sensor network energy consumption control system
CN104796973B (en) Radio reception device control method and radio reception device
Coulibaly et al. Occupancy-aware power saving for smart parking iot sensors
CN208572452U (en) A kind of super low-power consumption wifi- serial ports transparent transmission conversion module
CN114608246B (en) Refrigerator control method and refrigerator
CN108366415B (en) Method and equipment for supplying power to LPWA equipment
CN112261709A (en) A LoRaWAN terminal node data transmission module
CN103888271A (en) WIA-PA wireless network adapter power supply circuit
CN207531954U (en) A kind of low power-consumption intelligent footwear based on eMTC running fixes

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
GR01 Patent grant
GR01 Patent grant