WO2017167096A1 - 负电压检测电路 - Google Patents

负电压检测电路 Download PDF

Info

Publication number
WO2017167096A1
WO2017167096A1 PCT/CN2017/077697 CN2017077697W WO2017167096A1 WO 2017167096 A1 WO2017167096 A1 WO 2017167096A1 CN 2017077697 W CN2017077697 W CN 2017077697W WO 2017167096 A1 WO2017167096 A1 WO 2017167096A1
Authority
WO
WIPO (PCT)
Prior art keywords
resistor
mos transistor
branch
negative voltage
constant current
Prior art date
Application number
PCT/CN2017/077697
Other languages
English (en)
French (fr)
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 WO2017167096A1 publication Critical patent/WO2017167096A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/0084Arrangements for measuring currents or voltages or for indicating presence or sign thereof measuring voltage only

Definitions

  • the present invention relates to the field of voltage detection technologies, and in particular, to a negative voltage detection circuit.
  • the traditional voltage detection circuit can only detect positive voltage.
  • the conventional comparator can only compare the level above zero volts. Generally, it needs to be level-shifted to a positive level before detection. .
  • the voltage is generally raised by means of pressurization.
  • FIG. 1 is a negative voltage detecting circuit commonly used in the prior art.
  • the comparator R1 and the diode D1 are connected in series with the power supply terminal VDD, and the comparator is used to generate a voltage drop on the diode D1 during forward conduction.
  • the voltage at the COM input terminal VN rises, thereby completing the potential conversion to achieve negative voltage detection.
  • the detection circuit is not subjected to temperature compensation and correction, and therefore, the detection accuracy is not high and is greatly affected by temperature.
  • the object of the present invention is to at least solve one of the above technical drawbacks.
  • the object of the present invention is to provide a negative voltage detecting circuit which can realize temperature compensation well and has high detection precision.
  • a negative voltage detecting circuit including: a constant current source branch for generating a constant current; a negative voltage sampling branch, the negative voltage sampling The branch includes a first resistor, the first end of the first resistor receives a negative voltage; the reference voltage branch is compared, the comparison reference voltage branch includes a second resistor, and the first end of the second resistor is grounded; a current mirror, the current mirror being respectively connected to the constant current source branch, the negative voltage sampling branch, and the comparison reference voltage branch for mirroring a current generated by the constant current source branch to the negative a voltage sampling branch and the comparison reference voltage branch; a comparator, a second end of the first resistor is coupled to a forward input terminal of the comparator, and a second end of the second resistor is coupled to the comparator The negative input is flipped when the voltage at the forward input of the comparator is greater than or equal to the voltage at the negative input of the comparator.
  • the negative voltage detecting circuit of the embodiment of the present invention by mirroring the current generated by the constant current source branch to the negative voltage sampling branch and the comparison reference voltage branch, temperature compensation can be well realized, and the negative voltage can be improved. Detection accuracy.
  • the current mirror includes: a first MOS transistor, a second MOS transistor, and a third MOS transistor, the first MOS transistor, the second MOS transistor, and the third MOS transistor common gate and source a gate of the first MOS transistor is connected to a drain, a source of the first MOS transistor is connected to a power source, a drain of the first MOS transistor is connected to the constant current source branch, and the second The drain of the MOS transistor is connected to the second end of the first resistor, and the drain of the third MOS transistor is connected to the second end of the second resistor.
  • the constant current source branch includes: a fourth MOS transistor, an operational amplifier, and a third resistor, wherein the fourth MOS transistor is connected in series with the third resistor, and the drain of the fourth MOS transistor is connected a drain of the first MOS transistor, a gate of the fourth MOS transistor is connected to an output end of the operational amplifier, and a source of the fourth MOS transistor is connected to a negative input terminal of the operational amplifier, the operation The forward input of the amplifier is connected to the reference voltage.
  • the third resistor and the first resistor and the second resistor are the same type of resistor, and the third resistor has the same temperature coefficient as the first resistor and the second resistor.
  • the negative voltage sampling branch further includes a trimming resistor, one end of the trimming resistor is connected to the second end of the first resistor, and the other end of the trimming resistor is connected to the comparator Positive input.
  • the trim resistor and the first resistor and the second resistor are the same type of resistor, and the trim resistor has the same temperature coefficient as the first resistor and the second resistor.
  • the current mirror comprises:
  • a gate of the first MOS transistor is connected to a drain, a source of the first MOS transistor is connected to a power source, and a drain of the first MOS transistor is connected to the constant current source branch.
  • the third MOS transistor combination includes a third MOS transistor and N second branches, each of the second branches including a second branch MOS transistor and a fuse resistor, the second branch
  • the MOS transistor and the third MOS transistor share a gate and a source, one end of the fuse resistor is connected to a drain of the second branch MOS transistor, and the other end of the fuse resistor is connected to the second resistor Second end.
  • the first MOS transistor, the second MOS transistor, and the third MOS transistor are both P-channel enhancement type MOS transistors.
  • 1 is a circuit diagram of a conventional negative voltage detecting circuit
  • FIG. 2 is a circuit diagram of a negative voltage detecting circuit in accordance with an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of the simulation result of FIG. 2;
  • FIG. 4 is a circuit diagram of a negative voltage detecting circuit according to another embodiment of the present invention.
  • FIG. 5 is a circuit diagram of a negative voltage detecting circuit according to still another embodiment of the present invention.
  • the negative voltage detecting circuit 100 includes a constant current source branch 10, a negative voltage sampling branch 20, a comparison reference voltage branch 30, and a current. Mirror 40 and comparator 50.
  • the constant current source branch 10 is used to generate a constant current;
  • the negative voltage sampling branch 20 is used to detect a negative voltage, including the first resistor R1, and the first end of the first resistor R1 receives the negative voltage VM, the first resistor The second end of R1 is connected to the forward input terminal of the comparator 50;
  • the comparison reference voltage branch 30 includes a second resistor R2, the first end of the second resistor R2 is grounded, and the second end of the second resistor R2 is connected to the comparator 50
  • the negative input terminal, the first resistor R1 and the second resistor R2 have the same temperature coefficient;
  • the current mirror 40 is connected to the constant current source branch 10, the negative voltage sampling branch 20 and the comparison reference voltage branch 30, respectively, for The current generated by the constant current source branch 10 is mirrored to the negative
  • the temperature compensation can be well realized, and the detection of the negative voltage can be improved. Precision.
  • the current mirror 40 in this embodiment is composed of a first MOS transistor M0, a second MOS transistor M1, and a third MOS.
  • the tube M2 is composed, wherein the first MOS transistor M0, the second MOS transistor M1 and the third MOS transistor M2 share a common gate and a source, and the gate and the drain of the first MOS transistor M0 are connected to each other and the source of the first MOS transistor M0
  • the drain of the first MOS transistor M0 is connected to the constant current source branch 10
  • the drain of the second MOS transistor M1 is connected to the second end of the first resistor R1
  • the drain of the third MOS transistor M2 is connected to the second The second end of the resistor R2.
  • the current mirror 40 in the present invention may be of any structure, and is not limited to the structure described in the above embodiments, as long as the current generated by the constant current source branch 10 can be mirrored to the negative voltage sampling branch 20 and the comparison reference voltage branch 30. All are within the scope of protection of the present invention.
  • the constant current source branch 10 in this embodiment may be a constant current source or any other electronic component, as long as it can generate a constant current, which is within the protection range of the present invention.
  • the type of the MOS transistor in the present invention may be any.
  • only the first MOS transistor, the second MOS transistor, and the third MOS transistor are both P-channel enhancement type MOS as an example.
  • the constant current source branch 10 After the constant current source branch 10 generates a constant current I0, since the negative voltage sampling branch 20 and the comparison reference voltage branch 30 are current mirror circuits of the constant current source branch 10, the current flowing through the negative voltage sampling branch 20 I1 and the current I2 flowing through the comparison reference voltage branch 30 are equal and equal to I0, and it is further considered that the magnitudes of the currents I0, I1, and I2 and the temperature coefficient are the same.
  • the current of the sampling branch 20, VM is the voltage to be measured. That is to say, when I1 ⁇ R1>VM, the voltage at point B is positive; that is, the voltage at point B can be adjusted by adjusting I1 and the first resistor R1, thereby achieving the purpose of detecting negative voltage detection into positive voltage detection.
  • Vref1 I2 ⁇ R2 (1)
  • R1' R1(1+X) (6)
  • R0' represents the third resistance considering the temperature coefficient of resistance
  • R1' represents the first resistance considering the temperature coefficient of resistance
  • R2' represents the second resistance after considering the temperature coefficient of resistance
  • I0' represents the temperature coefficient of resistance
  • the constant current source branch 10 generates a constant current
  • I1' represents the current flowing through the negative voltage sampling branch 20 after considering the temperature coefficient of resistance
  • I2' represents the current flowing through the comparative reference voltage branch 30 after considering the temperature coefficient of resistance
  • Vref1' represents the voltage at the second end of the second resistor R2' after considering the temperature coefficient of resistance
  • Vdet' represents the voltage at the second end of the first resistor R1' after considering the temperature coefficient of resistance.
  • the magnitude of the negative voltage VM to be tested is independent of the temperature coefficient of resistance, and is only related to R1, R2, and I0, that is, the magnitude of the negative voltage VM to be tested does not change with temperature.
  • I1' represents the current flowing through the negative voltage sampling branch 20 after considering the mirror current error
  • I2' represents the current flowing through the comparison reference voltage branch 30 in consideration of the mirror current error
  • FIG. 4 is a circuit diagram of a negative voltage detecting circuit according to another embodiment of the present invention, as shown in FIG.
  • the negative voltage sampling branch 20 includes the trimming resistor RS and the first resistor R1, and one end of the trimming resistor RS and the first resistor The second end of the R1 is connected.
  • the first end of the first resistor R1 receives the negative voltage VM, and the other end of the trim resistor RS is connected to the forward input of the comparator 50.
  • the trim resistor RS is the same type of resistor as the first resistor R1, the second resistor R2, and the third resistor R0, and has the same temperature coefficient.
  • FIG. 5 is a circuit diagram of a negative voltage detecting circuit according to still another embodiment of the present invention, as shown in FIG. 5, wherein the current mirror 40 includes a first MOS transistor M0, a second MOS transistor combination 41, and a third MOS transistor combination 42.
  • the gate of the first MOS transistor M0 is connected to the drain, the source of the first MOS transistor M0 is connected to the power supply VDD, and the drain of the first MOS transistor M0 is connected to the constant current source branch 10.
  • the second MOS transistor assembly 41 includes a second MOS transistor M1 and N first branches, each of which includes a first branch MOS transistor (shown as M11 to M1N in FIG. 5) and a fuse resistor ( As shown in R11 to R1N in FIG. 5, the first branch MOS transistor and the second MOS transistor M1 share a common gate and a source, and one end of the fuse resistor is connected to the drain of the first branch MOS transistor, and the other end of the fuse resistor Connected to the second end of the first resistor.
  • one of the first branches includes a first branch MOS transistor M11 and a fuse resistor R11.
  • the first branch MOS transistor M11 and the second MOS transistor M1 share a common gate and a source, and one end of the fuse resistor R11 is connected to the first branch.
  • the drain of the MOS transistor M11 and the other end of the fuse resistor R11 are connected to the second end of the first resistor R1.
  • the third MOS tube assembly 42 includes a third MOS transistor M2 and N second branches, each of the second branches including a second branch MOS transistor (shown as M21 to M2N in FIG. 5) and a fuse resistor ( As shown by R11 to R1N in FIG. 5, the second branch MOS transistor and the third MOS transistor M2 share a common gate and a source, and one end of the fuse resistor is connected to the drain of the second branch MOS transistor, and the fuse resistor is The other end is connected to the second end of the second resistor.
  • a second branch MOS transistor shown as M21 to M2N in FIG. 5
  • a fuse resistor As shown by R11 to R1N in FIG. 5, the second branch MOS transistor and the third MOS transistor M2 share a common gate and a source, and one end of the fuse resistor is connected to the drain of the second branch MOS transistor, and the fuse resistor is The other end is connected to the second end of the second resistor.
  • one of the second branches includes a second branch MOS transistor M21 and a fuse resistor R11, the second branch MOS transistor M21 and the third MOS transistor M2 share a common gate and a source, and one end of the fuse resistor R11 is connected to the second branch.
  • the drain of the MOS transistor M21 and the other end of the fuse resistor R11 are connected to the second terminal of the second resistor R2.
  • the number of the first branch and the second branch that are connected can be controlled, that is, the number of MOS tubes connected to the current mirror 40 is controlled, and then the negative voltage sampling is adjusted.
  • the constant current source branch 10 described with reference to the embodiment shown in FIG. 2 can be used in the present embodiment.
  • the negative voltage detecting circuit 20 described with reference to the embodiment shown in FIG. 4 can also be used in the present embodiment.
  • details refer to the descriptions of FIG. 2 and FIG. 4. To avoid redundancy, details are not described again.
  • portions of the invention may be implemented in hardware, software, firmware or a combination thereof.
  • multiple steps or methods may be implemented in a memory that is stored in memory and executed by a suitable instruction execution system.
  • Piece or firmware to achieve For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.

Abstract

一种负电压检测电路,包括:恒流源支路(10)、负电压采样支路(20)、比较基准电压支路(30)、电流镜(40)和比较器(50),其中电流镜(40)用于将恒流源支路(10)产生的电流镜像至负电压采样支路(20)和比较基准电压支路(30),当比较器(50)的正向输入端的电压大于或者等于比较器(50)的负向输入端的电压时,比较器(50)输出翻转,即此时判断检测到待测负电压。通过将恒流源支路(10)产生的电流镜像至负电压采样支路(20)和比较基准电压支路(30),能很好地实现温度补偿,提高负电压的检测精度。

Description

负电压检测电路 技术领域
本发明涉及电压检测技术领域,特别涉及一种负电压检测电路。
背景技术
传统的电压检测电路只能检测正电压,对于负电压的检测,受控于常规的比较器只能比较零伏以上的电平,一般需要经过电平的移位到正电平后才能进行检测。现有技术中一般通过加压的方式抬升电压。图1为现有技术中常见的一种负电压检测电路,通过在检测端VM与电源端VDD串联电阻R1与二极管D1,利用正向导通时二极管D1上会产生压降的原理,将比较器COM输入端VN的电压抬升,以此完成电位的转换来实现负电压检测。在实现本发明过程中,发明人发现现有技术中至少存在如下问题:这种检测电路没有经过温度补偿和修正,因此,检测精度不高,受温度影响较大。
发明内容
本发明的目的旨在至少解决上述技术缺陷之一。
为此,本发明的目的在于提出一种负电压检测电路,该负电压检测电路能很好的实现温度补偿,检测精度高。
为达到上述目的,本发明的实施例提出了一种负电压检测电路,该负电压检测电路包括:恒流源支路,用于产生恒定的电流;负电压采样支路,所述负电压采样支路包括第一电阻,所述第一电阻的第一端接待测负电压;比较基准电压支路,所述比较基准电压支路包括第二电阻,所述第二电阻的第一端接地;电流镜,所述电流镜分别与所述恒流源支路、负电压采样支路和所述比较基准电压支路连接,用于将所述恒流源支路产生的电流镜像至所述负电压采样支路和所述比较基准电压支路;比较器,所述第一电阻的第二端接所述比较器的正向输入端,所述第二电阻的第二端接所述比较器的负向输入端,当所述比较器的正向输入端的电压大于或者等于所述比较器的负向输入端的电压时,所述比较器输出翻转。
根据本发明实施例的负电压检测电路,通过将恒流源支路产生的电流镜像至所述负电压采样支路和所述比较基准电压支路,能很好的实现温度补偿,提高负电压的检测精度。
可选地,所述电流镜包括:第一MOS管、第二MOS管和第三MOS管,所述第一MOS管、所述第二MOS管和所述第三MOS管共栅极和源极,所述第一MOS管的栅极和漏极相连且所述第一MOS管的源极接电源,所述第一MOS管的漏极接所述恒流源支路,所述第二MOS管的漏极接所述第一电阻的第二端,所述第三MOS管的漏极接所述第二电阻的第二端。
可选地,所述待测负电压的大小可以用如下公式表示:
VM=I0(R2-R1)
其中,VM为待测负电压,I0为恒流源支路产生的恒定的电流,R1为第一电阻,R2为第二电阻。
可选地,所述恒流源支路包括恒流源,所述第一MOS管的漏极接所述恒流源。
可选地,所述恒流源支路包括:第四MOS管、运算放大器和第三电阻,所述第四MOS管与所述第三电阻串联,所述第四MOS管的漏极接所述第一MOS管的漏极,所述第四MOS管的栅极接所述运算放大器的输出端,所述第四MOS管的源极接所述运算放大器的负向输入端,所述运算放大器的正向输入端接参考电压。
可选地,所述第三电阻与所述第一电阻和第二电阻为相同类型的电阻,所述第三电阻与所述第一电阻和第二电阻具有相同的温度系数。
可选地,所述负电压采样支路还包括修调电阻,所述修调电阻的一端与所述第一电阻的第二端连接,所述修调电阻的另一端接所述比较器的正向输入端。
可选地,所述修调电阻与所述第一电阻和第二电阻为相同类型的电阻,所述修调电阻与所述第一电阻和第二电阻具有相同的温度系数。
可选地,所述电流镜包括:
第一MOS管,所述第一MOS管的栅极和漏极相连且所述第一MOS管的源极接电源,所述第一MOS管的漏极接所述恒流源支路,
第二MOS管组合,所述第二MOS管组合包括第二MOS管和N个第一支路,每个所述第一支路包括第一支路MOS管和熔断电阻,所述第一支路MOS管与所述第二MOS管共栅极和源极,所述熔断电阻的一端接所述第一支路MOS管的漏极,所述熔断电阻的另一端接所述第一电阻的第二端。
第三MOS管组合,所述第三MOS管组合包括第三MOS管和N个第二支路,每个所述第二支路包括第二支路MOS管和熔断电阻,所述第二支路MOS管与所述第三MOS管共栅极和源极,所述熔断电阻的一端接所述第二支路MOS管的漏极,所述熔断电阻的另一端接所述第二电阻的第二端。
可选地,所述第一MOS管、第二MOS管和第三MOS管均为P沟道增强型MOS管。
本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。
附图说明
本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:
图1为现有的负电压检测电路的电路图;
图2为根据本发明一实施例的负电压检测电路的电路图;
图3为图2的仿真结果示意图;
图4为根据本发明另一实施例的负电压检测电路的电路图;
图5为根据本发明又一实施例的负电压检测电路的电路图。
具体实施方式
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能解释为对本发明的限制。
下文的公开提供了许多不同的实施例或例子用来实现本发明的不同结构。为了简化本发明的公开,下文中对特定例子的部件和设置进行描述。当然,它们仅仅为示例,并且目的不在于限制本发明。此外,本发明可以在不同例子中重复参考数字和/或字母。这种重复是为了简化和清楚的目的,其本身不指示所讨论各种实施例和/或设置之间的关系。
在本发明的描述中,需要说明的是,除非另有规定和限定,术语“安装”、“相连”、“连接”、“接”应做广义理解,例如,可以是机械连接或电连接,也可以是两个元件内部的连通,可以是直接相连,也可以通过中间媒介间接相连,对于本领域的普通技术人员而言,可以根据具体情况理解上述术语的具体含义。
参照下面的描述和附图,将清楚本发明的实施例的这些和其他方面。在这些描述和附图中,具体公开了本发明的实施例中的一些特定实施方式,来表示实施本发明的实施例的原理的一些方式,但是应当理解,本发明的实施例的范围不受此限制。相反,本发明的实施例包括落入所附加权利要求书的精神和内涵范围内的所有变化、修改和等同物。
首先参照附图来描述根据本发明一实施例提出的一种负电压检测电路。
本发明的一实施例提供了一种负电压检测电路,如图2所示,该负电压检测电路100包括恒流源支路10、负电压采样支路20、比较基准电压支路30、电流镜40和比较器50。其中,恒流源支路10用于产生恒定的电流;负电压采样支路20用于检测负电压,包括第一电阻R1,第一电阻R1的第一端接待测负电压VM,第一电阻R1的第二端接比较器50的正向输入端;比较基准电压支路30包括第二电阻R2,第二电阻R2的第一端接地,第二电阻R2的第二端接比较器50的负向输入端,第一电阻R1和第二电阻R2具有相同的温度系数;电流镜40分别与恒流源支路10、负电压采样支路20和比较基准电压支路30连接,用于将恒流源支路10产生的电流镜像至负电压采样支路20和比较基准电压支路30,即流过负电压采样支路20的电流与流过比较基准电压支路30的电流相等;当比较器50的正向输入端的电压大于或者等于比较器50的负向输入端的电压时,比较器50输出翻转,即此时判断检测到待测负电压VM。
根据本实施例的负电压检测电路,通过将恒流源支路10产生的电流镜像至负电压采样支路20和比较基准电压支路30,能很好的实现温度补偿,提高负电压的检测精度。
具体地,本实施例中的电流镜40由第一MOS管M0、第二MOS管M1和第三MOS 管M2组成,其中,第一MOS管M0、第二MOS管M1和第三MOS管M2共栅极和源极,第一MOS管M0的栅极和漏极相连且第一MOS管M0的源极接电源VDD,第一MOS管M0的漏极接恒流源支路10,第二MOS管M1的漏极接第一电阻R1的第二端,第三MOS管M2的漏极接第二电阻R2的第二端。
本发明中的电流镜40可以是任何结构,不限于上述实施例中描述的结构,只要能实现将恒流源支路10产生的电流镜像至负电压采样支路20和比较基准电压支路30,均在本发明的保护范围以内。
同样地,本实施例中的恒流源支路10可以是恒流源、也可以由其他任何电子元器件组成,只要是能产生恒定的电流,均在本发明的保护范围以内。
可选地,本实施例中的恒流源支路10包括第四MOS管M3、运算放大器OP和第三电阻R0,第四MOS管M3与第三电阻R0串联,第四MOS管M3的漏极接第一MOS管M0的漏极,第四MOS管M3的栅极接运算放大器OP的输出端,第四MOS管M3的源极接运算放大器OP的负向输入端,运算放大器OP的正向输入端接参考电压Vref2。
下面结合图2来说明本实施例中负电压检测电路100的工作原理。
本发明中MOS管的类型可以是任意的,本实施例中仅以第一MOS管、第二MOS管和第三MOS管均为P沟道增强型MOS为例来说明。
恒流源支路10产生恒定的电流I0后,由于负电压采样支路20和比较基准电压支路30为恒流源支路10的电流镜像电路,则流过负电压采样支路20的电流I1和流过比较基准电压支路30的电流I2相等且均等于I0,进一步地可以认为电流I0、I1和I2的大小以及温度系数是相同的。
负电压采样支路20中,当待测负电压VM为负时,那么B点的电压Vdet=I1×R1+VM,其中,Vdet为第一电阻R1第二端的电压,I1为流过负电压采样支路20的电流,VM为待测电压。也就是说当I1×R1>VM时,B点的电压为正值;即可以通过调整I1和第一电阻R1来调整B点的电压,从而达到负电压检测转换为正电压检测的目的。
比较基准电压支路30中,C点电压Vref1=I2×R2,其中,Vref1为第二电阻R2第二端的电压,I2为流过比较基准电压支路30的电流;且第二电阻R2与第三电阻R0、第一电阻R1为相同类型的电阻,通常认为相同类型电阻的温度系数是相同的。
假设待测的负电压为VM,则有:
Vref1=I2×R2                          (1)
Vdet=I1×R1+VM                       (2)
当Vdet大于或等于Vref1时,比较器50输出翻转,则:Vdet=Vref1时,即可检测出待测的负电压。
又有,I1=I2=I0                         (3)
则有,VM=I0(R2-R1)                    (4)
假设各电阻的温度系数为X,则增加电阻温度系数后的计算如下:
R0’=R0(1+X)                          (5)
R1’=R1(1+X)                           (6)
R2’=R2(1+X)                           (7)
I0’=Vref2/R0(1+X)=I0/(1+X)               (8)
又有I1’=I2’=I0’                         (9)
则有,
Vref1’=I2’×R2’=I0’×R2’=I0/(1+X)×R2×(1+X)=I0×R2    (10)
同理可有,
Vdet’=I1’×R1’+VM=I0’×R1’+VM=I0/(1+X)×(R1×(1+X))+VM=I0×R1+VM(11)
又有Vdet’=Vref1’                      (12)
其中,R0’表示考虑电阻温度系数后的第三电阻,R1’表示考虑电阻温度系数后的第一电阻,R2’表示考虑电阻温度系数后的第二电阻,I0’表示考虑电阻温度系数后的恒流源支路10产生恒定的电流,I1’表示考虑电阻温度系数后的流过负电压采样支路20的电流,I2’表示考虑电阻温度系数后的流过比较基准电压支路30的电流,Vref1’表示考虑电阻温度系数后的第二电阻R2’第二端的电压,Vdet’表示考虑电阻温度系数后的第一电阻R1’第二端的电压。
则有,VM=I0(R2-R1)                     (13)
从上面的公式可知,待测负电压VM的大小与电阻温度系数无关,只与R1、R2和I0相关,也就是待测负电压VM的大小不随温度变化而变化。
上述公式的推导是基于镜像电流完全相等的前提,即I1=I2=I0,但是,实际上有可能镜像得到的电流I1和I2与I0是有一定误差的,这个误差是可能由于制作工艺上的误差以及MOS管DS电压的不同,从而导致镜像的电流不一致。使用相同电流镜所得的I2则可以与I1有相同的镜像电流误差,该镜像电流误差设为A;
即有:I1’=I2’=AI0                        (14)
其中,I1’表示考虑镜像电流误差后的流过负电压采样支路20的电流,I2’表示考虑镜像电流误差后的流过比较基准电压支路30的电流。
基于上述的推导过程也可以推导出:
VM=AI0(R2-R1)                           (15)
同样也得到一个与电阻温度系数无关的公式,也就是待测负电压VM的大小不随温度变化而变化。
图3是图2的仿真结果,此时Vref2设为0.050V,假设需要检测-0.050V电压,那么只需取电阻R1使得I1×R1=0.1V,如此Vdet=0.050V。在VM端加-0.050V电压,如图3所示的仿真结果显示:在全温下,Vref2与Vdet的变化曲线是基本一致的,且它们之间的差值基本维持在0.0003V左右,即实际通过比较器检测的负电压在全温下是基本没有变化的,也就保证了良好的负电压检测的温度特性。
图4为根据本发明另一实施例的负电压检测电路的电路图,如图4所示,本实施例 中的负电压检测电路与图2中的负电压检测电路的区别在于,本实施例中负电压采样支路20包括修调电阻RS和第一电阻R1,修调电阻RS的一端与第一电阻R1的第二端连接,第一电阻R1的第一端接待测负电压VM,修调电阻RS的另一端接比较器50的正向输入端。可选地,修调电阻RS与第一电阻R1、第二电阻R2和第三电阻R0是相同类型的电阻,且具有相同的温度系数。接入修调电阻后的待测负电压VM的计算公式为VM=AI0(R2-R1-RS),即可以通过调节修调电阻RS的大小来调节待测负电压VM的大小,调节更加方便。
图5为根据本发明又一实施例的负电压检测电路的电路图,如图5所示,其中,电流镜40包括第一MOS管M0,第二MOS管组合41和第三MOS管组合42。
第一MOS管M0的栅极和漏极相连且第一MOS管M0的源极接电源VDD,第一MOS管M0的漏极接恒流源支路10。
第二MOS管组合41包括第二MOS管M1和N个第一支路,每个所述第一支路包括第一支路MOS管(如图5中M11至M1N所示)和熔断电阻(如图5中R11至R1N所示),第一支路MOS管与第二MOS管M1共栅极和源极,熔断电阻的一端接第一支路MOS管的漏极,熔断电阻的另一端接第一电阻的第二端。例如其中一个第一支路包括第一支路MOS管M11和熔断电阻R11,第一支路MOS管M11与第二MOS管M1共栅极和源极,熔断电阻R11的一端接第一支路MOS管M11的漏极,熔断电阻R11的另一端接第一电阻R1的第二端。
第三MOS管组合42包括第三MOS管M2和N个第二支路,每个所述第二支路包括第二支路MOS管(如图5中M21至M2N所示)和熔断电阻(如图5中R11至R1N所示),第二支路MOS管与所述第三MOS管M2共栅极和源极,熔断电阻的一端接第二支路MOS管的漏极,熔断电阻的另一端接第二电阻的第二端。例如其中一个第二支路包括第二支路MOS管M21和熔断电阻R11,第二支路MOS管M21与第三MOS管M2共栅极和源极,熔断电阻R11的一端接第二支路MOS管M21的漏极,熔断电阻R11的另一端接第二电阻R2的第二端。
本实施例中,通过对熔断电阻修调熔断,可以控制接入的第一支路和第二支路的数量,即控制接入电流镜40的MOS管的数量,进而调整流过负电压采样支路20的电流I1和流过比较基准电压支路30的电流I2的大小。如果接入的第一支路和第二支路的数量均为N,则此时I1=I2=N×I0,则待测负电压VM的计算公式为:VM=N×I0×(R2-R1)。即可以通过调节接入的第一支路和第二支路的数量和/或R1和R2来调节待测负电压VM的大小,调节更加方便。
此外,参照图2所示实施例进行描述的恒流源支路10可用于本实施例,同时,参照图4所示实施例进行描述的负压检测电路20亦可用于本实施例,关于电路细节可参见关于图2和图4的描述,为避免冗余,不再赘述。
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软 件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。
尽管已经示出和描述了本发明的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由所附权利要求及其等同限定。

Claims (15)

  1. 一种负电压检测电路,其特征在于,包括:
    恒流源支路,用于产生恒定的电流;
    负电压采样支路,所述负电压采样支路包括第一电阻,所述第一电阻的第一端接待测负电压;
    比较基准电压支路,所述比较基准电压支路包括第二电阻,所述第二电阻的第一端接地,所述第一电阻与所述第二电阻具有相同的温度系数;
    电流镜,所述电流镜分别与所述恒流源支路、负电压采样支路和所述比较基准电压支路连接,用于将所述恒流源支路产生的电流镜像至所述负电压采样支路和所述比较基准电压支路;
    比较器,所述第一电阻的第二端接所述比较器的正向输入端,所述第二电阻的第二端接所述比较器的负向输入端,当所述比较器的正向输入端的电压大于或者等于所述比较器的负向输入端的电压时,所述比较器输出翻转。
  2. 如权利要求1所述的负电压检测电路,其特征在于,所述电流镜包括:
    第一MOS管、第二MOS管和第三MOS管,所述第一MOS管、所述第二MOS管和所述第三MOS管共栅极和源极,所述第一MOS管的栅极和漏极相连且所述第一MOS管的源极接电源,所述第一MOS管的漏极接所述恒流源支路,所述第二MOS管的漏极接所述第一电阻的第二端,所述第三MOS管的漏极接所述第二电阻的第二端。
  3. 如权利要求2所述的负电压检测电路,其特征在于,所述待测负电压的大小用如下公式表示:
    VM=I0(R2-R1)
    其中,VM为待测负电压,I0为恒流源支路产生的恒定的电流,R1为第一电阻,R2为第二电阻。
  4. 如权利要求2或3所述的负电压检测电路,其特征在于,所述恒流源支路包括恒流源,所述第一MOS管的漏极接所述恒流源。
  5. 如权利要求2或3所述的负电压检测电路,其特征在于,所述恒流源支路包括:
    第四MOS管、运算放大器和第三电阻,所述第四MOS管与所述第三电阻串联,所述第四MOS管的漏极接所述第一MOS管的漏极,所述第四MOS管的栅极接所述运算放大器的输出端,所述第四MOS管的源极接所述运算放大器的负向输入端,所述运算放大器的正向输入端接参考电压。
  6. 如权利要求5所述的负电压检测电路,其特征在于,所述第三电阻与所述第一电阻和第二电阻为相同类型的电阻,所述第三电阻与所述第一电阻和第二电阻具有相同的温度系数。
  7. 如权利要求2至6中任一项所述的负电压检测电路,其特征在于,所述负电压采样支路还包括修调电阻,所述修调电阻的一端与所述第一电阻的第二端连接,所述修 调电阻的另一端接所述比较器的正向输入端。
  8. 如权利要求7所述的负电压检测电路,其特征在于,所述修调电阻与所述第一电阻和第二电阻为相同类型的电阻,所述修调电阻与所述第一电阻和第二电阻具有相同的温度系数。
  9. 如权利要求1所述的负电压检测电路,其特征在于,所述电流镜包括:
    第一MOS管,所述第一MOS管的栅极和漏极相连且所述第一MOS管的源极接电源,所述第一MOS管的漏极接所述恒流源支路;
    第二MOS管组合,所述第二MOS管组合包括第二MOS管和N个第一支路,每个所述第一支路包括第一支路MOS管和熔断电阻,所述第一支路MOS管与所述第二MOS管共栅极和源极,所述熔断电阻的一端接所述第一支路MOS管的漏极,所述熔断电阻的另一端接所述第一电阻的第二端;
    第三MOS管组合,所述第三MOS管组合包括第三MOS管和N个第二支路,每个所述第二支路包括第二支路MOS管和熔断电阻,所述第二支路MOS管与所述第三MOS管共栅极和源极,所述熔断电阻的一端接所述第二支路MOS管的漏极,所述熔断电阻的另一端接所述第二电阻的第二端。
  10. 根据权利要求9所述的负电压检测电路,其特征在于,所述恒流源支路包括恒流源,所述第一MOS管的漏极接所述恒流源。
  11. 如权利要求9所述的负电压检测电路,其特征在于,所述恒流源支路包括:
    第四MOS管、运算放大器和第三电阻,所述第四MOS管与所述第三电阻串联,所述第四MOS管的漏极接所述第一MOS管的漏极,所述第四MOS管的栅极接所述运算放大器的输出端,所述第四MOS管的源极接所述运算放大器的负向输入端,所述运算放大器的正向输入端接参考电压。
  12. 如权利要求11所述的负电压检测电路,其特征在于,所述第三电阻与所述第一电阻和第二电阻为相同类型的电阻,所述第三电阻与所述第一电阻和第二电阻具有相同的温度系数。
  13. 如权利要求9至12中任一项所述的负电压检测电路,其特征在于,所述负电压采样支路还包括修调电阻,所述修调电阻的一端与所述第一电阻的第二端连接,所述修调电阻的另一端接所述比较器的正向输入端。
  14. 如权利要求13所述的负电压检测电路,其特征在于,所述修调电阻与所述第一电阻和第二电阻为相同类型的电阻,所述修调电阻与所述第一电阻和第二电阻具有相同的温度系数。
  15. 如权利要求2至14中任一项所述的负电压检测电路,其特征在于,所述第一MOS管、第二MOS管和第三MOS管均为P沟道增强型MOS管。
PCT/CN2017/077697 2016-03-28 2017-03-22 负电压检测电路 WO2017167096A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610181285.2 2016-03-28
CN201610181285.2A CN107238743B (zh) 2016-03-28 2016-03-28 负电压检测电路

Publications (1)

Publication Number Publication Date
WO2017167096A1 true WO2017167096A1 (zh) 2017-10-05

Family

ID=59963468

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/077697 WO2017167096A1 (zh) 2016-03-28 2017-03-22 负电压检测电路

Country Status (2)

Country Link
CN (1) CN107238743B (zh)
WO (1) WO2017167096A1 (zh)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109802663A (zh) * 2019-01-09 2019-05-24 帝奥微电子有限公司 具有负电压处理能力以及恒定导通阻抗的模拟开关
CN109960304A (zh) * 2017-12-23 2019-07-02 苏州景昱医疗器械有限公司 温度检测电路及使用其的植入式医疗装置
CN111431611A (zh) * 2020-03-19 2020-07-17 青岛海信宽带多媒体技术有限公司 一种光模块
CN113625100A (zh) * 2021-06-22 2021-11-09 广西电网有限责任公司南宁供电局 一种用户端电压损失检测电路方法
CN115015619A (zh) * 2022-08-10 2022-09-06 苏州聚元微电子股份有限公司 一种电流检测电路及其参数确定方法
US20230176604A1 (en) * 2021-12-07 2023-06-08 Infineon Technologies LLC Current generator for memory sensing

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107894530A (zh) * 2017-12-25 2018-04-10 峰岹科技(深圳)有限公司 负电压检测电路及电机驱动装置
US10811866B2 (en) * 2018-02-26 2020-10-20 Semiconductor Components Industries, Llc Negative voltage detection and voltage surge protection
CN114137294A (zh) * 2020-09-04 2022-03-04 长鑫存储技术有限公司 电压检测电路及电荷泵电路
US11703527B2 (en) 2020-09-04 2023-07-18 Changxin Memory Technologies, Inc. Voltage detection circuit and charge pump circuit

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6448823B1 (en) * 1999-11-30 2002-09-10 Xilinx, Inc. Tunable circuit for detection of negative voltages
US20040120200A1 (en) * 2002-12-20 2004-06-24 Dietmar Gogl Current sense amplifier
CN101153880A (zh) * 2006-09-30 2008-04-02 台湾类比科技股份有限公司 负电压检测器
US20090080281A1 (en) * 2007-09-21 2009-03-26 Kabushiki Kaisha Toshiba Negative voltage detection circuit and semiconductor integrated circuit
CN101976094A (zh) * 2010-11-19 2011-02-16 长沙景嘉微电子有限公司 一种精确的电流产生电路
CN104422809A (zh) * 2013-08-28 2015-03-18 飞思卡尔半导体公司 负电压测量
CN104483529A (zh) * 2014-12-26 2015-04-01 青岛歌尔声学科技有限公司 一种负电压检测装置及检测方法

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6448823B1 (en) * 1999-11-30 2002-09-10 Xilinx, Inc. Tunable circuit for detection of negative voltages
US20040120200A1 (en) * 2002-12-20 2004-06-24 Dietmar Gogl Current sense amplifier
CN101153880A (zh) * 2006-09-30 2008-04-02 台湾类比科技股份有限公司 负电压检测器
US20090080281A1 (en) * 2007-09-21 2009-03-26 Kabushiki Kaisha Toshiba Negative voltage detection circuit and semiconductor integrated circuit
CN101976094A (zh) * 2010-11-19 2011-02-16 长沙景嘉微电子有限公司 一种精确的电流产生电路
CN104422809A (zh) * 2013-08-28 2015-03-18 飞思卡尔半导体公司 负电压测量
CN104483529A (zh) * 2014-12-26 2015-04-01 青岛歌尔声学科技有限公司 一种负电压检测装置及检测方法

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109960304A (zh) * 2017-12-23 2019-07-02 苏州景昱医疗器械有限公司 温度检测电路及使用其的植入式医疗装置
CN109960304B (zh) * 2017-12-23 2024-02-06 景昱医疗科技(苏州)股份有限公司 温度检测电路及使用其的植入式医疗装置
CN109802663A (zh) * 2019-01-09 2019-05-24 帝奥微电子有限公司 具有负电压处理能力以及恒定导通阻抗的模拟开关
CN111431611A (zh) * 2020-03-19 2020-07-17 青岛海信宽带多媒体技术有限公司 一种光模块
CN111431611B (zh) * 2020-03-19 2022-09-09 青岛海信宽带多媒体技术有限公司 一种光模块
CN113625100A (zh) * 2021-06-22 2021-11-09 广西电网有限责任公司南宁供电局 一种用户端电压损失检测电路方法
CN113625100B (zh) * 2021-06-22 2024-01-12 广西电网有限责任公司南宁供电局 一种用户端电压损失检测方法
US20230176604A1 (en) * 2021-12-07 2023-06-08 Infineon Technologies LLC Current generator for memory sensing
US11940831B2 (en) * 2021-12-07 2024-03-26 Infineon Technologies LLC Current generator for memory sensing
CN115015619A (zh) * 2022-08-10 2022-09-06 苏州聚元微电子股份有限公司 一种电流检测电路及其参数确定方法
CN115015619B (zh) * 2022-08-10 2022-12-06 苏州聚元微电子股份有限公司 一种电流检测电路及其参数确定方法

Also Published As

Publication number Publication date
CN107238743A (zh) 2017-10-10
CN107238743B (zh) 2019-11-22

Similar Documents

Publication Publication Date Title
WO2017167096A1 (zh) 负电压检测电路
CN107850918B (zh) 用于高速时钟的偏移非敏感的正交时钟误差校正和占空比校准
JP5329474B2 (ja) 温度とデジタルコード間の線形関係の提供
TWI720285B (zh) 電壓產生裝置及其校準方法
US9548752B1 (en) Calibration technique for current steering DAC
WO2023125047A1 (zh) 带隙基准电压校准方法
TWI719809B (zh) 溫度感測電路
US11716088B2 (en) Analog system and associated methods thereof
TWI428610B (zh) 過電流偵測電路及過電流偵測方法
US20220350360A1 (en) Piecewise Correction of Errors Over Temperature without Using On-Chip Temperature Sensor/Comparators
TWI449312B (zh) 啟動電路及帶隙電壓產生裝置
US8686884B2 (en) Testing of digital to analog converters in serial interfaces
CN111525966A (zh) 应用于发射机的阻抗校准电路
JP4962715B2 (ja) 終端抵抗調整方法および終端抵抗調整回路
US9178499B2 (en) Low-power offset-stored latch
CN114499459B (zh) 电子设备及其信号驱动芯片
TWI490678B (zh) 電壓產生裝置
TW201323843A (zh) 溫度感測裝置
TWI567372B (zh) 溫度偵測電路
TW202409577A (zh) 電流感測放大器電路及其輸入偏移電壓修正方法
JP4768461B2 (ja) 温度検出手段調整回路およびその調整方法
JP2022111592A (ja) 半導体集積回路
JP2023083888A (ja) コンパレータ
CN114200190A (zh) 电压差值检测电路
JP2019047330A (ja) 半導体装置及びその制御方法

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 17773126

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17773126

Country of ref document: EP

Kind code of ref document: A1