Search

CN-119995747-B - Receiver DC offset calibration method, device, storage medium and program product

CN119995747BCN 119995747 BCN119995747 BCN 119995747BCN-119995747-B

Abstract

The application discloses a method, equipment, storage medium and program product for calibrating direct current offset of a receiver, which relate to the technical field of radio frequency communication; judging a calibration mode according to a user-defined calibration method, calculating a current compensation coefficient through an adaptive algorithm by adopting a foreground calibration mode if the calibration mode is off-line calibration, obtaining a compensation signal after compensating the direct current offset by using the direct current offset signal and the current compensation coefficient if the calibration mode is on-line calibration, updating the compensation coefficient of the next clock period by using an adaptive algorithm iteration coefficient and the compensation signal, determining a final compensation coefficient according to an internal counter iteration compensation coefficient of the adaptive algorithm, and outputting the calibration signal after calibrating the direct current offset. The application effectively reduces the complexity of the system through the compensation module and the self-adaptive algorithm to calibrate the direct current offset of the receiver and reduce the calibration time.

Inventors

  • HE HONGYIN
  • YANG KUNMING
  • XIE YUHUI
  • WANG RIYAN
  • HAO QIANGYU
  • FANG GUIDIAN

Assignees

  • 广州润芯信息技术有限公司

Dates

Publication Date
20260508
Application Date
20250117

Claims (10)

  1. 1. A method for calibrating a direct current offset of a receiver, the method comprising: 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 off-line calibration, calculating a current compensation coefficient by adopting a foreground calibration mode through a self-adaptive algorithm, and if the calibration mode is on-line calibration, adopting a background calibration mode; Obtaining a direct current offset signal according to the direct current component, and obtaining a compensation signal after compensating the direct current offset through the direct current offset signal and a current compensation coefficient; Updating the compensation coefficient of the next clock period through the adaptive algorithm iteration coefficient and the compensation signal; And according to the iterative compensation coefficient of the internal counter of the self-adaptive algorithm, determining a final compensation coefficient and outputting a calibration signal after calibrating DC offset.
  2. 2. The method of claim 1, wherein the step of detecting the dc component of the signal received by the receiver via the 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 direct current components in the received digital signals through an adaptive algorithm, and calculating the fixed offset of the digital signals; and if the fixed offset of the digital signal is not zero, indicating that the digital signal has direct current offset.
  3. 3. The method of claim 2, wherein the step of determining the calibration mode according to a user-defined calibration method comprises: And judging the calibration time, the calibration control mode, the system operation mode and/or the duration time of the calibration process of the direct current component according to the user-defined calibration method to determine a calibration mode, wherein the calibration mode comprises off-line calibration and on-line calibration.
  4. 4. The method of claim 3, wherein the step of obtaining a dc offset signal from the dc component, and obtaining a compensated dc offset signal from the dc offset signal and a current compensation coefficient comprises: inputting the direct current offset signal to a compensation module; receiving the current compensation coefficient through the compensation module, and compensating the direct current offset signal; adding the direct current offset signal and the current compensation coefficient to obtain a compensation signal after compensating the direct current offset; and outputting a compensation signal from the compensation module.
  5. 5. The method of claim 4, wherein the step of updating the compensation coefficient of the next clock cycle by 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 value of the current compensation coefficient and the product; And updating the difference value to a compensation coefficient of the next clock period in the compensation module.
  6. 6. The method of claim 5, wherein the step of determining the final compensation coefficient based on the internal counter iterative compensation coefficient of the adaptive algorithm and outputting the calibrated signal after the calibration dc offset is preceded by: pre-defining the calibration time of off-line calibration; Setting an internal counter before the compensation coefficient starts to iterate; Waiting for the internal counter to reach a predefined calibration time.
  7. 7. The method of claim 6, wherein the step of determining a final compensation coefficient based on the internal counter iterative compensation coefficient of the adaptive algorithm, and outputting the calibrated signal after calibrating the dc offset further comprises: monitoring whether the iteration time reaches a predefined calibration time or not by the internal counter; Stopping the iterative compensation coefficient if the pre-defined calibration time is reached; the current compensation coefficient when the iteration stops is fixed as a final compensation coefficient; And compensating the direct current offset signal by using the final compensation coefficient, and outputting a calibration signal after calibrating the direct current offset.
  8. 8. A receiver dc offset adjustment device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program being configured to implement the steps of the receiver dc offset adjustment method according to any one of claims 1 to 7.
  9. 9. A storage medium, characterized in that the storage medium is a computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the receiver direct current offset calibration method according to any one of claims 1 to 7.
  10. 10. A computer program product, characterized in that the computer program product comprises a computer program which, when being executed by a processor, implements the steps of the receiver direct current offset calibration method according to any one of claims 1 to 7.

Description

Receiver DC offset calibration method, device, storage medium and program product Technical Field The present application relates to the field of radio frequency communications technologies, and in particular, to a method, an apparatus, a storage medium, and a program product for calibrating direct current offset of a receiver. Background Radio frequency communication is a widely used communication scheme in modern society, including wireless networks, satellite communication, radio broadcasting, and the like. The radio frequency transceiver chip is a core component of the radio frequency communication device, and the performance of the radio frequency transceiver chip directly affects the communication quality and the data transmission rate. In radio frequency communication, the direct current offset calibration of a receiver directly affects the performance of the receiver and the receiving quality of signals, wherein the direct current offset is usually caused by an analog front-end circuit of the receiver, and the offset can cause the amplitude and phase distortion of the received signals, thereby reducing the receiving quality of the signals. In the prior art, the direct current offset calibration of the receiver needs long-time calculation, a large number of auxiliary circuits execute operations such as quantization, feedback, compensation and the like, and the complexity and the cost of the system are high. The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present application and is not intended to represent an admission that the foregoing is prior art. Disclosure of Invention The application mainly aims to provide a direct current offset calibration method of a receiver, which aims to solve the technical problems that the direct current offset calibration of the receiver needs long time calculation, a large number of auxiliary circuits execute operations such as quantization, feedback, compensation and the like, and the complexity and the cost of a system are high. In order to achieve the above object, the present application provides a method for calibrating direct current offset of a receiver, the method comprising: 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 off-line calibration, calculating a current compensation coefficient by adopting a foreground calibration mode through a self-adaptive algorithm, and if the calibration mode is on-line calibration, adopting a background calibration mode; Obtaining a direct current offset signal according to the direct current component, and obtaining a compensation signal after compensating the direct current offset through the direct current offset signal and a current compensation coefficient; Updating the compensation coefficient of the next clock period through the adaptive algorithm iteration coefficient and the compensation signal; And according to the iterative compensation coefficient of the internal counter of the self-adaptive algorithm, determining a final compensation coefficient and outputting a calibration signal after calibrating DC offset. In one embodiment, the step of detecting the dc component in the signal received by the receiver through the analog-to-digital converter includes: Sampling an analog signal received by a receiver through an analog-to-digital converter, and converting the sampled signal into a digital signal; Processing direct current components in the received digital signals through an adaptive algorithm, and calculating the fixed offset of the digital signals; and if the fixed offset of the digital signal is not zero, indicating that the digital signal has direct current offset. In an embodiment, the step of determining the calibration mode according to the user-defined calibration method includes: And judging the calibration time, the calibration control mode, the system operation mode and/or the duration time of the calibration process of the direct current component according to the user-defined calibration method to determine a calibration mode, wherein the calibration mode comprises off-line calibration and on-line calibration. In an embodiment, the step of obtaining a dc offset signal according to the dc component, and obtaining a compensation signal after compensating the dc offset according to the dc offset signal and the current compensation coefficient includes: inputting the direct current offset signal to a compensation module; compensating the direct current offset signal by using the current compensation coefficient; adding the direct current offset signal and the current compensation coefficient to obtain a compensation signal after compensating the direct current offset; and outputting a compensation signal from the compensation module. In one embodiment, the step of updating th