Clock synchronization method and device, electronic equipment, chip and storage medium
In the 5G mobile communication terminal, the frame timer or time slot timer on the BBIC side generates an interrupt signal and sends it to the RFIC through the GPIO interface, which realizes clock synchronization between the RFIC and the BBIC, solving the problem that the RFIC cannot independently control the clock, and enhancing the RFIC's RF algorithm and front-end control capabilities have been used to reduce the scheduling pressure of BBIC.
Patent Information
- Application Number
- CN202310541076.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-12
- Publication Date
- 2024-11-12
AI Technical Summary
In 5G mobile communication terminals, the strong correlation between RFICs (RFICs) and baseband integrated circuits (BBICs) limits RFIC's RF algorithms and front-end control capabilities, resulting in shorter scheduling time and increased complexity in 5G systems. , RFIC cannot independently perform clock synchronization, which increases the scheduling pressure of BBIC.
The frame timer or slot timer on the BBIC side is adjusted based on the adaptive transmission control of the physical layer, and the pulse signal is sent to the RFIC through the GPIO interface, so that the RFIC can adjust the clock and the BBIC based on these signals. Synchronize, adopt a homologous global clock module to achieve independent clock control.
The strong correlation between BBIC and RFIC is decoupled, the RFIC's radio frequency algorithm and front-end control capabilities are enhanced, the RFIC's independent clock control is realized, the BBIC's scheduling pressure is reduced, and the data transmission accuracy and stability are improved.
Smart Images

Figure CN118945792A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of clock synchronization, and in particular to a clock synchronization method, device, electronic device, chip and storage medium. Background Art
[0002] In the terminal solution of the mobile communication field, the relevant technology is to use the Radio Frequency Integrated Circuit (RFIC) as a slave control end, and use the unified clock timing of the Baseband Integrated Circuit (BBIC) side to uniformly control the RFIC. The relevant technology makes the RFIC only a front-end channel resource of the BBIC, and the RFIC side cannot bear more complex RF algorithms and front-end control functions.
[0003] As 5G mobile communication systems gradually mature and come into use, the scheduling of physical layer software has entered the stage of scheduling in slots instead of subframes. The scheduling time is gradually shortened, while the complexity of scheduling increases exponentially. In the field of 5G mobile communication terminals, it is necessary to enhance the RF algorithm and front-end control capabilities of RFIC and reduce the scheduling pressure of BBIC. It is necessary to decouple the strong association between RFIC and BBIC so that RFIC has an independent clock system. Therefore, the clock systems of RFIC and BBIC need to solve the synchronization problem. Summary of the invention
[0004] The present disclosure provides a clock synchronization method, device, electronic device, chip and storage medium to solve the problems in the related art.
[0005] A first aspect of the present disclosure provides a clock synchronization method, which is applied to a baseband integrated circuit (BBIC). The method includes:
[0006] The frame timer Frame timer or the slot timer Slot timer generates a subframe header interrupt signal or a slot header interrupt signal respectively based on the adaptive transmission control ATC adjustment of the physical layer;
[0007] The first timing module obtains the subframe header interrupt signal or the slot header interrupt signal and sends it to the radio frequency integrated circuit RFIC, so that the RFIC adjusts the clock to synchronize with the BBIC based on the subframe header interrupt signal or the slot header interrupt signal; wherein the global clock module GTR of the BBIC and the RFIC adopts the same working clock.
[0008] In some embodiments, the first timing module obtains the subframe header interrupt signal or the slot header interrupt signal and sends it to the radio frequency integrated circuit RFIC, including:
[0009] The first timing module obtains the subframe header interrupt signal or the slot header interrupt signal, and converts the subframe header interrupt signal or the slot header interrupt signal into a pulse signal;
[0010] The pulse signal is sent to the RFIC through a general purpose input / output (GPIO) interface.
[0011] A second aspect of the present disclosure provides a clock synchronization method, which is applied to a radio frequency integrated circuit (RFIC). The method includes:
[0012] The synchronization module synchronizes to the pulse signal sent by the baseband integrated circuit BBIC side, and obtains the first absolute time when the BBIC side sends the pulse signal; wherein the pulse signal is used to indicate the subframe header interrupt signal or the slot header interrupt signal on the BBIC side, and the global clock module GTR of the BBIC and the RFIC adopts the same source working clock;
[0013] The synchronization module determines, based on the first absolute time, that the subframe or slot corresponding to the BBIC side corresponds to the second absolute time of the global timer module of the RFIC.
[0014] In some embodiments, the synchronization module synchronizes to a pulse signal sent by a baseband integrated circuit BBIC side, and obtains a first absolute time when the BBIC side sends the pulse signal, including:
[0015] When the synchronization module is synchronized to the pulse signal sent by the baseband integrated circuit BBIC side, it sends a clock capture request to the globaltimer module of the GTR;
[0016] The global timer module sends the current time as the first absolute time to the synchronization module.
[0017] In some embodiments, the synchronization module determines, based on the first absolute time, that the subframe or slot corresponding to the BBIC side corresponds to the second absolute time of the global timer module of the RFIC, including:
[0018] The synchronization module compares the first absolute time with the time when the BBIC sends the pulse signal, and determines that the subframe or slot corresponds to the second absolute time of the global timer module of the RFIC.
[0019] A third aspect of the present disclosure provides a clock synchronization device, which is applied to a baseband integrated circuit (BBIC). The device includes:
[0020] A generation module, used for adjusting the frame timer Frame timer or the slot timer Slot timer based on the adaptive transmission control ATC of the physical layer, and generating a subframe header interrupt signal or a slot header interrupt signal respectively;
[0021] A sending module is used for the first timing module to obtain the subframe header interrupt signal or the slot header interrupt signal, and send it to the radio frequency integrated circuit RFIC, so that the RFIC adjusts the clock to synchronize with the BBIC based on the subframe header interrupt signal or the slot header interrupt signal; wherein the global clock module GTR of the BBIC and the RFIC adopts the same working clock.
[0022] A fourth aspect of the present disclosure provides a clock synchronization device, which is applied to a radio frequency integrated circuit (RFIC). The device includes:
[0023] An acquisition module is used for synchronizing the synchronization module to the pulse signal sent by the baseband integrated circuit BBIC side, and acquiring the first absolute time when the BBIC side sends the pulse signal; wherein the pulse signal is used to indicate the subframe header interrupt signal or the slot header interrupt signal on the BBIC side, and the global clock module GTR of the BBIC and the RFIC adopts the same source working clock;
[0024] A determination module is used for the synchronization module to determine, based on the first absolute time, that the subframe or slot corresponding to the BBIC side corresponds to the second absolute time of the global timer module of the RFIC.
[0025] A fifth aspect of the present disclosure provides an electronic device, including:
[0026] at least one processor;
[0027] and a memory communicatively coupled to the at least one processor;
[0028] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor so that the at least one processor can execute the method described in the embodiment of the first aspect of the present disclosure.
[0029] The sixth aspect embodiment of the present disclosure proposes a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute the method described in the first aspect embodiment of the present disclosure.
[0030] The seventh aspect embodiment of the present disclosure proposes a chip, which includes one or more interface circuits and one or more processors; the interface circuit is used to receive signals from a memory of an electronic device and send signals to the processor, the signals include computer instructions stored in the memory, and when the processor executes the computer instructions, the electronic device executes the method described in the first aspect embodiment of the present disclosure.
[0031] In summary, the present disclosure proposes a clock synchronization method, device, electronic device, chip and storage medium. The method includes: the Frame timer or Slot timer on the BBIC side is adjusted based on the ATC of the physical layer to generate a header interrupt signal or a slot header interrupt signal respectively; the first timing module on the BBIC side obtains the subframe header interrupt signal or the slot header interrupt signal and sends it to the RFIC, so that the RFIC adjusts the clock to synchronize with the BBIC based on the subframe header interrupt signal or the slot header interrupt signal; wherein the global clock module GTR of the BBIC and the RFIC adopts the same source working clock. The synchronization module on the RFIC side synchronizes to the pulse signal sent by the BBIC side and obtains the first absolute moment when the BBIC side sends the pulse signal; the RFIC determines the second absolute moment of the global timer module of the RFIC corresponding to the subframe or slot on the BBIC side based on the pulse signal to adjust the clock to synchronize with the BBIC. In the above process, the RFIC completes the RFC preconfiguration on the RFIC side based on the pulse signal. The BBIC adjusts the timing control of the channel control on the BBIC side based on the ATC, and the RFC on the RFIC side completes the channel control on the RFIC side. Based on this, the strong association between the BBIC and the RFIC is decoupled, and the RFIC can also be controlled independently, which enhances the RF algorithm and front-end control capabilities of the RFIC.
[0032] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0034] Figure 1 A flowchart of a clock synchronization method provided by an embodiment of the present disclosure;
[0035] Figure 2 A flowchart of a second clock synchronization method provided by an embodiment of the present disclosure;
[0036] Figure 3 A flowchart of a clock synchronization method provided for an application example of the present disclosure;
[0037] Figure 4 System architecture diagram of BBIC and RFIC provided for the application examples of the present disclosure;
[0038] Figure 5 A schematic diagram of the structure of a clock synchronization device provided by an embodiment of the present disclosure;
[0039] Figure 6 A schematic diagram of the structure of a second clock synchronization device provided in an embodiment of the present disclosure;
[0040] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure;
[0041] Figure 8 A schematic diagram of the structure of a chip provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0042] Embodiments of the present disclosure are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.
[0043] In the terminal solution in the field of mobile communications, the relevant technology is to use RFIC as a slave control terminal and use the unified clock timing on the BBIC side to uniformly control RFIC.
[0044] In one embodiment, for example, the global clock modules GTR of the RFIC and the BBIC are designed with the same source clock scheme, and the control scheme of the related technology is as follows:
[0045] After the Radio Frequency Controller (RFC) on the BBIC side is configured, it will use the Serial Peripheral Interface (SPI) to send instructions to configure the sequence parameters to the RFIC. After receiving the instruction, the RFIC will save the Sequence parameters in the internal random access memory RAM for use. The RFIC waits for the BBIC to transmit an interrupt signal through the General Purpose I / O Ports (GPIO) interface. The BBIC will generate an interrupt signal at a specific time point to notify the RFIC to start channel configuration. Usually, the BBIC will generate an interrupt signal at the beginning of each time slot so that the channel can be configured in the next time slot. After receiving the interrupt signal, the RFIC's microcontroller unit (MCU) will call the interrupt service routine to complete the channel configuration process. The relevant process is as follows:
[0046] 1. Get the pre-configured Sequence parameters from the RAM inside the RFIC;
[0047] 2. Calculate the channel parameters that need to be configured based on the Sequence parameters and the current slot information;
[0048] 3. Use the channel parameters to configure the internal circuit of the RFIC;
[0049] 4. Wait for the next slot to arrive and continue the configuration process.
[0050] Through the above process, the RFC on the BBIC side and the MCU on the RFIC side jointly realize the dynamic configuration of the system channel, ensuring the correctness and stability of data transmission in different slots.
[0051] Related technologies make RFIC only a front-end channel resource for BBIC, and the RFIC side cannot take on more complex RF algorithms and front-end control functions.
[0052] As 5G mobile communication systems gradually mature and come into use, the scheduling of physical layer software has entered the stage of scheduling in slots instead of subframes. The scheduling time is gradually shortened, while the complexity of scheduling increases exponentially. In the field of 5G mobile communication terminals, it is necessary to enhance the RF algorithm and front-end control capabilities of RFIC and reduce the scheduling pressure of BBIC. It is necessary to decouple the strong association between RFIC and BBIC so that RFIC has an independent clock system. Therefore, the clock systems of RFIC and BBIC need to solve the synchronization problem.
[0053] In order to solve the problems existing in the related art, the present disclosure proposes a clock synchronization method, device, electronic device, chip and storage medium. The BBIC generates the subframe header interrupt signal of the LTE system or the slot header interrupt signal of the narrowband NB system in real time based on the ATC adjustment; and sends the pulse signal to the RFIC through the GPIO interface; based on the pulse signal, the RFIC can calculate the second absolute moment of the subframe or slot corresponding to the BBIC side corresponding to the globaltimer module of the RFIC to adjust the clock to synchronize with the BBIC. Based on this, the strong association between the BBIC and the RFIC is decoupled, and the clock of the RFIC can also be independently controlled, which enhances the RF algorithm and front-end control capabilities of the RFIC.
[0054] Before introducing the detailed solution of the present disclosure, the scenario in which the solution of the present disclosure is applied is described. In this application scenario, RFIC and BBIC each have an independently working GTR module, and the GTR modules on the RFIC and BBIC sides use the same source design, that is, the GTR modules on the RFIC and BBIC sides use the same clock source.
[0055] In one embodiment, a phase-locked loop (PLL) may be used to provide a working clock for the RFIC and the BBIC. In the embodiment of the present disclosure, using the PLL to provide a working clock for the RFIC is used as an example for explanation, and the specific process is as follows:
[0056] The GTR on the RFIC side requires a stable working clock to achieve high-speed data transmission. PLL is an optional technology for generating clock signals. The brief steps for using PLL to provide a working clock for the GTR on the RFIC side are as follows:
[0057] First, configure the parameters of the PLL, including the output frequency, multiplication factor, voltage controlled oscillator (VCO) frequency, etc., to meet system requirements.
[0058] Secondly, connect the RFIC and PLL; specifically, connect the output signal of the PLL to the clock input pin of the RFIC to ensure reliable signal transmission.
[0059] Secondly, the PLL is started to generate a clock signal. In one embodiment, in order to achieve a better phase-locked effect, a feedback loop is also required to control the PLL.
[0060] In one embodiment, if the clock signal is unstable or the frequency deviation is too large, the PLL needs to be adjusted. The adjustment method includes changing the multiplication factor of the PLL, adjusting the VCO voltage, optimizing the feedback loop, etc.
[0061] Figure 1 A schematic diagram of a clock synchronization method provided by an embodiment of the present disclosure. Figure 1 As shown, the present disclosure provides a clock synchronization method, which is applied to a baseband integrated circuit BBIC. The method comprises the following steps:
[0062] Step 101: A frame timer or a slot timer is adjusted based on an adaptive transmission control (ATC) of a physical layer to generate a subframe header interrupt signal or a slot header interrupt signal respectively;
[0063] In one embodiment, the Frame timer on the BBIC side is a timer used to detect the start and end times of a subframe in a Long Term Evolution (LTE) system.
[0064] In one embodiment, the following description is made by taking the Frame timer on the BBIC side adjusting based on the adaptive transmission control (ATC) of the physical layer to generate the subframe header interrupt signal of the LTE system as an example.
[0065] When there are ATC adjustments in the system, the Frame Timer on the BBIC side needs to accept these adjustments in a timely manner and generate corresponding subframe interrupts to ensure the correctness and reliability of data transmission.
[0066] First, when ATC adjustment is required in the system, the physical layer needs to calculate new transmission parameters (such as data transmission rate) based on factors such as the current channel status, modulation mode, and coding mode, and send them to the upper-layer controller.
[0067] Secondly, the Frame Timer on the BBIC side receives the adjustment signal sent by the physical layer and updates the adjusted parameters. The updating method includes but is not limited to updating the transmission parameters and recalculating the subframe duration.
[0068] In one embodiment, the Frame Timer module determines the start and end time of a subframe based on the transmission parameters, and generates a subframe header interrupt signal at the beginning of each subframe to notify an upper layer device to perform data transmission.
[0069] When the BBIC side updates the transmission parameters based on the ATC adjustment, the Frame Timer module recalculates the subframe duration based on the updated transmission parameters and generates a new subframe header interrupt signal to notify the upper-layer device to perform data transmission and other operations; and then readjusts the data transmission rate and timing to the optimal state.
[0070] In one embodiment, the following description is made by taking the Slot timer on the BBIC side as an example to generate a slot header interruption of the LTE system based on the ATC adjustment of the physical layer.
[0071] When there are ATC adjustments in the system, the slot timer on the BBIC side needs to accept these adjustments in a timely manner and generate corresponding slot interrupt signals to ensure the correctness and reliability of data transmission.
[0072] First, when ATC adjustment is required in the system, the physical layer needs to calculate new transmission parameters (such as data transmission rate) based on factors such as the current channel status, modulation mode, and coding mode, and send them to the upper-layer controller.
[0073] Secondly, the Slot timer on the BBIC side receives the adjustment signal sent by the physical layer, and updates the adjusted parameters.
[0074] The updating method includes but is not limited to updating transmission parameters and recalculating subframe duration.
[0075] In one embodiment, the slot timer determines the start and end time of the slot based on the transmission parameters, and generates a slot interrupt signal at the beginning of each slot to notify the upper layer device to perform data transmission.
[0076] When the BBIC side updates the transmission parameters based on the ATC adjustment, the slot timer recalculates the slot duration based on the updated transmission parameters and generates a new slot header interrupt signal to notify the upper-layer device to perform operations such as data transmission; and then readjusts the data transmission rate and timing to the optimal state.
[0077] Step 102: The first timing module obtains the subframe header interrupt signal or the slot header interrupt signal and sends it to the radio frequency integrated circuit RFIC, so that the RFIC adjusts the clock to synchronize with the BBIC based on the subframe header interrupt signal or the slot header interrupt signal.
[0078] The global clock modules GTR of the BBIC and the RFIC use the same working clock, for example, both use the same working clock provided by PLL.
[0079] In one embodiment, after the first timing module on the BBIC side obtains the subframe header interrupt signal or the slot header interrupt signal, the pre-configuration of the radio frequency controller (RFC) can be completed. At this time, the BBIC configures the sequence parameters for the RFIC through the serial peripheral interface (SPI). The RFIC can complete the pre-configuration of the RFC on the RFIC side according to the sequence parameters.
[0080] Compared with the related art, the clock synchronization method applied to the BBIC provided by the embodiment of the present disclosure is that the BBIC completes the RFC preconfiguration on the BBIC side based on the Sequence parameters, and the RFIC completes the RFC preconfiguration on the RFIC side based on the Sequence parameters transmitted by the BBIC. The BBIC adjusts the timing control of the channel control on the BBIC side based on the ATC, and the RFC on the RFIC side completes the channel control on the RFIC side. Based on this, the strong association between the BBIC and the RFIC is decoupled, and the clock of the RFIC can also be independently controlled, which enhances the RF algorithm and front-end control capabilities of the RFIC.
[0081] In one embodiment, the BBIC usually sends an interrupt signal to the RFIC, such as a subframe header interrupt signal or a slot header interrupt signal, by sending it in the form of a pulse signal. In one embodiment, the pulse width and frequency information of the pulse signal can indicate the timing parameter information of the subframe header interrupt or the slot header interrupt signal.
[0082] Based on this, in one embodiment, the first timing module obtains the subframe header interrupt signal or the slot header interrupt signal and sends it to the radio frequency integrated circuit RFIC, including:
[0083] The first timing module obtains the subframe header interrupt signal or the slot header interrupt signal, and converts the subframe header interrupt signal or the slot header interrupt signal into a pulse signal;
[0084] In one embodiment, the method of converting the subframe header interrupt signal or the slot header interrupt signal into a pulse signal may include the following steps:
[0085] The first timing module obtains the subframe header interrupt signal or the slot header interrupt signal;
[0086] Determine the pulse width and frequency information of the pulse signal based on the timing parameters of the interrupt signal corresponding to the subframe header interrupt signal or the slot header interrupt signal;
[0087] The pulse signal is generated based on the pulse width and frequency information.
[0088] The pulse signal is sent to the RFIC via a general purpose input / output (GPIO) interface.
[0089] After the synchronization module of the RFIC is synchronized to the pulse signal, the first absolute time of synchronization to the pulse signal can be obtained through the GTR on the RFIC side. Further, by comparing the first absolute time with the time when the BBIC sends the pulse signal, the second absolute time of the subframe or slot corresponding to the pulse signal corresponding to the global timer module of the RFIC can be calculated, thereby realizing the clock synchronization between the RFIC and the BBIC.
[0090] like Figure 2 As shown, the embodiment of the present disclosure also provides a clock synchronization method, which is applied to a radio frequency integrated circuit RFIC, and the method includes:
[0091] Step 201: The synchronization module synchronizes to the pulse signal sent by the baseband integrated circuit BBIC side, and obtains the first absolute time when the BBIC side sends the pulse signal; wherein the pulse signal is used to indicate the subframe header interrupt signal or the slot header interrupt signal of the BBIC side, and the global clock module GTR of the BBIC and the RFIC adopts the same source working clock;
[0092] In one embodiment, the synchronization module on the RFIC side can monitor the pulse signal sent by the BBIC side in real time. When the synchronization module on the RFIC side monitors the pulse signal sent by the BBIC side, the synchronization work starts, and the first absolute time when the BBIC side sends the pulse signal is obtained from the GTR on the RFIC side.
[0093] Step 202: The synchronization module determines, based on the first absolute time, that the subframe or slot corresponding to the BBIC side corresponds to the second absolute time of the global timer module of the RFIC.
[0094] In one embodiment, the first absolute moment is obtained by the synchronization module on the RFIC side; at the same time, the pulse signal sent by the BBIC side can also represent the moment information of the BBIC side. By comparing the first absolute moment with the moment information of the pulse signal sent by the BBIC side, the clock difference between the RFIC side and the BBIC side can be calculated; furthermore, the second absolute moment of the global timer module of the RFIC corresponding to the subframe or slot on the BBIC side can be calculated. The synchronization module on the RFIC side feeds back the calculated second absolute moment to the relevant circuit inside the RFIC to adjust the clock to synchronize with the BBIC.
[0095] In one embodiment, the first absolute time is specifically provided by the GTR on the RFIC side.
[0096] Based on this, in one embodiment, the synchronization module synchronizes to the pulse signal sent by the baseband integrated circuit BBIC side, and obtains the first absolute time when the BBIC side sends the pulse signal, including:
[0097] When the synchronization module is synchronized to the pulse signal sent by the baseband integrated circuit BBIC side, it sends a clock capture request to the globaltimer module of the GTR;
[0098] In one embodiment, the global timer module returns a response signal to the synchronization module based on the clock capture request, and the response signal records the current absolute time, that is, the first absolute time when the synchronization module synchronously acquires the pulse signal.
[0099] Furthermore, the global timer module sends the current time as the first absolute time to the synchronization module.
[0100] Based on the above description, in one embodiment, the synchronization module determines, based on the first absolute time, that the subframe or slot corresponding to the BBIC side corresponds to the second absolute time of the global timer module of the RFIC, including:
[0101] The synchronization module compares the first absolute time with the time when the BBIC sends the pulse signal, and determines that the subframe or slot corresponds to the second absolute time of the global timer module of the RFIC.
[0102] In one embodiment, the time difference between the RFIC and the BBIC can be determined based on the difference between the first absolute time and the time when the BBIC sends the pulse signal, and then the second absolute time when the subframe or slot corresponds to the global timer module of the RFIC can be calculated.
[0103] In summary, the clock synchronization method provided in the embodiment of the present disclosure is applied to a scenario where the BBIC and the RFIC are provided with the same source working clock by PLL, and includes the following steps:
[0104] The Frame timer or Slot timer on the BBIC side is adjusted based on the ATC of the physical layer to generate a subframe header interrupt signal of the LTE system or a slot header interrupt signal of the narrowband NB system respectively; the first timing module on the BBIC side obtains the subframe header interrupt signal or the slot header interrupt signal and sends it to the RFIC, so that the RFIC adjusts the clock to synchronize with the BBIC based on the subframe header interrupt signal or the slot header interrupt signal; wherein the global clock module GTR of the BBIC and the RFIC adopts the same source working clock. The synchronization module on the RFIC side synchronizes to the pulse signal sent by the BBIC side and obtains the first absolute moment when the BBIC side sends the pulse signal; the synchronization module on the RFIC side calculates the scheme provided by the present disclosure based on the ATC adjustment based on the first absolute moment; and sends the pulse signal to the RFIC through the GPIO interface; the RFIC can calculate the second absolute moment of the global timer module of the RFIC corresponding to the subframe or slot on the BBIC side based on the pulse signal to adjust the clock to synchronize with the BBIC. In the above process, the RFIC completes the RFC preconfiguration on the RFIC side based on the pulse signal. The BBIC adjusts the timing control of the channel control on the BBIC side based on the ATC, and the RFC on the RFIC side completes the channel control on the RFIC side. Based on this, the strong association between the BBIC and the RFIC is decoupled, and the clock of the RFIC can also be independently controlled, which enhances the RF algorithm and front-end control capabilities of the RFIC.
[0105] The clock synchronization method provided by the present disclosure is further described below with an application example.
[0106] like Figure 3 The clock synchronization method provided by the application example of the present disclosure is applied to Figure 4 The LTE system architecture shown includes the following steps:
[0107] Step 301: using PLL to provide the same source working clock for the GTR on the BBIC and RFIC sides;
[0108] Step 302: The Frame timer or Slot timer on the BBIC side generates a subframe header interrupt signal of the LTE system or a slot header interrupt signal of the NB system based on the ATC adjustment of the physical layer;
[0109] Step 303: The first timing module on the BBIC side obtains the subframe header interrupt signal or the slot header interrupt signal, converts it into a pulse signal, and sends it to the RFIC through the GPIO interface;
[0110] Step 304: The synchronization module on the RFIC side synchronizes to the pulse signal sent by the BBIC side, and obtains the first absolute time when the BBIC side sends the pulse signal;
[0111] Step 305: The synchronization module on the RFIC side determines, based on the first absolute time, that the subframe or slot corresponding to the BBIC side corresponds to the second absolute time of the global timer module of the RFIC;
[0112] Step 306: The RFIC adjusts the clock to synchronize with the BBIC based on the second absolute time.
[0113] In the above process, the RFIC completes the RFC preconfiguration on the RFIC side based on the pulse signal. The BBIC adjusts the timing control of the channel control on the BBIC side based on the ATC, and the RFC on the RFIC side completes the channel control on the RFIC side. Based on this, the strong association between the BBIC and the RFIC is decoupled, and the clock of the RFIC can also be independently controlled, which enhances the RF algorithm and front-end control capabilities of the RFIC.
[0114] Figure 5 The structure diagram of a clock synchronization device provided by an embodiment of the present disclosure is shown in FIG. Figure 5 As shown, the clock synchronization device is applied to BBIC, and the device comprises:
[0115] A generating module 501 is used for adjusting a frame timer Frame timer or a slot timer Slot timer based on an adaptive transmission control ATC of a physical layer, and generating a subframe header interrupt signal or a slot header interrupt signal respectively;
[0116] The sending module 502 is used for the first timing module to obtain the subframe header interrupt signal or the slot header interrupt signal, and send it to the radio frequency integrated circuit RFIC, so that the RFIC adjusts the clock to synchronize with the BBIC based on the subframe header interrupt signal or the slot header interrupt signal; wherein the global clock module GTR of the BBIC and the RFIC adopts the same working clock.
[0117] In one embodiment, the sending module 502 is specifically used for the first timing module to obtain the subframe header interrupt signal or the slot header interrupt signal, and convert the subframe header interrupt signal or the slot header interrupt signal into a pulse signal;
[0118] The pulse signal is sent to the RFIC through the GPIO interface.
[0119] Figure 6 The structure diagram of the second clock synchronization device provided by the embodiment of the present disclosure is shown in FIG. Figure 6 As shown, the clock synchronization device is applied to RFIC, and the device comprises:
[0120] The acquisition module 601 is used for synchronizing the synchronization module to the pulse signal sent by the baseband integrated circuit BBIC side, and obtaining the first absolute time when the BBIC side sends the pulse signal; wherein the pulse signal is used to indicate the subframe header interrupt signal or the slot header interrupt signal on the BBIC side, and the global clock module GTR of the BBIC and the RFIC adopts the same source working clock;
[0121] The determination module 602 is used for the synchronization module to determine, based on the first absolute time, that the subframe or slot corresponding to the BBIC side corresponds to the second absolute time of the global timer module of the RFIC.
[0122] In one embodiment, the acquisition module 601 is specifically used to send a clock capture request to the global timer module of the GTR when the synchronization module is synchronized to the pulse signal sent by the baseband integrated circuit BBIC side;
[0123] The global timer module sends the current time as the first absolute time to the synchronization module.
[0124] In one embodiment, the determination module 602 is specifically used for the synchronization module to compare the first absolute time with the time when the BBIC sends the pulse signal to determine the second absolute time when the subframe or slot corresponds to the globaltimer module of the RFIC.
[0125] Since the device provided in the embodiment of the present disclosure corresponds to the methods provided in the above-mentioned embodiments, the implementation of the method is also applicable to the device provided in the embodiment and will not be described in detail in this embodiment.
[0126] In the embodiments provided in the present application, the methods and devices provided in the embodiments of the present application are introduced. In order to implement the functions in the methods provided in the embodiments of the present application, the electronic device may include a hardware structure and a software module, and implement the functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. A function of the functions may be executed in the form of a hardware structure, a software module, or a hardware structure plus a software module.
[0127] Figure 7 is a block diagram of an electronic device 700 for implementing the above clock synchronization method according to an exemplary embodiment. For example, the electronic device 700 may be a mobile phone, a computer, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0128] Reference Figure 7 , the electronic device 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power component 706 , a multimedia component 708 , an audio component 710 , an input / output (I / O) interface 712 , a sensor component 714 , and a communication component 716 .
[0129] The processing component 702 generally controls the overall operation of the electronic device 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 1020 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 702 may include one or more modules to facilitate the interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate the interaction between the multimedia component 708 and the processing component 702.
[0130] The memory 704 is configured to store various types of data to support operations on the electronic device 700. Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0131] The power supply component 706 provides power to the various components of the electronic device 700. The power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 700.
[0132] The multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front camera and / or a rear camera. When the electronic device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0133] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), and when the electronic device 700 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 704 or sent via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.
[0134] I / O interface 712 provides an interface between processing component 702 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0135] The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the electronic device 700. For example, the sensor assembly 714 can detect the open / closed state of the electronic device 700, the relative positioning of components, such as the display and keypad of the electronic device 700, and the sensor assembly 714 can also detect the position change of the electronic device 700 or a component of the electronic device 700, the presence or absence of user contact with the electronic device 700, the orientation or acceleration / deceleration of the electronic device 700, and the temperature change of the electronic device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0136] The communication component 716 is configured to facilitate wired or wireless communication between the electronic device 700 and other devices. The electronic device 700 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G LTE, 5G NR, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1016 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0137] In an exemplary embodiment, the electronic device 700 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0138] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, and the instructions can be executed by a processor 720 of an electronic device 700 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0139] The embodiments of the present disclosure further provide a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute the clock synchronization method described in the above embodiments of the present disclosure.
[0140] An embodiment of the present disclosure further provides a computer program product, including a computer program, which executes the clock synchronization method described in the above embodiment of the present disclosure when a processor is used to execute the computer program.
[0141] The embodiment of the present disclosure also provides a chip, which can be seen in Figure 8 Schematic diagram of the chip structure shown. Figure 8 The chip shown includes a processor 801 and an interface 802. The number of the processor 801 may be one or more, and the number of the interface 802 may be multiple.
[0142] Optionally, the chip further includes a memory 803, and the memory 803 is used to store necessary computer instructions.
[0143] The interface 802 is used to receive a signal from the memory 803 and send a signal to the processor 801. The signal includes a computer instruction stored in the memory 803. When the processor 801 executes the computer instruction, the processor 801 executes the clock synchronization method described in the above embodiment of the present disclosure.
[0144] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0145] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0146] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.
[0147] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processing module, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (control method), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary, and then stored in a computer memory.
[0148] It should be understood that the various parts of the embodiments of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0149] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0150] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. The above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0151] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.
Claims
1. A clock synchronization method, applied to a baseband integrated circuit BBIC, characterized in that: include: The frame timer Frame timer or the slot timer Slot timer generates a subframe header interrupt signal or a slot header interrupt signal respectively based on the adaptive transmission control ATC adjustment of the physical layer; The first timing module obtains the subframe header interrupt signal or the slot header interrupt signal and sends it to the radio frequency integrated circuit RFIC, so that the RFIC adjusts the clock to synchronize with the BBIC based on the subframe header interrupt signal or the slot header interrupt signal; wherein the global clock module GTR of the BBIC and the RFIC adopts the same working clock.
2. The method according to claim 1, characterized in that The first timing module obtains the subframe header interrupt signal or the slot header interrupt signal and sends it to the radio frequency integrated circuit RFIC, including: The first timing module obtains the subframe header interrupt signal or the slot header interrupt signal, and converts the subframe header interrupt signal or the slot header interrupt signal into a pulse signal; The pulse signal is sent to the RFIC through a general purpose input / output (GPIO) interface.
3. A clock synchronization method, applied to a radio frequency integrated circuit RFIC, characterized in that: include: The synchronization module synchronizes to the pulse signal sent by the baseband integrated circuit BBIC side, and obtains the first absolute time when the BBIC side sends the pulse signal; wherein the pulse signal is used to indicate the subframe header interrupt signal or the slot header interrupt signal on the BBIC side, and the global clock module GTR of the BBIC and the RFIC adopts the same source working clock; The synchronization module determines, based on the first absolute time, that the subframe or slot corresponding to the BBIC side corresponds to the second absolute time of the global timer module of the RFIC.
4. The method according to claim 3, characterized in that The synchronization module synchronizes to a pulse signal sent by a baseband integrated circuit BBIC side, and obtains a first absolute time when the BBIC side sends the pulse signal, including: When the synchronization module is synchronized to the pulse signal sent by the baseband integrated circuit BBIC side, it sends a clock capture request to the global timer module of the GTR; The global timer module sends the current time as the first absolute time to the synchronization module.
5. The method according to claim 3, characterized in that: The synchronization module determines, based on the first absolute time, that the subframe or slot corresponding to the BBIC side corresponds to the second absolute time of the global timer module of the RFIC, including: The synchronization module compares the first absolute time with the time when the BBIC sends the pulse signal, and determines that the subframe or slot corresponds to the second absolute time of the global timer module of the RFIC.
6. A clock synchronization device, applied to a baseband integrated circuit BBIC, characterized in that: include: A generation module, used for adjusting the frame timer Frame timer or the slot timer Slot timer based on the adaptive transmission control ATC of the physical layer, and generating a subframe header interrupt signal or a slot header interrupt signal respectively; A sending module is used for the first timing module to obtain the subframe header interrupt signal or the slot header interrupt signal, and send it to the radio frequency integrated circuit RFIC, so that the RFIC adjusts the clock to synchronize with the BBIC based on the subframe header interrupt signal or the slot header interrupt signal; wherein the global clock module GTR of the BBIC and the RFIC adopts the same working clock.
7. A clock synchronization device, applied to a radio frequency integrated circuit RFIC, characterized in that: include: An acquisition module is used for synchronizing the synchronization module to the pulse signal sent by the baseband integrated circuit BBIC side, and acquiring the first absolute time when the BBIC side sends the pulse signal; wherein the pulse signal is used to indicate the subframe header interrupt signal or the slot header interrupt signal on the BBIC side, and the global clock module GTR of the BBIC and the RFIC adopts the same source working clock; A determination module is used for the synchronization module to determine, based on the first absolute time, that the subframe or slot corresponding to the BBIC side corresponds to the second absolute time of the global timer module of the RFIC.
8. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 2 or claims 3 to 5.
9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 2 or claims 3 to 5.
10. A chip, characterized in that: The electronic device comprises one or more interface circuits and one or more processors; the interface circuit is used to receive a signal from a memory of the electronic device and send the signal to the processor, the signal comprises a computer instruction stored in the memory, and when the processor executes the computer instruction, the electronic device executes the method described in any one of claims 1 to 2 or claims 3 to 5.
Citation Information
Cited By
Clock synchronization method and device, electronic equipment, chip and storage medium
CN119815497A
