Hysteresis comparator, hysteresis comparison method and electronic equipment
By using a simplified hysteresis comparison module and a buck module in the hysteresis comparator, and comparing based on the threshold voltage of the transistor, the problems of complex structure and high power consumption of the existing hysteresis comparator are solved, and stability and low power consumption are achieved. Take into consideration.
Patent Information
- Application Number
- CN202211429132.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-15
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-11-15
AI Technical Summary
The existing hysteresis comparator has a complex structure, high power consumption, and poor stability. It is difficult to simplify the circuit structure and reduce power consumption while taking into account stability and temperature drift.
A hysteresis comparator is designed, which uses a hysteresis comparison module including a first NMOS tube, a second NMOS tube, a first PMOS tube, a first current source, a second current source and a third current source, and uses a buck module to The input voltage is stepped down and compared based on the threshold voltage of the transistor, which simplifies the circuit structure and enables low-power design.
It achieves the simplification of the circuit structure and the reduction of power consumption, while taking into account the stability and temperature drift, and provides an efficient hysteresis comparison solution.
Smart Images

Figure CN118100879B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of integrated circuit design, and in particular to a hysteresis comparator, a hysteresis comparison method and electronic equipment. Background Art
[0002] The hysteresis comparator is a comparator with a hysteresis loop transmission characteristic. Compared with a single threshold comparator with only one fixed reference voltage, the hysteresis comparator has two comparison references that change with the output state, and its stability is greatly improved. Therefore, it is widely used in circuits with high stability requirements.
[0003] Existing hysteresis comparators mostly use reference voltage generation circuits to provide references, which leads to complex circuit structures, high power consumption, large temperature drift, and other problems. How to simplify the circuit structure and reduce power consumption while taking into account stability and temperature drift has become one of the problems that technicians in this field need to solve urgently.
[0004] It should be noted that the above introduction to the technical background is only for the convenience of providing a clear and complete description of the technical solutions of the present application and facilitating the understanding of those skilled in the art. It cannot be considered that the above technical solutions are well known to those skilled in the art simply because they are described in the background technology section of the present application. Summary of the invention
[0005] In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide a hysteresis comparator, a hysteresis comparison method and an electronic device, which are used to solve the problems of complex structure, high power consumption and poor stability of the hysteresis comparator in the prior art.
[0006] To achieve the above-mentioned object and other related objects, the present invention provides a hysteresis comparator, which at least includes: a hysteresis comparison module;
[0007] The hysteresis comparison module includes a first NMOS transistor, a second NMOS transistor, a first PMOS transistor, a first current source, a second current source and a third current source;
[0008] The source of the first NMOS tube is grounded, the gate receives an input voltage, and the drain is connected to a power supply voltage via the first current source;
[0009] The drain of the first PMOS tube is connected to the drain of the first NMOS tube, the gate receives the hysteresis control signal, and the source is connected to the power supply voltage via the second current source; wherein the hysteresis control signal is in phase with the output signal of the hysteresis comparison module;
[0010] The source of the second NMOS tube is grounded, the gate is connected to the drains of the first NMOS tube and the first PMOS tube, and the drain is connected to the power supply voltage via the third current source; the drain of the second NMOS tube serves as the output end of the hysteresis comparison module.
[0011] Optionally, the hysteresis comparator also includes a step-down module; the step-down module is connected between the input voltage and the input end of the hysteresis comparison module, and is used to step down the output signal and provide the stepped-down input voltage to the hysteresis comparison module; at this time, the input voltage is greater than the power supply voltage.
[0012] More optionally, the voltage reduction module includes a resistor, a diode, a third NMOS transistor, a fourth NMOS transistor and a fourth current source;
[0013] One end of the resistor is connected to the input voltage, and the other end is connected to the anode of the diode; the cathode of the diode is connected to the drain and gate of the third NMOS tube; the source of the third NMOS tube is connected to the drain of the fourth NMOS tube; the gate of the fourth NMOS tube is connected to the power supply voltage, and the source is grounded via the fourth current source; the source of the fourth NMOS tube serves as the output end of the buck module;
[0014] Among them, the diode is a high-voltage diode, and the third NMOS tube and the fourth NMOS tube are high-voltage transistors.
[0015] Optionally, the hysteresis comparator further includes a Schmitt trigger module; an input end of the Schmitt trigger module is connected to an output end of the hysteresis comparison module.
[0016] More optionally, the Schmitt trigger module includes a second PMOS tube, a third PMOS tube, a fourth PMOS tube, a fifth NMOS tube, a sixth NMOS tube and a seventh NMOS tube;
[0017] The source of the second PMOS tube is connected to the power supply voltage, and the drain is connected to the source of the third PMOS tube; the drain of the third PMOS tube is connected to the drain of the fifth NMOS tube and serves as the output end of the Schmitt trigger module; the source of the fifth NMOS tube is connected to the drain of the sixth NMOS tube; the source of the sixth NMOS tube is grounded; the gates of the second PMOS tube, the third PMOS tube, the fifth NMOS tube and the sixth NMOS tube are connected to the output end of the hysteresis comparison module;
[0018] The source of the fourth PMOS tube is connected to the drain of the second PMOS tube and the source of the third PMOS tube, the gate is connected to the drain of the third PMOS tube and the fifth NMOS tube, and the drain is grounded;
[0019] The source of the seventh NMOS tube is connected to the source of the fifth NMOS tube and the drain of the sixth NMOS tube, the gate is connected to the drain of the third PMOS tube and the fifth NMOS tube, and the drain is connected to the power supply voltage.
[0020] More optionally, the hysteresis comparator further comprises an output module, wherein the output module is connected to the output end of the Schmitt trigger module and outputs the output signal of the hysteresis comparator and the hysteresis control signal.
[0021] More optionally, the output module includes a first inverter and a second inverter; the input end of the first inverter is connected to the output end of the Schmitt trigger module, and outputs the hysteresis control signal; the input end of the second inverter is connected to the output end of the first inverter, and outputs the output signal of the hysteresis comparator.
[0022] To achieve the above object and other related objects, the present invention provides a hysteresis comparison method, which is implemented based on the above hysteresis comparator. The hysteresis comparison method at least includes:
[0023] When the input voltage rises to a first preset voltage, the second NMOS tube is turned off, and the hysteresis comparison module outputs a high level; when the input voltage drops to a second preset voltage, the second NMOS tube is turned on, and the hysteresis comparison module outputs a low level;
[0024] In which, during the process of the input voltage rising to the first preset voltage, the first current source and the second current source jointly act on the gate of the second NMOS tube; during the process of the input voltage continuing to rise from the first preset voltage to reach a peak value and then dropping to the second preset voltage, the first current source acts on the gate of the second NMOS tube; during the process of the input voltage dropping from the first preset voltage, the first current source and the second current source jointly act on the gate of the second NMOS tube; the first preset voltage is greater than the second preset voltage.
[0025] Optionally, when the input voltage is a high voltage signal, the method further includes a step of stepping down the input voltage and transmitting the step to the gate of the first NMOS tube.
[0026] Optionally, the hysteresis comparison method further includes a step of further hysteresis processing the output signal of the hysteresis comparison module by Schmitt triggering.
[0027] To achieve the above object and other related objects, the present invention provides an electronic device, which at least includes: the above hysteresis comparator.
[0028] As described above, the hysteresis comparator, hysteresis comparison method and electronic device of the present invention have the following beneficial effects:
[0029] The hysteresis comparator, hysteresis comparison method and electronic device of the present invention are based on the threshold voltage of the transistor as a reference for comparison, do not require a reference circuit, and have a simple circuit structure; the input voltage is stepped down by a step-down circuit and then the hysteresis comparison is performed, thereby achieving a low power consumption design while taking into account stability and temperature drift. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 Shown is a structural schematic diagram of the hysteresis comparator of the present invention.
[0031] Figure 2 Another structural schematic diagram of the hysteresis comparator of the present invention is shown.
[0032] Figure 3 It is a schematic diagram showing the working principle of the hysteresis comparison module of the present invention.
[0033] Component number description
[0034] 1 Hysteresis comparator
[0035] 11 Hysteresis Comparator Module
[0036] 12 Buck Module
[0037] 13 Schmitt trigger module
[0038] 14 Output Module DETAILED DESCRIPTION
[0039] The following describes the embodiments of the present invention through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention.
[0040] See also Figure 1 to Figure 3 It should be noted that the illustrations provided in this embodiment are only used to illustrate the basic concept of the present invention in a schematic manner, and the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0041] like Figure 1 and Figure 2 As shown, the present invention provides a hysteresis comparator 1, and the hysteresis comparator 1 includes: a hysteresis comparison module 11.
[0042] like Figure 1 and Figure 2 As shown, the hysteresis comparison module 11 performs hysteresis comparison on the input voltage Vin.
[0043] Specifically, Figure 1 As shown, the hysteresis comparison module 11 includes a first NMOS transistor NM1, a second NMOS transistor NM2, a first PMOS transistor PM1, a first current source I1, a second current source I2 and a third current source I3. The source of the first NMOS transistor NM1 is grounded, the gate receives the input voltage Vin, and the drain is connected to the power supply voltage VDD via the first current source I1. The drain of the first PMOS transistor MP1 is connected to the drain of the first NMOS transistor NM1 (i.e., the connection node between the first NMOS transistor NM1 and the first current source I1), the gate receives the hysteresis control signal FED, and the source is connected to the power supply voltage VDD via the second current source I2; wherein the hysteresis control signal FED is in phase with the output signal of the hysteresis comparison module 11; the source of the second NMOS transistor NM2 is grounded, the gate is connected to the drains of the first NMOS transistor NM1 and the first PMOS transistor PM1, and the drain is connected to the power supply voltage VDD via the third current source I3; the drain of the second NMOS transistor NM2 serves as the output end of the hysteresis comparison module 11. At this time, the amplitude of the input voltage Vin is less than the power supply voltage VDD. As an example, the power supply voltage VDD is 5V; in actual use, the power supply voltage VDD can be set as needed, preferably a low voltage to reduce power consumption.
[0044] exist Figure 1 In the implementation of, the input voltage Vin is directly connected to the gate of the first NMOS transistor NM1. As another implementation of the present invention, Figure 2 As shown, the hysteresis comparator 1 also includes a step-down module 12. The step-down module 12 is connected between the input voltage Vin and the input end of the hysteresis comparison module 11, and is used to step down the output signal Vin, and provide the stepped-down input voltage Vin to the hysteresis comparison module 11. At this time, the amplitude of the input voltage Vin is greater than the power supply voltage VDD. As an example, the power supply voltage VDD is set to 5V, and the amplitude of the input voltage Vin is 40V; in actual use, the power supply voltage VDD can be set as needed, preferably a low voltage to reduce power consumption, and the amplitude of the input voltage Vin is set as needed. The step-down module 12 steps down the input voltage Vin so that the hysteresis comparison module 11 can process the input voltage Vin to meet the low power consumption requirement.
[0045] Specifically, Figure 2As shown, in this embodiment, the step-down module 12 includes a resistor R, a diode D, a third NMOS tube NM3, a fourth NMOS tube NM4 and a fourth current source I4. One end of the resistor R is connected to the input voltage Vin, and the other end is connected to the anode of the diode D; the cathode of the diode D is connected to the drain and gate of the third NMOS tube NM3; the source of the third NMOS tube NM3 is connected to the drain of the fourth NMOS tube NM4; the gate of the fourth NMOS tube NM4 is connected to the power supply voltage VDD, and the source is grounded via the fourth current source I4; the source of the fourth NMOS tube NM4 serves as the output end of the step-down module 12; wherein, the diode D is a high-voltage diode, and the third NMOS tube NM3 and the fourth NMOS tube NM4 are high-voltage transistors.
[0046] It should be noted that the high voltage of the high voltage diode and the high voltage transistor described in the present invention is relative to the devices in the hysteresis comparison module 11. In addition, any circuit structure that can achieve voltage reduction is applicable to the voltage reduction module 12 of the present invention, not limited to the structure listed in this embodiment; the voltage reduction module structure of this embodiment can avoid the use of a large number of resistors, thereby reducing the area occupied by the voltage reduction module. The first current source I1, the second current source I2, the third current source I3 and the fourth current source I4 can be implemented in a manner including but not limited to a current mirror, which will not be described one by one here.
[0047] like Figure 1 and Figure 2 As shown, as another implementation of the present invention, the hysteresis comparator 1 further includes a Schmitt trigger module 13 , and an input end of the Schmitt trigger module 13 is connected to an output end of the hysteresis comparison module 11 .
[0048] Specifically, in this embodiment, the Schmitt trigger module 13 includes a second PMOS transistor PM2, a third PMOS transistor PM3, a fourth PMOS transistor PM4, a fifth NMOS transistor NM5, a sixth NMOS transistor NM6 and a seventh NMOS transistor NM7. The source of the second PMOS transistor PM2 is connected to the power supply voltage VDD, and the drain is connected to the source of the third PMOS transistor PM3; the drain of the third PMOS transistor PM3 is connected to the drain of the fifth NMOS transistor NM5 and serves as the output end of the Schmitt trigger module 13; the source of the fifth NMOS transistor NM5 is connected to the drain of the sixth NMOS transistor NM6; the source of the sixth NMOS transistor NM6 is grounded; the gates of the second PMOS transistor PM2, the third PMOS transistor PM3, the fifth NMOS transistor NM5 and the sixth NMOS transistor NM6 are connected to the output end of the hysteresis comparison module 11. The source of the fourth PMOS transistor PM4 is connected to the drain of the second PMOS transistor PM2 and the source of the third PMOS transistor PM3, the gate is connected to the drain of the third PMOS transistor PM3 and the fifth NMOS transistor PM5, and the drain is grounded. The source of the seventh NMOS transistor NM7 is connected to the source of the fifth NMOS transistor NM5 and the drain of the sixth NMOS transistor NM6, the gate is connected to the drain of the third PMOS transistor PM3 and the fifth NMOS transistor NM5, and the drain is connected to the power supply voltage VDD. In actual use, any Schmitt trigger structure is applicable to the present invention, and is not limited to this embodiment.
[0049] It should be noted that the Schmitt trigger module 13 also has a hysteresis characteristic, which can further improve the anti-interference capability.
[0050] like Figure 1 and Figure 2 As shown, as another implementation of the present invention, the hysteresis comparator 1 further includes an output module 14, which is connected to the output end of the Schmitt trigger module 13 and outputs the output signal OUT of the hysteresis comparator 1 and the hysteresis control signal FED.
[0051] Specifically, in this embodiment, the output module 14 includes a first inverter not1 and a second inverter not2. The input end of the first inverter not1 is connected to the output end of the Schmitt trigger module 13, and outputs the hysteresis control signal FED; the input end of the second inverter not2 is connected to the output end of the first inverter not1, and outputs the output signal OUT of the hysteresis comparator 1. In actual use, the number of inverters in the output module 14 can be set as needed, and the polarity relationship between the output signal and the input signal can also be adjusted by setting the number of inverters. This is not limited to this embodiment. Any circuit structure that can transmit the output signal of the Schmitt trigger module 13 is applicable to the output module 14, and will not be repeated here.
[0052] It should be noted that any signal in phase with the output signal of the hysteresis comparison module 11 can be used as the hysteresis control signal FED, which will not be described in detail here. In this embodiment, using the signal in the output module as the hysteresis control signal FED can improve the stability of the hysteresis control signal FED.
[0053] like Figure 1 to Figure 3 As shown, the working principle of the hysteresis comparator of the present invention is as follows:
[0054] When the input voltage Vin rises to the first preset voltage VT1, the second NMOS tube NM2 is turned off, and the hysteresis comparison module 11 outputs a high level H; when the input voltage Vin drops to the second preset voltage VT2, the second NMOS tube NM2 is turned on, and the hysteresis comparison module 11 outputs a low level L.
[0055] In which, during the process of the input voltage rising from Vin to the first preset voltage VT1, the first current source I1 and the second current source I2 jointly act on the gate of the second NMOS tube NM2; during the process of the input voltage Vin continuing to rise from the first preset voltage VT1 to reach a peak value and then falling to the second preset voltage VT2, the first current source I1 acts on the gate of the second NMOS tube NM2; during the process of the input voltage Vin falling from the second preset voltage VT2, the first current source I1 and the second current source I2 jointly act on the gate of the second NMOS tube NM2; the first preset voltage VT1 is greater than the second preset voltage VT2.
[0056] The specific steps include:
[0057] In the initial stage, the input voltage Vin is less than the threshold voltage of the first NMOS tube NM1, the gate voltage of the second NMOS tube NM2 is high, the second NMOS tube NM2 is turned on, and the output (Vd_NM2) of the hysteresis comparison module 11 is pulled down to a low level L; at this time, the hysteresis control signal FED is at a low level, the first PMOS tube PM1 is turned on, and the first current source I1 and the second current source I2 jointly pull up the gate voltage of the second NMOS tube NM2.
[0058] As the input voltage Vin increases, when the input voltage Vin is greater than or equal to the threshold voltage of the first NMOS transistor NM1, the first NMOS transistor NM1 is turned on, and current flows through the first NMOS transistor NM1. As the input voltage Vin increases, the current flowing through the first NMOS transistor NM1 increases until the first NMOS transistor NM1 is completely turned on, and the gate voltage of the second NMOS transistor NM2 is gradually lowered. When the voltage value of the input voltage Vin is greater than or equal to the first preset voltage VT1, the gate voltage of the second NMOS transistor NM2 is less than the threshold voltage of the second NMOS transistor NM2, the second NMOS transistor NM2 is turned off, and the output end of the hysteresis comparison module 11 is pulled up to a high level H by the third current source I3. At this time, the hysteresis control signal FED is at a high level, the first PMOS transistor PM1 is turned off, and only the first current source I1 pulls up the gate voltage of the second NMOS transistor NM2.
[0059] The input voltage Vin continues to increase, and starts to decrease after reaching a peak value. As the input voltage Vin decreases, the current flowing through the first NMOS tube NM1 decreases, and the gate voltage of the second NMOS tube NM2 gradually increases. When the input voltage Vin is less than or equal to the second preset voltage VT2, the gate voltage of the second NMOS tube NM2 is greater than or equal to the threshold voltage of the second NMOS tube NM2, the second NMOS tube NM2 is turned on, and the output end of the hysteresis comparison module 11 is pulled down to a low level L by the third current source I3.
[0060] The above steps are repeated in the next cycle of the input voltage Vin.
[0061] As another implementation of the present invention, when the input voltage Vin is a high voltage signal (with an amplitude greater than the power supply voltage VDD), the step of stepping down the input voltage Vin and transmitting it to the gate of the first NMOS transistor NM1 is also included. Figure 1As shown, the input voltage Vin is stepped down by the resistor R and the conduction voltage of the diode D, and the fourth NMOS transistor NM4 has a clamping effect, so that the gate voltage of the first NMOS transistor NM1 is not greater than the power supply voltage VDD, thereby protecting the devices in the subsequent circuit from being damaged by high voltage.
[0062] As another implementation of the present invention, the step of further hysteresis processing the output signal of the hysteresis comparison module 11 by Schmitt trigger 13 is also included. Figure 1 and Figure 2 As shown, the Schmitt trigger is a special gate circuit with two threshold voltages. The input voltage that changes the output state when the input signal of the Schmitt trigger 13 rises from a low level to a high level is called a positive threshold voltage, and the input voltage that changes the output state when the input signal of the Schmitt trigger 13 drops from a high level to a low level is called a negative threshold voltage. There is a hysteresis voltage between the positive threshold voltage and the negative threshold voltage, so it has a hysteresis characteristic, which can prevent the output voltage from changing due to a slight change in the input voltage of the Schmitt trigger 13, thereby further improving the anti-interference ability.
[0063] The present invention further provides an electronic device, which at least comprises the hysteresis comparator 1 of the present invention, thereby obtaining a stable signal with low temperature drift.
[0064] In summary, the present invention provides a hysteresis comparator, a hysteresis comparison method and an electronic device, comprising: a hysteresis comparison module; the hysteresis comparison module comprises a first NMOS tube, a second NMOS tube, a first PMOS tube, a first current source, a second current source and a third current source; the source of the first NMOS tube is grounded, the gate receives an input voltage, and the drain is connected to the power supply voltage via the first current source; the drain of the first PMOS tube is connected to the drain of the first NMOS tube, the gate receives a hysteresis control signal, and the source is connected to the power supply voltage via the second current source; wherein the hysteresis control signal is in phase with the output signal of the hysteresis comparison module; the source of the second NMOS tube is grounded, the gate is connected to the drain of the first NMOS tube and the first PMOS tube, and the drain is connected to the power supply voltage via the third current source; the drain of the second NMOS tube serves as the output end of the hysteresis comparison module. The hysteresis comparator, the hysteresis comparison method and the electronic device of the present invention compare based on the threshold voltage of the transistor as a reference, do not need a reference circuit, and have a simple circuit structure; the input voltage is stepped down by a step-down circuit and then hysteresis comparison is performed, so as to achieve a low power consumption design while taking into account stability and temperature drift. Therefore, the present invention effectively overcomes various shortcomings in the prior art and has high industrial utilization value.
[0065] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A hysteresis comparator, characterized in that: The hysteresis comparator at least includes: a hysteresis comparison module and a voltage reduction module; The hysteresis comparison module includes a first NMOS tube, a second NMOS tube, a first PMOS tube, a first current source, a second current source and a third current source; wherein the source of the first NMOS tube is grounded, the gate receives an input voltage, and the drain is connected to a power supply voltage via the first current source; the drain of the first PMOS tube is connected to the drain of the first NMOS tube, the gate receives a hysteresis control signal, and the source is connected to the power supply voltage via the second current source; wherein the hysteresis control signal is in phase with the output signal of the hysteresis comparison module; the source of the second NMOS tube is grounded, the gate is connected to the drains of the first NMOS tube and the first PMOS tube, and the drain is connected to the power supply voltage via the third current source; the drain of the second NMOS tube serves as the output end of the hysteresis comparison module; The step-down module is connected between the input voltage and the input end of the hysteresis comparison module, and is used to step down the output signal and provide the stepped-down input voltage to the hysteresis comparison module; at this time, the input voltage is greater than the power supply voltage; the step-down module includes a resistor, a diode, a third NMOS tube, a fourth NMOS tube and a fourth current source; wherein one end of the resistor is connected to the input voltage, and the other end is connected to the anode of the diode; the cathode of the diode is connected to the drain and gate of the third NMOS tube; the source of the third NMOS tube is connected to the drain of the fourth NMOS tube; the gate of the fourth NMOS tube is connected to the power supply voltage, and the source is grounded via the fourth current source; the source of the fourth NMOS tube serves as the output end of the step-down module; the diode is a high-voltage diode, and the third NMOS tube and the fourth NMOS tube are high-voltage transistors.
2. The hysteresis comparator according to claim 1, characterized in that: The hysteresis comparator further comprises a Schmitt trigger module; an input end of the Schmitt trigger module is connected to an output end of the hysteresis comparison module.
3. The hysteresis comparator according to claim 2, characterized in that: The Schmitt trigger module includes a second PMOS tube, a third PMOS tube, a fourth PMOS tube, a fifth NMOS tube, a sixth NMOS tube and a seventh NMOS tube; The source of the second PMOS tube is connected to the power supply voltage, and the drain is connected to the source of the third PMOS tube; the drain of the third PMOS tube is connected to the drain of the fifth NMOS tube and serves as the output end of the Schmitt trigger module; the source of the fifth NMOS tube is connected to the drain of the sixth NMOS tube; the source of the sixth NMOS tube is grounded; the gates of the second PMOS tube, the third PMOS tube, the fifth NMOS tube and the sixth NMOS tube are connected to the output end of the hysteresis comparison module; The source of the fourth PMOS tube is connected to the drain of the second PMOS tube and the source of the third PMOS tube, the gate is connected to the drain of the third PMOS tube and the fifth NMOS tube, and the drain is grounded; The source of the seventh NMOS tube is connected to the source of the fifth NMOS tube and the drain of the sixth NMOS tube, the gate is connected to the drain of the third PMOS tube and the fifth NMOS tube, and the drain is connected to the power supply voltage.
4. The hysteresis comparator according to claim 2 or 3, characterized in that: The hysteresis comparator further comprises an output module, which is connected to the output end of the Schmitt trigger module and outputs the output signal of the hysteresis comparator and the hysteresis control signal.
5. The hysteresis comparator according to claim 4, characterized in that: The output module includes a first inverter and a second inverter; the input end of the first inverter is connected to the output end of the Schmitt trigger module, and outputs the hysteresis control signal; the input end of the second inverter is connected to the output end of the first inverter, and outputs the output signal of the hysteresis comparator.
6. A hysteresis comparison method, implemented based on the hysteresis comparator according to any one of claims 1 to 5, characterized in that: The hysteresis comparison method at least comprises: When the input voltage rises to a first preset voltage, the second NMOS tube is turned off, and the hysteresis comparison module outputs a high level; when the input voltage drops to a second preset voltage, the second NMOS tube is turned on, and the hysteresis comparison module outputs a low level; In which, during the process of the input voltage rising to the first preset voltage, the first current source and the second current source jointly act on the gate of the second NMOS tube; during the process of the input voltage continuing to rise from the first preset voltage to reach a peak value and then dropping to the second preset voltage, the first current source acts on the gate of the second NMOS tube; during the process of the input voltage dropping from the second preset voltage, the first current source and the second current source jointly act on the gate of the second NMOS tube; the first preset voltage is greater than the second preset voltage.
7. The hysteresis comparison method according to claim 6, characterized in that: When the input voltage is a high voltage signal, the method further includes a step of stepping down the input voltage and transmitting the resultant voltage to the gate of the first NMOS tube.
8. The hysteresis comparison method according to claim 6, characterized in that: The hysteresis comparison method further includes the step of further hysteresis processing the output signal of the hysteresis comparison module by Schmitt triggering.
9. An electronic device, characterized in that: The electronic device comprises at least: a hysteresis comparator as described in any one of claims 1-5.
Citation Information
Patent Citations
Low-power-consumption hysteresis inverting trigger
CN112087219A
The sluggish comparison circuit of single-ended input
CN204517773U
Comparator
JP2006121492A
Charge pump circuit
JP2017073872A
Light emitting diode (LED) arrangement with bypass driving
US20100194274A1
