Phase compensation method, electronic device and storage medium

By pre-calculating phase compensation values ​​in 5G NR and using hardware accelerators for phase compensation calculations, the inefficiency problem in existing technologies is solved, achieving more efficient phase compensation and reducing the processing load of the main chip.

CN117376074BActive Publication Date: 2024-11-29SHENZHEN ANBEI TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311365276.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-20
Publication Date
2024-11-29
Estimated Expiration
2043-10-20

AI Technical Summary

Technical Problem

Existing phase compensation schemes are inefficient in 5G NR, causing the chip to spend a lot of time performing phase compensation calculations, which increases the processing load of the main chip.

Method used

By pre-calculating the phase compensation value of the preset symbol corresponding to the downlink or uplink frequency point, and using a hardware accelerator to perform phase compensation calculation, redundant calculations are avoided. Specifically, this includes determining the frequency point, calculating the phase compensation value, transmitting the signal to the hardware accelerator for phase compensation, and converting the result into a time domain or frequency domain signal.

Benefits of technology

This significantly shortens the phase compensation processing time, reduces the processing load on the main chip, and improves the efficiency of phase compensation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117376074B_ABST
    Figure CN117376074B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a phase compensation method, an electronic device and a storage medium, including: determining a current downlink frequency; calculating a first compensation phase required for a phase corresponding to a first preset symbol corresponding to the downlink frequency; transmitting the first compensation phase and a frequency domain signal corresponding to the first compensation phase to a hardware accelerator, so that the hardware accelerator performs a phase compensation operation according to the first compensation phase and the frequency domain signal; receiving the compensated frequency domain signal returned by the hardware accelerator, and converting the compensated frequency domain signal into a time domain signal. This scheme can improve the efficiency of phase compensation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a phase compensation method, an electronic device, and a storage medium. Background Art

[0002] Phase compensation is a concept introduced in 5GNR (New Radio) to solve the phase rotation problem caused by the inconsistency between the center frequency of the transmitter and the center frequency of the receiver. A 5G base station generally has a transmitter and a receiver, which are used to transmit and receive signals respectively.

[0003] However, since the number of frequency domain signals is relatively large, the chip needs to spend a lot of time when performing phase compensation calculations, that is, the efficiency of the current phase compensation solution is low. Summary of the invention

[0004] The embodiments of the present application provide a phase compensation method, an electronic device, and a storage medium, which can improve the efficiency of phase compensation.

[0005] In a first aspect, an embodiment of the present application provides a phase compensation method, including:

[0006] Determine the current downlink frequency;

[0007] Calculate a first compensation phase required for a phase corresponding to a first preset symbol corresponding to the downlink frequency point;

[0008] Transmitting the first compensation phase and the frequency domain signal corresponding to the first compensation phase to a hardware accelerator, so that the hardware accelerator performs a phase compensation operation according to the first compensation phase and the frequency domain signal;

[0009] The compensated frequency domain signal returned by the hardware accelerator is received, and the compensated frequency domain signal is converted into a time domain signal.

[0010] Optionally, in some embodiments, before transmitting the first compensation phase and the frequency domain signal corresponding to the first compensation phase to a hardware accelerator so that the hardware accelerator performs a phase compensation operation according to the first compensation phase and the frequency domain signal, the method further includes:

[0011] storing the first compensation phases into preset addresses respectively;

[0012] The transmitting the first compensation phase and the frequency domain signal corresponding to the first compensation phase to the hardware accelerator so that the hardware accelerator performs a phase compensation operation according to the first compensation phase and the frequency domain signal, includes: transmitting the first compensation phase and the frequency domain signal corresponding to the first compensation phase to the hardware accelerator so that the hardware accelerator takes out the first compensation phase from a preset address, and performs a phase compensation operation according to the first compensation phase and the frequency domain signal corresponding to the first compensation phase.

[0013] Optionally, in some embodiments, the hardware accelerator takes out the first compensation phase from a preset address, and performs a phase compensation operation according to the first compensation phase and a frequency domain signal corresponding to the first compensation phase, including:

[0014] The hardware accelerator calculates a current first compensation phase according to the downlink frequency and a preset symbol index;

[0015] Calculating a first phase compensation value according to the downlink frequency point and the current first compensation phase;

[0016] A phase compensation operation is performed on the frequency domain signal corresponding to the current first compensation phase and the first phase compensation value.

[0017] Optionally, in some embodiments, converting the compensated frequency domain signal into a time domain signal includes:

[0018] Perform inverse fast Fourier transform on the compensated frequency domain signal to convert the compensated frequency domain signal into a time domain signal.

[0019] In a second aspect, an embodiment of the present application provides a phase compensation method, including:

[0020] Determine the current uplink frequency;

[0021] Calculate a second compensation phase required for a phase corresponding to a second preset symbol corresponding to the uplink frequency point;

[0022] Transmitting the second compensation phase and the time domain signal corresponding to the second compensation phase to the hardware accelerator, so that the hardware accelerator converts the time domain signal into a frequency domain signal and then performs a phase compensation operation according to the second compensation phase and the frequency domain signal;

[0023] The compensated frequency domain signal returned by the hardware accelerator is received.

[0024] Optionally, in some embodiments, the transmitting the second compensation phase and the time domain signal corresponding to the second compensation phase to the hardware accelerator so that the hardware accelerator converts the time domain signal into a frequency domain signal and before performing a phase compensation operation according to the second compensation phase and the frequency domain signal, further includes:

[0025] storing the second compensation phases into preset addresses respectively;

[0026] The second compensation phase and the time domain signal corresponding to the second compensation phase are transmitted to the hardware accelerator so that the hardware accelerator converts the time domain signal into a frequency domain signal and then performs a phase compensation operation according to the second compensation phase and the frequency domain signal, including: transmitting the second compensation phase and the time domain signal corresponding to the second compensation phase to the hardware accelerator so that the hardware accelerator converts the time domain signal into a frequency domain signal; the hardware accelerator takes out the second compensation phase from a preset address, and performs a phase compensation operation according to the second compensation phase and the frequency domain signal corresponding to the second compensation phase.

[0027] Optionally, in some embodiments, the hardware accelerator takes out the second compensation phase and the time domain signal from a preset address, and performs a phase compensation operation according to the second compensation phase and the time domain signal, including:

[0028] The hardware accelerator calculates a current second compensation phase according to the uplink frequency point and a preset symbol index;

[0029] Calculating a second phase compensation value according to the uplink frequency point and the current second compensation phase;

[0030] A phase compensation operation is performed on the frequency domain signal corresponding to the current second compensation phase and the second phase compensation value.

[0031] Optionally, in some embodiments, converting the compensated time domain signal into a frequency domain signal includes:

[0032] Performing a fast Fourier transform on the compensated time domain signal to convert the compensated time domain signal into a frequency domain signal.

[0033] Correspondingly, the present application also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the steps of any of the above methods when executing the program.

[0034] The present application also provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above methods are implemented.

[0035] The embodiment of the present application provides a phase compensation method, device, electronic device and storage medium. After determining the current downlink frequency, the first compensation phase required for the phase corresponding to the first preset symbol corresponding to the downlink frequency is calculated, and then the first compensation phase and the frequency domain signal corresponding to the first compensation phase are transmitted to the hardware accelerator so that the hardware accelerator performs phase compensation operation according to the first compensation phase and the frequency domain signal. Finally, the compensated frequency domain signal returned by the hardware accelerator is received, and the compensated frequency domain signal is converted into a time domain signal. The phase compensation scheme provided by the present application pre-calculates the first compensation phase required for the phase corresponding to the first preset symbol corresponding to the downlink frequency, avoids repeated calculations, and performs phase compensation through the hardware accelerator, which greatly shortens the processing time of phase compensation and reduces the processing load of the main chip.

[0036] The embodiments of the present application also provide a phase compensation method, device, electronic device and storage medium, which, after determining the current uplink frequency, calculates the second compensation phase required for the phase corresponding to the second preset symbol corresponding to the uplink frequency, and then transmits the second compensation phase and the time domain signal corresponding to the second compensation phase to the hardware accelerator, so that the hardware accelerator converts the time domain signal into a frequency domain signal, and then performs phase compensation operation according to the second compensation phase and the frequency domain signal, and finally receives the compensated frequency domain signal returned by the hardware accelerator. The phase compensation scheme provided by the present application pre-calculates the second compensation phase required for the phase corresponding to the second preset symbol corresponding to the uplink frequency, avoids repeated calculations, and performs phase compensation through the hardware accelerator, which greatly shortens the processing time of phase compensation and reduces the processing load of the main chip. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0038] Figure 1 is a flow chart of a phase compensation method provided in an embodiment of the present application;

[0039] Figure 2 It is a frequency point schematic diagram provided in the embodiment of the present application;

[0040] Figure 3 is another flow chart of the phase compensation method provided in an embodiment of the present application;

[0041] Figure 4 is a schematic structural diagram of a phase compensation device provided in an embodiment of the present application;

[0042] Figure 5 is another structural schematic diagram of the phase compensation device provided in an embodiment of the present application;

[0043] Figure 6 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0045] The embodiments of the present application provide a phase compensation method, device, electronic device and storage medium. It should be noted that the description order of the following embodiments is not intended to limit the priority order of the embodiments.

[0046] 5G NR is the abbreviation of the fifth generation of mobile communication technology. It has made significant innovations and improvements on the basis of 4G technology. There have been huge improvements in transmission speed, latency, data capacity, connection density, network slicing, etc., which has led to widespread attention and application of 5G technology. At present, China has officially issued 5G commercial licenses and built a large number of NR base stations, which has gradually expanded the coverage of 5G networks across the country. Due to the large carrier spectrum bandwidth of 5G, a new concept of partial bandwidth (Bandwidth Part, BWP) is proposed.

[0047] BWP is a subset of the channel bandwidth and can be understood as the working bandwidth of the terminal. The terminal can use different BWPs in the initial access phase, connected state, and idle state, and can also use different BWPs according to different service types.

[0048] Since 5G NR supports multiple variable carrier bandwidths and the allocation of BWP within the carrier, the inconsistency of the center frequencies of the transmitting and receiving ends is a very typical scenario. In order to solve the phase rotation problem caused by the inconsistency between the center frequency of the transmitting end and the center frequency of the receiving end, which is essentially the error between the phase of the local oscillator and the phase of the carrier signal, it will cause the distortion of the received signal of the Orthogonal Frequency Division Multiplexing (OFDM) system, resulting in a decrease in system performance. Therefore, in order to avoid the degradation of system performance, compensation will be performed based on the phase compensation formula, as shown in the following formula (1):

[0049]

[0050] Where s(t) is the time domain baseband signal, l is the symbol index, p is the port number, μ is the subcarrier spacing configuration, f0 is the uplink frequency or the downlink frequency, is the start time of the current symbol, is the CP number of the current symbol, T c It is the basic time unit of 5GNR. For phase compensation, both uplink and downlink need to be compensated. During the uplink and downlink phase compensation process, each symbol needs to calculate the corresponding phase compensation value and use the phase compensation value and the frequency domain signal of the current symbol to perform phase compensation operation. This series of calculations are all completed on the digital signal processing technology (Digital Signal Processing, DSP) chip. Due to the large number of frequency domain signals, the chip needs to spend a lot of time when performing phase compensation operations, which leads to some software performance problems of the chip. Based on this, the present application provides a phase compensation method, which analyzes the phase compensation implementation steps and utilizes the characteristics of the hardware accelerator to put the phase compensation value and the frequency domain signal operation on the hardware accelerator for processing, thereby greatly shortening the processing time of phase compensation and reducing the processing load of the main chip.

[0051] The present application provides a phase compensation method, including: determining a current downlink frequency; calculating a first compensation phase required for a phase corresponding to a first preset symbol corresponding to the downlink frequency; transmitting the first compensation phase and a frequency domain signal corresponding to the first compensation phase to a hardware accelerator, so that the hardware accelerator performs a phase compensation operation according to the first compensation phase and the frequency domain signal; receiving the compensated frequency domain signal returned by the hardware accelerator, and converting the compensated frequency domain signal into a time domain signal.

[0052] See also Figure 1 , Figure 1 A schematic diagram of a phase compensation method provided in an embodiment of the present application. The specific process of the phase compensation method may be as follows:

[0053] 101. Determine the current downlink frequency.

[0054] The frequency is a series of continuous values, such as 1920Mhz or 4800Mhz. If the downlink frequency is 1920Mhz, then its corresponding frequency point NREF=0+(1920-0)Mhz / 5khz=38400, that is, the downlink frequency point corresponding to the downlink frequency is 38400.

[0055] 102. Calculate a first compensation phase required for a phase corresponding to a first preset symbol corresponding to a downlink frequency point.

[0056] It should be noted that for Long Term Evolution (LTE) technology, all user devices can support a maximum carrier bandwidth of 20M; however, for 5GNR, since the maximum carrier bandwidth can reach 100M (low frequency band) or 400M (millimeter wave high frequency band), it is unreasonable to require all user devices to support the maximum bandwidth. Therefore, by introducing BWP, NR can support user devices whose receiving bandwidth is less than the entire bandwidth, such as Figure 2 As shown, the base station supports 100M bandwidth, whose central frequency is f_carrier, and the user equipment bandwidth is part of the bandwidth (i.e. BWP), whose central frequency is f_bwp. The central frequencies of the user equipment and the base station are inconsistent, with a difference of Δf=f carrier -f bwp =f0-f ue .

[0057] In order to prevent inter-symbol interference (ISI) and inter-channel interference (ICI), a cyclic prefix (CP) needs to be filled in the OFDM guard interval. Since CP is not required data, it must be removed before FFT, so the phase added during the CP time needs to be compensated.

[0058] From formula (1), we can see that when At the beginning of the OFDM symbol, the phase starts from 0. The phase value that needs to be compensated at this time is Since the base station and user equipment have different frequencies, and the receiving end does not know the transmitting end's frequency, they can only do their own thing. The base station needs to compensate for the phase value Where T c It is configured by the protocol stack and is the basic time unit of 5G NR. Both are fixed values. and The value of is determined by the symbol index and subcarrier spacing configuration. Therefore, in this application, the first compensation phase required for the phase corresponding to the first preset symbol corresponding to the downlink frequency point can be calculated in advance, and the phase compensation value corresponding to the first compensation phase can be saved to avoid recalculating each time the phase compensation is performed. It should be noted that It can be calculated by formula (2) and formula (3), as follows:

[0059]

[0060]

[0061] in addition, It can be calculated by formula (4), as follows:

[0062]

[0063] After the phase compensation value corresponding to the above OFDM symbol is calculated, the frequency domain signal of the current symbol and the corresponding phase compensation value are transmitted to the hardware accelerator together so that the hardware accelerator performs phase compensation.

[0064] 103. Transmit the first compensation phase and the frequency domain signal corresponding to the first compensation phase to the hardware accelerator, so that the hardware accelerator performs a phase compensation operation according to the first compensation phase and the frequency domain signal.

[0065] Before transmitting the first compensation phase and the frequency domain signal corresponding to the first compensation phase to the hardware accelerator, the phase compensation value needs to be placed in a fixed address. After transmitting the first compensation phase and the frequency domain signal corresponding to the first compensation phase to the hardware accelerator, the hardware accelerator takes out the frequency domain signal and the phase compensation value from the corresponding address and performs a phase compensation operation to obtain the compensated frequency domain signal. That is, optionally, in some embodiments, before the step of "transmitting the first compensation phase and the frequency domain signal corresponding to the first compensation phase to the hardware accelerator so that the hardware accelerator performs a phase compensation operation according to the first compensation phase and the frequency domain signal", it may specifically include: storing the first compensation phase in a preset address respectively;

[0066] The step of "transmitting the first compensation phase and the frequency domain signal corresponding to the first compensation phase to the hardware accelerator, so that the hardware accelerator performs a phase compensation operation based on the first compensation phase and the frequency domain signal" may specifically include: transmitting the first compensation phase and the frequency domain signal corresponding to the first compensation phase to the hardware accelerator, so that the hardware accelerator takes out the first compensation phase from a preset address, and performs a phase compensation operation based on the first compensation phase and the frequency domain signal corresponding to the first compensation phase.

[0067] Among them, the phase compensation value and the frequency domain data can be taken out from the corresponding address, and then the phase compensation is performed on the target subcarrier on the frequency domain data, that is, the parameters of the phase corresponding to each first preset symbol in a frame of data at the downlink frequency point are calculated, and finally, the phase compensation is performed with the frequency domain signal through the compensation parameters, that is, optionally, in some embodiments, the step of "the hardware accelerator takes out the first compensation phase from the preset address, and performs a phase compensation operation according to the first compensation phase and the frequency domain signal corresponding to the first compensation phase" can specifically include:

[0068] The hardware accelerator calculates the current first compensation phase according to the downlink frequency and the preset symbol index;

[0069] The hardware accelerator calculates a first phase compensation value according to the downlink frequency point and the current first compensation phase;

[0070] The hardware accelerator performs a phase compensation operation on the frequency domain signal corresponding to the current first compensation phase and the first phase compensation value.

[0071] 104. Receive the compensated frequency domain signal returned by the hardware accelerator, and convert the compensated frequency domain signal into a time domain signal.

[0072] After receiving the compensated frequency domain signal returned by the hardware accelerator, an inverse fast Fourier transform is performed on the compensated frequency domain signal to convert the compensated frequency domain signal into a time domain signal. The inverse fast Fourier transform (IFFT) is an efficient signal processing algorithm used to convert a frequency domain signal into a time domain signal.

[0073] After the embodiment of the present application determines the current downlink frequency, it calculates the first compensation phase required for the phase corresponding to the first preset symbol corresponding to the downlink frequency, and then transmits the first compensation phase and the frequency domain signal corresponding to the first compensation phase to the hardware accelerator, so that the hardware accelerator performs phase compensation operation according to the first compensation phase and the frequency domain signal, and finally, receives the compensated frequency domain signal returned by the hardware accelerator, and converts the compensated frequency domain signal into a time domain signal. The phase compensation scheme provided by the present application pre-calculates the first compensation phase required for the phase corresponding to the first preset symbol corresponding to the downlink frequency, avoids repeated calculations, and performs phase compensation through the hardware accelerator, which greatly shortens the processing time of phase compensation and reduces the processing load of the main chip.

[0074] The present application also provides a phase compensation method, including: determining the current uplink frequency; calculating the second compensation phase required for the phase corresponding to the second preset symbol corresponding to the uplink frequency; transmitting the second compensation phase and the time domain signal corresponding to the second compensation phase to a hardware accelerator, so that the hardware accelerator converts the time domain signal into a frequency domain signal, and then performs a phase compensation operation according to the second compensation phase and the frequency domain signal; and receiving the compensated frequency domain signal returned by the hardware accelerator.

[0075] See also Figure 3 , Figure 3 Another flow chart of the phase compensation method provided in the embodiment of the present application. The specific flow of the phase compensation method can be as follows:

[0076] 201. Determine the current uplink frequency.

[0077] If the uplink frequency is 4800Mhz, the uplink frequency point = 600000 + (4800-3000)Mhz / 15khz = 720000.

[0078] 202. Calculate a second compensation phase required for a phase corresponding to a second preset symbol corresponding to an uplink frequency point.

[0079] After the phase compensation value corresponding to the second preset symbol is calculated, the time domain signal of the current symbol and the corresponding phase compensation value are transmitted to the hardware accelerator together so that the hardware accelerator performs phase compensation.

[0080] 203. Transmit the second compensation phase and the time domain signal corresponding to the second compensation phase to the hardware accelerator, so that the hardware accelerator converts the time domain signal into a frequency domain signal and then performs a phase compensation operation according to the second compensation phase and the frequency domain signal.

[0081] After the second compensation phase and the time domain signal corresponding to the second compensation phase are transmitted to the hardware accelerator, and then the hardware accelerator converts the time domain signal into a frequency domain signal, a fast Fourier transform (FFT) can be used to convert the time domain signal into the frequency domain, and then the hardware accelerator performs a phase compensation operation according to the second compensation phase and the frequency domain signal.

[0082] Optionally, in some embodiments, the step of “transmitting the second compensation phase and the time domain signal corresponding to the second compensation phase to the hardware accelerator, so that the hardware accelerator converts the time domain signal into a frequency domain signal and then performs a phase compensation operation according to the second compensation phase and the frequency domain signal” may specifically include:

[0083] The second compensation phase and the time domain signal corresponding to the second compensation phase are transmitted to the hardware accelerator so that the hardware accelerator converts the time domain signal into a frequency domain signal; the hardware accelerator calculates the second compensation phase according to the uplink frequency point and the current symbol index, and calculates the second phase compensation value according to the uplink frequency point and the current second compensation phase; finally, a phase compensation operation is performed according to the second compensation phase and the frequency domain signal corresponding to the second compensation phase.

[0084] 204. Receive the compensated frequency domain signal returned by the hardware accelerator.

[0085] After the embodiment of the present application determines the current uplink frequency, it calculates the second compensation phase required for the phase corresponding to the second preset symbol corresponding to the uplink frequency, and then transmits the second compensation phase and the time domain signal corresponding to the second compensation phase to the hardware accelerator, so that the hardware accelerator converts the time domain signal into a frequency domain signal, and then performs phase compensation operation according to the second compensation phase and the frequency domain signal, and finally receives the compensated frequency domain signal returned by the hardware accelerator. The phase compensation scheme provided by the present application pre-calculates the second compensation phase required for the phase corresponding to the second preset symbol corresponding to the uplink frequency, avoids repeated calculations, and performs phase compensation through the hardware accelerator, which greatly shortens the processing time of phase compensation and reduces the processing load of the main chip.

[0086] See also Figure 4 , Figure 4 This is a schematic diagram of the structure of a phase compensation device provided in an embodiment of the present application, wherein the phase compensation device may include a determination module 301, a calculation module 302, a transmission module 303 and a receiving module 304, which may be specifically as follows:

[0087] The determination module 301 is used to determine the current downlink frequency.

[0088] The calculation module 302 is used to calculate a first compensation phase required for a phase corresponding to a first preset symbol corresponding to a downlink frequency point.

[0089] The transmission module 303 transmits the first compensation phase and the frequency domain signal corresponding to the first compensation phase to the hardware accelerator, so that the hardware accelerator performs a phase compensation operation according to the first compensation phase and the frequency domain signal.

[0090] Optionally, in some embodiments, the transmission module 303 may be specifically configured to: store the first compensation phases into preset addresses respectively.

[0091] The receiving module 304 is used to receive the compensated frequency domain signal returned by the hardware accelerator and convert the compensated frequency domain signal into a time domain signal.

[0092] Optionally, in some embodiments, the receiving module 304 may be specifically configured to: perform an inverse fast Fourier transform on the compensated frequency domain signal to convert the compensated frequency domain signal into a time domain signal.

[0093] After the determination module 301 of the embodiment of the present application determines the current downlink frequency, the calculation module 302 calculates the first compensation phase required for the phase corresponding to the first preset symbol corresponding to the downlink frequency, and then the transmission module 303 transmits the first compensation phase and the frequency domain signal corresponding to the first compensation phase to the hardware accelerator, so that the hardware accelerator performs phase compensation operations according to the first compensation phase and the frequency domain signal, and finally, the receiving module 304 receives the compensated frequency domain signal returned by the hardware accelerator, and converts the compensated frequency domain signal into a time domain signal. The phase compensation scheme provided by the present application pre-calculates the first compensation phase required for the phase corresponding to the first preset symbol corresponding to the downlink frequency, avoids repeated calculations, and performs phase compensation through the hardware accelerator, which greatly shortens the processing time of phase compensation and reduces the processing load of the main chip.

[0094] See also Figure 5 , Figure 5 Another structural schematic diagram of a phase compensation device provided in an embodiment of the present application, wherein the phase compensation device may include a determination module 401, a calculation module 402, a transmission module 403 and a receiving module 404, which may be specifically as follows:

[0095] The determination module 401 is used to determine the current uplink frequency.

[0096] The calculation module 402 is used to calculate a second compensation phase required for a phase corresponding to a second preset symbol corresponding to an uplink frequency point.

[0097] The transmission module 403 is used to transmit the second compensation phase and the time domain signal corresponding to the second compensation phase to the hardware accelerator, so that the hardware accelerator converts the time domain signal into a frequency domain signal and then performs a phase compensation operation according to the second compensation phase and the frequency domain signal.

[0098] The receiving module 404 is used to receive the compensated frequency domain signal returned by the hardware accelerator.

[0099] After the determination module 401 of the embodiment of the present application determines the current uplink frequency, the calculation module 402 calculates the second compensation phase required for the phase corresponding to the second preset symbol corresponding to the uplink frequency, and then the transmission module 403 transmits the second compensation phase and the time domain signal corresponding to the second compensation phase to the hardware accelerator, so that the hardware accelerator converts the time domain signal into a frequency domain signal, and then performs phase compensation operation according to the second compensation phase and the frequency domain signal. Finally, the receiving module 404 receives the compensated frequency domain signal returned by the hardware accelerator. The phase compensation scheme provided by the present application pre-calculates the first compensation phase required for the phase corresponding to the first preset symbol corresponding to the downlink frequency, avoids repeated calculations, and performs phase compensation through the hardware accelerator, which greatly shortens the processing time of phase compensation and reduces the processing load of the main chip.

[0100] In addition, the present application also provides an electronic device, such as Figure 6 As shown, it shows a schematic diagram of the structure of the electronic device involved in the embodiment of the present application, specifically:

[0101] The electronic device may include components such as a processor 501 with one or more processing cores, a memory 502 with one or more computer-readable storage media, a power supply 503, and an input unit 504. Those skilled in the art will appreciate that Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0102] The processor 501 is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 502, and calling data stored in the memory 502, the processor 501 performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 501 may include one or more processing cores; preferably, the processor 501 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 501.

[0103] The memory 502 can be used to store software programs and modules. The processor 501 executes various functional applications and phase compensation by running the software programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 502 may also include a memory controller to provide the processor 501 with access to the memory 502.

[0104] The electronic device also includes a power supply 503 for supplying power to each component. Preferably, the power supply 503 can be logically connected to the processor 501 through a power management system, so as to manage charging, discharging, power consumption and other functions through the power management system. The power supply 503 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.

[0105] The electronic device may further include an input unit 504, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0106] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 501 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 502 according to the following instructions, and the processor 501 will run the application programs stored in the memory 502, thereby realizing various functions, as follows:

[0107] Determine the current downlink frequency; calculate the first compensation phase required for the phase corresponding to the first preset symbol corresponding to the downlink frequency; transmit the first compensation phase and the frequency domain signal corresponding to the first compensation phase to the hardware accelerator, so that the hardware accelerator performs phase compensation operation according to the first compensation phase and the frequency domain signal; receive the compensated frequency domain signal returned by the hardware accelerator, and convert the compensated frequency domain signal into a time domain signal.

[0108] Determine the current uplink frequency; calculate the second compensation phase required for the phase corresponding to the second preset symbol corresponding to the uplink frequency; transmit the second compensation phase and the time domain signal corresponding to the second compensation phase to the hardware accelerator, so that the hardware accelerator converts the time domain signal into a frequency domain signal, and then performs a phase compensation operation according to the second compensation phase and the frequency domain signal; receive the compensated frequency domain signal returned by the hardware accelerator.

[0109] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0110] The phase compensation solution provided in the present application pre-calculates the first compensation phase required for the phase corresponding to the first preset symbol corresponding to the downlink frequency point to avoid repeated calculations, and performs phase compensation through a hardware accelerator, which greatly shortens the processing time of phase compensation and reduces the processing load of the main chip.

[0111] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0112] To this end, an embodiment of the present application provides a storage medium in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any phase compensation method provided in the embodiment of the present application. For example, the instructions can execute the following steps:

[0113] Determine the current downlink frequency; calculate the first compensation phase required for the phase corresponding to the first preset symbol corresponding to the downlink frequency; transmit the first compensation phase and the frequency domain signal corresponding to the first compensation phase to the hardware accelerator, so that the hardware accelerator performs phase compensation operation according to the first compensation phase and the frequency domain signal; receive the compensated frequency domain signal returned by the hardware accelerator, and convert the compensated frequency domain signal into a time domain signal.

[0114] Determine the current uplink frequency; calculate the second compensation phase required for the phase corresponding to the second preset symbol corresponding to the uplink frequency; transmit the second compensation phase and the time domain signal corresponding to the second compensation phase to the hardware accelerator, so that the hardware accelerator converts the time domain signal into a frequency domain signal, and then performs a phase compensation operation according to the second compensation phase and the frequency domain signal; receive the compensated frequency domain signal returned by the hardware accelerator.

[0115] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0116] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0117] Since the instructions stored in the storage medium can execute the steps in any phase compensation method provided in the embodiments of the present application, the beneficial effects that can be achieved by any phase compensation method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0118] The above is a detailed introduction to a phase compensation method, device, electronic device and storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A phase compensation method, characterized in that: include: Determine the current downlink frequency; Calculate a first compensation phase required for a phase corresponding to a first preset symbol corresponding to the downlink frequency point; storing the first compensation phases into preset addresses respectively; Transmitting the first compensation phase and the frequency domain signal corresponding to the first compensation phase to a hardware accelerator, so that the hardware accelerator takes out the first compensation phase from a preset address and performs a phase compensation operation according to the first compensation phase and the frequency domain signal corresponding to the first compensation phase; Receiving the compensated frequency domain signal returned by the hardware accelerator, and converting the compensated frequency domain signal into a time domain signal; The hardware accelerator fetches the first compensation phase from a preset address, and performs a phase compensation operation according to the first compensation phase and a frequency domain signal corresponding to the first compensation phase, including: The hardware accelerator fetches the current first compensation phase from a preset address according to a preset symbol index; Calculating a first phase compensation value according to the downlink frequency point and the current first compensation phase; A phase compensation operation is performed on the frequency domain signal corresponding to the current first compensation phase and the first phase compensation value.

2. The method according to claim 1, characterized in that: The converting the compensated frequency domain signal into a time domain signal comprises: Perform inverse fast Fourier transform on the compensated frequency domain signal to convert the compensated frequency domain signal into a time domain signal.

3. A phase compensation method, characterized in that: include: Determine the current uplink frequency; Calculate a second compensation phase required for a phase corresponding to a second preset symbol corresponding to the uplink frequency point; storing the second compensation phases into preset addresses respectively; Transmitting the second compensation phase and a time domain signal corresponding to the second compensation phase to a hardware accelerator, so that the hardware accelerator converts the time domain signal into a frequency domain signal; The hardware accelerator takes out the second compensation phase from a preset address, and performs a phase compensation operation according to the second compensation phase and a frequency domain signal corresponding to the second compensation phase; Receiving the compensated frequency domain signal returned by the hardware accelerator; The hardware accelerator fetches the second compensation phase and the time domain signal from a preset address, and performs a phase compensation operation according to the second compensation phase and the time domain signal, including: The hardware accelerator fetches the current second compensation phase from a preset address according to a preset symbol index; Calculating a second phase compensation value according to the uplink frequency point and the current second compensation phase; A phase compensation operation is performed on the frequency domain signal corresponding to the current second compensation phase and the second phase compensation value.

4. The method according to claim 3, characterized in that The converting the compensated time domain signal into a frequency domain signal comprises: Performing a fast Fourier transform on the compensated time domain signal to convert the compensated time domain signal into a frequency domain signal.

5. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the phase compensation method according to any one of claims 1 to 2 or the phase compensation method according to any one of claims 3 to 4 are implemented.

6. A computer-readable storage medium, characterized in that: A computer program is stored thereon, wherein when the computer program is executed by a processor, the steps of the phase compensation method according to any one of claims 1-2 or the phase compensation method according to any one of claims 3-4 are implemented.

Citation Information

Patent Citations

  • Phase compensation method and device and storage medium

    CN115567358A

  • Signal processing method and apparatus, electronic device, and medium

    WO2023197955A1