A method for waking up in the air and a wireless communication system using the method
By designing the structure of the wake-up frame in the over-the-air wake-up technology, it ensures that the preamble covers the entire CAD detection cycle and makes up for the missing time of the preamble in the second cycle. This solves the problems of high power consumption and wake-up failure in the existing technology, and improves The wake-up success rate and the battery life of the node are determined.
Patent Information
- Application Number
- CN202011240705.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-09
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2040-11-09
AI Technical Summary
Existing over-the-air wake-up technology has problems such as high power consumption and wake-up failure. Especially in non-broadcast mode, non-target nodes will be woken up by mistake, and they need to wait for a long time after waking up to determine whether they are target nodes, resulting in power consumption and wake-up. The probability of failure is high.
An over-the-air wake-up method is proposed. The sender arranges a wake-up frame whose length is greater than or equal to two CAD detection cycles and contains multiple preamble segments. Each preamble segment includes preamble and data. The data contains matching information and waiting time. Ensure that the preamble covers the entire CAD detection cycle, and make up for the missing time of the preamble in the second cycle to reduce unnecessary waiting time.
By ensuring that the preamble covers the entire CAD detection cycle, wake-up failures are avoided, the node's unnecessary waiting time is reduced, power consumption is saved, and the node's endurance and wake-up success rate are improved.
Smart Images

Figure CN114466431B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to an air wake-up method and a wireless communication system using the method. Background Art
[0002] LoRa (Long Range Radio) technology can achieve low power consumption and long-distance transmission. To achieve low power consumption, the receiving device is usually in a dormant state. To achieve data interaction between devices, air wake-up technology is required. Before normal data interaction, the sender wakes up the receiver first.
[0003] The basic principle of the over-the-air wake-up technology is to add a long preamble before valid data, and the wireless node periodically wakes up and monitors the network. Once the preamble is captured, it enters the normal receiving process. If not, it immediately goes to sleep and waits for the next wake-up. In order to ensure that the wireless node does not miss valid data, the preamble duration should be slightly longer than the sleep duration of the wireless node.
[0004] like Figure 1 As described above, the transmitted data includes a preamble, an optional header, a data payload, etc. The receiving end enters the CAD mode every other sleep time, and searches for in-band signals when entering the CAD. If there is a preamble signal in the air, the receiving end can detect the preamble and switch to the receiving mode to realize data interaction. Therefore, the state of the receiving end includes the periodic sleep state and the CAD state, as well as the possible receiving mode.
[0005] like Figure 2 The figure shows a current over-the-air wake-up technology, with a sleep cycle (or CAD detection cycle) of 6 seconds, which is characterized by [long preamble + short data].
[0006] The advantages are: simple method, high success rate, and suitable for broadcast mode.
[0007] The disadvantages are: in non-broadcast mode, non-target nodes will also be awakened, causing false awakening; after the node is awakened, it needs to wait for the end of the preamble code. In extreme cases, the node that is awakened by mistake needs to wait for 6 seconds before it finds that it is not the target node. This does not meet the requirement that the duration of a single transmission should not exceed 1 second (Ministry of Industry and Information Technology's "Catalog and Technical Requirements for Micro-Power Short-Range Radio Transmission Equipment", i.e. Document No. 52).
[0008] like Figure 3 The figure shows another current air wake-up technology, which is a variation of the preamble. Its wake-up frame (the wake-up frame referred to in this article does not include valid data) is composed of [preamble + matching information] sent several times in a cycle, such as Figure 3Medium wake-up frame = [preamble + matching information] * 4; the matching information is generally the target node address. The duration of a single [preamble + matching information] is less than 6 seconds, while the duration of [preamble + matching information] * 4 is greater than 6 seconds.
[0009] The advantage is that the addition of matching information can prevent non-target nodes from being woken up by mistake.
[0010] The disadvantage is that due to the existence of matching information, part of the entire CAD detection cycle is occupied. If the target node wakes up during this period, the preamble code cannot be detected, resulting in a certain probability of wake-up failure. In addition, after the node is awakened, it also needs to wait for the preamble code phase to end. In extreme cases, the waiting time will be close to 6 seconds, resulting in a large power consumption overhead.
[0011] In summary, the prior art over-the-air wake-up technical solutions have the problems of high power consumption and wake-up failure. Summary of the invention
[0012] The purpose of the present application is to provide an over-the-air wake-up method and a wireless communication system using the method, so as to solve the problems of high power consumption and wake-up failure in the prior art.
[0013] To achieve the above object, the present invention proposes an air wake-up method, comprising the following steps:
[0014] Step 1: The transmitter arranges a wake-up frame, the length of which is greater than or equal to two or more CAD detection cycles, and includes several preamble code segments; the preamble code segment is composed of "preamble code" and "data", and the "data" includes at least "matching information" and "waiting time"; the "waiting time" is the time from the current preamble code segment to the end of the wake-up frame; the time of sending all "preamble codes" is combined together to cover the entire CAD detection cycle;
[0015] Step 2: The sender composes a frame and sends it; after receiving the preamble code fragment, the receiver first compares the matching information, and immediately goes to sleep if the match fails; if the match succeeds, if the corresponding "wait time" > 0, it immediately goes to sleep, wakes up after the waiting time is up, and waits to receive data; if the "wait time" = 0, it immediately waits to receive data;
[0016] Step 3: The sending / receiving end exchanges data;
[0017] Step 4: After the data exchange is completed, the receiving end goes to sleep again.
[0018] Furthermore, the wake-up frame length is greater than or equal to two CAD detection cycles.
[0019] Furthermore, there is idle time between the preamble code segments.
[0020] Furthermore, the "data" also includes "subsequent downlink access rules" for determining the frequency band during data interaction.
[0021] Furthermore, the "matching information" is the address, group address or broadcast address of the target node.
[0022] Furthermore, the transmitter arranges a wake-up frame according to the wake-up parameters, where the wake-up parameters include the spreading factor SF, the coding rate CR, the bandwidth BW, the preamble length, the CAD detection period and the payload length of LoRa.
[0023] The present invention also provides a wireless communication system, including a transmitting end and a receiving end, wherein the transmitting end and the receiving end execute computer programs to implement the above method.
[0024] The leading code in the wake-up frame of the present invention covers the entire CAD detection cycle, thereby avoiding wake-up failure; the addition of "waiting time" avoids unnecessary waiting time of the node, saves a lot of power consumption, and thus can improve the node endurance. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is the LoRa sending data structure;
[0026] Figure 2 It is a wake-up frame structure of the prior art;
[0027] Figure 3 It is another wake-up frame structure of the prior art;
[0028] Figure 4 This is the wake-up frame structure of the embodiment of the present invention. DETAILED DESCRIPTION
[0029] like Figure 4 As shown, the main concept of the air wake-up solution of this embodiment is:
[0030] 1. Preamble code fragmentation. Each preamble code fragment includes "preamble code" and "data", and "data" contains "matching information" and "waiting time". "Matching information" avoids the node from being woken up by mistake, and "waiting time" prompts the successfully matched wireless node whether to enter the receiving mode immediately or sleep for a period of time before entering the receiving mode, thereby avoiding the waiting time after the wireless node wakes up.
[0031] 2. Due to the existence of the above-mentioned "data", there may be a probability of wake-up failure. Therefore, the length of the wake-up frame is two CAD detection cycles. Although wake-up failure may occur within one CAD detection cycle, the second CAD detection cycle can make up for the time gap of the missing preamble code, thereby ensuring the wake-up success rate.
[0032] In addition, since the missing preamble code of the previous CAD detection cycle can be compensated in the second CAD detection cycle, idle time can be inserted between the preamble code segments in each CAD cycle, such as Figure 4 shown.
[0033] The specific wake-up process includes:
[0034] Step 1: The transmitter arranges a wake-up frame according to the wake-up parameters. The length of a wake-up frame should be greater than or equal to two CAD detection cycles, including several preamble code segments, and there is idle time between the preamble code segments.
[0035] The wake-up parameters include LoRa's spreading factor SF, coding rate CR, bandwidth BW, preamble length, CAD detection period, payload length (data length in the preamble segment), and other parameters. The preamble segment is [preamble + data]. The arrangement of the preamble segment includes:
[0036] 1. Calculate the total number of preamble code segments in two consecutive CAD detection cycles;
[0037] 2. "Data" = "matching information + waiting time + subsequent downlink access rules (optional)"; "matching information" can be the address, group address or broadcast address of the target node; "waiting time" is the time for normal data interaction from the current preamble code segment to the end of the wake-up frame. The meaning of "waiting time" is to tell the receiving node that it can "sleep" safely during this period of time, and wake up after the time is up to wait for receiving data; "subsequent downlink access rules" tells the receiving terminal to switch parameters according to the rules after the waiting time is up and wait for receiving data.
[0038] 3. In the preamble code segment, the time for sending the "preamble code" should be greater than the time for sending the "data"; the waiting time in the last preamble code segment is 0.
[0039] 4. To ensure the success rate of wake-up, it is necessary to ensure that the time of sending all "preamble codes" is combined to cover the entire CAD detection cycle. In other words, it is necessary to ensure that the "preamble code" of the second cycle covers the "idle + data" part of the first cycle.
[0040] like Figure 4 As shown, a wake-up frame includes 5 preamble code segments, and there is idle time between the preamble code segments. The first 6s cycle contains 3 preamble code segments (not strictly 3), and the second 6s cycle contains 2 preamble code segments. The "preamble code" of the second cycle covers the "idle + data" part of the first cycle.
[0041] Step 2: The sending end composes a frame and sends it; after the receiving end receives the wake-up frame (preamble code fragment), it first compares the matching information, and immediately goes to sleep if the match fails; if the match succeeds, if the "wait time" > 0, it immediately goes to sleep, wakes up after the waiting time is up, and waits to receive data; if the "wait time" = 0, it immediately waits to receive.
[0042] Step 3: When the waiting time is up, the sending / receiving end switches the frequency band to exchange data.
[0043] If there is no "subsequent downlink access rule" item in the wake-up frame, data interaction can be performed directly without switching the frequency band; or after the wake-up frame ends, the sender can send a separate command to instruct the receiver to change the frequency band, and then perform data interaction.
[0044] Step 4: After the data exchange is completed, the receiving end enters the "sleep--CAD" mode again.
[0045] After the data exchange is completed, the sending end can send a frame of data to inform the receiving end. After receiving the frame, the receiving end enters the "sleep--CAD" power saving mode. The receiving end also sets a timeout period. If no new instructions are received during the timeout period, the receiving end directly enters the "sleep--CAD" power saving mode.
[0046] As another implementation, the length of a wake-up frame may be designed to be three or more CAD detection cycles, or three or more non-integer cycles.
[0047] In the above embodiments, the receiving node periodically performs "sleep--CAD" to listen to a certain channel, and may also listen to two channels at the same time: a default channel and a working channel, to ensure that it can be successfully awakened without losing connection under any circumstances.
[0048] In the above embodiments, the transmitting end calculates the total number of times the preamble code segment is sent and the waiting time for each time based on the wake-up parameters, including the spreading factor SF, the coding rate CR, the bandwidth BW, the preamble code length, the CAD detection period, and the load length (the data length in the preamble code segment). The parameters of several fixed channels can be calculated manually, or the parameters of any channel can be calculated based on a certain mathematical model.
[0049] The above embodiments are introduced by taking LoRa as an example. As other implementation modes, the present invention can also be applied to other wireless communication protocols.
[0050] In addition, the present invention also provides an embodiment of a wireless communication system, which includes a transmitting end and a receiving end, and both the transmitting end and the receiving end have devices such as a processor and a memory for executing and storing computer programs. When the computer program is executed, the method of the above embodiment can be implemented.
[0051] The specific structures of the transmitting end and the receiving end belong to the prior art and will not be described in detail.
[0052] Those skilled in the art should understand that the present embodiment should be understood to include a communication system that implements the method using computer program instructions.
[0053] Finally, it should be noted that the above implementation modes are only used to illustrate the technical solutions of the present invention rather than to limit the same. Although the present invention has been described in detail with reference to the above implementation modes, ordinary technicians in the relevant field should understand that the specific implementation modes of the present invention can still be modified or replaced by equivalents, and any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be included in the scope of protection of the claims of the present invention.
Claims
1. A method for waking up in the air, It is characterized in that The following steps are involved: Step 1: The transmitter arranges a wake-up frame, the length of which is greater than or equal to two CAD detection cycles and includes several preamble code fragments; The preamble code segment consists of "preamble code" and "data", wherein the "data" includes at least "matching information" and "waiting time"; the "waiting time" is the time from the current preamble code segment to the end of the wake-up frame; the time when all "preamble codes" are sent is combined to cover the entire CAD detection cycle, that is, the "preamble code" of the second cycle must cover the "idle + data" part of the first cycle; Step 2: The sender frames and sends. After receiving the preamble code fragment, the receiver first compares the matching information. If the match fails, it will immediately go to sleep. If the match succeeds, if the corresponding "wait time" > 0, it will immediately go to sleep, wake up after the waiting time is up, and wait for receiving data. If the "wait time" = 0, it will immediately wait for receiving data. Step 3: The sending / receiving end exchanges data; Step 4: After the data exchange is completed, the receiving end goes to sleep again.
2. The air wake-up method according to claim 1, It is characterized in that There is idle time between the preamble segments.
3. The air wake-up method according to claim 1, It is characterized in that The "data" also includes "subsequent downlink access rules" for determining the frequency band during data interaction.
4. The air wake-up method according to claim 1, It is characterized in that The “matching information” is the address, group address or broadcast address of the target node.
5. The air wake-up method according to any one of claims 1 to 4, It is characterized in that The transmitter arranges a wake-up frame according to the wake-up parameters, which include the spreading factor SF, coding rate CR, bandwidth BW, preamble length, CAD detection period and payload length of LoRa.
6. A wireless communication system, It is characterized in that The invention comprises a sending end and a receiving end, wherein the sending end and the receiving end execute a computer program to implement the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Wireless sensor network active mode resting dispatching method
CN101557408A
Energy efficient transmission in a network
CN102396188A
Low power consumption communication node secondary awakening / dormancy method, node and system thereof
CN106937368A
LoRa star network low-power-consumption communication method of self-adaptive load
CN110519832A
PHY for ultra-low power wireless receiver
US20160278013A1
