Receiver direct current offset calibration method, device, storage medium and program product
By detecting the DC component in the receiver signal using an analog-to-digital converter and calculating the compensation coefficient based on a user-defined calibration mode and adaptive algorithm, the problem of high complexity in receiver DC offset calibration is solved, achieving the effect of simplifying the calibration process and improving signal quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGZHOU RUNXIN INFORMATION TECH CO LTD
- Filing Date
- 2025-01-17
- Publication Date
- 2026-05-08
AI Technical Summary
In the existing technology, DC offset calibration of receivers requires long-term calculations and a large number of auxiliary circuits to perform quantization, feedback and compensation operations, resulting in high system complexity and cost.
The DC component in the receiver signal is detected by an analog-to-digital converter. The calibration mode is determined according to the user-defined calibration method. The compensation coefficient is calculated using an adaptive algorithm. The compensation signal is updated by iteratively updating the coefficient using the adaptive algorithm. The final compensation coefficient is determined by combining the internal counter, and the calibration signal is output.
It simplifies the calibration process, reduces system complexity, shortens calibration time, and improves receiver performance and signal reception quality.
Smart Images

Figure CN119995747B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of radio frequency communication technology, and in particular to a receiver DC offset calibration method, device, storage medium and program product. Background Technology
[0002] Radio frequency (RF) communication is a widely used communication method in modern society, including wireless networks, satellite communication, and radio broadcasting. RF transceiver chips are a core component of RF communication equipment, and their performance directly affects communication quality and data transmission rate.
[0003] In radio frequency communication, the DC offset calibration of the receiver directly affects the receiver's performance and the quality of signal reception. DC offset is usually caused by the receiver's analog front-end circuit. This offset will cause amplitude and phase distortion of the received signal, thereby reducing the quality of signal reception.
[0004] In the existing technology, DC offset calibration of receivers 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 content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention
[0006] The main objective of this application is to provide a receiver DC offset calibration method, which aims to solve the technical problems of the high complexity and cost of receiver DC offset calibration, which requires long-term calculations and a large number of auxiliary circuits to perform quantization, feedback, compensation and other operations.
[0007] To achieve the above objectives, this application proposes a receiver DC offset calibration method, the method comprising:
[0008] The DC component in the signal received by the receiver is detected by an analog-to-digital converter.
[0009] The calibration mode is determined based on the user-defined calibration method;
[0010] If the calibration mode is offline calibration, the current compensation coefficient is calculated using an adaptive algorithm through a foreground calibration method; if the calibration mode is online calibration, the background calibration method is used.
[0011] The DC offset signal is obtained based on the DC component, and the compensation signal after compensating for DC offset is obtained by using the DC offset signal and the current compensation coefficient.
[0012] The compensation coefficients for the next clock cycle are updated using the adaptive algorithm iterative coefficients and the compensation signal.
[0013] The final compensation coefficient is determined by iterating the compensation coefficient using the internal counter of the adaptive algorithm, and the calibration signal after calibrating the DC offset is output.
[0014] In one embodiment, the step of detecting the DC component in the signal received by the receiver using an analog-to-digital converter includes:
[0015] The analog signal received by the receiver is sampled by an analog-to-digital converter, and the sampled signal is converted into a digital signal.
[0016] An adaptive algorithm is used to process the DC component in the received digital signal to calculate the fixed offset of the digital signal.
[0017] If the fixed offset of the digital signal is not zero, it indicates that the digital signal has DC offset.
[0018] In one embodiment, the step of determining the calibration mode based on a user-defined calibration method includes:
[0019] The calibration mode is determined based on the user-defined calibration method, which determines the calibration timing, calibration control method, system operation mode, and / or duration of the calibration process for the DC component. The calibration mode includes offline calibration and online calibration.
[0020] In one embodiment, the step of obtaining a DC offset signal based on the DC component, and obtaining a compensated signal after compensating for the DC offset using the DC offset signal and the current compensation coefficient, includes:
[0021] The DC offset signal is input to the compensation module;
[0022] The DC offset signal is compensated using the current compensation coefficient;
[0023] The DC offset signal is added to the current compensation coefficient to obtain the compensated signal after DC offset compensation;
[0024] The compensation module outputs a compensation signal.
[0025] In one embodiment, the step of updating the compensation coefficients for the next clock cycle using the adaptive algorithm iterative coefficients and the compensation signal includes:
[0026] Calculate the product of the iterative coefficients of the adaptive algorithm and the compensation signal;
[0027] Obtain the difference between the current compensation coefficient and the product;
[0028] The difference is updated to the compensation coefficient for the next clock cycle in the compensation module.
[0029] In one embodiment, the step of determining the final compensation coefficient based on the internal counter of the adaptive algorithm to iterate the compensation coefficient, and then outputting the calibration signal after calibrating the DC offset includes:
[0030] Predefine the calibration time for offline calibration;
[0031] Set an internal counter before the compensation coefficients begin iterating;
[0032] Wait for the internal counter to reach the predefined calibration time.
[0033] In one embodiment, the step of determining the final compensation coefficient based on the internal counter of the adaptive algorithm to iterate the compensation coefficient, and outputting the calibration signal after calibrating the DC offset, further includes:
[0034] The internal counter monitors whether the iteration time has reached the predefined calibration time.
[0035] If the predefined calibration time is reached, the iteration of compensation coefficients will stop.
[0036] The current compensation coefficient at the time of fixed iteration stop is the final compensation coefficient;
[0037] The DC offset signal is compensated using the final compensation coefficient, and a calibration signal after DC offset calibration is output.
[0038] Furthermore, to achieve the above objectives, this application also proposes a receiver DC offset calibration device, the receiver DC offset calibration device comprising:
[0039] The detection module is used to detect the DC component in the signal received by the receiver via an analog-to-digital converter;
[0040] The judgment module is used to determine the calibration mode based on the user-defined calibration method;
[0041] The adaptive algorithm module is used to calculate the current compensation coefficient using an adaptive algorithm.
[0042] The compensation module is used to obtain the compensation signal after compensating for DC offset based on the DC offset signal and the current compensation coefficient;
[0043] An iterative update module is used to update the compensation coefficients for the next clock cycle by iterating the coefficients using an adaptive algorithm and the compensation signal.
[0044] The counter module is used to determine the final compensation coefficient based on the internal counter of the adaptive algorithm to iterate the compensation coefficient.
[0045] In addition, to achieve the above objectives, this application also proposes a receiver DC offset calibration device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the receiver DC offset calibration method described above.
[0046] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the receiver DC offset calibration method described above.
[0047] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the receiver DC offset calibration method described above.
[0048] One or more technical solutions proposed in this application have at least the following technical effects:
[0049] This application detects the DC component in the signal received by the receiver using an analog-to-digital converter; determines the calibration mode based on a user-defined calibration method; if the calibration mode is offline calibration, a foreground calibration method is used to calculate the current compensation coefficient using an adaptive algorithm; if the calibration mode is online calibration, a background calibration method is used; a DC offset signal is obtained based on the DC component; a compensation signal after DC offset compensation is obtained using the DC offset signal and the current compensation coefficient; the compensation coefficient for the next clock cycle is updated using the adaptive algorithm iterating coefficients and the compensation signal; the final compensation coefficient is determined by iterating the compensation coefficients according to the internal counter of the adaptive algorithm, and the calibration signal after DC offset compensation is output; the complexity of the system's DC calibration is reduced through the compensation module and the adaptive algorithm, thereby reducing calibration time and improving receiver performance and signal reception quality. Attached Figure Description
[0050] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0051] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0052] Figure 1 This is a flowchart illustrating an embodiment of the receiver DC offset calibration method of this application.
[0053] Figure 2 This is a flowchart illustrating Embodiment 2 of the receiver DC offset calibration method of this application;
[0054] Figure 3 This is a flowchart illustrating Embodiment 3 of the receiver DC offset calibration method of this application;
[0055] Figure 4 This is a flowchart illustrating Embodiment 4 of the receiver DC offset calibration method of this application;
[0056] Figure 5 This is a flowchart illustrating Embodiment 5 of the receiver DC offset calibration method of this application;
[0057] Figure 6 This is a flowchart illustrating Embodiment Six of the receiver DC offset calibration method of this application;
[0058] Figure 7 This is a schematic diagram of the module structure of the receiver DC offset device according to an embodiment of this application;
[0059] Figure 8 This is a schematic diagram of the hardware operating environment involved in the receiver DC offset method in the embodiments of this application.
[0060] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0061] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0062] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0063] Because the DC offset calibration of the receiver in the existing technology requires a long time of calculation, a large number of auxiliary circuits perform quantization, feedback and compensation operations, the system is complex and costly.
[0064] This application provides a solution that detects the DC component in the signal received by the receiver using an analog-to-digital converter; determines the calibration mode based on a user-defined calibration method; if the calibration mode is offline calibration, a foreground calibration method is used to calculate the current compensation coefficient using an adaptive algorithm; if the calibration mode is online calibration, a background calibration method is used; a compensation signal after DC offset compensation is obtained using the DC offset signal and the current compensation coefficient; the compensation coefficient for the next clock cycle is updated using the adaptive algorithm iterating coefficients and the compensation signal; the final compensation coefficient is determined by iterating the compensation coefficients according to the internal counter of the adaptive algorithm, and the calibration signal after DC offset compensation is output; the complexity of the system's DC calibration is reduced through the compensation module and the adaptive algorithm, thereby reducing calibration time and improving receiver performance and signal reception quality.
[0065] Based on this, the embodiments of this application provide a receiver DC offset calibration method, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the receiver DC offset calibration method of this application.
[0066] In this embodiment, the receiver DC offset calibration method includes steps S10 to S60:
[0067] Step S10: Detect the DC component in the signal received by the receiver using an analog-to-digital converter;
[0068] It should be noted that the original signal is received by an analog front-end (RXAFE) and an analog-to-digital converter to obtain a digital signal. The digital information is preprocessed, and the DC component of the preprocessed digital signal is detected by an adaptive algorithm.
[0069] Step S20: Determine the calibration mode based on the user-defined calibration method;
[0070] It should be noted that the DC offset signal can be calibrated online or offline based on the characteristics of the DC offset signal, such as amplitude and frequency, as well as the current state of the receiver and the preset calibration strategy.
[0071] Specifically, the calibration mode can be determined based on the timing of the calibration. If the calibration of the DC offset signal is performed during normal receiver operation, i.e., calibration is performed simultaneously with signal reception and processing, it is usually considered online calibration. Conversely, if the calibration is performed when the receiver is not operating normally or is in maintenance mode, it is likely offline calibration. Furthermore, online calibration is usually automatic and does not require 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, the current compensation coefficient is calculated using an adaptive algorithm through a foreground calibration method; if the calibration mode is online calibration, the background calibration method is used.
[0073] It should be noted that the adaptive algorithm can be the least mean square algorithm or the normalized least mean square algorithm, which can automatically calculate the current compensation coefficient according to the characteristics of the DC offset signal.
[0074] Step S40: Obtain the DC offset signal based on the DC component, and obtain the compensation signal after compensating for DC offset using the DC offset signal and the 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 the compensated signal after DC offset compensation.
[0076] Step S50: Update the compensation coefficients for the next clock cycle by iterating the coefficients using the adaptive algorithm 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, the higher the accuracy of the offline mode, but the longer the corresponding calibration time.
[0078] Step S60: Determine the final compensation coefficient based on the internal counter of the adaptive algorithm to calibrate the DC offset, and output the calibration signal after calibration.
[0079] It should be noted that the internal counter monitors the iteration process of the adaptive algorithm and determines the final compensation coefficient after the preset iteration time is reached. The output module then transmits the calibration signal after DC offset calibration 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 using an analog-to-digital converter; it determines the calibration mode based on a user-defined calibration method, effectively simplifying the calibration process; if the calibration mode is offline calibration, a foreground calibration method is used to calculate the current compensation coefficient using an adaptive algorithm; if the calibration mode is online calibration, a background calibration method is used; a compensation signal after DC offset compensation is obtained using the DC offset signal and the current compensation coefficient, optimizing signal quality; the compensation coefficient for the next clock cycle is updated by iterating the coefficient and compensation signal using the adaptive algorithm; the compensation coefficient is iterated according to the internal counter of the adaptive algorithm to determine the final compensation coefficient, and the calibration signal after DC offset compensation is output. The iterative update process ensures that the compensation coefficient can adapt to signal changes in real time and quickly, improving system efficiency.
[0081] Furthermore, referring to Figure 2The second embodiment of the receiver DC offset calibration method of this application provides a flowchart, based on the above. Figure 2 The illustrated embodiment further refines the step of "detecting the DC component in the signal received by the receiver through the analog-to-digital converter" in step S10, including steps A201 to A203:
[0082] Step A201: Sample the received analog signal using an analog-to-digital converter and convert the sampled signal into a digital signal;
[0083] It should be noted that the analog signal is obtained by the original signal received by the receiver passing through an analog front-end (RXAFE) and an analog-to-digital converter to obtain a digital signal, and the digital information is preprocessed.
[0084] Step A202: Process the received digital signal using an adaptive algorithm to calculate the fixed offset of the digital signal;
[0085] It should be noted that the fixed offset refers to the DC component that does not change over time, reflecting the magnitude of the DC offset.
[0086] Step A203: If the fixed offset is not zero, it indicates that the digital signal has DC offset.
[0087] It should be noted that the system analyzes the digital signal through an adaptive algorithm, compares the calculated fixed offset with zero, and if the fixed offset is not zero, then there is DC offset in the digital signal.
[0088] Specifically, if a receiver receives an analog signal with a value of 0.8V, after processing by an analog front-end and an analog-to-digital converter (ADC), this analog signal is converted into a digital signal, assuming a value of 800 (assuming the ADC resolution is 1mV / LSB). An adaptive algorithm is then used to process this digital signal and calculate its fixed offset. For example, the algorithm analyzes the digital signal and calculates its fixed offset to be 100 (i.e., 0.1V). Since the fixed offset is 100, which is not zero, it can be determined that the digital signal has DC offset.
[0089] This embodiment acquires digital signals through a receiver analog-to-digital converter and calculates a fixed offset of the digital signals using an adaptive algorithm, which can effectively detect the DC component in the signals received by the receiver analog-to-digital converter.
[0090] Furthermore, if the calibration mode is offline calibration, the current compensation coefficient is calculated using an adaptive algorithm through a foreground calibration method; if the calibration mode is online calibration, the background calibration method is used.
[0091] It should be noted that the adaptive algorithm can be the least mean square algorithm or the normalized least mean square algorithm, which can automatically calculate the current compensation coefficient according to the characteristics of the DC offset signal. The main difference between offline calibration and online calibration is that offline calibration does not interfere with the normal operation of the receiver, while online calibration can be performed when the receiver is working normally.
[0092] Furthermore, referring to Figure 3 The third embodiment of the receiver DC offset calibration method of this application provides a flowchart, based on the above. Figure 3 The illustrated embodiment further refines the step S40, "obtaining the DC offset signal based on the DC component, and obtaining the compensation signal after compensating for the DC offset using the DC offset signal and the current compensation coefficient," by including steps A301 to A304:
[0093] Step A301: Obtain the DC offset signal from the DC component and input the DC offset signal into the compensation module;
[0094] Step A302: Compensate the DC offset signal using the current compensation coefficient;
[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: Add the DC offset signal and the current compensation coefficient to obtain the compensation signal after compensating for DC offset;
[0097] It should be noted that adding the DC offset signal to the compensation coefficient essentially adjusts the DC component of the DC offset signal back to the ideal value, thereby reducing or eliminating DC offset.
[0098] Step A304: Output compensation signal.
[0099] Specifically, if the detected DC offset signal value is 1.2V, and assuming the current compensation coefficient is 0.85V, we add the DC offset signal 1.2V to the compensation coefficient 0.85V to obtain the compensated DC offset signal as 1.2V + 0.85V = 2.05V; the compensated signal 2.05V is output for subsequent signal processing or transmission.
[0100] This embodiment uses the current compensation coefficient to compensate the DC offset signal to obtain a compensated signal, which can reduce the DC component in the signal, thus reducing signal offset and improving system stability.
[0101] Furthermore, referring to Figure 4 The fourth embodiment of the receiver DC offset calibration method of this application provides a flowchart, based on the above. Figure 4The illustrated embodiment further refines the step S50, "updating the compensation coefficients for the next clock cycle by iterating the coefficients using the adaptive algorithm and the compensation signal," including steps A401 to A403:
[0102] Step A401: Calculate the product of the iterative coefficients of the adaptive algorithm and the compensation signal;
[0103] It should be noted that the iteration coefficient of the adaptive algorithm is usually a small value. In offline mode, the accuracy of the offline mode is proportional to the size of the iteration coefficient of the adaptive algorithm.
[0104] Step A402: Obtain the difference between the current compensation coefficient and the product;
[0105] It should be noted that the difference reflects the magnitude and direction in which the current compensation coefficient needs to be adjusted.
[0106] Step A403: Update the difference to the compensation coefficient for 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 difference between the current compensation coefficient and the calculated value. The system continuously adjusts the compensation coefficient to optimize the calibration of the DC offset signal.
[0108] Specifically, if there exists a current compensation coefficient of A, an adaptive algorithm iteration coefficient of α, and a compensated DC offset signal of D, the system calculates the difference f according to the adaptive algorithm: 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, the compensation coefficient will be updated according to the change of the DC video signal in each clock cycle, realizing dynamic calibration of DC offset.
[0109] In this embodiment, by using an adaptive algorithm to iterate the product of the coefficients and the compensation signal, the difference between the product and the current compensation coefficient is updated to the compensation coefficient for the next clock cycle, thereby achieving real-time updates of the compensation coefficient and dynamic optimization of DC offset signal calibration, which helps to improve receiver performance and signal reception quality.
[0110] Furthermore, referring to Figure 5 The fifth embodiment of the receiver DC offset calibration method of this application provides a flowchart, based on the above. Figure 5 The illustrated embodiment further refines the step S60, which involves "iterating the compensation coefficients according to the internal counter of the adaptive algorithm, determining the final compensation coefficients, and outputting the calibration signal after calibrating the DC offset," by including steps A501 to A503:
[0111] Step A501; Predefine the calibration time for offline calibration;
[0112] It should be noted that the predefined calibration time for offline calibration is actually the time length of the adaptive iterative compensation coefficient sequence; the iterative coefficients of the adaptive algorithm determine the step size of each iteration.
[0113] Step A502: Set an internal counter before the compensation coefficients begin iterating;
[0114] It should be noted that before the system starts iterating, an internal counter is set in the compensation module. The internal counter is used to track the time taken during the iteration process to ensure that the iteration process is completed within the predetermined time.
[0115] Step A503: Wait for the internal counter to reach the predefined calibration time.
[0116] It should be noted that during this predefined calibration time, the adaptive algorithm will continuously adjust the compensation coefficient based on the DC offset signal and the iteration coefficient to achieve the optimal calibration effect. When the internal counter reaches the predefined 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 through an internal counter within a predefined calibration time, the adaptive algorithm can also predefine the number of iterations. The internal counter is used 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 stops and the final compensation coefficient is determined.
[0118] In one embodiment, if the adaptive algorithm iteration coefficient 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, resulting in a compensated signal of 2. After the second iteration, the compensation coefficient is 0.5 - 0.1 * 2 = 0.3, resulting in a compensated signal of 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 of 0.07 to compensate for the DC offset signal, and outputs a calibrated signal after DC offset calibration.
[0119] This embodiment predefines the calibration time for offline calibration and uses an internal counter to update and iterate the compensation coefficients until the internal counter reaches the predetermined calibration time. Through multiple updates and iterations, a more accurate compensation coefficient is obtained. At the same time, the iteration time can be freely controlled to a certain extent, avoiding the compensation coefficients from being in a long update and iteration process. The calibration is completed within a predetermined time, thereby improving the receiver performance and signal reception quality.
[0120] Furthermore, referring to Figure 6 The sixth embodiment of the receiver DC offset calibration method of this application provides a flowchart, based on the above. Figure 6 The illustrated embodiment further refines step S60, which involves "iterating the compensation coefficients according to the internal counter of the adaptive algorithm, determining the final compensation coefficients, and outputting the calibrated DC offset signal," by including steps A601 to A604:
[0121] Step A601: Continuously monitor whether the iteration time has reached the predefined calibration time using the internal counter;
[0122] It is important to note that the value of the internal counter is continuously monitored during the iteration process to determine whether the iteration time has reached the predefined iteration time.
[0123] Step A602: Stop iterating the compensation coefficient if the predefined calibration time is reached;
[0124] It should be noted that timely stopping of iterations prevents the internal counter from exceeding the predefined calibration time.
[0125] Step A603: The current compensation coefficient at the time of iteration termination is 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, which is the optimal or near-optimal compensation value within a preset time.
[0127] Step A604: Use the final compensation coefficient to compensate the DC offset signal and output the calibration signal after DC offset calibration.
[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 predefined as five minutes, the system starts the iterative process and starts the internal counter; after five minutes, the internal counter reaches the preset value, and the system stops the iterative process; if the compensation coefficient of the last iteration is 0.25, then 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 determines the final compensation coefficient by updating and iterating an internal timer within a predetermined time, calibrates the DC offset signal, and outputs the calibrated signal that can be used for subsequent signal processing or transmission, thereby reducing the complexity of signal calibration and reducing calibration time.
[0131] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the DC offset calibration method for the receiver in this application. Any simple modifications based on this technical concept are within the protection scope of this application.
[0132] In addition, this application also provides a receiver DC offset calibration device, please refer to... Figure 7 The receiver DC offset calibration device includes:
[0133] Detection module 10 is used to detect the DC component in the signal received by the receiver through an analog-to-digital converter;
[0134] The judgment module 20 is used to determine the calibration mode based on the user-defined calibration method;
[0135] Adaptive algorithm module 30 is used to calculate the current compensation coefficient through an adaptive algorithm;
[0136] Compensation module 40 is used to obtain the compensation signal after compensating for DC offset based on the DC offset signal and the current compensation coefficient;
[0137] The iterative update module 50 is used to update the compensation coefficient for the next clock cycle by iterating the coefficients using an adaptive algorithm and the compensation signal.
[0138] The counter module 60 is used to determine the final compensation coefficient based on the internal counter of the adaptive algorithm to iterate the compensation coefficient.
[0139] The receiver DC offset calibration device provided in this application, employing the receiver DC offset calibration method described in the above embodiments, can solve the technical problems of high complexity and cost associated with receiver DC offset calibration, which requires lengthy calculations and involves numerous auxiliary circuits performing quantization, feedback, and compensation operations. Compared with the prior art, the beneficial effects of the receiver DC offset calibration device provided in this application are the same as those of the receiver DC offset calibration method provided in the above embodiments, and other technical features of the receiver DC offset calibration device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0140] Furthermore, this 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, which are executed by the at least one processor to enable the at least one processor to perform the receiver DC offset calibration method in the above embodiment 1.
[0141] The following is for reference. Figure 8 This document illustrates a schematic diagram of a receiver DC offset calibration device suitable for implementing embodiments of this application. The receiver DC offset calibration device in this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 8 The receiver DC offset calibration device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of this application.
[0142] like Figure 8As shown, the receiver DC offset calibration device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 1002 or a program loaded from storage device 1003 into random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the receiver DC offset calibration device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows the receiver DC offset calibration equipment to communicate wirelessly or wiredly with other devices to exchange data. Although receiver DC offset calibration equipment with various systems is shown in the figure, it should be understood that it is not required to implement or possess all the systems shown. More or fewer systems can be implemented alternatively.
[0143] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0144] The receiver DC offset calibration device provided in this application, employing the receiver DC offset calibration method described in the above embodiments, solves the technical problem that receiver DC offset calibration requires lengthy calculations and involves numerous auxiliary circuits performing quantization, feedback, and compensation operations, resulting in high system complexity and cost. Compared with the prior art, the beneficial effects of the receiver DC offset calibration device provided in this application are the same as those of the receiver DC offset calibration method provided in the above embodiments, and other technical features of this receiver DC offset calibration device are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0145] It should be understood that the various parts disclosed in this application can be implemented using 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 suitable manner in one or more embodiments or examples.
[0146] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0147] In addition, this application also provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to perform the receiver DC offset calibration method in the above embodiments.
[0148] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. 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 conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0149] The aforementioned computer-readable storage medium may be included in the receiver DC offset calibration device; or it may exist independently and not assembled into the receiver DC offset calibration device.
[0150] The aforementioned computer-readable storage medium carries one or more programs that, when executed by the receiver DC offset calibration device, cause the receiver DC offset calibration device to: detect the DC offset signal transmitted by the receiver analog-to-digital converter; determine the calibration mode based on the processing method of the DC offset signal; if the calibration mode is offline calibration, calculate the current compensation coefficient using an adaptive algorithm; obtain the compensated DC offset signal based on the DC offset signal and the current compensation coefficient; update the compensation coefficient for the next clock cycle by iterating the coefficients using the adaptive algorithm and the compensated DC offset signal; determine the final compensation coefficient by iterating the compensation coefficients using the internal counter of the adaptive algorithm; and output the calibrated DC offset signal.
[0151] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0152] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0153] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0154] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described receiver DC offset calibration method. This solves the technical problem that receiver DC offset calibration requires lengthy calculations and involves numerous auxiliary circuits performing quantization, feedback, and compensation operations, resulting in high system complexity and cost. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the receiver DC offset calibration method provided in the above embodiments, and will not be repeated here.
[0155] In addition, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the receiver DC offset calibration method described above.
[0156] The computer program product provided in this application can solve the technical problem that receiver DC offset calibration requires long-term calculations and involves numerous auxiliary circuits performing quantization, feedback, and compensation operations, resulting in high system complexity and cost. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the receiver DC offset calibration method provided in the above embodiments, and will not be repeated here.
[0157] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A receiver DC offset calibration method, characterized in that, The method includes: The DC component in the signal received by the receiver is detected by an analog-to-digital converter. The calibration mode is determined based on the user-defined calibration method; If the calibration mode is offline calibration, the current compensation coefficient is calculated using an adaptive algorithm through a foreground calibration method; if the calibration mode is online calibration, the background calibration method is used. The DC offset signal is obtained based on the DC component, and the compensation signal after compensating for DC offset is obtained by using the DC offset signal and the current compensation coefficient. The compensation coefficients for the next clock cycle are updated using the adaptive algorithm iterative coefficients and the compensation signal. The final compensation coefficient is determined by iterating the compensation coefficient using the internal counter of the adaptive algorithm, and the calibration signal after calibrating the DC offset is output.
2. The method as described in claim 1, characterized in that, The step of detecting the DC component in the signal received by the receiver using an analog-to-digital converter includes: The analog signal received by the receiver is sampled by an analog-to-digital converter, and the sampled signal is converted into a digital signal. An adaptive algorithm is used to process the DC component in the received digital signal to calculate the fixed offset of the digital signal. If the fixed offset of the digital signal is not zero, it indicates that the digital signal has DC offset.
3. The method as described in claim 2, characterized in that, The step of determining the calibration mode based on the user-defined calibration method includes: The calibration mode is determined based on the user-defined calibration method, which determines the calibration timing, calibration control method, system operation mode, and / or duration of the calibration process for the DC component. The calibration mode includes offline calibration and online calibration.
4. The method as described in claim 3, characterized in that, The step of obtaining the DC offset signal based on the DC component, and obtaining the compensated signal after compensating for DC offset using the DC offset signal and the current compensation coefficient, includes: The DC offset signal is input to the compensation module; The compensation module receives the current compensation coefficient and compensates for the DC offset signal. The DC offset signal is added to the current compensation coefficient to obtain the compensated signal after DC offset compensation; The compensation module outputs a compensation signal.
5. The method as described in claim 4, characterized in that, The step of updating the compensation coefficient for the next clock cycle by iterating the coefficients using an adaptive algorithm and the compensation signal includes: Calculate the product of the iterative coefficients of the adaptive algorithm and the compensation signal; Obtain the difference between the current compensation coefficient and the product; The difference is updated to the compensation coefficient for the next clock cycle in the compensation module.
6. The method as described in claim 5, characterized in that, Before the step of determining the final compensation coefficient based on the internal counter of the adaptive algorithm to output the calibration signal after calibrating the DC offset, the following steps are included: Predefine the calibration time for offline calibration; Set an internal counter before the compensation coefficients begin iterating; Wait for the internal counter to reach the predefined calibration time.
7. The method as described in claim 6, characterized in that, The step of determining the final compensation coefficient based on the internal counter of the adaptive algorithm, and outputting the calibration signal after calibrating the DC offset, further includes: The internal counter monitors whether the iteration time has reached the predefined calibration time. If the predefined calibration time is reached, the iteration of compensation coefficients will stop. The current compensation coefficient at the time of fixed iteration stop is the final compensation coefficient; The DC offset signal is compensated using the final compensation coefficient, and a calibration signal after DC offset calibration is output.
8. A receiver DC offset calibration device, characterized in that, The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the receiver DC offset calibration method as described in 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, it implements the steps of the receiver DC offset calibration method as described in any one of claims 1 to 7.
10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the steps of the receiver DC offset calibration method as described in any one of claims 1 to 7.
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