Electric potential generation circuit, counter-current prevention circuit, and control method for electric potential generation circuit

The potential generation circuit addresses the challenges of slow potential generation and backflow by using dual output circuits and a control circuit to switch between output modes and manage terminal connections, achieving efficient and rapid set potential generation with reduced backflow.

WO2024176381A1PCT designated stage expired Publication Date: 2024-08-29WACOM CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/006451
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-22
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Existing potential generation circuits face challenges in generating a predetermined set potential in a short time and preventing backflow current, particularly when loads vary, as seen in US Patent No. 7,432,614, where the process is slow and prone to potential drop and reverse current.

Method used

A potential generation circuit with two output circuits and a control circuit that adjusts output modes based on signal potential relationships, switching between fixed and alternate output modes to optimize potential generation and prevent backflow, utilizing a backflow prevention circuit with a source, drain, gate, and back gate terminal configuration to control current flow.

Benefits of technology

The solution enables rapid generation of a predetermined set potential with low power consumption and high efficiency, while preventing backflow current by dynamically switching output modes and controlling terminal connections to manage current flow effectively.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023006451_29082024_PF_FP_ABST
    Figure JP2023006451_29082024_PF_FP_ABST
Patent Text Reader

Abstract

The present invention relates to an electric potential generation circuit. The electric potential generation circuit comprises: a first output circuit which outputs a first signal; a second output circuit which outputs a second signal; and a control circuit which controls the first output circuit and the second output circuit so as to output a signal from either the first output circuit or the second output circuit in response to a combination of a magnitude relationship between the electric potential of the first signal and a first set electric potential and a magnitude relationship between the electric potential of the second signal and a second set electric potential.
Need to check novelty before this filing date? Find Prior Art

Description

[Rule 26 Supplement 28.03.2023] Potential generation circuit, backflow prevention circuit, and method for controlling a potential generation circuit

[0001] The present invention relates to a potential generating circuit, a backflow prevention circuit, and a method for controlling a potential generating circuit.

[0002] 2. Description of the Related Art Potential generating circuits capable of generating a plurality of output potentials have been known.

[0003] In this regard, U.S. Pat. No. 7,432,614 discloses an electric circuit including a plurality of output nodes, a plurality of switches connected to corresponding output nodes among the plurality of output nodes, and a control circuit that controls the timing of outputting a potential from each output node by controlling the on / off of the switches.

[0004] U.S. Patent No. 7,432,614

[0005] However, the technology described in U.S. Patent No. 7,432,614 has a problem in that when there is a difference in the loads connected to multiple output nodes, the larger the load connected to the output node, the longer it takes for the potential of the output node to reach a set potential, and the more likely the potential of the output node to drop. Furthermore, with the technology described in U.S. Patent No. 7,432,614, there is a possibility that current will flow back from the output side to the inside of the circuit in the process of generating multiple potentials.

[0006] The present invention has been made in view of the above problems, and an object of the present invention is to provide a potential generating circuit and a method for controlling a potential generating circuit that can generate a predetermined set potential in a short time.

[0007] In order to solve the above problem, a first potential generating circuit according to the present invention comprises a first output circuit that outputs a first signal, a second output circuit that outputs a second signal different from the first signal, and a control circuit that controls the first output circuit and the second output circuit to output a signal from either the first output circuit or the second output circuit depending on a combination of the magnitude relationship between the potential of the first signal and a first set potential and the magnitude relationship between the potential of the second signal and a second set potential.

[0008] In addition, in the second potential generating circuit of the present invention, when the potential of the first signal is equal to or greater than the first set potential and the potential of the second signal is less than the second set potential, the control circuit sets the output mode to a fixed output mode and causes the second output circuit to output the second signal, and when the potential of the second signal is equal to or greater than the second set potential and the potential of the first signal is less than the first set potential, the control circuit sets the output mode to the fixed output mode and causes the first output circuit to output the first signal.

[0009] In addition, in the third potential generating circuit of the present invention, when the potential of the first signal is less than the first set potential and the potential of the second signal is less than the second set potential, the control circuit sets the output mode to an alternating output mode and alternates between outputting the first signal by the first output circuit and outputting the second signal by the second output circuit at regular intervals.

[0010] Furthermore, in the fourth potential generating circuit according to the present invention, when the output mode is the alternating output mode, the control circuit switches the output mode from the alternating output mode to the fixed output mode at the timing of switching the outputs of the first output circuit and the second output circuit when the potential of the first signal becomes equal to or higher than the first set potential or when the potential of the second signal becomes equal to or higher than the second set potential.

[0011] Furthermore, a fifth method for controlling a potential generating circuit according to the present invention is a method for controlling a potential generating circuit having a first output circuit and a second output circuit, the method including: determining whether or not a combination of a magnitude relationship between a potential of a first signal and a first set potential and a magnitude relationship between a potential of a second signal and a second set potential satisfies a predetermined condition; if the determination is a positive determination, the potential generating circuit controls the first output circuit and the second output circuit to output a signal from either the first output circuit or the second output circuit; and if the determination is a negative determination, the potential generating circuit alternates between outputting the first signal by the first output circuit and outputting the second signal by the second output circuit at regular intervals.

[0012] In addition, a sixth aspect of the present invention provides a backflow prevention circuit having a source terminal, a drain terminal, a gate terminal, and a back gate terminal, and operating in a first state in which a first potential is supplied to the source terminal and a second state in which a second potential higher than the first potential is supplied to the source terminal, and comprising: an output circuit that outputs from the drain terminal a potential that is supplied to the source terminal based on the potential of the gate terminal; and a control circuit that is connected to the gate terminal, the source terminal, and the back gate terminal, and that in the first state controls the potential of the gate terminal so that the output circuit stops the output, and controls the potential of the back gate terminal so that it has the same potential as the drain terminal, and in the second state controls the potential of the back gate terminal so that it has the same potential as the source terminal.

[0013] In addition, in the seventh backflow prevention circuit according to the present invention, the output circuit has a first short-circuit control circuit which has both ends short-circuited in the first state and both ends open in the second state, one end connected to the backgate terminal, and the other end connected to the drain terminal, and a second short-circuit control circuit which has both ends open in the first state and both ends short-circuited in the second state, one end connected to the backgate terminal, and the other end connected to the source terminal.

[0014] According to the first to fifth aspects of the present invention, a predetermined set potential can be generated in a short time, and according to the sixth to eighth aspects of the present invention, backflow of current in the output circuit can be prevented.

[0015] 1 is a diagram showing an example of a power supply circuit. FIG. 2 is a diagram showing an example of a potential generating circuit. FIG. 3 is a diagram showing an example of the configuration of an output circuit together with other circuits in the potential generating circuit. FIG. 4 is a diagram showing an example of a constant voltage circuit. FIG. 5 is a diagram showing an example of operation of the potential generating circuit in a first mode. FIG. 6 is a diagram showing an example of operation of the potential generating circuit in a second mode. FIG. 7 is a diagram showing an example of operation of the potential generating circuit in a third mode. FIG. 8 is a diagram showing an example of operation of the potential generating circuit in a fourth mode. FIG. 9 is a diagram showing an example of operation of the potential generating circuit in a fifth mode. FIG. 10 is a first example of a timing chart showing the state of the output of the potential generating circuit. FIG. 11 is a second example of a timing chart showing the state of the output of the potential generating circuit. FIG. 11 is a first example of a timing chart showing the transition of each signal in the potential generating circuit. FIG. 12 is a second example of a timing chart showing the transition of each signal in the potential generating circuit. FIG. 13 is an example of a flowchart showing the flow of a series of processes in the potential generating circuit.

[0016] Hereinafter, an embodiment of the present invention (hereinafter referred to as "the present embodiment") will be described with reference to the accompanying drawings. To facilitate understanding of the description, the same components and steps in each drawing will be designated by the same reference numerals as much as possible, and redundant description will be omitted.

[0017] 1 is a diagram showing an example of a power supply circuit 1 according to this embodiment. The power supply circuit 1 is installed in an electronic device such as an active electrostatic stylus that can be equipped with a battery and can receive power from an external source, and supplies a potential to an electrical circuit in the stylus.

[0018] Specifically, the power supply circuit 1 converts power supplied from a primary battery such as a dry cell battery, a secondary battery such as a lithium-ion battery, and power supplied from an external power supply path such as an AC (alternating current) adapter or a USB (universal serial bus) into power appropriate for the digital circuit, analog circuit, and LC oscillator circuit. The power supply circuit 1 then supplies the converted power to the digital circuit, analog circuit, and LC oscillator circuit. The power supply circuit 1 also charges a rechargeable secondary battery such as a lithium-ion battery with externally supplied power. The power supply circuit 1 may include, for example, a potential generating circuit 10, a boost circuit 20, constant voltage circuits 30, 60, 70, and 80, a charging circuit 40, and a bandgap circuit 50. The device in which the power supply circuit 1 is installed is not limited to a stylus, but may be any device having an electrical circuit.

[0019] The constant voltage circuit 30 is, for example, an LDO (Low Dropout) circuit, which converts the supplied potential into a constant potential of, for example, 4.0 V and outputs it. Specifically, the constant voltage circuit 30 converts the potential VIN supplied from an external power supply path such as a USB into a predetermined potential VDD33 based on the reference potential VREF supplied from the bandgap circuit 50. The constant voltage circuit 30 supplies the converted potential VDD33 to the power supply line W_VDD33 via the switch SW1.

[0020] The switch SW1 is, for example, a transistor or a mechanical switch, and shorts or opens the connection between the constant voltage circuit 30 and the power supply line W_VDD33 based on the operation of the constant voltage circuit 30. Specifically, when the constant voltage circuit 30 is supplying the potential VDD33 to the power supply line W_VDD33, the switch SW1 shorts the connection between the constant voltage circuit 30 and the power supply line W_VDD33. Furthermore, when the constant voltage circuit 30 has stopped supplying the potential VDD33 to the power supply line W_VDD33, the switch SW1 opens the connection between the constant voltage circuit 30 and the power supply line W_VDD33.

[0021] The charging circuit 40 is a circuit for supplying a potential to a lithium-ion battery to charge it when the lithium-ion battery is used as the battery of a device equipped with the power supply circuit 1. Specifically, the charging circuit 40 converts the potential VDD33 supplied from the constant voltage circuit 30 via the power supply line W_VDD33 into a potential that can be charged into the lithium-ion battery, based on the reference potential VREF supplied from the bandgap circuit 50. The charging circuit 40 charges the lithium-ion battery by supplying the converted potential to the lithium-ion battery via a path not shown.

[0022] The boost circuit 20 is, for example, a step-up DC-DC converter, and either boosts the supplied potential and outputs it, or outputs the supplied potential as is. Specifically, when a dry battery is used as the battery of the device in which the power supply circuit 1 is installed, the boost circuit 20 boosts the potential VBAT of approximately 0.95 V to approximately 1.60 V supplied from the dry battery to approximately 2.1 V based on the reference potential VREF supplied from the bandgap circuit 50, and supplies the boosted potential to the power supply line W_VDD33 as the potential VDD33. Furthermore, when a lithium ion battery is used as the battery of the device in which the power supply circuit 1 is installed, the boost circuit 20 supplies the potential VBAT of approximately 2.80 V to approximately 4.40 V supplied from the lithium ion battery to the power supply line W_VDD33 as the potential VDD33 without boosting it.

[0023] The bandgap circuit 50 serves as a reference for the operation of each circuit provided in the power supply circuit 1, and generates a reference potential VREF that is always constant regardless of temperature, power supply voltage, manufacturing process characteristics, etc., and supplies the generated reference potential VREF to each circuit. Specifically, the bandgap circuit 50 uses the potential VDD33 supplied from the constant voltage circuit 30 or the boost circuit 20 via the power supply line W_VDD33 as a power source to generate the reference potential VREF, and supplies the generated reference potential VREF to each circuit.

[0024] The potential generating circuit 10 is a DC-DC converter capable of generating a plurality of potentials, and generates a potential VDDD of approximately 1.4 V from the potential VDD33 supplied from the power supply line W_VDD33, a potential VDD2 of approximately 2.1 V, and a potential VR1 based on the potential VDD2, based on the reference potential VREF output from the bandgap circuit 50. The potential generating circuit 10 supplies the generated potential VDDD to each digital circuit in the power supply circuit 1. The potential generating circuit 10 also supplies the generated potential VDD2 to the constant voltage circuits 70 and 80. The potential generating circuit 10 also supplies the generated potential VR1 to the constant voltage circuit 60.

[0025] The constant voltage circuit 60 is, for example, an LDO circuit, and converts a supplied potential into a predetermined potential and outputs it. Specifically, the constant voltage circuit 60 compares the magnitude of the reference potential VREF supplied from the bandgap circuit 50 with the potential VR1 supplied from the potential generating circuit 10. When the potential of the reference potential VREF is equal to or higher than the potential VR1, the constant voltage circuit 60 generates a potential VDDD of 1.35 V to 1.40 V from the potential VDD33 supplied via the power supply line W_VDD33. Next, the constant voltage circuit 30 supplies the generated potential VDDD to each digital circuit in the power supply circuit 1. Furthermore, when the potential of the reference potential VREF is lower than the potential VR1, the constant voltage circuit 60 stops generating and outputting the potential VDDD.

[0026] The constant voltage circuits 70 and 80 are, for example, LDO circuits, and convert a supplied potential into a predetermined potential and output it. Specifically, the constant voltage circuit 70 converts the potential VDD2 supplied from the potential generating circuit 10 into a potential VDDA of approximately 1.85 V based on the reference potential VREF supplied from the bandgap circuit 50. The constant voltage circuit 70 supplies the converted potential VDDA to each analog circuit in the power supply circuit 1. Furthermore, the constant voltage circuit 80 converts the potential VDD2 supplied from the potential generating circuit 10 into a potential VDDLC of approximately 1.74 V to 2.055 V based on the reference potential VREF supplied from the bandgap circuit 50. The constant voltage circuit 80 supplies the converted potential VDDLC to each LC oscillation circuit in the power supply circuit 1.

[0027] The operation of each circuit in the power supply circuit 1 has been described above. Next, the configuration of the potential generating circuit 10 will be described. FIG. 2 is a diagram showing an example of the potential generating circuit 10. As shown in FIG. 2, the potential generating circuit 10 includes a control circuit 11, output circuits 12 to 14, amplifier circuits AMP1 to AMP4, buffer circuits BUF1 and BUF2, transistors TR1 to TR3, variable resistors R1 to R4, a constant voltage source V1, and a constant current source I1. An inductive element L1 having an inductance of approximately 22 μH is connected via a signal line between terminals pA and pB of the potential generating circuit 10. A load capacitance C1 is connected to terminal po1 of the potential generating circuit 10 as the load capacitance of an electric circuit, electric element, or the like connected in a subsequent stage. A load capacitance C2 is connected to terminal po2 of the potential generating circuit 10 as the load capacitance of an electric circuit, electric element, or the like connected in a subsequent stage.

[0028] The amplifier circuits AMP1 and AMP2 are, for example, comparators that determine whether the potential input to the non-inverting input terminal+ is equal to or greater than the potential input to the inverting input terminal-, and transmit the determination result to the control circuit 11. Specifically, under the control of the control circuit 11, the amplifier circuit AMP1 determines whether the reference potential VREF input to the non-inverting input terminal+ from the bandgap circuit 50 via the terminal pi2 is equal to or greater than the potential VR2, which is the divided potential of the variable resistors R3 and R4 input to the inverting input terminal-. The amplifier circuit AMP1 transmits the determination result to the control circuit 11. Also, under the control of the control circuit 11, the amplifier circuit AMP2 determines whether the reference potential VREF input to the non-inverting input terminal+ from the bandgap circuit 50 via the terminal pi2 is equal to or greater than the potential VR1, which is the divided potential of the variable resistors R1 and R2 input to the inverting input terminal-. The amplifier circuit AMP2 transmits the determination result to the control circuit 11.

[0029] The control circuit 11 sends a signal to the buffer circuits BUF1 and BUF2 to cause the DC-DC converter formed by the buffer circuits BUF1 and BUF2 and the transistors TR1 and TR2 to output the potential VA or to stop the output of the potential VA.

[0030] The control circuit 11 also operates the power supply circuit 1 in one of the first to fifth operating modes. In the fourth operating mode, the control circuit 11 controls the output circuits 12 and 13 to output a signal from one of the output circuits 12 and 13, depending on the combination of the magnitude relationship between the potential of the first signal SDDD output from the output circuit 12 and a predetermined first set potential, and the magnitude relationship between the potential of the second signal SDD2 output from the output circuit 13 and a predetermined second set potential. The control circuit 11 determines the magnitude relationship between the first signal SDDD and the first set potential based on the state of the output from the amplifier circuit AMP1. The control circuit 11 also determines the magnitude relationship between the second signal SDD2 and the second set potential based on the state of the output from the amplifier circuit AMP2. Note that the operation of the potential generating circuit 10 in each operating mode will be described later with reference to Figures 5A to 5E, and therefore will not be described here.

[0031] The buffer circuits BUF1 and BUF2 are buffer circuits configured to include, for example, MOS-FETs (metal-oxide-semiconductor field-effect transistors), and amplify the signal input to the buffer circuit BUF1 while maintaining its logic, and output the amplified signal. Specifically, the buffer circuit BUF1 amplifies the signal input from the control circuit 11 while maintaining its logic, and outputs the amplified signal to the gate terminal of the transistor TR1. The buffer circuit BUF2 amplifies the signal input from the control circuit 11 to the buffer circuit BUF2 while maintaining its logic, and outputs the amplified signal to the gate terminal of the transistor TR2.

[0032] The transistors TR1 and TR3 are, for example, P-type MOS-FETs. The transistors TR1 and TR3 supply the potential supplied to their source terminals to their drain terminals or stop the supply in accordance with a signal input to their gate terminals. Specifically, when the signal input to their gate terminals is in a low state, the transistors TR1 and TR3 supply the potential supplied to their source terminals to their drain terminals, while when the signal input to their gate terminals is in a high state, the transistors TR1 and TR3 stop the supply.

[0033] The transistor TR1 has a gate terminal connected to the output terminal of the buffer circuit BUF1, a source terminal connected to the power supply line W_VDD33 via the terminal pi1, and a drain terminal connected to one end of the inductive element L1 via the node no and the terminal pA.

[0034] The transistor TR3 has a gate terminal connected to the output terminal for the transistor TR3 of the control circuit 11, a source terminal connected to the power supply line W_VDD33 via the terminal pi1, and a drain terminal connected to the positive terminal of the constant current source I1 and the inverting input terminal − of the amplifier circuit AMP4.

[0035] The transistor TR2 is, for example, an N-type MOS-FET. The transistor TR2 extracts or stops the extraction of charge from the drain terminal to the source terminal in accordance with a signal input to the gate terminal. Specifically, when the signal input to the gate terminal is in a high state, the transistor TR2 extracts charge from the drain terminal to the source terminal, and when the signal input to the gate terminal is in a low state, the transistor TR2 stops the extraction. The gate terminal of the transistor TR2 is connected to the output terminal of the buffer circuit BUF2, the source terminal is connected to the ground line W_GND, and the drain terminal is connected to one end of the inductive element L1 via the node no and the terminal pA.

[0036] The buffer circuits BUF1 and BUF2 and the transistors TR1 and TR2 function as a DC-DC converter. Under the control of the control circuit 11, the DC-DC converter generates a potential VA by alternately switching conduction and non-conduction between the drain terminals and source terminals of the transistors TR1 and TR2, and supplies the generated potential VA to the node no. Specifically, while the drain terminal and source terminal of the transistor TR1 are conductive and the drain terminal and source terminal of the transistor TR2 are non-conductive, the DC-DC converter supplies a potential VDD33 from the power supply line W_VDD33 to the node no via the transistor TR1. Furthermore, while the drain terminal and source terminal of the transistor TR1 are non-conductive and the drain terminal and source terminal of the transistor TR2 are conductive, the DC-DC converter draws a potential from the node no to the ground line W_GND via the transistor TR2.

[0037] The constant voltage source V1 generates a voltage so that the potential difference between its positive and negative terminals becomes a predetermined DC voltage, and supplies the generated DC voltage. The positive terminal of the constant voltage source V1 is connected to the non-inverting input terminal + of the amplifier circuit AMP3, and the negative terminal is connected to the node no.

[0038] The constant current source I1 is a current source that generates a predetermined DC current so that the DC current flows from the positive terminal to the negative terminal under the control of the control circuit 11, and supplies the generated DC current. The constant current source I1 has a positive terminal connected to the inverting input terminal − of the amplifier circuit AMP4 and the drain terminal of the transistor TR3, and a negative terminal connected to the ground line W_GND.

[0039] The amplifier circuit AMP3 is, for example, a comparator that performs zero-cross detection, which detects the timing when the potential input to the non-inverting input terminal+ rises above or falls below the ground potential GND input to the inverting input terminal-. Specifically, under the control of the control circuit 11, the amplifier circuit AMP3 determines whether the potential input to the non-inverting input terminal+ from the constant voltage source V1 is equal to or higher than the ground potential GND of the ground line W_GND input to the inverting input terminal-. The amplifier circuit AMP3 transmits the determination result to the control circuit 11.

[0040] The amplifier circuit AMP4 is, for example, a comparator that performs peak current detection, detecting the timing at which the current flowing through the current path connected to the non-inverting input terminal+ becomes equal to or greater than a predetermined current flowing through the current path connected to the inverting input terminal-. Specifically, under the control of the control circuit 11, the amplifier circuit AMP4 determines whether the potential VA input from the drain terminals of transistors TR1 and TR2 to the non-inverting input terminal+ is equal to or greater than the potential of the drain terminal of transistor TR3 and the positive terminal of constant current source I1 input to the inverting input terminal-. The amplifier circuit AMP4 transmits the determination result to the control circuit 11.

[0041] The output circuit 12 outputs the potential VB supplied from the terminal pB as the first signal SDDD or stops the output under the control of the control circuit 11. The output circuit 12 operates in one of the operation modes of the LDO mode, the DC-DC mode, and the standby mode. Details of the operation of the output circuit 12 in each operation mode will be described later with reference to Figures 5A to 5E, so description thereof will be omitted here.

[0042] The output circuit 13 outputs the potential VB supplied from the terminal pB as the second signal SDD2 or stops the output, based on the control of the control circuit 11. Details of the operation of the output circuit 13 will be explained later with reference to Figures 5A to 5E, so explanation thereof will be omitted here.

[0043] The output circuit 14 outputs the potential VDD33 supplied from the power supply line W_VDD33 as the second signal SDD2 or stops the output, based on the control of the control circuit 11. The output circuit 14 operates in one of the following operation modes: current limit mode, through mode, DC-DC mode, and standby mode. Details of the operation of the output circuit 14 in each operation mode will be described later with reference to Figures 5A to 5E, so description thereof will be omitted here.

[0044] The variable resistors R1 to R4 are resistor elements whose resistance values ​​at both ends can be changed. The resistance values ​​of the variable resistors R1 to R4 are changed under the control of the control circuit 11.

[0045] The variable resistors R1 and R2 function as a voltage divider circuit. The variable resistors R1 and R2 divide the potential VDDD output from the output circuit 12 using the resistance values ​​of the variable resistors R1 and R2, and output the divided potential VR1 to the inverting input terminal − of the amplifier circuit AMP2, while also outputting the potential VR1 to the constant voltage circuit 60 via the terminal po3. One end of the variable resistor R1 is connected to the output terminal of the output circuit 12 and the terminal po1, and the other end is connected to one end of the variable resistor R2, the inverting input terminal − of the amplifier circuit AMP2, and the terminal po3. One end of the variable resistor R2 is connected to the other end of the variable resistor R1, the inverting input terminal − of the amplifier circuit AMP2, and the terminal po3, and the other end is connected to the ground line W_GND.

[0046] The variable resistors R3 and R4 function as a voltage divider circuit. The variable resistors R3 and R4 divide the potential VDD2 output from the output circuit 13 or 14 using the resistance values ​​of the variable resistors R3 and R4, and output the divided potential VR2 to the inverting input terminal − of the amplifier circuit AMP1. One end of the variable resistor R3 is connected to the output terminal of the output circuit 13, the output terminal of the output circuit 14, and the terminal po2, and the other end is connected to one end of the variable resistor R4 and the inverting input terminal − of the amplifier circuit AMP1. One end of the variable resistor R4 is connected to the other end of the variable resistor R3 and the inverting input terminal − of the amplifier circuit AMP1, and the other end is connected to the ground line W_GND.

[0047] Next, a description will be given of the configuration of the output circuits 12 to 14 in the potential generating circuit 10. Fig. 3 is a diagram showing an example of the configuration of the output circuits 12 to 14 together with other circuits in the potential generating circuit 10. As shown in Fig. 3, the control circuit 11 is configured to include, for example, an output control circuit 111 and a voltage control circuit 112.

[0048] The output control circuit 111 controls the output circuits 12 to 14 and the switch SW10. Specifically, the output control circuit 111 transmits control signals CT121, CT122, CT124, and CT126 to the output circuit 12 to control the operation of the output circuit 12. The output control circuit 111 also transmits control signals CT131 and CT132 to the output circuit 13 to control the operation of the output circuit 13. The output control circuit 111 also transmits control signals CT142 to CT144 to the output circuit 14 to control the operation of the output circuit 14. The output control circuit 111 also transmits an instruction to the voltage control circuit 112 to output a potential VA or to stop the output.

[0049] In accordance with instructions transmitted from the output control circuit 111, the voltage control circuit 112 sends signals to the buffer circuits BUF1 and BUF2 of the DC-DC converter formed by the buffer circuits BUF1 and BUF2 and the transistors TR1 and TR2 so that the DC-DC converter outputs the potential VA or stops the output.

[0050] The output circuit 12 includes, for example, transistors TR121 to TR127 and a buffer circuit BUF121. The output circuit 12 and the control circuit 11 form a backflow prevention circuit 15.

[0051] The buffer circuit BUF121 is a buffer circuit including, for example, a MOS-FET, which amplifies an input signal while maintaining its logic and outputs the amplified signal. Specifically, the buffer circuit BUF121 amplifies a control signal CT121 transmitted from the output control circuit 111 while maintaining its logic, and outputs the amplified signal to the gate terminal of the transistor TR121 and the source terminal of the transistor TR122.

[0052] The transistors TR121 to TR127, TR131 to TR133, TR141 to TR143, TR145, and TR146 are, for example, P-type MOS-FETs. The transistors TR121 to TR127, TR131 to TR133, TR141 to TR143, TR145, and TR146 supply the potential supplied to their source terminals to their drain terminals or stop the supply in accordance with a signal input to their gate terminals. Specifically, when the signal input to their gate terminals is in a low state, the transistors TR121 to TR127, TR131 to TR133, TR141 to TR143, TR145, and TR146 supply the potential supplied to their source terminals to their drain terminals, while when the signal input to their gate terminals is in a high state, the transistors stop the supply. In addition, the back gate terminals of the transistors TR122 to TR127, TR131 to TR133, TR141 to TR143, TR145 and TR146, excluding the transistor TR121, are connected to the source terminals.

[0053] The transistor TR121 has a gate terminal connected to the output terminal of the buffer circuit BUF121 and the source terminal of the transistor TR122, a source terminal connected to the other end of the inductive element L1 via a terminal pB, a source terminal of the transistor TR124, a drain terminal of the transistor TR131, and one end of the switch SW10, a drain terminal connected to one end of the load capacitance C1 via a terminal po1, and the source terminals of the transistors TR123 and TR127, and a back gate terminal connected to the source terminals of the transistors TR124 and TR126.

[0054] The transistor TR122 has a gate terminal to which a control signal CT122 is input, the control signal CT122 being transmitted from the output control circuit 111. The transistor TR122 has a source terminal connected to the gate terminal of the transistor TR121 and the output terminal of the buffer circuit BUF121, and a drain terminal connected to the drain terminal of the transistor TR123.

[0055] The transistor TR123 has a gate terminal to which a control signal CT122 transmitted from the output control circuit 111 is input. The transistor TR123 has a source terminal connected to one end of the load capacitance C1 via a terminal po1, a drain terminal of the transistor TR121, and a source terminal of the transistor TR127, and a drain terminal connected to the drain terminal of the transistor TR122.

[0056] A control signal CT124 transmitted from the output control circuit 111 is input to the gate terminal of the transistor TR124. The source terminal of the transistor TR124 is connected to the other end of the inductive element L1 via the terminal pB, and is also connected to the source terminal of the transistor TR121, the drain terminal of the transistor TR131, and one end of the switch SW10. The drain terminal of the transistor TR124 is connected to the drain terminal of the transistor TR125. The transistor TR124 and the transistor TR125 form a first short-circuit control circuit.

[0057] The transistor TR125 has a gate terminal to which a control signal CT124 transmitted from the output control circuit 111 is input. The transistor TR125 has a source terminal connected to the back gate terminal of the transistor TR121 and the source terminal of the transistor TR126, and a drain terminal connected to the drain terminal of the transistor TR124. The transistor TR125 and the transistor TR124 form a first short-circuit control circuit.

[0058] A control signal CT126 transmitted from the output control circuit 111 is input to the gate terminal of the transistor TR126. The source terminal of the transistor TR126 is connected to the back gate terminal of the transistor TR121 and the source terminal of the transistor TR125, and the drain terminal is connected to the drain terminal of the transistor TR127. The transistor TR126 and the transistor TR127 form a second short-circuit control circuit.

[0059] The transistor TR127 has a gate terminal to which a control signal CT126 transmitted from the output control circuit 111 is input. The transistor TR127 has a source terminal connected to one end of the load capacitance C1 via the terminal po1, a drain terminal of the transistor TR121, and a source terminal of the transistor TR123, and a drain terminal connected to the drain terminal of the transistor TR126. The transistor TR127 and the transistor TR126 form a second short-circuit control circuit.

[0060] The output circuit 13 includes, for example, transistors TR131 to TR133 and a buffer circuit BUF131.

[0061] The buffer circuit BUF131 is a buffer circuit including, for example, a MOS-FET, which amplifies an input signal while maintaining its logic and outputs the amplified signal. Specifically, the buffer circuit BUF131 amplifies a control signal CT131 transmitted from the output control circuit 111 while maintaining its logic, and outputs the amplified signal to the gate terminal of the transistor TR131 and the source terminal of the transistor TR132.

[0062] The gate terminal of the transistor TR131 is connected to the output terminal of the buffer circuit BUF131 and the source terminal of the transistor TR132. The source terminal of the transistor TR131 is connected to one end of the load capacitance C2 via the terminal po2 and to the source terminals of the transistors TR133, TR141, and TR146. The drain terminal of the transistor TR131 is connected to the other end of the inductive element L1 via the terminal pB and is also connected to the source terminals of the transistors TR121 and TR124 and one end of the switch SW10.

[0063] The transistor TR132 has a gate terminal that receives a control signal CT132 transmitted from the output control circuit 111. The transistor TR132 has a source terminal that is connected to the output terminal of the buffer circuit BUF131 and the gate terminal of the transistor TR131. The transistor TR132 has a drain terminal that is connected to the drain terminal of the transistor TR133.

[0064] The transistor TR133 has a gate terminal to which a control signal CT132 transmitted from the output control circuit 111 is input. The transistor TR133 has a source terminal connected to one end of the load capacitance C2 via a terminal po2 and to the source terminals of the transistors TR131, TR141, and TR146. The transistor TR133 has a drain terminal connected to the drain terminal of the transistor TR132.

[0065] The output circuit 14 includes, for example, transistors TR141 to TR146.

[0066] The gate terminal of the transistor TR141 is connected to the source terminals of the transistors TR144 and TR145. The source terminal of the transistor TR141 is connected to one end of the load capacitance C2 via the terminal po2 and is also connected to the source terminals of the transistors TR131, TR133, and TR146. The drain terminal of the transistor TR141 is connected to the drain terminals of the transistors TR142 and TR143.

[0067] A control signal CT142 transmitted from the output control circuit 111 is input to the gate terminal of the transistor TR142. The source terminal of the transistor TR142 is connected to the power supply line W_VDD33 via the terminal pi1, and is also connected to the source terminals of the transistors TR1 and TR143. The drain terminal of the transistor TR142 is connected to the drain terminals of the transistors TR141 and TR143.

[0068] A control signal CT143 transmitted from the output control circuit 111 is input to a gate terminal of the transistor TR143. The source terminal of the transistor TR143 is connected to the power supply line W_VDD33 via the terminal pi1 and is also connected to the source terminals of the transistors TR1 and TR142. The drain terminal of the transistor TR143 is connected to the drain terminals of the transistors TR141 and TR142.

[0069] The transistor TR144 is, for example, an N-type MOS-FET. The transistor TR144 extracts or stops the extraction of charge from the drain terminal to the source terminal in accordance with a signal input to the gate terminal. Specifically, when the signal input to the gate terminal is in a high state, the transistor TR144 extracts charge from the drain terminal to the source terminal, and when the signal input to the gate terminal is in a low state, the transistor TR144 stops the extraction. Specifically, a control signal CT144 transmitted from the output control circuit 111 is input to the gate terminal of the transistor TR144. The source terminal of the transistor TR144 is connected to the source terminal of the transistor TR145 and the gate terminal of the transistor TR141. The drain terminal of the transistor TR144 is connected to the ground line W_GND.

[0070] The transistor TR145 has a gate terminal to which a control signal CT144 transmitted from the output control circuit 111 is input. The transistor TR145 has a source terminal connected to the source terminal of the transistor TR144 and the gate terminal of the transistor TR141. The transistor TR145 has a drain terminal connected to the drain terminal of the transistor TR146.

[0071] The transistor TR146 has a gate terminal to which a control signal CT144 transmitted from the output control circuit 111 is input. The transistor TR146 has a source terminal connected to one end of the load capacitance C2 via a terminal po2, and is also connected to the source terminals of the transistors TR131, TR133, and TR144. The transistor TR146 has a drain terminal connected to the drain terminal of the transistor TR145.

[0072] Next, a description will be given of the configuration of the constant voltage circuit 60. Fig. 4 is a diagram showing an example of the constant voltage circuit 60. As shown in Fig. 4, the constant voltage circuit 60 includes, for example, an amplifier circuit AMP60 and a transistor TR60.

[0073] The amplifier circuit AMP60 is, for example, a comparator that determines whether the potential input to the non-inverting input terminal + is equal to or greater than the potential input to the inverting input terminal −, and outputs the determination result to the transistor TR60. Specifically, the amplifier circuit AMP60 determines whether the potential VR1 input to the non-inverting input terminal + from the potential generating circuit 10 is equal to or greater than the reference potential VREF input to the inverting input terminal − from the bandgap circuit 50. If the determination result is positive, the amplifier circuit AMP60 outputs a high-state signal to the gate terminal of the transistor TR60. If the determination result is negative, the amplifier circuit AMP60 outputs a low-state signal to the gate terminal of the transistor TR60.

[0074] The transistor TR60 is, for example, a P-type MOS-FET. The transistor TR60 brings the source terminal and the drain terminal into a conductive or non-conductive state according to the potential input to the gate terminal. Specifically, when the state of the signal input to the gate terminal is low, the transistor TR60 brings the source terminal and the drain terminal into a conductive state, whereas when the potential of the signal input to the gate terminal is high, the transistor TR60 brings the source terminal and the drain terminal into a non-conductive state. Note that when the transistor TR60 brings the source terminal and the drain terminal into a conductive state, the transistor TR60 supplies, from the drain terminal, a potential that is a voltage drop from the potential supplied to the source terminal by an amount corresponding to the potential difference depending on the source-drain resistance.

[0075] The transistor TR60 has a gate terminal connected to the output terminal of the amplifier circuit AMP60, a source terminal connected to the power supply line W_VDD33, and a drain terminal connected to the power supply line W_VDDD.

[0076] <Flow of a Series of Operations> The configuration of the power supply circuit 1 has been described above. Next, the operation of the power supply circuit 1 in each mode will be described in detail. The output circuit 12 in the power supply circuit 1 operates in one of the following operation modes: LDO mode, DC-DC mode, and standby mode. Furthermore, the output circuit 14 in the power supply circuit 1 operates in one of the following operation modes: current limit mode, through mode, DC-DC mode, and standby mode.

[0077] Furthermore, the power supply circuit 1 switches its operation depending on whether the device in which the power supply circuit 1 is installed is equipped with a dry cell battery or a lithium-ion battery. A case will be described in which the device in which the power supply circuit 1 is installed is equipped with a dry cell mode. After startup, the power supply circuit 1 first operates the output circuit 12 in LDO mode, and then operates it in DC-DC mode. After startup, the power supply circuit 1 also first operates the output circuit 14 in current limit mode, and then operates it in through mode. Furthermore, when the device in which the power supply circuit 1 is installed is in a sleep state, the power supply circuit 1 operates the output circuits 12 to 14 in standby mode.

[0078] This example illustrates a case where a lithium-ion battery is installed in a device incorporating the power supply circuit 1. After startup, the power supply circuit 1 first operates the output circuit 12 in LDO mode and then in DC-DC mode. After startup, the power supply circuit 1 first operates the output circuit 14 in current limit mode for a predetermined period of time, and then operates the output circuit 14 in through mode while the output circuit 12 is operating in LDO mode. When the output circuit 12 switches its operating mode from LDO mode to DC-DC mode, the power supply circuit 1 switches the operating mode of the output circuit 14 from through mode to DC-DC mode, causing the output circuit 14 to operate in DC-DC mode. When the device incorporating the power supply circuit 1 is in a sleep state, the power supply circuit 1 operates the output circuits 12 to 14 in standby mode.

[0079] The operation of each circuit in the power supply circuit 1 is described below when the device incorporating the power supply circuit 1 is equipped with a dry cell battery as a battery and the power supply circuit 1 is operating in a first mode in which the output circuit 12 operates in LDO mode. FIG. 5A illustrates an example of the operation of the potential generating circuit 10 in the first mode. In this embodiment, the ON state refers to a state in which the source terminal and drain terminal of a transistor are electrically connected, and the OFF state refers to a state in which the source terminal and drain terminal of a transistor are electrically disconnected. In the first mode, the voltage control circuit 112 in the control circuit 11 controls the operation of the DC-DC converter formed by the transistors TR1 and TR2 and the buffer circuits BUF1 and BUF2 to stop generating the potential VA. The output control circuit 111 also controls the switch SW10 to short-circuit, thereby transitioning the potential of the terminal pB to the ground potential GND.

[0080] In the first mode, the output control circuit 111 in the control circuit 11 sends a control signal CT121 to the buffer circuit BUF121 so that the signal output from the buffer circuit BUF121 is in a high-impedance state. The output control circuit 111 also sends a low-state control signal CT122 to the gate terminals of transistors TR122 and TR123, turning on the transistors TR122 and TR123. The output control circuit 111 also sends a low-state control signal CT126 to the gate terminals of transistors TR126 and TR127, turning on the transistors TR126 and TR127. The output control circuit 111 also sends a high-state control signal CT124 to the gate terminals of transistors TR124 and TR125, turning off the transistors TR124 and TR125.

[0081] In the first mode, in accordance with the states set in the transistors TR122 to TR127, the gate terminal of the transistor TR121 is supplied with the potential VDDD from the constant voltage circuit 60 via the on-state transistors TR122 and TR123 and the terminal po1. Also in the first mode, the source terminal of the transistor TR121 is supplied with the ground potential GND via the switch SW10. Also in the first mode, the drain terminal of the transistor TR121 is supplied with the potential VDDD from the constant voltage circuit 60 via the terminal po1. Furthermore, the back gate terminal of the transistor TR121 is supplied with the potential VDDD from the constant voltage circuit 60 via the on-state transistors TR126 and TR127 and the terminal po1.

[0082] In the first mode, transistor TR121 is turned off in accordance with the states of transistors TR122 to TR127. In addition, in the first mode, a parasitic diode is formed from the source terminal to the drain terminal via the back gate terminal of transistor TR121, as the back gate terminal of transistor TR121 is connected to the drain terminal via transistors TR126 and TR127. In the first mode, transistor TR121 is conductive in the direction from the source terminal to the drain terminal, but is non-conductive in the direction from the drain terminal to the source terminal.

[0083] As a result, in the first mode, the backflow prevention circuit 15 including the output circuit 12 and the control circuit 11 is in a first state in which the ground potential GND is supplied to the source terminal.

[0084] In the first state, the backflow prevention circuit 15 prevents current from flowing from the input side to the output side of the output circuit 12 because the potential of the output side terminal po1 is higher than the potential of the input side terminal pB, even though the parasitic diode is conductive in the direction from the input side to the output side of the output circuit 12. Also, in the first state, the backflow prevention circuit 15 prevents current from flowing back from the output side to the input side of the output circuit 12 because the parasitic diode is non-conductive in the direction from the output side to the input side of the output circuit 12.

[0085] In the first mode, the output control circuit 111 in the control circuit 11 transmits a control signal CT131 to the buffer circuit BUF131 so that the state of the signal output from the buffer circuit BUF131 becomes a high impedance state. The output control circuit 111 also transmits a low-state control signal CT132 to the gate terminals of the transistors TR132 and TR133, turning on the transistors TR132 and TR133.

[0086] In the first mode, the transistor TR131 has a gate terminal supplied with the potential VDD2 from the output circuit 14 via the on-state transistors TR132 and TR133. Also in the first mode, the transistor TR131 has a source terminal supplied with the potential VDD2 from the output circuit 14. Also in the first mode, the transistor TR131 has a drain terminal supplied with the ground potential GND via the switch SW10.

[0087] In the first mode, transistor TR131 is turned off in accordance with the states of transistors TR132 and TR133. Furthermore, since the back gate terminal of transistor TR131 is connected to the source terminal, a parasitic diode is formed from the drain terminal to the source terminal via the back gate terminal. Transistor TR131 is conductive in the direction from the drain terminal to the source terminal, but is non-conductive in the direction from the source terminal to the drain terminal.

[0088] As a result, in the first mode, although the parasitic diode of the output circuit 13 is conductive in the direction from the input side to the output side, the potential of the output side terminal po2 is higher than the potential of the input side terminal pB, preventing current from flowing from the input side to the output side of the output circuit 13. Also, in the first mode, the parasitic diode of the output circuit 13 is non-conductive in the direction from the output side to the input side, preventing current from flowing back from the output side to the input side.

[0089] In the first mode, the output control circuit 111 in the control circuit 11 sends a high-state control signal CT144 to the gate terminals of transistors TR144 to TR146, turning on transistor TR144 and turning off transistors TR145 and TR146. In the first mode, in accordance with the states set for transistors TR144 to TR146, the gate terminal of transistor TR141 is supplied with ground potential GND from transistor TR144, which is in the on state, via the ground line W_GND, turning transistor TR141 on. Note that, in the first mode, the back gate terminal of transistor TR146 is connected to the source terminal, thereby preventing current from flowing from the source terminal to the drain terminal.

[0090] Furthermore, when the power supply circuit 1 is in the first mode and the output circuit 14 is in the current limiting mode, the output control circuit 111 sends a high-state control signal CT142 to the gate terminal of the transistor TR142 to set the transistor TR142 to the off state. Furthermore, when the power supply circuit 1 is in the first mode and the output circuit 14 is in the current limiting mode, the output control circuit 111 sends a low-state control signal CT143 to the gate terminal of the transistor TR143 to set the transistor TR143 to the on state.

[0091] Accordingly, when the power supply circuit 1 is in the first mode and the output circuit 14 is in the current limiting mode, the output circuit 14 outputs a potential VDD2 from the power supply line W_VDD33 via the on-state transistors TR143 and TR141 so that the potential VDD2 is approximately the same as the potential VDD33 of the power supply line W_VDD33. Because the on-resistance of the transistor TR143 is greater than the on-resistance of the transistor TR142, the output circuit 14 outputs the potential VDD2 to the terminal po2 in the current limiting mode so that the output current is smaller than when operating in the through mode.

[0092] Furthermore, when the power supply circuit 1 is in the first mode and the output circuit 14 is in the through mode, the output control circuit 111 sends a low-state control signal CT142 to the gate terminal of the transistor TR142 to set the transistor TR142 to the on state. Furthermore, when the power supply circuit 1 is in the first mode and the output circuit 14 is in the through mode, the output control circuit 111 sends a high-state control signal CT143 to the gate terminal of the transistor TR143 to set the transistor TR143 to the off state.

[0093] Accordingly, when the power supply circuit 1 is in the first mode and the output circuit 14 is in the through mode, the output circuit 14 outputs a potential VDD2 from the power supply line W_VDD33 via the on-state transistors TR142 and TR141 so that the potential VDD2 is approximately the same as the potential VDD33 of the power supply line W_VDD33. Because the on-resistance of the transistor TR142 is smaller than the on-resistance of the transistor TR143, the output circuit 14 outputs the potential VDD2 to the terminal po2 in the through mode so that the output current is larger than when operating in the current limit mode.

[0094] The operation of each circuit in the power supply circuit 1 will be described when the device incorporating the power supply circuit 1 is equipped with a dry cell battery as a battery and the power supply circuit 1 is operating in a second mode in which the output circuit 12 operates in DC-DC mode. FIG. 5B is a diagram showing an example of the operation of the potential generating circuit 10 in the second mode. In the second mode, the voltage control circuit 112 in the control circuit 11 controls the operation of the DC-DC converter formed by the transistors TR1 and TR2 and the buffer circuits BUF1 and BUF2 so as to generate a potential VA. In addition, the output control circuit 111 controls the switch SW10 to open, thereby preventing the terminal pB from being connected to the ground line W_GND.

[0095] In the second mode, the output control circuit 111 in the control circuit 11 sends a control signal CT121 to the buffer circuit BUF121 so that the signal output from the buffer circuit BUF121 goes low. The output control circuit 111 also sends a high-state control signal CT122 to the gate terminals of transistors TR122 and TR123, turning transistors TR122 and TR123 off. The output control circuit 111 also sends a high-state control signal CT126 to the gate terminals of transistors TR126 and TR127, turning transistors TR126 and TR127 off. The output control circuit 111 also sends a low-state control signal CT124 to the gate terminals of transistors TR124 and TR125, turning transistors TR124 and TR125 on.

[0096] In the second mode, in accordance with the states set in transistors TR122 to TR127, a low-state signal is input to the gate terminal of transistor TR121 from buffer circuit BUF121, turning the transistor TR121 into an on state. Also, in the second mode, the output circuit 12 supplies potential VB to the source terminal of transistor TR121 via terminal pB, and outputs a first signal SDDD from the drain terminal of transistor TR121 so that potential VDDD becomes a first set potential (e.g., 1.4 V). As a result, in the second mode, the backflow prevention circuit 15, including the control circuit 11 and output circuit 12, enters a second state in which potential VB is supplied to the source terminal. In the second state, the backgate terminal of transistor TR121 is connected to the source terminal via transistors TR124 and TR125, forming a parasitic diode in transistor TR121 that runs from the drain terminal to the source terminal via the backgate terminal.

[0097] In the second mode, the output control circuit 111 in the control circuit 11 sends a control signal CT131 to the buffer circuit BUF131 so that the signal output from the buffer circuit BUF131 is in a high state. The output control circuit 111 also sends a control signal CT132 in a high state to the gate terminals of the transistors TR132 and TR133, turning off the transistors TR132 and TR133.

[0098] In the second mode, a high-state signal is input to the gate terminal of the transistor TR131 from the buffer circuit BUF131. Also in the second mode, a potential VDD2 is supplied to the source terminal of the transistor TR131 from the output circuit 14. Also in the second mode, a potential VB of the terminal pB is supplied to the drain terminal of the transistor TR131.

[0099] In the second mode, transistor TR131 is turned off in accordance with the states of transistors TR132 and TR133. Furthermore, since the back gate terminal of transistor TR131 is connected to the source terminal, a parasitic diode is formed from the drain terminal to the source terminal via the back gate terminal. Transistor TR131 is conductive in the direction from the drain terminal to the source terminal, but is non-conductive in the direction from the source terminal to the drain terminal.

[0100] As a result, in the second mode, although the parasitic diode of the output circuit 13 is conductive in the direction from the input side to the output side, the potential of the output side terminal po2 is higher than the potential of the input side terminal pB, preventing current from flowing from the input side to the output side of the output circuit 13. Also, in the second mode, the parasitic diode of the output circuit 13 is non-conductive in the direction from the output side to the input side, preventing current from flowing back from the output side to the input side.

[0101] In the second mode, the output control circuit 111 in the control circuit 11 sends a high-state control signal CT144 to the gate terminals of transistors TR144 to TR146, turning on transistor TR144 and turning off transistors TR145 and TR146. The output control circuit 111 also sends a low-state control signal CT142 to the gate terminal of transistor TR142, turning on transistor TR142. The output control circuit 111 also sends a high-state control signal CT143 to the gate terminal of transistor TR143, turning off transistor TR143. Accordingly, in the second mode, the output circuit 14 outputs a second signal SDD2 from the power supply line W_VDD33 via transistors TR142 and TR141, which are turned on, so that the potential VDD2 is approximately equal to the potential VDD33 of the power supply line W_VDD33. In addition, since the back gate terminal of the transistor TR146 is connected to the source terminal, in the second mode, a current is prevented from flowing in the direction from the source terminal to the drain terminal.

[0102] The operation of each circuit in the power supply circuit 1 will be described when the device incorporating the power supply circuit 1 is equipped with a lithium-ion battery as a battery and the power supply circuit 1 is operating in a third mode in which the output circuit 12 operates in LDO mode. FIG. 5C is a diagram showing an example of the operation of the potential generating circuit 10 in the third mode. In the third mode, the voltage control circuit 112 in the control circuit 11 controls the operation of the DC-DC converter formed by the transistors TR1 and TR2 and the buffer circuits BUF1 and BUF2 so as to generate a potential VA. In addition, the output control circuit 111 controls the switch SW10 to open, thereby preventing the terminal pB from being connected to the ground line W_GND.

[0103] In the third mode, the output control circuit 111 in the control circuit 11 sends a control signal CT121 to the buffer circuit BUF121 so that the signal output from the buffer circuit BUF121 is high. The output control circuit 111 also sends a high-state control signal CT122 to the gate terminals of transistors TR122 and TR123, turning transistors TR122 and TR123 off. The output control circuit 111 also sends a high-state control signal CT126 to the gate terminals of transistors TR126 and TR127, turning transistors TR126 and TR127 off. The output control circuit 111 also sends a low-state control signal CT124 to the gate terminals of transistors TR124 and TR125, turning transistors TR124 and TR125 on.

[0104] In the third mode, in accordance with the states set in transistors TR122 to TR127, a high-state signal is input to the gate terminal of transistor TR121 from buffer circuit BUF121. Also in the third mode, a potential VB is supplied to the source terminal of transistor TR121 via terminal pB. Also in the third mode, a potential VDDD is supplied to the drain terminal of transistor TR121 from constant voltage circuit 60 via terminal po1. Furthermore, a back gate terminal of transistor TR121 is supplied with potential VB via transistors TR124 and TR125 that are in the on state and terminal pB.

[0105] In the third mode, transistor TR121 is turned off in accordance with the states of transistors TR122 to TR127. In addition, in the third mode, the back gate terminal of transistor TR121 is connected to the source terminal via transistors TR124 and TR125, thereby forming a parasitic diode from the drain terminal to the source terminal via the back gate terminal. In the third mode, transistor TR121 is conductive in the direction from the drain terminal to the source terminal, but is non-conductive in the direction from the source terminal to the drain terminal.

[0106] As a result, in the third mode, the backflow prevention circuit 15, which includes the control circuit 11 and the output circuit 12, is in a second state in which the source terminal is supplied with the potential VB. In the second state of the third mode, the backflow prevention circuit 15 prevents current from flowing from the output side to the input side of the output circuit 12 because the potential of the input side terminal pB is higher than the potential of the output side terminal po1, even though the parasitic diode of the backflow prevention circuit 15 is conductive in the direction from the output side to the input side of the output circuit 12. In the second state of the third mode, the backflow prevention circuit 15 prevents current from flowing back from the input side to the output side, because the parasitic diode of the output circuit 12 is non-conductive in the direction from the input side to the output side.

[0107] In the third mode, the output control circuit 111 in the control circuit 11 sends a control signal CT131 to the buffer circuit BUF131 so that the signal output from the buffer circuit BUF131 becomes high. The output control circuit 111 also sends a high-state control signal CT132 to the gate terminals of the transistors TR132 and TR133, turning off the transistors TR132 and TR133. The operation of the output circuit 13 in the third mode is the same as in the second mode, and therefore a description thereof will be omitted.

[0108] In the third mode, the output control circuit 111 in the control circuit 11 sends a high-state control signal CT144 to the gate terminals of the transistors TR144 to TR146, turning on the transistor TR144 and turning off the transistors TR145 and TR146.

[0109] Furthermore, when the power supply circuit 1 is in the third mode and the output circuit 14 is in the current limiting mode, the output control circuit 111 sends a high-state control signal CT142 to the gate terminal of the transistor TR142 to set the transistor TR142 to the off state. Furthermore, when the power supply circuit 1 is in the third mode and the output circuit 14 is in the current limiting mode, the output control circuit 111 sends a low-state control signal CT143 to the gate terminal of the transistor TR143 to set the transistor TR143 to the on state.

[0110] Furthermore, when the power supply circuit 1 is in the third mode and the output circuit 14 is in the through mode, the output control circuit 111 sends a low-state control signal CT142 to the gate terminal of transistor TR142 to set transistor TR142 to the on state. Furthermore, when the power supply circuit 1 is in the third mode and the output circuit 14 is in the through mode, the output control circuit 111 sends a low-state control signal CT143 to the gate terminal of transistor TR143 to set transistor TR143 to the off state. Note that, because the back gate terminal of transistor TR146 is connected to the source terminal, in the first mode, current does not flow from the source terminal to the drain terminal. The operation of the output circuit 14 in the third mode is the same as in the first mode, and therefore a description thereof will be omitted.

[0111] This section describes the operation of each circuit in the power supply circuit 1 when the device incorporating the power supply circuit 1 is equipped with a lithium-ion battery as a battery and the power supply circuit 1 is operating in a fourth mode in which the output circuit 12 operates in DC-DC mode. Figure 5D is a diagram showing an example of the operation of the potential generating circuit 10 in the fourth mode. In the fourth mode, the voltage control circuit 112 in the control circuit 11 controls the operation of the DC-DC converter formed by the transistors TR1 and TR2 and the buffer circuits BUF1 and BUF2 so as to generate a potential VA. The output control circuit 111 also controls the switch SW10 to open, thereby preventing the terminal pB from being connected to the ground line W_GND.

[0112] In the fourth mode, the output control circuit 111 in the control circuit 11 sends a control signal CT121 to the buffer circuit BUF121 so that the signal output from the buffer circuit BUF121 goes low. The output control circuit 111 also sends a high-state control signal CT122 to the gate terminals of transistors TR122 and TR123, turning transistors TR122 and TR123 off. The output control circuit 111 also sends a high-state control signal CT126 to the gate terminals of transistors TR126 and TR127, turning transistors TR126 and TR127 off. The output control circuit 111 also sends a low-state control signal CT124 to the gate terminals of transistors TR124 and TR125, turning transistors TR124 and TR125 on. The states of the transistor TR121, the output circuit 12, and the backflow prevention circuit 15 in the fourth mode are the same as those in the second mode, and therefore will not be described here.

[0113] In the fourth mode, the output control circuit 111 in the control circuit 11 sends a control signal CT131 to the buffer circuit BUF131 so that the signal output from the buffer circuit BUF131 is in a low state. The output control circuit 111 also sends a high-state control signal CT132 to the gate terminals of the transistors TR132 and TR133, turning off the transistors TR132 and TR133.

[0114] In the fourth mode, the transistor TR131 receives a low signal from the buffer circuit BUF131 at its gate terminal, turning it on. In the fourth mode, the output circuit 13 receives the potential VB of the terminal pB at its drain terminal, and outputs a second signal SDD2 having a potential VDD2 from the source terminal of the transistor TR131 via the terminal po2.

[0115] In the fourth mode, the output control circuit 111 in the control circuit 11 sends a low-state control signal CT144 to the gate terminals of transistors TR144 to TR146, turning off transistor TR144 and turning on transistors TR145 and TR146. The output control circuit 111 also sends a high-state control signal CT142 to the gate terminal of transistor TR142, turning off transistor TR142. The output control circuit 111 also sends a high-state control signal CT143 to the gate terminal of transistor TR143, turning off transistor TR143. In the fourth mode, the back gate terminals of transistors TR142 to TR144 are connected to the source terminals, preventing current from flowing from the source terminals to the drain terminals.

[0116] In the fourth mode, the gate terminal of the transistor TR141 is supplied with the potential VDD from the terminal po2 via the transistors TR145 and TR146 in the ON state. In the fourth mode, the transistor TR141 is in the ON state when the potential VDD2 is lower than the potential of the drain terminal of the transistor TR141. When the fourth mode is in the ON state and the transistor TR141 is in the ON state, the conduction direction of the parasitic diodes of the transistors TR142 and TR143 is from the drain terminal to the source terminal, and therefore, the current is prevented from flowing from the power line W_VDD33 to the terminal po2 via the transistor TR141 in the ON state.

[0117] Furthermore, in the fourth mode, the transistor TR141 is turned off when the potential of the potential VDD2 is higher than the potential of the drain terminal of the transistor TR141. When the fourth mode is in effect and the transistor TR141 is turned off, the direction of conduction of the parasitic diode of the transistor TR141 is from the drain terminal to the source terminal, and therefore, current is prevented from flowing from the terminal po2 to the power supply line W_VDD33 via the parasitic diodes of the transistors TR142 and TR143.

[0118] The operation of each circuit in the power supply circuit 1 when the power supply circuit 1 is operating in a fifth mode in which the output circuits 12 to 14 in the power supply circuit 1 operate in standby mode will be described. FIG. 5E is a diagram showing an example of the operation of the potential generating circuit 10 in the fifth mode. In the fifth mode, the voltage control circuit 112 in the control circuit 11 controls the operation of the DC-DC converter formed by the transistors TR1 and TR2 and the buffer circuits BUF1 and BUF2 so as to stop the generation of the potential VA. In addition, the output control circuit 111 short-circuits the switch SW10, thereby transitioning the potential of the terminal pB to the ground potential GND, which is the potential of the ground line W_GND.

[0119] In the fifth mode, the output control circuit 111 in the control circuit 11 sends a control signal CT121 to the buffer circuit BUF121 so that the signal output from the buffer circuit BUF121 is in a high-impedance state. The output control circuit 111 also sends a low-state control signal CT122 to the gate terminals of transistors TR122 and TR123, turning on transistors TR122 and TR123. The output control circuit 111 also sends a low-state control signal CT126 to the gate terminals of transistors TR126 and TR127, turning on transistors TR126 and TR127. The output control circuit 111 also sends a high-state control signal CT124 to the gate terminals of transistors TR124 and TR125, turning off transistors TR124 and TR125.

[0120] In the fifth mode, in accordance with the states set in the transistors TR122 to TR127, the gate terminal of the transistor TR121 is supplied with the potential VDDD from the constant voltage circuit 60 via the on-state transistors TR122 and TR123 and the terminal po1. Also in the fifth mode, the source terminal of the transistor TR121 is supplied with the ground potential GND via the switch SW10. Also in the fifth mode, the drain terminal of the transistor TR121 is supplied with the potential VDDD from the constant voltage circuit 60 via the terminal po1. Furthermore, the back gate terminal of the transistor TR121 is supplied with the potential VDDD via the on-state transistors TR126 and TR127 and the terminal po1. The states of the transistor TR121 and the backflow prevention circuit 15 in the fifth mode are the same as those in the first mode, and therefore will not be described here.

[0121] In the fifth mode, the output control circuit 111 in the control circuit 11 transmits a control signal CT131 to the buffer circuit BUF131 so that the state of the signal output from the buffer circuit BUF131 becomes a high impedance state. In addition, the output control circuit 111 transmits a low-state control signal CT132 to the gate terminals of the transistors TR132 and TR133, thereby turning off the transistors TR132 and TR133.

[0122] In the fifth mode, the gate terminal of the transistor TR131 is supplied with the potential VDD2 from the output circuit 14 via the on-state transistors TR132 and TR133. Also in the fifth mode, the source terminal of the transistor TR131 is supplied with the potential VDD2 from the terminal po2. Also in the fifth mode, the drain terminal of the transistor TR131 is supplied with the ground potential GND via the switch SW10. Note that the operation of the output circuit 13 in the fifth mode is the same as in the first mode, and therefore a description thereof will be omitted.

[0123] In the fifth mode, the output control circuit 111 in the control circuit 11 sends a low-state control signal CT144 to the gate terminals of transistors TR144 to TR146, turning off transistor TR144 and turning on transistors TR145 and TR146. The output control circuit 111 also sends a high-state control signal CT142 to the gate terminal of transistor TR142, turning off transistor TR142. The output control circuit 111 also sends a high-state control signal CT143 to the gate terminal of transistor TR143, turning off transistor TR143.

[0124] In the fifth mode, the back gate terminals of the transistors TR142 to TR144 are connected to the source terminals, thereby preventing current from flowing from the source terminals to the drain terminals. The operation of the output circuit 14 in the fifth mode is the same as in the fourth mode, and therefore a description thereof will be omitted.

[0125] <Flow of operations>

[0126] The operation of the potential generating circuit 10 in each operation mode has been described above. Next, the transition of the potential of each signal in the potential generating circuit 10 will be described in detail. FIG. 6A is a first example of a timing chart showing the state of the output of the potential generating circuit 10. FIG. 6B is a second example of a timing chart showing the state of the output of the potential generating circuit 10. In FIGS. 6A and 6B, the control circuit 11 sets the operation mode of the power supply circuit 1 to the fourth mode, the first set potential to 1.4 V, and the second set potential to 2.1 V. In FIG. 6A, the control circuit 11 sets the operation mode of the power supply circuit 1 to the fourth mode, the first set potential to 1.4 V, and the second set potential to 2.1 V.

[0127] As shown in FIG. 6A, in the fourth mode, when the potential VDDD output by the output circuit 12 is less than the first set potential and the potential VDD2 output by the output circuit 13 is less than the second set potential, the control circuit 11 controls the states of the control signals CT121 and CT131 so that the output circuits 12 and 13 alternately output signals at regular intervals.

[0128] As shown in FIG. 6B, in the fourth mode, when the potential VDDD output by the output circuit 12 is less than the first set potential and the potential VDD2 output by the output circuit 13 is equal to or greater than the second set potential, the control circuit 11 stops output by the output circuit 13 and controls the states of the control signals CT121 and CT131 so that output is performed from the output circuit 12.

[0129] Although not shown, in the fourth mode, when the potential VDDD output by the output circuit 12 is equal to or higher than the first set potential and the potential VDD2 output by the output circuit 13 is lower than the second set potential, the control circuit 11 stops output by the output circuit 12 and controls the states of the control signals CT121 and CT131 to output from the output circuit 13. Furthermore, when the potential VDDD is equal to or higher than the first set potential and the potential VDD2 is equal to or higher than the second set potential, the control circuit 11 controls the states of the control signals CT121 and CT131 to output from only one of the output circuits 12 and 14.

[0130] 7 is a first example of a timing chart showing the transition of each signal in the potential generating circuit 10. In FIG. 7, a device incorporating the power supply circuit 1 is equipped with a dry cell battery as a battery, and the power supply circuit 1 operates by switching between a first mode, a second mode, and a fifth mode. In FIG. 7, the first set potential is set to 1.4 V. In FIG. 7, the second set potential is set to 2.1 V.

[0131] At time t70, the control circuit 11 sets the operating mode of the power supply circuit 1 to the first mode and sets the output circuit 14 to the current limiting mode. Specifically, the control circuit 11 sets the states of the control signals CT121 and CT131 to a high impedance state. The control circuit 11 also sets the states of the control signals CT122, CT126, CT132, CT142, and CT144 to a high state. The control circuit 11 also sets the states of the control signals CT124 and CT143 to a low state. The control circuit 11 outputs each of the control signals whose states have been set.

[0132] At time t70, the output circuit 12 operates in the LDO mode and stops outputting the potential VDDD. A potential is supplied to the terminal po1 by the constant voltage circuit 60, and the potential VDDD starts to transition to 1.4 V, which is the first set potential.

[0133] At time t70, the output circuit 13 stops outputting the potential VDD2. The output circuit 14 operates in the current limiting mode and outputs the potential of the power supply line W_VDD33 to the terminal po2 while suppressing the inrush current. The potential VDD2 at the terminal po2 starts to transition to 2.1 V, which is the second set potential.

[0134] At time t71, the control circuit 11 sets the output circuit 14 to the through mode. Specifically, the control signals CT132 and CT142 transition to the low state. The control circuit 11 also transitions the control signal CT143 to the high state.

[0135] At time t71, the output circuit 12 operates in the LDO mode and stops outputting the potential VDDD. The terminal po1 is supplied with a potential by the constant voltage circuit 60, and the potential VDDD reaches the first set potential of 1.4 V.

[0136] At time t71, the output circuit 13 stops outputting the potential VDD2. The output circuit 14 operates in the through mode and outputs the potential of the power supply line W_VDD33 to the terminal po2 in a state where a large current can flow. The potential VDD2 at the terminal po2 reaches the second set potential of 2.1 V.

[0137] At time t72, the control circuit 11 sets the operating mode of the power supply circuit 1 to the second mode. Specifically, the control circuit 11 sets the states of the control signals CT121, CT122, and CT142 to low. The control circuit 11 also sets the states of the control signals CT131, CT132, CT124, CT143, and CT144 to high. The control circuit 11 outputs each of the control signals whose states have been set.

[0138] At time t72, the output circuit 12 operates in the DC-DC mode and outputs the potential VDDD. The terminal po1 is supplied with a potential by the output circuit 12, and the potential VDDD is maintained at 1.4 V, which is the first set potential.

[0139] At time t72, the output circuit 13 stops outputting the potential VDD2. The output circuit 14 operates in the through mode and outputs the potential of the power supply line W_VDD33 to the terminal po2 in a state where a large current can flow. The potential VDD2 of the terminal po2 is maintained at 2.1 V, which is the second set potential.

[0140] At time t73, the control circuit 11 sets the operating mode of the power supply circuit 1 to the fifth mode. Specifically, the control circuit 11 sets the states of the control signals CT121 and CT131 to a high impedance state. The control circuit 11 also sets the states of the control signals CT122, CT142, and CT143 to a high state. The control circuit 11 also sets the states of the control signals CT124, CT132, and CT144 to a low state. The control circuit 11 outputs each of the control signals whose states have been set.

[0141] At time t73, the output circuit 12 operates in standby mode and stops outputting the potential VDDD. The supply of potential from the output circuit 12 and the constant voltage circuit 60 to the terminal po1 is cut off, and the potential at the terminal po1 gradually decreases.

[0142] At time t73, the output circuit 13 stops outputting the potential VDD2. The output circuit 14 operates in standby mode and stops outputting the potential VDD2 to the terminal po2. The supply of the potential VDD2 to the terminal po2 is cut off, and the potential gradually decreases.

[0143] At time t74, the control circuit 11 sets the operation mode of the power supply circuit 1 to the first mode and sets the operation mode of the output circuit 14 to the through mode. The operation of the control circuit 11 at time t74 is the same as that at time t71, and therefore will not be described again.

[0144] At time t74, the output circuit 12 operates in the LDO mode and stops outputting the potential VDDD. The terminal po1 is supplied with a potential by the constant voltage circuit 60, and the potential VDDD starts to transition to the first set potential of 1.4 V.

[0145] At time t74, the output circuit 13 stops outputting the potential VDD2. The output circuit 14 operates in the through mode and outputs the potential of the power supply line W_VDD33 to the terminal po2 in a state in which a large current can flow. The potential VDD2 at the terminal po2 starts to transition to 2.1 V, which is the second set potential.

[0146] At time t75, the control circuit 11 sets the operation mode of the power supply circuit 1 to the second mode. The operations of the control circuit 11 and the output circuits 12 to 14 at time t75 are the same as those at time t72, and therefore will not be described again.

[0147] 8 is a second example of a timing chart showing the transition of each signal in the potential generating circuit 10. In FIG. 8, a device incorporating the power supply circuit 1 is equipped with a lithium ion battery, and the power supply circuit 1 operates by switching between a third mode, a fourth mode, and a fifth mode. In FIG. 8, the first set potential is set to 1.4 V. In FIG. 8, the second set potential is set to 2.1 V.

[0148] At time t80, the control circuit 11 sets the operating mode of the power supply circuit 1 to the third mode and sets the output circuit 14 to the current limiting mode. Specifically, the control circuit 11 sets the states of the control signals CT121, CT122, CT126, CT131, CT132, CT142, and CT144 to high. The control circuit 11 also sets the states of the control signals CT124 and CT143 to low. The control circuit 11 outputs each of the control signals whose states have been set.

[0149] At time t80, the output circuit 12 operates in the LDO mode and stops outputting the potential VDDD. A potential is supplied to the terminal po1 by the constant voltage circuit 60, and the potential VDDD starts to transition to 1.4 V, which is the first set potential.

[0150] At time t80, the output circuit 13 stops outputting the potential VDD2. The output circuit 14 operates in the current limiting mode and outputs the potential of the power supply line W_VDD33 to the terminal po2 while suppressing the inrush current. The potential VDD2 at the terminal po2 starts to transition to 2.1 V, which is the second set potential.

[0151] At time t81, the control circuit 11 sets the output circuit 14 to the through mode. Specifically, the control circuit 11 transitions the state of the control signal CT142 to a low state. The control circuit 11 also transitions the state of the control signal CT143 to a high state.

[0152] At time t81, the output circuit 12 operates in the LDO mode and stops outputting the potential VDDD. The terminal po1 is supplied with a potential by the constant voltage circuit 60, and the potential VDDD reaches the first set potential of 1.4 V.

[0153] At time t81, the output circuit 13 stops outputting the potential VDD2. The output circuit 14 operates in the through mode and outputs the potential of the power supply line W_VDD33 to the terminal po2 in a state where a large current can flow. The potential VDD2 at the terminal po2 reaches the second set potential of 4.2 V.

[0154] At time t82, the control circuit 11 sets the operating mode of the power supply circuit 1 to the fourth mode. Specifically, the control circuit 11 determines whether the potential VDDD of the terminal po1 is equal to or greater than the first set potential and whether the potential VDD2 of the terminal po2 is equal to or greater than the second set potential. The control circuit 11 determines that the potential VDDD of the terminal po1 is equal to or greater than the first set potential and that the potential VDD2 of the terminal po2 is less than the second set potential. The control circuit 11 sets the states of the control signals CT121 and CT124 to low and sets the state of the control signal CT142 to high. The control circuit 11 outputs each control signal whose state has been set.

[0155] At time t82, the output circuit 12 operates in the DC-DC mode and outputs the potential VDDD. The terminal po1 is supplied with a potential by the output circuit 12, and the potential VDDD is maintained at 1.4 V, which is the first set potential.

[0156] At time t82, the output circuit 13 stops outputting the potential VDD2 to the terminal po2. The output circuit 14 operates in the DC-DC mode and stops outputting the potential to the terminal po2. The supply of potential from the output circuits 13 and 14 to the potential VDD2 at the terminal po2 gradually decreases.

[0157] At time t83, the control circuit 11 sets the operating mode of the power supply circuit 1 to the fifth mode. Specifically, the control circuit 11 sets the states of the control signals CT121 and CT131 to a high impedance state. The control circuit 11 also sets the state of the control signal CT124 to a high state. The control circuit 11 also sets the states of the control signals CT122, CT126, and CT132 to a low state. The control circuit 11 outputs each of the control signals whose states have been set.

[0158] At time t83, the output circuit 12 operates in standby mode and stops outputting the potential VDDD. The supply of potential from the output circuit 12 and the constant voltage circuit 60 to the terminal po1 is cut off, and the potential at the terminal po1 gradually decreases.

[0159] At time t83, the output circuit 13 stops outputting the potential VDD2. The output circuit 14 operates in standby mode and stops outputting the potential VDD2 to the terminal po2. The supply of the potential VDD2 to the terminal po2 is cut off, and the potential gradually decreases.

[0160] At time t84, the control circuit 11 sets the operation mode of the power supply circuit 1 to the third mode and sets the output circuit 14 to the through mode. The operation of the control circuit 11 at time t78 is the same as that at time t81, and therefore will not be described again.

[0161] At time t84, the output circuit 12 operates in the LDO mode and stops outputting the potential VDDD. The terminal po1 is supplied with a potential by the constant voltage circuit 60, and the potential VDDD starts to transition to 1.4 V, which is the first set potential.

[0162] At time t84, the output circuit 13 stops outputting the potential VDD2. The output circuit 14 operates in the through mode and outputs the potential of the power supply line W_VDD33 to the terminal po2 in a state in which a large current can flow. The potential VDD2 at the terminal po2 starts to transition to 2.1 V, which is the second set potential.

[0163] At time t85, the control circuit 11 sets the operating mode of the power supply circuit 1 to the fourth mode. Specifically, the control circuit 11 determines whether the potential VDDD of the terminal po1 is equal to or greater than the first set potential and whether the potential VDD2 of the terminal po2 is equal to or greater than the second set potential. If the potential VDDD of the terminal po1 is equal to or greater than the first set potential and the potential VDD2 of the terminal po2 is less than the second set potential, the control circuit 11 sets the control signal CT121 to a high state and the control signal CT131 to a low state. Furthermore, if the potential VDDD of the terminal po1 is less than the first set potential and the potential VDD2 of the terminal po2 is equal to or greater than the second set potential, the control circuit 11 sets the control signal CT121 to a low state and the control signal CT131 to a high state. At time t85, the control circuit 11 outputs each control signal whose state has been set. After time t85, the potential VDDD of the terminal po1 is near the first set potential, and the potential VDD2 of the terminal po2 is near the second set potential, so the control signals CT121 and CT131 alternate with each other.

[0164] At time t85, the output circuit 12 operates in the DC-DC mode and outputs the potential VDDD in accordance with the state of the control signal CT121. The terminal po1 is supplied with a potential by the output circuit 12, and the potential VDDD is maintained at 1.4 V, which is the first set potential.

[0165] At time t85, the output circuit 13 outputs the potential VDD2 in accordance with the state of the control signal CT131. The output circuit 14 operates in the DC-DC mode and stops outputting the potential to the terminal po2. The potential VDD2 of the terminal po2 is supplied by the output circuit 13, and the potential VDD2 is maintained at the second set potential of 2.1 V.

[0166] The transition of the potential of each signal in the potential generating circuit 10 has been described above. Next, a series of processing steps performed by the potential generating circuit 10 will be described in detail. Figure 9 is an example of a flowchart showing the series of processing steps performed by the potential generating circuit 10. In Figure 9, a device incorporating the power supply circuit 1 is equipped with a lithium ion battery as a battery, and the power supply circuit 1 is operating in the fourth mode.

[0167] (Step SP10) The potential generating circuit 10 acquires the output potentials of the terminals po1 and po2. Specifically, the potential generating circuit 10 divides the potential VDDD of the terminal po1 using variable resistors R1 and R2 to acquire the divided potential VR1. The potential generating circuit 10 also divides the potential VDD2 of the terminal po2 using variable resistors R3 and R4 to acquire the divided potential VR2. Then, the process proceeds to step SP12.

[0168] (Step SP12) The potential generating circuit 10 determines whether the combination of the magnitude relationship between the potential VDDD and the first set potential and the magnitude relationship between the potential VDD2 and the second set potential satisfies a predetermined condition. Specifically, the potential generating circuit 10 determines whether the potential VDDD of the terminal po1 is equal to or greater than the first set potential (e.g., 1.4 V) and the potential VDD2 of the terminal po2 is less than the second set potential (e.g., 2.1 V), or whether the potential VDDD of the terminal po1 is less than the first set potential and the potential VDD2 of the terminal po2 is equal to or greater than the second set potential. If the determination is affirmative, the process proceeds to step SP14. If the determination is negative, the process proceeds to step SP16.

[0169] (Step SP14) The potential generating circuit 10 switches the output mode to the fixed output mode so that only the output circuits that output a potential less than the set potential output a potential. Specifically, in the fixed output mode, when the potential VDDD of the terminal po1 is less than the first set potential and the potential VDD2 of the terminal po2 is equal to or greater than the second set potential, the potential generating circuit 10 outputs the potential VDDD from the output circuit 12 and stops outputting the potential VDD2 from the output circuit 13. Furthermore, in the fixed output mode, when the potential VDDD of the terminal po1 is equal to or greater than the first set potential and the potential VDD2 of the terminal po2 is less than the second set potential, the potential generating circuit 10 stops outputting the potential VDDD from the output circuit 12 and outputs the potential VDD2 from the output circuit 13. When the potential VDDD becomes equal to or higher than the first set potential or when the potential VDD2 becomes equal to or higher than the second set potential, the potential generating circuit 10 switches the output mode from the alternating output mode to the fixed output mode at the timing of switching the outputs of the output circuits 12 and 13. Then, the process proceeds to step SP18.

[0170] (Step SP16) The potential generating circuit 10 switches the output mode to the alternate output mode so that potentials are output alternately at regular intervals from the output circuits 12 and 13. Specifically, in the alternate output mode, the potential generating circuit 10 alternately outputs the potential VDDD from the output circuit 12 and the potential VDD2 from the output circuit 13 at regular intervals. Then, the process proceeds to step SP18.

[0171] (Step SP18) The potential generating circuit 10 outputs a potential from the output circuit based on the output mode. Specifically, in the fixed output mode, the potential generating circuit 10 outputs a potential from one of the output circuits 12 and 13, and stops output of the potential from the other. In the alternating output mode, the potential generating circuit 10 outputs a potential from one of the output circuits 12 and 13, while alternately switching the outputs of the output circuits 12 and 13 at regular intervals. Then, the series of processing flows shown in FIG. 9 ends.

[0172] <Effects>

[0173] As described above, in this embodiment, the potential generating circuit 10 includes an output circuit 12 (first output circuit) that outputs a first signal SDDD, an output circuit 13 (second output circuit) that outputs a second signal SDD2 different from the first signal SDDD, and a control circuit 11 that controls the output circuits 12 and 13 to output a signal from one of the output circuits 12 and 13 depending on the combination of the magnitude relationship between the potential VDDD of the first signal SDDD and the first set potential, and the magnitude relationship between the potential VDD2 of the second signal SDD2 and the second set potential.

[0174] According to this configuration, the potential generating circuit 10 determines whether to switch the output from the output circuits 12 and 13 based on the magnitude relationship of the signal potentials, so that a predetermined set potential can be generated in a short time.

[0175] In addition, in this embodiment, when the potential VDDD of the first signal SDDD is equal to or greater than the first set potential and the potential VDD2 of the second signal SDD2 is less than the second set potential, the control circuit 11 sets the output mode to the fixed output mode and causes the output circuit 13 to output the second signal SDD2, and when the potential VDD2 of the second signal SDD2 is equal to or greater than the second set potential and the potential VDDD of the first signal SDDD is less than the first set potential, the control circuit 11 sets the output mode to the fixed output mode and causes the output circuit 12 to output the first signal SDDD.

[0176] According to this configuration, the potential generating circuit 10 outputs signals preferentially from output circuits that have not yet reached the set potential, thereby enabling the generation of a predetermined set potential with low power consumption and high efficiency (for example, a power conversion efficiency of 70.0% or more).

[0177] In addition, in this embodiment, when the potential VDDD of the first signal SDDD is less than the first set potential and the potential VDD2 of the second signal SDD2 is less than the second set potential, the control circuit 11 sets the output mode to an alternating output mode and alternates between the output of the first signal SDDD by the output circuit 12 and the output of the second signal SDD2 by the output circuit 13 at regular intervals.

[0178] According to this configuration, when neither of the signals output from the output circuits 12 and 13 has reached the set potential, the potential generating circuit 10 alternately outputs the signals from the output circuits 12 and 13, thereby suppressing bias and evenly transitioning the potentials of multiple signals toward the predetermined set potential.

[0179] In addition, in this embodiment, when the output mode is the alternating output mode, the control circuit 11 switches the output mode from the alternating output mode to the fixed output mode at the timing of switching the outputs of the output circuits 12 and 13 when the potential VDDD of the first signal SDDD becomes equal to or higher than the first set potential or when the potential VDD2 of the second signal SDD2 becomes equal to or higher than the second set potential.

[0180] According to this configuration, the potential generating circuit 10 switches the output mode at the timing when the outputs of the output circuits 12 and 13 are switched, so that the occurrence of an overcurrent due to the switching of the output mode can be suppressed.

[0181] In addition, in this embodiment, the backflow prevention circuit 15 has a source terminal, a drain terminal, a gate terminal, and a backgate terminal, and operates in a first state in which a ground potential GND (first potential) is supplied to the source terminal, and in a second state in which a potential VB (second potential) higher than the ground potential GND is supplied to the source terminal, and includes an output circuit 12 that outputs from the drain terminal a potential that is supplied to the source terminal based on the potential of the gate terminal, and a control circuit 11 that is connected to the gate terminal, source terminal, and backgate terminal, and that controls the potential of the gate terminal so that the output circuit 12 stops output in the first state, controls the potential of the backgate terminal so that it has the same potential as the drain terminal, and controls the potential of the backgate terminal so that it has the same potential as the source terminal in the second state.

[0182] According to this configuration, the back-gate terminal of the back-flow prevention circuit 15 is connected to the drain terminal when the potential of the source terminal is low, and the back-gate terminal is connected to the source terminal when the potential of the source terminal can become high, thereby preventing back-flow of current in the output circuit.

[0183] In addition, in this embodiment, the output circuit 12 has a first short-circuit control circuit which has both ends short-circuited in a first state and both ends open in a second state, one end connected to the back gate terminal, and the other end connected to the drain terminal, and a second short-circuit control circuit which has both ends open in the first state and both ends short-circuited in the second state, one end connected to the back gate terminal, and the other end connected to the source terminal.

[0184] According to this configuration, the backflow prevention circuit 15 controls the connection destination of the back gate terminal of the output circuit 12 depending on the state of the short circuit control circuit, so that the prevention of backflow of current in the output circuit 12 can be easily controlled.

[0185] --- Modifications --- The present invention is not limited to the above-described embodiments. In other words, variations on the above-described embodiments, which are appropriately modified by a person skilled in the art, are also included within the scope of the present invention as long as they incorporate the features of the present invention. Furthermore, the elements of the above-described embodiments and the modifications described below can be combined to the extent technically possible, and such combinations are also included within the scope of the present invention as long as they incorporate the features of the present invention.

[0186] For example, in the above embodiment, the output circuit 14 controls the conduction and non-conduction between the gate terminal of transistor TR142 and terminal po2 using transistors TR145 and TR146, but this is not limited to this, and the conduction and non-conduction between the gate terminal of transistor TR142 and terminal po2 may be controlled only by transistor TR146, excluding transistor TR145.

[0187] According to this configuration, the output circuit 14 can be operated with a small number of components, and the potential generating circuit 10 can generate a predetermined set potential at low cost and in a short time.

[0188] Furthermore, in the above embodiment, the potential generating circuit 10 generates two potentials VDDD and VDD2 using two output circuits 12 and 13, but this is not limited to this. The potential generating circuit 10 may generate three or more potentials using three or more output circuits. When generating three or more potentials, the potential generating circuit 10 controls each output circuit so that a signal is output from an output circuit that outputs a potential that has not reached a predetermined set potential for each potential. When there are multiple output circuits that output signals, the potential generating circuit 10 causes the output circuits to output signals alternately at regular intervals.

[0189] With this configuration, the potential generating circuit 10 can generate three or more predetermined set potentials in a short time.

[0190] 10... potential generating circuit, 11... control circuit, 12... output circuit (first output circuit), 13... output circuit (second output circuit), 15... backflow prevention circuit

Claims

1. A potential generating circuit comprising: a first output circuit that outputs a first signal; a second output circuit that outputs a second signal different from the first signal; and a control circuit that controls the first output circuit and the second output circuit to output a signal from one of the first output circuit and the second output circuit depending on a combination of the magnitude relationship between the potential of the first signal and a first set potential and the magnitude relationship between the potential of the second signal and a second set potential.

2. The potential generating circuit of claim 1, wherein the control circuit, when the potential of the first signal is equal to or greater than the first set potential and the potential of the second signal is less than the second set potential, sets the output mode to a fixed output mode and causes the second output circuit to output the second signal, and when the potential of the second signal is equal to or greater than the second set potential and the potential of the first signal is less than the first set potential, sets the output mode to the fixed output mode and causes the first output circuit to output the first signal.

3. The potential generating circuit according to claim 2, wherein when the potential of the first signal is less than the first set potential and the potential of the second signal is less than the second set potential, the control circuit sets the output mode to an alternating output mode and alternates between outputting the first signal by the first output circuit and outputting the second signal by the second output circuit at regular intervals.

4. The potential generating circuit according to claim 3, wherein, when the output mode is the alternating output mode, the control circuit switches the output mode from the alternating output mode to the fixed output mode at a timing for switching the outputs of the first output circuit and the second output circuit when the potential of the first signal becomes equal to or higher than the first set potential or when the potential of the second signal becomes equal to or higher than the second set potential.

5. A method for controlling a potential generating circuit having a first output circuit and a second output circuit, comprising: the potential generating circuit determining whether or not a combination of a magnitude relationship between the potential of a first signal and a first set potential, and a magnitude relationship between the potential of a second signal and a second set potential satisfies a predetermined condition; if the determination is positive, the potential generating circuit controls the first output circuit and the second output circuit to output a signal from one of the first output circuit and the second output circuit; and if the determination is negative, the potential generating circuit alternates between outputting the first signal by the first output circuit and outputting the second signal by the second output circuit at regular intervals.

6. A backflow prevention circuit comprising: an output circuit having a source terminal, a drain terminal, a gate terminal, and a back gate terminal, and operating in a first state in which a first potential is supplied to the source terminal and a second state in which a second potential higher than the first potential is supplied to the source terminal, and outputting from the drain terminal a potential supplied to the source terminal based on the potential of the gate terminal; and a control circuit connected to the gate terminal, the source terminal, and the back gate terminal, and controlling the potential of the gate terminal so that in the first state, the output circuit stops the output, and controlling the potential of the back gate terminal to be the same potential as the drain terminal, and controlling the potential of the back gate terminal to be the same potential as the source terminal in the second state.

7. The backflow prevention circuit according to claim 6, wherein the output circuit has a first short-circuit control circuit which has both ends shorted in the first state and which has both ends open in the second state, one end connected to the backgate terminal and the other end connected to the drain terminal, and a second short-circuit control circuit which has both ends open in the first state and which has both ends shorted in the second state, one end connected to the backgate terminal and the other end connected to the source terminal.

Citation Information

Patent Citations

  • Power source controller

    JP1993341885A

  • Internal voltage forming circuit

    JP2000164805A

  • Power control semiconductor integrated circuit

    JP2009301209A