Power supply voltage selection circuit and electronic equipment
By introducing a current comparator and voltage hysteresis mechanism into the power supply voltage selection circuit, the problem of circuit failure and large power consumption when the voltage difference is low in the prior art is solved, and the circuit structure is simplified and current backflow is prevented and protected. The power supply stability of electronic equipment.
Patent Information
- Application Number
- CN202411206325.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-12-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing power supply voltage selection circuit cannot work normally when the input voltage difference is lower than the threshold voltage of the PMOS tube, and there are problems such as complex circuit structure and large power consumption.
Design a power supply voltage selection circuit, including two resistors R1 to R2, four NMOS tubes MN1 to MN4, four PMOS tubes MP1 to MP4 and three inverters INV1 to INV3, through the current comparator and voltage hysteresis mechanism, Simplify the circuit structure and prevent current backflow.
It realizes simplification of the circuit structure, reduces power consumption, and avoids the continuous switching of internal power supplies and current backflow during different power switches, protecting the chip and power supply.
Smart Images

Figure CN119088151A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power management in the field of integrated circuits, and in particular relates to a power supply voltage selection circuit and electronic equipment. Background Art
[0002] The demand for various stabilized power supplies in various electronic devices continues to grow, and how to provide stable power supply for electronic devices through power supply voltage selection circuits has become a key research direction. The power supply voltage selection circuit usually compares two input voltages and selects the higher or lower input voltage as the power supply voltage inside the chip. For example: a load switch chip with reverse current protection function often has a voltage selection circuit designed inside to ensure that the substrate of the power tube is always at a suitable potential; otherwise, when the power supply suddenly loses power or a voltage spike appears at the output end, the parasitic body diode in the power tube may be turned on, resulting in a current backflow phenomenon, which may cause damage to the chip itself and the power supply. In response to this problem, the prior art application number 201220669158.4 "Integrated Circuit and Voltage Selection Circuit" discloses a voltage selection circuit, which has a very simple circuit structure and only uses two PMOS tubes to realize the voltage selection function. However, when the difference between the two input voltages is lower than the threshold voltage of the PMOS tube, both PMOS tubes are not turned on, and the voltage selection circuit cannot work normally. In addition, some traditional voltage selection circuits require comparators, reference voltages, and current biases, and therefore have problems such as complex circuit structures and high power consumption. Summary of the invention
[0003] In order to solve the problems existing in the above-mentioned prior art, the present invention proposes a power supply voltage selection circuit, comprising: two resistors R1-R2, four NMOS transistors MN1-MN4, four PMOS transistors MP1-MP4 and three inverters INV1-INV3;
[0004] The connection relationship of each device includes: the source of MP1 is connected to the power supply voltage VCC1, the gate of MP1 is connected to the gate of MP2, the drain of MP1 and one end of the resistor R1 respectively; the other end of the resistor R1 is connected to the drain of MN1, the gate of MN1, the gate of MN2, the gate of MN3 and the drain of MN4 respectively; the source of MN1, the source of MN2 and the source of MN3 are all grounded; the source of MP2 is connected to the power supply voltage VCC2, the drain of MP2 is connected to one end of the resistor R2; the other end of the resistor R2 is connected to MN 2, the gate of MN4 and the input of inverter INV1; the source of MN4 is connected to the drain of MN3; the output of inverter INV1 is connected to the input of inverter INV2; the output of inverter INV2 is respectively connected to the input of inverter INV3 and the gate of MP3; the drain of MP3 is connected to the power supply voltage VCC1, the substrate and source of MP3 are respectively connected to the substrate and source of MP4 and the internal power supply; the output of inverter INV3 is connected to the gate of MP4; the drain of MP4 is connected to the power supply voltage VCC2.
[0005] An electronic device comprises the power supply voltage selection circuit mentioned above.
[0006] Beneficial effects of the present invention:
[0007] The circuit structure of the present invention is simple, with only one current path of VCC1→MP1→R1→MN1→GND, and the current can be reduced by increasing R1, thereby reducing the power consumption of the circuit; the present invention introduces voltage hysteresis through MN3 and MN4, thereby avoiding the internal power supply from constantly switching between VCC1 and VCC2; the present invention performs special processing on the substrate connection of MP3 and MP4 to prevent the circuit from generating current backflow, thereby causing damage to the chip itself and the power supply. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 It is the overall circuit structure diagram of the present invention. DETAILED DESCRIPTION
[0009] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0010] A power supply voltage selection circuit, such as Figure 1As shown in the figure, the circuit structure includes: two resistors R1 to R2, four NMOS transistors MN1 to MN4, four PMOS transistors MP1 to MP4, and three inverters INV1 to INV3; the connection relationships of each device include: the source of MP1 is connected to the power supply voltage VCC1, the gate of MP1 is respectively connected to the gate of MP2, the drain of MP1, and one end of resistor R1; the other end of resistor R1 is respectively connected to the drain of MN1, the gate of MN1, the gate of MN2, the gate of MN3, and the drain of MN4; the sources of MN1, MN2, and MN3 are all grounded; the source of MP2 is connected to the power supply voltage VCC2, the drain of MP2 is connected to one end of resistor R2; the other end of resistor R2 is respectively connected to the drain of MN2, the gate of MN4, and the input terminal of inverter INV1; the source of MN4 is connected to the drain of MN3; the output terminal of inverter INV1 is connected to the input terminal of inverter INV2; the output terminal of inverter INV2 is respectively connected to the input terminal of inverter INV3 and the gate of MP3; the drain of MP3 is connected to the power supply voltage VCC1, the substrate and the source of MP3 are respectively connected to the substrate and the source of MP4 and the internal power supply; the output terminal of inverter INV3 is connected to the gate of MP4; the drain of MP4 is connected to the power supply voltage VCC2.
[0011] The working principle of the present invention is as follows:
[0012] R1 to R2, MN1 to MN4, and MP1 to MP2 form a current comparator, and the width-to-length ratios of MP1 and MP2 are equal, and the width-to-length ratios of MN1, MN2, and MN3 are equal.
[0013] MP1 and MP2 form a current mirror, MN1 and MN2 form a current mirror. When VCC1 > VCC2, the drain current of MN2 is larger than the drain current of MP2. Therefore, the comparator output VS is low. Then, the gate voltage of MP3 is low, the gate voltage of MP4 is high, MP3 is turned on, and MP4 is turned off, and VCC1 is selected as the internal power supply.
[0014] When VCC1 < VCC2, the drain current of MP2 is larger than the drain current of MN2. Therefore, the comparator output VS is high. Then, the gate voltage of MP3 is high, the gate voltage of MP4 is low, MP3 is turned off, and MP4 is turned on, and VCC2 is selected as the internal power supply.
[0015] MN3 and MN4 are used to introduce voltage hysteresis to avoid the internal power supply from constantly switching when VCC1 and VCC2 are close.
[0016] When VCC1 < VCC2, at this time the comparator output VS is high, and VCC2 is selected as the internal power supply. At the same time, the MN4 transistor is in the on state. Therefore, the drain voltage of the MN3 transistor is approximately equal to the gate voltage of the MN1 transistor, which is equivalent to the parallel connection of MN1 and MN3.
[0017] When VCC1 gradually increases to be equal to VCC2, since the drain current of MP2 is approximately equal to the drain current of MP1, but the drain current of MN2 is only half of the drain current of MP2, the comparator output VS will not flip to a low level. As VCC1 continues to increase, the drain current of MN2 will gradually exceed the drain current of MP2, and finally when VCC1 is higher than a certain value of VCC2, the comparator output VS flips to a low level. Thus, a hysteresis voltage is introduced to prevent the internal power supply from switching continuously when VCC1 and VCC2 are close.
[0018] According to the traditional connection method, the PMOS substrate is connected to the source and connected to the power supply (VCC1 or VCC2). For the power tubes MP3 and MP4, the substrate will be forward biased when different power supplies are switched. Therefore, the substrate connection method of MP3 and MP4 must be specially processed. The substrates of the power tubes MP3 and MP4 are connected to their sources, but not to VCC1 or VCC2. Only one of the power tubes MP3 and MP4 can be turned on at the same time to provide internal power. When VCC1 < VCC2, MP4 is turned on, MP3 is turned off, and the internal power supply is VCC2. At this time, the substrate of MP3 is the highest potential, and there will be no path from the source / drain to the substrate. If the conventional connection method (MP3 substrate connected to VCC1) is used, the PN junction between the source of MP3 and the substrate will form a forward bias conduction, resulting in abnormal circuit operation.
[0019] Similarly, when VCC1>VCC2, MP3 is turned on, MP4 is turned off, and the internal power supply is VCC1. At this time, the substrate of MP4 is at the highest potential, and there is no path from the source / drain to the substrate. If the conventional connection method (MP4 substrate connected to VCC2) is used, the PN junction between the source and substrate of MP4 will form a forward bias conduction, causing abnormal circuit operation.
[0020] Based on the above embodiments, the embodiments of the present disclosure further provide an electronic device, which includes the power supply voltage selection circuit described in any one of the above embodiments and has the beneficial effects described in any one of the above embodiments. The embodiments of the present disclosure do not give examples one by one.
[0021] Further aspects and scopes of adaptability become apparent from the description provided herein. It should be understood that various aspects of the present application can be implemented individually or in combination with one or more other aspects. It should also be understood that the description and specific embodiments herein are intended for purposes of illustration only and are not intended to limit the scope of the present application.
[0022] The above embodiments further illustrate the purpose, technical solutions and advantages of the present invention in detail. It should be understood that the above embodiments are only preferred implementation modes of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made to the present invention within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A power supply voltage selection circuit, characterized in that, it includes: two resistors R1 to R2, four NMOS transistors MN1 to MN4, four PMOS transistors MP1 to MP4, and three inverters INV1 to INV3; The connection relationships of each device include: the source of MP1 is connected to the power supply voltage VCC1, the gate of MP1 is respectively connected to the gate of MP2, the drain of MP1, and one end of resistor R1; the other end of resistor R1 is respectively connected to the drain of MN1, the gate of MN1, the gate of MN2, the gate of MN3, and the drain of MN4; the sources of MN1, MN2, and MN3 are all grounded; the source of MP2 is connected to the power supply voltage VCC2, the drain of MP2 is connected to one end of resistor R2; the other end of resistor R2 is respectively connected to the drain of MN2, the gate of MN4, and the input end of inverter INV1; the source of MN4 is connected to the drain of MN3; the output end of inverter INV1 is connected to the input end of inverter INV2; the output end of inverter INV2 is respectively connected to the input end of inverter INV3 and the gate of MP3; the drain of MP3 is connected to the power supply voltage VCC1, and the substrate and source of MP3 are respectively connected to the substrate and source of MP4 and the internal power supply; the output end of inverter INV3 is connected to the gate of MP4; the drain of MP4 is connected to the power supply voltage VCC2.
2. The power supply voltage selection circuit according to claim 1, characterized in that, the aspect ratio of PMOS transistor MP1 is equal to that of MP2, and MP1 and MP2 form a current mirror.
3. The power supply voltage selection circuit according to claim 1, characterized in that, the aspect ratios of NMOS transistors MN1, MN2, and MN3 are equal, and MN1 and MN2 form a current mirror.
4. The power supply voltage selection circuit according to claim 1, characterized in that, the substrates of PMOS transistors MP3 and MP4 are both connected to the sources.
5. The power supply voltage selection circuit according to claim 1, characterized in that, the internal power supply is: when VCC1 > VCC2, VCC1 is used as the internal power supply, and when VCC1 < VCC2, VCC2 is used as the internal power supply.
6. The power supply voltage selection circuit according to claim 1, characterized in that, MN3 and MN4 of the power supply voltage selection circuit are used to introduce voltage hysteresis to prevent the internal power supply from constantly switching due to voltage fluctuations of VCC1 and VCC2 when the difference between VCC1 and VCC2 is less than the hysteresis voltage.
7. An electronic device, characterized in that, it includes the power supply voltage selection circuit according to any one of claims 1 to 6.
Citation Information
Patent Citations
Hysteresis voltage comparator
CN102025352A
Substrate switching circuit based on CMOS
CN104767518A
Voltage selection circuit and method
CN110045779A
High-power-supply-voltage selection circuit suitable for medium-high-voltage work and implementation method thereof
CN110635795A
Semiconductor integrated circuit
JP2002237742A
