Constant voltage circuit

The constant voltage circuit addresses the challenge of simultaneous high-speed response and low current consumption by dynamically adjusting operating modes through transistor control and monitoring, enhancing power efficiency and response time.

JP7542506B2Active Publication Date: 2024-08-30KK TOSHIBA +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2021154698
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-09-22
Publication Date
2024-08-30
Estimated Expiration
2041-09-22

AI Technical Summary

Technical Problem

Existing constant voltage circuits face challenges in achieving high-speed response and low current consumption simultaneously.

Method used

The proposed constant voltage circuit includes a first gain stage with a differential amplifier and transistors that switch between high-speed response and low current consumption modes based on threshold voltage conditions, using transistors to control current flow and gate voltage, and incorporates voltage and current monitors to adjust operating modes dynamically.

Benefits of technology

The circuit achieves high-speed response by increasing current when load fluctuations occur while maintaining low current consumption when stable, thereby optimizing power efficiency and response time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007542506000007
    Figure 0007542506000007
  • Figure 0007542506000015
    Figure 0007542506000015
  • Figure 0007542506000002
    Figure 0007542506000002
Patent Text Reader

Abstract

To provide a constant voltage circuit capable of achieving high-speed response and low current consumption.SOLUTION: The constant voltage circuit according to an embodiment includes: a first gain stage 10 for outputting first voltage V1 obtained by amplifying difference between partial voltage VFB of output voltage VOUT and reference voltage VREF; a first transistor Pp the one end of which is connected to an input voltage terminal T1 and the other end of which is connected to an output voltage terminal T3 to control output voltage on the basis of the first voltage applied to a gate; a second transistor N5 for controlling current flowing in the first gain stage; a first circuit 31 for converting the variation amount of the output voltage into first current I3a; and a second circuit 32 for controlling gate voltage of the second transistor on the basis of second current I3ac corresponding to the first current. If the gate voltage of the second transistor is first threshold voltage or less, third current I1a is caused to flow in the first gain stage. If the gate voltage is larger than the first threshold voltage, fourth current I1a+I1b is caused to flow in the first gain stage.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] An embodiment of the present invention relates to a constant voltage circuit. [Background technology]

[0002] A linear regulator is known as one type of constant voltage circuit. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2017-134743 A [Patent Document 2] Patent No. 4389681 [Patent Document 3] Patent No. 6510165 Summary of the Invention [Problem to be solved by the invention]

[0004] A constant voltage circuit capable of realizing high-speed response and low current consumption is provided. [Means for solving the problem]

[0005] A constant voltage circuit according to an embodiment includes a first gain stage that outputs a first voltage obtained by amplifying a difference between a divided voltage of an output voltage and a reference voltage, a first transistor having one end connected to an input voltage terminal and the other end connected to an output voltage terminal and controlling the output voltage based on a first voltage applied to a gate, a second transistor that controls a current flowing through the first gain stage, a first circuit that converts a fluctuation in the output voltage into a first current, and a second circuit that controls a gate voltage of the second transistor based on a second current corresponding to the first current. When the gate voltage of the second transistor is equal to or lower than a first threshold voltage of the second transistor, a first operation mode is selected and a third current flows through the first gain stage, and when the gate voltage of the second transistor is higher than the first threshold voltage, a second operation mode is selected and a fourth current higher than the third current flows through the first gain stage. [Brief description of the drawings]

[0006] [Figure 1] FIG. 1 is a circuit diagram showing an example of a constant voltage circuit according to the first embodiment. [Diagram 2] FIG. 2 is a flowchart showing a mode selection operation of the constant voltage circuit according to the first embodiment. [Diagram 3] FIG. 3 is a flowchart showing a mode selection operation of the constant voltage circuit according to the first embodiment. [Figure 4] FIG. 4 is a diagram illustrating the effect of the constant voltage circuit according to the first embodiment. [Diagram 5] FIG. 5 is a circuit diagram illustrating an example of a constant voltage circuit according to the second embodiment. [Figure 6] FIG. 6 is a flowchart showing a mode selection operation of the constant voltage circuit according to the second embodiment. [Figure 7] FIG. 7 is a flowchart showing a mode selection operation of the constant voltage circuit according to the second embodiment. [Figure 8] FIG. 8 is a circuit diagram illustrating an example of a constant voltage circuit according to the third embodiment. [Figure 9] FIG. 9 is a circuit diagram illustrating an example of a constant voltage circuit according to the fourth embodiment. [Figure 10]FIG. 10 is a flowchart showing a mode selection operation of the constant voltage circuit according to the fourth embodiment. [Figure 11] FIG. 11 is a flowchart showing a mode selection operation of the constant voltage circuit according to the fourth embodiment. [Figure 12] FIG. 12 is a circuit diagram illustrating an example of a constant voltage circuit according to the fifth embodiment. [Figure 13] FIG. 13 is a circuit diagram illustrating an example of a constant voltage circuit according to the sixth embodiment. [Figure 14] FIG. 14 is a circuit diagram illustrating an example of a constant voltage circuit according to the seventh embodiment. [Figure 15] FIG. 15 is a circuit diagram illustrating an example of a constant voltage circuit according to the eighth embodiment. [Figure 16] FIG. 16 is a flowchart showing a mode selection operation of the constant voltage circuit according to the eighth embodiment. [Figure 17] FIG. 17 is a flowchart showing a mode selection operation of the constant voltage circuit according to the eighth embodiment. [Figure 18] FIG. 18 is a diagram illustrating the effect of the constant voltage circuit according to the eighth embodiment. [Figure 19] FIG. 19 is a circuit diagram illustrating an example of a constant voltage circuit according to the ninth embodiment. [Figure 20] FIG. 20 is a circuit diagram showing an example of a constant voltage circuit according to the tenth embodiment. [Figure 21] FIG. 21 is a circuit diagram showing an example of a constant voltage circuit according to the eleventh embodiment. [Figure 22] FIG. 22 is a circuit diagram showing an example of a constant voltage circuit according to the twelfth embodiment. [Diagram 23] FIG. 23 is a circuit diagram showing an example of a constant voltage circuit according to the thirteenth embodiment. [Figure 24] FIG. 24 is a circuit diagram showing an example of a constant voltage circuit according to the fourteenth embodiment. [Diagram 25] FIG. 25 is a circuit diagram showing an example of a constant voltage circuit according to the fifteenth embodiment. [Figure 26]FIG. 26 is a circuit diagram showing an example of a constant voltage circuit according to the sixteenth embodiment. [Figure 27] FIG. 27 is a circuit diagram showing an example of a constant voltage circuit according to the seventeenth embodiment. [Figure 28] FIG. 28 is a circuit diagram showing an example of a constant voltage circuit according to the eighteenth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] Hereinafter, embodiments will be described with reference to the drawings. In the following description, components having substantially the same functions and configurations are given the same reference numerals, and repeated explanations may be omitted. In addition, all descriptions of one embodiment may also be applied to other embodiments, unless expressly or obviously excluded.

[0008] Each functional block may not be distinguished as in the following example. For example, some functions may be executed by a functional block other than the illustrated functional block. Furthermore, the illustrated functional block may be divided into smaller functional subblocks. The embodiment is not limited by which functional block is specified.

[0009] In this specification and claims, when a first element is "connected" to another second element, it includes the first element being connected to the second element directly or via an element that is constantly or selectively conductive.

[0010] 1. First embodiment A constant voltage circuit according to a first embodiment will be described. In this embodiment, a linear regulator will be taken as an example of the constant voltage circuit.

[0011] The constant voltage circuit of this embodiment has a low current consumption mode and a high-speed response mode as operation modes. The low current consumption mode is selected, for example, when there is no load and the current consumption is to be suppressed. The high-speed response mode is selected, for example, when a load is generated and the output voltage fluctuates and the constant voltage circuit is to be operated at high speed.

[0012] 1.1 Circuit configuration of a constant voltage circuit The circuit configuration of the constant voltage circuit according to this embodiment will be described with reference to Fig. 1. Fig. 1 is a circuit diagram showing an example of a constant voltage circuit. In the following description, when the source and drain of a transistor are not limited, either the source or the drain of the transistor will be referred to as "one end of the transistor", and the other either the source or the drain of the transistor will be referred to as "the other end of the transistor".

[0013] The constant voltage circuit 1 includes an input voltage terminal T1, a reference voltage terminal T2, an output voltage terminal T3, a first gain stage 10, an output stage 20, a first voltage monitor circuit 30, resistive elements RF and RS, and a capacitive element CC.

[0014] A node ND1 (hereinafter also referred to as a "power supply voltage line") is connected to the input voltage terminal T1, and an input voltage VIN is applied from the outside.

[0015] A node ND2 (hereinafter also referred to as a "ground voltage line") is connected to the reference voltage terminal T2. The reference voltage terminal T2 may be, for example, grounded or may have a ground voltage (VSS) applied thereto.

[0016] A node ND8 is connected to the output voltage terminal T3. An output voltage VOUT is output from the output voltage terminal T3. For example, when the constant voltage circuit 1 is used, a capacitance element COUT is connected between the output voltage terminal T3 and a load (Load) connected to the outside of the constant voltage circuit 1. The capacitance element COUT functions as an output capacitor. The capacitance element COUT suppresses, for example, fluctuations in the load (Load) connected to the output voltage terminal T3, and fluctuations and oscillations of the output voltage VOUT caused by the influence of parasitic inductance generated between the constant voltage circuit 1 and the load. For example, one electrode of the capacitance element COUT is connected to the output voltage terminal T3, and the other electrode is grounded (connected to a ground voltage wiring).

[0017] The resistor elements RF and RS function as a voltage divider circuit for the output voltage VOUT. One end of the resistor element RF is connected to a node ND8, and the other end is connected to a node ND9. One end of the resistor element RS is connected to a node ND9, and the other end is connected to a node ND2. The voltage applied to the node ND9 is the feedback voltage VFB, the resistance value of the resistor element RF is rF, and the resistance value of the resistor element RS is rS. Then, the output voltage VOUT and the voltage VFB have a relationship of VOUT=VFB×(1+rF / rS). In other words, the voltage VFB is a divided voltage of the output voltage VOUT.

[0018] The capacitance element CC functions as a filter that cuts the DC component of the output voltage VOUT. One electrode of the capacitance element CC is connected to the node ND11, and the other electrode is connected to the node ND8.

[0019] The first gain stage 10 is a differential amplifier circuit. The first gain stage 10 compares a reference voltage VREF with a voltage VFB, and outputs an (amplified) voltage according to the difference between them to the output stage 20. The first gain stage 10 includes p-channel MOSFETs (Metal Oxide Semiconductor Field Effect Transistors) (hereinafter also referred to as "PMOS transistors") P1 and P2, n-channel MOSFETs (hereinafter also referred to as "NMOS transistors") N1 to N5, and current sources 11 and 12.

[0020] One end of the PMOS transistor P1 is connected to a node ND1, and the other end and the gate are connected to a node ND3.

[0021] One end of the PMOS transistor P2 is connected to the node ND1, the other end is connected to the node ND4, and the gate is connected to the node ND3. That is, the PMOS transistors P1 and P2 form a current mirror.

[0022] One end of the NMOS transistor N1 is connected to a node ND3, and the other end is connected to a node ND5. A voltage VFB is applied to the gate of the NMOS transistor N1.

[0023] One end of the NMOS transistor N2 is connected to a node ND4, and the other end is connected to a node ND5. A reference voltage VREF is applied to the gate of the NMOS transistor N2. The reference voltage VREF is a constant reference voltage that does not depend on temperature or the input voltage VIN.

[0024] One end of the current source 11 is connected to the node ND5, and the other end is connected to the node ND2. A current I1a flows from the current source 11 to the node ND2.

[0025] One end and the gate of the NMOS transistor N3 are connected to the node ND6, and the other end is connected to the node ND2.

[0026] An input voltage VIN is applied to one end of the current source 12. The other end of the current source 12 is connected to a node ND6. A current I1c flows from the current source 12 to a node ND2 via an NMOS transistor N3.

[0027] One end of the NMOS transistor N4 is connected to the node ND7, the other end is connected to the node ND2, and the gate is connected to the node ND6. That is, the NMOS transistors N3 and N4 form a current mirror.

[0028] One end of the NMOS transistor N5 is connected to a node ND5, the other end is connected to a node ND7, and the gate is connected to a node ND10. The NMOS transistor N5 operates based on a voltage Vnd10 of the node ND10.

[0029] For example, the voltage Vnd10 is set to the "H" level in the high-speed response mode, and is set to the "L" level in the low-current consumption mode. For example, the NMOS transistor N5 is set to the ON state (connected state) when the voltage Vnd10 is at the "H" level, and is set to the OFF state (disconnected state) when the voltage Vnd10 is at the "L" level. When the NMOS transistor N5 is in the ON state, a current I1b corresponding to the current I1c flows through the NMOS transistors N4 and N5. For example, the current I1b is a current larger than the current I1a. For example, the current I1b may be 100 times the current I1a. In the low-current consumption mode, the operating current I1a flows through the first gain stage 10, and in the high-speed response mode, the operating current (I1a+I1b) flows through the first gain stage 10. The operating current (I1a+I1b) is larger than the operating current I1a. Therefore, the next output stage 20 can be driven at a higher speed in the high-speed response mode than in the low current consumption mode.

[0030] The output stage 20 controls the output voltage VOUT of the constant voltage circuit 1. The output stage 20 includes a PMOS transistor Pp.

[0031] One end of the PMOS transistor Pp is connected to a node ND1, and the other end is connected to a node ND8. The node ND4 is connected to the gate of the PMOS transistor Pp. In other words, the output voltage V1 of the first gain stage 10 is applied to the gate of the PMOS transistor Pp. The PMOS transistor Pp functions as an output driver of the constant voltage circuit 1. In order to keep the output voltage VOUT constant, the gate voltage of the PMOS transistor Pp fluctuates in response to fluctuations in the output voltage VOUT, and the on-resistance of the PMOS transistor Pp is adjusted.

[0032] For example, when there is no voltage difference between the reference voltage VREF and the voltage VFB, i.e., when VFB=VREF, the output voltage VOUT is VOUT=VREF×(1+rF / rS). The equation expressing the output voltage VOUT does not include terms for the input voltage VIN or the load current flowing through the load. Therefore, the output voltage VOUT can be maintained at a constant voltage even if the input voltage VIN and the load fluctuate.

[0033] The first voltage monitor circuit 30 monitors the drop in the output voltage VOUT and controls the voltage Vnd10 of the node ND10 in response to the drop. The first voltage monitor circuit 30 includes a first voltage-current conversion circuit 31, a first current comparator 32, and an NMOS transistor Tn2.

[0034] The first voltage-current converter circuit 31 converts into a current the amount of decrease in the AC component of the output voltage VOUT, from which the DC component has been removed by the capacitance element CC. The first voltage-current converter circuit 31 includes a PMOS transistor Tp1.

[0035] One end of the PMOS transistor Tp1 is connected to the node ND1, and the other end and the gate are connected to a node ND11. For example, when there is no fluctuation in the AC component of the output voltage VOUT or when the AC component of the output voltage VOUT drops gradually, the PMOS transistor Tp1 is turned off or on based on the voltage difference between the gate and source. Therefore, no current I3a flows through the PMOS transistor Tp1, or a small current I3a flows through it. On the other hand, when the AC component of the output voltage VOUT drops sharply, the voltage of the node ND11 drops and the voltage difference between the gate and source increases, so that the PMOS transistor Tp1 is turned on. Therefore, the current I3a flows through the PMOS transistor Tp1. The current I3a increases as the capacitance value of the capacitance element CC increases.

[0036] The first current comparator 32 compares a current corresponding to the current I3a converted by the first voltage-current converter circuit 31 with a reference current, which will be described later, and controls the voltage Vnd10 according to the current difference. The first current comparator 32 includes a PMOS transistor Tp2 and an NMOS transistor Tn1.

[0037] One end of the PMOS transistor Tp2 is connected to the node ND1, the other end is connected to a node ND10, and the gate is connected to a node ND11. That is, the PMOS transistors Tp1 and Tp2 form a current mirror.

[0038] One end of the NMOS transistor Tn1 is connected to a node ND10, the other end is connected to a node ND2, and the gate is connected to a node ND6. That is, the NMOS transistors N3 and Tn1 configure a current mirror.

[0039] For example, when there is no fluctuation in the AC component of the output voltage VOUT or when the AC component of the output voltage VOUT drops gradually, as described above, no current I3a flows through the PMOS transistor Tp1, or only a small current I3a flows through it. When the current I3a does not flow, the PMOS transistor Tp2 is turned off, and the current I3ac corresponding to the current I3a does not flow through the PMOS transistor Tp2. On the other hand, the current I3b corresponding to the current I1c flows through the NMOS transistor Tn1. When the current I3a flows, the PMOS transistor Tp2 is turned on, and the current I3ac flows instantaneously through the PMOS transistor Tp2. On the other hand, the current I3b flows through the NMOS transistor Tn1. The currents I3ac and I3b ultimately have the same current value.

[0040] On the other hand, when the AC component of the output voltage VOUT drops sharply, as described above, the current I3a flows through the PMOS transistor Tp1. In this case, the PMOS transistor Tp2 is turned on, and the current I3ac flows through the PMOS transistor Tp2 instantaneously. Meanwhile, the current I3b flows through the NMOS transistor Tn1.

[0041] The first current comparator 32 compares the current I3ac with the current I3b. The current I3b is used as a reference current for comparison with the current I3ac.

[0042] When the current I3ac does not flow, the voltage Vnd10 is set to a voltage close to the voltage VSS (set to the "L" level). In other words, the first current comparator 32 sets the voltage Vnd10 to the "L" level. Note that the voltage close to the voltage VSS is, for example, a voltage lower than the threshold voltage of the NMOS transistor N5.

[0043] When the current I3ac flows, if the current I3ac is larger than the current I3b, the voltage Vnd10 rises, so the voltage Vnd10 is set to a voltage close to the voltage VIN (set to the "H" level). In other words, the first current comparator 32 sets the voltage Vnd10 to the "H" level. This is the case, for example, when the AC component of the output voltage VOUT drops sharply. Note that a voltage close to the voltage VIN is, for example, a voltage higher than the threshold voltage of the NMOS transistor N5. When the current I3ac is smaller than the current I3b, the voltage Vnd10 drops, so the voltage Vnd10 is set to a voltage close to the voltage VSS (set to the "L" level). In other words, the first current comparator 32 sets the voltage Vnd10 to the "L" level. This is the case, for example, when there is no fluctuation in the AC component of the output voltage VOUT or when the AC component of the output voltage VOUT drops gently. Furthermore, when the current I3ac is equal to the current I3b, the voltage Vnd10 is maintained at a voltage close to the voltage VSS (maintained at the “L” level). In other words, the first current comparator 32 maintains the voltage Vnd10 at the “L” level.

[0044] The NMOS transistor Tn2 is provided to adjust the current I3a. One end of the NMOS transistor Tn2 is connected to the node ND11, the other end is connected to the node ND2, and the gate is connected to the node ND6. That is, the NMOS transistors N3 and Tn2 form a current mirror. A current I3c corresponding to the current I1c flows through the NMOS transistor Tn2. Therefore, the current I3a is biased by the current I3c. The current value of the current I3c may be switched by a resistor or an eFuse.

[0045] 1.2 Mode selection operation The mode selection operation of the constant voltage circuit 1 according to this embodiment will be described with reference to Fig. 2 and Fig. 3. Fig. 2 and Fig. 3 are flowcharts showing the mode selection operation of the constant voltage circuit 1. In the following, an example will be described in which the constant voltage circuit 1 transitions from the low current consumption mode to the high-speed response mode, and then from the high-speed response mode to the low current consumption mode.

[0046] The constant voltage circuit 1 executes the low current consumption mode (S10). When S10 is executed, the first voltage monitor circuit 30 sets the voltage Vnd10 to the "L" level. The NMOS transistor N5 is turned off based on the "L" level voltage Vnd10.

[0047] Next, the first current comparator 32 compares the current I3ac with the current I3b. If the current I3ac is equal to or less than the current I3b (S11_No), the first current comparator 32 maintains the voltage Vnd10 at the “L” level. That is, the constant voltage circuit 1 maintains the low current consumption mode. On the other hand, if the current I3ac is greater than the current I3b (S11_Yes), the first current comparator 32 sets the voltage Vnd10 to the “H” level (S12).

[0048] The NMOS transistor N5 is turned on based on the voltage Vnd10 at the "H" level (S13). As a result, the constant voltage circuit 1 executes the high-speed response mode (S14).

[0049] Next, the first current comparator 32 compares the current I3ac with the current I3b. If the current I3ac is greater than the current I3b (S15_Yes), the first current comparator 32 maintains the voltage Vnd10 at the “H” level. That is, the constant voltage circuit 1 maintains the high-speed response mode. On the other hand, if the current I3ac is equal to or less than the current I3b (S15_No), the first current comparator 32 sets the voltage Vnd10 to the “L” level (S16).

[0050] The NMOS transistor N5 is turned off based on the voltage Vnd10 at the "L" level (S17). As a result, the constant voltage circuit 1 executes the low current consumption mode (S18).

[0051] 1.3 Effects The configuration according to this embodiment can realize high-speed response and low current consumption of the constant voltage circuit. The effect of this embodiment will be described below with reference to Fig. 4. Fig. 4 is a diagram for explaining the effect of the constant voltage circuit 1 according to this embodiment.

[0052] As shown in FIG. 4, in the constant voltage circuit 1 according to this embodiment, the output voltage VOUT is a voltage value in a steady state during the period from time t0 to time t1, there is no load, and the operating current of the first gain stage 10 is I1a. Assume that a load occurs at time t1. In this case, the load current increases at time t1, and the output voltage VOUT drops sharply from the voltage value in the steady state. However, at time t2, the output voltage VOUT returns to the voltage value in the steady state. This is because, at time t1, the first voltage-current conversion circuit 31 converts the steep drop in the AC component of the output voltage VOUT into a current I3a, and the first current comparator 32 controls the voltage Vnd10 of the node ND10 to the “H” level based on the current I3ac corresponding to the current I3a, and the NMOS transistor N5 is turned on, so that the operating current increases to I1a+I1b. Then, at time t2, the operating current returns to I1a. This is because at time t2, the first current comparator 32 controls the voltage Vnd10 of the node ND10 to the "L" level, and the NMOS transistor N5 is turned off, so that the operating current decreases to I1a.

[0053] In this way, when the AC component of the output voltage VOUT drops sharply, the constant voltage circuit 1 according to this embodiment can increase the operating current of the first gain stage 10 based on the amount of drop. This makes it possible to shorten the time it takes for the output voltage VOUT to return to a steady state. In other words, the constant voltage circuit 1 according to this embodiment can achieve high-speed response.

[0054] Furthermore, when there is no fluctuation in the AC component of the output voltage VOUT or when the AC component of the output voltage VOUT drops gradually, the constant voltage circuit 1 according to this embodiment controls the voltage Vnd10 of the node ND10 to the “L” level and turns off the NMOS transistor N5, thereby achieving low current consumption.

[0055] Furthermore, the constant voltage circuit 1 according to this embodiment includes an NMOS transistor Tn2. By passing a current I3c through the NMOS transistor Tn2, the current I3a flowing through the PMOS transistor Tp1 is biased. This shortens the time until the voltage difference between the gate and source of the PMOS transistor Tp1 exceeds the threshold voltage and the current I3a starts to flow through the PMOS transistor Tp1. In other words, the response speed of the PMOS transistor Tp1 can be improved. This shortens the time until the current I3ac starts to flow through the PMOS transistor Tp2.

[0056] In the constant voltage circuit 1 according to the present embodiment, the NMOS transistors Tn1 and Tn2 form a current mirror with the NMOS transistor N3, and the PMOS transistor Tp1 forms a current mirror with the PMOS transistor Tp2. Current mirror circuits are generally arranged in pairs in consideration of mismatch during layout design. This makes it possible to suppress the variation in the current values ​​of the currents I3b and I3c generated by the NMOS transistors Tn1 and Tn2. Similarly, it is possible to suppress the variation in the current values ​​of the currents I3a and I3ac generated by the PMOS transistors Tp1 and Tp2. As a result, it is possible to suppress the mismatch and variation of the first current comparator 32.

[0057] 2. Second embodiment A constant voltage circuit 1 according to a second embodiment will be described. The constant voltage circuit 1 according to this embodiment differs from the first embodiment in that it includes a current monitor circuit 40 and an OR circuit OR1. The following description will focus on the differences from the first embodiment.

[0058] 2.1 Circuit configuration of constant voltage circuit 1 The circuit configuration of the constant voltage circuit 1 according to this embodiment will be described with reference to Fig. 5. Fig. 5 is a circuit diagram showing an example of the constant voltage circuit 1.

[0059] The constant voltage circuit 1 further includes a current monitor circuit 40 and an OR circuit OR1.

[0060] The current monitor circuit 40 monitors the output current flowing through the output voltage terminal T3 as well as the current flowing through the resistor elements RF and RS, i.e., the current flowing through the PMOS transistor Pp, and outputs a voltage Vr according to the current value. The current monitor circuit 40 includes a PMOS transistor PM and a comparator CM1.

[0061] One end of the PMOS transistor PM is connected to a node ND1, and the other end is connected to a node ND12. A node ND4 is connected to the gate of the PMOS transistor PM. In other words, an output voltage V1 of the first gain stage 10 is applied to the gate of the PMOS transistor PM. For example, when the voltage V1 fluctuates due to a fluctuation (increase) in the output current (load current) of the constant voltage circuit 1, a current (current corresponding to the current flowing through the PMOS transistor Pp; hereinafter, referred to as "current Ind12") flowing from the node ND1 to the node ND12 via the PMOS transistor PM fluctuates (increases).

[0062] A threshold current Ith is supplied to the inverting input terminal of the comparator CM1. The threshold current Ith is a current used to determine the current Ind12 flowing through the node ND12. A non-inverting input terminal of the comparator CM1 is connected to the node ND12. The current Ind12 flowing through the node ND12 is supplied to the non-inverting input terminal of the comparator CM1. A voltage Vr is output from the output terminal of the comparator CM1. For example, during a period when the current Ind12 is greater than the threshold current Ith, the comparator CM1 outputs a voltage Vr at an “H” level. On the other hand, during a period when the current Ind12 is equal to or less than the threshold current Ith, the comparator CM1 outputs a voltage Vr at an “L” level.

[0063] The OR circuit OR1 has two input terminals. The voltage Vnd10 of the node ND10 is applied to one input terminal of the OR circuit OR1, and the voltage Vr is input to the other input terminal. The OR circuit OR1 performs an OR operation based on the voltages Vnd10 and Vr. The OR circuit OR1 transmits the operation result as a mode signal MS to the gate of the NMOS transistor N5. Specifically, when at least one of the voltages Vnd10 and Vr is at the “H” level, the OR circuit OR1 transmits the mode signal MS at the “H” level. When both the voltages Vnd10 and Vr are at the “L” level, the OR circuit OR1 transmits the mode signal MS at the “L” level.

[0064] The NMOS transistor N5 operates based on the mode signal MS received from the OR circuit OR1.

[0065] Other configurations of the constant voltage circuit 1 are similar to those of the first embodiment shown in FIG.

[0066] For example, the value of the current I1b to be added may be changed depending on whether the output voltage VOUT is decreasing or the load current is increasing.

[0067] 2.2 Mode selection operation The mode selection operation of the constant voltage circuit 1 according to this embodiment will be described with reference to Figs. 6 and 7. Figs. 6 and 7 are flowcharts showing the mode selection operation of the constant voltage circuit 1. Operations S30 to S35 are added to the operations S10 to S18 in Figs. 2 and 3 of the first embodiment. The operations S10 to S18 are similar to those in Figs. 2 and 3 of the first embodiment. The following description will focus on the operations S30 to S35.

[0068] After steps S10 to S12 are executed, the voltage Vr becomes the “L” level.

[0069] When the current Ind12 is equal to or less than the threshold current Ith (S30_No), the current monitor circuit 40 maintains the voltage Vr at the “L” level. On the other hand, when the current Ind12 is greater than the threshold current Ith (S30_Yes), the current monitor circuit 40 sets the voltage Vr to the “H” level (S31). In other words, in the comparator CM1, during the period when the current Ind12 at the non-inverting input terminal is greater than the threshold current Ith at the inverting input terminal, the comparator CM1 outputs the voltage Vr at the “H” level.

[0070] The NMOS transistor N5 is maintained in the off state when both the voltage Vnd10 and the voltage Vr are at the “L” level (S32_No). On the other hand, the NMOS transistor N5 is turned on (S13) when at least one of the voltages Vnd10 and Vr is at the “H” level (S32_Yes).

[0071] After steps S13 to S16 are executed, the voltage Vr becomes the “H” level.

[0072] If the current Ind12 is greater than the threshold current Ith (S33_Yes), the current monitor circuit 40 maintains the voltage Vr at the “H” level. On the other hand, if the current Ind12 is equal to or less than the threshold current Ith (S33_No), the current monitor circuit 40 sets the voltage Vr to the “L” level (S34). In other words, in the comparator CM1, during the period in which the current Ind12 at the non-inverting input terminal is equal to or less than the threshold current Ith at the inverting input terminal, the comparator CM1 outputs the voltage Vr at the “L” level.

[0073] The NMOS transistor N5 is maintained in the on state when at least one of the voltages Vnd10 and Vr is at the “H” level (S35_No). On the other hand, the NMOS transistor N5 is turned off (S17) when both the voltages Vnd10 and Vr are at the “L” level (S35_Yes).

[0074] 2.3 Effects The configuration according to this embodiment provides the same effects as the first embodiment.

[0075] Furthermore, since the configuration according to this embodiment includes the current monitor circuit 40, a high-speed response can be maintained when the load current is increasing, regardless of whether or not there is a fluctuation in the output voltage VOUT.

[0076] 3. Third embodiment A constant voltage circuit 1 according to a third embodiment will be described. The constant voltage circuit 1 according to this embodiment differs from the first embodiment in that it includes a second gain stage 50. The following description will focus on the differences from the first embodiment.

[0077] 3.1 Circuit configuration of constant voltage circuit 1 The circuit configuration of the constant voltage circuit 1 according to this embodiment will be described with reference to Fig. 8. Fig. 8 is a circuit diagram showing an example of the constant voltage circuit 1.

[0078] The constant voltage circuit 1 further includes a second gain stage 50 .

[0079] The second gain stage 50 amplifies the output voltage V1 of the first gain stage 10, and outputs the amplified voltage to the output stage 20. The second gain stage 50 includes a PMOS transistor P3 and NMOS transistors N6 to N8.

[0080] One end of the PMOS transistor P3 is connected to the node ND1, and the other end is connected to a node ND13. The node ND4 is connected to the gate of the PMOS transistor P3. In other words, the output voltage V1 of the first gain stage 10 is applied to the gate of the PMOS transistor P3.

[0081] One end of the NMOS transistor N6 is connected to the node ND13, the other end is connected to the node ND2, and the gate is connected to the node ND6. That is, the NMOS transistors N3 and N6 configure a current mirror. A current I5a corresponding to the current I1c flows through the NMOS transistor N6.

[0082] One end of the NMOS transistor N7 is connected to the node ND15, the other end is connected to the node ND2, and the gate is connected to the node ND6. That is, the NMOS transistors N3 and N7 configure a current mirror.

[0083] One end of the NMOS transistor N8 is connected to the node ND13, the other end is connected to the node ND15, and the gate is connected to the node ND10. The NMOS transistor N8 operates based on the voltage Vnd10 of the node ND10.

[0084] For example, the NMOS transistor N8 is turned on when the voltage Vnd10 is at the "H" level, and turned off when the voltage Vnd10 is at the "L" level. When the NMOS transistor N8 is turned on, a current I5b corresponding to the current I1c flows through the NMOS transistors N7 and N8. For example, the current I5b is larger than the current I5a. In the low current consumption mode, the operating current I5a flows through the second gain stage 50, and in the high-speed response mode, the operating current (I5a+I5b) flows through the second gain stage 50. The operating current (I5a+I5b) is larger than the operating current I5a. Therefore, the output stage 20 of the next stage can be driven faster in the high-speed response mode than in the low current consumption mode.

[0085] The node ND13 is connected to the gate of the PMOS transistor Pp of the output stage 20. In other words, the output voltage V2 of the second gain stage 50 is applied to the gate of the PMOS transistor Pp.

[0086] A reference voltage VREF is applied to the gate of the NMOS transistor N1.

[0087] The voltage VFB is applied to the gate of the NMOS transistor N2.

[0088] Other configurations of the constant voltage circuit 1 are similar to those of the first embodiment shown in FIG.

[0089] For example, when the voltage Vnd10 is at the "H" level, only one of the NMOS transistors N5 and N8 may be turned on.

[0090] In addition, the second gain stage 50 may eliminate the NMOS transistor N6 and configure a current mirror with another current source, an NMOS transistor, and an NMOS transistor N7. In this case, the NMOS transistors Tn1 and Tn2 of the first voltage monitor circuit 30 may configure a current mirror with the NMOS transistor of the first gain stage 10, or may configure a current mirror with the NMOS transistor of the second gain stage 50.

[0091] 3.2 Mode selection operation A mode selection operation of the constant voltage circuit 1 according to this embodiment will be described. The flow chart showing the mode selection operation of the constant voltage circuit 1 according to this embodiment is obtained by replacing "N5" of S13 and S17 with "N5 and N8" in Figs. 2 and 3 of the first embodiment.

[0092] 3.3 Effects The configuration according to this embodiment provides the same effects as those of the first embodiment. Of course, this embodiment can also be applied to the second embodiment.

[0093] 4. Fourth embodiment A constant voltage circuit 1 according to the fourth embodiment will be described. In the constant voltage circuit 1 according to this embodiment, the configurations of the first gain stage 10 and the first voltage monitor circuit 30 are different from those of the first embodiment. In order to distinguish it from the first embodiment, the first voltage monitor circuit 30 will be written as a first voltage monitor circuit 30a. The following description will focus on the differences from the first embodiment.

[0094] 4.1 Circuit configuration of constant voltage circuit 1 The circuit configuration of the constant voltage circuit 1 according to this embodiment will be described with reference to Fig. 9. Fig. 9 is a circuit diagram showing an example of the constant voltage circuit 1.

[0095] In the first gain stage 10, the NMOS transistors N3 and N4 and the current source 12 in FIG. 1 of the first embodiment are eliminated.

[0096] The first voltage monitor circuit 30a further includes an NMOS transistor Tn3 and a current source 33.

[0097] One end and a gate of the NMOS transistor Tn3 are connected to the node ND16, and the other end is connected to the node ND2. The gate of the NMOS transistor Tn2 is connected to the node ND16. That is, the NMOS transistors Tn3 and Tn2 configure a current mirror.

[0098] An input voltage VIN is applied to one end of the current source 33. The other end of the current source 33 is connected to a node ND16. A current I3d flows from the current source 33 to the node ND2 via the NMOS transistor Tn3. A current I3c corresponding to the current I3d flows in the NMOS transistor Tn2.

[0099] 1 of the first embodiment is eliminated in the first current comparator 32. The first current comparator 32 further includes NMOS transistors Tn4-1 to Tn4-m (m is an integer of 1 or more), Tn5-1 to Tn5-m, and a current source .

[0100] The NMOS transistors Tn4-1 to Tn4-m are connected in series. One end of the series-connected NMOS transistors Tn4-1 to Tn4-m is connected to a node ND17. The other end of the series-connected NMOS transistors Tn4-1 to Tn4-m is connected to a node ND2. The gates of the NMOS transistors Tn4-1 to Tn4-m are connected to the node ND17.

[0101] An input voltage VIN is applied to one end of the current source 34. The other end of the current source 34 is connected to a node ND17. A current I3e flows from the current source 34 to the NMOS transistors Tn4-1 to Tn4-m.

[0102] The NMOS transistors Tn5-1 to Tn5-m are connected in series. One end of the series-connected NMOS transistors Tn5-1 to Tn5-m is connected to a node ND10. The other end of the series-connected NMOS transistors Tn5-1 to Tn5-m is connected to a node ND2. The gates of the NMOS transistors Tn5-1 to Tn5-m are connected to a node ND17. That is, the NMOS transistors Tn4-1 to Tn4-m and the NMOS transistors Tn5-1 to Tn5-m form a current mirror. A current I3b corresponding to the current I3e flows through the NMOS transistors Tn5-1 to Tn5-m. Since the NMOS transistors Tn5-1 to Tn5-m are connected in series, the current I3b has a high constant current characteristic.

[0103] In the first current comparator 32, the PMOS transistor Tp2 has a shorter gate length L than the PMOS transistor Tp1. In this case, due to the channel length modulation effect of the PMOS transistor Tp2, the current I3ac increases compared to when the gate length L is long. When the current I3ac increases, the voltage Vnd10 of the node ND10 increases. On the other hand, when the voltage Vnd10 increases, the current I3b increases. Therefore, the voltage Vnd10 increases little by little. In other words, the first current comparator 32 changes the voltage Vnd10 of the node ND10 gradually. Therefore, the voltage Vnd10 is set to a voltage value between the voltage VSS and the voltage VIN. The voltage Vnd10 increases as the amount of decrease in the output voltage VOUT increases, and decreases as the amount of decrease in the output voltage VOUT decreases. When the current I3ac does not flow, the voltage Vnd10 is set to a voltage close to the voltage VSS.

[0104] When the voltage Vnd10 exceeds the threshold voltage Vth5 of the NMOS transistor N5, the NMOS transistor N5 is turned on, and a current I1b corresponding to the voltage Vnd10 flows through the first gain stage .

[0105] Other configurations of the constant voltage circuit 1 are similar to those of the first embodiment shown in FIG.

[0106] 4.2 Mode selection operation The mode selection operation of the constant voltage circuit 1 according to this embodiment will be described with reference to FIG. 10 and FIG. 11. FIG. 10 and FIG. 11 are flowcharts showing the mode selection operation of the constant voltage circuit 1. In this embodiment, when the output voltage VOUT drops, the first current comparator 32 changes the voltage Vnd10 of the node ND10 gradually. This causes the NMOS transistor N5 to transition gradually from the off state to the on state. In other words, the operating current of the first gain stage 10 changes gradually. Therefore, the constant voltage circuit 1 transitions gradually from the low current consumption mode to the high speed response mode. In the following, a case will be described as an example in which the operating current of the first gain stage 10 changes from the current I1a (constant value) to the current I1a+I1b (variable value) and then changes from the current I1a+I1b to the current I1a.

[0107] The constant voltage circuit 1 sets the operating current of the first gain stage 10 to a constant value (current I1a) (S40). When S40 is executed, the first voltage monitor circuit 30a sets the voltage Vnd10 to a voltage according to the amount of decrease in the output voltage VOUT. The NMOS transistor N5 is turned off based on the voltage Vnd10.

[0108] The NMOS transistor N5 is turned on when the voltage Vnd10 controlled by the first current comparator 32 is greater than the threshold voltage Vth5 of the NMOS transistor N5 (S41_Yes). As a result, the constant voltage circuit 1 sets the operating current of the first gain stage 10 to a variable value (current I1a+I1b) (S42). On the other hand, the NMOS transistor N5 maintains its off state when the voltage Vnd10 is equal to or lower than the threshold voltage Vth5 (S41_No). That is, the constant voltage circuit 1 maintains the operating current of the first gain stage 10 at a constant value (current I1a).

[0109] The NMOS transistor N5 maintains the ON state when the voltage Vnd10 controlled by the first current comparator 32 is greater than the threshold voltage Vth5 of the NMOS transistor N5 (S43_Yes). That is, the constant voltage circuit 1 maintains the operating current of the first gain stage 10 at a variable value (current I1a+I1b). On the other hand, the NMOS transistor N5 is turned OFF when the voltage Vnd10 is equal to or lower than the threshold voltage Vth5 (S43_No). As a result, the constant voltage circuit 1 sets the operating current of the first gain stage 10 to a constant value (current I1a) (S44).

[0110] 4.3 Effects The configuration according to this embodiment provides the same effects as the first embodiment.

[0111] Moreover, in the constant voltage circuit 1 according to this embodiment, the first current comparator 32 can control the voltage Vnd10 of the node ND10 to a higher voltage value as the amount of drop in the output voltage VOUT increases, and to a lower value as the amount of drop in the output voltage VOUT decreases. Therefore, when the voltage Vnd10 exceeds the threshold voltage Vth5 and the NMOS transistor N5 is turned on, a current according to the voltage Vnd10 flows through the NMOS transistor N5. That is, the operating current of the first gain stage 10 can be made variable according to the amount of drop in the output voltage VOUT. The operating current of the first gain stage 10 becomes larger as the amount of drop in the output voltage VOUT increases, and becomes smaller as the amount of drop in the output voltage VOUT decreases.

[0112] 5. Fifth embodiment A constant voltage circuit 1 according to the fifth embodiment will be described. In the constant voltage circuit 1 according to this embodiment, the configurations of the first gain stage 10 and the first current comparator 32 are different from those of the fourth embodiment. The flow chart showing the mode selection operation is the same as that of the fourth embodiment in Figs. 10 and 11. The following description will focus on the points different from the fourth embodiment.

[0113] 5.1 Circuit configuration of constant voltage circuit 1 The circuit configuration of the constant voltage circuit 1 according to this embodiment will be described with reference to Fig. 12. Fig. 12 is a circuit diagram showing an example of the constant voltage circuit 1.

[0114] 9 of the fourth embodiment is eliminated in the first gain stage 10. The first gain stage 10 further includes NMOS transistors N5-1 to N5-k (k is an integer of 1 or more).

[0115] The NMOS transistors N5-1 to N5-k are connected in series. One end of the series-connected NMOS transistors N5-1 to N5-k is connected to a node ND5. The other end of the series-connected NMOS transistors N5-1 to N5-k is connected to a node ND2. The gates of the NMOS transistors N5-1 to N5-k are connected to a node ND10. Each of the NMOS transistors N5-1 to N5-k operates based on a voltage Vnd10 of the node ND10. Since the NMOS transistors N5-1 to N5-k are connected in series, the current I1b has a low gain. That is, the current I1b is smaller than when the NMOS transistors N5-1 to N5-k are not connected in series.

[0116] In the first current comparator 32, the NMOS transistors Tn4-1 to Tn4-m, Tn5-1 to Tn5-m, and the current source 34 in Fig. 9 of the fourth embodiment are eliminated. The first current comparator 32 further includes a resistive element R1.

[0117] One end of the resistor R1 is connected to a node ND10, and the other end is connected to a node ND2. The resistor R1 may be a variable resistor.

[0118] In the first current comparator 32, the PMOS transistor Tp2 has a shorter gate length L than the PMOS transistor Tp1. In this case, due to the channel length modulation effect of the PMOS transistor Tp2, the current I3ac increases compared to when the gate length L is long, and the voltage Vnd10 of the node ND10 increases. As a result, the first current comparator 32 changes the voltage Vnd10 of the node ND10 gradually. Therefore, the voltage Vnd10 is set to a voltage value between the voltage VSS and the voltage VIN. The voltage Vnd10 increases as the amount of decrease in the output voltage VOUT increases, and decreases as the amount of decrease in the output voltage VOUT decreases.

[0119] Each of the NMOS transistors N5-1 to N5-k is turned on when the voltage Vnd10 exceeds the threshold voltage Vth5 of each of the NMOS transistors N5-1 to N5-k, and a current I1b according to the voltage Vnd10 flows through the first gain stage .

[0120] Other configurations of the constant voltage circuit 1 are similar to those of the fourth embodiment shown in FIG.

[0121] 5.2 Effects The configuration according to this embodiment provides the same effects as the fourth embodiment.

[0122] 6. Sixth embodiment A constant voltage circuit 1 according to the sixth embodiment will be described. In the constant voltage circuit 1 according to this embodiment, the configuration of the first current comparator 32 is different from that of the fourth embodiment. The flow chart showing the mode selection operation is the same as that of the fourth embodiment in Figs. 10 and 11. The following description will focus on the points different from the fourth embodiment.

[0123] 6.1 Circuit configuration of constant voltage circuit 1 The circuit configuration of the constant voltage circuit 1 according to this embodiment will be described with reference to Fig. 13. Fig. 13 is a circuit diagram showing an example of the constant voltage circuit 1.

[0124] In the first current comparator 32, the NMOS transistors Tn4-1 to Tn4-m, Tn5-1 to Tn5-m, and the current source 34 in Fig. 9 of the fourth embodiment are eliminated. The first current comparator 32 further includes an NMOS transistor Tn6.

[0125] One end and a gate of the NMOS transistor Tn6 are connected to the node ND10, and the other end is connected to the node ND2. The gate of the NMOS transistor N5 is connected to the node ND10. That is, the NMOS transistors Tn6 and N5 configure a current mirror.

[0126] In the first current comparator 32, when the current I3ac flows, the voltage Vnd10 of the node ND10 rises, and the current I3ac flows through the NMOS transistor Tn6. As a result, the first current comparator 32 slowly changes the voltage Vnd10 of the node ND10. Therefore, the voltage Vnd10 is set to a voltage value between the voltage VSS and the voltage VIN. The voltage Vnd10 increases as the amount of decrease in the output voltage VOUT increases, and decreases as the amount of decrease in the output voltage VOUT decreases.

[0127] When the voltage Vnd10 exceeds the threshold voltage Vth5 of the NMOS transistor N5, the NMOS transistor N5 is turned on, and a current I1b according to the voltage Vnd10, that is, a current multiplied by the mirror ratio of the current I3ac, flows through the first gain stage 10.

[0128] Other configurations of the constant voltage circuit 1 are similar to those of the fourth embodiment shown in FIG.

[0129] 6.2 Effects The configuration according to this embodiment provides the same effects as the fourth embodiment.

[0130] 7. Seventh embodiment A constant voltage circuit 1 according to a seventh embodiment will be described. The constant voltage circuit 1 according to this embodiment differs from the fourth embodiment in that it includes a second gain stage 50. The following description will focus on the differences from the fourth embodiment.

[0131] 7.1 Circuit configuration of constant voltage circuit 1 The circuit configuration of the constant voltage circuit 1 according to this embodiment will be described with reference to Fig. 14. Fig. 14 is a circuit diagram showing an example of the constant voltage circuit 1.

[0132] The constant voltage circuit 1 further includes a second gain stage 50 .

[0133] In the second gain stage 50, the NMOS transistors N6 and N7 in the third embodiment of FIG.

[0134] One end of the current source 51 is connected to the node ND13, and the other end is connected to the node ND2. A current I5a flows from the current source 51 to the node ND2.

[0135] Other configurations of the second gain stage 50 are similar to those of the third embodiment shown in FIG.

[0136] Other configurations of the constant voltage circuit 1 are similar to those of the fourth embodiment shown in FIG.

[0137] The first voltage monitor circuit 30a may be the first voltage monitor circuit 30a of the fifth or sixth embodiment.

[0138] 7.2 Mode Selection Operation The mode selection operation of the constant voltage circuit 1 according to this embodiment will be described. The flowchart showing the mode selection operation of the constant voltage circuit 1 according to this embodiment differs from that of the fourth embodiment shown in FIGS. 10 and 11 in that the operation of the second gain stage 50 is added. The mode selection operation of the constant voltage circuit 1 will be described below with reference to FIGS. 10 and 11.

[0139] In S40 of FIG. 10, the constant voltage circuit 1 sets the operating current of the first gain stage 10 to a constant value (current I1a), and sets the operating current of the second gain stage 50 to a constant value (current I5a).

[0140] In S41 of FIG. 10, if the voltage Vnd10 is greater than the threshold voltage Vth5 of the NMOS transistor N5 or greater than the threshold voltage Vth8 of the NMOS transistor N8 (S41_Yes), the transistor of the NMOS transistors N5 and N8 whose threshold voltage has exceeded the threshold voltage is turned on. As a result, the constant voltage circuit 1 sets the operating current of the first gain stage 10 to a variable value (current I1a+I1b) and the operating current of the second gain stage 50 to a variable value (current I5a+I5b) (S42). On the other hand, if the voltage Vnd10 is equal to or less than the threshold voltage Vth5 and equal to or less than the threshold voltage Vth8 (S41_No), the NMOS transistors N5 and N8 maintain the off state. That is, the constant voltage circuit 1 maintains the operating current of the first gain stage 10 at a constant value (current I1a) and the operating current of the second gain stage 50 at a constant value (current I5a).

[0141] In S43 of FIG. 11, if the voltage Vnd10 is greater than the threshold voltage Vth5 of the NMOS transistor N5 or greater than the threshold voltage Vth8 of the NMOS transistor N8 (S43_Yes), the transistor of the NMOS transistors N5 and N8 whose threshold voltage has exceeded the threshold voltage is maintained in the ON state. That is, the constant voltage circuit 1 maintains the operating current of the first gain stage 10 at a variable value (current I1a+I1b) and maintains the operating current of the second gain stage 50 at a variable value (current I5a+I5b). On the other hand, if the voltage Vnd10 is equal to or less than the threshold voltage Vth5 and equal to or less than the threshold voltage Vth8 (S43_No), the NMOS transistors N5 and N8 are turned off. As a result, the constant voltage circuit 1 sets the operating current of the first gain stage 10 to a constant value (current I1a) and sets the operating current of the second gain stage 50 to a constant value (current I5a) (S44).

[0142] 7.3 Effects The configuration according to this embodiment provides the same effects as the fourth embodiment.

[0143] 8. Eighth embodiment A constant voltage circuit 1 according to an eighth embodiment will be described. The constant voltage circuit 1 according to this embodiment differs from the first embodiment in that it includes a second voltage monitor circuit 60. Furthermore, in the constant voltage circuit 1 according to this embodiment, the configuration of the first gain stage 10 differs from that of the first embodiment. The following description will focus on the differences from the first embodiment.

[0144] 8.1 Circuit configuration of constant voltage circuit 1 The circuit configuration of the constant voltage circuit 1 according to this embodiment will be described with reference to Fig. 15. Fig. 15 is a circuit diagram showing an example of the constant voltage circuit 1. Note that in Fig. 15, the wiring between the first voltage monitor circuit 30 in Fig. 1 of the first embodiment and the nodes ND1 and ND2 is omitted.

[0145] The constant voltage circuit 1 further includes a second voltage monitor circuit 60.

[0146] The second voltage monitor circuit 60 monitors the increase in the output voltage VOUT and controls the voltage Vnd21 of the node ND21 in response to the increase. The second voltage monitor circuit 60 includes a second voltage-current conversion circuit 61, a second current comparator 62, PMOS transistors Tp4 to Tp6, and NMOS transistors Tn8 and Tn10.

[0147] The second voltage-current converter 61 converts into a current the increase in the AC component of the output voltage VOUT, from which the DC component has been removed by the capacitance element CC. The second voltage-current converter 61 includes an NMOS transistor Tn7.

[0148] One end and the gate of the NMOS transistor Tn7 are connected to the node ND11, and the other end is connected to a node ND2. For example, when there is no fluctuation in the AC component of the output voltage VOUT or when the AC component of the output voltage VOUT rises slowly, the NMOS transistor Tn7 is turned off or on based on the voltage difference between the gate and the source. Therefore, no current I6a flows through the NMOS transistor Tn7, or a small current I6a flows through it. On the other hand, when the AC component of the output voltage VOUT rises steeply, the voltage of the node ND11 rises and the voltage difference between the gate and the source becomes large, so that the NMOS transistor Tn7 is turned on. Therefore, the current I6a flows through the NMOS transistor Tn7. The current I6a increases as the capacitance value of the capacitance element CC increases.

[0149] One end of the PMOS transistor Tp4 is connected to the node ND1, and the other end and the gate are connected to a node ND22.

[0150] One end of the NMOS transistor Tn8 is connected to the node ND22, the other end is connected to the node ND2, and the gate is connected to the node ND11. That is, the NMOS transistors Tn7 and Tn8 configure a current mirror.

[0151] A current I6ac' corresponding to the current I6a flows through the PMOS transistor Tp4 and the NMOS transistor Tn8.

[0152] The second current comparator 62 compares a current corresponding to the current I6a converted by the second voltage-current converter circuit 61 with a reference current, which will be described later, and controls the voltage Vnd21 according to the current difference. The second current comparator 62 includes a PMOS transistor Tp3 and an NMOS transistor Tn9.

[0153] One end of the PMOS transistor Tp3 is connected to the node ND1, the other end is connected to the node ND21, and the gate is connected to the node ND22. That is, the PMOS transistors Tp4 and Tp3 form a current mirror.

[0154] One end of the NMOS transistor Tn9 is connected to the node ND21, the other end is connected to the node ND2, and the gate is connected to the node ND6. That is, the NMOS transistors N3 and Tn9 configure a current mirror.

[0155] For example, when there is no fluctuation in the AC component of the output voltage VOUT or when the AC component of the output voltage VOUT rises slowly, as described above, the current I6a does not flow through the NMOS transistor Tn7, or a small current I6a flows through it. When the current I6a does not flow, the PMOS transistor Tp4 and the NMOS transistor Tn8 are turned off. The PMOS transistor Tp3 is also turned off. Therefore, the current I6ac' corresponding to the current I6a does not flow through the PMOS transistor Tp4 and the NMOS transistor Tn8. The current I6ac corresponding to the current I6ac' does not flow through the PMOS transistor Tp3. On the other hand, the current I6b corresponding to the current I1c flows through the NMOS transistor Tn9. Also, when the current I6a flows, the PMOS transistor Tp4 and the NMOS transistor Tn8 are turned on. The PMOS transistor Tp3 is also turned on. Therefore, the current I6ac' flows instantaneously through the PMOS transistor Tp4 and the NMOS transistor Tn8. A current I6ac flows instantaneously through the PMOS transistor Tp3. Meanwhile, a current I6b flows through the NMOS transistor Tn9. The currents I6ac and I6b eventually have the same current value.

[0156] On the other hand, when the AC component of the output voltage V rises sharply, as described above, the current I6a flows through the NMOS transistor Tn7. In this case, the PMOS transistor Tp3 is turned on, and the current I6ac flows through the PMOS transistor Tp3 instantaneously. Meanwhile, the current I6b flows through the NMOS transistor Tn9.

[0157] The second current comparator 62 compares the current I6ac with the current I6b, which is used as a reference current for comparison with the current I6ac.

[0158] When the current I6ac does not flow, the voltage Vnd21 is set to a voltage close to the voltage VSS (set to the “L” level). In other words, the second current comparator 62 sets the voltage Vnd21 to the “L” level.

[0159] When the current I6ac flows, if the current I6ac is larger than the current I6b, the voltage Vnd21 rises, so the voltage Vnd21 is set to a voltage close to the voltage VIN (set to the “H” level). In other words, the second current comparator 62 sets the voltage Vnd21 to the “H” level. This is the case, for example, when the AC component of the output voltage VOUT rises sharply. Note that the voltage close to the voltage VIN is, for example, a voltage higher than the threshold voltage of the NMOS transistor N11 described later. When the current I6ac is smaller than the current I6b, the voltage Vnd21 falls, so the voltage Vnd21 is set to a voltage close to the voltage VSS (set to the “L” level). In other words, the second current comparator 62 sets the voltage Vnd21 to the “L” level. This is the case, for example, when there is no fluctuation in the AC component of the output voltage VOUT or when the AC component of the output voltage VOUT rises gently. Note that the voltage close to the voltage VSS is, for example, a voltage smaller than the threshold voltage of the NMOS transistor N11 described later. When the current I6ac is equal to the current I6b, the voltage Vnd21 is maintained at a voltage close to the voltage VSS (maintained at the “L” level). In other words, the second current comparator 62 maintains the voltage Vnd21 at the “L” level.

[0160] One end of the PMOS transistor Tp5 is connected to the node ND1, and the other end and the gate are connected to a node ND20.

[0161] One end of the NMOS transistor Tn10 is connected to the node ND20, the other end is connected to the node ND2, and the gate is connected to the node ND6. That is, the NMOS transistors N3 and Tn10 form a current mirror.

[0162] A current I6d corresponding to the current I1c flows through the PMOS transistor Tp5 and the NMOS transistor Tn10.

[0163] The PMOS transistor Tp6 is provided to adjust the current I6a. One end of the PMOS transistor Tp6 is connected to the node ND1, the other end is connected to the node ND11, and the gate is connected to the node ND20. That is, the PMOS transistors Tp5 and Tp6 form a current mirror. A current I6c corresponding to the current I6d flows through the PMOS transistor Tp6. Therefore, the current I6a becomes a current biased by the current I6c.

[0164] The first gain stage 10 further includes NMOS transistors N10 and N11.

[0165] One end of the NMOS transistor N10 is connected to a node ND19, the other end is connected to a node ND2, and the gate is connected to a node ND6. That is, the NMOS transistors N3 and N10 form a current mirror.

[0166] One end of the NMOS transistor N11 is connected to the node ND5, the other end is connected to the node ND19, and the gate is connected to the node ND21. The NMOS transistor N11 operates based on a voltage Vnd21 of the node ND21.

[0167] For example, the voltage Vnd21 is set to the "H" level in the high-speed response mode, and is set to the "L" level in the low-current consumption mode. For example, the NMOS transistor N11 is set to the ON state when the voltage Vnd21 is at the "H" level, and is set to the OFF state when the voltage Vnd21 is at the "L" level. When the NMOS transistor N11 is in the ON state, a current I1d corresponding to the current I1c flows through the NMOS transistors N10 and N11. For example, the current I1d is a current larger than the current I1a. In the low-current consumption mode, the operating current I1a flows through the first gain stage 10, and in the high-speed response mode, the operating current (I1a+I1d) flows through the first gain stage 10. The operating current (I1a+I1d) is larger than the operating current I1a. Therefore, the output stage 20 of the next stage can be driven faster in the high-speed response mode than in the low-current consumption mode.

[0168] 8.2 Mode Selection Operation The mode selection operation of the constant voltage circuit 1 according to this embodiment will be described with reference to Figs. 16 and 17. Figs. 16 and 17 are flowcharts showing the mode selection operation of the constant voltage circuit 1. Operations S50 to S56 have been added to the operations S10 to S18 in Figs. 2 and 3 of the first embodiment. The operations S10 to S18 are similar to those in Figs. 2 and 3 of the first embodiment. The following description will focus on the operations S50 to S56.

[0169] After execution of S10, the voltages Vnd10 and Vnd21 are at the “L” level, and the NMOS transistors N5 and N11 are in the off state.

[0170] The second current comparator 62 compares the current I6ac with the current I6b. If the current I6ac is equal to or less than the current I6b (S50_No), the second current comparator 62 maintains the voltage Vnd21 at the “L” level. That is, the constant voltage circuit 1 maintains the low current consumption mode. On the other hand, if the current I6ac is greater than the current I6b (S50_Yes), the second current comparator 62 sets the voltage Vnd21 to the “H” level (S51).

[0171] The NMOS transistor N11 is turned on based on the voltage Vnd21 at the “H” level (S52), so that the constant voltage circuit 1 operates in the high-speed response mode (S53).

[0172] Next, the second current comparator 62 compares the current I6ac with the current I6b. If the current I6ac is greater than the current I6b (S54_Yes), the second current comparator 62 maintains the voltage Vnd21 at the “H” level. That is, the constant voltage circuit 1 maintains the high-speed response mode. On the other hand, if the current I6ac is equal to or less than the current I6b (S54_No), the second current comparator 62 sets the voltage Vnd21 to the “L” level (S55).

[0173] The NMOS transistor N11 is turned off by the voltage Vnd21 at the “L” level (S56). As a result, the constant voltage circuit 1 executes the low current consumption mode (S18).

[0174] 8.3 Effects The configuration according to this embodiment provides the same effects as the first embodiment.

[0175] Moreover, with the configuration according to this embodiment, a high-speed response can be achieved even when the output voltage VOUT rises. Hereinafter, this effect will be described with reference to FIG. 18. FIG. 18 is a diagram for explaining the effect of the constant voltage circuit 1 according to this embodiment. In FIG. 18, the period from time t0 to time t2 is the same as FIG. 4 of the first embodiment. Also, FIG. 18 shows, as an example, a case where the current I1b and the current I1d are the same.

[0176] As shown in FIG. 18, in the constant voltage circuit 1 according to this embodiment, the output voltage VOUT is a voltage value in a steady state during the period from time t2 to time t3, and the operating current of the first gain stage 10 is I1a. Assume that the load current is reduced at time t3. In this case, the output voltage VOUT rises steeply from the voltage value in the steady state at time t3. However, at time t5, the output voltage VOUT returns to the voltage value in the steady state. This is because, at time t3, the second voltage-current conversion circuit 61 converts the steep rise in the AC component of the output voltage VOUT into a current I6a, and the second current comparator 62 controls the voltage Vnd21 of the node ND21 to the “H” level based on the current I6ac corresponding to the current I6a, and the NMOS transistor N11 is turned on, so that the operating current increases to I1a+I1d. Then, at time t4, the operating current returns to I1a. This is because, at time t4, the second current comparator 62 controls the voltage Vnd21 of the node ND21 to the "L" level, and the NMOS transistor N11 is turned off, so that the operating current decreases to I1a.

[0177] In this way, when the AC component of the output voltage VOUT rises sharply, the constant voltage circuit 1 according to this embodiment can increase the operating current of the first gain stage 10 based on the amount of rise. This makes it possible to shorten the time it takes for the output voltage VOUT to return to a steady state. In other words, the constant voltage circuit 1 according to this embodiment can achieve high-speed response. Of course, this embodiment can also be applied to the second embodiment.

[0178] 9. Ninth embodiment A constant voltage circuit 1 according to the ninth embodiment will be described. In the constant voltage circuit 1 according to this embodiment, the configurations of the first gain stage 10 and the second voltage monitor circuit 60 are different from those of the eighth embodiment. In order to distinguish it from the eighth embodiment, the second voltage monitor circuit 60 will be referred to as a second voltage monitor circuit 60a. The following description will focus on the differences from the eighth embodiment.

[0179] 9.1 Circuit configuration of constant voltage circuit 1 The circuit configuration of the constant voltage circuit 1 according to this embodiment will be described with reference to Fig. 19. Fig. 19 is a circuit diagram showing an example of the constant voltage circuit 1. Note that in Fig. 19, wiring between the first voltage monitor circuit 30 and the nodes ND1 and ND2 is omitted.

[0180] In the first gain stage 10, the NMOS transistor N10 in FIG. 15 of the eighth embodiment is eliminated.

[0181] 15 of the eighth embodiment is eliminated. The second current comparator 62 further includes NMOS transistors Tn11-1 to Tn11-q (q is an integer of 1 or more), Tn12-1 to Tn12-q, and a current source 64.

[0182] The NMOS transistors Tn11-1 to Tn11-q are connected in series. One end of the series-connected NMOS transistors Tn11-1 to Tn11-q is connected to a node ND23. The other end of the series-connected NMOS transistors Tn11-1 to Tn11-q is connected to a node ND2. The gates of the NMOS transistors Tn11-1 to Tn11-q are connected to the node ND23.

[0183] An input voltage VIN is applied to one end of the current source 64. The other end of the current source 64 is connected to the node ND23. A current I6e flows from the current source 64 to the NMOS transistors Tn11-1 to Tn11-q.

[0184] The NMOS transistors Tn12-1 to Tn12-q are connected in series. One end of the series-connected NMOS transistors Tn12-1 to Tn12-q is connected to a node ND21. The other end of the series-connected NMOS transistors Tn12-1 to Tn12-q is connected to a node ND2. The gates of the NMOS transistors Tn12-1 to Tn12-q are connected to a node ND23. That is, the NMOS transistors Tn11-1 to Tn11-q and the NMOS transistors Tn12-1 to Tn12-q form a current mirror. A current I6b corresponding to the current I6e flows through the NMOS transistors Tn12-1 to Tn12-q. Since the NMOS transistors Tn12-1 to Tn12-q are connected in series, the current I6b has a high constant current characteristic.

[0185] In the second current comparator 62, the PMOS transistor Tp3 has a shorter gate length L than the PMOS transistor Tp4. In this case, due to the channel length modulation effect of the PMOS transistor Tp3, the current I6ac increases compared to when the gate length L is long. When the current I6ac increases, the voltage Vnd21 of the node ND21 increases. On the other hand, when the voltage Vnd21 increases, the current I6b increases. Therefore, the voltage Vnd21 increases little by little. In other words, the second current comparator 62 changes the voltage Vnd21 of the node ND21 gradually. Therefore, the voltage Vnd21 is set to a voltage value between the voltage VSS and the voltage VIN. The voltage Vnd21 increases as the increase in the output voltage VOUT increases, and decreases as the increase in the output voltage VOUT decreases. When the current I6ac does not flow, the voltage Vnd21 is set to a voltage close to the voltage VSS.

[0186] When the voltage Vnd21 exceeds the threshold voltage Vth11 of the NMOS transistor N11, the NMOS transistor N11 is turned on, and a current I1d according to the voltage Vnd21 flows through the first gain stage 10.

[0187] Other configurations of the constant voltage circuit 1 are similar to those of the eighth embodiment shown in FIG.

[0188] 9.2 Mode Selection Operation A mode selection operation of the constant voltage circuit 1 according to this embodiment will be described. In the flow chart showing the mode selection operation of the constant voltage circuit 1 according to this embodiment, S50 to S56 in FIG. 16 and FIG. 17 of the eighth embodiment are replaced with S40 to S44 in FIG. 10 and FIG. 11 of the fourth embodiment, and "Vnd10" in S41 and S43 is replaced with "Vnd21", and "Vth5" in S41 and S43 is replaced with "Vth11". In addition, in S40 and S44, the constant voltage circuit 1 sets the operating current of the first gain stage 10 to a constant value (current I1a), and in S42, the constant voltage circuit 1 sets the operating current of the first gain stage 10 to a variable value (current I1a+I1d). In addition, the constant voltage circuit 1 ends the process after executing S44.

[0189] 9.3 Effects The configuration according to this embodiment provides the same effects as the eighth embodiment.

[0190] Moreover, in the constant voltage circuit 1 according to this embodiment, the second current comparator 62 can control the voltage Vnd21 of the node ND21 to a higher voltage value as the increase in the output voltage VOUT increases, and to a lower value as the increase in the output voltage VOUT decreases. Therefore, when the voltage Vnd21 exceeds the threshold voltage Vth11 and the NMOS transistor N11 is turned on, a current according to the voltage Vnd21 flows through the NMOS transistor N11. That is, the operating current of the first gain stage 10 can be made variable according to the increase in the output voltage VOUT. The operating current of the first gain stage 10 becomes larger as the increase in the output voltage VOUT increases, and becomes smaller as the increase in the output voltage VOUT decreases.

[0191] 10. Tenth embodiment A constant voltage circuit 1 according to the tenth embodiment will be described. The constant voltage circuit 1 according to this embodiment differs from the ninth embodiment in that the first voltage monitor circuit 30 is replaced with a first voltage monitor circuit 30a. In addition, the constant voltage circuit 1 according to this embodiment differs from the ninth embodiment in the configuration of the first gain stage 10. The following description will focus on the differences from the ninth embodiment.

[0192] 10.1 Circuit configuration of constant voltage circuit 1 The circuit configuration of the constant voltage circuit 1 according to this embodiment will be described with reference to Fig. 20. Fig. 20 is a circuit diagram showing an example of the constant voltage circuit 1. Note that in Fig. 20, wiring between the first voltage monitor circuit 30a and the second voltage monitor circuit 60a in Fig. 19 of the ninth embodiment and the nodes ND1 and ND2 is omitted.

[0193] In the first gain stage 10, the NMOS transistors N3 and N4 and the current source 12 in FIG. 19 of the ninth embodiment are eliminated.

[0194] The first voltage monitor circuit 30a is similar to that of the fourth embodiment shown in Fig. 9. Note that the first voltage monitor circuit 30a may be the first voltage monitor circuit 30a of the fifth or sixth embodiment.

[0195] Other configurations of the constant voltage circuit 1 are similar to those of the ninth embodiment shown in FIG.

[0196] 10.2 Mode Selection Operation A mode selection operation of the constant voltage circuit 1 according to this embodiment will be described. In the flow chart showing the mode selection operation of the constant voltage circuit 1 according to this embodiment, S10 to S18 in Fig. 16 and Fig. 17 of the eighth embodiment are replaced with S40 to S44 in Fig. 10 and Fig. 11 of the fourth embodiment. Furthermore, S50 to S56 in Fig. 16 and Fig. 17 of the eighth embodiment are replaced with S41 to S43 in Fig. 10 and Fig. 11 of the fourth embodiment, and "Vnd10" in S41 and S43 is replaced with "Vnd21", and "Vth5" in S41 and S43 is replaced with "Vth11".

[0197] 10.3 Effects The configuration according to this embodiment provides the same effects as the fourth and ninth embodiments.

[0198] 11. Eleventh embodiment The constant voltage circuit 1 according to the eleventh embodiment will be described. In the constant voltage circuit 1 according to this embodiment, the configuration of the first gain stage 10 differs from that of the tenth embodiment. The following description will focus on the differences from the tenth embodiment.

[0199] 11.1 Circuit configuration of constant voltage circuit 1 The circuit configuration of the constant voltage circuit 1 according to this embodiment will be described with reference to Fig. 21. Fig. 21 is a circuit diagram showing an example of the constant voltage circuit 1. Note that in Fig. 21, wiring between the first voltage monitor circuit 30a and the second voltage monitor circuit 60a and between the nodes ND1 and ND2 is omitted.

[0200] In the first gain stage 10, the current source 11 in FIG. 20 of the tenth embodiment is eliminated.

[0201] Other configurations of the constant voltage circuit 1 are similar to those of the tenth embodiment shown in FIG.

[0202] 11.2 Mode Selection Operation A mode selection operation of the constant voltage circuit 1 according to this embodiment will be described. In the flow chart showing the mode selection operation of the constant voltage circuit 1 according to this embodiment, S10 to S18 in FIG. 16 and FIG. 17 of the eighth embodiment are replaced with S41 to S43 in FIG. 10 and FIG. 11 of the fourth embodiment. Furthermore, S50 to S56 in FIG. 16 and FIG. 17 of the eighth embodiment are replaced with S41 to S43 in FIG. 10 and FIG. 11 of the fourth embodiment, and "Vnd10" in S41 and S43 is replaced with "Vnd21", and "Vth5" in S41 and S43 is replaced with "Vth11". The constant voltage circuit 1 sets the operating current of the first gain stage 10 to a variable value (current I1b or current I1d).

[0203] 11.3 Effects The configuration according to this embodiment provides the same effects as the tenth embodiment.

[0204] Moreover, in the constant voltage circuit 1 according to this embodiment, the operating current of the first gain stage 10 can be made variable without using the current source 11.

[0205] 12. Twelfth embodiment A constant voltage circuit 1 according to a twelfth embodiment will be described. The constant voltage circuit 1 according to this embodiment differs from the first embodiment in that a PMOS transistor is used at the input terminal of the first gain stage 10. The following description will focus on the differences from the first embodiment.

[0206] 12.1 Circuit configuration of constant voltage circuit 1 The circuit configuration of the constant voltage circuit 1 according to this embodiment will be described with reference to Fig. 22. Fig. 22 is a circuit diagram showing an example of the constant voltage circuit 1.

[0207] The first gain stage 10 includes PMOS transistors P1, P2, and P4 through P6, NMOS transistors N1 and N2, and current sources 11 and 12.

[0208] One end and the gate of the NMOS transistor N1 are connected to a node ND31, and the other end is connected to a node ND2.

[0209] One end of the NMOS transistor N2 is connected to the node ND32, the other end is connected to the node ND2, and the gate is connected to the node ND31. That is, the NMOS transistors N1 and N2 configure a current mirror.

[0210] One end of the PMOS transistor P1 is connected to a node ND30, and the other end is connected to a node ND31. A voltage VFB is applied to the gate of the PMOS transistor P1.

[0211] One end of the PMOS transistor P2 is connected to a node ND30, and the other end is connected to a node ND32. A reference voltage VREF is applied to the gate of the PMOS transistor P2.

[0212] One end of the current source 11 is connected to the node ND1, and the other end is connected to a node ND30. A current I1a flows from the current source 11 to the node ND30.

[0213] One end of the PMOS transistor P4 is connected to the node ND1, and the other end and the gate are connected to a node ND33.

[0214] One end of the current source 12 is connected to the node ND33, and the other end is connected to the node ND2. A current I1c flows from the current source 12.

[0215] One end of the PMOS transistor P5 is connected to the node ND1, the other end is connected to the node ND34, and the gate is connected to the node ND33. That is, the PMOS transistors P4 and P5 configure a current mirror.

[0216] One end of the PMOS transistor P6 is connected to the node ND34, the other end is connected to the node ND30, and the gate is connected to the node ND10. The PMOS transistor P6 operates based on the voltage Vnd10 of the node ND10.

[0217] For example, the voltage Vnd10 is set to the "L" level in the high-speed response mode, and is set to the "H" level in the low current consumption mode. For example, the PMOS transistor P6 is turned on when the voltage Vnd10 is at the "L" level, and is turned off when the voltage Vnd10 is at the "H" level. When the PMOS transistor P6 is on, a current I1b corresponding to the current I1c flows through the PMOS transistors P5 and P6.

[0218] The node ND32 is connected to the gate of the PMOS transistor Pp of the output stage 20. In other words, the output voltage V1 of the first gain stage 10 is applied to the gate of the PMOS transistor Pp.

[0219] The first voltage monitor circuit 30 includes a first voltage-current conversion circuit 31, a first current comparator 32, PMOS transistors Tp7 and Tp9, and NMOS transistors Tn2, Tn14, and Tn15.

[0220] One end of the PMOS transistor Tp7 is connected to the node ND1, the other end is connected to the node ND36, and the gate is connected to the node ND11. That is, the PMOS transistors Tp1 and Tp7 configure a current mirror.

[0221] One end and the gate of the NMOS transistor Tn14 are connected to the node ND36, and the other end is connected to the node ND2.

[0222] A current I3ac' corresponding to the current I3a flows through the PMOS transistor Tp7 and the NMOS transistor Tn14.

[0223] The first current comparator 32 includes a PMOS transistor Tp8 and an NMOS transistor Tn13.

[0224] One end of the PMOS transistor Tp8 is connected to the node ND1, the other end is connected to the node ND10, and the gate is connected to the node ND33. That is, the PMOS transistors P4 and Tp8 configure a current mirror.

[0225] One end of the NMOS transistor Tn13 is connected to the node ND10, the other end is connected to the node ND2, and the gate is connected to the node ND36. That is, the NMOS transistors Tn14 and Tn13 configure a current mirror.

[0226] For example, when there is no fluctuation in the AC component of the output voltage VOUT or when the AC component of the output voltage VOUT drops gradually, the current I3a does not flow through the PMOS transistor Tp1, or a small current I3a flows through it. When the current I3a does not flow, the PMOS transistor Tp7 and the NMOS transistor Tn14 are turned off. The NMOS transistor Tn13 is also turned off. Therefore, the current I3ac' corresponding to the current I3a does not flow through the PMOS transistor Tp7 and the NMOS transistor Tn14. The current I3ac corresponding to the current I3ac' does not flow through the NMOS transistor Tn13. On the other hand, the current I3b corresponding to the current I1c flows through the PMOS transistor Tp8. Also, when the current I3a flows, the PMOS transistor Tp7 and the NMOS transistor Tn14 are turned on. The NMOS transistor Tn13 is also turned on. Therefore, the current I3ac' corresponding to the current I3a flows instantaneously through the PMOS transistor Tp7 and the NMOS transistor Tn14. A current I3ac corresponding to the current I3ac' flows instantaneously through the NMOS transistor Tn13. Meanwhile, a current I3b corresponding to the current I1c flows through the PMOS transistor Tp8. The currents I3ac and I3b eventually have the same current value.

[0227] On the other hand, when the AC component of the output voltage VOUT drops sharply, a current I3a flows through the PMOS transistor Tp1. In this case, the NMOS transistor Tn13 is turned on, and a current I3ac flows through the NMOS transistor Tn13 instantaneously. On the other hand, a current I3b flows through the PMOS transistor Tp8.

[0228] The first current comparator 32 compares the current I3ac with the current I3b.

[0229] When the current I3ac does not flow, the voltage Vnd10 is set to a voltage close to the voltage VIN (set to the “H” level). In other words, the first current comparator 32 sets the voltage Vnd10 to the “H” level.

[0230] When the current I3ac flows, if the current I3ac is larger than the current I3b, the voltage Vnd10 drops, so the voltage Vnd10 is set to a voltage close to the voltage VSS (set to the “L” level). In other words, the first current comparator 32 sets the voltage Vnd10 to the “L” level. This is the case, for example, when the AC component of the output voltage VOUT drops sharply. When the current I3ac is smaller than the current I3b, the voltage Vnd10 rises, so the voltage Vnd10 is set to a voltage close to the voltage VIN (set to the “H” level). In other words, the first current comparator 32 sets the voltage Vnd10 to the “H” level. This is the case, for example, when the AC component of the output voltage VOUT does not fluctuate or the AC component of the output voltage VOUT drops gently. Also, when the current I3ac is equal to the current I3b, the voltage Vnd10 is maintained at a voltage close to the voltage VIN (maintained at the “H” level). In other words, the first current comparator 32 maintains the voltage Vnd10 at the “H” level.

[0231] One end of the PMOS transistor Tp9 is connected to the node ND1, the other end is connected to the node ND35, and the gate is connected to the node ND33. That is, the PMOS transistors P4 and Tp9 configure a current mirror.

[0232] One end and a gate of the NMOS transistor Tn15 are connected to the node ND35, and the other end is connected to the node ND2. The gate of the NMOS transistor Tn2 is connected to the node ND35. That is, the NMOS transistors Tn15 and Tn2 configure a current mirror.

[0233] A current I3d corresponding to the current I1c flows through the PMOS transistor Tp9 and the NMOS transistor Tn15.

[0234] A current I3c corresponding to the current I3d flows through the NMOS transistor Tn2. Therefore, the current I3a becomes a current biased by the current I3c.

[0235] Other configurations of the constant voltage circuit 1 are similar to those of the first embodiment shown in FIG.

[0236] 12.2 Mode Selection Operation A mode selection operation of the constant voltage circuit 1 according to this embodiment will be described. The flow chart showing the mode selection operation of the constant voltage circuit 1 according to this embodiment is obtained by replacing the "H" level of S12 with "L" level, "N5" of S13 and S17 with "P6", and "L" level of S16 with "H" level in Fig. 2 and Fig. 3 of the first embodiment.

[0237] 12.3 Effects The configuration according to this embodiment provides the same effects as those of the first embodiment. Of course, this embodiment can also be applied to the second embodiment.

[0238] 13. Thirteenth embodiment A constant voltage circuit 1 according to the thirteenth embodiment will be described. The constant voltage circuit 1 according to this embodiment differs from the twelfth embodiment in that it includes a second gain stage 50. The following description will focus on the differences from the twelfth embodiment.

[0239] 13.1 Circuit configuration of constant voltage circuit 1 The circuit configuration of the constant voltage circuit 1 according to this embodiment will be described with reference to Fig. 23. Fig. 23 is a circuit diagram showing an example of the constant voltage circuit 1.

[0240] The constant voltage circuit 1 further includes a second gain stage 50 .

[0241] The second gain stage 50 includes PMOS transistors P7 to P9 and an NMOS transistor N12.

[0242] One end of the PMOS transistor P7 is connected to the node ND1, the other end is connected to the node ND39, and the gate is connected to the node ND33. That is, the PMOS transistors P4 and P7 configure a current mirror. A current I5a corresponding to the current I1c flows through the PMOS transistor P7.

[0243] One end of the PMOS transistor P8 is connected to the node ND1, the other end is connected to the node ND38, and the gate is connected to the node ND33. That is, the PMOS transistors P4 and P8 configure a current mirror.

[0244] One end of the PMOS transistor P9 is connected to a node ND38, the other end is connected to a node ND39, and the gate is connected to a node ND10. The PMOS transistor P9 operates based on a voltage Vnd10 of the node ND10.

[0245] For example, the PMOS transistor P9 is turned on when the voltage Vnd10 is at the “L” level, and is turned off when the voltage Vnd10 is at the “H” level. When the PMOS transistor P9 is on, a current I5b corresponding to the current I1c flows through the PMOS transistors P8 and P9.

[0246] One end of the NMOS transistor N12 is connected to the node ND39, and the other end is connected to the node ND2. The node ND32 is connected to the gate of the NMOS transistor N12. In other words, the output voltage V1 of the first gain stage 10 is applied to the gate of the NMOS transistor N12.

[0247] The node ND39 is connected to the gate of the PMOS transistor Pp of the output stage 20. In other words, the output voltage V2 of the second gain stage 50 is applied to the gate of the PMOS transistor Pp.

[0248] A reference voltage VREF is applied to the gate of the PMOS transistor P1.

[0249] The voltage VFB is applied to the gate of the PMOS transistor P2.

[0250] Other configurations of the constant voltage circuit 1 are similar to those of the twelfth embodiment shown in FIG.

[0251] For example, when the voltage Vnd10 is at the "L" level, only one of the PMOS transistors P6 and P9 may be turned on.

[0252] In addition, the second gain stage 50 may eliminate the PMOS transistor P7 and configure a current mirror with another current source, a PMOS transistor, and a PMOS transistor P8. In this case, the PMOS transistors Tp8 and Tp9 of the first voltage monitor circuit 30 may configure a current mirror with the PMOS transistor of the first gain stage 10, or may configure a current mirror with the PMOS transistor of the second gain stage 50.

[0253] 13.2 Mode Selection Operation A mode selection operation of the constant voltage circuit 1 according to this embodiment will be described. The flow chart showing the mode selection operation of the constant voltage circuit 1 according to this embodiment is obtained by replacing the "H" level of S12 with "L" level, "N5" of S13 and S17 with "P6 and P9", and "L" level of S16 with "H" level in Fig. 2 and Fig. 3 of the first embodiment.

[0254] 13.3 Effects The configuration according to this embodiment provides the same effects as those of the third embodiment. Of course, this embodiment can also be applied to the second embodiment.

[0255] 14. Fourteenth embodiment A constant voltage circuit 1 according to the fourteenth embodiment will be described. In the constant voltage circuit 1 according to this embodiment, the configurations of the first gain stage 10 and the first voltage monitor circuit 30 are different from those of the twelfth embodiment. In order to distinguish it from the twelfth embodiment, the first voltage monitor circuit 30 will be written as the first voltage monitor circuit 30a. The following description will focus on the differences from the twelfth embodiment.

[0256] 14.1 Circuit configuration of constant voltage circuit 1 The circuit configuration of the constant voltage circuit 1 according to this embodiment will be described with reference to Fig. 24. Fig. 24 is a circuit diagram showing an example of the constant voltage circuit 1.

[0257] In the first gain stage 10, the PMOS transistors P4 and P5 and the current source 12 in FIG. 22 of the twelfth embodiment are eliminated.

[0258] 22 of the twelfth embodiment. The first voltage monitor circuit 30a further includes a current source 33.

[0259] A voltage VIN is applied to one end of the current source 33. The other end of the current source 33 is connected to a node ND40. One end and a gate of the NMOS transistor Tn15 are connected to the node ND40, and the other end is connected to a node ND2. A current I3d flows from the current source 33 to the node ND2 via the NMOS transistor Tn15. The gate of the NMOS transistor Tn2 is connected to the node ND40. That is, the NMOS transistors Tn15 and Tn2 configure a current mirror. A current I3c corresponding to the current I3d flows through the NMOS transistor Tn2.

[0260] 22 of the twelfth embodiment is eliminated in the first current comparator 32. The first current comparator 32 further includes PMOS transistors Tp10-1 to Tp10-s (s is an integer of 1 or more), Tp11-1 to Tp11-s, and a current source .

[0261] The PMOS transistors Tp10-1 to Tp10-s are connected in series. One end of the series-connected PMOS transistors Tp10-1 to Tp10-s is connected to a node ND1. The other end of the series-connected PMOS transistors Tp10-1 to Tp10-s is connected to a node ND35. The gates of the PMOS transistors Tp10-1 to Tp10-s are connected to the node ND35.

[0262] One end of the current source 34 is connected to the node ND35, and the other end is connected to the node ND2. A current I3e flows from the current source 34.

[0263] The PMOS transistors Tp11-1 to Tp11-s are connected in series. One end of the series-connected PMOS transistors Tp11-1 to Tp11-s is connected to a node ND1. The other end of the series-connected PMOS transistors Tp11-1 to Tp11-s is connected to a node ND10. The gates of the PMOS transistors Tp11-1 to Tp11-s are connected to a node ND35. That is, the PMOS transistors Tp10-1 to Tp10-s and the PMOS transistors Tp11-1 to Tp11-s form a current mirror. A current I3b corresponding to the current I3e flows through the PMOS transistors Tp11-1 to Tp11-s. Since the PMOS transistors Tp11-1 to Tp11-s are connected in series, the current I3b has a high constant current characteristic.

[0264] In the first current comparator 32, the NMOS transistor Tn13 has a shorter gate length L than the NMOS transistor Tn14. In this case, due to the channel length modulation effect of the NMOS transistor Tn13, the current I3ac increases compared to when the gate length L is long. When the current I3ac increases, the voltage Vnd10 of the node ND10 decreases. On the other hand, when the voltage Vnd10 decreases, the current I3b decreases. Therefore, the voltage Vnd10 decreases little by little. In other words, the first current comparator 32 changes the voltage Vnd10 of the node ND10 gradually. Therefore, the voltage Vnd10 is set to a voltage value between the voltage VSS and the voltage VIN. The voltage Vnd10 increases as the decrease in the output voltage VOUT increases, and decreases as the decrease in the output voltage VOUT decreases. When the current I3ac does not flow, the voltage Vnd10 is set to a voltage close to the voltage VIN.

[0265] When the voltage Vnd10 exceeds the threshold voltage Vth6 of the PMOS transistor P6, the PMOS transistor P6 is turned on, and a current I1b corresponding to the voltage Vnd10 flows through the first gain stage .

[0266] Other configurations of the constant voltage circuit 1 are similar to those of the twelfth embodiment shown in FIG.

[0267] 14.2 Mode Selection Operation The mode selection operation of the constant voltage circuit 1 according to this embodiment will be described. The flow chart showing the mode selection operation of the constant voltage circuit 1 according to this embodiment is the same as that shown in FIG. 10 and FIG. 11 of the fourth embodiment, except that "Vth5" in S41 and S43 is replaced with "Vth6".

[0268] 14.3 Effects The configuration according to this embodiment provides the same effects as the fourth embodiment.

[0269] 15. Fifteenth embodiment A constant voltage circuit 1 according to the fifteenth embodiment will be described. In the constant voltage circuit 1 according to this embodiment, the configurations of the first gain stage 10 and the first current comparator 32 are different from those of the fourteenth embodiment. The flowchart showing the mode selection operation is the same as that of the fourteenth embodiment. The following description will focus on the differences from the fourteenth embodiment.

[0270] 15.1 Circuit configuration of constant voltage circuit 1 The circuit configuration of the constant voltage circuit 1 according to this embodiment will be described with reference to Fig. 25. Fig. 25 is a circuit diagram showing an example of the constant voltage circuit 1.

[0271] 24 of the fourteenth embodiment is eliminated in the first gain stage 10. The first gain stage 10 further includes PMOS transistors P6-1 to P6-t (t is an integer of 1 or more).

[0272] The PMOS transistors P6-1 to P6-t are connected in series. One end of the series-connected PMOS transistors P6-1 to P6-t is connected to a node ND1. The other end of the series-connected PMOS transistors P6-1 to P6-t is connected to a node ND30. The gates of the PMOS transistors P6-1 to P6-t are connected to a node ND10. Each of the PMOS transistors P6-1 to P6-t operates based on a voltage Vnd10 of the node ND10. Since the PMOS transistors P6-1 to P6-t are connected in series, the current I1b has a low gain. That is, the current I1b is smaller than when the PMOS transistors P6-1 to P6-t are not connected in series.

[0273] In the first current comparator 32, the PMOS transistors Tp10-1 to Tp10-s, Tp11-1 to Tp11-s, and the current source 34 in Fig. 24 of the fourteenth embodiment are eliminated. The first current comparator 32 further includes a resistive element R1.

[0274] One end of the resistive element R1 is connected to the node ND1, and the other end is connected to a node ND10. The resistive element R1 may be a variable resistor.

[0275] In the first current comparator 32, a current I3ac that is a mirror ratio multiple of the current I3ac' flowing through the NMOS transistor Tn14 flows through the NMOS transistor Tn13. As a result, the first current comparator 32 gently changes the voltage Vnd10 of the node ND10. Therefore, the voltage Vnd10 is set to a voltage value between the voltages VSS and VIN. The voltage Vnd10 increases as the amount of decrease in the output voltage VOUT increases, and decreases as the amount of decrease in the output voltage VOUT decreases.

[0276] Each of the PMOS transistors P6-1 to P6-t is turned on when the voltage Vnd10 exceeds the threshold voltage Vth6 of each of the PMOS transistors P6-1 to P6-t, and a current I1b according to the voltage Vnd10 flows through the first gain stage .

[0277] Other configurations of the constant voltage circuit 1 are similar to those of the fourteenth embodiment shown in FIG.

[0278] 15.2 Effects The configuration according to this embodiment provides the same effects as the fifth embodiment.

[0279] 16. Sixteenth embodiment A constant voltage circuit 1 according to the sixteenth embodiment will be described. In the constant voltage circuit 1 according to this embodiment, the configurations of the first gain stage 10 and the first voltage monitor circuit 30a are different from those of the fourteenth embodiment. The following description will focus on the differences from the fourteenth embodiment.

[0280] 16.1 Circuit configuration of constant voltage circuit 1 The circuit configuration of the constant voltage circuit 1 according to this embodiment will be described with reference to Fig. 26. Fig. 26 is a circuit diagram showing an example of the constant voltage circuit 1.

[0281] In the first voltage monitor circuit 30a, the first current comparator 32 and the NMOS transistor Tn14 in FIG. 24 of the fourteenth embodiment are eliminated.

[0282] One end of the PMOS transistor Tp7 is connected to the node ND1, the other end is connected to a node ND30, and the gate is connected to a node ND11.

[0283] In the first voltage monitor circuit 30a, a current I3ac that is a mirror ratio multiplied current I3a flowing through the PMOS transistor Tp1 flows through the PMOS transistor Tp7. The current I3ac increases as the amount of decrease in the output voltage VOUT increases, and decreases as the amount of decrease in the output voltage VOUT decreases. The current I3ac flows from the node ND1 to the node ND30 via the PMOS transistor Tp7. That is, the current I3ac that is a mirror ratio multiplied current I3a flows through the first gain stage 10.

[0284] Other configurations of the constant voltage circuit 1 are similar to those of the fourteenth embodiment shown in FIG.

[0285] 16.2 Mode Selection Operation The mode selection operation of the constant voltage circuit 1 according to this embodiment will be described. The flowchart showing the mode selection operation of the constant voltage circuit 1 according to this embodiment differs from that of the fourth embodiment shown in FIGS. 10 and 11 in that S41 and S43 are replaced with the following operations. The mode selection operation of the constant voltage circuit 1 will be described below with reference to FIGS. 10 and 11.

[0286] 10, when the PMOS transistor Tp7 is on (S41_Yes), the constant voltage circuit 1 sets the operating current of the first gain stage 10 to a variable value (current I1a+I3ac) (S42). On the other hand, when the PMOS transistor Tp7 is off (S41_No), the constant voltage circuit 1 maintains the operating current of the first gain stage 10 at a constant value (current I1a).

[0287] 11, when the PMOS transistor Tp7 is on (S43_Yes), the constant voltage circuit 1 maintains the operating current of the first gain stage 10 at a variable value (current I1a+I3ac). On the other hand, when the PMOS transistor Tp7 is off (S43_No), the constant voltage circuit 1 sets the operating current of the first gain stage 10 to a constant value (current I1a) (S44).

[0288] Other operations in the mode selection operation are similar to those in the fourth embodiment shown in FIGS.

[0289] 16.3 Effects The configuration according to this embodiment provides the same effects as the sixth embodiment.

[0290] 17. Seventeenth embodiment A constant voltage circuit 1 according to the seventeenth embodiment will be described. The constant voltage circuit 1 according to this embodiment differs from the fourteenth embodiment in that it includes a second gain stage 50. The following description will focus on the differences from the fourteenth embodiment.

[0291] 17.1 Circuit configuration of constant voltage circuit 1 The circuit configuration of the constant voltage circuit 1 according to this embodiment will be described with reference to Fig. 27. Fig. 27 is a circuit diagram showing an example of the constant voltage circuit 1.

[0292] The constant voltage circuit 1 further includes a second gain stage 50 .

[0293] 23 of the thirteenth embodiment is eliminated. The second gain stage 50 further includes a current source 51.

[0294] One end of the current source 51 is connected to the node ND1, and the other end is connected to the node ND39. A current I5a flows from the current source 51 to the node ND39.

[0295] Other configurations of the second gain stage 50 are similar to those of the thirteenth embodiment shown in FIG.

[0296] Other configurations of the constant voltage circuit 1 are similar to those of the fourteenth embodiment shown in FIG.

[0297] The first voltage monitor circuit 30a may be the first voltage monitor circuit 30a of the fifteenth or sixteenth embodiment.

[0298] 17.2 Mode Selection Operation The mode selection operation of the constant voltage circuit 1 according to this embodiment will be described. The flowchart showing the mode selection operation of the constant voltage circuit 1 according to this embodiment differs from that of the fourth embodiment shown in FIGS. 10 and 11 in that the operation of the second gain stage 50 is added. The mode selection operation of the constant voltage circuit 1 will be described below with reference to FIGS. 10 and 11.

[0299] In S40 of FIG. 10, the constant voltage circuit 1 sets the operating current of the first gain stage 10 to a constant value (current I1a), and sets the operating current of the second gain stage 50 to a constant value (current I5a).

[0300] In S41 of FIG. 10, if the voltage Vnd10 is greater than the threshold voltage Vth6 of the PMOS transistor P6 or greater than the threshold voltage Vth9 of the PMOS transistor P9 (S41_Yes), the transistor of the PMOS transistors P6 and P9 whose threshold voltage has exceeded the threshold voltage is turned on. As a result, the constant voltage circuit 1 sets the operating current of the first gain stage 10 to a variable value (current I1a+I1b) and the operating current of the second gain stage 50 to a variable value (current I5a+I5b) (S42). On the other hand, if the voltage Vnd10 is equal to or less than the threshold voltage Vth6 and equal to or less than the threshold voltage Vth9 (S41_No), the PMOS transistors P6 and P9 maintain the off state. That is, the constant voltage circuit 1 maintains the operating current of the first gain stage 10 at a constant value (current I1a) and the operating current of the second gain stage 50 at a constant value (current I5a).

[0301] In S43 of FIG. 11, if the voltage Vnd10 is greater than the threshold voltage Vth6 of the PMOS transistor P6 or greater than the threshold voltage Vth9 of the PMOS transistor P9 (S43_Yes), the transistor of the PMOS transistors P6 and P9 whose threshold voltage has exceeded the threshold voltage is maintained in the ON state. That is, the constant voltage circuit 1 maintains the operating current of the first gain stage 10 at a variable value (current I1a+I1b) and maintains the operating current of the second gain stage 50 at a variable value (current I5a+I5b). On the other hand, if the voltage Vnd10 is equal to or less than the threshold voltage Vth6 and equal to or less than the threshold voltage Vth9 (S43_No), the PMOS transistors P6 and P9 are turned off. As a result, the constant voltage circuit 1 sets the operating current of the first gain stage 10 to a constant value (current I1a) and sets the operating current of the second gain stage 50 to a constant value (current I5a) (S44).

[0302] 17.3 Effects The configuration according to this embodiment provides the same effects as the seventh embodiment.

[0303] 18. Eighteenth embodiment A constant voltage circuit 1 according to the eighteenth embodiment will be described. The constant voltage circuit 1 according to this embodiment differs from the twelfth embodiment in that it includes a second voltage monitor circuit 60. Furthermore, in the constant voltage circuit 1 according to this embodiment, the configuration of the first gain stage 10 differs from that of the twelfth embodiment. The following description will focus on the differences from the twelfth embodiment.

[0304] 18.1 Circuit configuration of constant voltage circuit 1 The circuit configuration of the constant voltage circuit 1 according to this embodiment will be described with reference to Fig. 28. Fig. 28 is a circuit diagram showing an example of the constant voltage circuit 1. Note that in Fig. 28, the wiring between the first voltage monitor circuit 30 in Fig. 22 of the twelfth embodiment and the nodes ND1 and ND2 is omitted.

[0305] The constant voltage circuit 1 further includes a second voltage monitor circuit 60.

[0306] The second voltage monitor circuit 60 includes a second voltage-current conversion circuit 61, a second current comparator 62, and a PMOS transistor Tp6.

[0307] The second voltage-current converter circuit 61 includes an NMOS transistor Tn7.

[0308] One end and the gate of the NMOS transistor Tn7 are connected to the node ND11, and the other end is connected to the node ND2.

[0309] The second current comparator 62 includes a PMOS transistor Tp3 and an NMOS transistor Tn9.

[0310] One end of the PMOS transistor Tp3 is connected to the node ND1, the other end is connected to the node ND21, and the gate is connected to the node ND33. That is, the PMOS transistors P4 and Tp3 form a current mirror.

[0311] One end of the NMOS transistor Tn9 is connected to the node ND21, the other end is connected to the node ND2, and the gate is connected to the node ND11. That is, the NMOS transistors Tn7 and Tn9 configure a current mirror.

[0312] For example, when there is no fluctuation in the AC component of the output voltage VOUT or when the AC component of the output voltage VOUT rises slowly, the current I6a does not flow through the NMOS transistor Tn7, or a small current I6a flows through it. When the current I6a does not flow, the NMOS transistor Tn9 is turned off, so the current I6ac corresponding to the current I6a does not flow through the NMOS transistor Tn9. On the other hand, the current I6b corresponding to the current I1c flows through the PMOS transistor Tp3. When the current I6a flows, the NMOS transistor Tn9 is turned on, so the current I6ac flows through the NMOS transistor Tn9 momentarily. On the other hand, the current I6b flows through the PMOS transistor Tp3. The currents I6ac and I6b ultimately have the same current value.

[0313] On the other hand, when the AC component of the output voltage VOUT rises sharply, a current I6a flows through the NMOS transistor Tn7. In this case, the NMOS transistor Tn9 is turned on, and a current I6ac flows through the NMOS transistor Tn9 instantaneously. On the other hand, a current I6b flows through the PMOS transistor Tp3.

[0314] The second current comparator 62 compares the current I6ac with the current I6b.

[0315] When the current I6ac does not flow, the voltage Vnd21 is set to a voltage close to the voltage VIN (set to the “H” level). In other words, the second current comparator 62 sets the voltage Vnd21 to the “H” level.

[0316] When the current I6ac flows, if the current I6ac is greater than the current I6b, the voltage Vnd21 drops, so the voltage Vnd21 is set to a voltage close to the voltage VSS (set to the “L” level). In other words, the second current comparator 62 sets the voltage Vnd21 to the “L” level. This is the case, for example, when the AC component of the output voltage VOUT rises sharply. When the current I6ac is smaller than the current I6b, the voltage Vnd21 rises, so the voltage Vnd21 is set to a voltage close to the voltage VIN (set to the “H” level). In other words, the second current comparator 62 sets the voltage Vnd21 to the “H” level. This is the case, for example, when there is no fluctuation in the AC component of the output voltage VOUT or when the AC component of the output voltage VOUT rises gently. Also, when the current I6ac is equal to the current I6b, the voltage Vnd21 is maintained at a voltage close to the voltage VIN (maintained at the “H” level). In other words, the second current comparator 62 maintains the voltage Vnd21 at the “H” level.

[0317] One end of the PMOS transistor Tp6 is connected to the node ND1, the other end is connected to the node ND11, and the gate is connected to the node ND33. That is, the PMOS transistors P4 and Tp6 form a current mirror.

[0318] A current I6c corresponding to the current I1c flows through the PMOS transistor Tp6. Therefore, the current I6a becomes a current biased by the current I6c.

[0319] The first gain stage 10 further includes PMOS transistors P11 and P12.

[0320] One end of the PMOS transistor P11 is connected to the node ND1, the other end is connected to the node ND42, and the gate is connected to the node ND33. That is, the PMOS transistors P4 and P11 configure a current mirror.

[0321] The PMOS transistor P12 has one end connected to the node ND42, the other end connected to the node ND30, and a gate connected to the node ND21. The PMOS transistor P12 operates based on a voltage Vnd21 of the node ND21.

[0322] For example, the voltage Vnd21 is set to the "L" level in the high-speed response mode, and is set to the "H" level in the low current consumption mode. For example, the PMOS transistor P12 is in the ON state when the voltage Vnd21 is at the "L" level, and is in the OFF state when the voltage Vnd21 is at the "H" level. When the PMOS transistor P12 is in the ON state, a current I1d corresponding to the current I1c flows through the PMOS transistors P11 and P12.

[0323] 18.2 Mode Selection Operation The mode selection operation of the constant voltage circuit 1 according to this embodiment will be described. The flow chart showing the mode selection operation of the constant voltage circuit 1 according to this embodiment is obtained by replacing the "H" level of S12 with "L" level, "N5" of S13 and S17 with "P6", and "L" level of S16 with "H" level in Figs. 16 and 17 of the eighth embodiment. Furthermore, in Figs. 16 and 17 of the eighth embodiment, the "H" level of S51 with "L" level, "N11" of S52 and S56 with "P12", and "L" level of S55 with "H" level.

[0324] 18.3 Effects The configuration according to this embodiment provides the same effects as those of the eighth embodiment. Of course, this embodiment can also be applied to the second embodiment.

[0325] 19. Modifications, etc. As described above, the constant voltage circuit according to the embodiment includes a first gain stage (10) that outputs a first voltage (V1) obtained by amplifying the difference between a divided voltage (VFB) of the output voltage (VOUT) and a reference voltage (VREF), a first transistor (Pp) having one end connected to an input voltage terminal (T1) and the other end connected to an output voltage terminal (T3) and controlling the output voltage (VOUT) based on the first voltage (V1) applied to the gate, a second transistor (N5 / P6) that controls a current flowing through the first gain stage (10), a first circuit (31) that converts a fluctuation amount of the output voltage (VOUT) into a first current (I3a), and a second circuit (32) that controls a gate voltage of the second transistor (N5 / P6) based on a second current (I3ac) corresponding to the first current (I3a). When the gate voltage of the second transistor (N5 / P6) is equal to or lower than the first threshold voltage of the second transistor, a first operating mode (low current consumption) is selected and a third current (I1a) flows through the first gain stage (10), and when the gate voltage of the second transistor is greater than the first threshold voltage, a second operating mode (high-speed response) is selected and a fourth current (I1a+I1b) greater than the third current flows through the first gain stage.

[0326] The embodiment is not limited to the above-described embodiment, and various modifications are possible.

[0327] In the flowcharts described in the above embodiments, the order of the processes can be changed as much as possible.

[0328] Moreover, the first voltage monitor circuit 30 of the 18th embodiment may be the first voltage monitor circuit 30a of the 14th, 15th, or 16th embodiment. The second voltage monitor circuit 60 of the 18th embodiment may have a configuration similar to that of the second voltage monitor circuit 60a of the 9th embodiment.

[0329] Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope of the invention and its equivalents described in the claims, as well as in the scope and spirit of the invention. [Explanation of symbols]

[0330] 1... constant voltage circuit, 10... first gain stage, 11, 12, 33, 34, 51, 64... current source, 20... output stage, 30, 30a... first voltage monitor circuit, 31... first voltage-to-current conversion circuit, 32... first current comparator, 40... current monitor circuit, 50... second gain stage, 60, 60a... second voltage monitor circuit, 61... second voltage-to-current conversion circuit, 62... second current comparator, N1 to N8, N10 to N12, P1 to P9, P11, P12, Pp, PM, Tp1 to Tp11, Tn1 to Tn15... transistor, RF, RS, R1... resistor, COUT, CC... capacitor

Claims

1. a first gain stage that outputs a first voltage obtained by amplifying a difference between the divided output voltage and a reference voltage; a first transistor having one end connected to an input voltage terminal and the other end connected to an output voltage terminal, the first transistor controlling the output voltage based on the first voltage applied to a gate of the first transistor; a second transistor for controlling a current flowing through the first gain stage; a first circuit for converting a fluctuation amount of the output voltage into a first current; a second circuit that controls a gate voltage of the second transistor based on a second current corresponding to the first current; Equipped with when the gate voltage of the second transistor is equal to or less than a first threshold voltage of the second transistor, a first operating mode is selected and a third current flows through the first gain stage, and when the gate voltage of the second transistor is greater than the first threshold voltage, a second operating mode is selected and a fourth current greater than the third current flows through the first gain stage. Constant voltage circuit.

2. The first circuit is a third transistor having one end connected to the input voltage terminal and the other end and a gate connected to the output voltage terminal, the third transistor passing the first current; Including, The second circuit is a fourth transistor having one end connected to the input voltage terminal, the other end connected to the gate of the second transistor, and a gate connected to the output voltage terminal, for passing the second current; a fifth transistor having one end connected to the gate of the second transistor and the other end connected to a ground voltage terminal and configured to pass a fifth current; Including, the second circuit sets the gate voltage of the second transistor to a first logic level lower than the first threshold voltage of the second transistor or a second logic level higher than the first threshold voltage of the second transistor based on the second current and the fifth current.

2. The constant voltage circuit according to claim 1.

3. a third circuit for controlling a second voltage based on a current difference between a sixth current corresponding to a current flowing through the first transistor and a threshold current; Further equipped with when the voltage at the other end of the fourth transistor and the second voltage are at the first logic level, the first operation mode is selected and the third current flows through the first gain stage; when at least one of the voltage at the other end of the fourth transistor and the second voltage is at the second logic level, the second operation mode is selected and the fourth current flows through the first gain stage.

3. The constant voltage circuit according to claim 2.

4. The first circuit is a third transistor having one end connected to the input voltage terminal and the other end and a gate connected to the output voltage terminal, the third transistor passing the first current; Including, The second circuit is a fourth transistor having one end connected to the input voltage terminal, the other end connected to the gate of the second transistor, and a gate connected to the output voltage terminal, for passing the second current; Including, the second circuit sets the gate voltage of the second transistor to a voltage value between a ground voltage and a voltage of the input voltage terminal based on the second current.

2. The constant voltage circuit according to claim 1.

5. the second circuit sets the gate voltage of the second transistor to a larger voltage value as the fluctuation amount of the output voltage increases, and sets the gate voltage of the second transistor to a smaller voltage value as the fluctuation amount of the output voltage decreases.

5. The constant voltage circuit according to claim 4.

6. a sixth transistor for controlling a current flowing through the first gain stage; a fourth circuit that converts a fluctuation amount of the output voltage into a seventh current; a fifth circuit that controls a gate voltage of the sixth transistor based on an eighth current corresponding to the seventh current; Further equipped with when the gate voltage of the sixth transistor is equal to or less than a second threshold voltage of the sixth transistor, the first operation mode is selected and the third current flows through the first gain stage, and when the gate voltage of the sixth transistor is greater than the second threshold voltage, the second operation mode is selected and a ninth current greater than the third current flows through the first gain stage.

6. The constant voltage circuit according to claim 1.

7. The first circuit converts the amount of decrease in the output voltage into the first current.

7. The constant voltage circuit according to claim 1.

8. a capacitance element having one electrode connected to the first circuit and the other electrode connected to the output voltage terminal; 8. The constant voltage circuit according to claim 1.

9. a first gain stage that outputs a first voltage obtained by amplifying a difference between the divided output voltage and a reference voltage; a second gain stage that amplifies the first voltage and outputs a second voltage; a first transistor having one end connected to an input voltage terminal and the other end connected to an output voltage terminal, the first transistor controlling the output voltage based on the second voltage applied to a gate of the first transistor; a second transistor for controlling a current flowing through the first gain stage; a third transistor for controlling a current flowing through the second gain stage; a first circuit for converting a fluctuation amount of the output voltage into a first current; a second circuit that controls gate voltages of the second transistor and the third transistor based on a second current corresponding to the first current; Equipped with a first operating mode is selected and a third current flows through the first gain stage when the gate voltage of the second transistor is equal to or less than a first threshold voltage of the second transistor, and a second operating mode is selected and a fourth current, which is greater than the third current, flows through the first gain stage when the gate voltage of the second transistor is greater than the first threshold voltage; when the gate voltage of the third transistor is equal to or less than a second threshold voltage of the third transistor, the first operation mode is selected and a fifth current flows through the second gain stage, and when the gate voltage of the third transistor is greater than the second threshold voltage, the second operation mode is selected and a sixth current greater than the fifth current flows through the second gain stage. Constant voltage circuit.

Citation Information

Patent Citations

  • Constant voltage power supply circuit

    JP2006079517A

  • Voltage regulator

    JP2015118452A

  • Regulator circuit

    JP2017134743A

  • Power supply device

    JP2018128868A

  • Constant voltage power supply circuit

    JP4389681B2