High-precision low-power-consumption time service method and device based on base station time service

By receiving and analyzing the base station timing message in the user equipment, calculating the quasi-second moment, and generating the timing signal, the problems of timing accuracy and power consumption in the prior art are solved, and the timing effect of high-precision and low-power consumption is achieved.

CN119584320APending Publication Date: 2025-03-07SHANGHAI XINJIXUN COMM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411478662.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-22
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

In the prior art, the method based on base station timing has insufficient accuracy and power consumption, especially in the case of signal multipath and local clock drift, which affects the timing accuracy. At the same time, the device needs to be continuously turned on to output the timing signal, resulting in high power consumption.

Method used

After the user equipment is synchronized downlink with the base station, the timing message is received and parsed, converted to the time corresponding to the local clock, the time of the clock is recorded twice, the time of the quasi-second is calculated, and it is passed to the timing module, the timing signal is generated and output, and the timing time is updated, so as to achieve high-precision and low-power timing.

Benefits of technology

It realizes high-precision timing, while reducing the continuous on-time of the device, reducing power consumption, and enhancing the mobility of the timing equipment, suitable for more scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119584320A_ABST
    Figure CN119584320A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of mobile communication time service, in particular to a high-precision low-power-consumption time service method and device based on base station time service. The method comprises the following steps: S1, receiving and analyzing a time service message of a base station to obtain time indicated by the time service message, and converting the time into quasi-second to correspond to the time of a first local clock; and S2, performing downlink synchronization by the user equipment, and calculating to obtain the round-trip path delay. S3, calculating the time of the quasi second corresponding to the second local clock to obtain a second quasi second moment; s4, a time service module generates a time service signal; s5, updating the next quasi-second moment to obtain the updated quasi-second moment; and S6, outputting a time service signal at the updated quasi second moment. The user equipment does not need to be in an on state continuously, the mobility of the time service equipment can be enhanced, the time service power consumption can be reduced, and the method is suitable for more scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of mobile communication timing, and in particular to a method and device for high-precision and low-power timing based on base station timing. Background Art

[0002] R16 of the NR standard formally introduced a complete 5G timing function based on system information block 9 (SIB9). SIB9 messages are as follows Figure 1 and Figure 2 As shown in the figure, for timing based on SIB9, time-r16 indicates the GPS time or local time corresponding to the moment when the base station sends the end of the radio frame where SIB9 is located. After the user equipment (UE) performs downlink and uplink synchronization based on the random access signal (RACH), the quasi-second moment corresponding to the UE clock can be calculated, and then the UE can perform accurate timing.

[0003] At present, its main application direction is power system, positioning and other scenarios with very high requirements for time synchronization. Generally, satellite timing is used, but satellite timing has its limitations, such as weak signal, no coverage or the influence of other geographical spaces on the signal.

[0004] The timing scheme currently known is to synchronize the cells, then receive SIB9 or other timing messages, use the time information in the message to calculate the local clock corresponding to the quasi-second moment, and then output the time synchronization information of b code or PPS or other time protocols to the host computer being timed.

[0005] The current timing equipment needs to continuously output the timing code signal (B code) or pulse second signal (PPS signal) from the communication module. The clock of the communication module and even the entire communication module need to be always on, which is not suitable for low-power scenarios. In addition, the timing based on base station messages, such as the timing based on NR SIB9 messages, even if the UE is installed in a fixed position, signal multipath and local clock drift will affect the accuracy of timing. Summary of the invention

[0006] The purpose of the present invention is to provide a method for high-precision and low-power timing based on base station timing to solve the above technical problems;

[0007] The present invention also aims to provide a device for high-precision and low-power timing based on base station timing to solve the above technical problems.

[0008] The technical problem solved by the present invention can be achieved by adopting the following technical solutions:

[0009] A method for high-precision and low-power timing based on base station timing, comprising:

[0010] Step S1, after the user equipment is synchronized with the base station downlink, it receives and parses the timing message of the base station, obtains the time indicated by the timing message, converts it into the time corresponding to the first local clock in quasi-seconds, and obtains the first quasi-second time t1;

[0011] Step S2: The user equipment receives data packets for downlink synchronization at a set period to perform downlink synchronization. The user equipment sends random access information and then receives a random access response signal to obtain a round-trip path delay TA.

[0012] Step S3, before the user equipment enters the sleep state, recording the time T1 of the first local clock and the time T2 of the second local clock at the same time, calculating the time of the second local clock corresponding to the quasi-second, and obtaining the second quasi-second time t2;

[0013] Step S4, transmitting the second quasi-second time t2 to a timing module, and the timing module generates a timing signal starting from the second quasi-second time t2;

[0014] Step S5, update the next quasi-second time to obtain the updated quasi-second time t2 ′ ;

[0015] Step S6, at the updated quasi-second time t2 ′ Output the timing signal and the time message information at the same time, and then return to execute step S5.

[0016] Preferably, in step S2, the set period is a receiving window period of the user equipment or an interval of n receiving window periods or a period customized by the user equipment, wherein n is a positive integer.

[0017] Preferably, in step S2, after obtaining the round-trip path delay, the method further includes filtering the round-trip path delay TA.

[0018] Preferably, in step S1, the user equipment is in a standby state.

[0019] Preferably, in step S3, the calculation formula of the second quasi-second time t2 is,

[0020] t2=t1-T1+T2-(TA / 2).

[0021] Preferably, in step S4, the timing signal includes a timing code signal or a pulse second signal.

[0022] Preferably, in step S4, the timing signal is generated by hardware encoding or encoded and output of the signal is controlled by software intervention.

[0023] Preferably, in step S5, the update formula for the next quasi-second moment is:

[0024] t2′=t0+1s_time_clock2

[0025] Wherein t2′ represents the updated quasi-second moment, t0 represents the previous quasi-second moment, the initial previous quasi-second moment is the second quasi-second moment t2, and 1s_time_clock2 represents a whole second unit time of the second local clock.

[0026] Preferably, after step S3 is executed, the method further includes:

[0027] Step A, determining whether the user equipment has reselected a new cell, if so, returning to step S1, the user equipment is synchronized with the base station of the new cell; otherwise, the user equipment enters a sleep state, and executing step S2.

[0028] A high-precision and low-power consumption timing device based on base station timing, comprising:

[0029] Communication module, including,

[0030] A synchronization unit, used for uplink and downlink synchronization data transmission and reception between the user equipment and the base station;

[0031] A first calculation unit, connected to the synchronization unit, configured to parse the timing message to obtain the first quasi-second time t1;

[0032] a second calculation unit, connected to the first calculation unit, and configured to calculate and obtain the second quasi-second time t2;

[0033] A timing module is connected to the communication module, and the timing module includes:

[0034] A timing signal output unit, used to generate and output the timing signal;

[0035] The quasi-second time updating unit is connected to the timing signal output unit and is used to update the next quasi-second time.

[0036] Beneficial effects of the present invention: Due to the adoption of the above technical solution, the present invention realizes high-precision timing by converting the timing message of the base station into the time corresponding to the local clock in quasi-seconds. At the same time, the user equipment of the present invention does not need to be in the on state continuously. The present invention can enhance the mobility of the timing equipment and reduce the power consumption of the timing to be suitable for more scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 This is a diagram of some timing messages based on SIB9 in the prior art;

[0038] Figure 2 This is a diagram of some timing messages based on SIB9 in the prior art;

[0039] Figure 3 This is a flow chart of a method for high-precision and low-power timing based on base station timing in an embodiment of the present invention;

[0040] Figure 4 The present invention is a schematic diagram of the steps of a method for high-precision and low-power timing based on base station timing in an embodiment of the present invention. DETAILED DESCRIPTION

[0041] 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.

[0042] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.

[0043] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, but they are not intended to limit the present invention.

[0044] A method for high-precision and low-power timing based on base station timing, such as Figure 3 , Figure 4 As shown, including,

[0045] Step S1, after the user equipment is synchronized with the base station downlink, it receives and parses the timing message of the base station, obtains the time indicated by the timing message, converts it into the time corresponding to the first local clock in accurate seconds, and obtains the first accurate second time t1;

[0046] Step S2: The user equipment receives data packets for downlink synchronization at a set period to perform downlink synchronization. The user equipment sends random access information, and then receives a random access response signal to obtain a round-trip path delay TA.

[0047] Step S3, before the user device enters the sleep state, the time T1 of the first local clock and the time T2 of the second local clock at the same time are recorded, and the time of the second local clock corresponding to the quasi-second is calculated to obtain the second quasi-second time t2;

[0048] Step S4, transmitting the second quasi-second time t2 to a timing module 2, and the timing module 2 generates a timing signal starting from the second quasi-second time t2;

[0049] Step S5, update the next quasi-second time to obtain the updated quasi-second time t2 ′ ;

[0050] Step S6, at the updated quasi-second time t2′ Output the timing signal and the time message information at the same time, and then return to execute step S5.

[0051] Specifically, the entire timing system of the present invention is divided into two parts: the first part is for receiving downlink data and sending uplink random access signals (RACH), and this part sleeps when not receiving or sending signals; the second part is for generating and outputting timing signals, and the clock of this part does not sleep.

[0052] After synchronizing with the cell downlink, the timing message is received, the time corresponding to the timing message is obtained, and the time t1 corresponding to the first local clock (clock1) is converted to the whole second. The UE can remain in the standby state (idle state). Specifically, the user equipment receives a small segment of data near each receiving window period (IDRX period) for downlink synchronization, sends RACH at the same time, and then receives the random access response (rar) signal to obtain the round-trip path delay TA. The TA obtained in each IDRX period can be filtered to reduce jitter.

[0053] Furthermore, after sending RACH and receiving rar, the UE enters the sleep state. Before entering the sleep state, the clocks of the two parts are taken, which are T1 and T2 respectively, and the time t2 of the whole second on the second local clock (clock2) is obtained, where t2=t1-T1+T2-(TA / 2).

[0054] The signal generation and timing part generates timing signals from the second quasi-second moment t2, including B code or PPS signal. This part can be completed by pure hardware coding or software intervention. For example, for the PPS signal, the hardware wakes up a short time before the arrival of the quasi-second moment, and the software configures the hardware to generate a high level at the quasi-second moment and output the time message at the same time. After a period of high level, it is pulled down and then sleeps. At this time, the second local clock does not sleep.

[0055] Furthermore, in the idle state, the UE performs cell reselection to a new cell (downlink time synchronization), receives a timing message, and restarts step S2.

[0056] In a preferred embodiment, in step S2, the set period is a receiving window period of the user equipment or an interval of n receiving window periods or a period customized by the user equipment, wherein n is a positive integer.

[0057] In a preferred embodiment, in step S2, after obtaining the round-trip delay, the method further includes filtering the round-trip delay TA.

[0058] Specifically, various forms of filtering may be performed on the round-trip path delay TA, such as alphafilter: TA=alpha*TA_new+(1-alpha)*TA. The filtering is mainly to reduce the jitter of TA.

[0059] In a preferred embodiment, in step S1, the user equipment is in a standby state.

[0060] In a preferred embodiment, in step S3, the calculation formula of the second quasi-second time t2 is:

[0061] t2=t1-T1+T2-(TA / 2).

[0062] Specifically, whether it is 4G or 5G, according to the protocol, the UE needs to synchronize the cell, where the downlink synchronization process includes receiving PSS / SSS signals and PBCH. Uplink synchronization is achieved by the UE sending RACH signals and receiving rar signals to obtain TA, completing the synchronization of uplink and downlink time.

[0063] The generation of timing information depends on two conditions: 1. The UE completes uplink and downlink time synchronization, 2. The timing information is received. For example, take sib9: the time information carried in sib9 corresponds to the UTC time or GPS time corresponding to a specified frame boundary, recorded as tx_time. This time is the time when this frame boundary is just transmitted from the base station antenna. The time of this frame boundary when the UE receives it is tx_time+(TA / 2) because the UE has synchronized the uplink and downlink time with the base station, that is, the time of the frame boundary is corresponded to the UE local clock1. Therefore, tx_time can also correspond to the first local clock. For example, tx_time+(TA / 2) is 200ms away from the next quasi-second moment, then the next quasi-second moment (excluding TA / 2) corresponds to the time of the second local clock t2=clock1(tx_time+(TA / 2))+clock1_duration_200ms;

[0064] By taking a time photo, we can obtain the time correspondence between the first local clock and the second local clock of the timing module 2. For example, the time T1 on the first local clock and the time T2 on the second local clock are the same time. Therefore, we can calculate the time on the second local clock.

[0065] t2=t1-T1+T2-(TA / 2)

[0066] This time will be passed to timing module 2.

[0067] It should be noted that the so-called first quasi-second moment t1 is not a true quasi-second, as TA / 2 has not yet been subtracted.

[0068] t2=t1-T1+T2-(TA / 2)=[t1-(TA / 2)]-T1+T2

[0069] , where t1-(TA / 2) is the time corresponding to the true quasi-second moment on the first local clock, and t2 is the time corresponding to the quasi-second moment on the second local clock.

[0070] T1 and T2 are two time records of clock1 and clock2 at the same moment, corresponding to the same moment.

[0071] In a preferred embodiment, in step S4, the timing signal includes a timing code signal (B code signal) or a pulse second signal (PPS signal).

[0072] In a preferred embodiment, in step S4, the timing signal is generated by hardware encoding or encoded and outputted by software intervention.

[0073] Specifically, the timing signal is generally output to a host computer, which can obtain quasi-second time information based on the PPSxinha or B-code signal and perform an action at the quasi-second or other time based on the quasi-second, such as switching the power on and off.

[0074] In a preferred embodiment, in step S5, the update formula for the next quasi-second moment is:

[0075] t2′=t0+1s_time_clock2

[0076] Wherein t2′ represents the updated quasi-second moment, t0 represents the previous quasi-second moment, the initial previous quasi-second moment is the second quasi-second moment t2, and 1s_time_clock2 represents a whole second unit time of the second local clock.

[0077] Specifically, the present invention returns to executing step S5 after executing step S6 and enters a continuous loop unless the power is turned off. Once the UE is turned on, the communication module 1 will perform uplink and downlink synchronization and receive timing information, and then will periodically wake up to perform uplink and downlink synchronization and update the quasi-second moment. At the same time, after the timing module 2 obtains the first quasi-second moment from the communication module 1, it will continue to cycle and periodically output the PPS or B code signal according to the second local clock. If there is an update to the quasi-second moment from the communication module 1, the PPS or B code signal will be periodically output according to the second local clock based on the new quasi-second moment.

[0078] In a preferred embodiment, after step S3 is completed, the method further includes:

[0079] Step A, determining whether the user equipment has reselected a new cell, if so, returning to step S1, the user equipment synchronizes with the base station of the new cell; otherwise, the user equipment enters a sleep state, and executing step S2.

[0080] Specifically, the UE may move to the coverage area of ​​another base station. At this time, the original cell is no longer suitable for the UE to stay, so it needs to reselect to a new cell. In the original cell, the UE time is synchronized with the original base station time. After reselecting to a new cell, it must resynchronize uplink and downlink with the new cell to ensure the accuracy of timing. This is a beneficial effect of the timing method of the present invention, which can support mobile scenarios.

[0081] A high-precision and low-power timing device based on base station timing, please refer to Figure 3 As shown, including,

[0082] The communication module 1 comprises:

[0083] A synchronization unit, used for uplink and downlink synchronization data transmission and reception between the user equipment and the base station;

[0084] A first calculation unit, connected to the synchronization unit, is used to parse the timing message to obtain a first quasi-second time t1;

[0085] A second calculation unit, connected to the first calculation unit, for calculating a second quasi-second time t2;

[0086] The timing module 2 is connected to the communication module 1, and the timing module 2 includes:

[0087] A timing signal output unit, used for generating and outputting a timing signal;

[0088] The quasi-second time updating unit is connected to the timing signal output unit and is used to update the next quasi-second time.

[0089] Specifically, the present invention is divided into two modules, including a communication module 1 and a timing module 2.

[0090] Communication module 1 is responsible for:

[0091] 1. The uplink and downlink time are synchronized with the base station;

[0092] 2. Receive the timing message and parse the content to obtain the first quasi-second time t1 corresponding to the first local clock;

[0093] 3. The second quasi-second time t2 corresponds to the second local clock and is sent to the timing module 2;

[0094] Timing module 2 is responsible for:

[0095] 1. At the second quasi-second time t2, B code encoding is performed and the signal is output;

[0096] 2. Update the second quasi-second time t2 sent by receiving communication module 1

[0097] 3. Automatically update the next exact second time;

[0098] 4. For PPS signal, it works when high level is input and outputs text time information and high level signal, and sleeps when low level is input.

[0099] In summary, the present invention can enhance or increase the mobility of the timing device and reduce the power consumption of the timing device, and is suitable for a wider range of scenarios.

[0100] The above description is only a preferred embodiment of the present invention, and does not limit the implementation mode and protection scope of the present invention. For those skilled in the art, it should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the description and illustrations of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for high-precision and low-power timing based on base station timing, characterized in that: include, Step S1, after the user equipment is synchronized with the base station downlink, it receives and parses the timing message of the base station, obtains the time indicated by the timing message, converts it into the time corresponding to the first local clock in quasi-seconds, and obtains the first quasi-second time t1; Step S2: The user equipment receives data packets for downlink synchronization at a set period to perform downlink synchronization. The user equipment sends random access information and then receives a random access response signal to obtain a round-trip path delay TA. Step S3, before the user equipment enters the sleep state, recording the time T1 of the first local clock and the time T2 of the second local clock at the same time, calculating the time of the second local clock corresponding to the quasi-second, and obtaining the second quasi-second time t2; Step S4, transmitting the second quasi-second time t2 to a timing module, and the timing module generates a timing signal starting from the second quasi-second time t2; Step S5, updating the next quasi-second time to obtain the updated quasi-second time t2′; Step S6, outputting the timing signal at the updated quasi-second time t2′, and outputting the time message information at the same time, and then returning to execute step S5.

2. The method for high-precision and low-power timing based on base station timing according to claim 1, characterized in that: In step S2, the set period is the receiving window period of the user equipment or an interval of n receiving window periods or a period customized by the user equipment, wherein n is a positive integer.

3. The method for high-precision and low-power timing based on base station timing according to claim 1, characterized in that: In step S2, after obtaining the round-trip path delay, the method further includes filtering the round-trip path delay TA.

4. The method for high-precision and low-power timing based on base station timing according to claim 1, characterized in that: In step S1, the user equipment is in a standby state.

5. The method for high-precision and low-power timing based on base station timing according to claim 1, characterized in that: In step S3, the calculation formula of the second quasi-second time t2 is: t2=t1-T1+T2-(TA / 2).

6. The method for high-precision and low-power timing based on base station timing according to claim 1, characterized in that: In step S4, the timing signal includes a timing code signal or a pulse second signal.

7. The method for high-precision and low-power timing based on base station timing according to claim 1, characterized in that: In step S4, the timing signal is generated by hardware encoding or software intervention encoding and signal output is controlled.

8. The method for high-precision and low-power timing based on base station timing according to claim 1, characterized in that: In step S5, the update formula for the next quasi-second time is: t2′=t0+1s_time_clock2 Wherein t2′ represents the updated quasi-second moment, t0 represents the previous quasi-second moment, the initial previous quasi-second moment is the second quasi-second moment t2, and 1s_time_clock2 represents a whole second unit time of the second local clock.

9. The method for high-precision and low-power timing based on base station timing according to claim 1, characterized in that: After step S3 is completed, it also includes: Step A, determining whether the user equipment has reselected a new cell, if so, returning to step S1, the user equipment is synchronized with the base station of the new cell; otherwise, the user equipment enters a sleep state, and executing step S2.

10. A device for high-precision and low-power timing based on base station timing, characterized in that: include, Communication module, including, A synchronization unit, used for uplink and downlink synchronization data transmission and reception between the user equipment and the base station; A first calculation unit, connected to the synchronization unit, configured to parse the timing message to obtain the first quasi-second time t1; a second calculation unit, connected to the first calculation unit, and configured to calculate and obtain the second quasi-second time t2; A timing module is connected to the communication module, and the timing module includes: A timing signal output unit, used to generate and output the timing signal; The quasi-second time updating unit is connected to the timing signal output unit and is used to update the next quasi-second time.