Receiver direct current offset calibration method and device, storage medium and program product

The DC component in the receiver signal is detected by the analog-to-digital converter, combined with the adaptive algorithm and the internal counter, the rapid calibration of the receiver DC offset is achieved, solving the problems of high complexity and cost in the prior art, and improving the receiver performance and signal quality.

CN119995747AActive Publication Date: 2025-05-13GUANGZHOU RUNXIN INFORMATION TECH CO LTD

Patent Information

Application Number
CN202510078676.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-05-13
Estimated Expiration
2045-01-17

AI Technical Summary

Technical Problem

In the prior art, DC offset calibration of receivers requires long-term calculations, a large number of auxiliary circuits perform quantization, feedback and compensation operations, and the system complexity and cost are high.

Method used

The DC component in the receiver signal is detected by an analog-to-digital converter, the calibration mode is judged according to the user-defined calibration method, the compensation coefficient is calculated using an adaptive algorithm, the compensation coefficient is iteratively updated using an adaptive algorithm, and the final compensation coefficient is determined in combination with an internal counter, and the calibration signal is output.

Benefits of technology

Reduces the complexity of the system DC calibration, reduces calibration time, and improves the performance and signal reception quality of the receiver.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119995747A_ABST
    Figure CN119995747A_ABST
Patent Text Reader

Abstract

The invention discloses a receiver direct current offset calibration method and device, a storage medium and a program product, and relates to the technical field of radio frequency communication, and the method comprises the steps: detecting a direct current component in a signal received by a receiver through an analog-to-digital converter; judging a calibration mode according to a user-defined calibration method; if the calibration mode is offline calibration, a foreground calibration mode is adopted to calculate a current compensation coefficient through an adaptive algorithm, and if the calibration mode is online calibration, a background calibration mode is adopted; obtaining a compensation signal after compensation of direct current offset through the direct current offset signal and the current compensation coefficient; the compensation coefficient of the next clock period is updated through the adaptive algorithm iteration coefficient and the compensation signal; and iterating the compensation coefficient according to an internal counter of the adaptive algorithm, determining a final compensation coefficient, and outputting a calibration signal after calibration direct current imbalance. According to the invention, the system complexity is effectively reduced through the compensation module and the adaptive algorithm so as to calibrate the direct-current offset of the receiver, and the calibration time is shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of radio frequency communication technology, and in particular to a receiver direct current offset calibration method, device, storage medium and program product. Background Art

[0002] Radio frequency communication is a widely used communication method in modern society, including wireless networks, satellite communications, radio broadcasting, etc. Radio frequency transceiver chips are the core components of radio frequency communication equipment, and their performance directly affects the communication quality and data transmission rate.

[0003] In RF communications, the DC offset calibration of the receiver directly affects the performance of the receiver and the quality of signal reception. DC offset is usually caused by the analog front-end circuit of the receiver. This offset can cause amplitude and phase distortion of the received signal, thereby reducing the quality of signal reception.

[0004] In the prior art, the DC offset calibration of the receiver requires long-term calculations, and a large number of auxiliary circuits perform quantization, feedback, compensation and other operations, resulting in high system complexity and cost.

[0005] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0006] The main purpose of the present application is to provide a receiver DC offset calibration method, aiming to solve the technical problems that the DC offset calibration of the receiver requires long-term calculation, a large number of auxiliary circuits perform quantization, feedback, compensation and other operations, and the system is complex and costly.

[0007] To achieve the above object, the present application proposes a receiver DC offset calibration method, the method comprising:

[0008] detecting a DC component in a signal received by a receiver through an analog-to-digital converter;

[0009] Determine the calibration mode according to the user-defined calibration method;

[0010] If the calibration mode is offline calibration, a foreground calibration method is used to calculate the current compensation coefficient through an adaptive algorithm; if the calibration mode is online calibration, a background calibration method is used;

[0011] Obtaining a DC offset signal according to the DC component, and obtaining a compensation signal after compensating the DC offset through the DC offset signal and a current compensation coefficient;

[0012] Updating the compensation coefficient of the next clock cycle by using the adaptive algorithm iteration coefficient and the compensation signal;

[0013] The compensation coefficient is iterated according to the internal counter of the adaptive algorithm, the final compensation coefficient is determined, and a calibration signal after calibrating the DC offset is output.

[0014] In one embodiment, the step of detecting a DC component in a signal received by a receiver by using an analog-to-digital converter comprises:

[0015] Sampling an analog signal received by a receiver through an analog-to-digital converter, and converting the sampled signal into a digital signal;

[0016] Processing the DC component in the received digital signal by an adaptive algorithm to calculate the fixed offset of the digital signal;

[0017] If the fixed offset of the digital signal is not zero, it indicates that a DC offset exists in the digital signal.

[0018] In one embodiment, the step of determining the calibration mode according to the user-defined calibration method includes:

[0019] The calibration mode is determined by judging the calibration timing of the DC component, the calibration control mode, the system operation mode and / or the duration of the calibration process according to the user-defined calibration method. The calibration mode includes offline calibration and online calibration.

[0020] In one embodiment, the step of obtaining a DC offset signal according to the DC component and obtaining a compensation signal after compensating the DC offset by using the DC offset signal and a current compensation coefficient comprises:

[0021] Inputting the DC offset signal into a compensation module;

[0022] Compensating the DC offset signal using the current compensation coefficient;

[0023] Adding the DC offset signal and the current compensation coefficient to obtain a compensation signal after DC offset compensation;

[0024] A compensation signal is output from the compensation module.

[0025] In one embodiment, the step of updating the compensation coefficient of the next clock cycle by iterating the coefficient through the adaptive algorithm and the compensation signal comprises:

[0026] Calculating the product of the adaptive algorithm iteration coefficient and the compensation signal;

[0027] Obtaining a difference between the current compensation coefficient and the product;

[0028] The difference is updated as a compensation coefficient for the next clock cycle in the compensation module.

[0029] In one embodiment, the step of iterating the compensation coefficient according to the internal counter of the adaptive algorithm, determining the final compensation coefficient, and outputting the calibration signal after calibrating the DC offset includes:

[0030] Predefine calibration time for offline calibration;

[0031] An internal counter is set before the compensation coefficients start to iterate;

[0032] Wait for the internal counter to reach the predefined calibration time.

[0033] In one embodiment, the step of iterating the compensation coefficient according to the internal counter of the adaptive algorithm, determining the final compensation coefficient, and outputting the calibration signal after calibrating the DC offset further includes:

[0034] Monitoring whether the iteration time reaches a predefined calibration time by means of the internal counter;

[0035] If the predefined calibration time is reached, the iteration compensation coefficient is stopped;

[0036] The current compensation coefficient when the fixed iteration stops is the final compensation coefficient;

[0037] The DC offset signal is compensated using the final compensation coefficient, and a calibration signal after the DC offset is calibrated is output.

[0038] In addition, to achieve the above-mentioned purpose, the present application also proposes a receiver DC offset calibration device, the receiver DC offset calibration device comprising:

[0039] A detection module, used for detecting a DC component in a signal received by a receiver through an analog-to-digital converter;

[0040] A judgment module, used for judging a calibration mode according to a user-defined calibration method;

[0041] An adaptive algorithm module, used for calculating the current compensation coefficient through an adaptive algorithm;

[0042] A compensation module, used for obtaining a compensation signal after compensating for the DC offset according to the DC offset signal and the current compensation coefficient;

[0043] An iterative updating module, used for updating the compensation coefficient of the next clock cycle through the adaptive algorithm iteration coefficient and the compensation signal;

[0044] The counter module is used to iterate the compensation coefficient according to the internal counter of the adaptive algorithm to determine the final compensation coefficient.

[0045] In addition, to achieve the above-mentioned purpose, the present application also proposes a receiver DC offset calibration device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the receiver DC offset calibration method as described above.

[0046] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the receiver DC offset calibration method described above are implemented.

[0047] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the receiver DC offset calibration method as described above are implemented.

[0048] One or more technical solutions proposed in this application have at least the following technical effects:

[0049] The present application detects the DC component in the signal received by the receiver through an analog-to-digital converter; determines the calibration mode according to a user-defined calibration method; if the calibration mode is offline calibration, a foreground calibration method is used to calculate the current compensation coefficient through an adaptive algorithm; if the calibration mode is online calibration, a background calibration method is used; a DC offset signal is obtained according to the DC component, and a compensation signal after compensating the DC offset is obtained through the DC offset signal and the current compensation coefficient; the compensation coefficient of the next clock cycle is updated through the adaptive algorithm iteration coefficient and the compensation signal; the compensation coefficient is iterated according to the internal counter of the adaptive algorithm, the final compensation coefficient is determined, and the calibration signal after calibrating the DC offset is output; the complexity of the system DC calibration is reduced through the compensation module and the adaptive algorithm, thereby reducing the calibration time and improving the performance of the receiver and the signal reception quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The accompanying drawings herein are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the description, are used to explain the principles of the present application.

[0051] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0052] Figure 1 A flowchart of a first embodiment of a receiver DC offset calibration method according to the present application is provided;

[0053] Figure 2 A flowchart diagram of Embodiment 2 of the receiver DC offset calibration method provided in the present application;

[0054] Figure 3 A flowchart diagram of Embodiment 3 of the receiver DC offset calibration method provided in the present application;

[0055] Figure 4 A flowchart diagram of a fourth embodiment of a receiver DC offset calibration method of the present application is provided;

[0056] Figure 5 A flowchart diagram of Embodiment 5 of the receiver DC offset calibration method of the present application is provided;

[0057] Figure 6 A flowchart diagram of Embodiment 6 of the receiver DC offset calibration method of the present application is provided;

[0058] Figure 7 This is a schematic diagram of the module structure of the receiver DC offset device according to an embodiment of the present application;

[0059] Figure 8 Schematic diagram of the device structure of the hardware operating environment involved in the receiver DC offset method in the embodiment of the present application.

[0060] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0061] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0062] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0063] Since the DC offset calibration of the receiver in the prior art requires long-term calculation and a large number of auxiliary circuits to perform quantization, feedback, compensation and other operations, the system complexity and cost are relatively high.

[0064] The present application provides a solution, which detects the DC component in the signal received by the receiver through an analog-to-digital converter; determines the calibration mode according to a user-defined calibration method; if the calibration mode is offline calibration, a foreground calibration method is used to calculate the current compensation coefficient through an adaptive algorithm, and if the calibration mode is online calibration, a background calibration method is used; a compensation signal after compensating for the DC offset is obtained through a DC offset signal and a current compensation coefficient; updates the compensation coefficient of the next clock cycle through an adaptive algorithm iteration coefficient and compensation signal; iterates the compensation coefficient according to an internal counter of the adaptive algorithm, determines the final compensation coefficient, and outputs a calibration signal after calibrating the DC offset; reduces the complexity of the system DC calibration through a compensation module and an adaptive algorithm, thereby reducing the calibration time and improving the performance of the receiver and the signal reception quality.

[0065] Based on this, the embodiment of the present application provides a receiver DC offset calibration method, referring to Figure 1 , Figure 1 This is a flowchart of a first embodiment of a receiver DC offset calibration method of the present application.

[0066] In this embodiment, the receiver DC offset calibration method includes steps S10 to S60:

[0067] Step S10, detecting a DC component in a signal received by a receiver through an analog-to-digital converter;

[0068] It should be noted that the original signal is obtained as a digital signal through a receiving analog front end (RXAFE) and an analog-to-digital converter, the digital information is preprocessed, and the DC component of the preprocessed digital signal is detected through an adaptive algorithm.

[0069] Step S20: determining the calibration mode according to the user-defined calibration method;

[0070] It should be noted that it is possible to determine whether the DC offset signal is calibrated online or offline based on the characteristics of the DC offset signal, such as amplitude, frequency, etc., as well as the current state of the receiver and a preset calibration strategy;

[0071] Specifically, the calibration mode can be determined based on the timing of calibration. If the calibration of the DC offset signal is performed during normal operation of the receiver, that is, the calibration is performed while the signal is received and processed, then it is usually an online calibration. On the contrary, if the calibration is performed when the receiver is not in normal operation or is in maintenance mode, then it is likely to be an offline calibration; in addition, online calibration is usually performed automatically without manual intervention, while offline calibration may require manual intervention or a preset calibration procedure to start and stop.

[0072] Step S30: if the calibration mode is offline calibration, a foreground calibration method is used to calculate the current compensation coefficient through an adaptive algorithm; if the calibration mode is online calibration, a background calibration method is used;

[0073] It should be noted that the adaptive algorithm may be a least mean square algorithm or a normalized least mean square algorithm, etc., which can automatically calculate the current compensation coefficient according to the characteristics of the DC offset signal.

[0074] Step S40: obtaining a DC offset signal according to the DC component, and obtaining a compensation signal after compensating the DC offset through the DC offset signal and a current compensation coefficient;

[0075] Specifically, the compensation module uses the calculated compensation coefficient to adjust the DC offset signal through the digital signal processing unit to obtain a compensation signal after compensating the DC offset.

[0076] Step S50: updating the compensation coefficient of the next clock cycle through the adaptive algorithm iteration coefficient and the compensation signal;

[0077] It should be noted that the iteration coefficient of the adaptive algorithm is usually a small value. The smaller the value is, the higher the accuracy of the offline mode is, but the corresponding calibration time is longer.

[0078] Step S60: iterating the compensation coefficient according to the internal counter of the adaptive algorithm, determining the final compensation coefficient, and outputting a calibration signal after calibrating the DC offset.

[0079] It should be noted that the internal counter monitors the iteration process of the adaptive algorithm and determines the final compensation coefficient after reaching the preset iteration time. The output module then transmits the calibration signal after calibrating the DC offset to the subsequent processing stage or output interface of the receiver.

[0080] This embodiment detects the DC component in the signal received by the receiver through an analog-to-digital converter; determines the calibration mode according to a user-defined calibration method, which can effectively simplify the calibration process; if the calibration mode is offline calibration, a foreground calibration method is used to calculate the current compensation coefficient through an adaptive algorithm; if the calibration mode is online calibration, a background calibration method is used; a compensation signal after compensating for the DC offset is obtained through a DC offset signal and a current compensation coefficient, thereby optimizing the signal quality; updates the compensation coefficient for the next clock cycle through an adaptive algorithm iteration coefficient and a compensation signal; iterates the compensation coefficient according to an internal counter of the adaptive algorithm, determines a final compensation coefficient, and outputs a calibration signal after calibrating the DC offset, and the iterative update process ensures that the compensation coefficient can quickly adapt to changes in the signal in real time, thereby improving system efficiency.

[0081] Further, refer to Figure 2The second embodiment of the receiver DC offset calibration method of the present application provides a flow chart based on the above Figure 2 In the illustrated embodiment, the step of "detecting the DC component in the signal received by the receiver through the analog-to-digital converter" in step S10 is further refined to include steps A201 to A203:

[0082] Step A201: sampling the received analog signal through an analog-to-digital converter, and converting the sampled signal into a digital signal;

[0083] It should be noted that the analog signal is obtained by passing the original signal received by the receiver through the analog front end (RXAFE) and the analog-to-digital converter to obtain a digital signal, and the digital information is preprocessed.

[0084] Step A202: Processing the received digital signal by an adaptive algorithm to calculate a fixed offset of the digital signal;

[0085] It should be noted that the fixed offset refers to the DC component that does not change with time, reflecting the magnitude of the DC offset.

[0086] Step A203: If the fixed offset is not zero, it indicates that a DC offset exists in the digital signal.

[0087] It should be noted that the system analyzes the digital signal through an adaptive algorithm and compares the calculated fixed offset with a zero value. If the fixed offset is not zero, a DC offset exists in the digital signal.

[0088] Specifically, if the receiver receives an analog signal with a value of 0.8V, after being processed by the analog front end and the analog-to-digital converter, the analog signal is converted into a digital signal, assuming that its value is 800 (assuming that the resolution of the ADC is 1mV / LSB); the adaptive algorithm is used to process the digital signal and calculate its fixed offset. For example, the algorithm analyzes the digital signal and calculates that its fixed offset is 100 (i.e., 0.1V); at this point, it is known that the fixed offset is 100, not zero, and it can be determined that the digital signal has a DC offset.

[0089] This embodiment acquires a digital signal through a receiver analog-to-digital converter and calculates a fixed offset of the digital signal through an adaptive algorithm, thereby being able to effectively detect a DC component in a signal received by the receiver analog-to-digital converter.

[0090] Further, if the calibration mode is offline calibration, a foreground calibration method is used to calculate the current compensation coefficient through an adaptive algorithm; if the calibration mode is online calibration, a background calibration method is used;

[0091] It should be noted that the adaptive algorithm can be a least mean square algorithm or a normalized least mean square algorithm, etc., which can automatically calculate the current compensation coefficient according to the characteristics of the DC offset signal; the main difference between the offline calibration and the online calibration is that the offline calibration does not interfere with the normal operation of the receiver, while the online calibration can be performed when the receiver is working normally.

[0092] Further, refer to Figure 3 The third embodiment of the receiver DC offset calibration method of the present application provides a flow chart based on the above Figure 3 In the illustrated embodiment, the step of "obtaining a DC offset signal according to the DC component, and obtaining a compensation signal after compensating the DC offset by using the DC offset signal and the current compensation coefficient" in step S40 is further refined, including steps A301 to A304:

[0093] Step A301: obtaining a DC offset signal from the DC component, and inputting the DC offset signal into a compensation module;

[0094] Step A302: using the current compensation coefficient to compensate the DC offset signal;

[0095] It should be noted that the current compensation coefficient is used to offset the fixed offset in the DC offset signal.

[0096] Step A303: adding the DC offset signal and the current compensation coefficient to obtain a compensation signal after DC offset compensation;

[0097] It should be noted that adding the DC offset signal to the compensation coefficient is essentially to adjust the DC component of the DC offset signal back to an ideal value, thereby reducing or eliminating the DC offset.

[0098] Step A304: Output a compensation signal.

[0099] Specifically, if the detected DC offset signal value is 1.2V, assuming that the current compensation coefficient is 0.85V; we add the DC offset signal 1.2V and the compensation coefficient 0.85V, and the compensated DC offset signal is 1.2V+0.85V=2.05V; the compensation signal 2.05V is output for subsequent signal processing or transmission.

[0100] This embodiment compensates the DC offset signal by the current compensation coefficient to obtain a compensation signal, which can reduce the DC component in the signal, is beneficial to reducing signal offset and improving system stability.

[0101] Further, refer to Figure 4 The fourth embodiment of the receiver DC offset calibration method of the present application provides a flow chart based on the above Figure 4In the illustrated embodiment, the step of "updating the compensation coefficient of the next clock cycle by using the adaptive algorithm iteration coefficient and the compensation signal" in step S50 is further refined, including steps A401 to A403:

[0102] Step A401: Calculate the product of the adaptive algorithm iteration coefficient and the compensation signal;

[0103] It should be noted that the iteration coefficient of the adaptive algorithm is usually a small value. In the offline mode, the accuracy of the offline mode is proportional to the size of the iteration coefficient of the adaptive algorithm.

[0104] Step A402: Obtaining a difference between the current compensation coefficient and the product;

[0105] It should be noted that the difference reflects the size and direction of the current compensation coefficient that needs to be adjusted.

[0106] Step A403: Update the difference value to the compensation coefficient of the next clock cycle in the compensation module.

[0107] It should be noted that during the adaptive algorithm calibration process, the system determines the compensation coefficient for the next clock cycle based on the current compensation coefficient and the calculated difference. The system continuously adjusts the compensation coefficient to optimize the calibration of the DC offset signal.

[0108] Specifically, if the current compensation coefficient is A, the iteration coefficient of the adaptive algorithm is α, and the compensated DC offset signal is D, according to the adaptive algorithm, the system calculates the difference f: f = α*D; then this difference f is updated to the current compensation coefficient A to obtain the compensation coefficient A' for the next clock map cycle: A' = Af. At this time, in each clock cycle, the compensation coefficient will be updated according to the changes in the DC video signal to achieve dynamic calibration of the DC offset.

[0109] In this embodiment, the product of the iterative coefficient and the compensation signal is multiplied by using an adaptive algorithm, and the difference between the product and the current compensation coefficient is updated to the compensation coefficient of the next clock cycle, so as to realize real-time updating of the compensation coefficient and achieve dynamic optimization of the DC offset signal calibration, which helps to improve the performance of the receiver and the signal reception quality.

[0110] Further, refer to Figure 5 The fifth embodiment of the receiver DC offset calibration method of the present application provides a flow chart based on the above Figure 5 The embodiment shown further refines the step S60 of "iterating the compensation coefficient according to the internal counter of the adaptive algorithm, determining the final compensation coefficient, and outputting the calibration signal after calibrating the DC offset", including steps A501 to A503:

[0111] Step A501: predefine the calibration time of the offline calibration;

[0112] It should be noted that the calibration time of the predefined off-line calibration is essentially the time length of the adaptive iterative compensation coefficient sequence; the adaptive algorithm iteration coefficient determines the step size of each iteration.

[0113] Step A502: setting an internal counter before the compensation coefficient starts to iterate;

[0114] It should be noted that before the system starts iterating, an internal counter is set in the compensation module, and the internal counter is used to track the time taken for the iterative process to ensure that the iterative process is completed within a predetermined time.

[0115] Step A503: Wait for the internal counter to reach a predefined calibration time.

[0116] It should be noted that during this pre-defined calibration time, the adaptive algorithm will continuously adjust the compensation coefficient according to the DC offset signal and the iteration coefficient to achieve the optimal calibration effect; when the internal counter reaches the pre-defined calibration time, the system will stop the iteration process and use the compensation coefficient obtained from the last iteration as the final compensation coefficient.

[0117] Specifically, in addition to continuously adjusting the compensation coefficient within a predefined calibration time through an internal counter, the adaptive algorithm can also predefine the number of iterations, and use the internal counter to determine whether the compensation coefficient has reached the predefined number of iterations. When the number of iterations reaches the predefined number of iterations, the iteration is stopped to determine the final compensation coefficient.

[0118] In one embodiment, if the iteration coefficient of the adaptive algorithm is 0.1 and the predefined calibration time is 5 minutes, the system starts the iteration process and sets the internal counter to 0; during the iteration process, if the original value of the DC offset signal is 1.5, then after the first iteration, the compensation coefficient may be updated to 0.5, and the compensated signal is 2; the compensation coefficient after the second iteration is 0.5-0.1*2=0.3, and the compensated signal is 2+0.3=2.3. After 5 minutes, the internal counter reaches the preset value and the system stops the iteration process; if the compensation coefficient of the last iteration is 0.07, the system fixes this value as the final compensation coefficient, uses the final compensation coefficient 0.07 to compensate for the DC offset signal, and outputs a calibrated signal after calibrating the DC offset.

[0119] This embodiment predefines the calibration time of the offline calibration, and updates the compensation coefficient according to the internal counter until the internal counter reaches the predefined calibration time; a more accurate compensation coefficient is obtained through multiple update iterations, and at the same time, the iteration time can be freely controlled to a certain extent, avoiding the compensation coefficient being in a long update iteration process, and completing the calibration within the predetermined time, thereby improving the performance of the receiver and the signal reception quality.

[0120] Further, refer to Figure 6 The sixth embodiment of the receiver DC offset calibration method of the present application provides a flow chart based on the above Figure 6 In the embodiment shown, the step of "iterating the compensation coefficient according to the internal counter of the adaptive algorithm, determining the final compensation coefficient, and outputting the calibrated DC offset signal" in step S60 is further refined, including steps A601 to A604:

[0121] Step A601: Continuously monitor whether the iteration time reaches a predefined calibration time through the internal counter;

[0122] It should be noted that, during the iteration process, the value of the internal counter is continuously monitored to determine whether the iteration time has reached the predefined iteration time.

[0123] Step A602: If the predefined calibration time is reached, then the iteration compensation coefficient is stopped;

[0124] It should be noted that the iteration is stopped in time to prevent the internal counter from exceeding the pre-defined calibration time.

[0125] Step A603: fix the current compensation coefficient when the iteration stops as the final compensation coefficient;

[0126] It should be noted that, when the iteration process stops, the compensation coefficient of the last iteration is fixed as the final compensation coefficient, and the final compensation coefficient is the optimal or nearly optimal compensation value within a preset time.

[0127] Step A604: Use the final compensation coefficient to compensate for the DC offset signal, and output a calibration signal after calibrating the DC offset.

[0128] It should be noted that the calibration signal is obtained by adjusting the DC component of the DC offset signal according to the final compensation coefficient, and then outputting the calibrated signal.

[0129] Specifically, when the calibration time is pre-defined as five minutes, the system begins the iteration process and starts the internal counter; after five minutes, the internal counter reaches the preset value and the system stops the iteration process; if the compensation coefficient of the last iteration is 0.25, this value is fixed as the final compensation coefficient; if the value of the DC offset signal is 1.2 at this time, then the compensated DC offset signal is 1.2+0.25=1.45, and this calibrated signal is then output.

[0130] This embodiment updates and iterates the internal timer within a predetermined time to determine the final compensation coefficient, calibrate the DC offset signal, and outputs the calibrated signal for subsequent signal processing or transmission, thereby reducing the signal calibration complexity and reducing the calibration time.

[0131] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the receiver DC offset calibration method of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.

[0132] In addition, the present application also provides a receiver DC offset calibration device, please refer to Figure 7 , the receiver DC offset calibration device comprises:

[0133] The detection module 10 is used to detect the DC component in the signal received by the receiver through the analog-to-digital converter;

[0134] A determination module 20, used to determine a calibration mode according to a user-defined calibration method;

[0135] An adaptive algorithm module 30, used to calculate a current compensation coefficient by an adaptive algorithm;

[0136] The compensation module 40 is used to obtain a compensation signal after compensating the DC offset according to the DC offset signal and the current compensation coefficient;

[0137] An iterative updating module 50, used to update the compensation coefficient of the next clock cycle through the adaptive algorithm iteration coefficient and the compensation signal;

[0138] The counter module 60 is used to iterate the compensation coefficient according to the internal counter of the adaptive algorithm to determine the final compensation coefficient.

[0139] The receiver DC offset calibration device provided by the present application adopts the receiver DC offset calibration method in the above embodiment, which can solve the technical problems that the DC offset calibration of the receiver requires a long time of calculation, a large number of auxiliary circuits perform quantization, feedback, compensation and other operations, and the system complexity and cost are high. Compared with the prior art, the beneficial effects of the receiver DC offset calibration device provided by the present application are the same as the beneficial effects of the receiver DC offset calibration method provided by the above embodiment, and other technical features in the receiver DC offset calibration device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0140] In addition, the present application provides a receiver DC offset calibration device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the receiver DC offset calibration method in the above-mentioned embodiment one.

[0141] Reference below Figure 8 , which shows a schematic diagram of the structure of a receiver DC offset calibration device suitable for implementing the embodiment of the present application. The receiver DC offset calibration device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The receiver DC offset calibration device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0142] like Figure 8As shown, the receiver DC offset calibration device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. Various programs and data required for the operation of the receiver DC offset calibration device are also stored in the RAM 1004. The processing device 1001, the ROM 1002, and the RAM 1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems may be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication device 1009 may allow the receiver DC offset calibration device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a receiver DC offset calibration device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have instead.

[0143] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0144] The receiver DC offset calibration device provided by the present application adopts the receiver DC offset calibration method in the above embodiment, which can solve the technical problems that the DC offset calibration of the receiver requires long-term calculation, a large number of auxiliary circuits perform quantization, feedback, compensation and other operations, and the system complexity and cost are high. Compared with the prior art, the beneficial effects of the receiver DC offset calibration device provided by the present application are the same as the beneficial effects of the receiver DC offset calibration method provided by the above embodiment, and other technical features in the receiver DC offset calibration device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0145] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0146] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0147] In addition, the present application also provides a computer-readable storage medium having computer-readable program instructions (ie, computer program) stored thereon, and the computer-readable program instructions are used to execute the receiver DC offset calibration method in the above embodiment.

[0148] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0149] The computer-readable storage medium may be included in the receiver DC offset calibration device; or may exist independently without being assembled into the receiver DC offset calibration device.

[0150] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the receiver DC offset calibration device, the receiver DC offset calibration device: detects a DC offset signal sent by a receiver analog-to-digital converter; determines a calibration mode according to a processing method of the DC offset signal; if the calibration mode is an offline calibration, calculates a current compensation coefficient through an adaptive algorithm; obtains a compensated DC offset signal according to the DC offset signal and the current compensation coefficient; updates the compensation coefficient of the next clock cycle through the adaptive algorithm iteration coefficient and the compensated DC offset signal; iterates the compensation coefficient according to an internal counter of the adaptive algorithm, determines a final compensation coefficient, and outputs a calibrated DC offset signal.

[0151] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0152] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0153] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0154] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned receiver DC offset calibration method, and can solve the technical problems that the DC offset calibration of the receiver requires a long time of calculation, a large number of auxiliary circuits perform quantization, feedback, compensation and other operations, and the complexity and cost of the system are high. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the receiver DC offset calibration method provided by the above-mentioned embodiment, and are not repeated here.

[0155] In addition, the present application also provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of the receiver DC offset calibration method as described above are implemented.

[0156] The computer program product provided by the present application can solve the technical problems that the DC offset calibration of the receiver requires long-term calculation, a large number of auxiliary circuits perform quantization, feedback, compensation and other operations, and the system complexity and cost are high. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the receiver DC offset calibration method provided by the above embodiment, and will not be repeated here.

[0157] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A receiver DC offset calibration method, characterized in that: The method comprises: detecting a DC component in a signal received by a receiver through an analog-to-digital converter; Determine the calibration mode according to the user-defined calibration method; If the calibration mode is offline calibration, a foreground calibration method is used to calculate the current compensation coefficient through an adaptive algorithm; if the calibration mode is online calibration, a background calibration method is used; Obtaining a DC offset signal according to the DC component, and obtaining a compensation signal after compensating the DC offset through the DC offset signal and a current compensation coefficient; Updating the compensation coefficient of the next clock cycle by using the adaptive algorithm iteration coefficient and the compensation signal; The compensation coefficient is iterated according to the internal counter of the adaptive algorithm, the final compensation coefficient is determined, and a calibration signal after calibrating the DC offset is output.

2. The method according to claim 1, characterized in that The step of detecting a DC component in a signal received by a receiver by means of an analog-to-digital converter comprises: Sampling an analog signal received by a receiver through an analog-to-digital converter, and converting the sampled signal into a digital signal; Processing the DC component in the received digital signal by an adaptive algorithm to calculate the fixed offset of the digital signal; If the fixed offset of the digital signal is not zero, it indicates that a DC offset exists in the digital signal.

3. The method according to claim 2, characterized in that The step of determining the calibration mode according to the user-defined calibration method comprises: The calibration mode is determined by judging the calibration timing of the DC component, the calibration control mode, the system operation mode and / or the duration of the calibration process according to the user-defined calibration method. The calibration mode includes offline calibration and online calibration.

4. The method according to claim 3, characterized in that The step of obtaining a DC offset signal according to the DC component and obtaining a compensation signal after compensating the DC offset through the DC offset signal and a current compensation coefficient comprises: Inputting the DC offset signal into a compensation module; Receiving the current compensation coefficient through the compensation module to compensate the DC offset signal; Adding the DC offset signal and the current compensation coefficient to obtain a compensation signal after DC offset compensation; A compensation signal is output from the compensation module.

5. The method according to claim 4, characterized in that The step of updating the compensation coefficient of the next clock cycle by using the adaptive algorithm iteration coefficient and the compensation signal comprises: Calculating the product of the adaptive algorithm iteration coefficient and the compensation signal; Obtaining a difference between the current compensation coefficient and the product; The difference is updated as a compensation coefficient for the next clock cycle in the compensation module.

6. The method according to claim 5, characterized in that The steps of iterating the compensation coefficient according to the internal counter of the adaptive algorithm, determining the final compensation coefficient, and outputting the calibration signal after calibrating the DC offset include: Predefine calibration time for offline calibration; An internal counter is set before the compensation coefficients start to iterate; Wait for the internal counter to reach the predefined calibration time.

7. The method according to claim 6, characterized in that The step of iterating the compensation coefficient according to the internal counter of the adaptive algorithm, determining the final compensation coefficient, and outputting the calibration signal after calibrating the DC offset also includes: Monitoring whether the iteration time reaches a predefined calibration time by means of the internal counter; If the predefined calibration time is reached, the iteration compensation coefficient is stopped; The current compensation coefficient when the fixed iteration stops is the final compensation coefficient; The DC offset signal is compensated using the final compensation coefficient, and a calibration signal after the DC offset is calibrated is output.

8. A receiver DC offset calibration device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the receiver DC offset calibration method according to any one of claims 1 to 7.

9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the receiver DC offset calibration method according to any one of claims 1 to 7 are implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the receiver DC offset calibration method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Signal processing method and system for DC offset of zero intermediate frequency receiver

    CN109361417A

  • A calibration method and device for direct current mismatch elimination

    CN109861705A

  • Method and device for realizing self-calibration of time-interleaved analog-to-digital converter

    CN110048717A

  • Direct-current voltage compensation information processing method and device, electronic equipment and storage medium

    CN116743168A

  • DC charging pile monitoring device and method

    CN117783754A

Cited By

  • Device and method for correcting broadband orthogonal imbalance

    CN120750719A