Method for reducing power consumption of tag
The tag automatically calculates and corrects the clock frequency difference to achieve clock synchronization without the need to continuously listen to beacon frames. This solves the problem of high tag power consumption in wireless positioning and significantly reduces power consumption, especially in low-frequency positioning, which saves more than 60%. of power.
Patent Information
- Application Number
- CN202310264888.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-14
- Publication Date
- 2024-09-20
AI Technical Summary
During the wireless positioning process, the tag needs to periodically turn on the receiver for clock synchronization, resulting in increased power consumption. Especially when the positioning frequency is low, the power consumption of synchronization is even more than twice the positioning power consumption.
The tag automatically calculates the frequency difference between itself and the base station crystal oscillator by receiving multiple beacon frames, corrects the clock, and uses the corrected start time and calibrated frequency difference for timing during the positioning cycle to maintain clock synchronization, thereby avoiding continuous listening to beacon frames. , reduce power consumption.
Under synchronous network conditions, the power consumption of the tag is reduced to the same as that of the random access network. Especially when the positioning frequency is low, more than 60% of power consumption can be saved.
Smart Images

Figure CN118678433A
Abstract
Description
Technical Field
[0001] The invention relates to the field of wireless positioning, and in particular to a method for reducing the power consumption of a tag. Background Art
[0002] In the process of wireless positioning, the relative position of the tag and the base station is obtained through the flight time and phase deviation of the radio wave in the air. In order to increase the concurrent capacity of the tags, it is usually necessary to establish a clock-synchronized wireless network. Through the clock synchronization between the base station and the base station, and the clock synchronization between the base station and the tag, the tag transmits the signal according to the specified time slot, which can avoid the collision of the tag transmission signal, thereby increasing the tag capacity. The main process of the existing base station and tag synchronization method is described as follows:
[0003] See also Figure 2 The base station broadcasts beacon frames periodically. The tag turns on the receiver at a certain period, scans the beacon frames of the base station, and synchronizes the tag's own clock through the beacon frames. After completing a synchronization, due to the deviation between the tag's own clock crystal and the base station's clock crystal, the tag still needs to periodically turn on the receiver at a certain interval to receive the beacon frame synchronization clock. After the tag completes synchronization, it communicates with the base station according to the specified time slot to achieve ranging and positioning.
[0004] In the prior art, since the tag needs to periodically turn on the receiver and receive beacon frames for synchronization, the power consumption of the tag will inevitably increase. Taking into account the tag clock deviation, the time window for the tag to turn on the receiver is longer than the beacon frame transmission time, and sufficient margin must be reserved, which makes the tag power consumption greater. Especially when the tag positioning frequency is low, for example, positioning once every 10 seconds, the tag positioning only takes 0.6 milliseconds, and monitoring the beacon takes 1.2 milliseconds. At this time, the power consumption of synchronization has reached more than twice the power consumption of positioning.
[0005] Therefore, there is an urgent need in the art for a technical solution that can reduce the power consumption of tags. Summary of the invention
[0006] The purpose of the present invention is to provide a technical solution that can solve the problem of high power consumption of tags.
[0007] To achieve the above object, the present invention provides the following solutions:
[0008] A method for reducing tag power consumption comprises the following steps:
[0009] S1: The base station sends beacon frames to the surrounding areas;
[0010] S2: The tag scans and receives the beacon frame;
[0011] S3: the tag sends a poll frame to the base station;
[0012] S4: the tag receives a response frame sent by the base station to the tag;
[0013] S5: the tag sends a final frame to the base station;
[0014] S6: The tag uses the time when the tag receives the response frame from the base station to correct the tag's own clock, and obtains the frequency difference of the tag's own crystal oscillator in real time;
[0015] S7: Use the corrected start time and the crystal oscillator after calibrating the frequency difference to perform timing, so that the tag and the base station maintain clock synchronization.
[0016] Optionally, steps S1 to S5 take a total of 30 seconds.
[0017] Optionally, after step S7, steps S3-S7 are repeated.
[0018] Optionally, steps S1 to S5 are repeated once or multiple times before step S6.
[0019] Optionally, after step S6, steps S1 and S2 are no longer performed.
[0020] In the method for reducing the power consumption of a tag introduced in the present invention, the tag automatically calculates the frequency difference between its own crystal oscillator and the base station crystal oscillator based on the multiple beacon frames received, and corrects its own clock. When the tag is positioned with the base station, the base station accurately controls the time of sending a reply response frame according to the tag time slot. The tag uses the moment of receiving the base station reply frame to correct the tag's own clock and obtain its own crystal oscillator frequency difference in real time. The next positioning cycle is timed with the corrected start time and the crystal oscillator after calibrating the frequency difference, so that the tag and the base station maintain clock synchronization. In this way, the tag no longer needs to listen to the beacon frame. Thereby achieving, under synchronous network conditions, the power consumption of the tag is as low as that of the random access network. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 This is a flow chart of the tag positioning method provided by the present invention.
[0022] Figure 2 It is a schematic diagram of a tag positioning method in the prior art.
[0023] Figure 3 A schematic diagram of a tag positioning method for reducing tag power consumption provided by the present invention. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] Embodiment 1:
[0026] See also Figure 1 This embodiment provides a method for reducing tag power consumption, including the following steps:
[0027] S1: The base station sends beacon frames to the surrounding areas;
[0028] S2: The tag scans and receives the beacon frame;
[0029] S3: the tag sends a poll frame to the base station;
[0030] S4: the tag receives a response frame sent by the base station to the tag;
[0031] S5: the tag sends a final frame to the base station;
[0032] S6: The tag uses the time when the tag receives the response frame from the base station to correct the tag's own clock, and obtains the frequency difference of the tag's own crystal oscillator in real time;
[0033] S7: Use the corrected start time and the crystal oscillator after calibrating the frequency difference to perform timing, so that the tag and the base station maintain clock synchronization.
[0034] See also Figure 3 In the above steps, steps S1 to S5 take a total of 30 seconds.
[0035] After step S7, the method further includes repeating steps S3 to S7.
[0036] Before step S6, steps S1 to S5 are repeated once or multiple times.
[0037] After step S6, steps S1 and S2 are no longer performed.
[0038] Embodiment 2:
[0039] The technical solution of the present invention will be described below according to specific parameters:
[0040] When the positioning frequency is 0.1Hz and the clock crystal is 50ppm, it takes 200us to send a single frame. The calculation process of the tag power saving ratio and energy consumption is as follows:
[0041] Energy consumption when sending poll frames: W1 represents the power consumed when sending, and t1 is the sending time.
[0042] W1=P1*t1 (1)
[0043] Energy consumption for receiving response frame: W2 represents the receiving power consumption, and t2 is the receiving time.
[0044] W2=P2*t2 (2)
[0045] Energy consumption for sending the final frame: W3 represents the sending power consumption, and t3 is the sending time.
[0046] W3=P3*t3 (3)
[0047] The entire positioning process consumes energy:
[0048] W=W1+W2+W3 (4)
[0049] Substituting P1=0.4W, P2=0.5W, P3=0.4W, t1=0.2ms, t2=0.2ms, t3=0.2ms into the above formula, we get
[0050] W = 0.26 (watt seconds) = 0.26 (joule)
[0051] The clock crystal is 50ppm, with a 50ppm crystal deviation. The timing error caused by 10 seconds is 500us. It takes 1.2ms (2*500us+200us) to scan the beacon. The power consumption is calculated as follows:
[0052] W=P*t (5)
[0053] Substituting P2=0.5W and t=1.2ms into formula (5), we get
[0054] W = 0.6 (watt-second) = 0.6 (joule)
[0055] Calculated by ratio: the power consumption of monitoring beacons is 2.3 times that of normal positioning (0.6 / 0.26).
[0056] The positioning frequency is 0.1Hz, and 69.8% of power can be saved if beacons are not monitored.
[0057] When the positioning frequency is 1Hz and the clock crystal is 50ppm, the calculation process of the tag power saving ratio and the energy consumed is as follows:
[0058] The power consumption of one positioning is equal to that of 10Hz, which is 0.26 (joules); with a 50ppm crystal oscillator deviation, the timing error caused by 1 second is 50us, and scanning the beacon takes 0.3ms (50us*2+200us). The power consumption is calculated as follows:
[0059] W=P*t (6)
[0060] Substituting P2 = 0.5W and t = 0.3ms into formula (6), we get
[0061] W = 0.15 (watt seconds) = 0.15 (joule)
[0062] Calculated in proportion: the power consumption of monitoring beacons is 0.58 times that of normal positioning (0.15 / 0.26).
[0063] If the beacon frame is not monitored at a 1Hz positioning frequency, 36.6% of power consumption can be saved.
[0064] Under synchronous network conditions, the tag automatically calibrates the frequency difference of its own clock crystal oscillator, and uses the reply frame of the positioning process to synchronize the clock in real time, and calculates the frequency difference of the tag's current clock crystal oscillator in real time, and uses the corrected clock for timing, thereby ensuring that positioning can be initiated at the specified time without monitoring the beacon frame. This reduces the power consumption of the tag. Compared with traditional methods, it can significantly reduce the power consumption of the tag, especially when the positioning frequency is low, it can save more than 60% of power consumption.
[0065] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0066] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A method for reducing tag power consumption, characterized in that: The following steps are involved: S1: The base station sends beacon frames to the surrounding area; S2: The tag scans and receives the beacon frame; S3: The tag sends a poll frame to the base station; S4: The tag receives a response frame sent by the base station to the tag; S5: The tag sends a final frame to the base station; S6: The tag uses the time when the tag receives the response frame from the base station to correct the tag's own clock and obtain the frequency difference of the tag's own crystal oscillator in real time; S7: Use the corrected start time and the crystal oscillator after calibrating the frequency difference to perform timing, so that the tag and the base station maintain clock synchronization.
2. The method for reducing tag power consumption according to claim 1, wherein: The steps S1 to S5 take a total of 30 seconds.
3. The method for reducing tag power consumption according to claim 1, wherein: After step S7, the method further includes repeating steps S3 to S7.
4. The method for reducing tag power consumption according to claim 1, wherein: The steps S1 to S5 are repeated once or multiple times before the step S6.
5. The method for reducing tag power consumption according to claim 1, wherein: After step S6 , steps S1 and S2 are no longer performed.
