Compensation apparatus for amplifier, and signal amplification system
Patent Information
- Application Number
- PCT/CN2025/147030
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-02-21
- Filing Date
- 2025-12-30
- Publication Date
- 2026-08-27
Smart Images

Figure CN2025147030_27082026_PF_FP_ABST
Abstract
Description
A compensation device for an amplifier and a signal amplification system
[0001] This application claims priority to Chinese Patent Application No. 202510196337.2, filed on February 21, 2025, entitled "A Compensation Device for an Amplifier and a Signal Amplification System", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This invention relates to the field of power electronics technology, and in particular to a compensation device for an amplifier and a signal amplification system. Background Technology
[0003] Many sensors use a Wheatstone bridge to measure acquired signals. The Wheatstone bridge measures the sampled signal by measuring the change in resistance of a strain gauge. Typically, the signal detected by a Wheatstone bridge is relatively weak, usually in the millivolt range. Therefore, an amplifier needs to be connected after the sensor to meet the sampling requirements of an AD chip (Analog-to-Digital Converter). However, the resistance of the strain gauge and the resistor in the amplifier can change significantly at different temperatures, causing zero-point drift in the signal amplification system composed of the Wheatstone bridge and amplifier.
[0004] To avoid the aforementioned problems, existing technologies typically employ high-precision resistors with low temperature drift coefficients to ensure the accuracy of the output signal from the signal amplification system. However, this approach requires a significant investment of resources. Currently, there is no effective solution to this technical problem. Summary of the Invention
[0005] In view of this, the purpose of this invention is to provide an amplifier compensation device and a signal amplification system to solve the technical problem that existing signal amplification systems composed of Wheatstone bridges and amplifiers require high manufacturing costs to ensure accurate amplified signals from the amplifier output. The specific solution is as follows:
[0006] To address the aforementioned technical problems, the present invention provides an amplifier compensation device, comprising: a first amplifier and a second amplifier with the same amplification factor, a first analog switch, a second analog switch, an analog-to-digital converter, a controller, and a connector for outputting a reference signal, a ground signal, and a sensor signal; wherein the sensor signal is output by a Wheatstone bridge.
[0007] The input terminals of the first amplifier and the second amplifier are connected to the plug through the first analog switch and the second analog switch, respectively, and the output terminals of the first amplifier and the second amplifier are both connected to the controller through the analog-to-digital converter;
[0008] The execution logic of the controller is as follows:
[0009] The target signal is obtained by acquiring the signal when the first amplifier samples the sensor signal through the analog-to-digital converter;
[0010] The analog-to-digital converter is used to obtain the difference signals when the first amplifier and the second amplifier sample the reference signal and the ground signal, respectively, to obtain the first signal and the second signal.
[0011] The target signal is corrected using the ratio of the first signal and the second signal.
[0012] Preferably, the step of obtaining the difference signals when the first amplifier and the second amplifier sample the reference signal and the ground signal respectively through the analog-to-digital converter to obtain the first signal and the second signal includes:
[0013] The signal output channel of the first analog switch is switched so that the difference signal when the first amplifier samples the reference signal and the ground signal is obtained through the analog-to-digital converter, and the first signal is obtained.
[0014] The signal output channel of the second analog switch is switched so that the difference signal when the second amplifier samples the reference signal and the ground signal is obtained through the analog-to-digital converter, and the second signal is obtained.
[0015] Preferably, after correcting the target signal using the ratio of the first signal and the second signal, the method further includes:
[0016] The signal output channel of the second analog switch is switched at a preset time interval to obtain multiple sets of difference signals when the second amplifier samples the reference signal and the ground signal through the analog-to-digital converter, so as to obtain the target sampling sequence;
[0017] The ratio between the first signal and each difference signal in the target sampling sequence is calculated sequentially according to the sampling order to obtain the target ratio sequence.
[0018] If the target ratio is greater than or equal to a preset threshold, the target signal is corrected again using the target ratio; wherein the target ratio is any ratio in the target ratio sequence.
[0019] Preferably, it further includes: a third analog switch and a third amplifier that is redundant with the second amplifier;
[0020] The input terminal of the third amplifier is connected to the plug via the third analog switch, and the output terminal of the third amplifier is connected to the controller via the analog-to-digital converter.
[0021] Preferred options also include:
[0022] Before the first amplifier and the second amplifier leave the factory, the first amplifier and the second amplifier are calibrated using a target reference signal to ensure that the amplification factor of the first amplifier and the second amplifier is the same.
[0023] Preferably, calibrating the first amplifier and the second amplifier using the target reference signal to make the amplification factors of the first amplifier and the second amplifier the same includes:
[0024] Obtain the temperature drift coefficient of the first amplifier under different ambient temperatures, and record the temperature drift coefficient of the first amplifier under different ambient temperatures using a first table.
[0025] Obtain the temperature drift coefficient of the second amplifier under different ambient temperatures, and record the temperature drift coefficient of the second amplifier under different ambient temperatures using a second table;
[0026] The amplification factor of the first amplifier is calibrated using the target reference signal and the temperature drift coefficient recorded in the first table, and the amplification factor of the second amplifier is calibrated using the target reference signal and the temperature drift coefficient recorded in the second table, so that the amplification factors of the first amplifier and the second amplifier are the same.
[0027] Preferably, the step of correcting the target signal using the ratio of the first signal and the second signal includes:
[0028] The ambient temperatures of the first amplifier and the second amplifier are detected by temperature sensors to obtain the first ambient temperature and the second ambient temperature.
[0029] Find the temperature drift coefficient corresponding to the first ambient temperature in the first table to obtain the first temperature drift coefficient, and find the temperature drift coefficient corresponding to the second ambient temperature in the second table to obtain the second temperature drift coefficient;
[0030] The ratio between the first temperature drift coefficient and the second temperature drift coefficient is calculated to obtain the first ratio, and the ratio between the first signal and the second signal is calculated to obtain the second ratio.
[0031] The target signal is corrected using the first ratio and the second ratio.
[0032] Preferably, the plug includes: a first pin, a second pin, a third pin, a fourth pin, a fifth pin, and a sixth pin; the first pin and the second pin are used to output the reference signal, the third pin and the fourth pin are used to output the ground signal, and the fifth pin and the sixth pin are used to output the sensor signal.
[0033] Preferably, the reference signal is provided by a resistor divider module consisting of three high-precision resistors.
[0034] To address the aforementioned technical problems, the present invention also provides a signal amplification system, including a compensation device for an amplifier as disclosed above.
[0035] Beneficial Effects: The amplifier compensation device provided by this invention includes a first amplifier and a second amplifier with the same amplification factor, a first analog switch, a second analog switch, an analog-to-digital converter (ADC), a controller, and plugs for outputting reference signals, ground signals, and sensor signals. The sensor signals are output by a Wheatstone bridge. The input terminals of the first and second amplifiers are connected to the plugs via the first and second analog switches, respectively, and the output terminals of both amplifiers are connected to the controller via the ADC. When the controller corrects the signal output by the first amplifier, it first obtains the signal when the first amplifier samples the sensor signal through the ADC to obtain the target signal. Then, it obtains the difference signals when the first and second amplifiers sample the reference signal and the ground signal, respectively, through the ADC to obtain the first signal and the second signal. Finally, it corrects the target signal using the ratio of the first signal and the second signal.
[0036] Because the first and second amplifiers have the same amplification factor, they can amplify the first and second signals by the same factor. Since both the first and second signals are the difference between a reference signal and ground, their ratio can be used to characterize the errors present in the circuits containing the first and second amplifiers. This ratio allows for precise calibration and correction of the sensor signal acquired by the first amplifier, thereby eliminating zero-point drift errors caused by the Wheatstone bridge and signal amplification circuit. Compared to existing technologies, this method eliminates the need for expensive high-precision resistors; only an additional amplifier and connector are required in the system. This significantly reduces the cost of calibrating and correcting the amplified signal in a signal amplification system composed of a Wheatstone bridge and amplifier.
[0037] Correspondingly, the signal amplification system provided by the present invention also has the above-mentioned beneficial effects. Attached Figure Description
[0038] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0039] Figure 1 is a structural diagram of an amplifier compensation device provided in an embodiment of the present invention;
[0040] Figure 2 is a flowchart of the execution logic of a controller provided in an embodiment of the present invention;
[0041] Figure 3 is a structural diagram of another amplifier compensation device provided in an embodiment of the present invention. Detailed Implementation
[0042] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0043] Please refer to Figure 1, which is a structural diagram of an amplifier compensation device provided in an embodiment of the present invention. The compensation device includes: a first amplifier 11 and a second amplifier 12 with the same amplification factor, a first analog switch 13, a second analog switch 14, an analog-to-digital converter 15, a controller 16, and a plug 17 for outputting a reference signal, a ground signal, and a sensor signal; the sensor signal is output by a Wheatstone bridge.
[0044] The input terminals of the first amplifier 11 and the second amplifier 12 are connected to the plug 17 via the first analog switch 13 and the second analog switch 14, respectively. The output terminals of the first amplifier 11 and the second amplifier 12 are both connected to the controller 16 via the analog-to-digital converter 15.
[0045] The execution logic of controller 16 can be seen in Figure 2, which is a flowchart of the execution logic of a controller provided in an embodiment of the present invention. The execution logic includes:
[0046] Step S11: Obtain the signal when the first amplifier samples the sensor signal through an analog-to-digital converter to obtain the target signal;
[0047] Step S12: Obtain the difference signals when the first amplifier and the second amplifier sample the reference signal and the ground signal respectively through the analog-to-digital converter to obtain the first signal and the second signal;
[0048] Step S13: Correct the target signal using the ratio of the first signal and the second signal.
[0049] In this embodiment, a compensation device for an amplifier is provided. This compensation device can greatly reduce the cost required to correct and adjust the amplified signal in a signal amplification system composed of a Wheatstone bridge and an amplifier.
[0050] The amplifier compensation device includes: two amplifiers with the same amplification factor, namely a first amplifier 11 and a second amplifier 12, a first analog switch 13 and a second analog switch 14, an analog-to-digital converter 15, a controller 16, and a plug 17. The plug 17 can output a reference signal, a ground signal, and a sensor signal; the sensor signal is output by a Wheatstone bridge.
[0051] When the controller 16 corrects the amplified signal output by the first amplifier 11, it first obtains the signal when the first amplifier 11 collects the sensor signal through the analog-to-digital converter 15 to obtain the target signal. Then, it obtains the difference signal when the first amplifier 11 and the second amplifier 12 sample the reference signal and the ground signal through the analog-to-digital converter 15 respectively to obtain the first signal and the second signal.
[0052] Because the first amplifier 11 and the second amplifier 12 have the same amplification factor, and because they simultaneously acquire the difference signal between the reference signal and the ground signal, ideally, the first signal and the second signal should be equal. However, since the components in the compensation device are not high-precision devices and have certain errors, and the sensor signal output by the Wheatstone bridge has zero-point drift, the ratio between the first signal and the second signal can be used to characterize the errors present in the circuit containing the first amplifier 11 and the second amplifier 12.
[0053] To ensure the accuracy of the sensor signal acquired by the first amplifier 11, the target signal can be corrected using the ratio between the first and second signals, thereby eliminating zero-point drift errors caused by the Wheatstone bridge and signal amplification circuit. Specifically, the final expression for the target signal is: U1 = ref1 / ref2 * U0; where U0 is the original target signal, ref1 / ref2 is the ratio between the first and second signals, and U1 is the corrected target signal.
[0054] Obviously, by using the compensation device provided by this invention, since there is no need to use high-precision resistors with high manufacturing costs, only an amplifier and a plug need to be set in the system. The cost of the amplifier and plug is much lower than that of the high-precision resistor. This can greatly reduce the cost required to correct and adjust the amplified signal in a signal amplification system composed of a Wheatstone bridge and an amplifier.
[0055] It should be noted that the first analog switch 13 and the second analog switch 14 mentioned in this embodiment both refer to multi-channel analog switches. In practical applications, the controller 16 in the compensation device can be set as an MCU (Micro Controller Unit), CPU (Central Processing Unit), or FPGA (Field Programmable Gate Array), etc.
[0056] In this embodiment, because the first amplifier and the second amplifier have the same amplification factor, they can amplify the first signal and the second signal by the same factor. Since both the first signal and the second signal are the difference between a reference signal and a ground signal, the ratio between them can be used to characterize the errors present in the circuits containing the first and second amplifiers. This ratio allows for precise calibration and correction of the sensor signal acquired by the first amplifier, thereby eliminating zero-point drift errors caused by the Wheatstone bridge and signal amplification circuit. Compared to existing technologies, this eliminates the need for expensive high-precision resistors; only an additional amplifier and connector are required in the system. This significantly reduces the cost of calibrating and correcting the amplified signal in a signal amplification system composed of a Wheatstone bridge and amplifier.
[0057] Based on the above embodiments, this embodiment further explains and optimizes the technical solution. Please refer to Figure 3, which is a structural diagram of another amplifier compensation device provided in this embodiment of the invention. As a preferred embodiment, the above compensation device further includes: a third analog switch 18 and a third amplifier 19 that is redundant with the second amplifier 12;
[0058] The input terminal of the third amplifier 19 is connected to the plug 17 via the third analog switch 18, and the output terminal of the third amplifier 19 is connected to the controller 16 via the analog-to-digital converter 15.
[0059] In this embodiment, a third analog switch 18 and a third amplifier 19 that are redundant with the second amplifier 12 can also be provided in the compensation device. In this way, when the second amplifier 12 and the second analog switch 14 fail, the third analog switch 18 and the third amplifier 19 can continue to take over the logic operations performed by the second analog switch 14 and the second amplifier 12. This can reduce the downtime caused by the inability to correct the signal output by the first amplifier 11 when the second analog switch 14 and the second amplifier 12 fail, and further improve the stability and reliability of the compensation device during use.
[0060] Obviously, the technical solution provided in this embodiment can further improve the overall reliability of the amplifier compensation device during use.
[0061] Based on the above embodiments, this embodiment further explains and optimizes the technical solution. As a preferred implementation, the above steps: obtaining the difference signal when the first amplifier and the second amplifier sample the reference signal and the ground signal respectively through the analog-to-digital converter to obtain the first signal and the second signal, include:
[0062] The signal output channel of the first analog switch is switched so as to obtain the difference signal when the first amplifier samples the reference signal and the ground signal through the analog-to-digital converter, and thus obtain the first signal;
[0063] The signal output channel of the second analog switch is switched so that the difference signal between the second amplifier sampling the reference signal and the ground signal can be obtained through the analog-to-digital converter to obtain the second signal.
[0064] In this embodiment, when the controller obtains the difference signal when the first amplifier samples the reference signal and the ground signal through the analog-to-digital converter, it first switches the signal output channel of the first analog switch. When the first amplifier establishes a communication connection with the reference signal in the plug through the first analog switch, the controller can obtain the signal corresponding to the first amplifier sampling the reference signal through the analog-to-digital converter. Then, it switches the signal output channel of the first analog switch again. When the first amplifier establishes a communication connection with the ground signal in the plug through the first analog switch, the controller can obtain the signal corresponding to the first amplifier sampling the ground signal through the analog-to-digital converter. Finally, the first signal is obtained by subtracting the two sampled signals.
[0065] Similarly, when the controller obtains the difference signal between the second amplifier's sampling of the reference signal and the ground signal via the analog-to-digital converter (ADC), it first switches the signal output channel of the second analog switch. When the second amplifier establishes a communication connection with the reference signal in the connector through the second analog switch, the controller can obtain the signal corresponding to the second amplifier's sampling of the reference signal through the ADC. Then, it switches the signal output channel of the second analog switch again. When the second amplifier establishes a communication connection with the ground signal in the connector through the second analog switch, the controller can obtain the signal corresponding to the second amplifier's sampling of the ground signal through the ADC. Finally, subtracting the two sampled signals yields the second signal.
[0066] Obviously, through the technical solution provided in this embodiment, the controller can accurately obtain the first signal and the second signal.
[0067] Based on the above embodiments, this embodiment further explains and optimizes the technical solution. As a preferred implementation, after correcting the target signal using the ratio of the first signal and the second signal, the above step further includes:
[0068] The signal output channel of the second analog switch is switched at a preset time interval to obtain multiple sets of difference signals when the second amplifier samples the reference signal and the ground signal through the analog-to-digital converter, so as to obtain the target sampling sequence.
[0069] The ratio between the first signal and each difference signal in the target sampling sequence is calculated sequentially according to the sampling order to obtain the target ratio sequence.
[0070] If the target ratio is greater than or equal to the preset threshold, the target signal is corrected again using the target ratio; where the target ratio is any ratio in the target ratio sequence.
[0071] It is understandable that during the use of an amplifier compensation device, as its internal components operate continuously, the internal temperature of the compensation device will change significantly, which will exacerbate the zero-point drift error in the signal amplification circuit.
[0072] To further improve the compensation accuracy of the compensation device for the signal output by the first amplifier, the signal output channel of the second analog switch can be switched at a preset time interval. In this way, multiple sets of difference signals when the second amplifier samples the reference signal and the ground signal can be obtained through the analog-to-digital converter to obtain the target sampling sequence.
[0073] Then, following the sampling order, the ratio between each difference signal and the first signal in the target sampling sequence is calculated sequentially to obtain the target ratio sequence. Here, any ratio in the target ratio sequence is determined to be the target ratio. If the target ratio is greater than or equal to a preset threshold, it indicates that there is a significant difference between the signal acquired by the first amplifier and the signal acquired by the second amplifier (here, the signal acquired by the first amplifier refers to the difference signal between the reference signal acquired by the first amplifier and the ground signal, and the signal acquired by the second amplifier refers to the difference signal between the reference signal acquired by the second amplifier and the ground signal). In this case, to ensure the output accuracy of the target signal, it is necessary to correct the target signal again using the target ratio.
[0074] If the target ratio is less than the preset threshold, it means that the difference between the signal collected by the first amplifier and the signal collected by the second amplifier is relatively small and within the allowable error range. In this case, in order to avoid frequent fluctuations in the sensor signal collected by the first amplifier, there is no need to correct the target signal again.
[0075] Obviously, the technical solution provided in this embodiment can further ensure the output accuracy of the first amplifier for the target signal.
[0076] Based on the above embodiments, this embodiment further explains and optimizes the technical solution. As a preferred implementation, the compensation device further includes:
[0077] Before the first and second amplifiers leave the factory, they are calibrated using a target reference signal to ensure that the amplification factors of the first and second amplifiers are the same.
[0078] In this embodiment, the first amplifier and the second amplifier can be calibrated using a target reference signal before leaving the factory, so that the amplification factor of the first amplifier and the second amplifier is the same.
[0079] Specifically, when calibrating the first and second amplifiers using the target reference signal, since the target reference signal is known, ideally, the output signals of the first and second amplifiers when amplifying the target reference signal are also known. However, when the first and second amplifiers amplify and output the target reference signal respectively, their output values will inevitably deviate from the ideal output value. At this point, the deviation value corresponding to the first amplifier can be used to correct the amplification factor of the first amplifier, and the deviation value corresponding to the second amplifier can be used to correct the amplification factor of the second amplifier, thereby making the amplification factors of the first and second amplifiers the same.
[0080] Obviously, the technical solution provided in this embodiment can ensure that the amplification factor of the first amplifier and the second amplifier are the same.
[0081] Based on the above embodiments, this embodiment further explains and optimizes the technical solution. As a preferred implementation, the above step: calibrating the first amplifier and the second amplifier using the target reference signal to make the amplification factors of the first amplifier and the second amplifier the same, includes:
[0082] Obtain the temperature drift coefficient of the first amplifier under different ambient temperatures, and record the temperature drift coefficient of the first amplifier under different ambient temperatures using the first table.
[0083] Obtain the temperature drift coefficient of the second amplifier under different ambient temperatures, and record the temperature drift coefficient of the second amplifier under different ambient temperatures using the second table;
[0084] The amplification factor of the first amplifier is calibrated using the target reference signal and the temperature drift coefficient recorded in the first table, and the amplification factor of the second amplifier is calibrated using the target reference signal and the temperature drift coefficient recorded in the second table, so that the amplification factors of the first amplifier and the second amplifier are the same.
[0085] Since ambient temperature can significantly affect the signal accuracy of the first and second amplifiers, in this embodiment, in order to ensure the accuracy and reliability of calibrating the first and second amplifiers, the temperature drift coefficients of the first and second amplifiers at different ambient temperatures can also be obtained respectively.
[0086] Then, the first table is used to record the temperature drift coefficient of the first amplifier under different ambient temperatures, and the second table is used to record the temperature drift coefficient of the second amplifier under different ambient temperatures. This is equivalent to using the first table and the second table to record and store the temperature drift coefficients of the first amplifier and the second amplifier under different ambient temperatures.
[0087] In this scenario, when calibrating the amplification factor of the first amplifier using the target reference signal, the temperature drift coefficient recorded in the first table and the ambient temperature of the first amplifier can be combined to correct the amplification factor. Assuming the amplification factor of the first amplifier is 10, the correction coefficient when calibrating the first amplifier using the target reference signal is 1.1, and the temperature drift coefficient of the first amplifier at 25℃, as found in the first table, is 1.2, then the amplification factor of the first amplifier at 25℃ is: 10 * 1.1 * 1.2 = 13.2.
[0088] Similarly, when calibrating the amplification factor of the second amplifier using the target reference signal, the amplification factor of the second amplifier can also be corrected by combining the temperature drift coefficient recorded in the second table and the ambient temperature of the second amplifier. This will not be elaborated here.
[0089] Obviously, the technical solution provided in this embodiment can further ensure the accuracy of the output signals of the first amplifier and the second amplifier.
[0090] In a preferred embodiment, the above step of correcting the target signal using the ratio of the first signal and the second signal includes:
[0091] The ambient temperatures of the first amplifier and the second amplifier are detected by temperature sensors to obtain the first ambient temperature and the second ambient temperature.
[0092] Find the temperature drift coefficient corresponding to the first ambient temperature in the first table to obtain the first temperature drift coefficient, and find the temperature drift coefficient corresponding to the second ambient temperature in the second table to obtain the second temperature drift coefficient;
[0093] Calculate the ratio between the first temperature drift coefficient and the second temperature drift coefficient to obtain the first ratio, and calculate the ratio between the first signal and the second signal to obtain the second ratio;
[0094] The target signal is corrected using the first ratio and the second ratio.
[0095] It is understandable that, since the first table records the temperature drift coefficient of the first amplifier under different ambient temperatures, and the second table records the temperature drift coefficient of the second amplifier under different ambient temperatures, when using the ratio between the first signal and the second signal to correct the target signal, the temperature drift coefficients recorded in the first and second tables can also be used to correct the target signal.
[0096] Specifically, the ambient temperatures of the first and second amplifiers can be detected using temperature sensors to obtain the first and second ambient temperatures, respectively. Then, the temperature drift coefficient corresponding to the first ambient temperature is found in the first table to obtain the first temperature drift coefficient k1, and the temperature drift coefficient corresponding to the second ambient temperature is found in the second table to obtain the second temperature drift coefficient k2. Next, the ratio between the first temperature drift coefficient k1 and the second temperature drift coefficient k2 is calculated to obtain the first ratio k1 / k2, and the ratio between the first signal ref1 and the second signal ref2 is calculated to obtain ref1 / ref2. Finally, the first ratio k1 / k2 and the second ratio ref1 / ref2 are used to correct the target signal.
[0097] That is, the final expression of the target signal is:
[0098] U1=k1 / k2*ref1 / ref2*U0;
[0099] In the formula, U0 is the original target signal, k1 / k2 is the first ratio, ref / ref2 is the second ratio, and U1 is the signal after correction of the target signal.
[0100] Obviously, the technical solution provided in this embodiment can further ensure the output accuracy of the target signal.
[0101] Based on the above embodiments, this embodiment further explains and optimizes the technical solution. As a preferred embodiment, the plug includes: a first pin, a second pin, a third pin, a fourth pin, a fifth pin, and a sixth pin; the first pin and the second pin are used to output a reference signal, the third pin and the fourth pin are used to output a ground signal, and the fifth pin and the sixth pin are used to output a sensor signal.
[0102] In this embodiment, the structure of the connector used to output reference signals, ground signals, and sensor signals is specifically described. Specifically, the connector has six pins: the first and second pins are used to output the reference signal, the third and fourth pins are used to output the ground signal, and the fifth and sixth pins are used to output the sensor signal.
[0103] When the plug is configured in this way, the first and second pins, the third and fourth pins, and the fifth and sixth pins can be regarded as the positive and negative ends of three output signals, respectively, thus outputting three sets of differential signals. These three sets of differential signals correspond to the reference signal, the ground signal, and the sensor signal, respectively. Because differential signals have strong anti-interference capabilities and a high signal-to-noise ratio, the reference signal, ground signal, and sensor signal output by the plug are more stable and clearer, thereby ensuring the output accuracy of the target signal.
[0104] Clearly, the technical solution provided in this embodiment can ensure that the plug can output stable and reliable reference signals, ground signals and sensor signals.
[0105] Based on the above embodiments, this embodiment further explains and optimizes the technical solution. As a preferred implementation, the reference signal is provided by a resistor divider module composed of three high-precision resistors.
[0106] In this embodiment, to ensure the output accuracy of the reference signal, a resistor divider module composed of three high-precision resistors can be used to output the reference signal. The resistance of the resistor connected in the middle of the resistor divider module is much smaller than the resistance of the resistors connected at its two ends. With this configuration, the resistor divider module can output a reference signal at the millivolt level, thus ensuring that the reference signal matches the voltage level of the sensor signal. This guarantees the accuracy and reliability of the compensation device when correcting the target signal output by the first amplifier.
[0107] Obviously, the signal output accuracy of the compensation device can be further improved through the technical solution provided in this embodiment.
[0108] Accordingly, embodiments of the present invention also provide a signal amplification system, including a compensation device for an amplifier as disclosed above.
[0109] The signal amplification system provided in this embodiment of the invention has the beneficial effects of the aforementioned amplifier compensation device.
[0110] The various embodiments described in this specification are presented in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. Finally, it should be noted that relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0111] The above provides a detailed description of an amplifier compensation device and a signal amplification system provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A compensation device for an amplifier, characterized in that, include: The system includes a first and second amplifier with the same amplification factor, a first analog switch, a second analog switch, an analog-to-digital converter, a controller, and connectors for outputting reference signals, ground signals, and sensor signals; the sensor signals are output by a Wheatstone bridge. The input terminals of the first amplifier and the second amplifier are connected to the plug through the first analog switch and the second analog switch, respectively, and the output terminals of the first amplifier and the second amplifier are both connected to the controller through the analog-to-digital converter; The execution logic of the controller is as follows: The target signal is obtained by acquiring the signal when the first amplifier samples the sensor signal through the analog-to-digital converter; The analog-to-digital converter is used to obtain the difference signals when the first amplifier and the second amplifier sample the reference signal and the ground signal, respectively, to obtain the first signal and the second signal. The target signal is corrected using the ratio of the first signal and the second signal.
2. The amplifier compensation device according to claim 1, characterized in that, The step of obtaining the difference signals when the first amplifier and the second amplifier sample the reference signal and the ground signal respectively through the analog-to-digital converter to obtain the first signal and the second signal includes: The signal output channel of the first analog switch is switched so that the difference signal when the first amplifier samples the reference signal and the ground signal is obtained through the analog-to-digital converter, and the first signal is obtained. The signal output channel of the second analog switch is switched so that the difference signal when the second amplifier samples the reference signal and the ground signal is obtained through the analog-to-digital converter, and the second signal is obtained.
3. The amplifier compensation device according to claim 1, characterized in that, After correcting the target signal using the ratio of the first signal and the second signal, the method further includes: The signal output channel of the second analog switch is switched at a preset time interval to obtain multiple sets of difference signals when the second amplifier samples the reference signal and the ground signal through the analog-to-digital converter, so as to obtain the target sampling sequence; The ratio between the first signal and each difference signal in the target sampling sequence is calculated sequentially according to the sampling order to obtain the target ratio sequence. If the target ratio is greater than or equal to a preset threshold, the target signal is corrected again using the target ratio; wherein the target ratio is any ratio in the target ratio sequence.
4. The amplifier compensation device according to claim 1, characterized in that, Also includes: The third analog switch and the third amplifier which is redundant with the second amplifier; The input terminal of the third amplifier is connected to the plug via the third analog switch, and the output terminal of the third amplifier is connected to the controller via the analog-to-digital converter.
5. The amplifier compensation device according to claim 1, characterized in that, Also includes: Before the first amplifier and the second amplifier leave the factory, the first amplifier and the second amplifier are calibrated using a target reference signal to ensure that the amplification factor of the first amplifier and the second amplifier is the same.
6. The amplifier compensation device according to claim 5, characterized in that, The step of calibrating the first amplifier and the second amplifier using a target reference signal to make their amplification factors the same includes: Obtain the temperature drift coefficient of the first amplifier under different ambient temperatures, and record the temperature drift coefficient of the first amplifier under different ambient temperatures using a first table. Obtain the temperature drift coefficient of the second amplifier under different ambient temperatures, and record the temperature drift coefficient of the second amplifier under different ambient temperatures using a second table; The amplification factor of the first amplifier is calibrated using the target reference signal and the temperature drift coefficient recorded in the first table, and the amplification factor of the second amplifier is calibrated using the target reference signal and the temperature drift coefficient recorded in the second table, so that the amplification factors of the first amplifier and the second amplifier are the same.
7. The amplifier compensation device according to claim 6, characterized in that, The step of correcting the target signal using the ratio of the first signal and the second signal includes: The ambient temperatures of the first amplifier and the second amplifier are detected by temperature sensors to obtain the first ambient temperature and the second ambient temperature. Find the temperature drift coefficient corresponding to the first ambient temperature in the first table to obtain the first temperature drift coefficient, and find the temperature drift coefficient corresponding to the second ambient temperature in the second table to obtain the second temperature drift coefficient; The ratio between the first temperature drift coefficient and the second temperature drift coefficient is calculated to obtain the first ratio, and the ratio between the first signal and the second signal is calculated to obtain the second ratio. The target signal is corrected using the first ratio and the second ratio.
8. The amplifier compensation device according to claim 1, characterized in that, The plug includes: a first pin, a second pin, a third pin, a fourth pin, a fifth pin, and a sixth pin; the first pin and the second pin are used to output the reference signal, the third pin and the fourth pin are used to output the ground signal, and the fifth pin and the sixth pin are used to output the sensor signal.
9. The amplifier compensation device according to claim 1, characterized in that, The reference signal is provided by a resistor divider module consisting of three high-precision resistors.
10. A signal amplification system, characterized in that, Includes a compensation device for an amplifier as described in any one of claims 1 to 9.