[go: up one dir, main page]

CN105763177B - A kind of hysteresis comparator - Google Patents

A kind of hysteresis comparator Download PDF

Info

Publication number
CN105763177B
CN105763177B CN201610074392.5A CN201610074392A CN105763177B CN 105763177 B CN105763177 B CN 105763177B CN 201610074392 A CN201610074392 A CN 201610074392A CN 105763177 B CN105763177 B CN 105763177B
Authority
CN
China
Prior art keywords
nmos
pmos
grid
hysteresis comparator
drain electrode
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201610074392.5A
Other languages
Chinese (zh)
Other versions
CN105763177A (en
Inventor
王硕
唐涛
石广
刘海林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry Co Ltd
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 Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201610074392.5A priority Critical patent/CN105763177B/en
Publication of CN105763177A publication Critical patent/CN105763177A/en
Application granted granted Critical
Publication of CN105763177B publication Critical patent/CN105763177B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/22Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral
    • H03K5/24Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral the characteristic being amplitude
    • H03K5/2472Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral the characteristic being amplitude using field effect transistors
    • H03K5/2481Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral the characteristic being amplitude using field effect transistors with at least one differential stage

Landscapes

  • Physics & Mathematics (AREA)
  • Nonlinear Science (AREA)
  • Manipulation Of Pulses (AREA)

Abstract

本发明公开了一种迟滞比较器,包括两级运算放大器,用于提供增益;正反馈电路,用于根据其设置参数获取对应的阈值电压;使能控制电路,用于通过输出使能信号控制所述迟滞比较器处于工作状态或静态。该迟滞比较器,在运算放大器的内部引入正反馈电路有利于集成,通过正反馈电路相关参数的调整可以获取不同的阈值电压,使得迟滞比较器具有良好的输出特性。此外,由于加入了使能控制电路,通过使能控制电路的输出信号可以控制迟滞比较器的状态,有利于降低迟滞比较器的功耗。

The invention discloses a hysteresis comparator, which includes a two-stage operational amplifier for providing gain; a positive feedback circuit for obtaining a corresponding threshold voltage according to its setting parameters; an enabling control circuit for controlling the output by outputting an enabling signal The hysteresis comparator is in working state or static. For the hysteresis comparator, introducing a positive feedback circuit inside the operational amplifier is beneficial to integration, and different threshold voltages can be obtained by adjusting relevant parameters of the positive feedback circuit, so that the hysteresis comparator has good output characteristics. In addition, since the enable control circuit is added, the state of the hysteresis comparator can be controlled through the output signal of the enable control circuit, which is beneficial to reduce the power consumption of the hysteresis comparator.

Description

一种迟滞比较器a hysteretic comparator

技术领域technical field

本发明涉及电子技术领域,特别是涉及一种迟滞比较器。The invention relates to the field of electronic technology, in particular to a hysteresis comparator.

背景技术Background technique

比较器以模拟信号和参考电压作为输入,以只有高低电平的二值数字信号作为输出,可用作模拟电路和数字电路的接口电路。一般比较器在阈值电压附近的噪声影响很大,而迟滞比较器引入了正反馈,在阈值点处产生“迟滞”特性,具有很强的抗干扰能力。现有技术中采用集成运放外部正反馈结构,这种结构不利于电路的集成且具有较高功耗。此外,阈值电压不能够调整,导致具有迟滞特性的输出特性较差。The comparator takes an analog signal and a reference voltage as an input, and outputs a binary digital signal with only high and low levels, and can be used as an interface circuit between an analog circuit and a digital circuit. Generally, the noise of the comparator near the threshold voltage has a great influence, and the hysteresis comparator introduces positive feedback, which produces a "hysteresis" characteristic at the threshold point and has a strong anti-interference ability. In the prior art, an external positive feedback structure of an integrated operational amplifier is adopted, which is not conducive to circuit integration and has relatively high power consumption. In addition, the threshold voltage cannot be adjusted, resulting in poor output characteristics with hysteresis characteristics.

由此可见,如何调整阈值电压以得到良好的输出特性是本领域技术人员亟待解决的问题。It can be seen that how to adjust the threshold voltage to obtain good output characteristics is an urgent problem to be solved by those skilled in the art.

发明内容Contents of the invention

本发明的目的是提供一种迟滞比较器,用于调整阈值电压以得到良好的输出特性。The object of the present invention is to provide a hysteresis comparator for adjusting the threshold voltage to obtain good output characteristics.

为解决上述技术问题,本发明提供一种迟滞比较器,包括两级运算放大器,用于提供增益;正反馈电路,用于根据其设置参数获取对应的阈值电压;使能控制电路,用于通过输出使能信号控制所述迟滞比较器处于工作状态或静态;In order to solve the above-mentioned technical problems, the present invention provides a hysteresis comparator, which includes a two-stage operational amplifier for providing gain; a positive feedback circuit for obtaining a corresponding threshold voltage according to its setting parameters; an enabling control circuit for passing An output enable signal controls the hysteresis comparator to be in a working state or static;

所述两级运算放大器包括:差分放大电路、第三NMOS和电流源;The two-stage operational amplifier includes: a differential amplifier circuit, a third NMOS and a current source;

所述正反馈电路包括:第一反相器、第二反相器、第五NMOS、第六NMOS;The positive feedback circuit includes: a first inverter, a second inverter, a fifth NMOS, and a sixth NMOS;

其中,所述第六NMOS的栅极与所述差分放大电路连接,所述第六NMOS的漏极与所述差分放大电路和所述第三NMOS的栅极连接,所述第六NMOS的源极与所述第五NMOS的漏极连接,所述第五NMOS的源极和所述第三NMOS的源极接地,所述第一反相器的输入端和所述第三NMOS与所述电流源连接,所述第二反相器的输入端与所述第一反相器的输出端连接,所述第二反相器的输出端作为所述迟滞比较器的输出端,并与所述第五NMOS的栅极连接。Wherein, the gate of the sixth NMOS is connected to the differential amplifier circuit, the drain of the sixth NMOS is connected to the differential amplifier circuit and the gate of the third NMOS, and the source of the sixth NMOS connected to the drain of the fifth NMOS, the source of the fifth NMOS and the source of the third NMOS are grounded, the input terminal of the first inverter and the third NMOS are connected to the The current source is connected, the input terminal of the second inverter is connected with the output terminal of the first inverter, and the output terminal of the second inverter is used as the output terminal of the hysteresis comparator, and is connected with the output terminal of the first inverter. The gate of the fifth NMOS is connected.

优选地,所述差分放大电路具体包括:第一PMOS、第二PMOS、第一NMOS和第二NMOS;Preferably, the differential amplifier circuit specifically includes: a first PMOS, a second PMOS, a first NMOS, and a second NMOS;

其中,所述第一PMOS的栅极与输入电压端连接,所述第一PMOS的源极和所述第二PMOS的源极与所述电流源连接,所述第一PMOS的漏极与所述第一NMOS的漏极和所述第一NMOS的栅极连接,所述第二PMOS的栅极与参考电压端连接,所述第二PMOS的漏极与所述第二NMOS的漏极和所述第六NMOS的漏极连接,所述第一NMOS的栅极和第二NMOS的栅极连接,并与所述第六NMOS的栅极连接,所述第一NMOS的源极和第二NMOS的源极接地。Wherein, the gate of the first PMOS is connected to the input voltage terminal, the source of the first PMOS and the source of the second PMOS are connected to the current source, and the drain of the first PMOS is connected to the The drain of the first NMOS is connected to the gate of the first NMOS, the gate of the second PMOS is connected to the reference voltage terminal, and the drain of the second PMOS is connected to the drain of the second NMOS and The drain of the sixth NMOS is connected, the gate of the first NMOS is connected to the gate of the second NMOS, and is connected to the gate of the sixth NMOS, the source of the first NMOS is connected to the second NMOS The source of the NMOS is grounded.

优选地,所述正反馈电路还包括第四NMOS;Preferably, the positive feedback circuit further includes a fourth NMOS;

其中,所述第四NMOS的栅极与所述NMOS漏极连接,并与所述第六NMOS的漏极和所述第三NMOS的栅极连接,所述第四NMOS的源极与所述第三NMOS的漏极和所述第一反相器的输入端连接。Wherein, the gate of the fourth NMOS is connected to the drain of the NMOS, and is connected to the drain of the sixth NMOS and the gate of the third NMOS, and the source of the fourth NMOS is connected to the drain of the NMOS. The drain of the third NMOS is connected to the input terminal of the first inverter.

优选地,所述使能控制电路具体包括:第三反相器、第六PMOS、第七NMOS、第八NMOS和第九NMOS;Preferably, the enabling control circuit specifically includes: a third inverter, a sixth PMOS, a seventh NMOS, an eighth NMOS, and a ninth NMOS;

其中,所述第三反相器的输入端和所述第六PMOS的栅极作为所述使能控制电路的输入端,所述第三反相器的输出端与所述第七NMOS的栅极、所述第八NMOS的栅极、所述第九NMOS的栅极和所述电流源连接,所述第七NMOS的漏极与所述第一NMOS的栅极和第二NMOS的栅极均连接,所述第八NMOS的漏极与所述第四NMOS的栅极,所述第九NMOS的漏极与所述第一反相器的输入端连接,所述第七NMOS的源极、所述第八NMOS的源极、所述第九NMOS的源极接地,所述第六PMOS的源极与电源正端连接,所述第六PMOS的漏极与所述电流源连接。Wherein, the input terminal of the third inverter and the gate of the sixth PMOS are used as the input terminal of the enabling control circuit, the output terminal of the third inverter is connected to the gate of the seventh NMOS pole, the gate of the eighth NMOS, the gate of the ninth NMOS are connected to the current source, the drain of the seventh NMOS is connected to the gate of the first NMOS and the gate of the second NMOS are connected, the drain of the eighth NMOS is connected to the gate of the fourth NMOS, the drain of the ninth NMOS is connected to the input terminal of the first inverter, and the source of the seventh NMOS , the source of the eighth NMOS and the source of the ninth NMOS are grounded, the source of the sixth PMOS is connected to the positive power supply terminal, and the drain of the sixth PMOS is connected to the current source.

优选地,所述电流源具体包括第三PMOS、第四PMOS、第五PMOS和第七PMOS;Preferably, the current source specifically includes a third PMOS, a fourth PMOS, a fifth PMOS, and a seventh PMOS;

其中,所述第三PMOS的源极、所述第四PMOS的源极和所述第五PMOS的源极均与所述第六PMOS的源极连接,所述第三PMOS的漏极和所述第三PMOS的栅极连接,并与所述第七PMOS的源极和所述第六PMOS的漏极连接,所述第四PMOS的栅极、所述第三PMOS的栅极和所述第五PMOS的栅极均连接,所述第四PMOS的漏极与所述第一PMOS的源极和所述第二PMOS的源极连接,所述第五PMOS的漏极与所述第一反相器的输入端连接,所述第七PMOS的漏极与偏置电路的输入端连接,所述第七PMOS的栅极与所述第三反相器的输出端连接。Wherein, the source of the third PMOS, the source of the fourth PMOS and the source of the fifth PMOS are all connected to the source of the sixth PMOS, and the drain of the third PMOS is connected to the source of the sixth PMOS. The gate of the third PMOS is connected, and is connected with the source of the seventh PMOS and the drain of the sixth PMOS, the gate of the fourth PMOS, the gate of the third PMOS and the The gates of the fifth PMOS are all connected, the drain of the fourth PMOS is connected to the source of the first PMOS and the source of the second PMOS, and the drain of the fifth PMOS is connected to the first PMOS. The input terminal of the inverter is connected, the drain of the seventh PMOS is connected to the input terminal of the bias circuit, and the gate of the seventh PMOS is connected to the output terminal of the third inverter.

优选地,所述使能控制电路的输入端的输入信号为1时,控制所述迟滞比较器处于工作状态;Preferably, when the input signal of the input terminal of the enable control circuit is 1, the hysteresis comparator is controlled to be in the working state;

所述使能控制电路的输入端的输入信号为0时,控制所述迟滞比较器处于静态。When the input signal at the input terminal of the enabling control circuit is 0, the hysteresis comparator is controlled to be static.

本发明所提供的迟滞比较器,在运算放大器的内部引入正反馈电路有利于集成,通过正反馈电路相关参数的调整可以获取不同的阈值电压,使得迟滞比较器具有良好的输出特性。此外,由于加入了使能控制电路,通过使能控制电路的输出信号可以控制迟滞比较器的状态,有利于降低迟滞比较器的功耗。In the hysteresis comparator provided by the present invention, introducing a positive feedback circuit inside the operational amplifier facilitates integration, and different threshold voltages can be obtained by adjusting relevant parameters of the positive feedback circuit, so that the hysteresis comparator has good output characteristics. In addition, since the enable control circuit is added, the state of the hysteresis comparator can be controlled through the output signal of the enable control circuit, which is beneficial to reduce the power consumption of the hysteresis comparator.

附图说明Description of drawings

为了更清楚地说明本发明实施例,下面将对实施例中所需要使用的附图做简单的介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the embodiments of the present invention more clearly, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. As far as people are concerned, other drawings can also be obtained based on these drawings on the premise of not paying creative work.

图1为实施例一提供的迟滞比较器的结构图;Fig. 1 is the structural diagram of the hysteresis comparator that embodiment one provides;

图2为实施例二提供的迟滞比较器电路图;Fig. 2 is the hysteresis comparator circuit diagram that embodiment two provides;

图3为本发明提供的图2的等效电路图;Fig. 3 is the equivalent circuit diagram of Fig. 2 provided by the present invention;

图4为本发明提供的迟滞比较器的电压传输特性示意图;4 is a schematic diagram of the voltage transfer characteristics of the hysteresis comparator provided by the present invention;

其中,P1—第一PMOS,P2—第二PMOS,P3—第三PMOS,P4—第四PMOS,P5—第五PMOS,P6—第六PMOS,P7—第七PMOS,N1—第一NMOS,N2—第二NMOS,N3—第三NMOS,N4—第四NMOS,N5—第五NMOS,N6—第六NMOS,N7—第七NMOS,N8—第八,NMOS N9—第九NMOS,INV1—第一反相器,INV2—第二反相器,INV3—第三反相器。Among them, P1—first PMOS, P2—second PMOS, P3—third PMOS, P4—fourth PMOS, P5—fifth PMOS, P6—sixth PMOS, P7—seventh PMOS, N1—first NMOS, N2—second NMOS, N3—third NMOS, N4—fourth NMOS, N5—fifth NMOS, N6—sixth NMOS, N7—seventh NMOS, N8—eighth, NMOS N9—ninth NMOS, INV1— The first inverter, INV2—the second inverter, INV3—the third inverter.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下,所获得的所有其他实施例,都属于本发明保护范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明的核心是提供一种迟滞比较器。The core of the present invention is to provide a hysteresis comparator.

为了使本技术领域的人员更好地理解本发明方案,下面结合附图和具体实施方式对本发明作进一步的详细说明。In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

实施例一Embodiment one

图1为实施例一提供的迟滞比较器的结构图。如图1所示,迟滞比较器,包括两级运算放大器1,用于提供增益;正反馈电路2,用于根据其设置参数获取对应的阈值电压;使能控制电路3,用于通过输出使能信号控制所述迟滞比较器处于工作状态或静态;FIG. 1 is a structural diagram of a hysteresis comparator provided in Embodiment 1. As shown in Figure 1, the hysteresis comparator includes a two-stage operational amplifier 1 for providing gain; a positive feedback circuit 2 for obtaining a corresponding threshold voltage according to its setting parameters; an enabling control circuit 3 for enabling the The hysteresis comparator can be controlled by signal to be in working state or static;

两级运算放大器1包括:差分放大电路、第三NMOS和电流源;The two-stage operational amplifier 1 includes: a differential amplifier circuit, a third NMOS and a current source;

正反馈电路2包括:第一反相器、第二反相器、第五NMOS、第六NMOS;The positive feedback circuit 2 includes: a first inverter, a second inverter, a fifth NMOS, and a sixth NMOS;

其中,第六NMOS的栅极与差分放大电路连接,第六NMOS的漏极与差分放大电路和第三NMOS的栅极连接,第六NMOS的源极与第五NMOS的漏极连接,第五NMOS的源极和第三NMOS的源极接地,第一反相器的输入端和第三NMOS与电流源连接,第二反相器的输入端与第一反相器的输出端连接,第二反相器的输出端作为迟滞比较器的输出端,并与第五NMOS的栅极连接。Wherein, the gate of the sixth NMOS is connected to the differential amplifier circuit, the drain of the sixth NMOS is connected to the gate of the differential amplifier circuit and the third NMOS, the source of the sixth NMOS is connected to the drain of the fifth NMOS, and the drain of the fifth NMOS is connected to the gate of the third NMOS. The source of the NMOS and the source of the third NMOS are grounded, the input of the first inverter and the third NMOS are connected to the current source, the input of the second inverter is connected to the output of the first inverter, and the input of the first inverter is connected to the output of the first inverter. The output terminals of the two inverters serve as the output terminals of the hysteresis comparator and are connected with the gate of the fifth NMOS.

如图1所示,该迟滞比较器包括三大部分,两级运算放大器1、正反馈电路2和使能控制电路3。在具体实施中,两级运算放大器1提供输出电压,为迟滞比较器提供工作条件。将正反馈电路2引入两级运算放大器1的内部,通过调整正反馈电路2中第五NMOS和第六NMOS的相关参数可以获取不同的阈值电压。因此,在具体实施中,可以根据实际需求,选取参数不同的第五NMOS和第六NMOS,使得阈值电压可以调整以达到迟滞比较器的作用。As shown in FIG. 1 , the hysteresis comparator includes three parts, a two-stage operational amplifier 1 , a positive feedback circuit 2 and an enabling control circuit 3 . In a specific implementation, the two-stage operational amplifier 1 provides an output voltage to provide working conditions for the hysteresis comparator. The positive feedback circuit 2 is introduced into the two-stage operational amplifier 1 , and different threshold voltages can be obtained by adjusting the relevant parameters of the fifth NMOS and the sixth NMOS in the positive feedback circuit 2 . Therefore, in a specific implementation, the fifth NMOS and the sixth NMOS with different parameters can be selected according to actual requirements, so that the threshold voltage can be adjusted to achieve the function of a hysteresis comparator.

由于迟滞比较器通常集成在其它的电路中,为了与其它电路配合,迟滞比较器通常会处于工作状态,导致迟滞比较器中的各个器件处于工作状态,因此功耗较高。可以理解的是,在一些情况下,不需要迟滞比较器工作,那么可以通过本发明中的使能控制电路3来控制迟滞比较器的状态。例如,当使能控制电路3输出一种信号时,迟滞比较器处于工作状态,当使能控制电路3输出另一种信号时,迟滞比较器处于静态,即非工作状态。Since the hysteresis comparator is usually integrated in other circuits, in order to cooperate with other circuits, the hysteresis comparator is usually in the working state, causing each device in the hysteresis comparator to be in the working state, so the power consumption is relatively high. It can be understood that, in some cases, the hysteresis comparator does not need to work, so the state of the hysteresis comparator can be controlled by the enable control circuit 3 in the present invention. For example, when the enabling control circuit 3 outputs a signal, the hysteresis comparator is in an active state, and when the enabling control circuit 3 outputs another signal, the hysteresis comparator is in a static state, that is, in a non-operating state.

本实施例提供的迟滞比较器,在运算放大器的内部引入正反馈电路有利于集成,通过正反馈电路相关参数的调整可以获取不同的阈值电压,使得迟滞比较器具有良好的输出特性。此外,由于加入了使能控制电路,通过使能控制电路的输出信号可以控制迟滞比较器的状态,有利于降低迟滞比较器的功耗。For the hysteresis comparator provided in this embodiment, introducing a positive feedback circuit inside the operational amplifier facilitates integration, and different threshold voltages can be obtained by adjusting related parameters of the positive feedback circuit, so that the hysteresis comparator has good output characteristics. In addition, since the enable control circuit is added, the state of the hysteresis comparator can be controlled through the output signal of the enable control circuit, which is beneficial to reduce the power consumption of the hysteresis comparator.

实施例二Embodiment two

图2为实施例二提供的迟滞比较器电路图。图3为本发明提供的图2的等效电路图。图4为本发明提供的迟滞比较器的电压传输特性示意图。如图2所示,两级运算放大器1的差分放大电路具体包括:第一PMOS、第二PMOS、第一NMOS和第二NMOS;FIG. 2 is a circuit diagram of the hysteresis comparator provided by the second embodiment. FIG. 3 is an equivalent circuit diagram of FIG. 2 provided by the present invention. FIG. 4 is a schematic diagram of voltage transfer characteristics of the hysteresis comparator provided by the present invention. As shown in FIG. 2 , the differential amplifier circuit of the two-stage operational amplifier 1 specifically includes: a first PMOS, a second PMOS, a first NMOS, and a second NMOS;

其中,第一PMOS的栅极与输入电压端Vin连接,第一PMOS的源极和第二PMOS的源极与电流源连接,第一PMOS的漏极与第一NMOS的漏极和第一NMOS的栅极连接,第二PMOS的栅极与参考电压端连接,第二PMOS的漏极与第二NMOS的漏极和第六NMOS的漏极连接,第一NMOS的栅极和第二NMOS的栅极连接,并与第六NMOS的栅极连接,第一NMOS的源极和第二NMOS的源极接地。Wherein, the gate of the first PMOS is connected to the input voltage terminal V in , the source of the first PMOS and the source of the second PMOS are connected to the current source, the drain of the first PMOS is connected to the drain of the first NMOS and the first The gate of the NMOS is connected, the gate of the second PMOS is connected to the reference voltage terminal, the drain of the second PMOS is connected to the drain of the second NMOS and the drain of the sixth NMOS, the gate of the first NMOS is connected to the second NMOS The gate of the first NMOS is connected to the gate of the sixth NMOS, and the source of the first NMOS and the source of the second NMOS are grounded.

作为优选地,正反馈电路2还包括第四NMOS;Preferably, the positive feedback circuit 2 also includes a fourth NMOS;

其中,第四NMOS的栅极与NMOS漏极连接,并与第六NMOS的漏极和第三NMOS的栅极连接,第四NMOS的源极与第三NMOS的漏极和第一反相器的输入端连接。Wherein, the gate of the fourth NMOS is connected with the NMOS drain, and is connected with the drain of the sixth NMOS and the gate of the third NMOS, and the source of the fourth NMOS is connected with the drain of the third NMOS and the first inverter input connection.

作为优选地,使能控制电路3具体包括:第三反相器、第六PMOS、第七NMOS、第八NMOS和第九NMOS;Preferably, the enabling control circuit 3 specifically includes: a third inverter, a sixth PMOS, a seventh NMOS, an eighth NMOS, and a ninth NMOS;

其中,第三反相器的输入端和第六PMOS的栅极作为使能控制电路的输入端EN,第三反相器的输出端与第七NMOS的栅极、第八NMOS的栅极、第九NMOS的栅极和电流源连接,第七NMOS的漏极与第一NMOS的栅极和第二NMOS的栅极均连接,第八NMOS的漏极与第四NMOS的栅极,第九NMOS的漏极与第一反相器的输入端连接,第七NMOS的源极、第八NMOS的源极、第九NMOS的源极接地,第六PMOS的源极与电源正端连接,第六PMOS的漏极与电流源连接。Wherein, the input end of the third inverter and the gate of the sixth PMOS are used as the input end EN of the enable control circuit, the output end of the third inverter is connected to the gate of the seventh NMOS, the gate of the eighth NMOS, The gate of the ninth NMOS is connected to the current source, the drain of the seventh NMOS is connected to the gate of the first NMOS and the gate of the second NMOS, the drain of the eighth NMOS is connected to the gate of the fourth NMOS, and the drain of the ninth NMOS is connected to the gate of the fourth NMOS. The drain of the NMOS is connected to the input terminal of the first inverter, the source of the seventh NMOS, the source of the eighth NMOS, and the source of the ninth NMOS are grounded, the source of the sixth PMOS is connected to the positive terminal of the power supply, and the source of the sixth NMOS is connected to the positive terminal of the power supply. The drains of the six PMOSs are connected to the current source.

作为优选地,电流源具体包括第三PMOS、第四PMOS、第五PMOS和第七PMOS;Preferably, the current source specifically includes a third PMOS, a fourth PMOS, a fifth PMOS, and a seventh PMOS;

其中,第三PMOS的源极、第四PMOS的源极和第五PMOS的源极均与第六PMOS的源极连接,第三PMOS的漏极和第三PMOS的栅极连接,并与第七PMOS的源极和第六PMOS的漏极连接,第四PMOS的栅极、第三PMOS的栅极和第五PMOS的栅极均连接,第四PMOS的漏极与第一PMOS的源极和第二PMOS的源极连接,第五PMOS的漏极与第一反相器的输入端连接,第七PMOS的漏极与偏置电路的输入端连接,第七PMOS的栅极与第三反相器的输出端连接。Wherein, the source of the third PMOS, the source of the fourth PMOS and the source of the fifth PMOS are all connected to the source of the sixth PMOS, the drain of the third PMOS is connected to the gate of the third PMOS, and connected to the gate of the sixth PMOS. The source of the seventh PMOS is connected to the drain of the sixth PMOS, the gate of the fourth PMOS, the gate of the third PMOS and the gate of the fifth PMOS are all connected, and the drain of the fourth PMOS is connected to the source of the first PMOS It is connected to the source of the second PMOS, the drain of the fifth PMOS is connected to the input of the first inverter, the drain of the seventh PMOS is connected to the input of the bias circuit, and the gate of the seventh PMOS is connected to the third The output terminal of the inverter is connected.

以上部分是对于图2的具体连接结构进行描述,下文将迟滞比较器的工作原理进行详细说明。The above part is a description of the specific connection structure in FIG. 2 , and the working principle of the hysteresis comparator will be described in detail below.

1)当输入电压端的电压Vin<参考电压端的电压Vref时,A点为低电平,第三NMOS截止,C点为高电平,D点为高电平,第五NMOS导通;当Vin增大时,I2、I1减小,在IA>I2+I1时,参考图4,这时的临界电压Vin=Vref+Vth,A点为高电平,第三NMOS管导通,C、D点为低电平,第五NMOS管截止。1) When the voltage Vin of the input voltage terminal < the voltage Vref of the reference voltage terminal, point A is low level, the third NMOS is cut off, point C is high level, point D is high level, and the fifth NMOS is turned on; when Vin When increasing, I2 and I1 decrease, and when IA>I2+I1, refer to Figure 4, the critical voltage Vin=Vref+Vth at this time, point A is high level, the third NMOS transistor is turned on, C, D point is low level, and the fifth NMOS transistor is cut off.

2)当Vin>Vref时,A点为高电平,第三NMOS管导通,C、D点为低电平,第五NMOS管截止,I1=0;当Vin减小时,IB增大,在IA<I2时,参考图4,这时的临界电压Vin=Vref,A点为低电平,第三NMOS管截止,C、D点为高电平。第四NMOS管的作用为加快临界点的转换速度,在IA升高达到临界时,第四NMOS管导通且处于饱和区,将分走很大一部分IC的电流,使得IA上升的很快,从而加速了C点电位的跳低。现在定量分析迟滞比较器的阈值电压Vth,到达临界点时IA=I1+I2,I1、I2与IB构成镜像电流的关系,I2=IB,I1=mIB(m为第六NMOS与第一、第二NMOS的宽长比比例系数),可以得到IA=(m+1)IB。在根据IA、IB的电流方程:2) When Vin>Vref, point A is high level, the third NMOS transistor is turned on, points C and D are low level, the fifth NMOS transistor is cut off, I1=0; when Vin decreases, IB increases, When IA<I2, referring to FIG. 4 , the critical voltage Vin=Vref at this time, point A is at low level, the third NMOS transistor is cut off, and points C and D are at high level. The function of the fourth NMOS transistor is to speed up the conversion speed of the critical point. When the IA rises to the critical point, the fourth NMOS transistor is turned on and is in the saturation region, which will divert a large part of the current of the IC, so that the IA rises very quickly. Thereby accelerating the jump of the C point potential. Now quantitatively analyze the threshold voltage Vth of the hysteresis comparator. When reaching the critical point, IA=I1+I2, I1, I2 and IB constitute the relationship of the mirror current, I2=IB, I1=mIB (m is the sixth NMOS and the first, the first (2) aspect ratio ratio coefficient of NMOS), IA=(m+1)IB can be obtained. According to the current equation of IA and IB:

式中,Vs是电路中S点的电压;Vtp是第一PMOS、第二PMOS的阈值电压,一般室温下是常数0.9V;μp是空穴迁移率,为常数,Cox是单位面积的栅氧化层电容,为常数。根据IA与IB的关系可以计算出Vin与Vref的关系,进而得出Vth,从这里也可以看出,调整第六NMOS管的宽长比就可以调整Vth的大小。In the formula, Vs is the voltage at point S in the circuit; Vtp is the threshold voltage of the first PMOS and the second PMOS, which is generally a constant of 0.9V at room temperature; μp is the hole mobility, which is a constant, and Cox is the gate oxide per unit area The layer capacitance is a constant. According to the relationship between IA and IB, the relationship between Vin and Vref can be calculated, and then Vth can be obtained. It can also be seen from this that the size of Vth can be adjusted by adjusting the width-to-length ratio of the sixth NMOS tube.

作为优选地,使能控制电路的输入端的输入信号为1时,控制迟滞比较器处于工作状态;As preferably, when the input signal of the input terminal of the enable control circuit is 1, the control hysteresis comparator is in the working state;

使能控制电路的输入端的输入信号为0时,控制迟滞比较器处于静态。When the input signal at the input terminal of the enabling control circuit is 0, the hysteresis comparator is controlled to be static.

当EN为1时,迟滞比较器处于工作状态,第六PMOS截止,E点为低电平,第七NMOS、第八NMOS、第九NMOS截止,第七PMOS导通,且可通过调整Vm的大小获取需要的偏置电流。When EN is 1, the hysteresis comparator is in working state, the sixth PMOS is off, point E is at low level, the seventh NMOS, the eighth NMOS, and the ninth NMOS are off, and the seventh PMOS is on. size to obtain the required bias current.

当EN为0时,迟滞比较器处于静态,第六PMOS导通,破坏电流源结构,无偏置电流产生,E点为高电平,第七NMOS、第八NMOS、第九NMOS导通,将各级输出拉低,迟滞比较器的输出稳定为0,避免不定态的发生造成功耗损失。使能控制电路可以稳定迟滞比较器的工作态与静态,并且利于电路的嵌入集成。When EN is 0, the hysteresis comparator is static, the sixth PMOS is turned on, the structure of the current source is destroyed, no bias current is generated, point E is at high level, the seventh NMOS, the eighth NMOS, and the ninth NMOS are turned on, The output of each level is pulled low, and the output of the hysteresis comparator is stable at 0, so as to avoid power loss caused by the occurrence of indeterminate states. The enabling control circuit can stabilize the working state and the static state of the hysteresis comparator, and is beneficial to the embedded integration of the circuit.

由此可见,在使能控制电路3中,第六PMOS控制迟滞比较器处于工作状态或静态;第七NMOS、第八NMOS、第九NMOS使处于静态时的迟滞比较器的状态更加稳定。It can be seen that in the enable control circuit 3, the sixth PMOS controls the hysteresis comparator to be in the working state or static; the seventh NMOS, the eighth NMOS, and the ninth NMOS make the state of the hysteresis comparator in the static state more stable.

以上对本发明所提供的迟滞比较器进行了详细介绍。说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。The hysteresis comparator provided by the present invention has been introduced in detail above. Each embodiment in the description is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for the related information, please refer to the description of the method part. It should be pointed out that for those skilled in the art, without departing from the principle of the present invention, some improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the protection scope of the claims of the present invention.

专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Professionals can further realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software or a combination of the two. In order to clearly illustrate the possible For interchangeability, in the above description, the composition and steps of each example have been generally described according to their functions. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the methods or algorithms described in connection with the embodiments disclosed herein may be directly implemented by hardware, software modules executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other Any other known storage medium.

Claims (6)

1. a kind of hysteresis comparator, which is characterized in that including two-stage calculation amplifier, for providing gain;Positive-feedback circuit is used According to the corresponding threshold voltage of its arrange parameter acquisition;Enabled control circuit, for by exporting described in enable signal control Hysteresis comparator is in running order or static;
The two-stage calculation amplifier includes:Differential amplifier circuit, the 3rd NMOS and current source;
The positive-feedback circuit includes:First phase inverter, the second phase inverter, the 5th NMOS, the 6th NMOS;
Wherein, the grid of the 6th NMOS is connect with the differential amplifier circuit, drain electrode and the difference of the 6th NMOS Amplifying circuit is divided to be connected with the grid of the 3rd NMOS, the source electrode of the 6th NMOS connects with the drain electrode of the 5th NMOS It connects, the source electrode ground connection of the source electrode of the 5th NMOS and the 3rd NMOS, the input terminal of first phase inverter and described the Three NMOS are connect with the current source, and the input terminal of second phase inverter is connect with the output end of first phase inverter, institute Output end of the output end of the second phase inverter as the hysteresis comparator is stated, and is connect with the grid of the 5th NMOS.
2. hysteresis comparator according to claim 1, which is characterized in that the differential amplifier circuit specifically includes:First PMOS, the 2nd PMOS, the first NMOS and the 2nd NMOS;
Wherein, the grid of the first PMOS is connect with Input voltage terminal, the source electrode and the 2nd PMOS of the first PMOS Source electrode connect with the current source, the drain electrode and the first NMOS of the drain electrode of the first PMOS with the first NMOS Grid connects, and the grid of the 2nd PMOS is connect with reference voltage end, drain electrode and the 2nd NMOS of the 2nd PMOS Drain electrode connected with the drain electrode of the 6th NMOS, the grid connection of the grid of the first NMOS and the 2nd NMOS, and with institute State the grid connection of the 6th NMOS, the source electrode of the first NMOS and the source electrode ground connection of the 2nd NMOS.
3. hysteresis comparator according to claim 2, which is characterized in that the positive-feedback circuit further includes the 4th NMOS;
Wherein, the grid of the 4th NMOS and the 4th NMOS drain electrode connects, and with the drain electrode of the 6th NMOS and institute State the grid connection of the 3rd NMOS, the drain electrode of the source electrode of the 4th NMOS and the 3rd NMOS and first phase inverter Input terminal connects.
4. hysteresis comparator according to claim 3, which is characterized in that the enabled control circuit specifically includes:Third Phase inverter, the 6th PMOS, the 7th NMOS, the 8th NMOS and the 9th NMOS;
Wherein, input of the grid of the input terminal of the third phase inverter and the 6th PMOS as the enabled control circuit End, the output end of the third phase inverter and the grid of the 7th NMOS, grid, the 9th NMOS of the 8th NMOS Grid connected with the current source, the grid of the drain electrode and the grid and the 2nd NMOS of the first NMOS of the 7th NMOS It is all connected with, the drain electrode of the 8th NMOS is connect with the grid of the 4th NMOS, the drain electrode of the 9th NMOS and described the The input terminal of one phase inverter connects, the source electrode of the 7th NMOS, the source electrode of the 8th NMOS, the 9th NMOS source electrode Ground connection, the source electrode of the 6th PMOS are connect with power positive end, and the drain electrode of the 6th PMOS is connect with the current source.
5. hysteresis comparator according to claim 4, which is characterized in that the current source specifically includes the 3rd PMOS, Four PMOS, the 5th PMOS and the 7th PMOS;
Wherein, the source electrode of the source electrode of the 3rd PMOS, the source electrode of the 4th PMOS and the 5th PMOS is with described The source electrode of six PMOS connects, and the drain electrode of the 3rd PMOS is connected with the grid of the 3rd PMOS, and with the 7th PMOS Source electrode connected with the drain electrode of the 6th PMOS, the grid of the 4th PMOS, the grid of the 3rd PMOS and described The grid of five PMOS is all connected with, the source electrode of the drain electrode and the source electrode and the 2nd PMOS of the first PMOS of the 4th PMOS Connection, the drain electrode of the 5th PMOS are connect with the input terminal of first phase inverter, the drain electrode and biasing of the 7th PMOS The input terminal of circuit connects, and the grid of the 7th PMOS is connect with the output end of the third phase inverter.
6. hysteresis comparator according to claim 1 or 5, which is characterized in that the input terminal of the enabled control circuit When input signal is 1, it is in running order to control the hysteresis comparator;
When the input signal of the input terminal of the enabled control circuit is 0, controls the hysteresis comparator and be in static state.
CN201610074392.5A 2016-02-02 2016-02-02 A kind of hysteresis comparator Active CN105763177B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610074392.5A CN105763177B (en) 2016-02-02 2016-02-02 A kind of hysteresis comparator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610074392.5A CN105763177B (en) 2016-02-02 2016-02-02 A kind of hysteresis comparator

Publications (2)

Publication Number Publication Date
CN105763177A CN105763177A (en) 2016-07-13
CN105763177B true CN105763177B (en) 2018-09-07

Family

ID=56329640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610074392.5A Active CN105763177B (en) 2016-02-02 2016-02-02 A kind of hysteresis comparator

Country Status (1)

Country Link
CN (1) CN105763177B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024023164A1 (en) * 2022-07-29 2024-02-01 Ams-Osram Ag Comparator with hysteresis and electronic device

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107634741A (en) * 2017-10-23 2018-01-26 福州大学 a hysteretic comparator
CN110011647A (en) * 2019-04-12 2019-07-12 中国电子科技集团公司第二十四研究所 A kind of delayed comparator circuit
CN112398476B (en) * 2019-08-13 2023-04-07 天津大学青岛海洋技术研究院 Low-power consumption comparator with low delay distortion characteristic
CN113556103B (en) * 2020-04-26 2023-07-04 智原微电子(苏州)有限公司 Comparison circuit and comparison module with hysteresis function

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6208187B1 (en) * 1999-06-04 2001-03-27 Stmicroelectronics, Inc. Comparator circuit with built-in hysteresis offset
JP2004135306A (en) * 2002-07-22 2004-04-30 Texas Instr Deutschland Gmbh Comparator having hysteresis
JP2004228625A (en) * 2003-01-20 2004-08-12 New Japan Radio Co Ltd Hysteresis comparator
CN201345060Y (en) * 2009-01-13 2009-11-11 北京时代民芯科技有限公司 Negative feedback hysteresis comparator for controlling temperature
US7973569B1 (en) * 2010-03-17 2011-07-05 Microchip Technology Incorporated Offset calibration and precision hysteresis for a rail-rail comparator with large dynamic range
CN102811044A (en) * 2011-06-02 2012-12-05 上海腾怡半导体有限公司 Switch type hall sensor with temperature compensation and hysteresis comparator circuit
CN204517773U (en) * 2015-05-14 2015-07-29 上海中基国威电子有限公司 A kind of single ended input hysteresis comparator circuit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7292083B1 (en) * 2006-04-18 2007-11-06 Etron Technology, Inc. Comparator circuit with Schmitt trigger hysteresis character

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6208187B1 (en) * 1999-06-04 2001-03-27 Stmicroelectronics, Inc. Comparator circuit with built-in hysteresis offset
JP2004135306A (en) * 2002-07-22 2004-04-30 Texas Instr Deutschland Gmbh Comparator having hysteresis
JP2004228625A (en) * 2003-01-20 2004-08-12 New Japan Radio Co Ltd Hysteresis comparator
CN201345060Y (en) * 2009-01-13 2009-11-11 北京时代民芯科技有限公司 Negative feedback hysteresis comparator for controlling temperature
US7973569B1 (en) * 2010-03-17 2011-07-05 Microchip Technology Incorporated Offset calibration and precision hysteresis for a rail-rail comparator with large dynamic range
CN102811044A (en) * 2011-06-02 2012-12-05 上海腾怡半导体有限公司 Switch type hall sensor with temperature compensation and hysteresis comparator circuit
CN204517773U (en) * 2015-05-14 2015-07-29 上海中基国威电子有限公司 A kind of single ended input hysteresis comparator circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024023164A1 (en) * 2022-07-29 2024-02-01 Ams-Osram Ag Comparator with hysteresis and electronic device

Also Published As

Publication number Publication date
CN105763177A (en) 2016-07-13

Similar Documents

Publication Publication Date Title
JP7316327B2 (en) low dropout regulator
CN105763177B (en) A kind of hysteresis comparator
CN101615048B (en) Reference voltage generation circuit
CN103166627B (en) Low-voltage differential signal driver with common-mode feedback
CN104113211B (en) Low-power-dissipation hysteresis voltage detection circuit applied to energy acquisition system
US20030011418A1 (en) Level shifting circuit
CN104079177A (en) Circuit of voltage adjuster
CN102323844B (en) Conversion system with wide output range
WO2023005778A1 (en) Adaptive overshoot-voltage suppression circuit, reference circuit, chip and communication terminal
CN105247436B (en) Voltage regulator with feedforward and feedback control
CN103076832B (en) Self-bias current source
CN1713521A (en) Differential amplifier and method for controlling substrate bias of the differential amplifier
US20090267691A1 (en) Amplifier circuit
CN103117740A (en) Low-power-consumption level shift circuit
CN109992034A (en) A low dropout linear regulator
CN116719381A (en) Ultra-low dropout LDO circuit based on substrate modulation multiplexing and adaptive power transistor
CN118068899A (en) Stabilizer
CN112595886B (en) A Low-Power Adaptive Zero-Crossing Detection Circuit
TWI416875B (en) Wide range level shift system
CN102820861B (en) Enhanced slew rate system for power saving op amp output stage
JP5450226B2 (en) Duty ratio automatic adjustment comparator circuit
CN111404541A (en) Low-complexity near-threshold exclusive OR unit
CN217307656U (en) Power-on reset circuit suitable for single-chip microcomputer system and single-chip microcomputer system
CN204697030U (en) Driving stage power selection circuit
CN222169777U (en) Novel integrator amplitude limiting circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant