WO2023005825A1 - Analog-to-digital converter, electric quantity measurement circuit, and battery management system - Google Patents

Analog-to-digital converter, electric quantity measurement circuit, and battery management system Download PDF

Info

Publication number
WO2023005825A1
WO2023005825A1 PCT/CN2022/107292 CN2022107292W WO2023005825A1 WO 2023005825 A1 WO2023005825 A1 WO 2023005825A1 CN 2022107292 W CN2022107292 W CN 2022107292W WO 2023005825 A1 WO2023005825 A1 WO 2023005825A1
Authority
WO
WIPO (PCT)
Prior art keywords
conversion
analog
modulator
signal
output
Prior art date
Application number
PCT/CN2022/107292
Other languages
French (fr)
Chinese (zh)
Inventor
陈敏
丁召明
Original Assignee
合肥市芯海电子科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 合肥市芯海电子科技有限公司 filed Critical 合肥市芯海电子科技有限公司
Publication of WO2023005825A1 publication Critical patent/WO2023005825A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/06Continuously compensating for, or preventing, undesired influence of physical parameters
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M3/00Conversion of analogue values to or from differential modulation

Definitions

  • the present application relates to the technical field of analog-to-digital conversion, in particular to an analog-to-digital converter, a power detection circuit and a battery management system.
  • ⁇ - ⁇ ADC Sigma-Delta Analog-to-Digital Converter
  • ⁇ - ⁇ ADC Sigma-Delta Analog-to-Digital Converter
  • embodiments of the present application provide an analog-to-digital converter, a power detection circuit, and a battery management system to solve the above technical problems.
  • An analog-to-digital converter including a modulator, an auxiliary conversion module, and an output module
  • the modulator is used to respectively convert input signals within a plurality of preset conversion periods, and output a first conversion result after each conversion, wherein The first conversion result includes a residual signal
  • the auxiliary conversion module is connected to the modulator, and is used to convert the residual signal of the last conversion cycle in the plurality of conversion cycles, and output the second conversion result
  • the output module is connected to the modulator and an auxiliary conversion module, configured to compensate the residual signal of the last conversion period according to the second conversion result, and output the final conversion result.
  • the embodiment of the present application also provides a power detection circuit, including the above-mentioned analog-to-digital converter, and the power detection circuit further includes a sampling circuit; one end of the sampling circuit is used for sampling the input voltage, and the other end is connected to the analog-to-digital converter.
  • An embodiment of the present application further provides a battery management system, including the above electric power detection circuit.
  • the embodiment of the present application also provides an analog-to-digital conversion method, which is applied to any one of the above-mentioned analog-to-digital converters.
  • the method includes converting the input signal respectively within a plurality of preset conversion cycles, and after each conversion Outputting a first conversion result, wherein the first conversion result includes a residual signal; converting the residual signal in a last conversion cycle among the plurality of conversion cycles, and outputting a second conversion result; and converting the last conversion result according to the second conversion result
  • the residual signal in the first conversion result of one conversion period is compensated, and the final conversion result is output.
  • FIG. 1 shows a block diagram of an analog-to-digital converter provided by an embodiment of the present application.
  • Fig. 2 shows an example diagram of an implementation manner of an analog-to-digital converter provided in an embodiment of the present application.
  • FIG. 3 shows an example diagram of a first-order incremental ⁇ - ⁇ ADC provided by an embodiment of the present application.
  • FIG. 4 shows a schematic circuit diagram of a power detection circuit provided by an embodiment of the present application.
  • FIG. 5 shows a schematic flowchart of an analog-to-digital conversion method provided by an embodiment of the present application.
  • Battery power monitoring is realized by fuel gauge, which is used to measure and display battery power. It usually includes remaining capacity, full capacity, percentage capacity, voltage, current, temperature, etc., and some fuel gauges also include emptying, full time, maximum chemical capacity, and impedance meters.
  • the fuel gauge obtains the charge (current*time) information by sampling the battery current with high precision within a specified time window, and realizes the dynamic refresh of key parameters such as battery power and impedance meter by measuring the open circuit voltage and combining the two information.
  • ⁇ - ⁇ ADC Sigma-Delta Analog-to-Digital Converter
  • ⁇ - ⁇ ADC uses complex digital decimation filtering Therefore, it cannot meet the requirements of ADCs used in instrumentation and sensor measurement fields.
  • the dual-slope ADC has better low offset and precise gain, it requires 2N+1 quantization cycles to achieve N Bit quantization accuracy, and requires the analog circuit to have good matching accuracy. Due to the limitations of the number of quantization cycles and the matching accuracy of analog devices, dual-slope ADCs cannot meet the requirements of high-precision ADCs. Incremental ⁇ - ⁇ ADC can well meet the application conditions in the field of instrumentation and sensor measurement. Therefore, the incremental ⁇ - ⁇ ADC is widely used in the battery power monitoring system because it can accurately collect the voltage/current signal of the battery.
  • the low-order incremental ⁇ - ⁇ ADC has high measurement accuracy for AC signals, fast dynamic response and low power consumption; however, it has large quantization errors for DC signal measurement accuracy.
  • the mobile phone battery power monitoring system has high requirements on power consumption, and the battery current needs to respond quickly to fluctuations with the load. It usually uses a low-order incremental ⁇ - ⁇ ADC with lower power consumption. Therefore, how to improve the signal measurement accuracy of the low-order incremental ⁇ - ⁇ ADC, especially the measurement accuracy of the DC signal, is an urgent problem to be solved by those skilled in the art.
  • the embodiment of the present application provides an analog-to-digital converter, a power detection circuit, a battery management system, and an analog-to-digital conversion method.
  • the analog-to-digital converter includes a modulator, an auxiliary conversion module, and an output module.
  • the modulator is used to respectively convert the input signal within a plurality of preset conversion periods, and output a first conversion result after each conversion, wherein the first conversion result includes a residual signal;
  • the auxiliary conversion module is connected to the a modulator, configured to convert the residual signal of the last conversion period among the plurality of conversion periods, and output a second conversion result;
  • the output module is connected to the modulator and the auxiliary conversion module, and Compensating the residual signal of the last conversion cycle according to the second conversion result, and outputting a final conversion result.
  • the auxiliary conversion module converts the input signal simultaneously with the modulator in the last conversion cycle of the modulator, and compensates the residual signal of the last conversion cycle according to the second conversion result, thereby improving the analog-to-digital converter accuracy.
  • an embodiment of the present application provides an analog-to-digital converter 100 .
  • the ADC 100 includes a modulator 110 , an auxiliary conversion module 120 and an output module 130 .
  • the modulator 110 is used to respectively convert the input signal within a plurality of preset conversion periods, and output a first conversion result after each conversion, wherein the first conversion result includes a residual signal; the auxiliary conversion module 120 is connected to the modulation
  • the device 110 is used to convert the residual signal of the last conversion cycle among the multiple conversion cycles, and output the second conversion result;
  • the output module 130 is connected to the modulator 110 and the auxiliary conversion module 120, and is used for according to the first
  • the second conversion result compensates the residual signal of the last conversion cycle, and outputs the final conversion result.
  • Modulator 110 is an incremental sigma-delta modulator.
  • the analog-to-digital converter 100 samples the input signal according to the sampling clock, and sends the input signal to the modulator 110, and the modulator 110 receives the input signal and converts the input signal.
  • the modulator 110 may convert the input signal at least once.
  • the input signal may be, but not limited to, an AC signal or a DC signal.
  • complete conversion cycles all the conversion cycles in the preset plurality of conversion cycles are referred to as "complete conversion cycles" hereinafter.
  • the first conversion result output by the modulator 110 each time includes a residual signal, which is related to the conversion error of the modulator 110 .
  • the modulator converts the input signal sampled in the current conversion period and the accumulated conversion error of each previous conversion period to obtain the first conversion result, so the residual signal in the first conversion result corresponds to The superposition of the conversion errors of the conversion cycles preceding the current conversion cycle.
  • the residual signal in the first conversion result output by the modulator 110 in the i-th cycle corresponds to the accumulated conversion error of the modulator 110 in the previous i-1 cycles , where 1 ⁇ i is less than or equal to n.
  • the first conversion result output by the modulator 110 is a code value
  • the code value may correspond to a voltage value, which is the voltage corresponding to the input signal deduced according to the first conversion result of the modulator 110
  • the value is called the theoretical value of the input signal
  • the difference between the theoretical value and the actual value of the input signal is the conversion error of the modulator 110 .
  • the residual signal of the last conversion period corresponds to the superposition of the conversion error of the modulator 110 in the complete conversion period, that is, the difference between the voltage value corresponding to the first conversion result of the last conversion period and the actual voltage value of the input signal.
  • the conversion error is 0.1V.
  • the conversion result of the first conversion cycle corresponds to a voltage value of 1.1V, and the conversion error is 0.1V;
  • the conversion result of the second conversion cycle corresponds to a voltage value of 0.8 V, the conversion error is -0.2V; the conversion errors of the first two conversion cycles are superimposed to -0.1V, and the conversion error corresponding to the residual signal output in the third conversion cycle is -0.1V.
  • the auxiliary conversion module 120 starts when the modulator 110 converts the input signal for the last time. At this time, in the last conversion cycle of the modulator 110, the auxiliary conversion module 120 converts the residual signal, and then outputs the second Convert the result.
  • the residual signal in the first conversion result output by the modulator 110 in the last conversion cycle corresponds to the superposition of the reset cycle and the conversion errors in the previous n-1 conversion cycles
  • the superposition of the conversion errors The value divided by n is the final conversion error of the modulator, so the residual signal of the last conversion cycle can be used to characterize the final conversion error of the modulator.
  • the auxiliary conversion module 120 converts the residual signal at the last conversion of the modulator 110, so the output module 130 compensates the residual signal in the first conversion result of the last conversion cycle according to the second conversion result, which is equivalent to modulating Therefore, the conversion error of the final conversion result output by the output module 130 is smaller than the conversion error of the first conversion result output by the modulator 110 , thereby improving the conversion accuracy of the analog-to-digital converter 100 . Meanwhile, since the auxiliary conversion module 120 is started only in the last conversion cycle of the modulator 110 , the auxiliary conversion module 120 basically does not increase the power consumption of the ADC 100 , so that the power consumption of the ADC 100 can be kept low.
  • the analog-to-digital converter 100 converts the residual signal through the auxiliary conversion module 120 when the modulator 110 converts the input signal for the last time, and outputs the second conversion result; and is connected to the modulator through the output module 130
  • the converter 110 and the auxiliary conversion module 120 are used to compensate the residual signal in the first conversion result of the last conversion cycle according to the second conversion result, so that the final conversion result output by the output module 130 is compared to the modulator
  • the conversion error of the first conversion result output by 110 is smaller, so as to improve conversion precision while maintaining low power consumption of the analog-to-digital converter 100 .
  • the modulator 110 includes an integrator 111, a main quantizer 112, and a digital-to-analog converter 113; wherein, the integrator 111 is an incremental ⁇ - ⁇ modulation integrator, and the integrator 111 It is used to integrate the difference between the input signal and the output signal of the digital-to-analog converter 113 in each conversion cycle to output the integral signal; the main quantizer 112 is connected to the integrator 111 and is used to quantize the integral signal to output The first conversion result; the digital-to-analog converter 113 is connected to the main quantizer 112 output terminal and the input terminal of the integrator 111 to form a feedback path, and the digital-to-analog converter 113 is used to generate an output signal according to the first conversion result, and output The signal is fed back to the integrator 111 .
  • the integrator 111 is an incremental ⁇ - ⁇ modulation integrator, and the integrator 111 It is used to integrate the difference between the input signal and the output signal of the digital-to-analog
  • the modulator 110 further includes a first gain module 114 , a second gain module 115 and a third gain module 116 .
  • the input end of the first gain module 114 is used to receive the input signal, and the output end is connected to the input end of the integrator 111;
  • the second gain module 115 is arranged between the integrator 111 and the main quantizer 112, and the second gain module 115 The input end of is connected to the output end of the integrator 111, and the output end is connected to the input end of the main quantizer 112;
  • the third gain module 116 is arranged in the feedback path, and the input end of the third gain module 116 is connected to the digital-to-analog converter 113 The output terminal of is connected to the input terminal of the integrator 111. Since the first conversion result output by the modulator 110 is the quantization result of the main quantizer 112, the conversion error of the modulator 110 is referred to as "quantization error" hereinafter.
  • the main quantizer 112 is a first-order single-bit quantizer, that is, the number of bits of the main quantizer 112 is 1, and the output code value of the main quantizer 112 is 0 or 1.
  • the main quantizer 112 can be implemented using a comparator.
  • the digital-to-analog converter 113 outputs a corresponding feedback voltage according to the output code value of the main quantizer 112 . For example, when the output code value of the main quantizer 112 is 1, the DAC 113 outputs the first feedback voltage, and when the output code value of the main quantizer 112 is 0, the DAC 113 outputs the second feedback voltage.
  • the modulator 110 is a ⁇ - ⁇ modulator, its sampling and conversion frequency is much higher than the frequency of the input signal, and the tracking performance of the above feedback loop will make the voltage value corresponding to the first conversion result and the voltage value of the input signal
  • the long-term average value of the difference tends to zero, that is, the average quantization error or the superimposed quantization error will tend to zero after multiple transformations.
  • the first conversion result gradually approaches the input value, thereby realizing analog-to-digital conversion.
  • the auxiliary conversion module 120 is used to supplement the quantization error of the modulator 110 to improve the conversion accuracy of the analog-to-digital converter 100 .
  • the auxiliary conversion module 120 includes a clock generation circuit 121 and an auxiliary quantizer 122 .
  • the clock generation circuit 121 is used to output a clock signal
  • the clock frequency of the clock signal is an integer multiple of the switching frequency of the modulator 110.
  • the auxiliary quantizer 122 is connected to the clock generation circuit 121 and the modulator 110, and is used for performing quantization conversion on the residual signal of the last conversion period, and outputting a second conversion result.
  • the input end of the auxiliary quantizer 122 is connected to the input end of the main quantizer 112, and starts to work when the main quantizer 112 quantizes the input signal for the last time, and the auxiliary quantizer 122 synchronizes with the main quantizer 112 to the second quantizer.
  • the output signal of the gain block 115 is quantized.
  • the first conversion result obtained by the main quantizer 112 after the last quantization is different from the input signal, and the difference between the first conversion result and the input signal is the residual signal; at this time, when the auxiliary quantizer 122 is in the main
  • the quantizer 112 starts quantization synchronously at the last quantization, and the auxiliary quantizer 122 quantizes the residual signal.
  • the conversion rate of the auxiliary conversion module 120 is an integer multiple of the conversion rate of the modulator 110, that is, the auxiliary quantizer 122 uses the aforementioned clock signal as a high-frequency reference clock, and the quantization rate of the auxiliary quantizer 122 is the main quantizer.
  • the auxiliary quantizer 122 quantizes the residual signal at a quantization rate that is an integral multiple of the quantization rate of the main quantizer 112, and the number of quantization times of the auxiliary quantizer 122 is equal to that of the main quantizer 112.
  • the auxiliary quantizer 122 and the main quantizer 112 output quantization information synchronously, and the number of code values output by the auxiliary quantizer 122 is an integer multiple of the number of code values output by the main quantizer 112 during the last quantization. For example, if the quantization rate of the auxiliary quantizer 122 is twice the quantization rate of the main quantizer 112, the main quantizer 112 outputs one code value and the auxiliary quantizer 122 outputs two code values during the last quantization. It can be understood that the quantization information output by the auxiliary quantizer 122 is also the second conversion result output by the auxiliary conversion module 120 .
  • the output module 130 includes a digital integration filter 131 , an error compensation module 132 and a weighting module 133 .
  • the digital integration filter 131 is connected to the modulator 110, and is used for filtering the first conversion result;
  • the error compensation module 132 is connected to the auxiliary quantizer 122, and is used for converting the second conversion result into an error compensation signal;
  • the weighting module 133 It is connected to the digital integration filter 131 and the error compensation module 132, and is used for performing equivalent processing on the error compensation signal and superimposing it with the first conversion result, and outputting the final conversion result.
  • the digital integration filter 131 is connected to the output end of the main quantizer 112 to digitally filter the quantized information output by the main quantizer 112 .
  • the digital integration filter 131 may be a low-order digital integration filter 131 or a high-order digital integration filter 131 , and the order of the digital integration filter 131 is not limited in this embodiment.
  • the digital integration filter 131 may be used to calculate an average value of multiple first conversion results output by the main quantizer within a complete conversion period, and the average value represents the final quantization result of the main quantizer 112 .
  • the digital integration filter 131 can be implemented by digital circuits or software.
  • the weighting module 133 performs further equivalent processing on the error compensation signal output by the error compensation module 132 , and weights the processed error compensation signal to the digital integration filter 131 .
  • the quantization rate of the auxiliary quantizer 122 is an integral multiple of the quantization rate of the main quantizer 112
  • the number of code values (ie, the number of bits) output by the auxiliary quantizer 122 is equal to that of the main quantizer.
  • 112 is a multiple of the number of code values output by 112.
  • the weighting module 133 performs equivalent processing on the code values output by the auxiliary quantizer 122 according to the number of bits of the main quantizer 112, so that the second conversion result output by the auxiliary quantizer 122 is Can be weighted with the first conversion result output by the main quantizer 112 .
  • the weighting module 133 can perform equivalent processing on the error compensation signal by the following formula.
  • V q-comp is the equivalent error compensation signal
  • V D is the error compensation signal
  • V ref is the reference voltage of the digital-to-analog converter 113
  • PGA is the gain of the modulator 110
  • n is the cycle number of multiple conversion cycles.
  • the weighting module 133 converts the equivalent error compensation signal into a digital signal and accumulates it in the digital integration filter 131, so as to weight the first conversion result output by the main quantizer 112 and output the final conversion result.
  • the final conversion result is due to the compensation effect of the equivalent error compensation signal, and its quantization error is smaller than the first conversion result output by the main quantizer 112.
  • the auxiliary quantizer 122 is only started when the main quantizer 112 is quantized for the last time, In this way, the sampling accuracy and linearity of the analog-to-digital converter 100 are effectively improved, the influence of quantization errors is reduced, and the accuracy is improved without increasing power consumption while maintaining fast dynamic response capability.
  • the analog-to-digital converter 100 also includes a reset circuit (not shown in the figure).
  • the reset circuit is used for resetting the analog-to-digital converter 100 in each conversion period of the modulator 110 before converting the input signal, so as to eliminate last quantization information of the analog-to-digital converter 100 .
  • the reset circuit can reset the main quantizer 112 , the auxiliary quantizer 122 and the digital integration filter 131 .
  • V 1 [0] 0 (1)
  • V 1 [0] is the output signal of the second gain module 115 in the reset phase, and the reset phase is referred to as the 0th conversion hereinafter.
  • V 1 [1] (V 1 [0]+a1*Vin[0]-b1*Vref*D[0])*a2 (2);
  • V 1 [1] (a1*Vin[0]-b1*Vref*D[0])*a2 (3);
  • V 1 [1] is the output signal of the second gain module 115 in the first conversion period (ie, during the first conversion); a1 is the gain of the first gain module 114; Vin[0] is the input signal in the reset phase b1 is the gain of the third gain module 116; Vref is the reference signal of the digital-to-analog converter 113; D[0] is the code value output by the main quantizer 112 in the reset stage.
  • V 1 [2] (V 1 [1]+a1*Vin[1]-b1*Vref*D[1])*a2 (4);
  • V 1 [2] [a1*(Vin[1]+Vin[0])-b1*Vref*(D[1]+D[0])]*a2 (5) ;
  • V 1 [2] is the output signal of the second gain module 115 in the second conversion period (that is, during the second conversion); Vin[1] is the input sampled by the analog-to-digital converter 100 in the first conversion period signal; D[1] is the code value output by the main quantizer 112 during the first conversion.
  • V 1 [n] is the output signal of the second gain module 115 during the nth conversion; Vin[k] is the input signal; D[k] is the digital integral filter.
  • the input signal Vin satisfies the following formula:
  • Vq [V 1 [n]/(b1*a2)]/(n*PGA).
  • Vin' is the input voltage corresponding to the final conversion result of the main quantizer 112 and the theoretical value of the input voltage;
  • Vq is the residual error of the first conversion result, that is, the difference between the theoretical value and the actual input voltage.
  • the output range of the main quantizer 112 is -Vref ⁇ +Vref, and the quantization level is defined as 4 intervals.
  • the analog-to-digital converter provided in the embodiment of the present application includes a modulator, an auxiliary conversion module, and an output module.
  • the modulator is used to convert the input signal respectively within a plurality of preset conversion cycles, and output the first converted signal after each conversion.
  • the first conversion result includes a residual signal
  • the auxiliary conversion module is connected to the modulator, and is used to convert the residual signal of the last conversion period among the plurality of conversion periods, and output The second conversion result
  • the output module is connected to the modulator and the auxiliary conversion module, and is used to compensate the residual signal of the last conversion cycle according to the second conversion result, and output the final conversion result.
  • the auxiliary conversion module converts the input signal simultaneously with the modulator in the last conversion cycle of the modulator, and compensates the residual signal of the last conversion cycle according to the second conversion result, thereby improving the analog-to-digital converter accuracy.
  • the embodiment of the present application also provides a power detection circuit 200 .
  • the power detection circuit 200 includes a sampling circuit 210 and the above-mentioned analog-to-digital converter 100 . Wherein, one end of the sampling circuit 210 is used for sampling the input signal, and the other end is connected to the analog-to-digital converter 100 .
  • the sampling circuit 210 includes a first resistor R1, a second resistor R2, a third resistor R3 and a capacitor C1.
  • the first end of the first resistor R1 is connected to the first end of the second resistor R2, and the second end is connected to the first end of the third resistor R3;
  • the two ends of the first resistor R1 are also respectively connected to the two ends of the battery BAT end;
  • the first end of the capacitor C1 is connected to the second end of the second resistor R2, and the second end is connected to the second end of the third resistor R3;
  • the second end of the second resistor R2 is connected to the second end of the third resistor R3 connected to the analog-to-digital converter.
  • the sampling circuit 210 can sample the voltage of the battery BAT, convert the sampled signal into a differential signal, and input it to the analog-to-digital converter for high-precision measurement.
  • the power detection circuit provided in this embodiment includes a modulator, an auxiliary conversion module, and an output module, and the modulator is used to respectively convert the input signal within a plurality of preset conversion cycles, and output the first conversion result after each conversion,
  • the first conversion result includes a residual signal
  • the auxiliary conversion module is connected to the modulator, and is used to convert the residual signal of the last conversion period among the plurality of conversion periods, and output a second
  • the conversion result: the output module is connected to the modulator and the auxiliary conversion module, and is used for compensating the residual signal of the last conversion cycle according to the second conversion result, and outputting a final conversion result.
  • the auxiliary conversion module converts the input signal simultaneously with the modulator in the last conversion cycle of the modulator, and compensates the residual signal of the last conversion cycle according to the second conversion result, thereby improving the analog-to-digital converter accuracy.
  • An embodiment of the present application further provides a battery management system, which includes the above electric power detection circuit.
  • the embodiment of the present application also provides an analog-to-digital conversion method 300 , which can be applied to incremental ⁇ - ⁇ ADCs.
  • the analog-to-digital conversion method 300 includes the following steps S310 to S330 .
  • Step S310 Convert the input signal respectively within a plurality of preset conversion periods, and output a first conversion result after each conversion, wherein the first conversion result includes a residual signal.
  • the analog-to-digital converter samples the input signal according to the sampling clock, and converts the input signal.
  • the analog-to-digital converter converts the input signal at least once per sample.
  • Each first conversion result includes a residual signal that is related to the conversion error.
  • the input signal sampled in the current conversion cycle is converted with the accumulated conversion error of each previous conversion cycle to obtain the first conversion result, so the residual signal in the first conversion result corresponds to the current conversion The superposition of the conversion errors of the individual conversion cycles preceding the cycle.
  • the residual signal in the first conversion result output by the modulator 110 in the i-th cycle corresponds to the accumulated conversion error of the modulator 110 in the previous i-1 cycles , where 1 ⁇ i is less than or equal to n.
  • Step S320 In the last conversion cycle among the plurality of conversion cycles, perform auxiliary conversion on the residual signal, and output a second conversion result.
  • auxiliary conversion may be performed on the residual signal at the same time.
  • an additional auxiliary conversion module may be started in the last cycle of the analog-to-digital converter, and the residual signal may be auxiliary quantized synchronously with the analog-to-digital converter, so as to obtain the second conversion result.
  • Step S330 Compensate the residual signal in the first conversion result of the last conversion cycle according to the second conversion result, and output the final conversion result.
  • the conversion error of the last conversion cycle corresponds to the superposition of the reset cycle and the conversion errors in the previous n-1 conversion cycles
  • the conversion error The superposition value divided by n is the final conversion error
  • the residual signal of the last conversion cycle can be used to characterize the final conversion error.
  • Auxiliary conversion is performed on the residual signal at the last conversion, so the residual signal in the first conversion result of the last conversion cycle can be compensated according to the second conversion result, which is equivalent to compensation for the final conversion error, so the final conversion
  • the conversion error of the result is smaller than the conversion error of the first conversion result, thereby improving the conversion accuracy of the analog-to-digital converter.
  • the analog-to-digital conversion method converts the input signal respectively within a plurality of preset conversion periods, and outputs a first conversion result after each conversion, wherein the first conversion result includes a residual signal; and performing auxiliary conversion on the residual signal in the last conversion cycle of the plurality of conversion cycles, and outputting a second conversion result; then compensating the residual signal in the first conversion result of the last conversion cycle according to the second conversion result, And output the final conversion result, thereby improving the precision of the analog-to-digital converter.

Abstract

Embodiments of the present application provide an analog-to-digital converter, an electric quantity measurement circuit, and an analog-to-digital conversion method. The analog-to-digital converter comprises a modulator, an auxiliary conversion module, and an output module. The modulator is used for converting an input signal in a preset plurality of conversion periods, and outputting a first conversion result after each conversion, the first conversion result comprising a residual signal. The auxiliary conversion module is connected to the modulator, and used for converting the residual signal in the last conversion period among the plurality of conversion periods, and outputting a second conversion result. The output module is connected to the modulator and the auxiliary conversion module, and used for compensating for the residual signal in the last conversion period according to the second conversion result, and outputting a final conversion result.

Description

模数转换器、电量检测电路以及电池管理系统Analog-to-digital converter, power detection circuit and battery management system
相关申请的交叉引用Cross References to Related Applications
本申请要求于2021年7月30日提交的申请号为2021108717582的中国申请的优先权,其在此处于所有目的通过引用将其全部内容并入本文。This application claims priority to Chinese application No. 2021108717582 filed on July 30, 2021, which is hereby incorporated by reference in its entirety for all purposes.
技术领域technical field
本申请涉及模拟数字转换技术领域,具体涉及一种模数转换器、电量检测电路以及电池管理系统。The present application relates to the technical field of analog-to-digital conversion, in particular to an analog-to-digital converter, a power detection circuit and a battery management system.
背景技术Background technique
近年来,随着超大规模集成电路制造水平的提高,Σ-ΔADC(Sigma-Delta Analog-to-Digital Converter,Σ-Δ模数转换器)正以其分辨率高、线性度好、成本低等特点得到越来越广泛的应用。低阶增量式Σ-ΔADC对交流信号的测量精度高、动态响应快且功耗低;但是其对直流信号测量精度量化误差较大。因此,如何提高低阶增量式Σ-ΔADC对信号,特别是直流信号的测量精度,是本领域技术人员亟待解决的问题。In recent years, with the improvement of VLSI manufacturing level, Σ-ΔADC (Sigma-Delta Analog-to-Digital Converter, Σ-ΔADC) is becoming more and more popular with its high resolution, good linearity and low cost. Features are more and more widely used. The low-order incremental Σ-Δ ADC has high measurement accuracy for AC signals, fast dynamic response and low power consumption; however, it has large quantization errors for DC signal measurement accuracy. Therefore, how to improve the measurement accuracy of low-order incremental Σ-Δ ADCs for signals, especially DC signals, is an urgent problem to be solved by those skilled in the art.
发明内容Contents of the invention
鉴于以上问题,本申请实施例提供一种模数转换器、电量检测电路以及电池管理系统,以解决上述技术问题。In view of the above problems, embodiments of the present application provide an analog-to-digital converter, a power detection circuit, and a battery management system to solve the above technical problems.
本申请实施例是采用以下技术方案实现的:The embodiment of the present application is realized by adopting the following technical solutions:
一种模数转换器,包括调制器、辅助转换模块以及输出模块,调制器用于在预设的多个转换周期内分别对输入信号进行转换,并在每次转换后输出第一转换结 果,其中第一转换结果包括残差信号;辅助转换模块连接于调制器,用于对多个转换周期中的最后一个转换周期的残差信号进行转换,并输出第二转换结果;输出模块连接于调制器以及辅助转换模块,且用于根据第二转换结果对最后一个转换周期的残差信号进行补偿,并输出最终转换结果。An analog-to-digital converter, including a modulator, an auxiliary conversion module, and an output module, the modulator is used to respectively convert input signals within a plurality of preset conversion periods, and output a first conversion result after each conversion, wherein The first conversion result includes a residual signal; the auxiliary conversion module is connected to the modulator, and is used to convert the residual signal of the last conversion cycle in the plurality of conversion cycles, and output the second conversion result; the output module is connected to the modulator and an auxiliary conversion module, configured to compensate the residual signal of the last conversion period according to the second conversion result, and output the final conversion result.
本申请实施例还提供一种电量检测电路,包括上述的模数转换器,电量检测电路还包括采样电路;采样电路一端用于采样输入电压,另一端连接于模数转换器。The embodiment of the present application also provides a power detection circuit, including the above-mentioned analog-to-digital converter, and the power detection circuit further includes a sampling circuit; one end of the sampling circuit is used for sampling the input voltage, and the other end is connected to the analog-to-digital converter.
本申请实施例还提供一种电池管理系统,包括上述的电量检测电路。An embodiment of the present application further provides a battery management system, including the above electric power detection circuit.
本申请实施例还提供一种模数转换方法,应用于上述任一项的模数转换器,该方法包括在预设的多个转换周期内分别对输入信号进行转换,并在每次转换后输出第一转换结果,其中第一转换结果包括残差信号;在多个转换周期中的最后一个转换周期,对残差信号进行转换,并输出第二转换结果;以及根据第二转换结果对最后一个转换周期的第一转换结果中的残差信号进行补偿,并输出最终转换结果。The embodiment of the present application also provides an analog-to-digital conversion method, which is applied to any one of the above-mentioned analog-to-digital converters. The method includes converting the input signal respectively within a plurality of preset conversion cycles, and after each conversion Outputting a first conversion result, wherein the first conversion result includes a residual signal; converting the residual signal in a last conversion cycle among the plurality of conversion cycles, and outputting a second conversion result; and converting the last conversion result according to the second conversion result The residual signal in the first conversion result of one conversion period is compensated, and the final conversion result is output.
本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These or other aspects of the present application will be more concise and understandable in the description of the following embodiments.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1示出了本申请实施例提供的一种模数转换器的模块框图。FIG. 1 shows a block diagram of an analog-to-digital converter provided by an embodiment of the present application.
图2示出了本申请实施例提供的模数转换器的一种实施方式示例图。Fig. 2 shows an example diagram of an implementation manner of an analog-to-digital converter provided in an embodiment of the present application.
图3示出了本申请实施例提供的一种一阶增量式Σ-ΔADC的示例图。FIG. 3 shows an example diagram of a first-order incremental Σ-Δ ADC provided by an embodiment of the present application.
图4示出了本申请实施例提供的一种电量检测电路的电路示意图。FIG. 4 shows a schematic circuit diagram of a power detection circuit provided by an embodiment of the present application.
图5示出了本申请实施例提供的一种模数转换方法的流程示意图。FIG. 5 shows a schematic flowchart of an analog-to-digital conversion method provided by an embodiment of the present application.
具体实施方式Detailed ways
下面详细描述本申请的实施方式,实施方式的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施方式是示例性地,仅用于解释本申请,而不能理解为对本申请的限制。Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for explaining the present application and should not be construed as limiting the present application.
为了使本技术领域的人员更好地理解本申请的方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整的描述。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Apparently, the described embodiments are only some of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of this application.
随着快充和5G(5th generation mobile networks,第五代移动通信技术)的普及,需要精确手机电池电量监测功能,电池电量监测是通过电量计实现的,电量计是用来计量显示电池电量,通常包括剩余容量、满充容量、百分比容量、电压、电流、温度等,部分电量计还包含放空、充满时间、最大化学容量以及阻抗表。电量计通过对电池的电流在指定时间窗口内进行高精度采样得到电荷(电流*时间)信息,通过测量开路电压,结合两者信息实现电池电量和阻抗表等关键参数的动态刷新。With the popularization of fast charging and 5G (5th generation mobile networks, fifth-generation mobile communication technology), accurate mobile phone battery power monitoring function is required. Battery power monitoring is realized by fuel gauge, which is used to measure and display battery power. It usually includes remaining capacity, full capacity, percentage capacity, voltage, current, temperature, etc., and some fuel gauges also include emptying, full time, maximum chemical capacity, and impedance meters. The fuel gauge obtains the charge (current*time) information by sampling the battery current with high precision within a specified time window, and realizes the dynamic refresh of key parameters such as battery power and impedance meter by measuring the open circuit voltage and combining the two information.
传统的Σ-ΔADC(Sigma-Delta Analog-to-Digital Converter,Σ-Δ模数转换器)不具有精确的自动增益控制,没有消除Offset(偏移)的措施,并且使用结构复杂的数字抽取滤波器,因此不能满足用于仪器仪表和传感测量领域的ADC的要求。虽然双斜ADC具有较好的低Offset和精确增益,但是其需要2N+1个量化周期数实现N Bit的量化精度,同时要求模拟电路具有良好的匹配精度。由于量化周期数和模拟器件匹配精度的限制,双斜ADC无法满足高精度ADC要求。增量式Σ-ΔADC 可以很好的满足仪器仪表和传感测量领域的应用条件。因此,增量式Σ-ΔADC因可实现对电池的电压/电流信号精确采集被广泛用在电池电量监测系统。The traditional Σ-ΔADC (Sigma-Delta Analog-to-Digital Converter, Σ-ΔADC) does not have accurate automatic gain control, does not eliminate Offset (offset) measures, and uses complex digital decimation filtering Therefore, it cannot meet the requirements of ADCs used in instrumentation and sensor measurement fields. Although the dual-slope ADC has better low offset and precise gain, it requires 2N+1 quantization cycles to achieve N Bit quantization accuracy, and requires the analog circuit to have good matching accuracy. Due to the limitations of the number of quantization cycles and the matching accuracy of analog devices, dual-slope ADCs cannot meet the requirements of high-precision ADCs. Incremental Σ-ΔADC can well meet the application conditions in the field of instrumentation and sensor measurement. Therefore, the incremental Σ-ΔADC is widely used in the battery power monitoring system because it can accurately collect the voltage/current signal of the battery.
低阶增量式Σ-ΔADC对交流信号的测量精度高、动态响应快且功耗低;但是其对直流信号测量精度量化误差较大。而手机电池电量监测系统对功耗要求高,电池电流随负载波动需要快速响应,其通常使用具有较低功耗的低阶增量式Σ-ΔADC。因此,如何提高低阶增量式Σ-ΔADC对信号的测量精度,特别是直流信号的测量精度,是本领域技术人员亟待解决的问题。The low-order incremental Σ-Δ ADC has high measurement accuracy for AC signals, fast dynamic response and low power consumption; however, it has large quantization errors for DC signal measurement accuracy. The mobile phone battery power monitoring system has high requirements on power consumption, and the battery current needs to respond quickly to fluctuations with the load. It usually uses a low-order incremental Σ-ΔADC with lower power consumption. Therefore, how to improve the signal measurement accuracy of the low-order incremental Σ-Δ ADC, especially the measurement accuracy of the DC signal, is an urgent problem to be solved by those skilled in the art.
经过发明人的长期研究与验证,本申请实施例提供一种模数转换器、电量检测电路、电池管理系统以及模数转换方法,该模数转换器包括调制器、辅助转换模块以及输出模块,调制器用于在预设的多个转换周期内分别对输入信号进行转换,并在每次转换后输出第一转换结果,其中所述第一转换结果包括残差信号;辅助转换模块连接于所述调制器,用于对所述多个转换周期中的最后一个转换周期的所述残差信号进行转换,并输出第二转换结果;输出模块连接于所述调制器以及所述辅助转换模块,且用于根据所述第二转换结果对所述最后一个转换周期的所述残差信号进行补偿,并输出最终转换结果。本实施例通过辅助转换模块在调制器的最后一个转换周期与调制器同时对输入信号进行转换,并根据第二转换结果对最后一个转换周期的残差信号进行补偿,从而提高该模数转换器的精度。After long-term research and verification by the inventor, the embodiment of the present application provides an analog-to-digital converter, a power detection circuit, a battery management system, and an analog-to-digital conversion method. The analog-to-digital converter includes a modulator, an auxiliary conversion module, and an output module. The modulator is used to respectively convert the input signal within a plurality of preset conversion periods, and output a first conversion result after each conversion, wherein the first conversion result includes a residual signal; the auxiliary conversion module is connected to the a modulator, configured to convert the residual signal of the last conversion period among the plurality of conversion periods, and output a second conversion result; the output module is connected to the modulator and the auxiliary conversion module, and Compensating the residual signal of the last conversion cycle according to the second conversion result, and outputting a final conversion result. In this embodiment, the auxiliary conversion module converts the input signal simultaneously with the modulator in the last conversion cycle of the modulator, and compensates the residual signal of the last conversion cycle according to the second conversion result, thereby improving the analog-to-digital converter accuracy.
如图1所示,本申请实施例提供一种模数转换器100。模数转换器100包括调制器110、辅助转换模块120以及输出模块130。调制器110用于在预设的多个转换周期内分别对输入信号进行转换,并在每次转换后输出第一转换结果,其中第一转换结果包括残差信号;辅助转换模块120连接于调制器110,且用于对多个转换周期中的最后一个转换周期的残差信号进行转换,并输出第二转换结果;输出模块130连接于调制器110以及辅助转换模块120,且用于根据第二转换结果对最后一 个转换周期的残差信号进行补偿,并输出最终转换结果。As shown in FIG. 1 , an embodiment of the present application provides an analog-to-digital converter 100 . The ADC 100 includes a modulator 110 , an auxiliary conversion module 120 and an output module 130 . The modulator 110 is used to respectively convert the input signal within a plurality of preset conversion periods, and output a first conversion result after each conversion, wherein the first conversion result includes a residual signal; the auxiliary conversion module 120 is connected to the modulation The device 110 is used to convert the residual signal of the last conversion cycle among the multiple conversion cycles, and output the second conversion result; the output module 130 is connected to the modulator 110 and the auxiliary conversion module 120, and is used for according to the first The second conversion result compensates the residual signal of the last conversion cycle, and outputs the final conversion result.
调制器110为增量式Σ-Δ调制器。模数转换器100根据采样时钟采样输入信号,并将输入信号送入调制器110,调制器110接收输入信号并对输入信号进行转换。模数转换器100每次采样,调制器110可以对输入信号转换至少一次。本实施例中,输入信号可以是但不限于是交流信号或直流信号。为便于描述,下文将预设的多个转换周期中的全部转换周期称为“完整转换周期”。 Modulator 110 is an incremental sigma-delta modulator. The analog-to-digital converter 100 samples the input signal according to the sampling clock, and sends the input signal to the modulator 110, and the modulator 110 receives the input signal and converts the input signal. For every sample of the analog-to-digital converter 100, the modulator 110 may convert the input signal at least once. In this embodiment, the input signal may be, but not limited to, an AC signal or a DC signal. For the convenience of description, all the conversion cycles in the preset plurality of conversion cycles are referred to as "complete conversion cycles" hereinafter.
调制器110每次输出的第一转换结果包括残差信号,该残差信号与调制器110的转换误差相关。具体地,在每个转换周期,调制器对当前转换周期采样的输入信号与之前每个转换周期的累加转换误差进行转换,得到第一转换结果,因此第一转换结果中的残差信号对应于当前转换周期之前的各个转换周期的转换误差的叠加。假设预设的多个转换周期的周期数为n,则调制器110在第i个周期输出的第一转换结果中的残差信号对应于调制器110在前i-1个周期的累加转换误差,其中1≤i小于等于n。The first conversion result output by the modulator 110 each time includes a residual signal, which is related to the conversion error of the modulator 110 . Specifically, in each conversion period, the modulator converts the input signal sampled in the current conversion period and the accumulated conversion error of each previous conversion period to obtain the first conversion result, so the residual signal in the first conversion result corresponds to The superposition of the conversion errors of the conversion cycles preceding the current conversion cycle. Assuming that the preset number of conversion cycles is n, the residual signal in the first conversion result output by the modulator 110 in the i-th cycle corresponds to the accumulated conversion error of the modulator 110 in the previous i-1 cycles , where 1≤i is less than or equal to n.
作为一种实施方式,调制器110输出的第一转换结果为码值,该码值可以对应一个电压值,该电压值也即根据调制器110的第一转换结果反推出的输入信号对应的电压值,称为输入信号的理论值,该理论值与输入信号的实际值之差即为调制器110的转换误差。其中最后一个转换周期的残差信号对应于调制器110在完整转换周期内的转换误差的叠加,也即最后一个转换周期的第一转换结果对应的电压值与输入信号的实际电压值之差。例如,假设输入信号对应的实际电压值为1V,第一转换结果对应的电压值为1.1V,则转换误差为0.1V。又如,假设输入信号对应的实际电压值为1V,第一个转换周期的转换结果对应的电压值为1.1V,转换误差为0.1V;第二个转换周期的转换结果对应的电压值为0.8V,转换误差为-0.2V;前两个转换周期的转换误差叠加为-0.1V,则第三个转换周期输出的残差信号对应的转换 误差为-0.1V。As an implementation, the first conversion result output by the modulator 110 is a code value, and the code value may correspond to a voltage value, which is the voltage corresponding to the input signal deduced according to the first conversion result of the modulator 110 The value is called the theoretical value of the input signal, and the difference between the theoretical value and the actual value of the input signal is the conversion error of the modulator 110 . The residual signal of the last conversion period corresponds to the superposition of the conversion error of the modulator 110 in the complete conversion period, that is, the difference between the voltage value corresponding to the first conversion result of the last conversion period and the actual voltage value of the input signal. For example, assuming that the actual voltage value corresponding to the input signal is 1V, and the voltage value corresponding to the first conversion result is 1.1V, the conversion error is 0.1V. As another example, assume that the actual voltage value corresponding to the input signal is 1V, the conversion result of the first conversion cycle corresponds to a voltage value of 1.1V, and the conversion error is 0.1V; the conversion result of the second conversion cycle corresponds to a voltage value of 0.8 V, the conversion error is -0.2V; the conversion errors of the first two conversion cycles are superimposed to -0.1V, and the conversion error corresponding to the residual signal output in the third conversion cycle is -0.1V.
本实施例中,辅助转换模块120在调制器110对输入信号进行最后一次转换时启动,此时在调制器110的最后一个转换周期,辅助转换模块120对残差信号进行转换,进而输出第二转换结果。In this embodiment, the auxiliary conversion module 120 starts when the modulator 110 converts the input signal for the last time. At this time, in the last conversion cycle of the modulator 110, the auxiliary conversion module 120 converts the residual signal, and then outputs the second Convert the result.
由于调制器110在最后一个转换周期(第n个周期)输出的第一转换结果中的残差信号对应于复位周期和前n-1个转换周期内的转换误差的叠加,该转换误差的叠加值除以n即为调制器的最终转换误差,因此最后一个转换周期的残差信号可用于表征调制器的最终转换误差。辅助转换模块120在调制器110最后一次转换时对残差信号进行转换,因此输出模块130根据第二转换结果对最后一个转换周期的第一转换结果中的残差信号进行补偿,相当于对调制器110的最终转换误差进行补偿,因此输出模块130输出的最终转换结果的转换误差相对于调制器110输出的第一转换结果的转换误差更小,从而提高了模数转换器100的转换精度。同时,由于辅助转换模块120仅在调制器110最后一个转换周期才启动,因此辅助转换模块120基本不会增加模数转换器100的功耗,从而使得模数转换器100能够保持低功耗。Since the residual signal in the first conversion result output by the modulator 110 in the last conversion cycle (the nth cycle) corresponds to the superposition of the reset cycle and the conversion errors in the previous n-1 conversion cycles, the superposition of the conversion errors The value divided by n is the final conversion error of the modulator, so the residual signal of the last conversion cycle can be used to characterize the final conversion error of the modulator. The auxiliary conversion module 120 converts the residual signal at the last conversion of the modulator 110, so the output module 130 compensates the residual signal in the first conversion result of the last conversion cycle according to the second conversion result, which is equivalent to modulating Therefore, the conversion error of the final conversion result output by the output module 130 is smaller than the conversion error of the first conversion result output by the modulator 110 , thereby improving the conversion accuracy of the analog-to-digital converter 100 . Meanwhile, since the auxiliary conversion module 120 is started only in the last conversion cycle of the modulator 110 , the auxiliary conversion module 120 basically does not increase the power consumption of the ADC 100 , so that the power consumption of the ADC 100 can be kept low.
因此,本实施例提供的模数转换器100通过辅助转换模块120在调制器110对输入信号进行最后一次转换时对残差信号进行转换,输出第二转换结果;并通过输出模块130连接于调制器110以及辅助转换模块120,且用于根据第二转换结果对最后一个转换周期的第一转换结果中的残差信号进行补偿,从而使得输出模块130最后输出的最终转换结果相比于调制器110输出的第一转换结果的转换误差更小,从而提高模数转换器100保持低功耗的同时提高转换精度。Therefore, the analog-to-digital converter 100 provided in this embodiment converts the residual signal through the auxiliary conversion module 120 when the modulator 110 converts the input signal for the last time, and outputs the second conversion result; and is connected to the modulator through the output module 130 The converter 110 and the auxiliary conversion module 120 are used to compensate the residual signal in the first conversion result of the last conversion cycle according to the second conversion result, so that the final conversion result output by the output module 130 is compared to the modulator The conversion error of the first conversion result output by 110 is smaller, so as to improve conversion precision while maintaining low power consumption of the analog-to-digital converter 100 .
在一些实施方式中,如图2所示,调制器110包括积分器111、主量化器112以及数模转换器113;其中,积分器111为增量式Σ-Δ调制积分器,积分器111用于在每个转换周期对输入信号和数模转换器113的输出信号之差进行积分,以输出 积分信号;主量化器112连接于积分器111,且用于对积分信号进行量化,以输出第一转换结果;数模转换器113连接于主量化器112输出端与积分器111的输入端,以形成反馈通路,数模转换器113用于根据第一转换结果生成输出信号,并将输出信号反馈至积分器111。可选地,调制器110还包括第一增益模块114、第二增益模块115以及第三增益模块116。其中第一增益模块114的输入端用于接收输入信号,输出端连接于积分器111的输入端;第二增益模块115设于积分器111与主量化器112之间,且第二增益模块115的输入端连接于积分器111的输出端,输出端连接于主量化器112的输入端;第三增益模块116设于反馈通路,且第三增益模块116的输入端连接于数模转换器113的输出端,输出端连接于积分器111的输入端。由于调制器110输出的第一转换结果为主量化器112的量化结果,因此下文将调制器110的转换误差称为“量化误差”。In some implementations, as shown in FIG. 2 , the modulator 110 includes an integrator 111, a main quantizer 112, and a digital-to-analog converter 113; wherein, the integrator 111 is an incremental Σ-Δ modulation integrator, and the integrator 111 It is used to integrate the difference between the input signal and the output signal of the digital-to-analog converter 113 in each conversion cycle to output the integral signal; the main quantizer 112 is connected to the integrator 111 and is used to quantize the integral signal to output The first conversion result; the digital-to-analog converter 113 is connected to the main quantizer 112 output terminal and the input terminal of the integrator 111 to form a feedback path, and the digital-to-analog converter 113 is used to generate an output signal according to the first conversion result, and output The signal is fed back to the integrator 111 . Optionally, the modulator 110 further includes a first gain module 114 , a second gain module 115 and a third gain module 116 . Wherein the input end of the first gain module 114 is used to receive the input signal, and the output end is connected to the input end of the integrator 111; The second gain module 115 is arranged between the integrator 111 and the main quantizer 112, and the second gain module 115 The input end of is connected to the output end of the integrator 111, and the output end is connected to the input end of the main quantizer 112; The third gain module 116 is arranged in the feedback path, and the input end of the third gain module 116 is connected to the digital-to-analog converter 113 The output terminal of is connected to the input terminal of the integrator 111. Since the first conversion result output by the modulator 110 is the quantization result of the main quantizer 112, the conversion error of the modulator 110 is referred to as "quantization error" hereinafter.
作为一种示例,主量化器112为一阶单比特量化器,即主量化器112的比特位数为1,主量化器112的输出码值为0或1,此时,主量化器112可采用比较器实现。相应地,数模转换器113根据主量化器112的输出码值输出相应的反馈电压。例如,当主量化器112的输出码值为1时,数模转换器113输出第一反馈电压,当主量化器112的输出码值为0时,数模转换器113输出第二反馈电压。As an example, the main quantizer 112 is a first-order single-bit quantizer, that is, the number of bits of the main quantizer 112 is 1, and the output code value of the main quantizer 112 is 0 or 1. At this time, the main quantizer 112 can be implemented using a comparator. Correspondingly, the digital-to-analog converter 113 outputs a corresponding feedback voltage according to the output code value of the main quantizer 112 . For example, when the output code value of the main quantizer 112 is 1, the DAC 113 outputs the first feedback voltage, and when the output code value of the main quantizer 112 is 0, the DAC 113 outputs the second feedback voltage.
本实施例中,调制器110为Σ-Δ调制器,其采样及转换频率远高于输入信号的频率,而上述反馈环路的跟踪性能将使得第一转换结果对应的电压值与输入信号之间的差值的长期平均值趋向于零,即多次转换后平均量化误差或叠加量化误差将趋于零。这样,第一转换结果逐渐逼近于输入值,从而实现模数转换。在实际转换过程中,平均量化误差虽然越来越小,但始终存在,因此本实施例通过辅助转换模块120对调制器110的量化误差进行补充,以提高模数转换器100的转换精度。In this embodiment, the modulator 110 is a Σ-Δ modulator, its sampling and conversion frequency is much higher than the frequency of the input signal, and the tracking performance of the above feedback loop will make the voltage value corresponding to the first conversion result and the voltage value of the input signal The long-term average value of the difference tends to zero, that is, the average quantization error or the superimposed quantization error will tend to zero after multiple transformations. In this way, the first conversion result gradually approaches the input value, thereby realizing analog-to-digital conversion. In the actual conversion process, although the average quantization error is getting smaller and smaller, it always exists. Therefore, in this embodiment, the auxiliary conversion module 120 is used to supplement the quantization error of the modulator 110 to improve the conversion accuracy of the analog-to-digital converter 100 .
辅助转换模块120包括时钟产生电路121以及辅助量化器122。其中,时钟产 生电路121用于输出时钟信号,且该时钟信号的时钟频率为调制器110的转换频率的整数倍。辅助量化器122连接于时钟产生电路121与调制器110,用于对最后一个转换周期的残差信号进行量化转换,并输出第二转换结果。The auxiliary conversion module 120 includes a clock generation circuit 121 and an auxiliary quantizer 122 . Wherein, the clock generation circuit 121 is used to output a clock signal, and the clock frequency of the clock signal is an integer multiple of the switching frequency of the modulator 110. The auxiliary quantizer 122 is connected to the clock generation circuit 121 and the modulator 110, and is used for performing quantization conversion on the residual signal of the last conversion period, and outputting a second conversion result.
具体地,辅助量化器122的输入端与主量化器112的输入端连接,并且在主量化器112对输入信号进行最后一次量化时启动工作,辅助量化器122与主量化器112同步对第二增益模块115的输出信号进行量化。主量化器112在最后一次量化后所得到的第一转换结果与输入信号并不相同,该第一转换结果与输入信号之间的差异即为残差信号;此时当辅助量化器122在主量化器112最后一次量化时同步启动量化,辅助量化器122即对残差信号进行量化。本实施例中,辅助转换模块120的转换速率是调制器110转换速率的整数倍,也即辅助量化器122以前述的时钟信号为高频参考时钟,辅助量化器122的量化速率为主量化器112的量化速率的整数倍。在主量化器112的最后一次量化期间,辅助量化器122以主量化器112量化速率整数倍的量化速率对残差信号进行量化,辅助量化器122的量化次数为主量化器112的量化次数的整数倍,此时辅助量化器122和主量化器112同步输出量化信息,且在最后一次量化期间辅助量化器122输出的码值的数量是主量化器112输出的码值的数量的整数倍。例如,若辅助量化器122的量化速率是主量化器112的量化速率的两倍,则在最后一次量化期间主量化器112输出一个码值,辅助量化器122输出两个码值。可以理解的是,辅助量化器122输出的量化信息也即辅助转换模块120输出的第二转换结果。Specifically, the input end of the auxiliary quantizer 122 is connected to the input end of the main quantizer 112, and starts to work when the main quantizer 112 quantizes the input signal for the last time, and the auxiliary quantizer 122 synchronizes with the main quantizer 112 to the second quantizer. The output signal of the gain block 115 is quantized. The first conversion result obtained by the main quantizer 112 after the last quantization is different from the input signal, and the difference between the first conversion result and the input signal is the residual signal; at this time, when the auxiliary quantizer 122 is in the main The quantizer 112 starts quantization synchronously at the last quantization, and the auxiliary quantizer 122 quantizes the residual signal. In this embodiment, the conversion rate of the auxiliary conversion module 120 is an integer multiple of the conversion rate of the modulator 110, that is, the auxiliary quantizer 122 uses the aforementioned clock signal as a high-frequency reference clock, and the quantization rate of the auxiliary quantizer 122 is the main quantizer. An integer multiple of the quantization rate of 112. During the last quantization of the main quantizer 112, the auxiliary quantizer 122 quantizes the residual signal at a quantization rate that is an integral multiple of the quantization rate of the main quantizer 112, and the number of quantization times of the auxiliary quantizer 122 is equal to that of the main quantizer 112. At this time, the auxiliary quantizer 122 and the main quantizer 112 output quantization information synchronously, and the number of code values output by the auxiliary quantizer 122 is an integer multiple of the number of code values output by the main quantizer 112 during the last quantization. For example, if the quantization rate of the auxiliary quantizer 122 is twice the quantization rate of the main quantizer 112, the main quantizer 112 outputs one code value and the auxiliary quantizer 122 outputs two code values during the last quantization. It can be understood that the quantization information output by the auxiliary quantizer 122 is also the second conversion result output by the auxiliary conversion module 120 .
作为一种实施方式,输出模块130包括数字积分滤波器131、误差补偿模块132以及加权模块133。其中,数字积分滤波器131连接于调制器110,用于对第一转换结果进行滤波;误差补偿模块132连接于辅助量化器122,用于将第二转换结果转换为误差补偿信号;加权模块133连接于数字积分滤波器131以及误差补偿模块 132,用于对误差补偿信号进行等效处理且与第一转换结果叠加,并输出最终转换结果。As an implementation manner, the output module 130 includes a digital integration filter 131 , an error compensation module 132 and a weighting module 133 . Wherein, the digital integration filter 131 is connected to the modulator 110, and is used for filtering the first conversion result; the error compensation module 132 is connected to the auxiliary quantizer 122, and is used for converting the second conversion result into an error compensation signal; the weighting module 133 It is connected to the digital integration filter 131 and the error compensation module 132, and is used for performing equivalent processing on the error compensation signal and superimposing it with the first conversion result, and outputting the final conversion result.
具体地,本实施例中,数字积分滤波器131连接于主量化器112的输出端,以对主量化器112输出的量化信息进行数字滤波。数字积分滤波器131可以是低阶数字积分滤波器131,也可以是高阶数字积分滤波器131,本实施例不对数字积分滤波器131阶数进行限定。作为一种示例,数字积分滤波器131可以用于计算完整转换周期内主量化器输出的多个第一转换结果的平均值,该平均值即表征主量化器112的最终量化结果。可选地,数字积分滤波器131可通过数字电路或软件实现。Specifically, in this embodiment, the digital integration filter 131 is connected to the output end of the main quantizer 112 to digitally filter the quantized information output by the main quantizer 112 . The digital integration filter 131 may be a low-order digital integration filter 131 or a high-order digital integration filter 131 , and the order of the digital integration filter 131 is not limited in this embodiment. As an example, the digital integration filter 131 may be used to calculate an average value of multiple first conversion results output by the main quantizer within a complete conversion period, and the average value represents the final quantization result of the main quantizer 112 . Optionally, the digital integration filter 131 can be implemented by digital circuits or software.
误差补偿模块132将辅助量化器122输出的第二转换结果转换为误差补偿信号。具体地,误差补偿模块132将辅助量化器122输出的码值转换为模拟信号,以便于后续对第二转换结果进行处理。例如,假设辅助量化器122输出码值D[0:1]=11,则误差补偿模块132将该码值转换为模拟信号,输出V D[0:1]=3。可以理解的是,转换后的模拟信号也即误差补偿信号。 The error compensation module 132 converts the second conversion result output by the auxiliary quantizer 122 into an error compensation signal. Specifically, the error compensation module 132 converts the code value output by the auxiliary quantizer 122 into an analog signal, so as to facilitate subsequent processing of the second conversion result. For example, assuming that the auxiliary quantizer 122 outputs a code value D[0:1]=11, the error compensation module 132 converts the code value into an analog signal, and outputs V D[0:1] =3. It can be understood that the converted analog signal is also the error compensation signal.
加权模块133将误差补偿模块132输出的误差补偿信号做进一步的等效处理,并将处理后的误差补偿信号加权到数字积分滤波器131。具体地,由于辅助量化器122的量化速率是主量化器112的量化速率的整数倍,使得在最后一次量化期间,辅助量化器122输出的码值的数量(即比特位数)是主量化器112输出的码值的数量的倍数,此时加权模块133根据主量化器112的比特位数将辅助量化器122输出的码值进行等效处理,以使得辅助量化器122输出的第二转换结果能够与主量化器112输出的第一转换结果加权。例如,假设辅助量化器122输出码值D[0:1]=11,其包括两个码值;主量化器112最后一次量化输出一个码值,此时经误差补偿模块132将码值D[0:1]转换为模拟信号后,加权模块133将数模转换后的D[0:1]等效处理为一个码值进而输出数字信号,再将等效处理后的数字信号累加到数字积分滤波器 131,从而对主量化器112输出的第一转换结果进行补偿。The weighting module 133 performs further equivalent processing on the error compensation signal output by the error compensation module 132 , and weights the processed error compensation signal to the digital integration filter 131 . Specifically, since the quantization rate of the auxiliary quantizer 122 is an integral multiple of the quantization rate of the main quantizer 112, during the last quantization, the number of code values (ie, the number of bits) output by the auxiliary quantizer 122 is equal to that of the main quantizer. 112 is a multiple of the number of code values output by 112. At this time, the weighting module 133 performs equivalent processing on the code values output by the auxiliary quantizer 122 according to the number of bits of the main quantizer 112, so that the second conversion result output by the auxiliary quantizer 122 is Can be weighted with the first conversion result output by the main quantizer 112 . For example, assume that the auxiliary quantizer 122 outputs a code value D[0:1]=11, which includes two code values; the main quantizer 112 quantizes and outputs a code value for the last time, at this time, the code value D[ 0:1] is converted into an analog signal, the weighting module 133 equivalently processes D[0:1] after the digital-to-analog conversion into a code value and then outputs a digital signal, and then adds the equivalently processed digital signal to the digital integral filter 131, so as to compensate the first conversion result output by the main quantizer 112.
本实施例中,当调制器的比特位数为1且辅助量化器的比特位数为2时,加权模块133可以通过下式对误差补偿信号进行等效处理。
Figure PCTCN2022107292-appb-000001
其中,V q-comp为等效误差补偿信号;V D为误差补偿信号;V ref为数模转换器113的参考电压;PGA为调制器110的增益;n为多个转换周期的周期数。
In this embodiment, when the number of bits of the modulator is 1 and the number of bits of the auxiliary quantizer is 2, the weighting module 133 can perform equivalent processing on the error compensation signal by the following formula.
Figure PCTCN2022107292-appb-000001
Wherein, V q-comp is the equivalent error compensation signal; V D is the error compensation signal; V ref is the reference voltage of the digital-to-analog converter 113; PGA is the gain of the modulator 110; n is the cycle number of multiple conversion cycles.
作为一种实施方式,加权模块133将等效误差补偿信号转换为数字信号后累加到数字积分滤波器131,从而对主量化器112输出的第一转换结果进行加权,并输出最终转换结果。该最终转换结果由于等效误差补偿信号的补偿作用,其量化误差相对于主量化器112输出的第一转换结果更小,同时由于辅助量化器122仅在主量化器112最后一次量化时启动,从而有效提高模数转换器100的采样精度、线性度,减小量化误差的影响,并在不在增加功耗的情况下既提升精度,又保持快速动态响应能力。As an implementation manner, the weighting module 133 converts the equivalent error compensation signal into a digital signal and accumulates it in the digital integration filter 131, so as to weight the first conversion result output by the main quantizer 112 and output the final conversion result. The final conversion result is due to the compensation effect of the equivalent error compensation signal, and its quantization error is smaller than the first conversion result output by the main quantizer 112. At the same time, because the auxiliary quantizer 122 is only started when the main quantizer 112 is quantized for the last time, In this way, the sampling accuracy and linearity of the analog-to-digital converter 100 are effectively improved, the influence of quantization errors is reduced, and the accuracy is improved without increasing power consumption while maintaining fast dynamic response capability.
如图3所示,以下将以一阶增量式Σ-ΔADC为例对本申请实施例提供的模数转换器100的原理进行详细说明。As shown in FIG. 3 , the principle of the analog-to-digital converter 100 provided by the embodiment of the present application will be described in detail below by taking the first-order incremental Σ-Δ ADC as an example.
模数转换器100还包括复位电路(图中未示出)。复位电路用于在调制器110的每个转换周期、在对输入信号进行转换之前,将模数转换器100复位,以消除模数转换器100上次的量化信息。具体地,复位电路可以对主量化器112、辅助量化器122以及数字积分滤波器131进行复位。The analog-to-digital converter 100 also includes a reset circuit (not shown in the figure). The reset circuit is used for resetting the analog-to-digital converter 100 in each conversion period of the modulator 110 before converting the input signal, so as to eliminate last quantization information of the analog-to-digital converter 100 . Specifically, the reset circuit can reset the main quantizer 112 , the auxiliary quantizer 122 and the digital integration filter 131 .
当模数转换器100对输入信号进行转换时,在复位阶段:V 1[0]=0   (1); When the analog-to-digital converter 100 converts the input signal, in the reset phase: V 1 [0]=0 (1);
其中V 1[0]为复位阶段第二增益模块115的输出信号,以下将复位阶段称为第0次转换。 Where V 1 [0] is the output signal of the second gain module 115 in the reset phase, and the reset phase is referred to as the 0th conversion hereinafter.
第一个转换周期:V 1[1]=(V 1[0]+a1*Vin[0]-b1*Vref*D[0])*a2    (2); The first conversion cycle: V 1 [1]=(V 1 [0]+a1*Vin[0]-b1*Vref*D[0])*a2 (2);
由式(2)整理得:V 1[1]=(a1*Vin[0]-b1*Vref*D[0])*a2     (3); Arranged from formula (2): V 1 [1]=(a1*Vin[0]-b1*Vref*D[0])*a2 (3);
其中,V 1[1]为第一个转换周期(即第一次转换时)第二增益模块115的输出信号;a1为第一增益模块114的增益;Vin[0]为复位阶段的输入信号;b1为第三增益模块116的增益;Vref为数模转换器113的基准信号;D[0]为复位阶段主量化器112输出的码值。 Among them, V 1 [1] is the output signal of the second gain module 115 in the first conversion period (ie, during the first conversion); a1 is the gain of the first gain module 114; Vin[0] is the input signal in the reset phase b1 is the gain of the third gain module 116; Vref is the reference signal of the digital-to-analog converter 113; D[0] is the code value output by the main quantizer 112 in the reset stage.
第二个转换周期:V 1[2]=(V 1[1]+a1*Vin[1]-b1*Vref*D[1])*a2     (4); The second conversion cycle: V 1 [2]=(V 1 [1]+a1*Vin[1]-b1*Vref*D[1])*a2 (4);
由式(4)整理得:V 1[2]=[a1*(Vin[1]+Vin[0])-b1*Vref*(D[1]+D[0])]*a2      (5); Arranged from formula (4): V 1 [2]=[a1*(Vin[1]+Vin[0])-b1*Vref*(D[1]+D[0])]*a2 (5) ;
其中,V 1[2]为第二个转换周期(即第二次转换时)第二增益模块115的输出信号;Vin[1]为模数转换器100在第一个转换周期采样到的输入信号;D[1]为第一次转换时主量化器112输出的码值。 Wherein, V 1 [2] is the output signal of the second gain module 115 in the second conversion period (that is, during the second conversion); Vin[1] is the input sampled by the analog-to-digital converter 100 in the first conversion period signal; D[1] is the code value output by the main quantizer 112 during the first conversion.
由此可推导出在第n次转换:
Figure PCTCN2022107292-appb-000002
From this it can be deduced that at the nth conversion:
Figure PCTCN2022107292-appb-000002
其中,V 1[n]为第n次转换时第二增益模块115的输出信号;Vin[k]为输入信号;D[k]为数字积分滤波。 Wherein, V 1 [n] is the output signal of the second gain module 115 during the nth conversion; Vin[k] is the input signal; D[k] is the digital integral filter.
由于该模数转换器100为一阶增量式Σ-ΔADC,因此输入信号Vin满足下式:Since the analog-to-digital converter 100 is a first-order incremental Σ-ΔADC, the input signal Vin satisfies the following formula:
Figure PCTCN2022107292-appb-000003
Figure PCTCN2022107292-appb-000003
其中,PGA为模数转换器100的增益,PGA=a1/b1;D[k]为第k个转换周期主量化器112输出的码值,即第k个转换周期的第一转化结果。Wherein, PGA is the gain of the analog-to-digital converter 100, PGA=a1/b1; D[k] is the code value output by the main quantizer 112 in the kth conversion period, that is, the first conversion result of the kth conversion period.
在式(7)中,
Figure PCTCN2022107292-appb-000004
Vq=[V 1[n]/(b1*a2)]/(n*PGA)。
In formula (7),
Figure PCTCN2022107292-appb-000004
Vq=[V 1 [n]/(b1*a2)]/(n*PGA).
其中,-Vref/(n*PGA)≤Vq≤Vref/(n*PGA);-Vref*b1*a2≤V 1[n]≤Vref*b1*a2。Vin'为主量化器112的最终转换结果对应的输入电压,及输入电压的理论值;Vq为第一转换结果的残余误差,即该理论值与实际的输入电压之间的差值。 Wherein, -Vref/(n*PGA)≤Vq≤Vref/(n*PGA); -Vref*b1*a2≤V 1 [n]≤Vref*b1*a2. Vin' is the input voltage corresponding to the final conversion result of the main quantizer 112 and the theoretical value of the input voltage; Vq is the residual error of the first conversion result, that is, the difference between the theoretical value and the actual input voltage.
本申请实施例中,在主量化器112最后一次转换时,辅助量化器122启动与主 量化器112对第二增益模块115的输出信号进行同步量化,辅助量化器122的转换速率是主量化器112的转换速率Fs的M倍。本实施例中,取M=2。也即,辅助量化器122输出的第二转换结果为D[0:1]。In the embodiment of the present application, when the main quantizer 112 switches for the last time, the auxiliary quantizer 122 starts to quantize the output signal of the second gain module 115 synchronously with the main quantizer 112, and the conversion rate of the auxiliary quantizer 122 is equal to that of the main quantizer. 112 M times the conversion rate Fs. In this embodiment, M=2. That is, the second conversion result output by the auxiliary quantizer 122 is D[0:1].
作为一种实施方式,主量化器112的输出范围为-Vref~+Vref,定义量化电平为4个区间。As an implementation manner, the output range of the main quantizer 112 is -Vref˜+Vref, and the quantization level is defined as 4 intervals.
当-Vref≤V 1[n]/(b1*a2)≤-Vref/2时,D[0:1]=00,此时误差补偿模块132输出的误差补偿信号V D[0:1]=0,加权模块133输出的等效误差补偿信号
Figure PCTCN2022107292-appb-000005
When -Vref≤V 1 [n]/(b1*a2)≤-Vref/2, D[0:1]=00, at this time the error compensation signal V D[0:1] output by the error compensation module 132 = 0, the equivalent error compensation signal output by the weighting module 133
Figure PCTCN2022107292-appb-000005
当-Vref/2<V 1[n]/(b1*a2)≤0时,D[0:1]=01,此时误差补偿模块132输出的误差补偿信号V D[0:1]=1,加权模块133输出的等效误差补偿信号
Figure PCTCN2022107292-appb-000006
When -Vref/2<V 1 [n]/(b1*a2)≤0, D[0:1]=01, at this time the error compensation signal V D[0:1] output by the error compensation module 132=1 , the equivalent error compensation signal output by the weighting module 133
Figure PCTCN2022107292-appb-000006
当0<V 1[n]/(b1*a2)≤Vref/2时,D[0:1]=10,此时误差补偿模块132输出的误差补偿信号V D[0:1]=2,加权模块133输出的等效误差补偿信号
Figure PCTCN2022107292-appb-000007
When 0<V 1 [n]/(b1*a2)≤Vref/2, D[0:1]=10, at this time the error compensation signal V D[0:1] =2 output by the error compensation module 132, The equivalent error compensation signal output by the weighting module 133
Figure PCTCN2022107292-appb-000007
当Vref/2<V 1[n]/(b1*a2)≤Vref时,D[0:1]=11,此时误差补偿模块132输出的误差补偿信号V D[0:1]=3,加权模块133输出的等效误差补偿信号
Figure PCTCN2022107292-appb-000008
When Vref/2<V 1 [n]/(b1*a2)≤Vref, D[0:1]=11, at this time the error compensation signal V D[0:1] =3 output by the error compensation module 132, The equivalent error compensation signal output by the weighting module 133
Figure PCTCN2022107292-appb-000008
假设a1=40/15,b1=4/15,a2=21/24,PGA=10,输入信号Vin=5.4uV,Vref=1.2V,Fs=65536Hz,n=65536。Suppose a1=40/15, b1=4/15, a2=21/24, PGA=10, input signal Vin=5.4uV, Vref=1.2V, Fs=65536Hz, n=65536.
此时主量化器112的量化误差Vq=[V 1[n]/(b1*a2)]/(n*PGA)=1.74μV;第一转换结果 Vin'=Vin-Vq=3.66μV,也即主量化器112输出的第二转换结果的测量误差为1.74uV。 At this time, the quantization error Vq of the main quantizer 112=[V 1 [n]/(b1*a2)]/(n*PGA)=1.74μV; the first conversion result Vin'=Vin-Vq=3.66μV, that is The measurement error of the second conversion result output by the main quantizer 112 is 1.74uV.
假设辅助量化器122输出的第二转换结果D[0:1]=11,那么此时加权模块133输出的等效误差补偿信号
Figure PCTCN2022107292-appb-000009
Assuming that the second conversion result D[0:1]=11 output by the auxiliary quantizer 122, then the equivalent error compensation signal output by the weighting module 133 at this time
Figure PCTCN2022107292-appb-000009
加权模块133将等效误差补偿信号与主量化器112输出的第一转换结果叠加后,输出最终转换结果Vin”=3.66μV+1.83μV=5.49μV,此时最终转换结果Vin”的测量误差为0.09uV。因此,模数转换器100的测量误差由1.74uV减小为0.09uV,模数转换器100的精度得以提升。由此可见,模数转换器100的量化误差小,保持低功耗的同时测量精度高,且动态响应能力好。After the weighting module 133 superimposes the equivalent error compensation signal and the first conversion result output by the main quantizer 112, the final conversion result Vin"=3.66 μV+1.83 μV=5.49 μV is output. At this time, the measurement error of the final conversion result Vin" is 0.09uV. Therefore, the measurement error of the analog-to-digital converter 100 is reduced from 1.74uV to 0.09uV, and the precision of the analog-to-digital converter 100 is improved. It can be seen that the quantization error of the analog-to-digital converter 100 is small, the measurement accuracy is high while maintaining low power consumption, and the dynamic response capability is good.
本申请实施例提供的模数转换器包括调制器、辅助转换模块以及输出模块,调制器用于在预设的多个转换周期内分别对输入信号进行转换,并在每次转换后输出第一转换结果,其中所述第一转换结果包括残差信号;辅助转换模块连接于所述调制器,用于对所述多个转换周期中的最后一个转换周期的所述残差信号进行转换,并输出第二转换结果;输出模块连接于所述调制器以及所述辅助转换模块,且用于根据所述第二转换结果对所述最后一个转换周期的所述残差信号进行补偿,并输出最终转换结果。本实施例通过辅助转换模块在调制器的最后一个转换周期与调制器同时对输入信号进行转换,并根据第二转换结果对最后一个转换周期的残差信号进行补偿,从而提高该模数转换器的精度。The analog-to-digital converter provided in the embodiment of the present application includes a modulator, an auxiliary conversion module, and an output module. The modulator is used to convert the input signal respectively within a plurality of preset conversion cycles, and output the first converted signal after each conversion. As a result, wherein the first conversion result includes a residual signal; the auxiliary conversion module is connected to the modulator, and is used to convert the residual signal of the last conversion period among the plurality of conversion periods, and output The second conversion result; the output module is connected to the modulator and the auxiliary conversion module, and is used to compensate the residual signal of the last conversion cycle according to the second conversion result, and output the final conversion result. In this embodiment, the auxiliary conversion module converts the input signal simultaneously with the modulator in the last conversion cycle of the modulator, and compensates the residual signal of the last conversion cycle according to the second conversion result, thereby improving the analog-to-digital converter accuracy.
如图4所示,本申请实施例还提供一种电量检测电路200。电量检测电路200包括采样电路210以及上述的模数转换器100。其中,采样电路210的一端用于采样输入信号,另一端连接于模数转换器100。As shown in FIG. 4 , the embodiment of the present application also provides a power detection circuit 200 . The power detection circuit 200 includes a sampling circuit 210 and the above-mentioned analog-to-digital converter 100 . Wherein, one end of the sampling circuit 210 is used for sampling the input signal, and the other end is connected to the analog-to-digital converter 100 .
采样电路210包括第一电阻R1、第二电阻R2、第三电阻R3以及电容C1。其中,第一电阻R1的第一端连接于第二电阻R2的第一端、第二端连接于第三电阻R3的第一端;第一电阻R1的两端还分别连接于电池BAT的两端;电容C1的第一 端连接于第二电阻R2的第二端、第二端连接于第三电阻R3的第二端;第二电阻R2的第二端与第三电阻R3的的第二端连接于模数转换器。The sampling circuit 210 includes a first resistor R1, a second resistor R2, a third resistor R3 and a capacitor C1. Wherein, the first end of the first resistor R1 is connected to the first end of the second resistor R2, and the second end is connected to the first end of the third resistor R3; the two ends of the first resistor R1 are also respectively connected to the two ends of the battery BAT end; the first end of the capacitor C1 is connected to the second end of the second resistor R2, and the second end is connected to the second end of the third resistor R3; the second end of the second resistor R2 is connected to the second end of the third resistor R3 connected to the analog-to-digital converter.
采样电路210能够对电池BAT的电压进行采样,并将采样信号转换为差分信号输入至模数转换器进行高精度测量。The sampling circuit 210 can sample the voltage of the battery BAT, convert the sampled signal into a differential signal, and input it to the analog-to-digital converter for high-precision measurement.
本实施例提供的电量检测电路包括调制器、辅助转换模块以及输出模块,调制器用于在预设的多个转换周期内分别对输入信号进行转换,并在每次转换后输出第一转换结果,其中所述第一转换结果包括残差信号;辅助转换模块连接于所述调制器,用于对所述多个转换周期中的最后一个转换周期的所述残差信号进行转换,并输出第二转换结果;输出模块连接于所述调制器以及所述辅助转换模块,且用于根据所述第二转换结果对所述最后一个转换周期的所述残差信号进行补偿,并输出最终转换结果。本实施例通过辅助转换模块在调制器的最后一个转换周期与调制器同时对输入信号进行转换,并根据第二转换结果对最后一个转换周期的残差信号进行补偿,从而提高该模数转换器的精度。The power detection circuit provided in this embodiment includes a modulator, an auxiliary conversion module, and an output module, and the modulator is used to respectively convert the input signal within a plurality of preset conversion cycles, and output the first conversion result after each conversion, Wherein the first conversion result includes a residual signal; the auxiliary conversion module is connected to the modulator, and is used to convert the residual signal of the last conversion period among the plurality of conversion periods, and output a second The conversion result: the output module is connected to the modulator and the auxiliary conversion module, and is used for compensating the residual signal of the last conversion cycle according to the second conversion result, and outputting a final conversion result. In this embodiment, the auxiliary conversion module converts the input signal simultaneously with the modulator in the last conversion cycle of the modulator, and compensates the residual signal of the last conversion cycle according to the second conversion result, thereby improving the analog-to-digital converter accuracy.
本申请实施例还提供一种电池管理系统,电池管理系统包括上述的电量检测电路。An embodiment of the present application further provides a battery management system, which includes the above electric power detection circuit.
如图5所示,本申请实施例还提供一种模数转换方法300,模数转换方法300可以应用于增量式Σ-ΔADC,模数转换方法300包括以下步骤S310~步骤S330。As shown in FIG. 5 , the embodiment of the present application also provides an analog-to-digital conversion method 300 , which can be applied to incremental Σ-Δ ADCs. The analog-to-digital conversion method 300 includes the following steps S310 to S330 .
步骤S310:在预设的多个转换周期内分别对输入信号进行转换,并在每次转换后输出第一转换结果,其中第一转换结果包括残差信号。Step S310: Convert the input signal respectively within a plurality of preset conversion periods, and output a first conversion result after each conversion, wherein the first conversion result includes a residual signal.
本实施例中,模数转换器根据采样时钟采样输入信号,并对输入信号进行转换。模数转换器每次采样,可以对输入信号转换至少一次。In this embodiment, the analog-to-digital converter samples the input signal according to the sampling clock, and converts the input signal. The analog-to-digital converter converts the input signal at least once per sample.
每次的第一转换结果包括残差信号,该残差信号与转换误差相关。具体地,在每个转换周期,对当前转换周期采样的输入信号与之前每个转换周期的累加转换误 差进行转换,得到第一转换结果,因此第一转换结果中的残差信号对应于当前转换周期之前的各个转换周期的转换误差的叠加。假设预设的多个转换周期的周期数为n,则调制器110在第i个周期输出的第一转换结果中的残差信号对应于调制器110在前i-1个周期的累加转换误差,其中1≤i小于等于n。Each first conversion result includes a residual signal that is related to the conversion error. Specifically, in each conversion cycle, the input signal sampled in the current conversion cycle is converted with the accumulated conversion error of each previous conversion cycle to obtain the first conversion result, so the residual signal in the first conversion result corresponds to the current conversion The superposition of the conversion errors of the individual conversion cycles preceding the cycle. Assuming that the preset number of conversion cycles is n, the residual signal in the first conversion result output by the modulator 110 in the i-th cycle corresponds to the accumulated conversion error of the modulator 110 in the previous i-1 cycles , where 1≤i is less than or equal to n.
步骤S320:在多个转换周期中的最后一个转换周期,对残差信号进行辅助转换,并输出第二转换结果。Step S320: In the last conversion cycle among the plurality of conversion cycles, perform auxiliary conversion on the residual signal, and output a second conversion result.
本实施例中,在模数转换器最后一个转换周期时,可以同时对残差信号进行辅助转换。具体地,可以通过额外的辅助转换模块在模数转换器最后一个周期启动,与该模数转换器同步对残差信号进行辅助量化,进而得到第二转换结果。In this embodiment, during the last conversion cycle of the analog-to-digital converter, auxiliary conversion may be performed on the residual signal at the same time. Specifically, an additional auxiliary conversion module may be started in the last cycle of the analog-to-digital converter, and the residual signal may be auxiliary quantized synchronously with the analog-to-digital converter, so as to obtain the second conversion result.
步骤S330:根据第二转换结果对最后一个转换周期的第一转换结果中的残差信号进行补偿,并输出最终转换结果。Step S330: Compensate the residual signal in the first conversion result of the last conversion cycle according to the second conversion result, and output the final conversion result.
本实施例中,由于在最后一个转换周期(第n个周期)输出的第一转换结果中的残差信号对应于复位周期和前n-1个转换周期内的转换误差的叠加,该转换误差的叠加值除以n即为最终转换误差,因此最后一个转换周期的残差信号可用于表征最终转换误差。在最后一次转换时对残差信号进行辅助转换,因此可以根据第二转换结果对最后一个转换周期的第一转换结果中的残差信号进行补偿,相当于对最终转换误差进行补偿,因此最终转换结果的转换误差相对于第一转换结果的转换误差更小,从而提高了模数转换器的转换精度。In this embodiment, since the residual signal in the first conversion result output in the last conversion cycle (the nth cycle) corresponds to the superposition of the reset cycle and the conversion errors in the previous n-1 conversion cycles, the conversion error The superposition value divided by n is the final conversion error, so the residual signal of the last conversion cycle can be used to characterize the final conversion error. Auxiliary conversion is performed on the residual signal at the last conversion, so the residual signal in the first conversion result of the last conversion cycle can be compensated according to the second conversion result, which is equivalent to compensation for the final conversion error, so the final conversion The conversion error of the result is smaller than the conversion error of the first conversion result, thereby improving the conversion accuracy of the analog-to-digital converter.
本申请实施例提供的模数转换方法在预设的多个转换周期内分别对输入信号进行转换,并在每次转换后输出第一转换结果,其中第一转换结果包括残差信号;并在多个转换周期中的最后一个转换周期,对残差信号进行辅助转换,并输出第二转换结果;然后根据第二转换结果对最后一个转换周期的第一转换结果中的残差信号进行补偿,并输出最终转换结果,从而提高模数转换器的精度。The analog-to-digital conversion method provided by the embodiment of the present application converts the input signal respectively within a plurality of preset conversion periods, and outputs a first conversion result after each conversion, wherein the first conversion result includes a residual signal; and performing auxiliary conversion on the residual signal in the last conversion cycle of the plurality of conversion cycles, and outputting a second conversion result; then compensating the residual signal in the first conversion result of the last conversion cycle according to the second conversion result, And output the final conversion result, thereby improving the precision of the analog-to-digital converter.
以上,仅是本申请的较佳实施例而已,并非对本申请作任何形式上的限制,虽然本申请已以较佳实施例揭示如上,然而并非用以限定本申请,任何本领域技术人员,在不脱离本申请技术方案范围内,当可利用上述揭示的技术内容做出些许更动或修饰为等同变化的等效实施例,但凡是未脱离本申请技术方案内容,依据本申请的技术实质对以上实施例所作的任何简介修改、等同变化与修饰,均仍属于本申请技术方案的范围内。The above are only the preferred embodiments of the application, and do not limit the application in any form. Although the application has been disclosed as above with the preferred embodiments, it is not intended to limit the application. Anyone skilled in the art, Without departing from the scope of the technical solution of the present application, when the technical content disclosed above can be used to make some changes or be modified into equivalent embodiments with equivalent changes, but if it does not deviate from the technical solution of the application, the technical essence of the application will Any brief modifications, equivalent changes and modifications made in the above embodiments still fall within the scope of the technical solutions of the present application.

Claims (10)

  1. 一种模数转换器,其特征在于,包括:An analog-to-digital converter, characterized in that it comprises:
    调制器,用于在预设的多个转换周期内分别对输入信号进行转换,并在每次转换后输出第一转换结果,其中所述第一转换结果包括残差信号;a modulator, configured to respectively convert the input signal within a plurality of preset conversion periods, and output a first conversion result after each conversion, wherein the first conversion result includes a residual signal;
    辅助转换模块,连接于所述调制器,用于对所述多个转换周期中的最后一个转换周期的所述残差信号进行转换,并输出第二转换结果;以及an auxiliary conversion module, connected to the modulator, configured to convert the residual signal of the last conversion period among the plurality of conversion periods, and output a second conversion result; and
    输出模块,连接于所述调制器以及所述辅助转换模块,且用于根据所述第二转换结果对所述最后一个转换周期的所述残差信号进行补偿,并输出最终转换结果。The output module is connected to the modulator and the auxiliary conversion module, and is used for compensating the residual signal of the last conversion period according to the second conversion result, and outputting a final conversion result.
  2. 如权利要求1所述的模数转换器,其特征在于,所述辅助转换模块的转换速率为所述调制器的转换速率的整数倍。The analog-to-digital converter according to claim 1, wherein the conversion rate of the auxiliary conversion module is an integer multiple of the conversion rate of the modulator.
  3. 如权利要求2所述的模数转换器,其特征在于,所述辅助转换模块包括:The analog-to-digital converter according to claim 2, wherein the auxiliary conversion module comprises:
    时钟产生电路,用于输出时钟信号,所述时钟信号的时钟频率为所述调制器的转换频率的整数倍;以及a clock generating circuit for outputting a clock signal whose clock frequency is an integer multiple of the switching frequency of the modulator; and
    辅助量化器,连接于所述时钟产生电路与所述调制器,用于对所述最后一个转换周期的所述残差信号进行量化转换,并输出所述第二转换结果。An auxiliary quantizer, connected to the clock generation circuit and the modulator, is used to quantize and convert the residual signal in the last conversion period, and output the second conversion result.
  4. 如权利要求3所述模数转换器,其特征在于,所述输出模块包括:The analog-to-digital converter according to claim 3, wherein the output module comprises:
    数字积分滤波器,连接于所述调制器,用于对所述第一转换结果进行滤波;以及a digital integration filter connected to the modulator for filtering the first conversion result; and
    误差补偿模块,连接于所述辅助量化器,用于将所述第二转换结果转换为误差补偿信号;以及an error compensation module, connected to the auxiliary quantizer, for converting the second conversion result into an error compensation signal; and
    加权模块,连接于所述数字积分滤波器以及所述误差补偿模块,用于对所述误差补偿信号进行等效处理且与所述第一转换结果叠加,并输出所述最终转换结果。A weighting module, connected to the digital integration filter and the error compensation module, is used for performing equivalent processing on the error compensation signal and superimposing it with the first conversion result, and outputting the final conversion result.
  5. 如权利要求4所述的模数转换器,其特征在于,当所述调制器的比特位数为1且所述辅助量化器的比特位数为2时,所述加权模块通过下式对所述误差补偿信号进行等效处理:The analog-to-digital converter according to claim 4, wherein, when the number of bits of the modulator is 1 and the number of bits of the auxiliary quantizer is 2, the weighting module applies the following formula to the The above error compensation signal is equivalently processed:
    Figure PCTCN2022107292-appb-100001
    其中,V D为所述误差补偿信号;V ref为所述数模转换器的参考电压;PGA为所述调制器的增益;n为所述所述多个转换周期的周期数。
    Figure PCTCN2022107292-appb-100001
    Wherein, V D is the error compensation signal; V ref is the reference voltage of the digital-to-analog converter; PGA is the gain of the modulator; n is the cycle number of the plurality of conversion cycles.
  6. 如权利要求1所述的模数转换器,其特征在于,所述模数转换器还包括复位电路,所述复位电路用于在每个所述转换周期所述调制器对所述输入信号进行转换之前,将所述模数转换器复位。The analog-to-digital converter according to claim 1, wherein the analog-to-digital converter further comprises a reset circuit, and the reset circuit is used for the modulator to perform an operation on the input signal in each conversion cycle. Before conversion, reset the analog-to-digital converter.
  7. 如权利要求1所述的模数转换器,其特征在于,所述调制器包括积分器、主量化器以及数模转换器;The analog-to-digital converter of claim 1, wherein the modulator comprises an integrator, a main quantizer, and a digital-to-analog converter;
    所述积分器用于在每个所述转换周期对所述输入信号和所述数模转换器的输出信号之差进行积分,以输出积分信号;The integrator is used to integrate the difference between the input signal and the output signal of the digital-to-analog converter in each conversion cycle to output an integrated signal;
    所述主量化器连接所述积分器,且用于对所述积分信号进行量化,以输出所述第一转换结果;以及The main quantizer is connected to the integrator and used to quantize the integrated signal to output the first conversion result; and
    所述数模转换器连接于所述主量化器的输出端与所述积分器的输入端,且用于根据所述第一转换结果生成输出信号,并将输出信号反馈至所述积分器。The digital-to-analog converter is connected to the output terminal of the main quantizer and the input terminal of the integrator, and is used for generating an output signal according to the first conversion result, and feeding the output signal back to the integrator.
  8. 一种电量检测电路,其特征在于,包括上述权利要求1~7一项所述模数转换器,所述电量检测电路还包括采样电路;所述采样电路一端用于采样输入电压,另一端连接于所述模数转换器。A power detection circuit, characterized in that it includes the analog-to-digital converter described in one of claims 1 to 7 above, and the power detection circuit also includes a sampling circuit; one end of the sampling circuit is used to sample the input voltage, and the other end is connected to in the analog-to-digital converter.
  9. 一种电池管理系统,其特征在于,包括权利要求8所述的电量检测电路。A battery management system, characterized by comprising the power detection circuit according to claim 8.
  10. 一种模数转换方法,应用于上述权利要求1~7任一项所述的模数转换器,其特征在于,所述方法包括:An analog-to-digital conversion method, applied to the analog-to-digital converter described in any one of claims 1 to 7, characterized in that the method comprises:
    在预设的多个转换周期内分别对输入信号进行转换,并在每次转换后输出第一转换结果,其中所述第一转换结果包括残差信号;Converting the input signal respectively within a plurality of preset conversion periods, and outputting a first conversion result after each conversion, wherein the first conversion result includes a residual signal;
    在所述多个转换周期中的最后一个转换周期,对所述残差信号进行转换,并输出第二转换结果;以及In a last conversion cycle of the plurality of conversion cycles, converting the residual signal and outputting a second conversion result; and
    根据所述第二转换结果对所述最后一个转换周期的第一转换结果中的所述残差信号进行补偿,并输出最终转换结果。Compensating the residual signal in the first conversion result of the last conversion cycle according to the second conversion result, and outputting a final conversion result.
PCT/CN2022/107292 2021-07-30 2022-07-22 Analog-to-digital converter, electric quantity measurement circuit, and battery management system WO2023005825A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110871758.2 2021-07-30
CN202110871758.2A CN115694509A (en) 2021-07-30 2021-07-30 Analog-to-digital converter, electric quantity detection circuit and battery management system

Publications (1)

Publication Number Publication Date
WO2023005825A1 true WO2023005825A1 (en) 2023-02-02

Family

ID=85057945

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/107292 WO2023005825A1 (en) 2021-07-30 2022-07-22 Analog-to-digital converter, electric quantity measurement circuit, and battery management system

Country Status (2)

Country Link
CN (1) CN115694509A (en)
WO (1) WO2023005825A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5245343A (en) * 1990-08-03 1993-09-14 Honeywell Inc. Enhanced accuracy delta-sigma A/D converter
CN102035554A (en) * 2010-11-19 2011-04-27 钜泉光电科技(上海)股份有限公司 System and method for metering and analyzing electric energy as well as analog-to-digital conversion circuit
CN111464186A (en) * 2020-04-28 2020-07-28 合肥工业大学 High-speed Pipeline-SAR type analog-to-digital conversion circuit
CN112398474A (en) * 2020-11-23 2021-02-23 天津大学合肥创新发展研究院 Working method of multistage Cyclic ADC
CN112821893A (en) * 2021-01-18 2021-05-18 南京德睿智芯电子科技有限公司 Digital feedback calibration circuit for self-adjusting interstage operational amplifier gain of analog-to-digital converter

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5245343A (en) * 1990-08-03 1993-09-14 Honeywell Inc. Enhanced accuracy delta-sigma A/D converter
CN102035554A (en) * 2010-11-19 2011-04-27 钜泉光电科技(上海)股份有限公司 System and method for metering and analyzing electric energy as well as analog-to-digital conversion circuit
CN111464186A (en) * 2020-04-28 2020-07-28 合肥工业大学 High-speed Pipeline-SAR type analog-to-digital conversion circuit
CN112398474A (en) * 2020-11-23 2021-02-23 天津大学合肥创新发展研究院 Working method of multistage Cyclic ADC
CN112821893A (en) * 2021-01-18 2021-05-18 南京德睿智芯电子科技有限公司 Digital feedback calibration circuit for self-adjusting interstage operational amplifier gain of analog-to-digital converter

Also Published As

Publication number Publication date
CN115694509A (en) 2023-02-03

Similar Documents

Publication Publication Date Title
CN109889199B (en) Sigma delta type and SAR type mixed ADC with chopper stabilization
CN100431270C (en) Incremental-delta analogue-to-digital conversion
WO2017006297A2 (en) Hybrid charge-sharing charge-redistribution dac for successive approximation analog-to-digital converters
US20090278716A1 (en) Sample hold circuit for use in time-interleaved a/d converter apparatus including paralleled low-speed pipeline a/d converters
CN104158545B (en) A kind of successive approximation register pattern number converter quantified based on voltage controlled oscillator
US8970412B2 (en) Signal quantization method and apparatus and sensor based thereon
WO2006047751A1 (en) Analog-to-digital converter
US8842029B2 (en) Area-efficiency delta modulator for quantizing an analog signal
JPH0779243B2 (en) Oversample type A / D converter
CN104506196A (en) High-speed high-precision two-step type analog-digital converter
EP2706666A1 (en) Circuit for digitizing a sum of signals
GB2453255A (en) A sigma-delta analog-to-digital converter (ADC) which has an integral calibration system comprising calibration digital-to-analog converters (DACs).
US20220021395A1 (en) Integrator And Analog-To-Digital Converter
CN108900195A (en) Oversampling analog-to-digital converter and its feedback digital analog converter dynamic error calibration method
WO2020181485A1 (en) Analog-to-digital converter and related chip
WO2023005825A1 (en) Analog-to-digital converter, electric quantity measurement circuit, and battery management system
WO2022143542A1 (en) Analog-to-digital converter, power detection circuit, and battery management system
WO2023246410A1 (en) Analog-to-digital conversion circuit, control method, chip and electronic device
Kim et al. A Low-power Extended-counting Delta-sigma ADC for CMOS Image Sensors
WO2022143544A1 (en) Analog-to-digital converter, electric quantity measurement circuit, and battery management system
US11075646B2 (en) Σ-Δmodulator and method for reducing nonlinear error and gain error
CN115347896B (en) High-precision DC signal source
Rogi et al. A novel architecture for a Capacitive-to-Digital Converter using time-encoding and noise shaping
Kobayashi et al. Investigation of Hybrid ADC Combined with First-order Feedforward Incremental and SAR ADCs
CN204334546U (en) High-speed, high precision two-step analog to digital converter

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22848430

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE