WO2015043020A1 - High-precision voltage detection circuit and method - Google Patents

High-precision voltage detection circuit and method Download PDF

Info

Publication number
WO2015043020A1
WO2015043020A1 PCT/CN2013/085583 CN2013085583W WO2015043020A1 WO 2015043020 A1 WO2015043020 A1 WO 2015043020A1 CN 2013085583 W CN2013085583 W CN 2013085583W WO 2015043020 A1 WO2015043020 A1 WO 2015043020A1
Authority
WO
WIPO (PCT)
Prior art keywords
voltage
counter
output
modulator
square wave
Prior art date
Application number
PCT/CN2013/085583
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 WO2015043020A1 publication Critical patent/WO2015043020A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/25Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
    • G01R19/255Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques using analogue/digital converters of the type with counting of pulses during a period of time proportional to voltage or current, delivered by a pulse generator with fixed frequency

Definitions

  • the present invention relates to the field of digital-analog hybrid integrated circuit design, and more particularly to a voltage detection circuit controlled by a digital operation circuit and its feedback interleaved signal.
  • BACKGROUND OF THE INVENTION Sensors are a commonly used electronic component.
  • integrated sensors With the rapid development of integrated circuits, integrated sensors have also evolved.
  • Existing integrated sensors generally convert detection signals into voltage signals for processing. The detection of the voltage signal becomes the key to the integrated sensor design.
  • the voltage detection circuit becomes the core circuit in the sensor circuit, and the detection accuracy directly determines the effective accuracy of the overall sensor.
  • the existing voltage detection circuit basically adopts an A/D conversion circuit.
  • the optional conversion circuit may be different, but regardless of the structure of the A/D conversion circuit, There are non-ideal factors such as charge injection, clock breakdown, sampling spikes, etc., resulting in low accuracy of voltage sampling results.
  • higher detection accuracy is also achieved by increasing EN0B. Although this can improve the accuracy of voltage sampling to a certain extent, the power consumption, area and other expenses of the whole circuit suddenly increase, and the complexity also increases, which eventually leads to a complicated system of the circuit, poor usability, and high cost.
  • the technical problem to be solved by the present invention is to provide a high-precision voltage detecting circuit and method which can output a digital code signal with high precision without requiring a digital-to-analog converter.
  • the present invention provides a high-accuracy voltage detecting circuit, comprising: a modulator for receiving a voltage to be detected and a reference voltage, and outputting a modulated square wave signal, wherein a duty ratio of the modulated square wave signal is a ratio of the voltage to be detected to the reference voltage;
  • the MCU processing module receives the digital code output by the counter and the frequency divider module, and calculates a voltage to be detected according to the digital code.
  • the voltage detecting circuit further includes:
  • a reference and bias circuit for assisting the modulator to provide the modulator with a desired reference voltage and bias voltage
  • a control clock module is provided for providing the counter and divider modules with the desired high frequency clock signal.
  • the modulator is a first-order ⁇ _ ⁇ modulator, including a chopper operational amplifier, an N-tube input comparator, a P-tube input comparator, an RS-type flip-flop, a sampling switch, a resistor and a capacitor, and the chopping An operational amplifier is configured to receive the reference voltage and a voltage to be detected, and the N-tube input comparator and the P-tube input comparator generate a threshold voltage for monitoring charging and discharging of the capacitor, and the output of the N-tube input comparator And an output end of the P-tube input comparator is respectively connected to two input ends of the RS-type flip-flop, and an output feedback signal of the RS-type flip-flop controls the sampling switch.
  • a forward input terminal of the chopper operational amplifier is connected to the reference voltage, and an inverting input end of the chopper operational amplifier is connected to the to-be-detected voltage through the resistor, and the to-be-detected voltage is
  • a sampling switch and a resistor are disposed between the inverting input terminals of the operational amplifier, and a capacitor is connected across the output end of the chopper operational amplifier and the inverting input terminal of the operational amplifier, and the output of the chopper operational amplifier
  • the terminal simultaneously connects the N-tube input comparator and the P-tube input comparator, and the output of the N-tube input comparator and the output of the P-tube input comparator are respectively connected to two of the RS-type flip-flops
  • the input end of the RS-type flip-flop outputs an output signal to control the sampling switch.
  • the chopper operational amplifier includes three chopper switches, one of which is an input chopping switch and two output chopping switches.
  • the interleaved feedback control signal controls the chopper switch, and an output terminal of each chopper switch is provided with a folded cascode amplifier.
  • the chopper switch is composed of four transmission gates controlled by four reverse non-overlapping clocks.
  • the counter and the frequency divider module comprise a first counter, a second counter and a divider, the first counter and the second counter receiving a modulated square wave signal output by the modulator, and outputting the modulation side
  • the hold time of the high and low levels of the wave signal is given to the divider, and the divider outputs the duty ratio of the high and low levels of the modulated square wave signal to the MCU processing module in digital code form.
  • a voltage detecting method comprising:
  • the converting the modulated square wave signal into a digital code by using a counter and a frequency divider comprises:
  • the high-level hold time and the low-level hold time of the modulated square wave signal are calculated by the counter; the ratio of the high-level hold time to the low-level hold time is calculated by the divider, and the digital code is output.
  • the counter and the frequency divider generate an interlace control feedback signal to the modulator.
  • the ratio of the voltage to be detected to the reference voltage is modulated into a modulated square wave signal, and the accuracy of the voltage detection depends on the number of high-level clocks and the low level of the modulated square wave signal.
  • the ratio of the number of clock counts is determined, and the interleaved feedback control signal is generated by the counter and the frequency divider to control the modulator, which can eliminate the offset voltage of the modulator, greatly improve the voltage detection accuracy, and can also be processed by the MCU processing module. Further correction of the detected data is achieved, thereby again improving the accuracy of the detection.
  • FIG. 1 is a circuit block diagram of an embodiment of a high precision voltage detecting circuit of the present invention
  • FIG. 2 is a schematic diagram of a modulator circuit of an embodiment of the high-accuracy voltage detecting circuit of the present invention
  • FIG. 3 is a schematic diagram of a chopper operational circuit of the high-accuracy voltage detecting circuit of the present invention
  • FIG. 4 is a high precision of the present invention
  • FIG. 5 is a schematic diagram of a counter and a divider circuit of the embodiment of the high precision voltage detecting circuit of the present invention
  • Fig. 6 is a flow chart showing a voltage detecting method of an embodiment of the high-precision voltage detecting circuit of the present invention
  • Fig. 7 is a waveform diagram showing the output timing of the counter and the divider of the high-accuracy voltage detecting circuit of the present invention.
  • a high-precision voltage detecting circuit of the present invention includes a modulator, wherein the modulator is a first-order ⁇ _ ⁇ modulator for receiving a voltage to be detected and a reference voltage, and outputting a modulated square wave signal.
  • the duty ratio of the modulated square wave signal is a ratio of the to-be-detected voltage to the reference voltage; the first-order ⁇ _ ⁇ modulator is connected with a reference and a bias circuit, and the reference and bias circuits are used.
  • the modulator is supplied with the required reference voltage and bias voltage.
  • the MCU processing module receives the digital code output by the counter and the frequency divider module, and calculates a voltage to be detected according to the digital code.
  • the digital code is a ratio of a high level hold time t l to a low level hold time t 2 .
  • the first-order ⁇ _ ⁇ modulator includes a chopper operational amplifier, an N-tube input comparator, a P-tube input comparator, an RS-type flip-flop, a sampling switch, a resistor, and a capacitor, as shown in FIG.
  • the forward input terminal of the chopper operational amplifier 101 is connected to the reference voltage, and the inverting input terminal of the chopper operational amplifier 101 is connected to the to-be-detected voltage through the resistor 108, and the to-be-detected voltage and the operation
  • a sampling switch S1 and S2 and a resistor 108 are disposed between the inverting input terminals of the amplifier 101, and a capacitor 1 is connected between the output end of the chopper operational amplifier 101 and the inverting input terminal of the chopper operational amplifier 101. 07.
  • the output end of the chopper operational amplifier 101 is simultaneously connected to the N-tube input comparator and the P-tube input comparator, and the output of the N-tube input comparator and the output of the P-tube input comparator
  • the terminals respectively connect two input ends of the RS type flip-flop, and an output end of the RS type flip-flop outputs a feedback signal to control the sampling switch.
  • the chopper operational amplifier 101 is configured to receive the reference voltage and a voltage to be detected, and the N-tube input comparator 102 and the P-tube input comparator 103 generate a threshold voltage VH for monitoring charging and discharging of the capacitor 107. VL.
  • An output end of the N-tube input comparator 102 and an output end of the P-tube input comparator 103 are respectively connected to two input ends of the RS-type flip-flop 104, and an output feedback signal 2 of the RS-type flip-flop 2 Control the sampling switches S1 and S2.
  • the chopper operational amplifier includes three chopper switches, wherein An input chopping switch and two output chopping switches, the interleaved feedback control signals controlling the chopping switches, and each chopper switch has a folded cascode amplifier at its output.
  • the connection relationship is shown in Figure 3, and is not repeated here.
  • the chopper switch is composed of four transmission gates controlled by four reverse non-overlapping clocks.
  • the counter and the frequency divider module include a first counter, a second counter, and a divider.
  • the first counter 201 and the second counter 202 receive the output of the modulator. Modulating a square wave signal, and outputting a high and low level holding time of the modulated square wave signal to the divider 203, the divider 203 outputting a high and low level duty of the modulated square wave signal in a digital code form
  • the module is processed to the MCU.
  • a voltage detecting method is characterized by comprising the following steps:
  • Step S100 The modulator modulates the ratio of the voltage to be detected to the reference voltage to a modulated square wave signal;
  • Step S101 The counter and the frequency divider generate an interleaving control feedback signal to the modulator.
  • Step 103 Calculate the value of the voltage to be tested by the MCU processing module.
  • the working principle of the first-order ⁇ ⁇ ⁇ modulator Assume that the RS flip-flop initially Q is high, then Q is low. At this time, the sampling switch S1 closes the sampling switch S2 to open, and the voltage to be detected VIN passes. The resistor 108 charges the capacitor 107 to obtain a charging current of:
  • the charging time of the tantalum capacitor 107 is t1. It can be seen from Fig. 2 that the voltage VI of the positive terminal of the capacitor 107 is constant, so the voltage of the lower plate of the capacitor gradually decreases during charging, and the input of the P tube is compared when the voltage drops below the threshold voltage VL.
  • the flipper 103 flips, causing the RS flip-flop to flip, eventually causing the sampling switch S1 to open the sampling S2 to close, and the VI discharging the capacitor 107 through the resistor 108:
  • Figure 7 is a timing waveform diagram of the output of the counter and divider circuit. If the high-level hold time of the modulated square wave is t1 and the low-level hold time is t2, then: (7) where t O is the clock period of the counter, and n is the number of clock cycles, which can be obtained by combining formula (6):
  • the counter passes the count result to the divider, and the divider calculates the ratio of nl to n2, which in turn outputs a ratio 210 of the voltage VIN to the reference voltage VREF.
  • the chopper op amp structure shown in Figure 3 is employed.
  • the chopper op amp can effectively eliminate off set and 1/f noise.
  • the modulation frequency of the traditional chopper switch needs to be satisfied: + ( 9 )
  • the stable VI can obtain higher precision.
  • the present invention proposes a new method for controlling a chopper switch by an interleaved feedback method (the interleaved feedback control signal is given by a counter and a divider circuit):
  • the interleaved feedback control signal is given by a counter and a divider circuit:
  • the interlaced feedback controlled chopper op amp can effectively filter the 1/f noise.
  • a P input comparator and an N input comparator are used in the modulator.
  • the two comparators are used to determine the capacitor charge and discharge threshold voltage, and it is necessary to monitor the voltage change all the time, so it needs to work all the time after the enable. Since the two comparators monitor different voltage values, the N tube is used as the input pair tube (for the case where the input common mode is relatively high) and the P tube is used as the input pair tube (for the case where the input common mode is low).
  • a comparator is used to monitor the threshold voltage of the capacitor charge and discharge in the modulator.
  • the simulation output code of the divider is: 1001000010010101, where the first three digits are integer parts, and the last 13 bits. Calculated by the MCU arithmetic circuit for the fractional part The detection error is 20. 072V, and the detection error is 0.36%.
  • the effect of the op amp off set on the detection accuracy can be effectively suppressed.
  • the op amp input introduces a 10% mismatch to the tube, and the given input voltage is 20V
  • the output code of the divider is: 1001000000000100
  • the voltage calculated by the MCU operation circuit is 20. 0024V. It can be seen from the calculation results that the off set voltage of the op amp is not reflected in the output of the divider, indicating that the artificially set off set has been completely eliminated, which proves that the chopper op amp controlled by the interlaced feedback signal can eliminate the offset. Achieve high precision detection.

Abstract

Provided is a high-precision voltage detection circuit, comprising a modulator, a counter and frequency divider module and an MCU processing module. By using the modulator and a counter and a frequency divider, a ratio of a voltage to be detected and a reference voltage is modulated into a modulation square-wave signal, the precision of the voltage detection is made to depend on a ratio of the counting number of a high-level clock and the counting number of a low-level clock, and staggered feedback control signals are generated by the counter and frequency divider to control the modulator, so that the offset voltage of the modulator can be eliminated, the precision of the voltage detection can be increased to a great extent; and moreover, a further correction of detection data can also be realized by the MCU processing module, thereby increasing the accuracy of detection once again.

Description

一种高精度电压检测电路及方法 技术领域 本发明涉及数模混合集成电路设计领域, 特别涉及一种由数字运算电路 及其反馈的交错信号控制的电压检测电路。 背景技术 传感器一种常用的电子元件, 随着集成电路的飞速发展, 集成传感器也随 之发展, 现有的集成传感器一般都是将检测信号转换为电压信号再进行处理。 由此电压信号的检测成为了集成传感器设计的关键,电压检测电路成为了传感 器电路中的核心电路, 其检测精度直接决定了整体传感器的有效精度。  TECHNICAL FIELD The present invention relates to the field of digital-analog hybrid integrated circuit design, and more particularly to a voltage detection circuit controlled by a digital operation circuit and its feedback interleaved signal. BACKGROUND OF THE INVENTION Sensors are a commonly used electronic component. With the rapid development of integrated circuits, integrated sensors have also evolved. Existing integrated sensors generally convert detection signals into voltage signals for processing. The detection of the voltage signal becomes the key to the integrated sensor design. The voltage detection circuit becomes the core circuit in the sensor circuit, and the detection accuracy directly determines the effective accuracy of the overall sensor.
现有电压检测电路为了能够实现检测信号的数字化, 基本上都采用 A/D 转换电路, 根据应用背景的不同, 可选用的转换电路可能不同, 但是不论哪种 结构的 A/D 转换电路, 都会存在电荷注入、 时钟溃通、 采样尖峰等非理想因 素, 从而导致电压采样的结果精度不高。 现有技术中也有通过提高 EN0B来实 现更高的检测精度。这样做虽然可以在一定程度上提高电压采样的精度,但使 得整体电路的功耗、 面积等开销骤然增大, 复杂度也随之增加, 最终导致电路 的系统复杂, 易用性差, 成本高昂。  In order to realize the digitization of the detection signal, the existing voltage detection circuit basically adopts an A/D conversion circuit. Depending on the application background, the optional conversion circuit may be different, but regardless of the structure of the A/D conversion circuit, There are non-ideal factors such as charge injection, clock breakdown, sampling spikes, etc., resulting in low accuracy of voltage sampling results. In the prior art, higher detection accuracy is also achieved by increasing EN0B. Although this can improve the accuracy of voltage sampling to a certain extent, the power consumption, area and other expenses of the whole circuit suddenly increase, and the complexity also increases, which eventually leads to a complicated system of the circuit, poor usability, and high cost.
发明内容 针对传统电压检测电路方案需采用数模转换器才能输出数字信号,导致电 路开销过大等缺点。本发明要解决的技术问题是提供一种高精度、无需数模转 换器即可输出数字码信号的高精度电压检测电路以及方法。 SUMMARY OF THE INVENTION In view of the conventional voltage detection circuit scheme, a digital-to-analog converter is required to output a digital signal, resulting in a disadvantage of excessive circuit overhead. The technical problem to be solved by the present invention is to provide a high-precision voltage detecting circuit and method which can output a digital code signal with high precision without requiring a digital-to-analog converter.
为了解决以上技术问题, 本发明提供一种高精度电压检测电路, 包括: 调制器, 用以接收待检测电压以及基准电压, 并输出调制方波信号, 所述 调制方波信号的占空比为所述待检测电压与所述基准电压的比例;  In order to solve the above technical problem, the present invention provides a high-accuracy voltage detecting circuit, comprising: a modulator for receiving a voltage to be detected and a reference voltage, and outputting a modulated square wave signal, wherein a duty ratio of the modulated square wave signal is a ratio of the voltage to be detected to the reference voltage;
计数器和分频器模块, 用以接收所述调制器输出的调制方波信号,将所述 调制方波信号转换为数字码输出的同时产生两个相互交错的反馈控制信号,所 述反馈控制信号输出给所述调制器; MCU处理模块, 接收所述计数器和分频器模块输出的数字码, 并根据所述 数字码计算出待检测电压。 a counter and a frequency divider module for receiving a modulated square wave signal output by the modulator, converting the modulated square wave signal into a digital code output, and generating two interleaved feedback control signals, the feedback control signal Output to the modulator; The MCU processing module receives the digital code output by the counter and the frequency divider module, and calculates a voltage to be detected according to the digital code.
优选的, 所述电压检测电路还包括:  Preferably, the voltage detecting circuit further includes:
基准和偏置电路, 用于辅助调制器,给所述调制器提供所需的基准电压和 偏置电压;  a reference and bias circuit for assisting the modulator to provide the modulator with a desired reference voltage and bias voltage;
控制时钟模块, 用于给所述计数器和分频器模块提供所需的高频时钟信 号。  A control clock module is provided for providing the counter and divider modules with the desired high frequency clock signal.
优选的, 所述调制器为一阶∑_△调制器, 包括斩波运算放大器、 N 管输 入比较器、 P管输入比较器、 RS型触发器、 采样开关、 电阻和电容, 所述斩波 运算放大器用于接收所述基准电压以及待检测电压,所述 N管输入比较器与所 述 P管输入比较器产生监视所述电容充放电的阀值电压,所述 N管输入比较器 的输出端与所述 P管输入比较器的输出端分别连接所述 RS型触发器的两个输 入端, 所述 RS型触发器的输出反馈信号控制所述采样开关。  Preferably, the modulator is a first-order ∑_Δ modulator, including a chopper operational amplifier, an N-tube input comparator, a P-tube input comparator, an RS-type flip-flop, a sampling switch, a resistor and a capacitor, and the chopping An operational amplifier is configured to receive the reference voltage and a voltage to be detected, and the N-tube input comparator and the P-tube input comparator generate a threshold voltage for monitoring charging and discharging of the capacitor, and the output of the N-tube input comparator And an output end of the P-tube input comparator is respectively connected to two input ends of the RS-type flip-flop, and an output feedback signal of the RS-type flip-flop controls the sampling switch.
优选的, 所述斩波运算放大器的正向输入端接所述基准电压, 所述斩波运 算放大器的反向输入端通过所述电阻接所述待检测电压,所述待检测电压与所 述运算放大器的反向输入端之间设有采样开关以及电阻,所述斩波运算放大器 的输出端与所述运算放大器的反向输入端之间跨接有电容,所述斩波运算放大 器的输出端同时连接所述 N管输入比较器和所述 P管输入比较器,所述 N管输 入比较器的输出端与所述 P管输入比较器的输出端分别连接所述 RS型触发器 的两个输入端, 所述 RS型触发器的输出端输出反馈信号控制所述采样开关 优选的, 所述斩波运算放大器包括三个斩波开关, 其中一个输入斩波开关 和两个输出斩波开关, 所述交错的反馈控制信号控制所述斩波开关,每个斩波 开关的输出端设有一个折叠结构的共源共栅放大器。  Preferably, a forward input terminal of the chopper operational amplifier is connected to the reference voltage, and an inverting input end of the chopper operational amplifier is connected to the to-be-detected voltage through the resistor, and the to-be-detected voltage is A sampling switch and a resistor are disposed between the inverting input terminals of the operational amplifier, and a capacitor is connected across the output end of the chopper operational amplifier and the inverting input terminal of the operational amplifier, and the output of the chopper operational amplifier The terminal simultaneously connects the N-tube input comparator and the P-tube input comparator, and the output of the N-tube input comparator and the output of the P-tube input comparator are respectively connected to two of the RS-type flip-flops The input end of the RS-type flip-flop outputs an output signal to control the sampling switch. The chopper operational amplifier includes three chopper switches, one of which is an input chopping switch and two output chopping switches. The interleaved feedback control signal controls the chopper switch, and an output terminal of each chopper switch is provided with a folded cascode amplifier.
优选的, 所述斩波开关由四个反向非交叠时钟控制的四个传输门构成。 优选的,所述计数器和分频器模块包括第一计数器、第二计数器和除法器, 所述第一计数器与第二计数器接收所述调制器输出的调制方波信号,并输出所 述调制方波信号的高低电平的保持时间给所述除法器,所述除法器以数字码形 式输出所述调制方波信号的高低电平的占空比给所述 MCU处理模块。  Preferably, the chopper switch is composed of four transmission gates controlled by four reverse non-overlapping clocks. Preferably, the counter and the frequency divider module comprise a first counter, a second counter and a divider, the first counter and the second counter receiving a modulated square wave signal output by the modulator, and outputting the modulation side The hold time of the high and low levels of the wave signal is given to the divider, and the divider outputs the duty ratio of the high and low levels of the modulated square wave signal to the MCU processing module in digital code form.
一种电压检测方法, 其特征在于, 包括:  A voltage detecting method, comprising:
通过调制器将待检测电压与基准电压的比值调制为调制方波信号; 通过计数器和分频器将所述调制方波信号转换为数字码; 通过 MCU处理模块计算出待测电压的值。 Modulating a ratio of a voltage to be detected to a reference voltage by a modulator to a modulated square wave signal; converting the modulated square wave signal into a digital code by a counter and a frequency divider; The value of the voltage to be measured is calculated by the MCU processing module.
优选的, 所述通过计数器和分频器将所述调制方波信号转换为数字码包 括:  Preferably, the converting the modulated square wave signal into a digital code by using a counter and a frequency divider comprises:
通过计数器计算调制方波信号的高电平保持时间和低电平保持时间; 通过除法器计算高电平保持时间和低电平保持时间的比值, 输出数字码。 优选的, 所述通过计数器和分频器将所述调制方波信号转换为数字码时, 所述计数器与分频器产生交错控制反馈信号给所述调制器。  The high-level hold time and the low-level hold time of the modulated square wave signal are calculated by the counter; the ratio of the high-level hold time to the low-level hold time is calculated by the divider, and the digital code is output. Preferably, when the modulation square wave signal is converted into a digital code by a counter and a frequency divider, the counter and the frequency divider generate an interlace control feedback signal to the modulator.
通过使用调制器、计数器和分频器,将待检测电压与基准电压比值调制为 调制方波信号,并使电压检测的精度取决于调制方波信号的高电平时钟计数个 数和低电平时钟计数个数的比值决定,并由计数器和分频器产生交错反馈控制 信号控制调制器, 可以消除调制器的失调电压,极大程度的提高了电压检测精 度, 并且通过 MCU处理模块, 也可以实现对检测数据的进一步修正, 从而再次 提高检测的准确度。  By using a modulator, a counter, and a frequency divider, the ratio of the voltage to be detected to the reference voltage is modulated into a modulated square wave signal, and the accuracy of the voltage detection depends on the number of high-level clocks and the low level of the modulated square wave signal. The ratio of the number of clock counts is determined, and the interleaved feedback control signal is generated by the counter and the frequency divider to control the modulator, which can eliminate the offset voltage of the modulator, greatly improve the voltage detection accuracy, and can also be processed by the MCU processing module. Further correction of the detected data is achieved, thereby again improving the accuracy of the detection.
附图说明 下面结合附图和具体实施方式对本发明作进一步的详细说明: BRIEF DESCRIPTION OF THE DRAWINGS The invention will be further described in detail below with reference to the drawings and specific embodiments:
图 1是本发明的高精度电压检测电路实施例的电路原理框图;  1 is a circuit block diagram of an embodiment of a high precision voltage detecting circuit of the present invention;
图 2是本发明的高精度电压检测电路实施例的调制器电路原理示意图; 图 3是本发明的高精度电压检测电路实施例的斩波运放电路原理示意图; 图 4是本发明的高精度电压检测电路实施例的斩波开关电路原理示意图; 图 5 是本发明的高精度电压检测电路实施例的计数器及除法器电路原理 示意图;  2 is a schematic diagram of a modulator circuit of an embodiment of the high-accuracy voltage detecting circuit of the present invention; FIG. 3 is a schematic diagram of a chopper operational circuit of the high-accuracy voltage detecting circuit of the present invention; FIG. 4 is a high precision of the present invention; Schematic diagram of a chopper switching circuit of a voltage detecting circuit embodiment; FIG. 5 is a schematic diagram of a counter and a divider circuit of the embodiment of the high precision voltage detecting circuit of the present invention;
图 6是本发明的高精度电压检测电路实施例的电压检测方法的流程图; 图 7 是本发明的高精度电压检测电路实施例的计数器及除法器输出时序 波形图。  Fig. 6 is a flow chart showing a voltage detecting method of an embodiment of the high-precision voltage detecting circuit of the present invention; Fig. 7 is a waveform diagram showing the output timing of the counter and the divider of the high-accuracy voltage detecting circuit of the present invention.
具体实施方式 为使本发明的上述目的、特征和优点能够更加明显易懂, 下面结合附图对 本发明的具体实施方式做详细的说明,使本发明的上述及其它目的、特征和优 势将更加清晰。在全部附图中相同的附图标记指示相同的部分。 并未刻意按比 例绘制附图, 重点在于示出本发明的主旨。 detailed description The above and other objects, features and advantages of the present invention will become more <RTIgt; The same reference numerals are used throughout the drawings to refer to the same parts. The drawings are not intended to be drawn to scale, emphasis is placed on the subject matter of the invention.
如图 1所示, 本发明的一种高精度电压检测电路, 包括调制器, 所述调制 器为一阶∑_△调制器, 用以接收待检测电压以及基准电压, 并输出调制方波 信号, 所述调制方波信号的占空比为所述待检测电压与所述基准电压的比例; 所述一阶∑ _△调制器连接有基准和偏置电路, 所述基准和偏置电路用于辅助 调制器,给所述调制器提供所需的基准电压和偏置电压。计数器和分频器模块, 所述计数器和分频器模块将调制器用以接收所述调制器输出的调制方波信号, 将所述调制方波信号转换为数字码输出的同时产生两个相互交错的反馈控制 信号 CLK1和 CLK2 , 所述反馈控制信号输出给所述一阶 Σ - Δ调制器; 控制时 钟模块, 用于给所述计数器和分频器模块提供所需的高频时钟信号。 MCU处理 模块,接收所述计数器和分频器模块输出的数字码, 并根据所述数字码计算出 待检测电压。 所述数字码为高电平保持时间 t l和低电平保持时间 t 2的比值。  As shown in FIG. 1, a high-precision voltage detecting circuit of the present invention includes a modulator, wherein the modulator is a first-order ∑_Δ modulator for receiving a voltage to be detected and a reference voltage, and outputting a modulated square wave signal. The duty ratio of the modulated square wave signal is a ratio of the to-be-detected voltage to the reference voltage; the first-order ∑ _Δ modulator is connected with a reference and a bias circuit, and the reference and bias circuits are used. In the auxiliary modulator, the modulator is supplied with the required reference voltage and bias voltage. a counter and a frequency divider module, wherein the counter and the frequency divider module are configured to receive a modulated square wave signal output by the modulator, and convert the modulated square wave signal into a digital code output to generate two interlaced signals The feedback control signals CLK1 and CLK2 are output to the first-order Σ-Δ modulator; and the control clock module is configured to provide the counter and the divider module with a desired high-frequency clock signal. The MCU processing module receives the digital code output by the counter and the frequency divider module, and calculates a voltage to be detected according to the digital code. The digital code is a ratio of a high level hold time t l to a low level hold time t 2 .
在本实施例中, 一阶∑_△调制器包括斩波运算放大器、 N管输入比较器、 P管输入比较器、 RS型触发器、 采样开关、 电阻和电容, 如图 2所示, 所述斩 波运算放大器 101 的正向输入端接所述基准电压, 所述斩波运算放大器 101 的反向输入端通过所述电阻 108接所述待检测电压,所述待检测电压与所述运 算放大器 101的反向输入端之间设有采样开关 S1和 S2以及电阻 108 , 所述斩 波运算放大器 101的输出端与所述斩波运算放大器 101的反向输入端之间跨接 有电容 1 07 , 所述斩波运算放大器 101的输出端同时连接所述 N管输入比较器 和所述 P管输入比较器,所述 N管输入比较器的输出端与所述 P管输入比较器 的输出端分别连接所述 RS型触发器的两个输入端,所述 RS型触发器的输出端 输出反馈信号控制所述采样开关。  In this embodiment, the first-order ∑_Δ modulator includes a chopper operational amplifier, an N-tube input comparator, a P-tube input comparator, an RS-type flip-flop, a sampling switch, a resistor, and a capacitor, as shown in FIG. The forward input terminal of the chopper operational amplifier 101 is connected to the reference voltage, and the inverting input terminal of the chopper operational amplifier 101 is connected to the to-be-detected voltage through the resistor 108, and the to-be-detected voltage and the operation A sampling switch S1 and S2 and a resistor 108 are disposed between the inverting input terminals of the amplifier 101, and a capacitor 1 is connected between the output end of the chopper operational amplifier 101 and the inverting input terminal of the chopper operational amplifier 101. 07. The output end of the chopper operational amplifier 101 is simultaneously connected to the N-tube input comparator and the P-tube input comparator, and the output of the N-tube input comparator and the output of the P-tube input comparator The terminals respectively connect two input ends of the RS type flip-flop, and an output end of the RS type flip-flop outputs a feedback signal to control the sampling switch.
所述斩波运算放大器 101用于接收所述基准电压以及待检测电压, 所述 N 管输入比较器 102与所述 P管输入比较器 103产生监视所述电容 107充放电的 阀值电压 VH和 VL。 所述 N管输入比较器 102的输出端与所述 P管输入比较器 103的输出端分别连接所述 RS型触发器 104的两个输入端, 所述 RS型触发器 的输出反馈信号 2和 2控制所述采样开关 S1和 S2。  The chopper operational amplifier 101 is configured to receive the reference voltage and a voltage to be detected, and the N-tube input comparator 102 and the P-tube input comparator 103 generate a threshold voltage VH for monitoring charging and discharging of the capacitor 107. VL. An output end of the N-tube input comparator 102 and an output end of the P-tube input comparator 103 are respectively connected to two input ends of the RS-type flip-flop 104, and an output feedback signal 2 of the RS-type flip-flop 2 Control the sampling switches S1 and S2.
如图 3所示, 本实施例中, 所述斩波运算放大器包括三个斩波开关, 其中 一个输入斩波开关和两个输出斩波开关,所述交错的反馈控制信号控制所述斩 波开关,每个斩波开关的输出端设有一个折叠结构的共源共栅放大器。其连接 关系如图 3所示, 在此不再——赘述。 如图 4所示, 所述斩波开关由四个反向 非交叠时钟控制的四个传输门构成。 As shown in FIG. 3, in this embodiment, the chopper operational amplifier includes three chopper switches, wherein An input chopping switch and two output chopping switches, the interleaved feedback control signals controlling the chopping switches, and each chopper switch has a folded cascode amplifier at its output. The connection relationship is shown in Figure 3, and is not repeated here. As shown in FIG. 4, the chopper switch is composed of four transmission gates controlled by four reverse non-overlapping clocks.
在本实施例中, 所述计数器和分频器模块包括第一计数器、第二计数器和 除法器,如图 5所示, 所述第一计数器 201与第二计数器 202接收所述调制器 输出的调制方波信号,并输出所述调制方波信号的高低电平的保持时间给所述 除法器 203 , 所述除法器 203以数字码形式输出所述调制方波信号的高低电平 的占空比给所述 MCU处理模块。  In this embodiment, the counter and the frequency divider module include a first counter, a second counter, and a divider. As shown in FIG. 5, the first counter 201 and the second counter 202 receive the output of the modulator. Modulating a square wave signal, and outputting a high and low level holding time of the modulated square wave signal to the divider 203, the divider 203 outputting a high and low level duty of the modulated square wave signal in a digital code form The module is processed to the MCU.
如图 6所示, 一种电压检测方法, 其特征在于, 包括以下步骤:  As shown in FIG. 6, a voltage detecting method is characterized by comprising the following steps:
步骤 S100 : 调制器将待检测电压与基准电压的比值调制为调制方波信号; 步骤 S101 : 计数器计算调制方波信号的高电平保持时间和低电平保持时 间;  Step S100: The modulator modulates the ratio of the voltage to be detected to the reference voltage to a modulated square wave signal; Step S101: The counter calculates a high level hold time and a low level hold time of the modulated square wave signal;
步骤 S101 0: 所述计数器与分频器产生交错控制反馈信号给所述调制器 步骤 S102: 除法器计算高电平保持时间和低电平保持时间的比值, 输出 数字码;  Step S101: The counter and the frequency divider generate an interleaving control feedback signal to the modulator. Step S102: The divider calculates a ratio of the high level holding time and the low level holding time, and outputs a digital code;
步骤 103: 通过 MCU处理模块计算出待测电压的值。  Step 103: Calculate the value of the voltage to be tested by the MCU processing module.
本实施例电压检测的工作原理:  The working principle of voltage detection in this embodiment:
首先, 一阶 Σ _ Δ调制器的工作原理: 假设 RS触发器初始时 Q为高电平、 则 Q为低电平, 此时则采样开关 S1闭 合采样开关 S2断开, 待检测电压 VIN通过电阻 108对电容 107充电, 得到充 电电流为:
Figure imgf000007_0001
First, the working principle of the first-order Σ Δ Δ modulator: Assume that the RS flip-flop initially Q is high, then Q is low. At this time, the sampling switch S1 closes the sampling switch S2 to open, and the voltage to be detected VIN passes. The resistor 108 charges the capacitor 107 to obtain a charging current of:
Figure imgf000007_0001
殳电容 107的充电时间为 t l , 由图 2可知电容 107正端电压 VI不变, 因此在充电过程中电容下极板的电压慢慢下降, 当下降到阀值电压 VL以下时 P管输入比较器 103翻转, 从而使得 RS触发器翻转, 最终导致采样开关 S1断 开采样 S2闭合, VI通过电阻 1 08对电容 107放电:  The charging time of the tantalum capacitor 107 is t1. It can be seen from Fig. 2 that the voltage VI of the positive terminal of the capacitor 107 is constant, so the voltage of the lower plate of the capacitor gradually decreases during charging, and the input of the P tube is compared when the voltage drops below the threshold voltage VL. The flipper 103 flips, causing the RS flip-flop to flip, eventually causing the sampling switch S1 to open the sampling S2 to close, and the VI discharging the capacitor 107 through the resistor 108:
2 R ( 2 ) 同理, 放电时间如果为 t2, 放电过程中电容下极板电压慢慢上升, 上升到 阀值电压 VH以上时 N管输入比较器 102翻转,从而使得 RS触发器翻转, 最终 导致采样开关 S1闭合采样开关 S2断开又对电容 107充电,由此形成一个周期, RS触发器输出调制方波 109。 因为充电时电容 107下极板电平由阀值电压 VH 下降到阀值电压 VL,放电时电容下极板电平由阀值电压 VL上升到阀值电压 VH, 由充放电电荷总量相等可得: 2 R ( 2 ) Similarly, if the discharge time is t2, the voltage of the lower plate of the capacitor rises slowly during the discharge, and when the threshold voltage VH rises above, the N-tube input comparator 102 flips, thereby causing the RS flip-flop to flip, eventually causing the sampling switch S1 to close. The sampling switch S2 is turned off and charges the capacitor 107, thereby forming a period, and the RS flip-flop outputs a modulated square wave 109. Because the lower plate level of the capacitor 107 drops from the threshold voltage VH to the threshold voltage VL during charging, the lower plate level of the capacitor rises from the threshold voltage VL to the threshold voltage VH during discharge, and the total charge and discharge charge is equal. Get:
X = Lxt^ ( 3) 将公式( 2 ) 与 ( 3 )代入( 3 )得到
Figure imgf000008_0001
由运算放大器的原理可得
X = Lxt^ ( 3) Substituting formulas ( 2 ) and ( 3 ) into ( 3 )
Figure imgf000008_0001
Obtained by the principle of an operational amplifier
VI = VREF (5 ) 将公式( 5 )代入( 4 ) 式得:
Figure imgf000008_0002
由公式( 6 )可得, 测出 tl与 t2的比例便可得出 V¾ 一阶∑_Δ调制器输出的调制方波输入到计数器 1和计数器 2,二者分别 以高频时钟去计算调制方波的高电平和低电平的保持时间,除法器负责将两个 数据的比例求出; 与此同时,计数器及除法器电路模块还会输出交错反馈的斩 波运放控制信号, 具体时序关系在图 7中给予说明。
VI = VREF (5 ) Substituting the formula ( 5 ) into ( 4 ) gives:
Figure imgf000008_0002
From equation (6), the ratio of t1 to t2 is measured to obtain the modulation square wave output of V3⁄4 first-order ∑_Δ modulator output to counter 1 and counter 2, respectively. The high- and low-level hold times of the wave, the divider is responsible for determining the ratio of the two data; at the same time, the counter and divider circuit module also outputs the interleaved feedback chopper op amp control signal, the specific timing relationship An explanation is given in FIG.
图 7是计数器和除法器电路输出的时序波形图, 如果调制方波的高电平保 持时间为 tl, 低电平保持时间为 t2, 则有: ( 7 ) 其中 t O为计数器的时钟周期, n即为时钟周期数, 结合公式(6 )可得: Figure 7 is a timing waveform diagram of the output of the counter and divider circuit. If the high-level hold time of the modulated square wave is t1 and the low-level hold time is t2, then: (7) where t O is the clock period of the counter, and n is the number of clock cycles, which can be obtained by combining formula (6):
Figure imgf000009_0001
计数器将计数结果传递给除法器, 由除法器计算出 nl与 n2的比值, 进而可以 输出电压 VIN与基准电压 VREF的比例值 210。 同时为了消除运放引入的失调 电压误差。 采用图 3中所示的斩波运放结构。斩波运放能够有效的消除 off set和 1/f 噪声, 传统斩波开关的调制频率 需要满足: + ( 9 ) 由图 2可知, 稳定的 VI可以得到更高的精度, 加入斩波开关以后, 开关 的每次动作都会引起 VI的波动, 使电路引入额外的误差, 这样会使斩波的效 果大打折扣。 为了解决这个问题, 本发明提出一种新的方法, 通过交错反馈的 方法来控制斩波开关 (交错反馈控制信号由计数器和除法器电路给出): 电路 工作时,每个采样数据周期结束后斩波开关的控制信号翻转一次,如图 7中的 201和 202所示, 斩波控制开关随输入数据的上升沿而交错改变, 假设第一个 数据周期有:
Figure imgf000009_0001
The counter passes the count result to the divider, and the divider calculates the ratio of nl to n2, which in turn outputs a ratio 210 of the voltage VIN to the reference voltage VREF. At the same time, in order to eliminate the offset voltage error introduced by the op amp. The chopper op amp structure shown in Figure 3 is employed. The chopper op amp can effectively eliminate off set and 1/f noise. The modulation frequency of the traditional chopper switch needs to be satisfied: + ( 9 ) As can be seen from Fig. 2, the stable VI can obtain higher precision. After adding the chopper switch Each action of the switch will cause fluctuations in the VI, causing additional errors in the circuit, which will greatly reduce the effect of chopping. In order to solve this problem, the present invention proposes a new method for controlling a chopper switch by an interleaved feedback method (the interleaved feedback control signal is given by a counter and a divider circuit): When the circuit operates, each sample data period ends. The control signal of the chopper switch is flipped once, as shown by 201 and 202 in Figure 7, the chopping control switch is interleaved with the rising edge of the input data, assuming the first data cycle has:
( 10 ) 则第二个周期有: ( 11 ) 对电压采样两个周期后将公式( 10 )和( 11 )代入公式( 8 ) , 对结果求平均可 付: (10) Then the second cycle has: (11) Substituting the formulas (10) and (11) into the formula (8) after sampling the voltage for two cycles, the average of the results can be paid:
VIN = (1 +†)V1 V IN = (1 +†)V 1
( 12 ) 结果与公式(4 )的相同, 可以看到 off set电压已经消掉。 斩波运放虽带 有斩波开关, 但其实际工作原理已经不同于传统斩波运放, off set 并未经过 斩波调制而被低通滤波器滤除, 而是由于两个交错反馈控制的周期所引入的 off set 大小相等、 方向相反, 通过求平均的方法将其消除, 因此斩波频率不 再严格符合公式(9 ) 的要求。 多周期采样求平均还可以提高 t l与 t2比值的 精度。假设交错反馈信号翻转的频率约为 ΙΚΗζ-Ι ΟΚΗζ ,对运放而言主要的 1/f 噪声都集中在低频, 可知交错反馈控制的斩波运放能够有效地将 1/f 噪声滤 除。  (12) The result is the same as in equation (4), and it can be seen that the off set voltage has been eliminated. Although the chopper op amp has a chopper switch, its actual working principle is different from the traditional chopper op amp. The off set is not filtered by the low-pass filter without chopping modulation, but due to two interlaced feedback controls. The off set introduced by the period is equal in magnitude and opposite in direction, and is eliminated by averaging, so the chopping frequency is no longer strictly in accordance with the requirement of equation (9). Multi-cycle sampling averaging also improves the accuracy of the ratio of t l to t2. Assuming that the frequency of the interleaved feedback signal is about ΙΚΗζ-Ι ΟΚΗζ, the main 1/f noise of the op amp is concentrated at the low frequency. It can be seen that the interlaced feedback controlled chopper op amp can effectively filter the 1/f noise.
由四个反向非交叠时钟控制的四个传输门构成斩波开关, 当时钟信号 Four transfer gates controlled by four reverse non-overlapping clocks form a chopper switch, when the clock signal
CLK CLK2即斩波信号发生交错反馈时, 与输入 IN1、 IN2连接的两个传输门 交替导通, 即完成将输入信号 IN1、 IN2分别调制到 0UT1和 0UT2 , 配合斩波 运放达到消除失调电压的目的。 When CLK CLK2 is the interleaved feedback of the chopping signal, the two transmission gates connected to the input IN1 and IN2 are alternately turned on, that is, the input signals IN1 and IN2 are respectively modulated to 0UT1 and 0UT2, and the chopper op amp is used to eliminate the offset voltage. the goal of.
调制器中采用了 P输入比较器与 N输入比较器。两个比较器用来确定电容 充放电阈值电压, 需要一直监视电压的变化, 因而使能后需要一直工作。 由于 两个比较器监视电压值不同, 这里分别采用 N管作为输入对管(适用于输入共 模比较高的情况 )和 P管作为输入对管(适用于输入共模较低的情况)的两个 比较器, 来完成调制器中电容充放电阈值电压的监视。  A P input comparator and an N input comparator are used in the modulator. The two comparators are used to determine the capacitor charge and discharge threshold voltage, and it is necessary to monitor the voltage change all the time, so it needs to work all the time after the enable. Since the two comparators monitor different voltage values, the N tube is used as the input pair tube (for the case where the input common mode is relatively high) and the P tube is used as the input pair tube (for the case where the input common mode is low). A comparator is used to monitor the threshold voltage of the capacitor charge and discharge in the modulator.
利用本发明电路进行仿真, 如果仿真给定的检测电压为 20V, 当采用 16 位的数字除法器电路时, 那么仿真得到除法器输出码为: 1001000010010101 , 其中前三位为整数部分, 后面 13位为小数部分, 通过 MCU运算电路计算出的 检测电压为 20. 072V, 检测误差为 0. 36%。 Using the circuit of the present invention for simulation, if the simulated detection voltage is 20V, when a 16-bit digital divider circuit is used, then the simulation output code of the divider is: 1001000010010101, where the first three digits are integer parts, and the last 13 bits. Calculated by the MCU arithmetic circuit for the fractional part The detection error is 20. 072V, and the detection error is 0.36%.
通过在检测电路中加入斩波运放,并利用计数器和除法器计算电路产生的 交错反馈控制信号, 能够有效抑制运放 off set对检测精度的影响。 例如, 在运 放输入对管引入 10%的失配,给定的输入电压为 20V时,得到除法器的输出码为: 1001000000000100 , 通过 MCU运算电路计算得到电压为 20. 0024V。 从计算结果 可以看出, 运放的 off set电压并未体现在除法器输出端, 说明人为设置的 off set已经被完全消除,证明了由交错反馈信号控制的斩波运放能够实现消除 失调, 达到高精度检测的目的。  By adding a chopper op amp to the detection circuit and using the counter and divider to calculate the interleaved feedback control signal generated by the circuit, the effect of the op amp off set on the detection accuracy can be effectively suppressed. For example, when the op amp input introduces a 10% mismatch to the tube, and the given input voltage is 20V, the output code of the divider is: 1001000000000100, and the voltage calculated by the MCU operation circuit is 20. 0024V. It can be seen from the calculation results that the off set voltage of the op amp is not reflected in the output of the divider, indicating that the artificially set off set has been completely eliminated, which proves that the chopper op amp controlled by the interlaced feedback signal can eliminate the offset. Achieve high precision detection.
表 1 电压检测仿真结果  Table 1 Voltage detection simulation results
Figure imgf000011_0001
Figure imgf000011_0001
在以上的描述中阐述了很多具体细节以便于充分理解本发明。但是以上描 述仅是本发明的较佳实施例而已,本发明能够以很多不同于在此描述的其它方 式来实施, 因此本发明不受上面公开的具体实施的限制。 同时任何熟悉本领域 技术人员在不脱离本发明技术方案范围情况下,都可利用上述揭示的方法和技 术内容对本发明技术方案做出许多可能的变动和修饰,或修改为等同变化的等 效实施例。凡是未脱离本发明技术方案的内容,依据本发明的技术实质对以上 实施例所做的任何筒单修改、等同变化及修饰, 均仍属于本发明技术方案保护 的范围内。 Numerous specific details are set forth in the above description in order to provide a thorough understanding of the invention. However, the above description is only a preferred embodiment of the present invention, and the present invention can be embodied in many other ways than those described herein, and thus the present invention is not limited by the specific embodiments disclosed. At the same time, any person skilled in the art can make many possible changes and modifications to the technical solutions of the present invention by using the methods and technical contents disclosed above, or modify the equivalent implementation of equivalent changes without departing from the scope of the technical solutions of the present invention. example. Any modifications, equivalent changes, and modifications made to the above embodiments in accordance with the technical spirit of the present invention are still within the scope of the technical solutions of the present invention.

Claims

权 利 要 求 Rights request
1.一种高精度电压检测电路, 其特征在于, 包括:  A high-precision voltage detecting circuit, comprising:
调制器, 用以接收待检测电压以及基准电压, 并输出调制方波信号, 所述 调制方波信号的占空比为所述待检测电压与所述基准电压的比例;  a modulator, configured to receive a voltage to be detected and a reference voltage, and output a modulated square wave signal, wherein a duty ratio of the modulated square wave signal is a ratio of the to-be-detected voltage to the reference voltage;
计数器和分频器模块, 用以接收所述调制器输出的调制方波信号,将所述 调制方波信号转换为数字码输出的同时产生两个相互交错的反馈控制信号,所 述反馈控制信号输出给所述调制器;  a counter and a frequency divider module for receiving a modulated square wave signal output by the modulator, converting the modulated square wave signal into a digital code output, and generating two interleaved feedback control signals, the feedback control signal Output to the modulator;
MCU处理模块, 接收所述计数器和分频器模块输出的数字码, 并根据所述 数字码计算出待检测电压。  The MCU processing module receives the digital code output by the counter and the frequency divider module, and calculates a voltage to be detected according to the digital code.
2.根据权利要求 1所述的高精度电压检测电路, 其特征在于, 所述电压检 测电路还包括:  The high-precision voltage detecting circuit according to claim 1, wherein the voltage detecting circuit further comprises:
基准和偏置电路, 用于辅助调制器,给所述调制器提供所需的基准电压和 偏置电压;  a reference and bias circuit for assisting the modulator to provide the modulator with a desired reference voltage and bias voltage;
控制时钟模块, 用于给所述计数器和分频器模块提供所需的高频时钟信 号。  A control clock module is provided for providing the counter and divider modules with the desired high frequency clock signal.
3.根据权利要求 1所述的高精度电压检测电路, 其特征在于, 所述调制器 为一阶∑_△调制器, 包括斩波运算放大器、 N管输入比较器、 P管输入比较器、 RS 型触发器、 采样开关、 电阻和电容, 所述斩波运算放大器用于接收所述基 准电压以及待检测电压,所述 N管输入比较器与所述 P管输入比较器产生监视 所述电容充放电的阀值电压,所述 N管输入比较器的输出端与所述 P管输入比 较器的输出端分别连接所述 RS型触发器的两个输入端,所述 RS型触发器的输 出反馈信号控制所述采样开关。  The high-precision voltage detecting circuit according to claim 1, wherein the modulator is a first-order ∑_Δ modulator, including a chopper operational amplifier, an N-tube input comparator, a P-tube input comparator, An RS-type flip-flop, a sampling switch, a resistor and a capacitor, the chopper operational amplifier is configured to receive the reference voltage and a voltage to be detected, and the N-tube input comparator and the P-tube input comparator generate a monitoring capacitor a threshold voltage of the charge and discharge, an output end of the N-tube input comparator and an output end of the P-tube input comparator are respectively connected to two input ends of the RS-type flip-flop, and an output of the RS-type flip-flop A feedback signal controls the sampling switch.
4.根据权利要求 3所述的高精度电压检测电路, 其特征在于, 所述斩波运 算放大器的正向输入端接所述基准电压,所述斩波运算放大器的反向输入端通 过所述电阻接所述待检测电压,所述待检测电压与所述运算放大器的反向输入 端之间设有采样开关以及电阻,所述斩波运算放大器的输出端与所述运算放大 器的反向输入端之间跨接有电容,所述斩波运算放大器的输出端同时连接所述 N管输入比较器和所述 P管输入比较器, 所述 N管输入比较器的输出端与所述 P管输入比较器的输出端分别连接所述 RS型触发器的两个输入端, 所述 RS型 触发器的输出端输出反馈信号控制所述采样开关  The high-precision voltage detecting circuit according to claim 3, wherein a forward input terminal of the chopper operational amplifier is connected to the reference voltage, and an inverting input terminal of the chopper operational amplifier passes the a resistor is connected to the voltage to be detected, and a sampling switch and a resistor are disposed between the voltage to be detected and an inverting input terminal of the operational amplifier, and an output of the chopper operational amplifier and an inverse input of the operational amplifier a capacitor is connected across the terminals, and an output terminal of the chopper operational amplifier is simultaneously connected to the N-tube input comparator and the P-tube input comparator, and the output of the N-tube input comparator and the P-tube The output terminals of the input comparator are respectively connected to two input ends of the RS type flip-flop, and the output end of the RS type flip-flop outputs a feedback signal to control the sampling switch
5.根据权利要求 3所述的高精度电压检测电路, 其特征在于, 所述斩波运 算放大器包括三个斩波开关, 其中一个输入斩波开关和两个输出斩波开关, 所 述交错的反馈控制信号控制所述斩波开关,每个斩波开关的输出端设有一个折 叠结构的共源共栅放大器。 The high-precision voltage detecting circuit according to claim 3, wherein said 斩 wave transport The amplifier includes three chopper switches, one of which inputs a chopper switch and two output chopper switches, and the interleaved feedback control signal controls the chopper switch, and each chopper switch has a folded structure at its output end A cascode amplifier.
6.根据权利要求 5所述的高精度电压检测电路, 其特征在于, 所述斩波开 关由四个反向非交叠时钟控制的四个传输门构成。  The high precision voltage detecting circuit according to claim 5, wherein said chopper switch is constituted by four transfer gates controlled by four reverse non-overlapping clocks.
7. 根据权利要求 1所述的高精度电压检测电路, 其特征在于, 所述计数 器和分频器模块包括第一计数器、第二计数器和除法器, 所述第一计数器与第 二计数器接收所述调制器输出的调制方波信号,并输出所述调制方波信号的高 低电平的保持时间给所述除法器,所述除法器以数字码形式输出所述调制方波 信号的高低电平的占空比给所述 MCU处理模块。  7. The high precision voltage detection circuit according to claim 1, wherein the counter and frequency divider module comprises a first counter, a second counter and a divider, the first counter and the second counter receiving a modulated square wave signal output by the modulator, and outputting a hold time of the high and low levels of the modulated square wave signal to the divider, the divider outputting the high and low levels of the modulated square wave signal in a digital code form The duty cycle is given to the MCU processing module.
8.—种电压检测方法, 其特征在于, 包括:  8. A voltage detecting method, characterized in that it comprises:
通过调制器将待检测电压与基准电压的比值调制为调制方波信号; 通过计数器和分频器将所述调制方波信号转换为数字码;  Modulating a ratio of a voltage to be detected to a reference voltage by a modulator to a modulated square wave signal; converting the modulated square wave signal into a digital code by a counter and a frequency divider;
通过 MCU处理模块计算出待测电压的值。  The value of the voltage to be measured is calculated by the MCU processing module.
9.根据权利要求 8所述的电压检测方法, 其特征在于, 所述通过计数器和 分频器将所述调制方波信号转换为数字码包括:  The voltage detecting method according to claim 8, wherein the converting the modulated square wave signal into a digital code by the counter and the frequency divider comprises:
通过计数器计算调制方波信号的高电平保持时间和低电平保持时间; 通过除法器将高电平保持时间和低电平保持时间的比值, 输出数字码。 10. 根据权利要求 8所述的电压检测方法, 其特征在于, 所述通过计数器 和分频器将所述调制方波信号转换为数字码时,所述计数器与分频器产生交错 控制反馈信号给所述调制器。  The high level hold time and the low level hold time of the modulated square wave signal are calculated by the counter; the digital code is output by the ratio of the high level hold time and the low level hold time by the divider. 10. The voltage detecting method according to claim 8, wherein the counter and the frequency divider generate an interleaving control feedback signal when the modulation square wave signal is converted into a digital code by a counter and a frequency divider. Give the modulator.
PCT/CN2013/085583 2013-09-30 2013-10-21 High-precision voltage detection circuit and method WO2015043020A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310461129.8 2013-09-30
CN201310461129.8A CN103499733B (en) 2013-09-30 2013-09-30 A kind of high-accuracy voltage testing circuit and method

Publications (1)

Publication Number Publication Date
WO2015043020A1 true WO2015043020A1 (en) 2015-04-02

Family

ID=49864958

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/085583 WO2015043020A1 (en) 2013-09-30 2013-10-21 High-precision voltage detection circuit and method

Country Status (2)

Country Link
CN (1) CN103499733B (en)
WO (1) WO2015043020A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101650012B1 (en) * 2015-06-22 2016-08-22 (주)엘센 Sensor device and sensing method
CN108446098B (en) * 2016-01-04 2022-03-18 湖南工业大学 Method for calculating proportional value between two input voltages
CN108011590A (en) * 2016-11-01 2018-05-08 中国科学院沈阳自动化研究所 A kind of high-precision low-power consumption RC oscillators
CN109085414B (en) * 2018-08-10 2021-06-11 深圳和而泰智能控制股份有限公司 Voltage detection method and device
CN109186812A (en) * 2018-10-16 2019-01-11 聚辰半导体(上海)有限公司 A kind of method and its amendment circuit of temperature sensors of high precision error correction
CN113078817B (en) * 2021-03-29 2022-03-25 浙江大学 Interphase current balance control system suitable for hysteresis control high-frequency two-phase Buck converter

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN85103529B (en) * 1985-05-08 1987-02-25 三菱电机株式会社 Voltage-frequency converting circuit
GB2222333A (en) * 1988-07-30 1990-02-28 Omega Electric Ltd Voltage to frequency converter
US20040222799A1 (en) * 2003-05-05 2004-11-11 Tan Du DC measurement method and system using sigma-delta modulation pattern
CN1981444A (en) * 2004-05-07 2007-06-13 恩德莱斯和豪瑟尔韦泽两合公司 Device for the analog/digital conversion of a measuring voltage
CN101063693A (en) * 2006-04-28 2007-10-31 上海森昌电气科技有限公司 Singlechip signal sampling apparatus without module converter and sampling method thereof
CN102282769A (en) * 2009-01-14 2011-12-14 三美电机株式会社 Delta-sigma AD converter circuit and battery pack

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0595285A (en) * 1991-10-03 1993-04-16 Mitsubishi Electric Corp Voltage comparator
EP0571075B1 (en) * 1992-04-30 1999-07-21 Hewlett-Packard Company Analog to digital converter with autoranging offset
US5389929A (en) * 1994-02-03 1995-02-14 Raytheon Company Two-step subranging analog-to-digital converter
CN1104777C (en) * 1996-04-26 2003-04-02 财团法人工业技术研究院 Third order A-D converter
JP3812992B2 (en) * 1997-07-10 2006-08-23 ローム株式会社 AD converter
CN1885722A (en) * 2006-07-06 2006-12-27 复旦大学 A/D converter adapted for mainboard voltage regulation module digital control chip
CN102045044B (en) * 2010-12-27 2012-09-19 华为技术有限公司 Comparator and A/D converter
CN202111690U (en) * 2011-06-03 2012-01-11 高博 Digital analog converter

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN85103529B (en) * 1985-05-08 1987-02-25 三菱电机株式会社 Voltage-frequency converting circuit
GB2222333A (en) * 1988-07-30 1990-02-28 Omega Electric Ltd Voltage to frequency converter
US20040222799A1 (en) * 2003-05-05 2004-11-11 Tan Du DC measurement method and system using sigma-delta modulation pattern
CN1981444A (en) * 2004-05-07 2007-06-13 恩德莱斯和豪瑟尔韦泽两合公司 Device for the analog/digital conversion of a measuring voltage
CN101063693A (en) * 2006-04-28 2007-10-31 上海森昌电气科技有限公司 Singlechip signal sampling apparatus without module converter and sampling method thereof
CN102282769A (en) * 2009-01-14 2011-12-14 三美电机株式会社 Delta-sigma AD converter circuit and battery pack

Also Published As

Publication number Publication date
CN103499733A (en) 2014-01-08
CN103499733B (en) 2016-03-30

Similar Documents

Publication Publication Date Title
WO2015043020A1 (en) High-precision voltage detection circuit and method
US4243975A (en) Analog-to-digital converter
TW201029336A (en) Voltage-to-digital converting device and voltage-to-time converter
JP2017517974A (en) RC oscillator based on comparator without delay
US6674387B1 (en) Pulse width modulation analog to digital conversion
US11879919B2 (en) Inductive sensing methods, devices and systems
US7336213B2 (en) Polarity independent precision measurement of an input voltage signal
US8941366B2 (en) DC-DC converter having an output that is a measure of the efficiency of the converter
JP2509426B2 (en) Delta-Sigma-Analog / Digital Converter
JP2014207569A (en) Ramp wave generation circuit
US20150263750A1 (en) Suppressing Offset, Offset Drift, and 1/f Noise During Analog/Digital Conversion
RU2409891C1 (en) Linear pulse width converter with two outputs on digital microchips - schmitt trigger and two inverters
JP5082952B2 (en) Coulomb counter and dynamic range adjustment method
RU119960U1 (en) ANALOG-DIGITAL CONVERTER
US10404269B2 (en) Analog-to-digital converter and signal processing apparatus
TW201332294A (en) Counter based digital pulse width modulation device could scalable the resolution
JP2017085744A (en) Reference voltage generating circuit and switching power supply device
CN107636958B (en) Microcontroller with average current measurement circuit using voltage-to-current converter
CN112514262A (en) Processing circuit
JP2009229165A (en) Coulomb counter, and its internal power supply control method
TWI428609B (en) Current sensing circuit
WO2021004140A1 (en) Multiplier device
JPH10222598A (en) Pulse modulation arithmetic circuit
JPH04336712A (en) A/d converting circuit
JP4973363B2 (en) Output voltage detection circuit for power 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: 13894613

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13894613

Country of ref document: EP

Kind code of ref document: A1