Terminal equipment self-calibration method and device

Through the terminal device self-calibration method and device, the amplitude and phase difference of the feedback signal are calculated using the reception path, automatic power control and IQ imbalance calibration are realized, solving the problems of high factory calibration time and cost, ensuring that the terminal device is in different environments Performance optimization.

CN114726455BActive Publication Date: 2024-12-06SPREADTRUM COMMUNICATION (SHANGHAI) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210311702.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-28
Publication Date
2024-12-06
Estimated Expiration
2042-03-28

AI Technical Summary

Technical Problem

In the prior art, the calibration of terminal equipment needs to be carried out in the factory, resulting in high time and cost, and the inability to calibrate in high and low temperature environments.

Method used

Provide a terminal device self-calibration method and device, which transmits a single tone signal in the device powered on or idle state by calculating the amplitude and phase difference of the feedback signal, realizes automatic power control and IQ imbalance calibration of the transmission path, and Perform digital predistortion coefficient training in different application scenarios.

Benefits of technology

It realizes independent calibration of terminal equipment, saves factory calibration time and cost, can track the performance of transmitting devices in different environments, improves compensation effect, and ensures the performance optimization of RF devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114726455B_ABST
    Figure CN114726455B_ABST
Patent Text Reader

Abstract

A terminal equipment self-calibration method and device, the method comprising: after the terminal equipment is turned on or enters an idle state, for different dimensional parameters that need to be calibrated, four single-tone signals (I, Q) with the same power are transmitted in sequence, and a feedback signal is received from a receiving path, which is recorded as a first feedback signal, and the four single-tone signals are: I signal, Q signal, I and Q signal, I and Q signal; change the phase difference φ of the local oscillator of the receiving path and the transmitting path, and transmit the four single-tone signals (I, Q) with the same power again, and receive a feedback signal (I′, Q′) from the receiving path, which is recorded as a second feedback signal; according to the first feedback signal and the second feedback signal, the amplitude difference β and phase difference α of the two-way signal of the transmitting path I and Q are calculated. Utilizing this application, the terminal equipment can be powered on and self-calibrated, and the calibration efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a terminal equipment self-calibration method and device. Background Art

[0002] In order to ensure the factory performance of the terminal equipment, it is usually necessary to use test equipment to calibrate it in the factory. Factory calibration is very sensitive to time and instrument costs, and there is no condition to calibrate in high or low temperature environments. Summary of the invention

[0003] The embodiments of the present application provide a terminal device self-calibration method and apparatus to save factory calibration time and cost and ensure the factory performance of the terminal device.

[0004] On the one hand, an embodiment of the present application provides a terminal device self-calibration method, the method comprising:

[0005] After the terminal device is turned on or enters the idle state, four single-tone signals (I, Q) with the same power are transmitted in sequence for parameters of different dimensions that need to be calibrated, and a signal is received from the receiving path, which is recorded as the first feedback signal. The four single-tone signals are: I signal, Q signal, I and Q signals, and I and -Q signals;

[0006] Changing the phase difference φ between the local oscillator of the receiving path and the local oscillator of the transmitting path, transmitting the four single-tone signals (I, Q) with the same power again, and receiving a signal (I′, Q′) from the receiving path, which is recorded as a second feedback signal;

[0007] The amplitude difference β and the phase difference α of the two signals of the transmission path I and Q are calculated according to the first feedback signal and the second feedback signal.

[0008] Optionally, the parameters of different dimensions include: frequency band, frequency point, bandwidth, and antenna.

[0009] Optionally, the frequency of the single tone signal is at a position of plus or minus BW*0.8, where BW is the bandwidth.

[0010] Optionally, the method further includes: adding a bias coefficient to the I signal and / or the Q signal.

[0011] Optionally, the step of calculating the amplitude difference β and phase difference α of the two signals of the transmission path I and Q according to the transmission signal and the corresponding feedback signal comprises: calculating the energy mean of the feedback signal respectively: E(I′ 2 )、E(Q′ 2 ), E(I′Q′); calculate the intermediate values ​​M, N, cos2φ, sin2φ according to the energy mean, where:

[0012] D=E(I′ 2 ), E=E(Q′ 2 ), F = E(I′Q′);

[0013] A=E(I′ 2 )+E(Q′ 2 ), B=E(I′ 2 )-E(Q′ 2 ), C = E(I′Q′);

[0014]

[0015] Among them, A 11 , B 11 , C 11 are the A, B, and C values ​​calculated for the feedback signal that only transmits the I signal. 21 , B 21 , C 21 A, B, C values ​​are calculated for the feedback signal corresponding to the transmission of only Q signal, and the phase difference φ of the local oscillator of the receiving path and the transmitting path is the same when the I signal is transmitted and the Q signal is transmitted;

[0016]

[0017] Among them, M1 and N1 are respectively the M and N values ​​corresponding to the first feedback signal, and M2 and N2 are respectively the M and N values ​​corresponding to the second feedback signal.

[0018] Optionally, the method further includes: transmitting signals in turn for each frequency point of each frequency band to be calibrated, in order from minimum to maximum power, and obtaining the output signal of the receiving path; calculating the output signal power of the receiving path; and calculating the transmission path gain corresponding to the transmission signal power according to the transmission signal power and the output signal power of the receiving path, so as to realize calibration of automatic power control of the transmission path.

[0019] Optionally, the method further comprises: calibrating the gain of the receiving path in advance.

[0020] Optionally, the method also includes: after the calibration of the automatic power control of the transmission path is completed, for each frequency band, selecting a fixed frequency band and a transmission target power, traversing the frequency points within the frequency band with a set frequency step, and obtaining the power value corresponding to each frequency point; converting the power value into an amplitude value, and then taking the inverse of the amplitude value and normalizing it as the calibration result of the front-end power imbalance.

[0021] Optionally, the method also includes: during the operation of the terminal device, determining whether a digital pre-distortion coefficient training trigger condition is met; if met, enabling a digital pre-distortion coefficient training module, triggering the digital pre-distortion coefficient training module to perform a digital pre-distortion training process, the digital pre-distortion training process including: for each bandwidth at the current frequency point, transmitting orthogonal amplitude modulation signals in order from small to large power, and determining a digital pre-distortion coefficient corresponding to the power based on a received signal of a receiving path.

[0022] Optionally, the method further includes: determining the digital predistortion coefficient training trigger condition according to any one or more of the following parameters: transmit signal power, channel type, transmit symbol type, temperature, and standing wave ratio.

[0023] On the other hand, an embodiment of the present application provides a terminal device self-calibration device, the device comprising:

[0024] The RF processing module is used to transmit four single-tone signals (I, Q) with the same power in sequence for parameters of different dimensions that need to be calibrated after the terminal device is turned on or enters an idle state, wherein the four single-tone signals are: I signal, Q signal, I and Q signal, and I and -Q signal; then change the phase difference φ between the local oscillator of the receiving path and the transmitting path, and transmit the four single-tone signals (I, Q) with the same power again;

[0025] A receiving module, used for receiving a signal from a receiving path;

[0026] The calculation module is used to record the signal received by the receiving module before the phase difference φ is changed as a first feedback signal, and record the signal (I′, Q′) received after the phase difference φ is changed as a second feedback signal, and calculate the amplitude difference β and phase difference α of the two signals of the transmission path I and Q according to the first feedback signal and the second feedback signal.

[0027] Optionally, the RF processing module is further used to transmit signals in turn for each frequency point of each frequency band to be calibrated, in order from minimum to maximum power, and obtain the output signal of the receiving path; the calculation module is also used to calculate the output signal power of the receiving path, and calculate the transmission path gain corresponding to the transmission signal power according to the transmission signal power and the output signal power of the receiving path, so as to realize the calibration of the automatic power control of the transmission path.

[0028] Optionally, the RF processing module is also used to select a fixed frequency band and a transmission target power for each frequency band after the calibration of the automatic power control of the transmission path is completed, and to traverse the frequency points within the frequency band with a set frequency step; the calculation module is also used to calculate the power value corresponding to each frequency point, convert the power value into an amplitude value, and then find the inverse of the amplitude value and normalize it as the calibration result of the front-end power imbalance.

[0029] Optionally, the device also includes: a judgment module, used to determine whether a digital pre-distortion coefficient training trigger condition is met during the operation of the terminal equipment, and if met, enable the digital pre-distortion coefficient training module to trigger the digital pre-distortion coefficient training module to perform a digital pre-distortion training process, and the digital pre-distortion training process includes: for each bandwidth at the current frequency point, transmitting orthogonal amplitude modulation signals in order from small to large power, and determining the digital pre-distortion coefficient corresponding to the power based on the received signal of the receiving path.

[0030] On the other hand, an embodiment of the present application further provides a terminal device, wherein the terminal device includes the terminal device self-calibration device described above.

[0031] On the other hand, an embodiment of the present application further provides a computer-readable storage medium, which is a non-volatile storage medium or a non-transient storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method described above is executed.

[0032] On the other hand, an embodiment of the present application further provides a terminal equipment self-calibration device, including a memory and a processor, wherein the memory stores a computer program executable on the processor, and when the processor runs the computer program, the aforementioned method is executed.

[0033] The terminal device self-calibration method and apparatus provided in the embodiment of the present application fully utilize the receiving path to perform power-on self-calibration of the terminal device uplink, thereby greatly saving factory calibration time and instrument costs. Using the solution of the present application, the calibration can be triggered again by software when the terminal device is in an idle state, so that the performance of the transmitter device can be better tracked and the compensation effect can be improved.

[0034] Furthermore, by optimizing the implementation algorithms of the three types of uplink calibration of the terminal equipment, the accuracy of compensation is guaranteed, and the training and tuning of uplink closed-loop power control and RF device performance can be completed in different application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 This is a flow chart of a terminal device self-calibration method according to an embodiment of the present application;

[0036] Figure 2 It is a schematic diagram of the principle of implementing the APC calibration of the transmission path in the terminal device self-calibration method in the embodiment of the present application;

[0037] Figure 3 It is a flow chart of APC calibration of the transmission path in the self-calibration method of the terminal device in the embodiment of the present application;

[0038] Figure 4 This is a flow chart of DPD coefficient calibration in the terminal device self-calibration method in an embodiment of the present application;

[0039] Figure 5 This is a schematic diagram of the structure of a terminal device self-calibration device according to an embodiment of the present application;

[0040] Figure 6 is a schematic diagram of a transmission path and a receiving path of a terminal device having a self-calibration device according to an embodiment of the present application;

[0041] Figure 7 It is another structural schematic diagram of the terminal equipment self-calibration device according to an embodiment of the present application. DETAILED DESCRIPTION

[0042] In order to make the above-mentioned purposes, features and beneficial effects of the present application more obvious and easy to understand, the specific embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0043] In view of the problem that the calibration of terminal equipment in the prior art needs to be performed in the factory, the embodiments of the present application provide a terminal equipment self-calibration method and apparatus, which fully utilize the receiving path to realize uplink self-calibration after the terminal equipment is turned on.

[0044] The scheme of this application is mainly used for the self-calibration of the transmission link and the self-detection and compensation of performance under the service when the terminal equipment is turned on for the first time or in idle state, in high and low temperature environments (automatic monitoring). The objects of uplink calibration and performance optimization are the non-ideal characteristics of RF chips and RF front-end devices. Using the scheme of this application, self-calibration of IQ imbalance of the transmission path can be achieved. Furthermore, any one or more of the following calibrations can be achieved: self-calibration of transmission path power, self-calibration of transmission path power imbalance, and self-calibration of digital pre-distortion Golden coefficients.

[0045] IQ imbalance refers to the amplitude and phase mismatch between the in-phase (I) and quadrature-phase (Q) branches of the transmitter and receiver. Ideally, the in-phase and quadrature branches have equal amplitude gain and 90-degree phase deviation. However, in actual communication systems, it is usually difficult to achieve the above ideal situation, so IQ imbalance occurs. In the transmitter, non-ideal up-conversion, unbalanced filters of the I and Q branches, and digital-to-analog converters may all cause IQ imbalance. In the receiver, non-ideal down-conversion, unbalanced filters of the I and Q branches, amplification, and sampling may all cause IQ imbalance.

[0046] The estimated value of the IQ imbalance of the transmission path is usually divided into the gain mismatch and phase mismatch of the I and Q paths. Usually, the local oscillator of the receiving path is the local oscillator of the multiplexed transmission path, and the two are of the same source. Based on this feature, the model of the IQ imbalance of the transmission path and the receiving path can be simplified to the following formula (1):

[0047]

[0048] Among them, (I′, Q′) represents the baseband signal received from the receiving path, (I, Q) represents the baseband signal at the transmitting end, φ represents the phase difference between the local oscillators of the transmitting path and the receiving path, ε and θ represent the amplitude difference and phase difference of the IQ two paths of the receiving path respectively, β and α represent the amplitude difference and phase difference of the IQ two paths of the transmitting path respectively, and β and α are also the variables to be solved for uplink IQ imbalance.

[0049] Expanding the right side of the above formula (1) by multiplying the matrices and omitting the term of multiplying two unknown variables (the multiplication of two unknowns is a second-order infinitesimal and can be omitted) can obtain the following formula (2):

[0050]

[0051] Expand the above formula (2) to obtain I′ 2 , Q′ 2 and the statistical mean E(I′ 2 )、E(Q′ 2 ), and E(I′Q′), also remove the multiplication of the two unknown variables, and use the characteristics of the baseband signal IQ at the transmitting end E(I 2 )=E(Q 2 ), E(IQ) = 0, we can get the following formula (3):

[0052]

[0053] Divide both sides of the above formula (3) by I 2 , we can get the following formula (4):

[0054]

[0055] In the above formula (4), D, E, and F can be calculated using the IQ data of the receiving path. If there are two sets of φ values ​​(φ1, φ2), the following formula (5) can be further obtained:

[0056]

[0057] The symmetry of formula (5) can be used to find β and α, as shown in the following formula (6):

[0058]

[0059] It can be seen from formula (6) that the key to finding β and α is to find the phase difference (φ1, φ2) between the local oscillators of the transmitting path and the receiving path.

[0060] If the transmitted baseband signal is only I or Q, many multiplication terms after the above formula (1) and formula (2) are expanded are 0. Specifically:

[0061] If the transmitter only sends I signals, Q = 0, and substituting into formula (1) and expanding it, we can get formulas (7) and (8):

[0062]

[0063]

[0064] Similarly, if the transmitter only sends Q-path signals, I = 0, and substituting into formula (1) we can obtain formulas (9) and (10):

[0065]

[0066]

[0067] Using the above formulas (8) and (10), we can obtain:

[0068]

[0069] Through the above formula (11), cos2φ1 and sin2φ1, cos2φ2 and sin2φ2 can be calculated, and then substituted into the above formula (6) to calculate the amplitude difference and phase difference β and α at the transmitting end.

[0070] Under large channel bandwidth, the analog low-pass filters of the I and Q paths at the transmitter cannot achieve exactly the same phase-frequency response. The linear or quasi-linear phase difference is reflected in the time domain as the delay difference between the I and Q paths. Based on the above formulas (11) and (6), the phase difference between the I and Q signals within the bandwidth can be obtained and converted into a fractional delay filter to be added to the baseband signal.

[0071] Based on the above principle, according to formulas (1) to (11), the IQ imbalance calibration of the transmission path can be implemented according to the reception path.

[0072] like Figure 1 FIG. 1 is a flow chart of a method for self-calibration of a terminal device according to an embodiment of the present application, comprising the following steps:

[0073] Step 101, after the terminal device is turned on or enters the idle state, four single-tone signals (I, Q) with the same power are transmitted in sequence for parameters of different dimensions that need to be calibrated, and a signal is received from the receiving path, which is recorded as the first feedback signal. The four single-tone signals are: I signal, Q signal, I+Q signal, and IQ signal.

[0074] Furthermore, a bias coefficient may be added to the I signal and / or Q signal, for example, the following four single-tone signals with the same power are sent in sequence: I+0×j, 0+j×Q, I+j×Q, Ij×Q, where j is an imaginary number.

[0075] Step 102, changing the phase difference between the local oscillators of the receiving path and the transmitting path, transmitting the four single-tone signals (I, Q) with the same power again, and receiving a signal (I', Q') from the receiving path, which is recorded as a second feedback signal.

[0076] Step 103: Calculate the amplitude difference β and phase difference α between the two signals of the transmission path I and Q according to the first feedback signal and the second feedback signal.

[0077] Specifically, the energy mean value of the feedback signal can be calculated as: E(I′ 2 )、E(Q′ 2 ), E(I′Q′); then, the intermediate values ​​M, N, cos2φ, sin2φ are calculated according to the energy mean, where:

[0078] D=E(I′ 2 ), E=E(Q′ 2 ), F = E(I′Q′);

[0079] A=E(I′ 2 )+E(Q′ 2 ), B=E(I′ 2 )-E(Q′ 2), C = E(I′Q′);

[0080]

[0081] Among them, A 11 , B 11 , C 11 are the A, B, and C values ​​calculated for the feedback signal that only transmits the I signal. 21 , B 21 , C 21 A, B, C values ​​are calculated for the feedback signal corresponding to the transmission of only Q signal, and the phase difference φ of the local oscillator of the receiving path and the transmitting path is the same when the I signal is transmitted and the Q signal is transmitted;

[0082] Then, the amplitude difference β and phase difference α of the two signals of the transmission path I and Q can be calculated according to the above formula (6).

[0083] In practical applications, the calibration coefficient calculation part can be implemented by a software accelerator or a hardware accelerator, which is not limited in the embodiments of the present application.

[0084] It should be noted that the parameters of different dimensions include: frequency band, frequency point, bandwidth, antenna. For example, for each bandwidth included in each frequency point under each frequency band, it is necessary to perform the IQ imbalance calibration of the transmission path in the above manner, that is, to obtain the amplitude difference β and phase difference α of the I and Q signals of the transmission path corresponding to each bandwidth. If there are multiple antennas in different transmission paths, it is also necessary to perform the IQ imbalance calibration of the transmission path for each antenna under each bandwidth.

[0085] In addition, the frequency of the single tone signal may be at a position of plus or minus BW×0.8, where BW is the bandwidth.

[0086] Accordingly, the uplink baseband signal is compensated according to the calibration result. For example, the amplitude difference β and phase difference α of the I and Q signals are converted into a fractional delay filter and supplemented on the baseband signal, thereby improving the performance of the terminal device RF chip and improving the uplink baseband signal quality.

[0087] Furthermore, in another non-limiting embodiment of the terminal device self-calibration method of the present application, it is also possible to implement APC (Automatic Power Control) calibration of the transmission path and transmission path power imbalance (also called RF front-end power imbalance) calibration.

[0088] The power value of the RF signal transmitted by the terminal device has a certain control range (power level), and the adjustment of the APC voltage is a method to achieve different transmission powers. The calibration of the APC control voltage is to measure the corresponding relationship (transmission) between the control voltage and the transmission power, and write this corresponding relationship into the storage medium. In the embodiment of the present application, the corresponding relationship between the transmission power and the transmission gain table (TX Gain Table) is obtained by the self-calibration of the APC by the terminal device.

[0089] This application implements APC self-calibration based on the receiving path, and its principle is as follows Figure 2 shown.

[0090] Assuming that the transmission power range of the terminal equipment is -40dBm to 23dBm, the gain of the receiving path can be set to high, medium, and low according to the transmission power. This can not only simplify the calibration process, but also make the signal strength and signal-to-noise ratio received by the receiving path within a reasonable range.

[0091] Assume that the power of the digital baseband signal is P1, the gain of the transmitting path through the PA (power amplifier) ​​is X1, the power at the antenna port is P, the attenuation of the directional coupler is Δ, the gain of the receiving path is X2, and the power of the baseband signal received by the receiving path is P2. P and P2 can be calculated based on the input signal and output signal of the receiving path.

[0092] According to the basic principle of power control, the following formulas (12) and (13) can be obtained:

[0093] P1+X1=P (12)

[0094] P-Δ+X2=P2 (13)

[0095] According to the above formulas (12) and (13), the following formula (14) is obtained:

[0096] P1+X1=P2+Δ-X2 (14)

[0097] In the above formula (14), since P1, P2 and Δ are known, X1 and X2 are unknown.

[0098] Because the receiving path has few gears and is stable, in the embodiment of the present application, the gain X2 of the receiving path can be calibrated in advance in the laboratory with the help of an instrument. In this way, the gain X1 of the transmitting path can be calculated according to the above formula (14).

[0099] The process of gaining the receive path to X2 is as follows:

[0100] The actual transmission power P is measured by an instrument, and the power P2 is calculated by the receiving path. Then, the gain X2 of the receiving path can be calculated according to the above formula (13).

[0101] Based on the above principle, when calibrating the APC of the transmission path, the gain X1 of the transmission path can be obtained by traversing each power according to the above formula (14).

[0102] like Figure 3 , which is a flow chart of APC calibration of the transmission path in the self-calibration method of the terminal device in the embodiment of the present application.

[0103] In step 301, each frequency point of each frequency band to be calibrated is sequentially transmitted according to power from minimum to maximum, and an output signal of a receiving path is obtained;

[0104] In step 302, the output signal power of the receiving path is calculated;

[0105] In step 303, a transmission path gain corresponding to the transmission signal power is calculated based on the transmission signal power and the output signal power of the receiving path.

[0106] The transmit signal power is P1 in the above formula (14), and the output signal power of the receiving path is P2 in the above formula (14). In addition, the gain X2 of the receiving path can be calibrated in advance. In this way, the gain X1 corresponding to each power at the current frequency point can be calculated using the above formula (14).

[0107] The key point of the RF front-end power imbalance calibration is to scan out the actual power of the antenna port within the transmission signal passband. In the embodiment of the present application, a fixed transmission path gain and a receiving path gain are selected, and the actual power P of the antenna port is calculated according to the above formula (13). Then, through the logarithmic conversion relationship between the power P and the amplitude A, 1 / A is calculated as the calibration result and compensated on the baseband signal.

[0108] Specifically, after the calibration of the transmit path APC is completed, for each frequency band, a fixed frequency band and a transmit target power are selected, and the frequency points within the frequency band are traversed with a set frequency step to obtain the power value corresponding to each frequency point; the power value is converted into an amplitude value, and then the inverse of the amplitude value is calculated and normalized as the calibration result of the front-end power imbalance.

[0109] It should be noted that, in actual applications, the power control strategy under normal services may be an event periodically triggered by software, usually scheduled once per time slot or symbol, and then the above calibration parameters are applied to perform power control.

[0110] Furthermore, in another non-limiting embodiment of the terminal device self-calibration method of the present application, the terminal device can also perform self-calibration of the DPD (Digital Pre-Distortional) coefficient during operation. DPD is used to improve the efficiency of the power amplifier by reducing the distortion generated when the power amplifier operates in its nonlinear region.

[0111] The principle of pre-distortion is to cascade the power amplifier components through a pre-distortion component. The nonlinear distortion function is built into the digital, digital baseband signal processing domain. It is equivalent to the amount of distortion exhibited by the amplifier, but the function is opposite. Combining these two nonlinear distortion functions can achieve a highly linear, distortion-free system. The challenge of digital pre-distortion technology is that the distortion (i.e. nonlinear) characteristics of the power amplifier components will change with time, temperature and bias voltage, and will vary from device to device.

[0112] To this end, in an embodiment of the present application, coefficient training of the DPD algorithm is completed based on the receiving path, but the present application scheme is not limited to a specific DPD algorithm. Instead, it combines the DPD coefficient calibrated in the laboratory with the scheduling of updating the DPD coefficient under the service, which not only ensures the accuracy of the DPD coefficient for different power amplifier components, but also can be adaptively adjusted with changes in time, temperature and bias voltage, thereby balancing the power consumption and performance of the terminal equipment.

[0113] like Figure 4 , which is a flow chart of DPD coefficient calibration in the terminal device self-calibration method in an embodiment of the present application.

[0114] In step 401, the terminal device is turned on and enters a working state.

[0115] In step 402, during the operation of the terminal device, it is detected whether the DPD coefficient training trigger condition is met.

[0116] The DPD coefficient training trigger condition may be determined according to any one or more of the following parameters: transmit signal power, channel type, transmit symbol type, temperature, standing wave ratio, such as transmit signal power greater than 15dBm, channel is PUSCH (Physical Uplink Share Channel), transmit symbol is greater than 10 symbols, etc. If satisfied, execute step 403; otherwise, return to step 402.

[0117] It should be noted that the above-mentioned operation of detecting whether the DPD coefficient training trigger condition is met may be performed periodically, or may be triggered by an event, which is not limited in the embodiments of the present application.

[0118] In step 403, a DPD coefficient training module is enabled, triggering the DPD coefficient training module to perform a DPD training process.

[0119] The DPD training process includes: for each bandwidth at the current frequency point, transmitting QAM (Quadrature Amplitude Modulation) signals in order from small to large power, and determining the DPD coefficient corresponding to the power according to the received signal of the receiving path.

[0120] The self-calibration of the DPD coefficient needs to be traversed in different frequency bands. The selection of the calibration frequency and bandwidth in each frequency band needs to be determined according to the test results of the laboratory. The nonlinearity of the PA (Power Amplifier) ​​is relatively strong under high power, which has a greater impact on the uplink EVM (Error Vector Magnitude) and ACLR (Adjacent Channel Leakage Ratio) indicators. After balancing power consumption and performance, the DPD on the terminal equipment usually only works under high power (such as 16dBm~Pmax). Therefore, during calibration, all high powers need to be traversed at the determined frequency and bandwidth.

[0121] It should be noted that in actual applications, the DPD self-calibration process can be triggered once every certain time (such as 1-2 seconds), and of course, the DPD coefficient training trigger condition must be met. That is, the terminal device detects whether the DPD coefficient training trigger condition is met at a certain time, and if so, the above step 403 is executed; otherwise, the above step 402 is executed until the next detection cycle.

[0122] Accordingly, the present application also provides a terminal device self-calibration device, such as Figure 5 Shown is a structural schematic diagram of the device.

[0123] The terminal equipment self-calibration device 500 includes the following modules:

[0124] The RF processing module 501 is used to transmit four single-tone signals (I, Q) with the same power in sequence for parameters of different dimensions that need to be calibrated after the terminal device is turned on or enters an idle state, wherein the four single-tone signals are: I signal, Q signal, I and Q signal, and I and -Q signal; then change the phase difference φ between the local oscillator of the receiving path and the transmitting path, and transmit the four single-tone signals (I, Q) with the same power again;

[0125] A receiving module 502, configured to receive a signal from a receiving path;

[0126] The calculation module 503 is used to record the signal received by the receiving module before the phase difference φ is changed as the first feedback signal, and record the signal (I′, Q′) received after the phase difference φ is changed as the second feedback signal, and calculate the amplitude difference β and phase difference α of the two signals of the transmission path I and Q according to the first feedback signal and the second feedback signal.

[0127] Figure 6 It is a schematic diagram of a sending path and a receiving path of a terminal device having a self-calibration device according to an embodiment of the present application.

[0128] The transmission path includes: RF processing module, transmitter digital front end, transmitter analog link, power amplifier, and RF front end module. The digital baseband signal stream is processed by these modules and then sent via the antenna.

[0129] The receiving path includes: directional coupler, feedback RF receiver analog link, feedback RF receiver digital front end, and computing module. The RF signal transmitted by the antenna is transmitted through the directional coupler by the receiving module of the receiving path (i.e. Figure 6 The feedback RF receiver analog link, feedback RF receiver digital front end) in the feedback RF receiver is demodulated into a digital signal, and then the calculation module performs a corresponding self-calibration process according to the digital signal.

[0130] Furthermore, in another non-limiting embodiment of the device of the present application, the RF processing module 501 is also used to transmit signals in turn for each frequency point of each frequency band to be calibrated, in order from minimum to maximum power, and obtain the output signal of the receiving path; the calculation module 503 is also used to calculate the output signal power of the receiving path, and calculate the transmission path gain corresponding to the transmission signal power according to the transmission signal power and the output signal power of the receiving path, so as to realize the calibration of the automatic power control of the transmission path.

[0131] Furthermore, in another non-limiting embodiment of the device of the present application, the RF processing module 501 is also used to select a fixed frequency band and a transmission target power for each frequency band after the calibration of the automatic power control of the transmission path is completed, and to traverse the frequency points within the frequency band with a set frequency step; the calculation module 503 is also used to calculate the power value corresponding to each frequency point, convert the power value into an amplitude value, and then find the inverse of the amplitude value and normalize it as the calibration result of the front-end power imbalance.

[0132] Furthermore, if Figure 7As shown, in another non-limiting embodiment of the device of the present application, the device 700 further includes: a digital pre-distortion coefficient training module 701 and a judgment module 702. In this embodiment, the judgment module 701 is used to determine whether the digital pre-distortion coefficient training trigger condition is met during the operation of the terminal device, and if it is met, enable the digital pre-distortion coefficient training module to trigger the digital pre-distortion coefficient training module to perform a digital pre-distortion training process, and the digital pre-distortion training process includes: for each bandwidth at the current frequency point, sequentially transmitting orthogonal amplitude modulation signals in order from small to large power, and determining the digital pre-distortion coefficient corresponding to the power according to the received signal of the receiving path.

[0133] For more information about the working principle and working mode of the terminal equipment self-calibration device of the present application, please refer to the description of the relevant embodiments in the method of the present application above, which will not be repeated here.

[0134] The terminal equipment self-calibration method and device provided in the embodiment of the present application is that the terminal equipment generates a test signal by itself during the startup process, and makes full use of the feedback signal received from the receiving path to realize the startup self-calibration of the terminal equipment uplink, thereby ensuring the accuracy of multiple compensation parameters. Furthermore, during the operation of the terminal equipment, when certain trigger conditions are met, self-calibration of the DPD coefficient can also be realized. Moreover, according to needs, the calibration of some compensation parameters can be triggered again when the mobile phone is in an idle state, so as to better track the performance of the transmitter components and improve the compensation effect.

[0135] By using the solution of this application, uplink closed-loop power control and training and tuning of RF device performance can be completed in different application scenarios and different ambient temperatures. It can be used to detect the transmission quality whether in the power-on state or the real-time working state, and can track the performance deterioration caused by device temperature changes and aging, and timely adjust the accuracy of multiple compensation parameters to ensure the uplink transmission performance of the terminal device, greatly saving the factory calibration cost and factory calibration time. Accordingly, the embodiment of this application also provides a terminal device, including the above-mentioned terminal device self-calibration device.

[0136] The terminal device in the embodiments of the present application may refer to various forms of terminal devices, such as user equipment, access terminal, user unit, user station, mobile station, mobile station (Mobile Station, MS), remote station, remote terminal, mobile device, user terminal, wireless communication device, user agent or user device. The terminal device may also be a cellular phone, a cordless phone, a Session Initiation Protocol (Session Initiation Protocol, SIP) phone, a Wireless Local Loop (Wireless Local Loop, WLL) station, a Personal Digital Assistant (Personal Digital Assistant, PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a future 5G network or a terminal device in a future evolved Public Land Mobile Network (Public Land Mobile Network, PLMN), etc., and the embodiments of the present application are not limited to this.

[0137] In a specific implementation, the above-mentioned terminal equipment self-calibration device can correspond to a chip with corresponding functions in the network equipment and / or the terminal equipment, such as SOC (System-On-a-Chip), baseband chip, chip module, etc.

[0138] In a specific implementation, each module / unit included in each device or product described in the above embodiments may be a software module / unit or a hardware module / unit, or may be partly a software module / unit and partly a hardware module / unit.

[0139] For example, for each device or product applied to or integrated in a chip, each module / unit contained therein may be implemented in the form of hardware such as circuits, or at least some of the modules / units may be implemented in the form of software programs, which run on a processor integrated inside the chip, and the remaining (if any) modules / units may be implemented in the form of hardware such as circuits; for each device or product applied to or integrated in a chip module, each module / unit contained therein may be implemented in the form of hardware such as circuits, and different modules / units may be located in the same component (such as a chip, circuit module, etc.) or different components of the chip module, or at least some of the modules / units may be implemented in the form of software programs. The element can be implemented in the form of a software program, which runs on a processor integrated inside the chip module, and the remaining (if any) modules / units can be implemented in the form of hardware such as circuits; for various devices and products applied to or integrated in the terminal, the various modules / units contained therein can be implemented in the form of hardware such as circuits, and different modules / units can be located in the same component (for example, chip, circuit module, etc.) or in different components in the terminal, or, at least some modules / units can be implemented in the form of a software program, which runs on a processor integrated inside the terminal, and the remaining (if any) modules / units can be implemented in the form of hardware such as circuits.

[0140] An embodiment of the present application further provides a computer-readable storage medium, which is a non-volatile storage medium or a non-transient storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are executed.

[0141] An embodiment of the present application further provides a terminal equipment self-calibration device, comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor executes the steps in the above-mentioned method embodiments when running the computer program.

[0142] It should be understood that the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article indicates that the associated objects before and after are in an "or" relationship.

[0143] The "plurality" appearing in the embodiments of the present application refers to two or more.

[0144] The first, second, etc. descriptions appearing in the embodiments of the present application are only used for illustration and distinction of the description objects. There is no order, nor do they indicate any special limitation on the number of devices in the embodiments of the present application, and cannot constitute any limitation on the embodiments of the present application.

[0145] The various embodiments provided in this application can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center to another website site, a computer, a server or a data center by wired or wireless means. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.

[0146] In the several embodiments provided in the present application, it should be understood that the disclosed methods, devices and systems can be implemented in other ways. For example, the device embodiments described above are merely schematic; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0147] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0148] In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can be physically arranged separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.

[0149] Although the present application is disclosed as above, the present application is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application. Therefore, the protection scope of the present application shall be subject to the scope defined by the claims.

Claims

1. A terminal device self-calibration method, characterized in that: The method comprises: After the terminal device is turned on or enters the idle state, four single-tone signals (I, Q) with the same power are transmitted in sequence for parameters of different dimensions that need to be calibrated, and a signal is received from the receiving path, which is recorded as the first feedback signal. The four single-tone signals with the same power are: I signal, Q signal, I and Q signals, and I and -Q signals; Changing the phase difference φ between the local oscillator of the receiving path and the local oscillator of the transmitting path, transmitting the four single-tone signals (I, Q) with the same power again, and receiving a signal (I′, Q′) from the receiving path, which is recorded as a second feedback signal; The amplitude difference β and the phase difference α of the two signals of the transmission path I and Q are calculated according to the first feedback signal and the second feedback signal, including: Calculate the energy mean of the feedback signal respectively: E(I′ 2 )、E(Q′ 2 ), E(I′Q′); The intermediate values ​​M, N, cos2φ, and sin2φ are calculated based on the energy mean, where: D=E(I′ 2 ),E=E(Q′ 2 ),F=E(I′Q′); A=E(I′ 2 )+E(Q′ 2 ),B=E(I′ 2 )-E(Q′ 2 ),C=E(I′Q′); Among them, A 11 , B 11 , C 11 are the A, B, and C values ​​calculated for the feedback signal that only transmits the I signal. 21 , B 21 , C 21 A, B, C values ​​are calculated for the feedback signal corresponding to the transmission of only Q signal, and the phase difference φ of the local oscillator of the receiving path and the transmitting path is the same when the I signal is transmitted and the Q signal is transmitted; Among them, M1 and N1 are respectively the M and N values ​​corresponding to the first feedback signal, and M2 and N2 are respectively the M and N values ​​corresponding to the second feedback signal.

2. The method according to claim 1, characterized in that The parameters of different dimensions include: frequency band, frequency point, bandwidth, and antenna.

3. The method according to claim 2, characterized in that The frequency of the single tone signal is at a position of plus or minus BW*0.8, where BW is the bandwidth.

4. The method according to claim 1, characterized in that: The method further includes: adding an offset coefficient to the I signal and / or the Q signal.

5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Transmit signals at each frequency point of each frequency band to be calibrated in turn, from minimum to maximum power, and obtain the output signal of the receiving path; Calculating the output signal power of the receiving path; According to the transmission signal power and the output signal power of the receiving path, the transmission path gain corresponding to the transmission signal power is calculated to achieve calibration of the automatic power control of the transmission path.

6. The method according to claim 5, characterized in that The method further comprises: The gain of the receiving path is calibrated in advance.

7. The method according to claim 5, characterized in that The method further comprises: After the calibration of the automatic power control of the transmission path is completed, for each frequency band, a fixed frequency band and a transmission target power are selected, and the frequency points in the frequency band are traversed with a set frequency step to obtain a power value corresponding to each frequency point; The power value is converted into an amplitude value, and then the amplitude value is inversely calculated and normalized as a calibration result of the front-end power imbalance.

8. The method according to claim 5, characterized in that The method further comprises: During operation of the terminal device, determining whether a digital predistortion coefficient training trigger condition is met; If the conditions are met, the digital pre-distortion coefficient training module is enabled to trigger the digital pre-distortion coefficient training module to perform a digital pre-distortion training process. The digital pre-distortion training process includes: for each bandwidth at the current frequency point, orthogonal amplitude modulation signals are transmitted in sequence from small to large power, and the digital pre-distortion coefficient corresponding to the power is determined according to the received signal of the receiving path.

9. The method according to claim 8, characterized in that The method further comprises: The digital predistortion coefficient training trigger condition is determined according to any one or more of the following parameters: transmit signal power, channel type, transmit symbol type, temperature, and standing wave ratio.

10. A terminal equipment self-calibration device, characterized in that: The device comprises: The RF processing module is used to transmit four single-tone signals (I, Q) with the same power in sequence for parameters of different dimensions that need to be calibrated after the terminal device is turned on or enters an idle state, wherein the four single-tone signals with the same power are: I signal, Q signal, I and Q signals, and I and -Q signals; then change the phase difference φ between the local oscillator of the receiving path and the transmitting path, and transmit the four single-tone signals (I, Q) with the same power again; A receiving module, used for receiving a signal from a receiving path; A calculation module is used to record the signal received by the receiving module before the phase difference φ is changed as a first feedback signal, and record the signal (I′, Q′) received after the phase difference φ is changed as a second feedback signal, and calculate the amplitude difference β and phase difference α of the two signals of the transmission path I and Q according to the first feedback signal and the second feedback signal, including: Calculate the energy mean of the feedback signal respectively: E(I′ 2 )、E(Q′ 2 ), E(I′Q′); The intermediate values ​​M, N, cos2φ, and sin2φ are calculated based on the energy mean, where: D=E(I′ 2 ),E=E(Q′ 2 ),F=E(I′Q′); A=E(I′ 2 )+E(Q′ 2 ),B=E(I′ 2 )-E(Q′ 2 ),C=E(I′Q′); Among them, A 11 , B 11 , C 11 are the A, B, and C values ​​calculated for the feedback signal that only transmits the I signal. 21 , B 21 , C 21 A, B, C values ​​are calculated for the feedback signal corresponding to the transmission of only Q signal, and the phase difference φ of the local oscillator of the receiving path and the transmitting path is the same when the I signal is transmitted and the Q signal is transmitted; Among them, M1 and N1 are respectively the M and N values ​​corresponding to the first feedback signal, and M2 and N2 are respectively the M and N values ​​corresponding to the second feedback signal.

11. The device according to claim 10, characterized in that The radio frequency processing module is further used to transmit signals to each frequency point of each frequency band to be calibrated in turn according to power from minimum to maximum, and obtain output signals of the receiving path; The calculation module is also used to calculate the output signal power of the receiving path, and calculate the transmission path gain corresponding to the transmission signal power according to the transmission signal power and the output signal power of the receiving path, so as to realize the calibration of the automatic power control of the transmission path.

12. The device according to claim 11, characterized in that The radio frequency processing module is further used to select a fixed frequency band and a transmission target power for each frequency band after the calibration of the automatic power control of the transmission path is completed, and to traverse the frequency points in the frequency band with a set frequency step; The calculation module is further used to calculate the power value corresponding to each frequency point, convert the power value into an amplitude value, and then find the inverse of the amplitude value and normalize it as the calibration result of the front-end power imbalance.

13. The device according to claim 11, characterized in that The device also includes: The judgment module is used to determine whether the digital pre-distortion coefficient training trigger condition is met during the operation of the terminal device, and if the condition is met, enable the digital pre-distortion coefficient training module to trigger the digital pre-distortion coefficient training module to perform a digital pre-distortion training process, wherein the digital pre-distortion training process includes: for each bandwidth at the current frequency point, orthogonal amplitude modulation signals are transmitted in sequence from small to large power, and the digital pre-distortion coefficient corresponding to the power is determined according to the received signal of the receiving path.

14. A terminal device, characterized in that: The terminal device comprises the terminal device self-calibration device according to any one of claims 10 to 13.

15. A computer-readable storage medium, wherein the computer-readable storage medium is a non-volatile storage medium or a non-transient storage medium, and a computer program is stored thereon, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 9 is performed.

16. A terminal equipment self-calibration device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor runs the computer program, the method according to any one of claims 1 to 9 is executed.

Citation Information

Patent Citations

  • IQ imbalance coefficient acquisition method and device, and readable storage medium

    CN112291173A

  • Transmitter and signal processing method therefor

    WO2017186116A1