CN116436447A - Voltage comparator and electronic equipment - Google Patents
Voltage comparator and electronic equipment Download PDFInfo
- Publication number
- CN116436447A CN116436447A CN202310483444.4A CN202310483444A CN116436447A CN 116436447 A CN116436447 A CN 116436447A CN 202310483444 A CN202310483444 A CN 202310483444A CN 116436447 A CN116436447 A CN 116436447A
- Authority
- CN
- China
- Prior art keywords
- type transistor
- power supply
- supply voltage
- electrically connected
- voltage
- 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.)
- Pending
Links
- 238000007493 shaping process Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 12
- 101150110971 CIN7 gene Proteins 0.000 description 6
- 101150110298 INV1 gene Proteins 0.000 description 6
- 101100397044 Xenopus laevis invs-a gene Proteins 0.000 description 6
- 101100286980 Daucus carota INV2 gene Proteins 0.000 description 5
- 101100397045 Xenopus laevis invs-b gene Proteins 0.000 description 5
- 230000001276 controlling effect Effects 0.000 description 5
- 101100508840 Daucus carota INV3 gene Proteins 0.000 description 3
- 101100102849 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) VTH1 gene Proteins 0.000 description 3
- 230000001105 regulatory effect Effects 0.000 description 3
- 101150088150 VTH2 gene Proteins 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K5/00—Manipulating of pulses not covered by one of the other main groups of this subclass
- H03K5/22—Circuits 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/24—Circuits 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/2472—Circuits 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/2481—Circuits 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)
- Measurement Of Current Or Voltage (AREA)
Abstract
The invention provides a voltage comparator and electronic equipment, wherein an initialization circuit can work when a first power supply voltage is smaller than an opening threshold voltage, and stops working when the first power supply voltage is not smaller than the opening threshold voltage; therefore, when the first power supply voltage is lower than the starting threshold voltage, the initialization circuit can control the comparison circuit to output the effective level signal, so that the voltage comparator can normally output the effective level signal when the first power supply voltage is lower, and the performance of the voltage comparator is improved.
Description
Technical Field
The present invention relates to the field of voltage comparison technologies, and in particular, to a voltage comparator and an electronic device.
Background
With the wide use of consumer electronics such as mobile phones, smart watches, tablets and other wearable devices, the performance of the products is continuously improved, and the development of power management chips to low power consumption, high efficiency and high performance is promoted. In the power management BOOST and BUCK-BOOST topologies, it is often necessary to determine the magnitude and the difference between the power supply voltage VIN and the power supply voltage VOUT: firstly, selecting one of power supplies as the power supply voltage of other sub-modules according to the size and the difference value; second, different operation modes are selected according to the magnitude and the difference, for example, when VIN is greater than VOUT, the system is in a buck mode, and when VIN is less than VOUT, the system is in a boost mode, so that the comparison circuit of the supply voltage VIN and the supply voltage VOUT is also important.
Disclosure of Invention
In view of this, the present invention provides a voltage comparator and an electronic device, which effectively solve the existing technical problems, and can control the comparison circuit to output an effective level signal through the initialization circuit when the first power voltage is lower than the on threshold voltage, thereby improving the performance of the voltage comparator.
In order to achieve the above purpose, the technical scheme provided by the invention is as follows:
a voltage comparator, comprising: an initialization circuit and a comparison circuit;
the initialization circuit is connected to a first power supply voltage, and is used for controlling the comparison circuit to output an effective level signal when the first power supply voltage is smaller than an opening threshold voltage; and stopping operation when the first power supply voltage is greater than or equal to the turn-on threshold voltage;
the comparison circuit is connected to the first power supply voltage and the second power supply voltage, and is used for comparing the first power supply voltage with the second power supply voltage and outputting a comparison level signal when the first power supply voltage is greater than or equal to the starting threshold voltage.
Optionally, the initialization circuit includes: the power supply access module, the first loop switch module, the first loop control module and the output control module;
the power supply access module is connected to the first power supply voltage, and is used for forming a current loop with the conducted first loop switch module to generate an on current when the first power supply voltage is smaller than an on threshold voltage;
the output control module is used for accessing the starting current to generate an initial control current, wherein the comparison circuit outputs an effective level signal according to the initial control current;
the first loop control module is used for controlling the first loop switch module to be turned off when the first power supply voltage is larger than or equal to the starting threshold voltage so as to disconnect a current loop formed by the first loop switch module and the power supply access module.
Optionally, the power access module includes a first P-type transistor, the first loop switch module includes a first N-type drain and loop resistor, the first loop control module includes a first bias current source, and the output control module includes a second P-type transistor and a second N-type transistor;
the first end of the first P-type transistor and the first end of the second P-type transistor are connected to the first power supply voltage, and the grid electrode of the first P-type transistor, the second end of the first P-type transistor and the grid electrode of the second P-type transistor are electrically connected with the drain electrode of the first N-type depletion transistor;
the grid electrode of the first N-type drain is electrically connected with the grounding end, the source electrode of the first N-type drain is electrically connected with the output end of the first bias current source and the first end of the loop resistor, and the second end of the loop resistor is electrically connected with the grounding end;
the second end of the second P-type transistor is electrically connected with the first end of the second N-type transistor and the grid electrode of the second N-type transistor, and the second end of the second N-type transistor is electrically connected with the grounding end, wherein the first end of the second N-type transistor outputs the initial control current.
Optionally, the comparing the level signal includes a first level signal and a second level signal, the levels of the first level signal and the second level signal being opposite, wherein the comparing the first power supply voltage and the second power supply voltage by the comparing circuit includes:
the comparison circuit compares the first power supply voltage and the second power supply voltage, outputs the first level signal when judging that the first power supply voltage rises to be larger than the second power supply voltage minus a first threshold voltage, and outputs the second level signal when judging that the first power supply voltage drops to be smaller than the second power supply voltage minus a second threshold voltage, wherein the first threshold voltage and the second threshold voltage are not equal.
Optionally, the comparing circuit includes: the first resistor, the second resistor, the third P-type transistor, the fourth P-type transistor, the second loop switch module, the second loop control module, the initial control output module and the hysteresis limiting module;
the first end of the first resistor is connected to the second power supply voltage, the second end of the first resistor is electrically connected with the first end of the third P-type transistor, and the second end of the third P-type transistor is electrically connected with the grid electrode of the third P-type transistor and the grid electrode of the fourth P-type transistor;
the first end of the second resistor is connected to the first power supply voltage, the second end of the second resistor is electrically connected with the first end of the fourth P-type transistor, and the second end of the fourth P-type transistor is the output end of the comparison circuit;
the second loop switch module is electrically connected with the second end of the third P-type transistor, the second end of the fourth P-type transistor and the hysteresis limiting module, and the second loop control module is used for controlling the second loop switch module to be conducted when the first power supply voltage is greater than or equal to the starting threshold voltage so as to respectively form a current loop with the third P-type transistor, the fourth P-type transistor and the hysteresis limiting module;
the initial control output module is electrically connected with the initialization circuit, the second end of the third P-type transistor and the second end of the fourth P-type transistor, and is used for responding to the control of the initialization circuit to control the output end of the comparison circuit to output an effective level signal when the first power supply voltage is smaller than the starting threshold voltage;
the hysteresis defining module is configured to define a hysteresis amount of the first threshold voltage and the second threshold voltage.
Optionally, the second loop control module includes a second bias current source and a third N-type transistor, the second loop switch module includes a fourth N-type transistor, a fifth N-type transistor and a sixth N-type transistor, the initial control output module includes a seventh N-type transistor and an eighth N-type transistor, and the hysteresis defining module includes a first inverter and a ninth N-type transistor;
the output end of the second bias current source is electrically connected with the first end of the third N-type transistor, the grid electrode of the fourth N-type transistor, the grid electrode of the fifth N-type transistor and the grid electrode of the sixth N-type transistor;
the second end of the third N-type transistor, the second end of the fourth N-type transistor, the second end of the fifth N-type transistor, the second end of the sixth N-type transistor, the second end of the seventh N-type transistor and the second end of the eighth N-type transistor are all electrically connected with a grounding end;
the first end of the fourth N-type transistor is electrically connected with the second end of the third P-type transistor, the first end of the fifth N-type transistor is electrically connected with the second end of the fourth P-type transistor, and the first end of the sixth N-type transistor is electrically connected with the second end of the ninth N-type transistor;
the first end of the seventh N-type transistor is electrically connected with the second end of the third P-type transistor, the first end of the eighth N-type transistor is electrically connected with the second end of the fourth P-type transistor, the grid electrode of the seventh N-type transistor and the grid electrode of the eighth N-type transistor are electrically connected with the initialization circuit, the first end of the ninth N-type transistor is electrically connected with the second end of the second resistor, the grid electrode of the ninth N-type transistor is electrically connected with the output end of the first inverter, and the input end of the first inverter is electrically connected with the second end of the fourth P-type transistor.
Optionally, the voltage comparator further includes an output logic circuit, where the output logic circuit is configured to shape an output level signal of the comparison circuit and output the shaped output level signal.
Optionally, the output logic circuit includes a second inverter and a third inverter, an input end of the second inverter is electrically connected to the second end of the fourth P-type transistor, and an output end of the second inverter is electrically connected to an input end of the third inverter.
Optionally, the second inverter multiplexes the first inverter.
Correspondingly, the invention further provides electronic equipment, which comprises the voltage comparator.
Compared with the prior art, the technical scheme provided by the invention has at least the following advantages:
the invention provides a voltage comparator and an electronic device, wherein the voltage comparator comprises: an initialization circuit and a comparison circuit; the initialization circuit is connected to a first power supply voltage, and is used for controlling the comparison circuit to output an effective level signal when the first power supply voltage is smaller than an opening threshold voltage; and stopping operation when the first power supply voltage is greater than or equal to the turn-on threshold voltage; the comparison circuit is connected to the first power supply voltage and the second power supply voltage, and is used for comparing the first power supply voltage with the second power supply voltage and outputting a comparison level signal when the first power supply voltage is greater than or equal to the starting threshold voltage.
As can be seen from the above description, according to the technical solution provided by the present invention, the initialization circuit can operate when the first power voltage is smaller than the on threshold voltage, and stop operating when the first power voltage is not smaller than the on threshold voltage; therefore, when the first power supply voltage is lower than the starting threshold voltage, the initialization circuit can control the comparison circuit to output the effective level signal, so that the voltage comparator can normally output the effective level signal when the first power supply voltage is lower, and the performance of the voltage comparator is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a voltage comparator according to an embodiment of the present invention;
fig. 2 is a schematic diagram of another voltage comparator according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a voltage comparator according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a voltage comparator according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a voltage comparator according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a voltage comparator according to another embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
As described in the background art, in the power management BOOST and BUCK-BOOST topologies, it is often necessary to determine the magnitude and the difference between the power supply voltage VIN and the power supply voltage VOUT: firstly, selecting one of power supplies as the power supply voltage of other sub-modules according to the size and the difference value; second, different operation modes are selected according to the magnitude and the difference, for example, when VIN is greater than VOUT, the system is in a buck mode, and when VIN is less than VOUT, the system is in a boost mode, so that the comparison circuit of the supply voltage VIN and the supply voltage VOUT is also important. In the initial stage of power-on of the power management chip, the power supply voltage is in a boosting state, and when the power supply voltage is lower, the existing comparison circuit cannot output an effective comparison signal; the comparison circuit may not perform the comparison operation until the power supply voltage can rise to the built-in bias current.
Based on the above, the embodiment of the invention provides a voltage comparator and electronic equipment, which effectively solve the existing technical problems, and can control a comparison circuit to output an effective level signal through an initialization circuit when the first power supply voltage is lower than the starting threshold voltage, so that the performance of the voltage comparator is improved.
In order to achieve the above objective, the technical solution provided by the embodiments of the present invention is described in detail below, with reference to fig. 6.
Referring to fig. 1, a schematic structure diagram of a voltage comparator according to an embodiment of the present invention is shown, where the voltage comparator includes: an initialization circuit 100 and a comparison circuit 200.
The initialization circuit 100 is connected to a first power voltage VIN, and the initialization circuit 100 is configured to control the comparison circuit 200 to output an active level signal when the first power voltage VIN is less than an on threshold voltage; and stopping working when the first power voltage VIN is greater than or equal to the starting threshold voltage.
And the comparison circuit 200 is connected to the first power voltage VIN and the second power voltage VOUT, and the comparison circuit 200 is configured to compare the first power voltage VIN and the second power voltage VOUT and output a comparison level signal when the first power voltage VIN is greater than or equal to the on threshold voltage.
It should be noted that, the specific value of the on threshold voltage is not specifically limited in the embodiment of the present invention. Optionally, the first power supply voltage supplies power to a bias current source in the comparison circuit, when the power management chip including the voltage comparator is initially powered on, the first power supply voltage is in a boosting state, and when the first power supply voltage is low, the bias current cannot be established; after the bias current is established until the first power supply voltage rises to the on threshold voltage, the comparison circuit can start voltage comparison, wherein the on threshold voltage is the critical voltage capable of enabling the bias current in the comparison circuit to be established.
It can be appreciated that according to the technical scheme provided by the embodiment of the invention, the initialization circuit can work when the first power supply voltage is smaller than the starting threshold voltage, and stops working when the first power supply voltage is not smaller than the starting threshold voltage; therefore, when the first power supply voltage is lower than the starting threshold voltage, the initialization circuit can control the comparison circuit to output the effective level signal, so that the voltage comparator can normally output the effective level signal when the first power supply voltage is lower, and the performance of the voltage comparator is improved.
In an embodiment of the present invention, the comparing level signal provided in the embodiment of the present invention includes a first level signal and a second level signal, where levels of the first level signal and the second level signal are opposite, and the comparing circuit compares the first power supply voltage and the second power supply voltage, and includes: the comparison circuit compares the first power supply voltage and the second power supply voltage, outputs the first level signal when judging that the first power supply voltage rises to be larger than the second power supply voltage minus a first threshold voltage, and outputs the second level signal when judging that the first power supply voltage drops to be smaller than the second power supply voltage minus a second threshold voltage, wherein the first threshold voltage and the second threshold voltage are not equal.
It can be understood that when the existing comparison circuit compares the first power supply voltage with the second power supply voltage, the comparison circuit can only output the comparison level signal when the first power supply voltage is equal to the second power supply voltage or the voltage difference is very small, and therefore the comparison circuit has the risk of error output caused by error comparison of the difference between the first power supply voltage and the second power supply voltage. When the first power supply voltage is boosted, the comparison circuit provided by the embodiment of the invention compares the first power supply voltage with the second power supply voltage minus the first threshold voltage; and when the first power supply voltage is reduced, the first power supply voltage is compared with the second power supply voltage minus the second threshold voltage, and the situation that the first power supply voltage and the second power supply voltage are compared with each other in error can be avoided through the arrangement of the first threshold voltage and the second threshold voltage, so that the output accuracy of the comparison circuit is ensured. And the comparison circuit can flexibly adjust the voltage values of the first threshold voltage and the second threshold voltage through the self-constitution structure, and can improve the application range of the voltage comparator in different systems.
The constitution of a voltage comparator according to an embodiment of the present invention will be described below with reference to the accompanying drawings. Referring to fig. 2, a schematic diagram of another voltage comparator according to an embodiment of the present invention is shown, where the initialization circuit 100 according to an embodiment of the present invention includes: a power access module 110, a first loop switch module 120, a first loop control module 130, and an output control module 140.
The power access module 110 is connected to the first power voltage VIN, and the power access module 110 is configured to form a current loop with the turned-on first loop switch module 120 to generate an on current when the first power voltage VIN is less than an on threshold voltage. The output control module 140 is configured to generate an initial control current by switching on the on current, wherein the comparison circuit 200 outputs an active level signal according to the initial control current. The first loop control module 130 is configured to control the first loop switch module 120 to be turned off when the first power voltage VIN is greater than or equal to the on threshold voltage, so as to disconnect a current loop formed by the first loop switch module 120 and the power access module 110.
Referring to fig. 3, a schematic diagram of a voltage comparator according to an embodiment of the present invention is shown, wherein the power access module 110 includes a first P-type transistor P1, the first loop switch module 120 includes a first N-type transistor N1 and a loop resistor Rh, the first loop control module 130 includes a first bias current source IB1, and the output control module 140 includes a second P-type transistor P2 and a second N-type transistor N2. The first bias current source IB1 is powered by the first power voltage VIN, and when the first power voltage VIN is smaller than the on threshold voltage, the first bias current source IB1 does not output; and when the first power voltage VIN is greater than or equal to the on threshold voltage, the first bias current source IB1 establishes a bias current. The first end of the first P-type transistor P1 and the first end of the second P-type transistor P2 are connected to the first power supply voltage VIN, and the gate of the first P-type transistor P1, the second end of the first P-type transistor P1 and the gate of the second P-type transistor P2 are electrically connected to the drain of the first N-type power drain N1. The first N-type depletion transistor N1 has a source electrically connected to the output terminal of the first bias current source IB1 and the first terminal of the loop resistor Rh, while the gate of the first N-type depletion transistor N1 is electrically connected to the ground terminal GND, and the second terminal of the loop resistor Rh is electrically connected to the ground terminal GND. The second end of the second P-type transistor P2 is electrically connected to the first end of the second N-type transistor N2 and the gate of the second N-type transistor N2, and the second end of the second N-type transistor N2 is electrically connected to the ground GND, where the first end of the second N-type transistor N2 outputs the initial control current.
Referring to fig. 4, a schematic diagram of a voltage comparator according to an embodiment of the present invention is shown, wherein the comparing circuit 200 according to an embodiment of the present invention includes: the first resistor R1, the second resistor R2, the third P-type transistor P3, the fourth P-type transistor P4, the second loop switch module 210, the second loop control module 220, the initial control output module 230, and the hysteresis definition module 240. The first end of the first resistor R1 is connected to the second power supply voltage VOUT, the second end of the first resistor R1 is electrically connected to the first end of the third P-type transistor P3, and the second end of the third P-type transistor P3 is electrically connected to the gate of the third P-type transistor P3 and the gate of the fourth P-type transistor P4. The first end of the second resistor R2 is connected to the first power voltage VIN, the second end of the second resistor R2 is electrically connected to the first end of the fourth P-type transistor P4, and the second end of the fourth P-type transistor P4 is the output end of the comparison circuit 200. The second loop switch module 210 is electrically connected to the second end of the third P-type transistor P3, the second end of the fourth P-type transistor P4, and the hysteresis defining module 240, and the second loop control module 210 is configured to control the second loop switch module 220 to be turned on when the first power voltage VIN is greater than or equal to the on threshold voltage, so as to respectively form a current loop with the third P-type transistor P3, the fourth P-type transistor P4, and the hysteresis defining module 240 and the second loop switch module 210. The initial control output module 230 is electrically connected to the initialization circuit 100, the second terminal of the third P-type transistor P3, and the second terminal of the fourth P-type transistor P4, and the initial control output module 230 is configured to control the output terminal of the comparison circuit 200 to output an active level signal in response to the control of the initialization circuit 100 when the first power voltage VIN is less than the on threshold voltage. The hysteresis defining module 240 is configured to define hysteresis amounts of the first threshold voltage and the second threshold voltage.
Referring to fig. 5, a schematic diagram of a voltage comparator according to an embodiment of the present invention is shown, wherein the second loop control module 220 includes a second bias current source IB2 and a third N-type transistor N3, the second loop switch module 210 includes a fourth N-type transistor N4, a fifth N-type transistor N5 and a sixth N-type transistor N6, the initial control output module 230 includes a seventh N-type transistor N7 and an eighth N-type transistor N8, and the hysteresis defining module 240 includes a first inverter INV1 and a ninth N-type transistor N9. The output end of the second bias current source IB2 is electrically connected to the first end of the third N-type transistor N3, the gate of the fourth N-type transistor N4, the gate of the fifth N-type transistor N5, and the gate of the sixth N-type transistor N6; the second bias current source IB2 is powered by the first power voltage VIN, and when the first power voltage VIN is smaller than the on threshold voltage, the second bias current source IB2 does not output; and when the first power voltage VIN is greater than or equal to the on threshold voltage, the second bias current source IB2 establishes a bias current. The second end of the third N-type transistor N3, the second end of the fourth N-type transistor N4, the second end of the fifth N-type transistor N5, the second end of the sixth N-type transistor N6, the second end of the seventh N-type transistor and the second end of the eighth N-type transistor N8 are all electrically connected to the ground GND. The first end of the fourth N-type transistor N4 is electrically connected to the second end of the third P-type transistor P3, the first end of the fifth N-type transistor N5 is electrically connected to the second end of the fourth P-type transistor P4, and the first end of the sixth N-type transistor N6 is electrically connected to the second end of the ninth N-type transistor N9. The first end of the seventh N-type transistor N7 is electrically connected to the second end of the third P-type transistor P3, the first end of the eighth N-type transistor N8 is electrically connected to the second end of the fourth P-type transistor P4, the gate of the seventh N-type transistor N7 and the gate of the eighth N-type transistor N8 are electrically connected to the initializing circuit 100 (specifically, the gate of the seventh N-type transistor N7 and the gate of the eighth N-type transistor N8 are both connected to an initial control current, i.e., the gate of the seventh N-type transistor N7 and the gate of the eighth N-type transistor N8 are both electrically connected to the first end of the second N-type transistor N2), the first end of the ninth N-type transistor N9 is electrically connected to the second end of the second resistor, the gate of the ninth N-type transistor N9 is electrically connected to the output end of the first inverter INV1, and the input end of the first inverter INV1 is electrically connected to the fourth P-type transistor P4.
Furthermore, in order to improve the output effect of the comparison circuit, the voltage comparator provided by the embodiment of the invention further comprises an output logic circuit, and the output of the comparison circuit is shaped through the output logic circuit. Referring to fig. 6, a schematic diagram of a structure of a voltage comparator according to an embodiment of the present invention is shown, where the voltage comparator according to an embodiment of the present invention further includes an output logic circuit 300, and the output logic circuit 300 is configured to output the output level signal of the comparison circuit 200 after shaping.
With continued reference to fig. 6, the output logic circuit 300 provided by the embodiment of the present invention includes a second inverter INV2 and a third inverter INV3, where an input end of the second inverter INV2 is electrically connected to the second end of the fourth P-type transistor P4, an output end of the second inverter INV2 is electrically connected to an input end of the third inverter INV3, and an output end of the third inverter INV3 is an output end of the voltage comparator. Optionally, the second inverter INV2 provided by the embodiment of the present invention multiplexes the first inverter INV1, so as to optimize a circuit structure, save resources and reduce cost.
The working principle of the voltage comparator provided by the embodiment of the invention is specifically described below with reference to fig. 6.
In the initial stage of power-on, the first power supply voltage VIN starts to boost, and when the first power supply voltage VIN is extremely low and smaller than the starting threshold voltage, the bias currents of the first bias current source IB1 and the second bias current source IB2 are not established yet; therefore, the first P-type transistor P1 is in a subthreshold on state, the first N-type drain is in a conductive state despite the gate of the first N-type drain being connected to the ground terminal, and the first P-type transistor P1 and the first N-type drain form a current loop despite the first N1 to generate an on current; the turn-on current is mirrored to the branch where the second P-type transistor P2 and the second N-type transistor N2 are located in a set ratio to generate an initial control current. The initial control current is mirrored to the seventh N-type transistor N7 and the eighth N-type transistor N8 in a set ratio, so that the second end voltage Vx of the third P-type transistor P3 and the second end voltage Vy of the fourth P-type transistor P4 are respectively pulled down to be at a low level, and Vy is an active level signal output by the comparison circuit, namely a low level signal, and then a low level signal is output through shaping of the second inverter INV2 and the third inverter INV 3.
When the first power voltage VIN rises to be greater than or equal to the starting threshold voltage, the bias current of the first bias current source IB1 is established; the first bias current source IB1 biases a current through the loop resistor R3, and the first N-type depletion transistor N1 is turned off in spite of the rise of the source voltage of the first N-type depletion transistor N1, thereby stopping the operation of the initialization circuit 100.
And when the first power voltage VIN increases to be greater than or equal to the on threshold voltage, the bias current of the second bias current source IB2 is established, and the bias current of the second bias current source IB2 is mirrored to the fourth N-type transistor N4, the fifth N-type transistor N5 and the sixth N-type transistor N6 according to a set proportion, so that the fourth N-type transistor N4, the fifth N-type transistor N5 and the sixth N-type transistor N6 are turned on. Assuming that the second power supply voltage VOUT is constant, the width-to-length ratio of the third P-type transistor P3 and the fourth P-type transistor P4 is the same, the mirror ratio of the fourth N-type transistor P4 and the fifth N-type transistor N5 is the same, when the first power supply voltage VIN is smaller than the second power supply voltage VOUT, the relationship between the voltage VA at the first end of the third P-type transistor P3 and the voltage VB at the first end of the fourth P-type transistor P4 is VB < VA, so that the pull-up current of the fourth P-type transistor N4 is smaller than the pull-down current of the fifth N-type transistor N5, vy is at a low level and the first inverter INV1 outputs a high level, the ninth N-type transistor N9 is controlled to be turned on, and the branch current I3 of the ninth N9 and the first resistor R1 and the second resistor R2 jointly form a first threshold voltage VTH1, where the following is calculated:
i1 Formula I3 =i4=k =i3 one
I2 =i4+i3 equation two
I1 Formula three of = (VOUT-VA)/R1
I2 = (VIN-VB)/R2 formula four
As the first power voltage VIN increases until va=vb, vy is changed from low to high, vth1=vout-VIN when the first power voltage VIN increases to the inversion point, and va=vb is obtained by combining formula one to formula four:
VTH1=VOUT-VIN=I3*(K*R1-K*R2-R2)
wherein, I1 is the current at the third P-type transistor P3, I2 is the current at the second resistor R2, I3 is the branch current at the ninth N-type transistor N9, I4 is the current at the fourth P-type transistor P4, K is the proportional relationship between I4 and I3 and is determined by the mirror ratio coefficients of the fifth N-type transistor N5 and the sixth N-type transistor N6.
When Vy goes high, the first inverter INV1 outputs low, and the ninth N-type transistor N9 is turned off, i.e., the I3 current is turned off. The first power voltage VIN starts to drop, and when the first power voltage VIN drops to the inversion point, the second threshold voltage VTH 2=vout-VIN, wherein:
i1 I2=i4, i3=0 equation five
Va=vb formula six
I1 Equation seven of = (VOUT-VA)/R1
I2 = (VIN-VB)/R2 formula eight
Combining the formula five to the formula eight to obtain:
VTH2=VOUT-VIN=I1*(R1-R2)
thus, the comparison circuit 200 can compare the voltage difference between the first power voltage VIN and the second power voltage VOUT, wherein the first level signal is a high level signal and the second level signal is a low level signal. And the voltage of VTH1 and VTH2 can be regulated by regulating the bias current of R1, R2 and IB2, so that the purposes of flexibly regulating the threshold voltage and the threshold voltage hysteresis are realized.
Correspondingly, the embodiment of the invention also provides electronic equipment, which comprises the voltage comparator provided by any embodiment.
The embodiment of the invention provides a voltage comparator and electronic equipment, wherein the voltage comparator comprises: an initialization circuit and a comparison circuit; the initialization circuit is connected to a first power supply voltage, and is used for controlling the comparison circuit to output an effective level signal when the first power supply voltage is smaller than an opening threshold voltage; and stopping operation when the first power supply voltage is greater than or equal to the turn-on threshold voltage; the comparison circuit is connected to the first power supply voltage and the second power supply voltage, and is used for comparing the first power supply voltage with the second power supply voltage and outputting a comparison level signal when the first power supply voltage is greater than or equal to the starting threshold voltage.
As can be seen from the above description, according to the technical solution provided by the embodiments of the present invention, the initialization circuit can operate when the first power voltage is smaller than the on threshold voltage, and stop operating when the first power voltage is not smaller than the on threshold voltage; therefore, when the first power supply voltage is lower than the starting threshold voltage, the initialization circuit can control the comparison circuit to output the effective level signal, so that the voltage comparator can normally output the effective level signal when the first power supply voltage is lower, and the performance of the voltage comparator is improved.
In the description of the present invention, it should be understood that the directions or positional relationships as indicated by the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc., are based on the directions or positional relationships shown in the drawings are merely for convenience of description and to simplify the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the invention.
Furthermore, the terms "first," "second," and the like, as used herein, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present invention, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
In the present invention, unless explicitly specified and limited otherwise, terms such as "mounted," "connected," "secured," and the like are to be construed broadly and may be, for example, fixedly attached, detachably attached, or integrally formed; may be mechanically connected, may be electrically connected or may be in communication with each other; either directly or indirectly, through intermediaries, or both, may be in communication with each other or in interaction with each other, unless expressly defined otherwise. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
In the present invention, unless expressly stated or limited otherwise, a first feature "up" or "down" a second feature may be the first and second features in direct contact, or the first and second features in indirect contact via an intervening medium. Moreover, a first feature being "above," "over" and "on" a second feature may be a first feature being directly above or obliquely above the second feature, or simply indicating that the first feature is level higher than the second feature. The first feature being "under", "below" and "beneath" the second feature may be the first feature being directly under or obliquely below the second feature, or simply indicating that the first feature is less level than the second feature.
In the present disclosure, the terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.
Claims (10)
1. A voltage comparator, comprising: an initialization circuit and a comparison circuit;
the initialization circuit is connected to a first power supply voltage, and is used for controlling the comparison circuit to output an effective level signal when the first power supply voltage is smaller than an opening threshold voltage; and stopping operation when the first power supply voltage is greater than or equal to the turn-on threshold voltage;
the comparison circuit is connected to the first power supply voltage and the second power supply voltage, and is used for comparing the first power supply voltage with the second power supply voltage and outputting a comparison level signal when the first power supply voltage is greater than or equal to the starting threshold voltage.
2. The voltage comparator of claim 1, wherein the initialization circuit comprises: the power supply access module, the first loop switch module, the first loop control module and the output control module;
the power supply access module is connected to the first power supply voltage, and is used for forming a current loop with the conducted first loop switch module to generate an on current when the first power supply voltage is smaller than an on threshold voltage;
the output control module is used for accessing the starting current to generate an initial control current, wherein the comparison circuit outputs an effective level signal according to the initial control current;
the first loop control module is used for controlling the first loop switch module to be turned off when the first power supply voltage is larger than or equal to the starting threshold voltage so as to disconnect a current loop formed by the first loop switch module and the power supply access module.
3. The voltage comparator of claim 2, wherein the power supply access module comprises a first P-type transistor, the first loop switch module comprises a first N-type drain and loop resistor, the first loop control module comprises a first bias current source, and the output control module comprises a second P-type transistor and a second N-type transistor;
the first end of the first P-type transistor and the first end of the second P-type transistor are connected to the first power supply voltage, and the grid electrode of the first P-type transistor, the second end of the first P-type transistor and the grid electrode of the second P-type transistor are electrically connected with the drain electrode of the first N-type depletion transistor;
the grid electrode of the first N-type drain is electrically connected with the grounding end, the source electrode of the first N-type drain is electrically connected with the output end of the first bias current source and the first end of the loop resistor, and the second end of the loop resistor is electrically connected with the grounding end;
the second end of the second P-type transistor is electrically connected with the first end of the second N-type transistor and the grid electrode of the second N-type transistor, and the second end of the second N-type transistor is electrically connected with the grounding end, wherein the first end of the second N-type transistor outputs the initial control current.
4. The voltage comparator of claim 1, wherein the comparison level signal comprises a first level signal and a second level signal, the first level signal and the second level signal being of opposite levels, wherein the comparison circuit compares the first supply voltage and the second supply voltage, comprising:
the comparison circuit compares the first power supply voltage and the second power supply voltage, outputs the first level signal when judging that the first power supply voltage rises to be larger than the second power supply voltage minus a first threshold voltage, and outputs the second level signal when judging that the first power supply voltage drops to be smaller than the second power supply voltage minus a second threshold voltage, wherein the first threshold voltage and the second threshold voltage are not equal.
5. The voltage comparator according to claim 4, wherein the comparison circuit comprises: the first resistor, the second resistor, the third P-type transistor, the fourth P-type transistor, the second loop switch module, the second loop control module, the initial control output module and the hysteresis limiting module;
the first end of the first resistor is connected to the second power supply voltage, the second end of the first resistor is electrically connected with the first end of the third P-type transistor, and the second end of the third P-type transistor is electrically connected with the grid electrode of the third P-type transistor and the grid electrode of the fourth P-type transistor;
the first end of the second resistor is connected to the first power supply voltage, the second end of the second resistor is electrically connected with the first end of the fourth P-type transistor, and the second end of the fourth P-type transistor is the output end of the comparison circuit;
the second loop switch module is electrically connected with the second end of the third P-type transistor, the second end of the fourth P-type transistor and the hysteresis limiting module, and the second loop control module is used for controlling the second loop switch module to be conducted when the first power supply voltage is greater than or equal to the starting threshold voltage so as to respectively form a current loop with the third P-type transistor, the fourth P-type transistor and the hysteresis limiting module;
the initial control output module is electrically connected with the initialization circuit, the second end of the third P-type transistor and the second end of the fourth P-type transistor, and is used for responding to the control of the initialization circuit to control the output end of the comparison circuit to output an effective level signal when the first power supply voltage is smaller than the starting threshold voltage;
the hysteresis defining module is configured to define a hysteresis amount of the first threshold voltage and the second threshold voltage.
6. The voltage comparator of claim 5, wherein the second loop control module includes a second bias current source and a third N-type transistor, the second loop switch module includes a fourth N-type transistor, a fifth N-type transistor, and a sixth N-type transistor, the initial control output module includes a seventh N-type transistor and an eighth N-type transistor, and the hysteresis definition module includes a first inverter and a ninth N-type transistor;
the output end of the second bias current source is electrically connected with the first end of the third N-type transistor, the grid electrode of the fourth N-type transistor, the grid electrode of the fifth N-type transistor and the grid electrode of the sixth N-type transistor;
the second end of the third N-type transistor, the second end of the fourth N-type transistor, the second end of the fifth N-type transistor, the second end of the sixth N-type transistor, the second end of the seventh N-type transistor and the second end of the eighth N-type transistor are all electrically connected with a grounding end;
the first end of the fourth N-type transistor is electrically connected with the second end of the third P-type transistor, the first end of the fifth N-type transistor is electrically connected with the second end of the fourth P-type transistor, and the first end of the sixth N-type transistor is electrically connected with the second end of the ninth N-type transistor;
the first end of the seventh N-type transistor is electrically connected with the second end of the third P-type transistor, the first end of the eighth N-type transistor is electrically connected with the second end of the fourth P-type transistor, the grid electrode of the seventh N-type transistor and the grid electrode of the eighth N-type transistor are electrically connected with the initialization circuit, the first end of the ninth N-type transistor is electrically connected with the second end of the second resistor, the grid electrode of the ninth N-type transistor is electrically connected with the output end of the first inverter, and the input end of the first inverter is electrically connected with the second end of the fourth P-type transistor.
7. The voltage comparator of claim 6, further comprising output logic for shaping an output level signal of the comparison circuit for output.
8. The voltage comparator of claim 7, wherein the output logic circuit comprises a second inverter and a third inverter, the input of the second inverter being electrically connected to the second terminal of the fourth P-type transistor, the output of the second inverter being electrically connected to the input of the third inverter.
9. The voltage comparator of claim 8, wherein the second inverter multiplexes the first inverter.
10. An electronic device, characterized in that it comprises a voltage comparator according to any one of claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310483444.4A CN116436447A (en) | 2023-04-28 | 2023-04-28 | Voltage comparator and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310483444.4A CN116436447A (en) | 2023-04-28 | 2023-04-28 | Voltage comparator and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116436447A true CN116436447A (en) | 2023-07-14 |
Family
ID=87083248
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310483444.4A Pending CN116436447A (en) | 2023-04-28 | 2023-04-28 | Voltage comparator and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116436447A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117392951A (en) * | 2023-12-05 | 2024-01-12 | 上海视涯技术有限公司 | Power supply detection circuit, silicon-based display panel and display device |
CN117595626A (en) * | 2023-11-28 | 2024-02-23 | 北京伽略电子股份有限公司 | Multi-output enabling circuit |
-
2023
- 2023-04-28 CN CN202310483444.4A patent/CN116436447A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117595626A (en) * | 2023-11-28 | 2024-02-23 | 北京伽略电子股份有限公司 | Multi-output enabling circuit |
CN117595626B (en) * | 2023-11-28 | 2024-05-31 | 北京伽略电子股份有限公司 | Multi-output enabling circuit |
CN117392951A (en) * | 2023-12-05 | 2024-01-12 | 上海视涯技术有限公司 | Power supply detection circuit, silicon-based display panel and display device |
CN117392951B (en) * | 2023-12-05 | 2024-03-19 | 上海视涯技术有限公司 | Power supply detection circuit, silicon-based display panel and display device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116436447A (en) | Voltage comparator and electronic equipment | |
CN111801893B (en) | Low quiescent current load switch | |
US9298238B2 (en) | CMOS power backup switching circuit and method for operating a CMOS power backup switching circuit | |
US8531851B2 (en) | Start-up circuit and method thereof | |
US20130285630A1 (en) | Voltage regulating apparatus with enhancement functions for transient response | |
US20130049721A1 (en) | Linear Regulator and Control Circuit Thereof | |
US7466187B2 (en) | Booster circuit | |
US9948178B2 (en) | Semiconductor device including plurality of booster units | |
US10505441B2 (en) | Voltage regulation system, regulator chip and voltage regulation control method | |
TWI567749B (en) | Voltage generating circuit, flash memory and semiconductor device | |
US10680504B2 (en) | Bandgap reference circuit and DCDC converter having the same | |
KR20170121713A (en) | Reference voltage generating circuit and dc-dc converter comprising the same | |
US20170220059A1 (en) | Regulator circuit | |
US9634570B2 (en) | Multi-mode power converter and associated control method | |
TWI672572B (en) | Voltage Regulator | |
US9881654B2 (en) | Power source for memory circuitry | |
KR100334363B1 (en) | Power supply apparatus | |
US11442480B2 (en) | Power supply circuit alternately switching between normal operation and sleep operation | |
CN116782092B (en) | Audio power amplifier voltage stabilizing control circuit, chip and audio power amplifier device | |
US20140189381A1 (en) | Semiconductor device having active mode and standby mode | |
CN109283865B (en) | Control device and power conversion circuit thereof | |
CN115051431A (en) | Overcurrent detection module, battery protection circuit and system | |
CN112104226A (en) | Wide-voltage low-power consumption strong-driving-capability pump circuit and nonvolatile memory | |
JP2008072113A (en) | Semiconductor integrated circuit | |
JP6594765B2 (en) | Soft start circuit and power supply device including the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |