Error compensation method and device, terminal equipment and storage medium

CN115865232BActive Publication Date: 2026-09-08XIAN WINGTECH INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211493629.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-25
Publication Date
2026-09-08
Estimated Expiration
2042-11-25

AI Technical Summary

Technical Problem

现有的RS RP通常采用点检线损方式进行校准,校准结果与实际情况的误差较小,但在RX有多个通路同时工作的情况下,由于存在信号互相干扰,现有的校准方式得到的结果与RSRP理想值有较大误差,准确性较低

Benefits of technology

[0035]终端设备通过AGC电压对RSRP估计值进行校准调整,得到RSRP初始校准值,接着终端设备根据RSRP初始校准值以及所采用的通路,从当前使用的频段对应的目标补偿数据集中确定出误差补偿数据,并采用误差补偿数据对RSRP初始校准值进行补偿,而目标补偿数据集为多个补偿数据集中的一个,且多个补偿数据集根据预先获得的RSRP校准数据获得,因此,能够在对RSRP估计值进行校准的基础上,提供一个误差补偿数据对RSRP初始校准值进行补偿,进一步优化RSRP的测量精度。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115865232B_ABST
    Figure CN115865232B_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses an error compensation method and device, terminal equipment and a storable medium. The method is applied to the terminal equipment, and comprises the following steps: adjusting a reference signal received power (RSRP) estimation value by means of an automatic gain control (AGC) voltage of a receiver, and obtaining an RSRP initial calibration value of the terminal equipment; determining error compensation data from a target compensation data set corresponding to a current frequency band of the terminal equipment according to the RSRP initial calibration value and an RX channel adopted by the terminal equipment; and compensating the RSRP initial calibration value according to the error compensation data. According to the embodiment of the application, the RSRP initial calibration value can be compensated by error compensation data on the basis of calibrating the RSRP estimation value, and the measurement precision of the RSRP is further optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technology, specifically to an error compensation method, apparatus, terminal equipment, and storage medium. Background Technology

[0002] The accuracy of Reference Signal Received Power (RSRP) is a crucial indicator for receivers, and many smart terminals aim to improve RSRP accuracy during RX calibration. Current RSRP calibration methods typically employ point-to-point line loss checks, resulting in relatively small errors between the calibration results and actual values. However, when multiple RX channels are operating simultaneously, signal interference leads to significant discrepancies between existing calibration methods and the ideal RSRP value, resulting in low accuracy. Summary of the Invention

[0003] This application discloses an error compensation method, apparatus, terminal device, and storage medium that can compensate for RSRP calibration results and improve the accuracy of RSRP.

[0004] The first aspect of this application discloses an error compensation method applied to a terminal device, the method comprising:

[0005] The RSRP estimate of the terminal device is adjusted by adjusting the automatic gain control (AGC) voltage of the receiver to obtain the initial RSRP calibration value.

[0006] Based on the initial RSRP calibration value and the RX path used by the terminal device, error compensation data is determined from the target compensation dataset corresponding to the current frequency band of the terminal device;

[0007] The initial calibration value of RSRP is compensated based on the error compensation data;

[0008] The target compensation dataset is one of a plurality of pre-obtained compensation datasets, which are obtained based on pre-obtained RSRP calibration data. Different frequency band parameters correspond to different compensation datasets. Each compensation dataset includes error compensation data for each path under a frequency band. The RSRP calibration data are RSRP calibration data for each path under different operating modes in different test environments. The test environment parameters include frequency bands and reference signal levels. Each path under different operating modes includes a signal receiving RX path corresponding to each antenna in dual-antenna receiving mode and 4-antenna receiving mode.

[0009] As an optional implementation, in the first aspect of this embodiment, the RSRP calibration data includes calibration datasets corresponding to different frequency bands, and each calibration dataset includes calibration data of each channel in different operating modes under different signal level parameters in any frequency band;

[0010] The step of determining error compensation data from the target compensation dataset corresponding to the current frequency band of the terminal device based on the initial RSRP calibration value and the RX path used by the terminal device includes:

[0011] Determine the target compensation dataset and target calibration dataset corresponding to the current frequency band of the terminal device;

[0012] Based on the RX path used by the terminal device, determine the compensation data corresponding to the RX path used in the target compensation dataset, and determine the calibration data corresponding to the RX path used in the target calibration dataset.

[0013] Based on the initial RSRP calibration value, the compensation data corresponding to the RX path used in the target compensation dataset, and the calibration data corresponding to the RX path used in the target calibration dataset, the error compensation data for the current frequency band of the terminal device is determined.

[0014] As an optional implementation, in the first aspect of this embodiment, the target calibration datasets corresponding to the different frequency bands are obtained in advance by the following method:

[0015] Based on a preset step size, the signal level range covered by a single subcarrier signal is divided into multiple reference signal levels;

[0016] For each frequency band, with all channels enabled in different operating modes, calibration data for each channel at each reference signal level is obtained. The calibration data for each channel corresponding to a frequency band constitutes a calibration dataset.

[0017] As an optional implementation, in the first aspect of this embodiment, the plurality of compensation datasets obtained based on pre-obtained RSRP calibration data are obtained in advance by the following method:

[0018] The calibration data of each channel under each reference signal level in the same frequency band is subtracted from the level value of the reference signal level corresponding to the same channel to obtain the error compensation data corresponding to each channel in the same frequency band. The error compensation data corresponding to each channel in each frequency band forms a compensation dataset.

[0019] As an optional implementation, in the first aspect of this embodiment, when multiple compensation datasets correspond to the same frequency band, the multiple error compensation data corresponding to the same path under the same frequency band are averaged, and the average value is used as the error compensation data corresponding to the same path under the same frequency band.

[0020] When multiple calibration datasets correspond to the same frequency band, the average of the multiple calibration data corresponding to the same channel under the same frequency band is taken as the calibration data corresponding to the same channel under the same frequency band.

[0021] As an optional implementation, in a first aspect of this embodiment, determining the error compensation data for the current frequency band of the terminal device based on the initial RSRP calibration value, the compensation data corresponding to the RX path used in the target compensation dataset, and the calibration data corresponding to the RX path used in the target calibration dataset includes:

[0022] The initial calibration value is determined to fall into the target calibration data range. Two adjacent calibration data that form the target calibration data range are determined as target calibration data. The target calibration dataset contains multiple calibration data corresponding to the RX path used by the terminal device, and two adjacent calibration data form a calibration data range.

[0023] Target compensation data is determined from the compensation data corresponding to the RX path used in the target compensation dataset based on the target calibration data, wherein the target compensation data and any of the target calibration data are at the same reference signal level;

[0024] The error compensation data for the current frequency band of the terminal device is calculated based on the target calibration data and the target compensation data.

[0025] As an optional implementation, in the first aspect of this embodiment, obtaining calibration data for each channel at each of the reference signal levels includes:

[0026] The RSRP test data of each channel under different reference signal levels is obtained by non-signaling integrated testing or receiving compensation parameters. The test data is the calibration data.

[0027] The second aspect of this application discloses an error compensation device, comprising:

[0028] The initial calibration module is used to adjust the estimated value of the reference signal received power RSR P by the automatic gain control (AGC) voltage of the receiver, so as to obtain the initial calibration value of RSRP of the terminal device.

[0029] The compensation determination module is used to determine error compensation data from the target compensation dataset corresponding to the current frequency band of the terminal device based on the initial calibration value of RSRP and the RX path adopted by the terminal device.

[0030] An error compensation module is used to compensate the initial calibration value of RSRP based on the error compensation data;

[0031] The target compensation dataset is one of a plurality of pre-obtained compensation datasets, which are obtained based on pre-obtained RSRP calibration data. Different frequency band parameters correspond to different compensation datasets. Each compensation dataset includes error compensation data for each path under a frequency band. The RSRP calibration data are RSRP calibration data for each path under different operating modes in different test environments. The test environment parameters include frequency bands and reference signal levels. Each path under different operating modes includes a signal receiving RX path corresponding to each antenna in dual-antenna receiving mode and 4-antenna receiving mode.

[0032] A third aspect of this application discloses a terminal device, including a memory and a processor. The memory stores a computer program, and when the computer program is executed by the processor, the processor implements any of the error compensation methods disclosed in this application.

[0033] A fourth aspect of this application discloses a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements an error compensation method disclosed in this application.

[0034] Compared with related technologies, the embodiments of this application have the following beneficial effects:

[0035] The terminal device calibrates and adjusts the RSRP estimate using the AGC voltage to obtain the initial RSRP calibration value. Then, based on the initial RSRP calibration value and the path used, the terminal device determines the error compensation data from the target compensation dataset corresponding to the currently used frequency band, and uses the error compensation data to compensate the initial RSRP calibration value. The target compensation dataset is one of multiple compensation datasets, and these multiple compensation datasets are obtained based on the pre-obtained RSRP calibration data. Therefore, based on the calibration of the RSRP estimate, it is possible to provide error compensation data to compensate the initial RSRP calibration value, further optimizing the RSRP measurement accuracy. Attached Figure Description

[0036] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0037] Figure 1 This is a diagram illustrating an application scenario of the error compensation method in one embodiment;

[0038] Figure 2 This is a flowchart illustrating an error compensation method in one embodiment;

[0039] Figure 3 This is a flowchart illustrating another error compensation method disclosed in one embodiment;

[0040] Figure 4 This is a schematic diagram of the structure of an error compensation device disclosed in an embodiment of this application;

[0041] Figure 5 This is a schematic diagram of the structure of a terminal device disclosed in one embodiment. Detailed Implementation

[0042] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0043] It should be noted that the terms "comprising" and "having," and any variations thereof, in the embodiments and accompanying drawings of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the steps or units listed, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices.

[0044] This application discloses an error compensation method, apparatus, terminal device, and storable medium, which simplifies the screen projection process when multiple projections to a single device are required, and improves the intelligence of screen projection. These will be described in detail below.

[0045] Please see Figure 1 , Figure 1 This is a diagram illustrating an application scenario of the error compensation method in one embodiment. For example... Figure 1As shown, the device may include a terminal device 10 and a mobile phone test socket 20. The terminal device 10 includes a Reference Received Power (RSRP) estimation module 110, an automatic gain adjustment module 120, and an error compensation module 130. The terminal device can be a smartphone. The terminal device 10 may also include a processor. The computer system in the terminal device 10 can be Windows, Linux, iOS, or Unix, without specific limitations. The RSRP estimation module 110 in the terminal device 10 obtains the RSRP estimate of the terminal device. The automatic gain adjustment module 120 adjusts the RSRP estimate through the automatic gain control (AGC) voltage to obtain the initial RSRP calibration value of the terminal device. The error compensation module 130 has multiple compensation datasets in advance, which are obtained based on the RSRP calibration data obtained in advance by the error compensation module 130. Different frequency band parameters correspond to different compensation datasets. The error compensation module 130 determines the target compensation dataset corresponding to the current frequency band from the multiple compensation datasets. Based on the initial RSRP calibration value and the RX path used by the terminal device 10, it determines the error compensation data from the target compensation dataset and uses the error compensation data to compensate the initial RSRP calibration value so that the mobile phone test socket 20 receives the error-compensated initial RSRP calibration value.

[0046] Please see Figure 2 , Figure 2 This is a flowchart illustrating an error compensation method in one embodiment, which can be applied to, for example... Figure 1 The terminal device 10 in the application scenario shown. For example... Figure 2 As shown, the method may include the following steps:

[0047] 210. Adjust the estimated RSRP value of the received reference signal power by adjusting the AGC voltage of the receiver to obtain the initial calibration value of RSRP of the terminal equipment.

[0048] In this embodiment, the terminal device obtains the RSRP estimate by estimating the power of the received signal through the terminal receiver. The obtained value is the RSRP estimate. The terminal device then generates an AGC compensation value by adjusting the AGC voltage of the terminal receiver. The RSRP estimate is compensated by the AGC compensation value to achieve calibration and adjustment of the RSRP estimate, thereby obtaining the initial RSRP calibration value of the terminal device.

[0049] Here, the initial RSRP calibration value can generally be considered as the power value of the signal currently received by the terminal device. However, due to the interference that exists when the various antenna paths of the terminal device are working in parallel and the low level of the cell reference signal, the error between the initial RSRP calibration value and the actual reference signal level is large. Therefore, the following steps need to be performed to further compensate the initial RSRP calibration value.

[0050] 220. Based on the initial RSRP calibration value and the RX path used by the terminal device, determine the error compensation data from the target compensation data set corresponding to the current frequency band of the terminal device.

[0051] 230. Compensate the initial RSRP calibration value based on the error compensation data. The target compensation dataset is one of several pre-obtained compensation datasets, which are derived from the pre-obtained RSRP calibration data. Different frequency band parameters correspond to different compensation datasets, and each compensation dataset includes error compensation data for each path within a frequency band. The RSRP calibration data consists of RSRP calibration data for each path under different operating modes in different test environments. Test environment parameters include frequency bands and reference signal levels. Each path in different operating modes includes a signal reception RX path corresponding to each antenna in both dual-antenna and 4-antenna reception modes.

[0052] In this embodiment, the terminal device pre-obtains compensation datasets corresponding to different frequency bands based on pre-obtained RSRP calibration data for different frequency bands. Then, based on the frequency band currently used by the terminal device, it determines a target compensation dataset from the pre-obtained multiple compensation datasets. The target compensation dataset is the compensation dataset corresponding to the frequency band currently used by the terminal device. Since each pre-obtained compensation dataset contains error compensation data for each path of the terminal device within a frequency band, after determining the target compensation dataset, the terminal device, based on the path currently used by the terminal device (i.e., the path corresponding to the obtained RSRP estimate and the initial RSRP calibration value), determines the error compensation data corresponding to the used path from the target compensation dataset. Finally, based on the initial RSRP calibration value, it determines a specific error compensation data from the error compensation data corresponding to the used path and uses this determined specific error compensation data to compensate for the initial RSRP calibration value.

[0053] By using the above embodiments, based on the calibration of the RSRP estimate, an error compensation data can be provided to further compensate the initial RSRP calibration value obtained after AGC calibration, thereby further optimizing the measurement accuracy of RSRP.

[0054] In one embodiment, see Figure 3 , Figure 3This is a schematic flowchart of another error compensation method disclosed in one embodiment. This method can be applied to, for example... Figure 1 The terminal device 10 in the application scenario shown. For example... Figure 3 As shown, the method may include the following steps:

[0055] 310. Adjust the estimated RSRP value of the received reference signal power by adjusting the AGC voltage of the receiver to obtain the initial calibration value of RSRP of the terminal equipment.

[0056] 320. Determine the target compensation dataset and target calibration dataset corresponding to the current frequency band of the terminal device.

[0057] In this embodiment, the RSRP calibration data pre-obtained by the terminal device includes multiple calibration datasets and multiple compensation datasets, each corresponding to a different frequency band. That is, for any given frequency band, there can be one calibration dataset and one compensation dataset. Therefore, based on the currently used frequency band, the terminal device can determine the calibration dataset and compensation dataset corresponding to that frequency band, i.e., the target calibration dataset and the target compensation dataset.

[0058] 330. Based on the RX path used by the terminal device, determine the compensation data corresponding to the RX path used in the target compensation dataset, and determine the calibration data corresponding to the RX path used in the target calibration dataset. The RSRP calibration data includes calibration datasets corresponding to different frequency bands, and each calibration dataset includes calibration data for each path in different operating modes under different signal level parameters within any frequency band.

[0059] In this embodiment, the compensation dataset and calibration dataset corresponding to any pre-obtained frequency band include compensation data and calibration data corresponding to each path of the terminal device in different modes. Furthermore, the compensation data and calibration data corresponding to each path in different modes also include compensation data and calibration data under different signal level parameters. Therefore, the terminal device determines the compensation data corresponding to the adopted RX path from the target compensation dataset and the calibration data corresponding to the adopted RX path from the target calibration dataset, based on the adopted RX path.

[0060] 340. Based on the initial RSRP calibration value, the compensation data corresponding to the RX path used in the target compensation dataset, and the calibration data corresponding to the RX path used in the target calibration dataset, determine the error compensation data for the current frequency band of the terminal device.

[0061] In this embodiment, the terminal device determines a specific error compensation data based on the initial RSRP calibration value, the determined compensation data corresponding to the adopted RX path, and the calibration data corresponding to the adopted RX path. The terminal device can find the calibration data corresponding to the initial RSRP calibration value from the determined calibration data corresponding to the adopted RX path based on the initial RSRP calibration value. Then, based on the signal level parameter corresponding to the calibration data corresponding to the initial RSRP calibration value, it can find the compensation data under the same signal level parameter from the determined compensation data corresponding to the adopted RX path. The specific error compensation data is determined based on the found compensation data.

[0062] 350. Compensate the initial RSRP calibration value based on the error compensation data. The target compensation dataset is one of several pre-obtained compensation datasets, which are derived from the pre-obtained RSRP calibration data. Different frequency band parameters correspond to different compensation datasets, and each compensation dataset includes error compensation data for each path within a frequency band. The RSRP calibration data consists of RSRP calibration data for each path under different operating modes in different test environments. Test environment parameters include frequency bands and reference signal levels. Each path in different operating modes includes a signal reception RX path corresponding to each antenna in both dual-antenna and 4-antenna reception modes.

[0063] Using the above embodiments, since multiple compensation datasets are obtained from multiple pre-obtained calibration datasets, determining the calibration data corresponding to the RX path can, based on the initial RSRP calibration and the compensation data corresponding to the RX path, determine the specific error compensation data, thereby improving the accuracy of the determined error compensation data and better optimizing the RSRP measurement accuracy.

[0064] In some embodiments, the target calibration datasets corresponding to different frequency bands are obtained in advance by the following method:

[0065] Based on a preset step size, the signal level range covered by a single subcarrier signal is divided into multiple reference signal levels;

[0066] For each frequency band, under different operating modes with all channels enabled, calibration data for each channel at each reference signal level is obtained. The calibration data for each channel corresponding to a frequency band constitutes a calibration dataset.

[0067] In this embodiment, the terminal device can divide the signal level range to be covered by a single subcarrier signal according to a preset step size, thereby obtaining multiple reference signal levels. Then, for each frequency band, the terminal device activates each channel in different operating modes and obtains calibration data for each channel under the aforementioned reference signal levels. The calibration data corresponding to each channel under each frequency band constitutes a calibration dataset.

[0068] For example, a single subcarrier signal needs to cover a signal level range of [-120dBm-80dBm], with a preset step size of 10dBm. Therefore, the terminal device obtains 5 reference signal levels, namely -120dBm, -110dBm, -100dBm, -90dBm, and -80dBm, which can form a reference signal level sequence {-120dBm, -110dBm, -100dBm, -90dBm, -80dBm}.

[0069] For each frequency band, such as band 1, under different operating modes, such as dual-antenna reception mode, there are two paths: the RX0 path corresponding to the main antenna and the RX1 path corresponding to the diversity antenna. When the terminal device is in dual-antenna reception mode and both the RX0 and RX1 paths are active, the calibration data for the RX0 and RX1 paths at each of the reference signal level sequences {-120dBm, -110dBm, -100dBm, -90dBm, -80dBm} are obtained. This yields the calibration data for the RX0 and RX1 paths, which can be the {R00, R01, R02, R03, R04} sequence for the RX0 path and the {R10, R11, R12, R13, R14} sequence for the RX1 path. Where R00 is the calibration data of the RX0 path in dual-antenna reception mode at a reference signal level of -120dBm, R10 is the calibration data of the RX1 path in dual-antenna reception mode at a reference signal level of -120dBm, and so on. The sequences corresponding to the two paths obtained above can form the data matrix shown in equation (1).

[0070]

[0071] The data matrix in equation (1) is the calibration dataset for band 1 and dual-antenna operating modes.

[0072] For each frequency band, such as frequency band 1, in different operating modes, such as the 4-antenna receiving mode, there are the following paths: RX0 for the main antenna, RX1 for the diversity antenna, RX2 for the main multiple input multiple output (MIMO) antenna, and RX3 for the diversity MIMO antenna. With the terminal device in 4-antenna receiving mode and all RX0, RX1, RX2, and RX3 channels enabled, the terminal device obtains the calibration data for each of the reference signal levels in the reference signal level sequence {-120dBm, -110dBm, -100dBm, -90dBm, -80dBm}. This calibration data can be obtained for each of the RX0, RX1, RX2, and RX3 channels at the aforementioned reference signal levels. The calibration data for each of the RX0, RX1, RX2, and RX3 channels can be the following sequences: {R00, R01, R02, R03, R04} for RX0, {R10, R11, R12, R13, R14} for RX1, {R20, R21, R22, R23, R24} for RX2, and {R30, R31, R32, R33, R34} for RX3. Wherein, R00 is the calibration data of the RX0 path in the 4-antenna receiving mode at a reference signal level of -120dBm, R10 is the calibration data of the RX1 path in the 4-antenna receiving mode at a reference signal level of -120dBm, R20 is the calibration data of the RX2 path in the 4-antenna receiving mode at a reference signal level of -120dBm, R30 is the calibration data of the RX3 path in the 4-antenna receiving mode at a reference signal level of -120dBm, and so on. The sequences corresponding to the four paths obtained above can form the data matrix shown in equation (2).

[0073]

[0074] The data matrix in equation (2) is the calibration dataset for band 1 and 4-antenna operating modes. By using the above method, the terminal device can obtain calibration datasets for different frequency bands and different operating modes in advance, which is the RSRP calibration data.

[0075] Using the above embodiments, the terminal device can obtain calibration datasets in advance for different frequency bands and different operating modes, which improves the efficiency of the subsequent determination of compensation datasets and error compensation process. Furthermore, the calibration datasets obtained with each channel in an open state enable the compensation datasets obtained based on the calibration data to better compensate for the interference caused by the simultaneous operation of each RX channel in the terminal device, thereby improving the accuracy of error compensation.

[0076] In some embodiments, multiple compensation datasets obtained from pre-obtained RSRP calibration data are pre-obtained using the following method:

[0077] The error compensation data for each channel under the same frequency band is obtained by subtracting the level value of the reference signal level of the corresponding channel from the calibration data of each channel under each reference signal level. The error compensation data of each channel under each frequency band forms a compensation dataset.

[0078] In this embodiment, the terminal device can pre-obtain multiple compensation datasets based on pre-obtained RSRP calibration data before performing the error compensation process described in the above embodiment. For each frequency band, the terminal device can directly calculate the difference between the calibration data of each channel under different reference signal levels in that frequency band and the corresponding reference signal level, thereby obtaining the error compensation data corresponding to each channel in the same frequency band. The error compensation data corresponding to each channel in each frequency band constitutes a compensation dataset.

[0079] For example, for each frequency band, such as band 1, under different operating modes, such as dual-antenna reception mode, at various reference signal levels in the reference signal level sequence {-120dBm, -110dBm, -100dBm, -90dBm, -80dBm}, the calibration sequence corresponding to the RX0 path is {R00, R01, R02, R03, R04}, and the calibration sequence corresponding to the RX1 path is {R10, R11, R12, R13, R14}. Since R00 is the calibration data of the RX0 path in dual-antenna reception mode at a reference signal level of -120dBm, and R10 is the calibration data of the RX1 path in dual-antenna reception mode at a reference signal level of -120dBm, and so on. Therefore, the terminal device can calculate the difference between R00 and -120dBm to obtain Le00, Le00 = -120 - R00; calculate the difference between R01 and -110dBm to obtain Le01, Le01 = -110 - R01; calculate the difference between R02 and -100dBm to obtain Le02, Le02 = -100 - R02; calculate the difference between R03 and -90dBm to obtain Le03, Le03 = -90 - R03; and calculate the difference between R04 and -80dBm to obtain Le00. The difference between m and R04 is calculated to obtain Le04, where Le04 = -80 - R04. This yields the sequence {-120 - R00, -110 - R01, -100 - R02, -90 - R03, -80 - R04}, represented as {Le00, Le01, Le02, Le03, Le04}. Here, Le00 represents the error compensation data for the RX0 path of the terminal device at a reference signal level of -120dBm in frequency band 1 and dual-antenna reception mode; Le01 represents the error compensation data for the RX0 path of the terminal device at a reference signal level of -110dBm in frequency band 1 and dual-antenna reception mode, and so on. The sequence {Le00, Le01, Le02, Le03, Le04} represents the error compensation data for the RX0 path of the terminal device in frequency band 1 and dual-antenna reception mode. Similarly, in dual-antenna reception mode, the calibration sequence {R10, R11, R12, R13, R14} corresponding to the RX1 path is obtained at each reference signal level in the reference signal level sequence {-120dBm, -110dBm, -100dBm, -90dBm, -80dBm}. This sequence is then subtracted from each reference signal level in the reference signal level sequence {-120dBm, -110dBm, -100dBm, -90dBm, -80dBm} to obtain the error compensation data sequence {Le10, Le11, Le12, Le13, Le14} corresponding to the RX1 path of the terminal device in frequency band 1 and dual-antenna reception mode. In this embodiment, the sequence is merely one representation of data and does not limit the data itself.Here, Le10 represents the error compensation data of the RX1 path of the terminal device at a reference signal level of -120dBm under frequency band 1 and dual-antenna reception mode, and Le11 represents the error compensation data of the RX1 path of the terminal device at a reference signal level of -110dBm under frequency band 1 and dual-antenna reception mode, and so on. The sequences corresponding to the two paths obtained above can form the data matrix shown in equation (3).

[0080]

[0081] The data matrix in equation (3) is the compensation dataset in band 1 and dual-antenna operating mode.

[0082] For each frequency band, such as band 1, under different operating modes, such as the 4-antenna receiving mode, the calibration data sequence {R00, R01, R02, R03, R04} corresponding to the RX0 path of the main antenna, the calibration data sequence {R10, R11, R12, R13, R14} corresponding to the RX1 path of the diversity antenna, the calibration data sequence {R20, R21, R22, R23, R24} corresponding to the RX2 path of the main MIMO antenna, and the calibration data sequence {R20, R21, R22, R23, R24} corresponding to the RX2 path of the diversity MIMO antenna, and the calibration data sequence {R20, R21, R22, R23, R24} corresponding to the RX2 path of the main MIMO antenna, and the calibration data sequence {R20, R21, R22, R23, R24} corresponding to the RX2 path of the diversity MIMO antenna, are calculated. The calibration data sequence {R30, R31, R32, R33, R34} corresponding to the RX3 path of the MO antenna is subtracted from the reference signal level sequence {-120dBm, -110dBm, -100dBm, -90dBm, -80dBm} to calculate the error compensation data sequences corresponding to the RX0, RX1, RX2, and RX3 paths of the terminal device in band 1 and 4-antenna reception modes. The error compensation sequences corresponding to the four paths obtained above can form the data matrix shown in equation (4).

[0083]

[0084] In this context, the data matrix in equation (4) represents the compensation dataset for the operating modes of band 1 and 4 antennas. Le00 represents the error compensation data of the RX0 path of the terminal device at a reference signal level of -120dBm under the band 1 and 4 antenna receiving modes; Le10 represents the error compensation data of the RX1 path of the terminal device at a reference signal level of -120dBm under the band 1 and 4 antenna receiving modes; Le20 represents the error compensation data of the RX2 path of the terminal device at a reference signal level of -120dBm under the band 1 and 4 antenna receiving modes; Le30 represents the error compensation data of the RX3 path of the terminal device at a reference signal level of -120dBm under the band 1 and 4 antenna receiving modes, and so on.

[0085] By using the above method, terminal devices can obtain compensation datasets for different frequency bands and different operating modes in advance.

[0086] Using the above embodiments, the terminal device can obtain compensation datasets for different frequency bands and different operating modes in advance based on the calibration datasets obtained in advance. The process is simple and improves the efficiency and accuracy of the subsequent error compensation process.

[0087] In some embodiments, for ease of processing, calibration and compensation datasets in different frequency bands and operating modes can be represented as 4*n matrices, where n is the number of reference signal levels. The first row of the matrix corresponds to the path of the primary antenna (e.g., RX0), the second row to the path of the diversity antenna (e.g., RX1), the third row to the path of the primary MIMO antenna (e.g., RX2), and the fourth row to the path of the diversity MIMO antenna (e.g., RX3). For calibration and compensation datasets in dual-antenna reception mode, since there are only two paths, the last two rows can be directly set to 0. This facilitates searching and retrieval by the terminal device.

[0088] In some embodiments, when multiple compensation datasets correspond to the same frequency band, the average of multiple error compensation data corresponding to the same path under the same frequency band is used as the error compensation data corresponding to the same path under the same frequency band.

[0089] When multiple calibration datasets correspond to the same frequency band, the average of the multiple calibration data corresponding to the same channel under the same frequency band is taken as the calibration data corresponding to the same channel under the same frequency band.

[0090] In this embodiment, when a terminal device detects multiple compensation datasets corresponding to a frequency band—for example, when the terminal device detects compensation datasets corresponding to different frequency bands obtained by other terminal devices—the terminal device can average the multiple compensation datasets corresponding to that frequency band, and the resulting averaged compensation dataset is the compensation dataset corresponding to that frequency band. Specifically, the terminal device can average the error compensation data corresponding to each path under a frequency band, and the average value is used as the error compensation data corresponding to the same path under that frequency band. For example, the sequences {Le00, Le01, Le02, Le03, Le04} and {Le00', Le01', Le02', Le03', Le04'} are both error compensation data corresponding to the RX0 path of the terminal device in frequency band 1 and dual-antenna reception mode. The terminal device can average Le00 and Le00', Le01 and Le01', Le02 and Le02', Le03 and Le03', Le04 and Le04', and so on, to obtain the sequences. The error compensation data for the corresponding RX0 path in band 1 and dual-antenna reception mode is unified as a single compensation dataset. Similarly, the error compensation data for other paths in the compensation dataset are processed in the same way to obtain a unified compensation dataset for the same frequency band.

[0091] For calibration datasets, when a terminal device detects multiple calibration datasets corresponding to a frequency band, it can average these datasets to obtain the averaged calibration dataset for that frequency band. Specifically, the terminal device can average the calibration data corresponding to each path within a frequency band, and the average value is used as the calibration data for the same path within that frequency band. For example, the sequences {R00, R01, R02, R03, R04} and {R00', R01', R02', R03', R04'} are both calibration data corresponding to the RX0 path of the terminal device in frequency band 1 and dual-antenna reception mode. The terminal device can average R00 with R00', R01 with R01', R02 with R02', R03 with R03', R04 with R04', and so on. The calibration data for the corresponding RX0 path in band 1 and dual-antenna reception mode is unified and used as calibration data. Similarly, the calibration data for other paths in the calibration dataset are processed in the same way to obtain a unified calibration dataset for the same frequency band.

[0092] By using the above embodiments, a sufficient number of compensation datasets and calibration datasets in the same frequency band can be obtained as samples, and a compensation dataset and calibration dataset can be reasonably determined as the unique compensation dataset and calibration dataset in that frequency band, thereby improving the accuracy of the compensation dataset and calibration dataset used.

[0093] In some embodiments, step 340, which determines the error compensation data for the current frequency band of the terminal device based on the initial RSRP calibration value, the compensation data corresponding to the RX path used in the target compensation dataset, and the calibration data corresponding to the RX path used in the target calibration dataset, may include the following steps:

[0094] The target calibration data range into which the initial calibration value falls is determined. The two adjacent calibration data that form the target calibration data range are determined as the target calibration data. The target calibration dataset contains multiple calibration data corresponding to the RX path used by the terminal device, and two adjacent calibration data form a calibration data range.

[0095] The target compensation data is determined from the compensation data corresponding to the RX path used in the target compensation data based on the target calibration data. The target compensation data and any target calibration data are at the same reference signal level.

[0096] The error compensation data for the terminal device in the current frequency band is calculated based on the target calibration data and the target compensation data.

[0097] In this embodiment, the target calibration dataset includes multiple calibration data corresponding to the adopted RX path. Two adjacent calibration data points form a calibration data interval. Here, two adjacent calibration data points are the two adjacent calibration data points after the multiple calibration data points corresponding to the adopted RX path are arranged in ascending order of size. Furthermore, the smallest and largest calibration data points among the multiple calibration data points corresponding to the adopted RX path can form a calibration data interval with negative infinity and positive infinity, respectively.

[0098] The terminal device can compare the obtained initial RSRP calibration value with each calibration data corresponding to the RX path used in the target calibration dataset to determine the size relationship of the initial RSRP calibration value among the calibration data corresponding to the RX path used in the target calibration dataset. This determines the interval into which the initial RSRP calibration value falls within the multiple calibration data intervals composed of the multiple calibration data corresponding to the adopted RX path. The interval into which the initial RSRP calibration value falls is the target calibration data interval, and the two calibration data that make up the target calibration data interval are the target calibration data.

[0099] The terminal device determines the target compensation data from the compensation data corresponding to the RX path used in the target compensation dataset based on the target calibration data. The target compensation data is at the same reference signal level as any target standard data. In other words, after determining the target calibration data, based on the two reference signal levels at which the terminal device obtained these two target calibration data, the compensation data at one of the reference signal levels among the multiple compensation data corresponding to the used RX path is determined as the target compensation data. The terminal device calculates the final error compensation data based on the target calibration data and the target compensation data to compensate for the error in the initial RSRP calibration value.

[0100] For example, the data matrix shown in Equation (2) is used as the target calibration dataset, that is, the calibration dataset in the operating modes of band 1 and 4 antennas is used as the target standard dataset. Similarly, the data matrix shown in Equation (4) is used as the target compensation dataset, that is, the compensation dataset in the operating modes of band 1 and 4 antennas is used as the target compensation dataset. When the terminal device uses the path corresponding to the main antenna, i.e., the RX0 path, the interpolation algorithm shown in Equation (5) can be used to calculate the error compensation data for the current frequency band.

[0101]

[0102] Where R0e is the initial RSRP calibration value of the RX0 path used, a series of... This sequence contains calibration data for the RX0 path in both band 1 and 4-antenna receiving modes. The calibration data points are arranged in ascending order. This is the error compensation data for the RX0 path in band 1 and 4-antenna receiving modes. This is the calibration data for the RX0 path in 4-antenna receive mode at a reference signal level of -120dBm. This is the calibration data for the RX0 path in 4-antenna receive mode at a reference signal level of -110dBm. This is the calibration data for the RX0 path in 4-antenna receive mode at a reference signal level of -100dBm. This provides calibration data for the RX0 path in 4-antenna receive mode at a reference signal level of -90dBm. This is the calibration data for the RX0 path in 4-antenna receiving mode at a reference signal level of -80dBm. This provides error compensation data for the RX0 path in 4-antenna reception mode at a reference signal level of -120dBm. This provides error compensation data for the RX0 path in 4-antenna reception mode at a reference signal level of -110dBm. This provides error compensation data for the RX0 path in 4-antenna reception mode at a reference signal level of -100dBm. This provides error compensation data for the RX0 path in 4-antenna reception mode at a reference signal level of -90dBm. This is the error compensation data for the RX0 path in 4-antenna receiving mode at a reference signal level of -80dBm.

[0103] According to the above formula (5), when the terminal device uses the path corresponding to the main antenna, i.e., the RX0 path, if the initial calibration data R0e of RSRP is less than or equal to That is, falling into The target formed with negative infinity

[0104] The calibration data range is defined as follows: the target calibration data is R00. Since R00 is the calibration data for the RX0 path in 4-antenna receiving mode at a reference signal level of -120dBm, it will be used as the calibration data for the path at the same -120dBm reference signal level. Directly determine as the target compensation data; if the initial RSRP calibration data R0e is greater than and less than or equal to That is, falling into and The target calibration data range is formed, then the target calibration data is... and Select target calibration data because This is the calibration data for the RX0 path in 4-antenna receiving mode at a reference signal level of -110dBm. Therefore, data at the same -110dBm reference signal level will be used. Directly determine as the target compensation data; if the initial RSRP calibration data R0e is greater than and less than or equal to That is, falling into and The target calibration data range is formed, then the target calibration data is... and Select target calibration data because This is the calibration data for the RX0 path in 4-antenna receiving mode at a -100dBm reference signal level. Therefore, it includes data at the same -100dBm reference signal level. Directly determine as the target compensation data; if the initial RSRP calibration data R0e is greater than and less than or equal to That is, falling into and The target calibration data range is formed, then the target calibration data is... and Select target calibration data because This is the calibration data for the RX0 path in 4-antenna receiving mode at a -90dBm reference signal level. Therefore, it includes data at the same -90dBm reference signal level. Directly determine as the target compensation data; if the initial RSRP calibration data R0e is greater than and less than or equal to That is, falling into and The target calibration data range is formed, then the target calibration data is... and Select target calibration data because This is the calibration data for the RX0 path in 4-antenna receiving mode at a -80dBm reference signal level. Therefore, the data will be used at the same -80dBm reference signal level. Directly determine as the target compensation data; if the initial RSRP calibration data R0e is greater than That is, falling into If the target calibration data interval is formed by the positive infinity, then the target calibration data is... because This is the calibration data for the RX0 path in 4-antenna receiving mode at a -80dBm reference signal level. Therefore, the data will be used at the same -80dBm reference signal level. It is directly determined as the target compensation data.

[0105] In this embodiment of the application, for the path corresponding to the main antenna operating in dual-antenna receiving mode, the interpolation algorithm shown in equation (5) can be used to calculate the error compensation data in the current frequency band.

[0106] When the terminal device uses the path corresponding to the diversity antenna, i.e., the RX1 path, the interpolation algorithm shown in equation (6) can be used to calculate the error compensation data for the current frequency band.

[0107]

[0108] Where R1e is the initial RSRP calibration value of the RX1 path used, and the sequence is... This sequence contains calibration data for the RX1 path in both band 1 and 4-antenna receiving modes. The calibration data points are arranged in ascending order. This is the error compensation data for the RX1 path in both band 1 and 4-antenna receiving modes. This is the calibration data for the RX1 path in 4-antenna receive mode at a reference signal level of -120dBm. This is the calibration data for the RX1 path in 4-antenna receive mode at a reference signal level of -110dBm. This is the calibration data for the RX1 path in 4-antenna receiving mode at a reference signal level of -100dBm. This is the calibration data for the RX1 path in 4-antenna receive mode at a reference signal level of -90dBm. This is the calibration data for the RX1 path in 4-antenna receiving mode at a reference signal level of -80dBm. This provides error compensation data for the RX1 path in 4-antenna reception mode at a reference signal level of -120dBm. This provides error compensation data for the RX1 path in 4-antenna reception mode at a reference signal level of -110dBm. This provides error compensation data for the RX1 path in 4-antenna reception mode at a reference signal level of -100dBm. This provides error compensation data for the RX1 path in 4-antenna reception mode at a reference signal level of -90dBm. This is the error compensation data for the RX1 path in 4-antenna receiving mode at a reference signal level of -80dBm.

[0109] According to the above formula (6), when the terminal device uses the path corresponding to the main antenna, i.e., the RX1 path, if the initial calibration data R1e of RSRP is less than or equal to That is, falling into The target calibration data interval formed by the negative infinity is then the target calibration data is... because This is the calibration data for the RX1 path in 4-antenna receiving mode at a -120dBm reference signal level. Therefore, data at the same -120dBm reference signal level will be used. Directly determine as the target compensation data; if the initial RSRP calibration data R1e is greater than and less than or equal to That is, falling into and The target calibration data range is formed, then the target calibration data is... and Select target calibration data because This is the calibration data for the RX1 path in 4-antenna receiving mode at a reference signal level of -110dBm. Therefore, data at the same -110dBm reference signal level will be used. Directly determine as the target compensation data; if the initial RSRP calibration data R1e is greater than and less than or equal to That is, falling into and The target calibration data range is formed, then the target calibration data is... and Select target calibration data because This is the calibration data for the RX1 path in 4-antenna receiving mode at a -100dBm reference signal level. Therefore, data at the same -100dBm reference signal level will be used. Directly determine as the target compensation data; if the initial RSRP calibration data R1e is greater than and less than or equal to That is, falling into and The target calibration data range is formed, then the target calibration data is... and Select target calibration data because This is the calibration data for the RX1 path in 4-antenna receiving mode at a -90dBm reference signal level. Therefore, data at the same -90dBm reference signal level will be used. Directly determine as the target compensation data; if the initial RSRP calibration data R1e is greater than and less than or equal to That is, falling into and The target calibration data range is formed, then the target calibration data is... and Select target calibration data because This is the calibration data for the RX1 path in 4-antenna receiving mode at a reference signal level of -80dBm. Therefore, data at the same -80dBm reference signal level will be used. Directly determine as the target compensation data; if the initial RSRP calibration data R1e is greater than That is, falling into If the target calibration data interval is formed by the positive infinity, then the target calibration data is... because This is the calibration data for the RX1 path in 4-antenna receiving mode at a reference signal level of -80dBm. Therefore, data at the same -80dBm reference signal level will be used. It is directly determined as the target compensation data.

[0110] In this embodiment of the application, for the path corresponding to the diversity antenna operating in dual-antenna receiving mode, the interpolation algorithm shown in equation (6) can be used to calculate the error compensation data in the current frequency band.

[0111] When the terminal device uses the path corresponding to the main set MIMO antenna, i.e., the RX2 path, the interpolation algorithm shown in equation (7) can be used to calculate the error compensation data for the current frequency band.

[0112]

[0113] Where R2e is the initial RSRP calibration value of the RX2 path used, a series of... This sequence contains calibration data for the RX2 path in both band 1 and 4-antenna receiving modes. The calibration data points are arranged in ascending order. This is the error compensation data for the RX2 path in band 1 and 4-antenna receiving modes. This is the calibration data for the RX2 path in 4-antenna receiving mode at a reference signal level of -120dBm. This is the calibration data for the RX2 path in 4-antenna receiving mode at a reference signal level of -110dBm. This provides calibration data for the RX2 path in 4-antenna receiving mode at a reference signal level of -100dBm. This provides calibration data for the RX2 path in 4-antenna receive mode at a reference signal level of -90dBm. This is the calibration data for the RX2 path in 4-antenna receiving mode at a reference signal level of -80dBm. This provides error compensation data for the RX2 path in 4-antenna reception mode at a reference signal level of -120dBm. This provides error compensation data for the RX2 path in 4-antenna reception mode at a reference signal level of -110dBm. This provides error compensation data for the RX2 path in 4-antenna reception mode at a reference signal level of -100dBm. This provides error compensation data for the RX2 path in 4-antenna reception mode at a reference signal level of -90dBm. This is the error compensation data for the RX2 path in 4-antenna receiving mode at a reference signal level of -80dBm.

[0114] According to the above formula (7), when the terminal device uses the path corresponding to the main antenna, i.e., the RX2 path, if the initial calibration data R2e of RSRP is less than or equal to That is, falling into The target calibration data interval formed by the negative infinity is then the target calibration data is... because This is the calibration data for the RX2 path in 4-antenna receiving mode at a -120dBm reference signal level. Therefore, data at the same -120dBm reference signal level will be used. Directly determine as the target compensation data; if the initial RSRP calibration data R2e is greater than and less than or equal to That is, falling into and The target calibration data range is formed, then the target calibration data is... and Select target calibration data because This is the calibration data for the RX2 path in 4-antenna receiving mode at a reference signal level of -110dBm. Therefore, it includes data at the same -110dBm reference signal level. Directly determine as the target compensation data; if the initial RSRP calibration data R2e is greater than and less than or equal to That is, falling into and The target calibration data range is formed, then the target calibration data is... and Select target calibration data because This is the calibration data for the RX2 path in 4-antenna receiving mode at a -100dBm reference signal level. Therefore, the data will be used at the same -100dBm reference signal level. Directly determine as the target compensation data; if the initial RSRP calibration data R2e is greater than and less than or equal to That is, falling into and The target calibration data range is formed, then the target calibration data is... and Select target calibration data because This is the calibration data for the RX2 path in 4-antenna receiving mode at a -90dBm reference signal level. Therefore, data at the same -90dBm reference signal level will be used. Directly determine as the target compensation data; if the initial RSRP calibration data R2e is greater than and less than or equal to That is, falling into and The target calibration data range is formed, then the target calibration data is... and Select target calibration data because This is the calibration data for the RX2 path in 4-antenna receiving mode at a reference signal level of -80dBm. Therefore, data at the same -80dBm reference signal level will be used. Directly determine as the target compensation data; if the initial RSRP calibration data R2e is greater than That is, falling into If the target calibration data interval is formed by the positive infinity, then the target calibration data is... because This is the calibration data for the RX2 path in 4-antenna receiving mode at a reference signal level of -80dBm. Therefore, data at the same -80dBm reference signal level will be used. It is directly determined as the target compensation data.

[0115] When the terminal device uses the path corresponding to the diversity MIMO antenna, i.e., the RX3 path, the interpolation algorithm shown in equation (8) can be used to calculate the error compensation data for the current frequency band.

[0116]

[0117] Where R3e is the initial RSRP calibration value of the RX3 path used, a series of... This sequence contains calibration data for the RX3 path in both band 1 and 4-antenna receiving modes. The calibration data points are arranged in ascending order. This is the error compensation data for the RX3 path in both band 1 and 4-antenna receiving modes. This is the calibration data for the RX3 path in 4-antenna receiving mode at a reference signal level of -120dBm. This is the calibration data for the RX3 path in 4-antenna receiving mode at a reference signal level of -110dBm. This is the calibration data for the RX3 path in 4-antenna receiving mode at a reference signal level of -100dBm. This is the calibration data for the RX3 path in 4-antenna receive mode at a reference signal level of -90dBm. This is the calibration data for the RX3 path in 4-antenna receiving mode at a reference signal level of -80dBm. This provides error compensation data for the RX3 path in 4-antenna reception mode at a reference signal level of -120dBm. This provides error compensation data for the RX3 path in 4-antenna reception mode at a reference signal level of -110dBm. This provides error compensation data for the RX3 path in 4-antenna reception mode at a reference signal level of -100dBm. This provides error compensation data for the RX3 path in 4-antenna reception mode at a reference signal level of -90dBm. This is the error compensation data for the RX3 path in 4-antenna receiving mode at a reference signal level of -80dBm.

[0118] According to the above formula (8), when the terminal device uses the path corresponding to the main antenna, i.e., the RX3 path, if the initial calibration data R3e of RSRP is less than or equal to That is, falling into The target calibration data interval formed by the negative infinity is then the target calibration data is... because This is the calibration data for the RX3 path in 4-antenna receiving mode at a -120dBm reference signal level. Therefore, data at the same -120dBm reference signal level will be used. Directly determine as the target compensation data; if the initial RSRP calibration data R3e is greater than and less than or equal to That is, falling into and The target calibration data range is formed, then the target calibration data is... and Select target calibration data because This is the calibration data for the RX3 path in 4-antenna receiving mode at a -110dBm reference signal level. Therefore, data at the same -110dBm reference signal level will be used. Directly determine as the target compensation data; if the initial RSRP calibration data R3e is greater than and less than or equal to That is, falling into and The target calibration data range is formed, then the target calibration data is... and Select target calibration data because This is the calibration data for the RX3 path in 4-antenna receiving mode at a -100dBm reference signal level. Therefore, it includes data at the same -100dBm reference signal level. Directly determine as the target compensation data; if the initial RSRP calibration data R3e is greater than and less than or equal to That is, falling into and The target calibration data range is formed, then the target calibration data is... and Select target calibration data because This is the calibration data for the RX3 path in 4-antenna receiving mode at a -90dBm reference signal level. Therefore, data at the same -90dBm reference signal level will be used. Directly determine as the target compensation data; if the initial RSRP calibration data R3e is greater than and less than or equal to That is, falling into and The target calibration data range is formed, then the target calibration data is... and Select target calibration data because This is the calibration data for the RX3 path in 4-antenna receiving mode at a reference signal level of -80dBm. Therefore, data at the same -80dBm reference signal level will be used. Directly determine as the target compensation data; if the initial RSRP calibration data R3e is greater than That is, falling into If the target calibration data interval is formed by the positive infinity, then the target calibration data is... because This is the calibration data for the RX3 path in 4-antenna receiving mode at a reference signal level of -80dBm. Therefore, data at the same -80dBm reference signal level will be used. It is directly determined as the target compensation data.

[0119] By using the above embodiments, the accuracy of the determined error compensation data can be improved, and the accuracy of the error compensation results can be improved.

[0120] In some embodiments, the process of obtaining calibration data for each path at each reference signal level may include the following steps:

[0121] By using non-signaling integrated testing or receiving compensation parameters, RS RP test data for each channel under different reference signal levels are obtained. The test data is calibration data.

[0122] In this embodiment of the application, the terminal device can obtain RS RP test data, i.e. calibration data, for each channel under different reference signal levels by means of RX non-signaling comprehensive testing or by receiving compensation parameters input by the user, i.e., RX signaling comprehensive testing.

[0123] Using the above embodiments, the error compensation process can be simplified through non-signaling integrated testing, and the efficiency and accuracy of the error compensation process can be improved by receiving input compensation data, thus adapting to different error compensation environments.

[0124] Please see Figure 4 , Figure 4 This is a schematic diagram of the structure of an error compensation device disclosed in an embodiment of this application. This error compensation device can be applied to, for example... Figure 1 The terminal devices in the application scenarios shown. For example... Figure 4 As shown, the error compensation device 400 may include: an initial calibration module 410, a compensation determination module 420, and an error compensation module 430.

[0125] The initial calibration module 410 is used to adjust the estimated value of the reference signal received power RSRP by means of the receiver's automatic gain control (AGC) voltage, so as to obtain the initial calibration value of the RSRP of the terminal equipment.

[0126] The compensation determination module 420 is used to determine error compensation data from the target compensation data set corresponding to the current frequency band of the terminal device based on the initial calibration value of RSRP and the RX path adopted by the terminal device.

[0127] Error compensation module 430 is used to compensate the initial calibration value of RSRP based on error compensation data;

[0128] The target compensation dataset is one of several pre-obtained compensation datasets. These datasets are obtained based on pre-obtained RSRP calibration data. Different frequency band parameters correspond to different compensation datasets. Each compensation dataset includes error compensation data for each path under a frequency band. The RSRP calibration data consists of RSRP calibration data for each path under different operating modes in different test environments. Test environment parameters include frequency bands and reference signal levels. Each path under different operating modes includes a signal receiving RX path corresponding to each antenna in dual-antenna receiving mode and 4-antenna receiving mode.

[0129] In some embodiments, RSRP calibration data includes calibration datasets corresponding to different frequency bands, and each calibration dataset includes calibration data of each channel in different operating modes under different signal level parameters in any frequency band.

[0130] The compensation determination module 420 is also used for:

[0131] Determine the target compensation dataset and target calibration dataset corresponding to the current frequency band of the terminal device;

[0132] Based on the RX path used by the terminal device, determine the compensation data corresponding to the RX path used in the target compensation dataset, and determine the calibration data corresponding to the RX path used in the target calibration dataset.

[0133] Based on the initial RSRP calibration value, the compensation data corresponding to the RX path used in the target compensation dataset, and the calibration data corresponding to the RX path used in the target calibration dataset, the error compensation data for the current frequency band of the terminal device is determined.

[0134] In some embodiments, Figure 4 The error compensation device shown may further include:

[0135] The data acquisition module 440 is used to divide the signal level range covered by a single subcarrier signal into multiple reference signal levels according to a preset step size;

[0136] For each frequency band, under different operating modes with all channels enabled, calibration data for each channel at each reference signal level is obtained. The calibration data for each channel corresponding to a frequency band constitutes a calibration dataset.

[0137] In some embodiments, the data acquisition module 440 is further configured to:

[0138] The error compensation data for each channel under the same frequency band is obtained by subtracting the level value of the reference signal level of the corresponding channel from the calibration data of each channel under each reference signal level. The error compensation data of each channel under each frequency band forms a compensation dataset.

[0139] In some embodiments, the data acquisition module 440 is further configured to:

[0140] When multiple compensation datasets correspond to the same frequency band, the average of the multiple error compensation data corresponding to the same channel under the same frequency band is used as the error compensation data corresponding to the same channel under the same frequency band.

[0141] When multiple calibration datasets correspond to the same frequency band, the average of the multiple calibration data corresponding to the same channel under the same frequency band is taken as the calibration data corresponding to the same channel under the same frequency band.

[0142] In some embodiments, the compensation determination module 420 is further configured to:

[0143] The target calibration data range into which the initial calibration value falls is determined. The two adjacent calibration data that form the target calibration data range are determined as the target calibration data. The target calibration dataset contains multiple calibration data corresponding to the RX path used by the terminal device, and two adjacent calibration data form a calibration data range.

[0144] The target compensation data is determined from the compensation data corresponding to the RX path used in the target compensation data based on the target calibration data. The target compensation data and any target calibration data are at the same reference signal level.

[0145] The error compensation data for the terminal device in the current frequency band is calculated based on the target calibration data and the target compensation data.

[0146] In some embodiments, the data acquisition module 440 is further configured to:

[0147] The RSRP test data of each channel under different reference signal levels is obtained by non-signaling integrated testing or receiving compensation parameters. The test data is calibration data.

[0148] Please see Figure 5 , Figure 5 This is a schematic diagram of the structure of a terminal device disclosed in one embodiment. For example... Figure 5 As shown, the terminal device 500 may include:

[0149] Memory 510 storing executable program code.

[0150] Processor 520 coupled to memory 510.

[0151] The processor 520 calls the executable program code stored in the memory 510 to execute any of the error compensation methods disclosed in the embodiments of this application.

[0152] It should be noted that, Figure 5 The terminal device shown may also include components not shown, such as a power supply, input buttons, camera, speaker, screen, RF circuit, Wi-Fi module, and Bluetooth module, which will not be described in detail in this embodiment.

[0153] This application discloses a computer-readable storage medium storing a computer program that causes a computer to execute any of the screen projection methods disclosed in this application.

[0154] This application discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute any of the error compensation methods disclosed in this application.

[0155] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Those skilled in the art should also recognize that the embodiments described in the specification are optional embodiments, and the actions and modules involved are not necessarily essential to this application.

[0156] In the various embodiments of this application, it should be understood that the sequence number of each process does not necessarily imply the order of execution. 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 embodiments of this application.

[0157] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; they can be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0158] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0159] If the aforementioned integrated units are implemented as software functional units and sold or used as independent products, they can be stored in a computer-accessible memory. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several requests to cause a computer device (which can be a personal computer, server, or network device, specifically a processor in the computer device) to execute some or all of the steps of the methods described in the various embodiments of this application.

[0160] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data.

[0161] The error compensation method, apparatus, terminal device, and storable medium disclosed in the embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. An error compensation method, characterized in that, Applied to a terminal device, the method includes: The RSRP estimate of the terminal device is adjusted by adjusting the automatic gain control (AGC) voltage of the receiver to obtain the initial RSRP calibration value. Determine the target compensation dataset and target calibration dataset corresponding to the current frequency band and current operating mode of the terminal device; Based on the RX path used by the terminal device, determine the compensation data corresponding to the RX path used in the target compensation dataset, and determine the calibration data corresponding to the RX path used in the target calibration dataset. Based on the initial RSRP calibration value, the compensation data corresponding to the RX path used in the target compensation dataset, and the calibration data corresponding to the RX path used in the target calibration dataset, the error compensation data of the terminal device in the current frequency band and current working mode is determined. The initial calibration value of RSRP is compensated based on the error compensation data; The target compensation dataset is one of multiple pre-obtained compensation datasets, which are obtained based on pre-obtained RSRP calibration data. Different frequency bands correspond to different compensation datasets, and each compensation dataset includes error compensation data for each path under a frequency band. The RSRP calibration data consists of RSRP calibration data for each path under different operating modes in different test environments. The test environment parameters include frequency bands and reference signal levels. Each path under different operating modes includes a signal receiving RX path corresponding to each antenna in dual-antenna receiving mode and 4-antenna receiving mode. The RSRP calibration data includes calibration datasets corresponding to different frequency bands, and each calibration dataset includes calibration data for each path under different operating modes in the corresponding frequency band under different signal level parameters.

2. The method according to claim 1, characterized in that, The target calibration datasets corresponding to the different frequency bands are obtained in advance using the following method: Based on a preset step size, the signal level range covered by a single subcarrier signal is divided into multiple reference signal levels; For each frequency band, with all channels enabled in different operating modes, calibration data for each channel at each reference signal level is obtained. The calibration data for each channel corresponding to a frequency band constitutes a calibration dataset.

3. The method according to claim 2, characterized in that, The multiple compensation datasets obtained based on pre-acquired RSRP calibration data are obtained in advance through the following method: The calibration data of each channel under each reference signal level in the same frequency band is subtracted from the level value of the reference signal level corresponding to the same channel to obtain the error compensation data corresponding to each channel in the same frequency band. The error compensation data corresponding to each channel in each frequency band forms a compensation dataset.

4. The method according to claim 3, characterized in that, When multiple compensation datasets correspond to the same frequency band, the average of the multiple error compensation data corresponding to the same channel under the same frequency band is taken as the error compensation data corresponding to the same channel under the same frequency band. When multiple calibration datasets correspond to the same frequency band, the average of the multiple calibration data corresponding to the same channel under the same frequency band is taken as the calibration data corresponding to the same channel under the same frequency band.

5. The method according to claim 3, characterized in that, The step of determining the error compensation data for the current frequency band of the terminal device based on the initial RSRP calibration value, the compensation data corresponding to the RX path used in the target compensation dataset, and the calibration data corresponding to the RX path used in the target calibration dataset includes: The initial calibration value is determined to fall into the target calibration data range. Two adjacent calibration data that form the target calibration data range are determined as target calibration data. The target calibration dataset contains multiple calibration data corresponding to the RX path used by the terminal device, and two adjacent calibration data form a calibration data range. Target compensation data is determined from the compensation data corresponding to the RX path used in the target compensation dataset based on the target calibration data, wherein the target compensation data and any of the target calibration data are at the same reference signal level; The error compensation data for the current frequency band of the terminal device is calculated based on the target calibration data and the target compensation data.

6. The method according to any one of claims 2 to 5, characterized in that, The process of obtaining calibration data for each channel at each of the reference signal levels includes: The RSRP test data of each channel under different reference signal levels is obtained by non-signaling comprehensive testing or receiving compensation parameters, and the test data is the calibration data.

7. An error compensation device, characterized in that, Applied to terminal devices, including: The initial calibration module is used to adjust the estimated RSRP value of the reference signal received power by means of the receiver's automatic gain control (AGC) voltage, so as to obtain the initial calibration value of RSRP of the terminal device. The compensation determination module is used to determine error compensation data from the target compensation dataset corresponding to the current frequency band of the terminal device based on the initial calibration value of RSRP and the RX path adopted by the terminal device. An error compensation module is used to compensate the initial calibration value of RSRP based on the error compensation data; The target compensation dataset is one of a plurality of pre-obtained compensation datasets, which are obtained based on pre-obtained RSRP calibration data. Different frequency bands correspond to different compensation datasets, and each compensation dataset includes error compensation data for each path under a frequency band. The RSRP calibration data are RSRP calibration data for each path under different operating modes in different test environments. The test environment parameters include frequency bands and reference signal levels. Each path under different operating modes includes a signal receiving RX path corresponding to each antenna in dual-antenna receiving mode and 4-antenna receiving mode. The RSRP calibration data includes calibration datasets corresponding to different frequency bands, and each calibration dataset includes calibration data for each channel under different signal level parameters in different operating modes of the corresponding frequency band; the compensation determination module is further used for: Determine the target compensation dataset and target calibration dataset corresponding to the current frequency band and current operating mode of the terminal device; Based on the RX path used by the terminal device, determine the compensation data corresponding to the RX path used in the target compensation dataset, and determine the calibration data corresponding to the RX path used in the target calibration dataset. Based on the initial RSRP calibration value, the compensation data corresponding to the RX path used in the target compensation dataset, and the calibration data corresponding to the RX path used in the target calibration dataset, the error compensation data of the terminal device in the current frequency band and current operating mode is determined.

8. A terminal device, characterized in that, The terminal device includes a memory and a processor. The memory stores a computer program, which, when executed by the processor, causes the processor to implement the method as described in any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • RSRP compensation method and device and user equipment

    CN114520698A

  • Multi-channel receiver error dynamic correction method and system, terminal and medium

    CN115001602A