Error calibration circuit and analog-to-digital conversion system
By designing an error calibration circuit and using the gain error control module and the clamping and driving module to modify the reference level of the analog-to-digital conversion system, the noise and offset in the existing technology when adjusting the input analog signal range of the analog-to-digital converter are solved. problem, improving the conversion efficiency and accuracy of the system.
Patent Information
- Application Number
- CN202310067500.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-03
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2043-02-03
AI Technical Summary
The existing method of adjusting the input analog signal range of an analog-to-digital converter requires shaping or amplifying the sampling signal, which leads to problems such as noise, offset, and harmonic distortion, and affects the performance of the converter.
An error calibration circuit is designed, including a gain error control module, a clamping and driving module and a gain error calibration signal output module. By receiving the gain calibration digital control signal and the reference level, it generates high bias voltage and low bias voltage. The output gain error calibration signal is used to modify the reference level of the analog-to-digital conversion system to adapt to the amplitude of different input analog signals.
It reduces the offset error of the reference level, improves the conversion efficiency and accuracy of the analog-to-digital conversion system when processing different peak-to-peak input analog signals, adapts to input analog signal application scenarios of various amplitudes, and improves system performance.
Smart Images

Figure CN116248118B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of semiconductor integrated circuits, and in particular to an error calibration circuit and an analog-to-digital conversion system. Background Art
[0002] In the analog-to-digital converter system, the amplitude range of the input analog signal is uncertain. Under the condition that it does not exceed the conversion range of the analog-to-digital converter, if the peak-to-peak value of the input analog signal is large, most of the steps of the analog-to-digital converter can be used, which will maximize its conversion efficiency; on the contrary, if the peak-to-peak value of the input analog signal is small, the conversion capacity of the analog-to-digital converter that exceeds the peak-to-peak value of the input analog signal will not be used again, which will waste converter resources on the one hand and reduce the accuracy of the converter when processing small peak-to-peak analog signals on the other hand. Furthermore, in some applications, the analog-to-digital conversion system needs to deal with scenarios with different peak-to-peak values of the input analog signal, which means that the input analog range of the analog-to-digital conversion system needs to be adjustable.
[0003] In the prior art, the method of adjusting the analog signal range of the analog-to-digital converter input usually requires shaping or amplifying the sampled signal. This process is bound to introduce factors such as noise, offset, harmonic distortion, etc., which affect the performance of the converter. Summary of the invention
[0004] In view of the deficiencies in the prior art, the present invention provides an error calibration circuit and an analog-to-digital conversion system, which solves the problem that the method for adjusting the analog signal range of the analog-to-digital converter in the prior art usually requires shaping or amplifying the sampled signal, and this process is bound to introduce factors such as noise, offset, harmonic distortion, etc., which affect the performance of the converter.
[0005] In a first aspect, the present invention provides an error calibration circuit, which is applied to an analog-to-digital conversion system, and includes: a gain error control module, a clamping and driving module, and a gain error calibration signal output module; the gain error control module is connected to an external current source, and is used to receive a gain calibration digital control signal, and is also used to generate a high bias voltage and a low bias voltage according to the current generated by the external current source and the gain calibration digital control signal; the clamping and driving module is connected to the gain error calibration signal output module, and is used to receive a reference level, and is also used to output a clamping signal to the gain error calibration signal output module according to the reference level; the gain error calibration signal output module is respectively connected to the gain error control module and the analog-to-digital conversion system, and is also used to receive the high bias voltage and the low bias voltage output by the gain control module, and is also used to generate a gain error calibration signal according to the clamping signal, the high bias voltage and the low bias voltage, and output the gain error calibration signal to the analog-to-digital conversion system.
[0006] Optionally, the circuit also includes: an offset error control module; the offset error control module is respectively connected to the gain error control module and the analog-to-digital conversion system, for receiving an offset calibration digital control signal, for receiving a high bias voltage output by the gain error control module, and for outputting an offset error calibration signal to the analog-to-digital conversion system according to the high bias voltage and the offset calibration digital control signal.
[0007] Optionally, the gain error control module includes: a bias unit, a gain unit and at least one first digitally controlled current source unit; the gain unit is connected to an external current source, and is used to generate an internal bias signal according to the current generated by the external current source; each of the first digitally controlled current source units is respectively connected to the bias unit, and is used to input a gain error control current to the gain unit according to the received gain calibration digital control signal and the internal bias signal issued by the bias unit; the gain unit is also connected to the gain error calibration signal output module, and is used to output a high bias voltage and a low bias voltage to the gain error calibration signal output module according to the gain error control current.
[0008] Optionally, the bias unit includes: a first PMOS tube; the gain unit includes: a second PMOS tube, a first NMOS tube and a second NMOS tube; the gate of the first PMOS tube is respectively connected to the drain and the at least one first digitally controlled current source unit, the source of the first PMOS tube is respectively connected to the first power supply end and the source of the second PMOS tube, and the drain of the first PMOS tube is connected to the first end of the external current source; the gate of the second PMOS tube is respectively connected to the drain and the gain error calibration signal output module, and the drain of the second PMOS tube is connected to the drain of the second NMOS tube; the gate of the first NMOS tube is respectively connected to the drain, the gate of the second NMOS tube and the gain error calibration signal output module, the drain of the first NMOS tube is respectively connected to the at least one first digitally controlled current source unit, and the source of the first NMOS tube is grounded; the source of the second NMOS tube is grounded.
[0009] Optionally, the first digitally controlled current source unit includes: a third PMOS tube and a fourth PMOS tube; the gate of the third PMOS tube is connected to the gate of the first PMOS tube, the source of the third PMOS tube is connected to the second power supply terminal, and the drain of the third PMOS tube is connected to the source of the fourth PMOS tube; the gate of the fourth PMOS tube is used to receive the gain calibration digital control signal, and the drain of the fourth PMOS tube is connected to the drain of the first NMOS tube.
[0010] Optionally, the gain error calibration signal output module includes: a fifth PMOS tube, M first resistors and a third NMOS tube; the gate of the fifth PMOS tube is connected to the gate of the second PMOS tube, the source of the fifth PMOS tube is connected to the third power supply terminal, and the drain of the fifth PMOS tube is connected to the first end of the first first resistor; the M first resistors are connected in series with each other, the second end of the Mth first resistor is connected to the drain of the third NMOS tube, the second end of one of the first resistors from the first first resistor to the M-1th first resistor is connected to the clamping and driving module and receives the clamping signal output by the clamping and driving module, and the second end of the first first resistor to the second end of the M-1th first resistor are respectively connected to the analog-to-digital conversion system and output the gain error calibration signal to the analog-to-digital conversion system; the gate of the third NMOS tube is connected to the gate of the first NMOS tube, and the source of the third NMOS tube is grounded.
[0011] Optionally, the clamping and driving module includes: a fourth NMOS tube, an operational amplifier and a second resistor; the gate of the fourth NMOS tube is connected to the output end of the operational amplifier, the drain of the fourth NMOS tube is connected to the fourth power supply end, and the source of the fourth NMOS tube is respectively connected to the inverting input end of the operational amplifier and the first end of the second resistor; the non-inverting input end of the operational amplifier is used to receive a reference level, and the inverting input end of the operational amplifier is also connected to the second end of one of the first resistors from the first to the M-1th first resistors; the second end of the second resistor is grounded.
[0012] Optionally, the offset error control module includes: a third resistor and at least one second digitally controlled current unit; the first end of the third resistor is connected to the output end of the at least one second digitally controlled current source unit respectively, and the second end of the third resistor is grounded; the at least one second digitally controlled current source unit is connected to the gain unit respectively, for receiving the offset calibration digital control signal, and for receiving the high bias voltage output by the gain error control module, and for outputting an offset calibration current according to the high bias voltage output by the gain unit and the offset calibration digital control signal and flowing through the third resistor, so that the first end of the third resistor outputs an offset error calibration signal.
[0013] Optionally, the second digitally controlled current source unit includes: a sixth PMOS tube and a seventh PMOS tube; the gate of the sixth PMOS tube is connected to the gate of the second PMOS tube, the source of the sixth PMOS tube is connected to the fifth power supply terminal, and the drain of the sixth PMOS tube is connected to the source of the seventh PMOS tube; the gate of the seventh PMOS tube is used to receive an offset calibration digital control signal, and the drain of the seventh PMOS tube is connected to the first end of the third resistor.
[0014] In a second aspect, the present invention also provides an analog-to-digital conversion system, characterized in that the error calibration circuit described in the system, the analog-to-digital conversion system also includes: a sampling and holding circuit and an analog-to-digital converter; the sampling and holding circuit is respectively connected to the offset error control module and the analog-to-digital converter, for inputting an analog signal, and is also used to receive an offset error calibration signal output by the offset error control module, and is also used to calibrate the input analog signal according to the offset error calibration signal and output the calibrated analog signal to the analog-to-digital converter; the analog-to-digital converter is also connected to the gain error calibration signal output module, for receiving the gain error calibration signal output by the gain error calibration signal output module, and is also used to perform analog-to-digital conversion on the calibrated analog signal according to the gain error calibration signal and output a digital coded signal.
[0015] Compared with the prior art, the present invention has the following beneficial effects:
[0016] The gain error control module receives a gain calibration digital control signal, and generates a high bias voltage and a low bias voltage according to the current generated by the external current source and the gain calibration digital control signal; the clamping and driving module receives a reference level and outputs a clamping signal to the gain error calibration signal output module according to the reference level, which can increase the load carrying capacity of the reference level and reduce the offset error of the reference level; the gain error calibration signal output module generates an output gain error calibration signal according to the received high bias voltage, low bias voltage and clamping signal, and outputs the gain error calibration signal to the analog-to-digital conversion system, so that the gain error calibration signal can adjust the reference level of the analog-to-digital conversion system, and then adjust the amplitude of comparison, addition and subtraction inside the analog-to-digital conversion system, so that the analog-to-digital conversion system uses a large reference level when processing a large peak-to-peak value input analog signal, and uses a small reference level when processing a small peak-to-peak value input analog signal, so that the conversion efficiency of the analog-to-digital conversion system is adapted to input analog signals of various amplitudes, and the analog-to-digital conversion system can adapt to application scenarios with different input analog signal voltages, thereby improving the performance of the analog-to-digital conversion system. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A structural diagram of an error calibration circuit provided by an embodiment of the present invention;
[0018] Figure 2 A structural diagram of another error calibration circuit provided by an embodiment of the present invention;
[0019] Figure 3 A circuit diagram of an error calibration circuit provided by an embodiment of the present invention;
[0020] Figure 4 A structural diagram of an analog-to-digital conversion system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0021] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0022] Figure 1 A structural diagram of an error calibration circuit provided by an embodiment of the present invention, such as Figure 1 As shown, the circuit is applied to an analog-to-digital conversion system, and the circuit includes: a gain error control module 100, a clamping and driving module 300, and a gain error calibration signal output module 200;
[0023] The gain error control module 100 is connected to an external current source IIN for receiving a gain calibration digital control signal IC1. <n:0>, and is also used to calibrate the digital control signal IC1 according to the current generated by the external current source IIN and the gain <n:0>Generate a high bias voltage PB and a low bias voltage NB;
[0024] The clamping and driving module 300 is connected to the gain error calibration signal output module 200, and is used to receive a reference level VIN, and is also used to output a clamping signal VCF to the gain error calibration signal output module 200 according to the reference level VIN;
[0025] The gain error calibration signal output module 200 is connected to the gain error control module 100 and the analog-to-digital conversion system respectively, and is also used to receive the high bias voltage PB and the low bias voltage NB output by the gain control module, and is also used to output a gain error calibration signal VO1 to the analog-to-digital conversion system according to the clamp signal VCF, the high bias voltage PB and the low bias voltage NB. <m-2:0>.
[0026] In this embodiment, when it is found that the digital coding signal output by the analog-to-digital conversion system cannot meet the accuracy requirement, a gain calibration digital control signal IC1 is output to the gain error control module 100. <n:0>, the gain error control module 100 receives the gain calibration digital control signal IC1 <n:0>When the external current source IIN generates a current and gain calibration digital control signal IC1 <n:0>Generate a high bias voltage PB and a low bias voltage NB; the clamping and driving module 300 receives the reference level VIN and outputs the clamping signal VCF to the gain error calibration signal output module 200 according to the reference level VIN, which can increase the load carrying capacity of the reference level VIN and reduce the offset error of the reference level VIN; the gain error calibration signal output module 200 generates an output gain error calibration signal VO1 according to the received high bias voltage PB, low bias voltage NB and clamping signal VCF <m-2:0>, and output the gain error calibration signal VO1 to the analog-to-digital conversion system <m-2:0>, so that the gain error calibration signal VO1 <m-2:0>The reference level VIN of the analog-to-digital conversion system can be adjusted, and then the amplitude of comparison, addition and subtraction inside the analog-to-digital conversion system can be adjusted, so that the analog-to-digital conversion system uses a large reference level VIN when processing a large peak-to-peak value input analog signal, and uses a small reference level VIN when processing a small peak-to-peak value input analog signal. In this way, the conversion efficiency of the analog-to-digital conversion system is adapted to input analog signals of various amplitudes. The analog-to-digital conversion system can adapt to application scenarios with different input analog signal voltages, thereby improving the performance of the analog-to-digital conversion system.
[0027] Figure 2 A structural diagram of another error calibration circuit provided by an embodiment of the present invention, such as Figure 2 As shown, the circuit further includes: an offset error control module 400;
[0028] The offset error control module 400 is connected to the gain error control module 100 and the analog-to-digital conversion system respectively, and is used to receive the offset calibration digital control signal IC2 <n:0>, and is also used to receive the high bias voltage PB output by the gain error control module 100, and is also used to calibrate the digital control signal IC2 according to the high bias voltage PB and the offset <n:0>The offset error calibration signal VO2 is output to the analog-to-digital conversion system.
[0029] In this embodiment, when it is found that the digital code signal output by the analog-to-digital conversion system is offset, an offset calibration digital control signal IC2 is sent to the offset error control module 400. <n:0>, the offset error control module 400 receives the offset calibration digital control signal IC2 <n:0>The high bias voltage PB output by the gain module control module generates an offset error calibration signal VO2, and outputs the offset error calibration signal VO2 to the analog-to-digital conversion system, calibrates the input analog signal of the analog-to-digital conversion system, realizes that the offset error of the input analog signal can be adjusted, unifies the common mode of the output differential signal in the single-slip differential structure, and avoids sampling clipping.
[0030] Figure 3 A circuit diagram of an error calibration circuit provided by an embodiment of the present invention, such as Figure 3 As shown, the gain error control module 100 includes: a bias unit, a gain unit and at least one first digitally controlled current source unit IM1 <n:0>The bias unit is connected to the external current source IIN and is used to generate an internal bias signal according to the current generated by the external current source IIN; each of the first digitally controlled current source units IM1 <n:0>are respectively connected to the bias unit and are used to calibrate the digital control signal IC1 according to the received gain <n:0>and the internal bias signal emitted by the bias unit, inputs a gain error control current to the gain unit; the gain unit is also connected to the gain error calibration signal output module 200, and is used to output a high bias voltage PB and a low bias voltage NB to the gain error calibration signal output module 200 according to the gain error control current.
[0031] In this embodiment, the bias unit generates an internal bias signal according to the current generated by the external power supply, and the first digitally controlled current source unit obtains the gain current according to the internal bias signal. The first digitally controlled current source unit IM1 <n:0>Used to calibrate the digital control signal IC1 according to the received gain <n:0>When the gain calibration digital control signal controls the first digitally controlled current source unit to be turned on or off, the more the number of the first digitally controlled current source units turned on, the greater the gain error control current generated, that is, the first digitally controlled current source unit IM1 <n:0>Control the output gain error control current, and the gain unit sends the gain error calibration signal VO1 according to the gain current. <m-2:0>Output high bias voltage PB and low bias voltage NB to control the gain error calibration signal VO1 <m-2:0>size.
[0032] In another embodiment of the present invention, Figure 3 As shown, the bias unit includes: a first PMOS tube PM1; the gain unit includes: a second PMOS tube PM2, a first NMOS tube NM1 and a second NMOS tube NM2; the gate of the first PMOS tube PM1 is respectively connected to the drain and the at least one first digitally controlled current source unit IM1 <n:0>The first PMOS tube PM1 is connected to the first power supply terminal VDD and the source of the second PMOS tube PM2, respectively, and the drain of the first PMOS tube PM1 is connected to the first end of the external current source IIN; the gate of the second PMOS tube PM2 is connected to the drain and the gain error calibration signal output module 200, respectively, and the drain of the second PMOS tube PM2 is connected to the drain of the second NMOS tube NM2; the gate of the first NMOS tube NM1 is connected to the drain, the gate of the second NMOS tube NM2 and the gain error calibration signal output module 200, respectively, and the drain of the first NMOS tube NM1 is connected to the at least one first digitally controlled current source unit IM1. <n:0>The source of the first NMOS tube NM1 is grounded; the source of the second NMOS tube NM2 is grounded.
[0033] The first digitally controlled current source unit IM1 <n:0>The invention comprises: a third PMOS tube PM3 and a fourth PMOS tube PM4; the gate of the third PMOS tube PM3 is connected to the gate of the first PMOS tube PM1, the source of the third PMOS tube PM3 is connected to the second power supply terminal VDD, the drain of the third PMOS tube PM3 is connected to the source of the fourth PMOS tube PM4; the gate of the fourth PMOS tube PM4 is used to receive the gain calibration digital control signal IC1 <n:0>, the drain of the fourth PMOS tube PM4 is connected to the drain of the first NMOS tube NM1.
[0034] In this embodiment, the first PMOS transistor PM1 is connected in series with the external current source IIN to obtain current through the external current source IIN. <n:0>The third PMOS tube PM3 obtains current through the gate mirror of the first PMOS tube PM1, and the fourth PMOS tube PM4 receives the gain calibration digital control signal IC1. <n:0>Whether it is turned on controls whether to output current to the drain of the first NMOS tube NM1, thereby generating a gain current. The magnitude of the gain current is related to the first digitally controlled current source unit IM1. <n:0>The first digitally controlled current source unit IM1 that is turned on is related to the number of conducting <n:0>The more, the greater the gain current, the first digitally controlled current source unit IM1 <n:0>The number of settings can be set according to actual needs. The gate of the second PMOS tube PM2 outputs a high bias voltage PB, and the gate of the second NMOS tube NM2 outputs a low bias voltage NB. The magnitude of the gain current determines the magnitude of the high bias voltage PB and the low bias voltage NB.
[0035] In another embodiment of the present invention, the gain error calibration signal output module 200 includes: a fifth PMOS transistor PM5, M first resistors R1 and a third NMOS transistor NM3; the gate of the fifth PMOS transistor PM5 is connected to the gate of the second PMOS transistor PM2, the source of the fifth PMOS transistor PM5 is connected to the third power supply terminal VDD, and the drain of the fifth PMOS transistor PM5 is connected to the first end of the first first resistor R1; the M first resistors R1 are connected in series with each other, the second end of the Mth first resistor R1 is connected to the drain of the third NMOS transistor NM3, the second end of one of the first resistors R1 from the first first resistor R1 to the M-1th first resistor R1 is connected to the clamping and driving module 300 and receives the clamping signal VCF output by the clamping and driving module 300, and the second end of the first first resistor R1 to the second end of the M-1th first resistor R1 are respectively connected to the analog-to-digital conversion system and output the gain error calibration signal VO1 to the analog-to-digital conversion system. <m-2:0>The gate of the third NMOS tube NM3 is connected to the gate of the first NMOS tube NM1, and the source of the third NMOS tube NM3 is grounded.
[0036] In this embodiment, the gate of the third PMOS tube PM3 is used to receive the high bias voltage PB, and the gate of the third NMOS tube NM3 receives the low bias voltage NB. After the third PMOS tube PM3 and the third NMOS tube NM3 are turned on, current flows through the M first resistors R1 and generates a voltage. The second end of one of the first resistors R1 from the first first resistor R1 to the M-1th first resistor R1 is connected to the clamping and driving module 300 and receives the clamping signal VCF output by the clamping and driving module 300. The error gain calibration signal is output to the analog-to-digital conversion system through the second end of the first first resistor R1 to the second end of the M-1th first resistor R1. The size of the output error gain calibration signal can be changed by outputting the clamping signal VCF to the second end of one of the first resistors R1 from the first first resistor R1 to the M-1th first resistor R1.
[0037] In another embodiment of the present invention, the clamping and driving module 300 includes: a fourth NMOS transistor NM4, an operational amplifier A1 and a second resistor R2; the gate of the fourth NMOS transistor NM4 is connected to the output end of the operational amplifier A1, the drain of the fourth NMOS transistor NM4 is connected to the fourth power supply end VDD, and the source of the fourth NMOS transistor NM4 is respectively connected to the inverting input end of the operational amplifier A1 and the first end of the second resistor R2; the non-inverting input end of the operational amplifier A1 is used to receive a reference level VIN, and the inverting input end of the operational amplifier A1 is also connected to the second end of one of the first resistors R1 to the M-1th first resistor R1; the second end of the second resistor R2 is grounded.
[0038] In this embodiment, when the non-inverting input terminal of the operational amplifier A1 receives the reference level VIN, according to the virtual short, the inverting input terminal of the operational amplifier A1 outputs the clamping signal VCF to the second end of one of the first resistors R1 to the M-1th first resistor R1, and when connected to the second end of the first first resistor R1, the output gain error calibration signal VO1 <m-2:0>When connected to the second end of the second first resistor R1, the voltage of the third first resistor R1 is clamped to the reference voltage, and the voltage of the second first resistor R1 is higher than the voltage when connected to the second end of the first resistor, and so on. By setting the access position of the clamping signal VCF and the M first resistors R1, the output of the gain error calibration signal VO1 of different levels is controlled. <m-2:0>, to adjust the reference level VIN of the analog system, and then adjust the amplitude of comparison, addition and subtraction inside the analog-to-digital conversion system, so that the analog-to-digital conversion system uses a large reference level VIN when processing a large peak-to-peak value input analog signal, and uses a small reference level VIN when processing a small peak-to-peak value input analog signal, thereby making the conversion efficiency of the analog-to-digital conversion system adapt to input analog signals of various amplitudes.
[0039] In another embodiment of the present invention, Figure 3 As shown, the offset error control module 400 includes: a third resistor R3 and at least one second digitally controlled current unit; a first end of the third resistor R3 is connected to the at least one second digitally controlled current source unit IM2 respectively. <n:0>The output end of the third resistor R3 is connected to the ground; the at least one second digitally controlled current source unit IM2 <n:0>are respectively connected to the gain unit and are used to receive the offset calibration digital control signal IC2 <n:0>, and is also used to receive the high bias voltage PB output by the gain error control module 100, and is also used to calibrate the digital control signal IC2 according to the high bias voltage PB output by the gain unit and the offset <n:0>The offset calibration current is output and flows through the third resistor R3, so that the first end of the third resistor R3 outputs the offset error calibration signal VO2.
[0040] In this embodiment, the second digitally controlled current source unit IM2 <n:0>Receive the offset error calibration digital control signal and the high bias voltage PB output by the gain error control module 100, and adjust the offset error calibration digital control signal IC2 according to the high bias voltage PB and the offset error calibration digital control signal IC2. <n:0>Output offset calibration current, make current flow through the third resistor R3 to generate offset error calibration signal VO2 and output error offset calibration signal to analog-to-digital conversion system, the second digital control current source unit IM2 <n:0>The number of the second digitally controlled current source unit IM2 is set according to the actual needs. <n:0>The number of .
[0041] In another embodiment of the present invention, Figure 3 As shown, the second digitally controlled current source unit IM2 <n:0>The present invention comprises: a sixth PMOS tube PM6 and a seventh PMOS tube PM7; the gate of the sixth PMOS tube PM6 is connected to the gate of the second PMOS tube PM2, the source of the sixth PMOS tube PM6 is connected to the fifth power supply terminal VDD, the drain of the sixth PMOS tube PM6 is connected to the source of the seventh PMOS tube PM7; the gate of the seventh PMOS tube PM7 is used to receive the offset calibration digital control signal IC2 <n:0>, the drain of the seventh PMOS tube PM7 is connected to the first end of the third resistor R3.
[0042] In this embodiment, the gate of the sixth PMOS transistor PM6 is used to receive the high bias voltage PB to turn on, and the seventh PMOS transistor PM7 is turned on according to the received offset calibration digital control signal IC2. <n:0>is turned on or off, thereby controlling the magnitude of the current flowing through the third resistor R3 to control the magnitude of the offset error calibration signal VO2.
[0043] Figure 4 A structural diagram of an analog-to-digital conversion system provided by an embodiment of the present invention, such as Figure 4 As shown, the system includes the error calibration circuit, and the analog-to-digital conversion system also includes: a sampling and holding circuit and an analog-to-digital converter; the sampling and holding circuit is respectively connected to the offset error control module 400 and the analog-to-digital converter, and is used to input an analog signal, and is also used to receive the offset error calibration signal VO2 output by the offset error control module 400, and is also used to calibrate the input analog signal according to the offset error calibration signal VO2 and output the calibrated analog signal to the analog-to-digital converter; the analog-to-digital converter is also connected to the gain error calibration signal output module 200, and is used to receive the gain error calibration signal VO1 output by the gain error calibration signal output module 200. <m-2:0>, and is also used to calibrate the gain error signal VO1 according to the <m-2:0>Perform analog-to-digital conversion on the calibrated analog signal and output a digital coded signal.
[0044] In this embodiment, the sampling and holding circuit is used to input an analog signal, and calibrate the offset error of the input analog signal according to the offset error calibration signal VO2, and input the calibrated analog signal to the analog-to-digital converter; the analog-to-digital converter receives the gain error calibration signal VO1 output by the gain error calibration signal output module 200. <m-2:0>, and calibrate the gain error signal VO1 according to <m-2:0>The calibrated analog signal is converted into digital form and a digital coding signal is output, the gain error calibration signal VO1 is <m-2:0>The reference level VIN of the analog-to-digital conversion system can be adjusted, and then the amplitude of comparison, addition and subtraction inside the analog-to-digital conversion system can be adjusted, so that the analog-to-digital conversion system uses a large reference level VIN when processing a large peak-to-peak value input analog signal, and uses a small reference level VIN when processing a small peak-to-peak value input analog signal. In this way, the conversion efficiency of the analog-to-digital conversion system is adapted to input analog signals of various amplitudes. The analog-to-digital conversion system can adapt to application scenarios with different input analog signal voltages, thereby improving the performance of the analog-to-digital conversion system.
[0045] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "include one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements. Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that the technical solution of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution of the present invention, which should be included in the scope of the claims of the present invention.
Claims
1. An error calibration circuit, characterized in that: The circuit is applied to an analog-to-digital conversion system, and comprises: a gain error control module, a clamping and driving module, and a gain error calibration signal output module; The gain error control module is connected to the external current source, and is used to receive the gain calibration digital control signal, and is also used to generate a high bias voltage and a low bias voltage according to the current generated by the external current source and the gain calibration digital control signal; The clamping and driving module is connected to the gain error calibration signal output module, and is used to receive a reference level, and is also used to output a clamping signal to the gain error calibration signal output module according to the reference level; The gain error calibration signal output module is connected to the gain error control module and the analog-to-digital conversion system respectively, and is also used to receive the high bias voltage and the low bias voltage output by the gain error control module, and is also used to generate a gain error calibration signal according to the clamp signal, the high bias voltage and the low bias voltage and output the gain error calibration signal to the analog-to-digital conversion system.
2. An error calibration circuit as claimed in claim 1, characterized in that: The circuit further comprises: an offset error control module; The offset error control module is connected to the gain error control module and the analog-to-digital conversion system respectively, and is used to receive an offset calibration digital control signal, and is also used to receive a high bias voltage output by the gain error control module, and is also used to output an offset error calibration signal to the analog-to-digital conversion system according to the high bias voltage and the offset calibration digital control signal.
3. An error calibration circuit as claimed in claim 2, characterized in that: The gain error control module includes: a bias unit, a gain unit and at least one first digitally controlled current source unit; The bias unit is connected to an external current source and is used to generate an internal bias signal according to the current generated by the external current source; Each of the first digitally controlled current source units is respectively connected to the bias unit, and is used to input a gain error control current to the gain unit according to the received gain calibration digital control signal and the internal bias signal sent by the bias unit; The gain unit is also connected to the gain error calibration signal output module, and is used to output a high bias voltage and a low bias voltage to the gain error calibration signal output module according to the gain error control current.
4. An error calibration circuit as claimed in claim 3, characterized in that: The bias unit includes: a first PMOS tube; the gain unit includes: a second PMOS tube, a first NMOS tube and a second NMOS tube; The gate of the first PMOS tube is connected to the drain and the at least one first digitally controlled current source unit respectively, the source of the first PMOS tube is connected to the first power supply terminal and the source of the second PMOS tube respectively, and the drain of the first PMOS tube is connected to the first end of the external current source; The gate of the second PMOS tube is connected to the drain and the gain error calibration signal output module respectively, and the drain of the second PMOS tube is connected to the drain of the second NMOS tube; The gate of the first NMOS tube is respectively connected to the drain, the gate of the second NMOS tube and the gain error calibration signal output module, the drain of the first NMOS tube is respectively connected to the at least one first digitally controlled current source unit, and the source of the first NMOS tube is grounded; The source of the second NMOS tube is grounded.
5. An error calibration circuit as claimed in claim 4, characterized in that: The first digitally controlled current source unit includes: a third PMOS tube and a fourth PMOS tube; The gate of the third PMOS tube is connected to the gate of the first PMOS tube, the source of the third PMOS tube is connected to the second power supply terminal, and the drain of the third PMOS tube is connected to the source of the fourth PMOS tube; The gate of the fourth PMOS tube is used to receive the gain calibration digital control signal, and the drain of the fourth PMOS tube is connected to the drain of the first NMOS tube.
6. The error calibration circuit according to claim 4, characterized in that: The gain error calibration signal output module includes: a fifth PMOS tube, M first resistors and a third NMOS tube; The gate of the fifth PMOS tube is connected to the gate of the second PMOS tube, the source of the fifth PMOS tube is connected to the third power supply terminal, and the drain of the fifth PMOS tube is connected to the first end of the first first resistor; M first resistors are connected in series with each other, a second end of the Mth first resistor is connected to the drain of the third NMOS tube, a second end of one of the first resistors from the first first resistor to the M-1th first resistor is connected to the clamping and driving module and receives a clamping signal output by the clamping and driving module, and a second end of the first first resistor to the M-1th first resistor is respectively connected to the analog-to-digital conversion system and outputs a gain error calibration signal to the analog-to-digital conversion system; The gate of the third NMOS tube is connected to the gate of the first NMOS tube, and the source of the third NMOS tube is grounded.
7. An error calibration circuit as claimed in claim 6, characterized in that: The clamping and driving module includes: a fourth NMOS tube, an operational amplifier and a second resistor; The gate of the fourth NMOS tube is connected to the output end of the operational amplifier, the drain of the fourth NMOS tube is connected to the fourth power supply end, and the source of the fourth NMOS tube is respectively connected to the inverting input end of the operational amplifier and the first end of the second resistor; The non-inverting input terminal of the operational amplifier is used to receive a reference level, and the inverting input terminal of the operational amplifier is also connected to the second end of one of the first resistors from the first first resistor to the M-1th first resistor; A second terminal of the second resistor is grounded.
8. The error calibration circuit according to claim 4, characterized in that: The offset error control module includes: a third resistor and at least one second digitally controlled current source unit; The first end of the third resistor is respectively connected to the output end of the at least one second digitally controlled current source unit, and the second end of the third resistor is grounded; The at least one second digitally controlled current source unit is respectively connected to the gain unit, and is used to receive the offset calibration digital control signal, and is also used to receive the high bias voltage output by the gain error control module, and is also used to output an offset calibration current according to the high bias voltage output by the gain unit and the offset calibration digital control signal, and the current flows through the third resistor, so that the first end of the third resistor outputs an offset error calibration signal.
9. An error calibration circuit as claimed in claim 8, characterized in that: The second digitally controlled current source unit includes: a sixth PMOS tube and a seventh PMOS tube; The gate of the sixth PMOS tube is connected to the gate of the second PMOS tube, the source of the sixth PMOS tube is connected to the fifth power supply terminal, and the drain of the sixth PMOS tube is connected to the source of the seventh PMOS tube; The gate of the seventh PMOS tube is used to receive the offset calibration digital control signal, and the drain of the seventh PMOS tube is connected to the first end of the third resistor.
10. An analog-to-digital conversion system, characterized in that: The system comprises the error calibration circuit according to any one of claims 2 to 9, and the analog-to-digital conversion system further comprises: a sample-and-hold circuit and an analog-to-digital converter; The sampling and holding circuit is connected to the offset error control module and the analog-to-digital converter respectively, and is used to input an analog signal, receive an offset error calibration signal output by the offset error control module, calibrate the input analog signal according to the offset error calibration signal, and output the calibrated analog signal to the analog-to-digital converter; The analog-to-digital converter is also connected to the gain error calibration signal output module, used to receive the gain error calibration signal output by the gain error calibration signal output module, and also used to perform analog-to-digital conversion on the calibrated analog signal according to the gain error calibration signal and output a digital coding signal.
Citation Information
Patent Citations
Temperature coefficient adjustable band-gap reference source circuit based on operational amplifier
CN216596054U
Self-modulated voltage reference
US8547135B1
