System, method, device, processor and computer readable storage medium thereof for implementing adaptive external input direct current compensation
Patent Information
- Application Number
- CN202610809306.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-05
- Publication Date
- 2026-10-20
AI Technical Summary
信号失真:在非线性器件传输过程中,容易产生信号畸变,输入波形与理论值存在偏差,从而容易产生谐波,恶化调制结果;
[0019]采用了本发明的实现自适应外部输入直流补偿的系统、方法、装置、处理器及其计算机可读存储介质,通过耦合方式选择电路、偏置使能电路、阻抗选择电路、固定增益放大电路、自适应增益调节电路、自适应直流调节模块以及数字域自适应控制算法的协同工作,实现对输入模拟信号的智能化预处理。该方案在执行时先阻断外部输入以获取链路固有直流偏置,再根据输入信号的统计特性计算出平均直流偏置量,并由数控直流调节模块产生极性相反、大小相等的补偿电压进行精确抵消,反复迭代求取均值以增强补偿稳定性;同时通过自适应增益调节电路动态校准信号幅度,利用模数处理反馈计算信号失真与大小,调整至模拟调制所需的最佳比例状态。在此基础上,结合温度传感器获取环境温度,在不同温度点下重复校准测试,建立温度与补偿量、增益的对应关系,并在温度不处于校准点时采用线性拟合获取近似校准数据,应用过程中可定时更新温度及校准参数。该方案有效解决了因电路固有直流偏置、模拟调制泄露及温度漂移导致的信号不准确问题,使得模拟信号在进入模数处理模块和模拟调制单元前始终保持最优直流基准与幅度,显著提升了无线通信传输中信号处理的精度与稳定性。
Smart Images

Figure FT_1 
Figure FT_2
Abstract
Description
Technical Field
[0001] This invention relates to the field of wireless communication transmission, and more particularly to the field of external analog modulation adaptive calibration and signal processing. Specifically, it relates to a system, method, apparatus, processor, and computer-readable storage medium for realizing adaptive external input DC compensation. Background Technology
[0002] In wireless communication technology, baseband digital signals are often modulated and transmitted via radio frequency. Therefore, external analog modulation is an indispensable part. By performing analog-to-digital conversion on the external signal, modulation of the external signal can also be achieved and output via radio frequency. In an ideal environment, the amplitude of the analog signal has a linear relationship with the digital data acquired by the baseband. However, due to internal mixing in analog modulation or defects in the link devices themselves, the following problems are prone to occur: Signal distortion: Signal distortion is easily generated during the transmission of nonlinear devices, and the input waveform deviates from the theoretical value, which can easily generate harmonics and degrade the modulation results. IQ Imbalance: If a pair of differential signals are transmitted, the gain between the I and Q signals cannot be absolutely consistent, and the phase offset cannot be absolutely 90°, which will result in a certain amount of image interference in the modulated signal. Temperature deviation and device aging: As the usage frequency increases, device aging will bring uncontrollable factors. Long-term use will cause the device to gradually rise, which means that it is not advisable to use the same control parameters in different usage environments, as this will cause distortion of the transmitted signal. Summary of the Invention
[0003] The purpose of this invention is to overcome the shortcomings of the prior art and provide a system, method, device, processor and its computer-readable storage medium for achieving adaptive external input DC compensation that is simple in structure, easy to operate and widely applicable.
[0004] To achieve the above objectives, the present invention provides a system, method, apparatus, processor, and computer-readable storage medium for implementing adaptive external input DC compensation as follows: The system for adaptive external input DC compensation is characterized by comprising a coupling mode selection circuit, a bias enable circuit, an impedance selection circuit, a gain amplifier circuit, an adaptive gain adjustment circuit, an adaptive DC adjustment module, and an analog-to-digital processing module. The input terminal of the coupling mode selection circuit is connected to the analog input port to switch between DC coupling and AC coupling, retaining or isolating the DC bias in the input signal. The input terminal of the bias enable circuit is connected to the coupling mode selection circuit to provide an external input signal input switch. When closed, it blocks external transmission signals to obtain the inherent DC bias of the link; when open, it allows external analog signals to be input. The input terminal of the impedance selection circuit is connected to the bias enable circuit to switch between a high impedance state and a 50Ω state. The input terminal of the gain amplifier circuit is connected to the impedance selection circuit to amplify the signal to a preset level. The input terminal of the adaptive gain adjustment circuit is connected to the gain amplifier circuit to dynamically adjust the signal magnitude using a digitally controlled variable gain amplifier. The input terminal of the adaptive DC adjustment module is connected to the adaptive gain adjustment circuit to compensate for the inherent DC bias of the link and leakage caused by analog modulation using a digitally controlled adjustable DC compensation circuit. The input terminal of the analog-to-digital processing module is connected to the adaptive DC adjustment module to convert the compensated analog signal into a digital signal.
[0005] Preferably, the coupling mode selection circuit switches between DC coupling and AC coupling according to the type of the connected signal source. If connected to the output of an RF modulator, AC coupling or DC coupling is selected; if connected to a high-impedance signal source, DC coupling is selected.
[0006] Preferably, the bias enable circuit is a switching circuit that physically disconnects the external input signal from the subsequent circuit when it is turned off.
[0007] Preferably, the impedance selection circuit switches to a high impedance state or a 50Ω state depending on the type of device connected to the application; if connected to an RF modulator output, the 50Ω state is selected, and if connected to a high impedance signal source, the high impedance state is selected.
[0008] Preferably, the system further includes a temperature sensor connected to the coupling mode selection circuit and the bias enable circuit, for detecting the ambient temperature and outputting temperature data.
[0009] The method for adaptive external input DC compensation using the above system is characterized by the following steps: (1) After the system is powered on, select the coupling method and impedance matching; (2) Record the temperature returned by the current temperature sensor; (3) Turn off the bias enable circuit to block the external input signal and read the inherent DC bias value of the circuit; (4) Turn on the bias enable circuit and connect the external analog signal, collect the external analog signal in a loop, and calculate the average DC bias value of the external analog signal; (5) Calculate the total DC bias and output a DC voltage with opposite polarity through an adaptive DC regulation circuit; (6) Adjust the gain through the adaptive gain adjustment circuit, read the data from the analog-to-digital processing module and calculate the signal distortion, adjust the gain to the target ratio state and obtain the best gain data; (7) Repeat steps (3) to (6) at different temperature points to obtain gain data corresponding to different temperatures.
[0010] Preferably, the method further includes the following steps: During application, the temperature sensor reading is updated every 10 seconds, and the corresponding calibration data is updated based on the updated temperature.
[0011] Preferably, in step (1), the system is preheated for 30 minutes after being powered on.
[0012] Preferably, the selection of coupling method and impedance matching in step (1) specifically involves: Select the 50Ω state if connected to an RF modulator output, and select the high impedance state if connected to a high impedance signal source.
[0013] Preferably, step (6) specifically includes the following steps: First, adjust the gain of the adaptive gain adjustment circuit to half, read the data from the analog-to-digital processing module and calculate the signal magnitude and distortion, and then adjust the gain to the optimal ratio according to the amplitude required by the analog modulator.
[0014] Preferably, the different temperature points in step (7) include 0℃, 5℃, 10℃, 15℃, 20℃, 25℃, 30℃, 35℃, and 40℃.
[0015] Preferably, step (7) further includes the following steps: If the current temperature is not at the stated temperature point, then linear interpolation is performed between the two calibrated temperature points closest to the current temperature to obtain approximate calibration data.
[0016] The main feature of this device for implementing adaptive external input DC compensation is that the device comprises: A processor is configured to execute computer-executable instructions; The memory stores one or more computer-executable instructions that, when executed by the processor, implement the steps of the method for implementing adaptive external input DC compensation as described above.
[0017] The processor that implements adaptive external input DC compensation is characterized in that the processor is configured to execute computer-executable instructions, which, when executed by the processor, implement the various steps of the method for implementing adaptive external input DC compensation described above.
[0018] The computer-readable storage medium is characterized in that it stores a computer program thereon, which can be executed by a processor to implement the various steps of the above-described method for implementing adaptive external input DC compensation.
[0019] This invention employs a system, method, apparatus, processor, and computer-readable storage medium for adaptive external input DC compensation. Through the coordinated operation of a coupling mode selection circuit, a bias enable circuit, an impedance selection circuit, a fixed gain amplifier circuit, an adaptive gain adjustment circuit, an adaptive DC adjustment module, and a digital domain adaptive control algorithm, intelligent preprocessing of the input analog signal is achieved. During execution, the external input is first blocked to obtain the inherent DC bias of the link. Then, the average DC bias is calculated based on the statistical characteristics of the input signal, and a numerically controlled DC adjustment module generates compensation voltages of opposite polarity and equal magnitude for precise cancellation. The process iteratively calculates the average value to enhance compensation stability. Simultaneously, the signal amplitude is dynamically calibrated through an adaptive gain adjustment circuit, and signal distortion and magnitude are calculated using analog-to-digital processing feedback to adjust to the optimal ratio required for analog modulation. Based on this, ambient temperature is obtained using a temperature sensor, and calibration tests are repeated at different temperature points to establish the correspondence between temperature and compensation amount / gain. When the temperature is not at the calibration point, linear fitting is used to obtain approximate calibration data. During application, the temperature and calibration parameters can be updated periodically. This solution effectively solves the problem of signal inaccuracy caused by inherent DC bias, analog modulation leakage, and temperature drift in the circuit. It ensures that the analog signal maintains the optimal DC reference and amplitude before entering the analog-to-digital processing module and the analog modulation unit, thus significantly improving the accuracy and stability of signal processing in wireless communication transmission. Attached Figure Description
[0020] Figure 1 This is a schematic diagram of the system for implementing adaptive external input DC compensation according to the present invention.
[0021] Figure 2 This is a flowchart of the method for implementing adaptive external input DC compensation according to the present invention. Detailed Implementation
[0022] To more clearly describe the technical content of the present invention, the following description is provided in conjunction with specific embodiments.
[0023] The system for adaptive external input DC compensation of the present invention includes a coupling mode selection circuit, a bias enable circuit, an impedance selection circuit, a gain amplifier circuit, an adaptive gain adjustment circuit, an adaptive DC adjustment module, and an analog-to-digital processing module. The input terminal of the coupling mode selection circuit is connected to the analog input port to switch between DC coupling and AC coupling, retaining or isolating the DC bias in the input signal. The input terminal of the bias enable circuit is connected to the coupling mode selection circuit to provide an external input signal input switch. When closed, it blocks external transmission signals to obtain the inherent DC bias of the link; when open, it allows external analog signals to be input. The input terminal of the impedance selection circuit is connected to the bias enable circuit to switch between a high impedance state and a 50Ω state. The input terminal of the gain amplifier circuit is connected to the impedance selection circuit to amplify the signal to a preset level. The input terminal of the adaptive gain adjustment circuit is connected to the gain amplifier circuit to dynamically adjust the signal magnitude using a digitally controlled variable gain amplifier. The input terminal of the adaptive DC adjustment module is connected to the adaptive gain adjustment circuit to compensate for the inherent DC bias of the link and leakage caused by analog modulation using a digitally controlled adjustable DC compensation circuit. The input terminal of the analog-to-digital processing module is connected to the adaptive DC adjustment module to convert the compensated analog signal into a digital signal.
[0024] In a preferred embodiment of the present invention, the coupling mode selection circuit switches between DC coupling and AC coupling according to the type of the connected signal source. If connected to the output of an RF modulator, AC coupling or DC coupling is selected; if connected to a high-impedance signal source, DC coupling is selected.
[0025] In a preferred embodiment of the present invention, the bias enable circuit is a switching circuit that physically disconnects the external input signal from the subsequent circuit when it is turned off.
[0026] In a preferred embodiment of the present invention, the impedance selection circuit switches to a high impedance state or a 50Ω state according to the type of device connected to the application. If connected to the output of an RF modulator, the 50Ω state is selected, and if connected to a high impedance signal source, the high impedance state is selected.
[0027] In a preferred embodiment of the present invention, the system further includes a temperature sensor connected to the coupling mode selection circuit and the bias enable circuit, for detecting the ambient temperature and outputting temperature data.
[0028] The method for adaptive external input DC compensation using the above-described system according to the present invention includes the following steps: (1) After the system is powered on, select the coupling method and impedance matching; (2) Record the temperature returned by the current temperature sensor; (3) Turn off the bias enable circuit to block the external input signal and read the inherent DC bias value of the circuit; (4) Turn on the bias enable circuit and connect the external analog signal, collect the external analog signal in a loop, and calculate the average DC bias value of the external analog signal; (5) Calculate the total DC bias and output a DC voltage with opposite polarity through an adaptive DC regulation circuit; (6) Adjust the gain through the adaptive gain adjustment circuit, read the data from the analog-to-digital processing module and calculate the signal distortion, adjust the gain to the target ratio state and obtain the best gain data; (7) Repeat steps (3) to (6) at different temperature points to obtain gain data corresponding to different temperatures.
[0029] In a preferred embodiment of the present invention, the method further includes the following steps: During application, the temperature sensor reading is updated every 10 seconds, and the corresponding calibration data is updated based on the updated temperature.
[0030] In a preferred embodiment of the present invention, in step (1), the system is preheated for 30 minutes after being powered on.
[0031] In a preferred embodiment of the present invention, the selection of coupling method and impedance matching in step (1) specifically includes: Select the 50Ω state if connected to an RF modulator output, and select the high impedance state if connected to a high impedance signal source.
[0032] In a preferred embodiment of the present invention, step (6) specifically includes the following steps: First, adjust the gain of the adaptive gain adjustment circuit to half, read the data from the analog-to-digital processing module and calculate the signal magnitude and distortion, and then adjust the gain to the optimal ratio according to the amplitude required by the analog modulator.
[0033] As a preferred embodiment of the present invention, the different temperature points in step (7) include 0℃, 5℃, 10℃, 15℃, 20℃, 25℃, 30℃, 35℃, and 40℃.
[0034] In a preferred embodiment of the present invention, step (7) further includes the following steps: If the current temperature is not at the stated temperature point, then linear interpolation is performed between the two calibrated temperature points closest to the current temperature to obtain approximate calibration data.
[0035] The apparatus for implementing adaptive external input DC compensation according to the present invention, wherein the apparatus comprises: A processor is configured to execute computer-executable instructions; The memory stores one or more computer-executable instructions that, when executed by the processor, implement the steps of the method for implementing adaptive external input DC compensation as described above.
[0036] The processor of the present invention for implementing adaptive external input DC compensation is configured to execute computer-executable instructions, which, when executed by the processor, implement the various steps of the method for implementing adaptive external input DC compensation described above.
[0037] The computer-readable storage medium of the present invention stores a computer program thereon, which can be executed by a processor to implement the various steps of the above-described method for implementing adaptive external input DC compensation.
[0038] To address the aforementioned issues and overcome signal inaccuracies caused by temperature variations, this solution integrates an external input adaptive DC bias calibration process. Based on multiple controllable circuits and combined with an adaptive control algorithm in the digital domain, it preprocesses the analog signal, thereby providing the optimal signal to the final analog-to-digital processing module and analog modulation unit.
[0039] The main system scheme of the present invention is as follows: Figure 1 As shown, it includes a coupling mode selection circuit, a bias enable circuit, an impedance selection circuit, a gain amplifier circuit, an adaptive gain adjustment circuit, an adaptive DC adjustment module, and an analog-to-digital processing module. The control of each module is ultimately handled by software, thereby optimizing the uncertainties of the analog port input.
[0040] Coupling mode selection circuit: It can switch between DC coupling and AC coupling to ensure the input characteristics of different signals and effectively retain or isolate the DC bias that exists in the signal itself; Bias enable circuit: Provides an input switch for external input signals. When closed, it can effectively block external transmitted signals, thereby directly obtaining the DC bias inherent in the link itself, assuming it is ; Impedance selection circuit: provides switchable high-ohm and 50Ω states to ensure impedance mismatch caused by different types of devices and reduce signal power loss; Gain amplifier circuit: A fixed gain amplifier is used to boost the signal to a suitable level and prevent the level from being too low; Adaptive gain adjustment circuit: It adopts a digitally controlled gain-adjustable amplifier, which can dynamically adjust the signal size to ensure that the signal is always in the best state before entering the digital processing module unit, and prevent inaccurate analog modulation; Adaptive DC regulation module: It adopts a digitally controlled adjustable DC compensation circuit to accurately offset the inherent DC bias in the link and the leakage caused by analog modulation.
[0041] In a specific embodiment of the present invention, the following steps are included: After the system is powered on, it should be preheated for 30 minutes. Choose the appropriate coupling method and impedance matching according to the application. For example, choose 50Ω when connecting to the output of an RF modulator, and choose high impedance when connecting to a high impedance signal source. Record the temperature returned by the current temperature sensor; First, disable the calibration bias enable to put the entire control circuit in the off state. At this time, no analog signal can be input from the outside, and the inherent DC bias of the current circuit can be read. An external analog signal is input. Since the input signal is unknown, after the input signal is input, the underlying layer will continuously collect a large number of input signals and calculate the equalization parameter, which is the average DC bias value of the input signal. This allows us to calculate the total current that already existed before transmission, adjust the variable gain, and check if the total current changes. After the gain calibration is completed, the calculated DC bias is transmitted by a digital control to a DC voltage of equal magnitude but opposite polarity. This will compensate the DC bias to 0. This process can be repeated multiple times to obtain the average value, preventing errors caused by circuit instability. The adaptive gain adjustment circuit is controlled by first adjusting the gain amplification to half, reading the data from the analog-to-digital processing module, calculating the signal magnitude and distortion, and adjusting it to the optimal ratio according to the amplitude required for analog modulation, thus obtaining a set of data. The calibration test was repeated at temperatures of 0℃, 5℃, 10℃, 15℃, 20℃, 25℃, 30℃, 35℃, and 40℃. This yields a set of data at different temperatures T. When the current temperature is not the calibration temperature, linear fitting between the two points is used to obtain approximate calibration data. In application, the temperature can be updated every 10 seconds, and the corresponding calibration data can also be updated, thereby ensuring that the analog signal input data enters the analog modulator in the optimal ratio.
[0042] The technical solution of this invention uses an ADC input target to solve the nonlinearity caused by the unknown inherent DC level, and it is based on the known target signal for fine-tuning. This adaptive external input DC compensation scheme primarily avoids the superposition of the DC level generated internally by the hardware circuit (an internal factor, without needing to know the specific parameters of the DC level) with the DC signal level generated by the external input (which is uncertain due to random external input). After passing through the analog-to-digital conversion module, the DC level is inversely compensated, aiming to cancel out the inherent DC level for uncertain signals, thereby avoiding the system errors of analog modulation caused by DC. Moreover, the system, when combined with different processing modules, can be well matched to most different application scenarios.
[0043] The technical solution of this invention uses an external unknown signal input to the ADC to perform DC compensation on the data. This solution can be real-time adaptive, allowing the DC level to be infinitely approached to 0 at any time based on the magnitude of the input signal. It can adapt to different application scenarios, and temperature-related errors can still be calibrated to 0 using the aforementioned method without relying on temperature compensation. The purpose of temperature testing is to reduce signal instability caused by excessive temperature differences, increase the smoothness of the DC input signal of the ADC, avoid jitter, and thus improve the stability of analog modulation and demodulation.
[0044] The technical solution of the present invention does not require pre-storing data tables, can acquire signals and calculate DC magnitude in real time, and compensate DC level in real time, without the need for repeated judgments, thus improving speed and efficiency.
[0045] For the specific implementation scheme of this embodiment, please refer to the relevant descriptions in the above embodiments, which will not be repeated here.
[0046] It is understood that the same or similar parts in the above embodiments can be referred to each other, and the contents not described in detail in some embodiments can be referred to the same or similar contents in other embodiments.
[0047] It should be noted that in the description of this invention, the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Furthermore, in the description of this invention, unless otherwise stated, "a plurality of" means at least two.
[0048] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of the invention includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as will be understood by those skilled in the art to which embodiments of the invention pertain.
[0049] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution device. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0050] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The corresponding program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiments.
[0051] Furthermore, the functional units in the various embodiments of the present invention can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0052] The storage media mentioned above can be read-only memory, disk, or optical disk, etc.
[0053] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0054] This invention employs a system, method, apparatus, processor, and computer-readable storage medium for adaptive external input DC compensation. Through the coordinated operation of a coupling mode selection circuit, a bias enable circuit, an impedance selection circuit, a fixed gain amplifier circuit, an adaptive gain adjustment circuit, an adaptive DC adjustment module, and a digital domain adaptive control algorithm, intelligent preprocessing of the input analog signal is achieved. During execution, the external input is first blocked to obtain the inherent DC bias of the link. Then, the average DC bias is calculated based on the statistical characteristics of the input signal, and a numerically controlled DC adjustment module generates compensation voltages of opposite polarity and equal magnitude for precise cancellation. The process iteratively calculates the average value to enhance compensation stability. Simultaneously, the signal amplitude is dynamically calibrated through an adaptive gain adjustment circuit, and signal distortion and magnitude are calculated using analog-to-digital processing feedback to adjust to the optimal ratio required for analog modulation. Based on this, ambient temperature is obtained using a temperature sensor, and calibration tests are repeated at different temperature points to establish the correspondence between temperature and compensation amount / gain. When the temperature is not at the calibration point, linear fitting is used to obtain approximate calibration data. During application, the temperature and calibration parameters can be updated periodically. This solution effectively solves the problem of signal inaccuracy caused by inherent DC bias, analog modulation leakage, and temperature drift in the circuit. It ensures that the analog signal maintains the optimal DC reference and amplitude before entering the analog-to-digital processing module and the analog modulation unit, thus significantly improving the accuracy and stability of signal processing in wireless communication transmission.
[0055] In this specification, the invention has been described with reference to specific embodiments thereof. However, it will be apparent that various modifications and variations can be made without departing from the spirit and scope of the invention. Therefore, the specification and drawings should be considered illustrative rather than restrictive.
Claims
1. A system for implementing adaptive external input DC compensation, characterized in that, The system includes a coupling mode selection circuit, a bias enable circuit, an impedance selection circuit, a gain amplifier circuit, an adaptive gain adjustment circuit, an adaptive DC adjustment module, and an analog-to-digital processing module. The input terminal of the coupling mode selection circuit is connected to an analog input port to switch between DC coupling and AC coupling, retaining or isolating the DC bias in the input signal. The input terminal of the bias enable circuit is connected to the coupling mode selection circuit to provide an external input signal input switch. When closed, it blocks external transmission signals to obtain the inherent DC bias of the link; when open, it allows access to external analog signals. The input terminal of the impedance selection circuit is connected to the bias enable circuit to switch between a high impedance state and a 50Ω state. The input terminal of the gain amplifier circuit is connected to the impedance selection circuit to amplify the signal to a preset level; the input terminal of the adaptive gain adjustment circuit is connected to the gain amplifier circuit to dynamically adjust the signal magnitude using a digitally controlled variable gain amplifier; the input terminal of the adaptive DC adjustment module is connected to the adaptive gain adjustment circuit to offset the inherent DC bias of the link and the leakage caused by analog modulation using a digitally controlled adjustable DC compensation circuit. The input terminal of the analog-to-digital processing module is connected to the adaptive DC regulation module, which is used to convert the compensated analog signal into a digital signal.
2. The system for implementing adaptive external input DC compensation according to claim 1, characterized in that, The coupling mode selection circuit switches between DC coupling and AC coupling according to the type of the connected signal source. If connected to the output of an RF modulator, it selects AC coupling or DC coupling; if connected to a high-impedance signal source, it selects DC coupling.
3. The system for implementing adaptive external input DC compensation according to claim 1, characterized in that, The bias enable circuit is a switching circuit that physically disconnects the external input signal from the subsequent circuit when it is turned off.
4. The system for implementing adaptive external input DC compensation according to claim 1, characterized in that, The impedance selection circuit switches between a high impedance state and a 50Ω state depending on the type of device connected to the application. If connected to the output of an RF modulator, the 50Ω state is selected; if connected to a high impedance signal source, the high impedance state is selected.
5. The system for implementing adaptive external input DC compensation according to claim 1, characterized in that, The system also includes a temperature sensor connected to the coupling mode selection circuit and the bias enable circuit, for detecting ambient temperature and outputting temperature data.
6. A method for implementing adaptive external input DC compensation based on the system described in claim 1, characterized in that, The method includes the following steps: (1) After the system is powered on, select the coupling method and impedance matching; (2) Record the temperature returned by the current temperature sensor; (3) Turn off the bias enable circuit to block the external input signal and read the inherent DC bias value of the circuit; (4) Turn on the bias enable circuit and connect the external analog signal, collect the external analog signal in a loop, and calculate the average DC bias value of the external analog signal; (5) Calculate the total DC bias and output a DC voltage with opposite polarity through an adaptive DC regulation circuit; (6) Adjust the gain through the adaptive gain adjustment circuit, read the data from the analog-to-digital processing module and calculate the signal distortion, adjust the gain to the target ratio state and obtain the best gain data; (7) Repeat steps (3) to (6) at different temperature points to obtain gain data corresponding to different temperatures.
7. The method for implementing adaptive external input DC compensation according to claim 1, characterized in that, The method further includes the following steps: During application, the temperature sensor reading is updated every 10 seconds, and the corresponding calibration data is updated based on the updated temperature.
8. The method for implementing adaptive external input DC compensation according to claim 1, characterized in that, In step (1), the system is preheated for 30 minutes after being powered on.
9. The method for implementing adaptive external input DC compensation according to claim 1, characterized in that, The selection of coupling method and impedance matching in step (1) specifically involves: Select the 50Ω state if connected to an RF modulator output, and select the high impedance state if connected to a high impedance signal source.
10. The method for implementing adaptive external input DC compensation according to claim 1, characterized in that, Step (6) specifically includes the following steps: First, adjust the gain of the adaptive gain adjustment circuit to half, read the data from the analog-to-digital processing module and calculate the signal magnitude and distortion, and then adjust the gain to the optimal ratio according to the amplitude required by the analog modulator.
11. The method for implementing adaptive external input DC compensation according to claim 1, characterized in that, The different temperature points in step (7) include 0℃, 5℃, 10℃, 15℃, 20℃, 25℃, 30℃, 35℃, and 40℃.
12. The method for implementing adaptive external input DC compensation according to claim 1, characterized in that, Step (7) further includes the following steps: If the current temperature is not at the stated temperature point, then linear interpolation is performed between the two calibrated temperature points closest to the current temperature to obtain approximate calibration data.
13. A device for implementing adaptive external input DC compensation, characterized in that, The device includes: A processor is configured to execute computer-executable instructions; The memory stores one or more computer-executable instructions, which, when executed by the processor, implement the steps of the method for implementing adaptive external input DC compensation as described in any one of claims 6 to 12.
14. A processor for implementing adaptive external input DC compensation, characterized in that, The processor is configured to execute computer-executable instructions, which, when executed by the processor, implement the steps of the method for implementing adaptive external input DC compensation as described in any one of claims 6 to 12.
15. A computer-readable storage medium, characterized in that, It stores a computer program that can be executed by a processor to implement the steps of the method for implementing adaptive external input DC compensation as described in any one of claims 6 to 12.