Power management circuit and electronic device employing the same
09841805 · 2017-12-12
Assignee
Inventors
Cpc classification
G06F1/3293
PHYSICS
International classification
Abstract
A power management circuit that controls a plurality of power circuits for generating supply voltages at least for a processor is disclosed. The circuit includes: a real time clock that generates clock signals with a predetermined frequency; a power-on terminal to which a power-on key is connected, wherein the power-on terminal receives a voltage whose level depends on whether the power-on key is pressed or not; a power-on detecting unit that monitors a voltage at the power-on terminal and asserts a start signal if it is determined using the clock signals that the power-on key is pressed and held for a predetermined time period; and a power management controller that receives a system voltage based on a battery voltage or a DC voltage from a DC power source and, upon the start signal is asserted, starts up the plurality of power circuits in a predetermined sequence using the clock signals.
Claims
1. A power management circuit for controlling a plurality of power circuits to generate power supply voltages at least for a processor, the power management circuit comprising: a real time clock that generates clock signals with a predetermined frequency; a battery terminal connected to a secondary battery; a DC input terminal that receives a DC voltage; a charging circuit that charges the secondary battery using the DC voltage; a protection switch connected to the DC input terminal, and connected in parallel to the charging circuit; a system terminal connected to a terminal of a power-on key having another terminal connected to a ground, the charging circuit and the protection switch; a power-on terminal connected to the terminal of the power-on key, which is connected to the system terminal, wherein a potential of the power-on terminal is pulled down to the ground potential when the power-on key is pressed, and the potential of the power-on terminal is pulled up to a system voltage when the power-on key is not pressed; a power-on detecting unit that monitors a voltage at the power-on terminal based on the system voltage and asserts a start signal if it is determined using the clock signals that the power-on key is pressed and held for a predetermined time period before the processor is powered on; and a power management controller that selects a first voltage corresponding to the DC voltage as the system voltage when the DC voltage is supplied to the DC input terminal, selects a second voltage corresponding to a secondary battery voltage as the system voltage when the DC voltage is not supplied to the DC input terminal, and, upon the start signal being asserted, starts up the plurality of power circuits in a predetermined sequence using the clock signals, wherein the system terminal supplies the system voltage to the power-on key.
2. The power management circuit of claim 1, wherein the power management controller cancels starting-up based on the power-on key when the DC voltage is not applied and the secondary battery voltage is lower than a first predetermined threshold value.
3. The power management circuit of claim 1, further comprising: an interface circuit that receives start-up data indicative of a start-up time from the processor; and a memory that stores therein the start-up data received by the interface circuit, wherein the power management controller starts up the plurality of power circuits in a predetermined sequence at the time indicated in the start-up data.
4. The power management circuit of claim 1, wherein the power management controller shuts down the plurality of power circuits in a predetermined sequence upon receiving a shut-down signal to instruct to shut down the plurality of power circuits from the processor.
5. The power management circuit of claim 1, wherein if the secondary battery voltage is lower than a second threshold value, the power management controller notifies the processor.
6. The power management circuit of claim 5, wherein if the secondary battery voltage becomes lower than the second threshold value while the plurality of power circuits is shut down, the power management controller notifies the processor after starting up the plurality of power circuits in a predetermined sequence.
7. The power management circuit of claim 1, further comprising: an interface circuit configured to receive shut-down data indicative of a shut-down time from the processor; and a memory configured to store therein the shut-down data received by the interface circuit, wherein the power management controller shuts down the plurality of power circuits in a predetermined sequence at the time indicated in the shut-down data.
8. The power management circuit of claim 1, further comprising the plurality of power circuits controlled by the power management controller.
9. The power management circuit of claim 1, wherein the power management circuit is integrated within a semiconductor substrate.
10. An electronic device comprising the power management circuit of claim 1.
11. An electronic device comprising: a battery; a processor; a peripheral circuit; and the power management circuit of claim 1, wherein the power management circuit receives a battery voltage from the battery or a DC voltage from a DC power source; generates a plurality of supply voltages for the processor and the peripheral circuit; and charges the battery using the DC voltage.
12. The power management circuit of claim 1, wherein the protection switch includes a transistor connected between the DC input terminal and the system terminal and a gate controller controlling a gate voltage of the transistor.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
DETAILED DESCRIPTION
(7) Hereinafter, various embodiments of the present disclosure will be described below in detail with reference to the accompanying drawings. Throughout the drawings, the same or similar elements, members, and processes are denoted by the same reference numerals and redundant descriptions thereof may be omitted. The disclosed embodiments are provided for the purpose of illustration, not limitation, of the present disclosure, and all features and combinations thereof described in the embodiments should not be necessarily construed as describing the gist of the present disclosure.
(8) As used herein, the expression “a member A is connected with a member B” may mean that the member A is physically and directly connected with the member B, and that the member A is indirectly connected with the member B via another member which does not electrically affect the connection. Similarly, the expression “a member C is disposed between a member A and a member B” may indicate that the member A is directly connected to the member C or member B is directly connected to member C, and that the members are indirectly connected via another member which does not electrically affect the connection.
(9)
(10) The battery 30 may be a secondary battery such as a lithium-ion battery, a nickel-hydrogen battery, etc., and output a battery voltage V.sub.BAT. An external DC power source 2 is detachably connected to the electronic device 1 such that a DC voltage V.sub.DC is supplied. The DC power source 2 may be an AC adaptor or a USB host.
(11) The CPU 20 may be a processor configured to control overall operations of the electronic device 1. The CPU 20 is divided into a plurality of circuit blocks. The supply voltage V.sub.DD applied to each of the circuit blocks is individually controlled by the PMIC 10. In a power supply state, only the supply voltage V.sub.DD1 may be applied to the CPU 20. In another power supply state, the supply voltages V.sub.DD1 and V.sub.DD2 may be applied to the CPU 20. In still another power supply state, all of the supply voltages V.sub.DD1 to V.sub.DD3 may be applied to the CPU 20.
(12) The plurality of peripheral circuits 50 includes a random access memory (RAM), a hard disk drive, a solid state drive (SSD), etc., and may receive the supply voltages V.sub.DD4 and V.sub.DD5 for operation.
(13) The number of supply voltages applied to the CPU 20 and the peripheral circuits 50 are not limited to that shown in
(14) The PMIC 10 will be described below. According to the exemplary embodiment of the present disclosure, the PMIC 10 is a function IC in which the PMIC 70 and the charging circuit 40 shown in
(15) (Charging)
(16) At the DC input terminal DCIN of the PMIC 10, the DC voltage V.sub.DC from the DC power source 2 is received. The PMIC 10 is operable to charge the battery 30 by using the DC voltage V.sub.DC.
(17) (Voltage Selection)
(18) The PMIC 10 selects one from the battery voltage V.sub.BAT and the DC voltage V.sub.DC and outputs the system voltage V.sub.SYS via the system terminal SYS. The system voltage V.sub.SYS is used as a power supply voltage for circuits inside the PMIC 10. The system voltage V.sub.SYS may be applied to a circuit (not shown) outside the PMIC 10.
(19) (Supply Voltage Generation)
(20) The PMIC 10 generates supply voltages V.sub.DD1, V.sub.DD2, . . . , V.sub.DDN with regulated voltage levels based on the system voltage V.sub.SYS and applies them to the CPU 20 and the peripheral circuits 50. That is, the PMIC 10 includes a plurality of power circuits for generating the plurality of supply voltages V.sub.DD1, V.sub.DD2 . . . V.sub.DDN.
(21) (Sequence Control)
(22) To correctly start up and shut down the system, the PMIC 10 manages a plurality of power supply states. Further, as a power supply state transitions from one to another, the PMIC 10 is required to start up the plurality of power circuits in a predetermined sequence at a predetermined time interval (timing) or shut down the plurality of power circuits in a predetermined sequence. The PMIC 10 includes a sequencer and a state machine (also referred to as a power management controller) for starting up and shutting down the plurality of power circuits.
(23) The sequence control may require time management and timing control. The PMIC 0 includes a real time clock for managing time. The PMIC 10 is connected to a crystal oscillator 62 as an oscillator for the real time clock.
(24) (Power-on Key Monitoring)
(25) A power-on key 60 is connected to the power-on terminal PWRON of the PMIC 10. Specifically, the power-on key 60 is connected between the power-on terminal PWRON and a ground. A resistor R1 is connected between the power-on terminal PWRON and the system terminal SYS. The potential of the power-on terminal PWRON is pulled down to the ground potential, i.e., 0 V when a user of the electronic device 1 presses the power-on key 60. On the other hand, when the power-on key 60 is not pressed, the potential of the power-on terminal PWRON is pulled up to the system voltage V.sub.SYS by means of the resistor R1. That is, the voltage changed according to whether the power-on key 60 is pressed or not is input to the power-on terminal PWRON.
(26) The PMIC 10 determines whether the power-on key 60 is pressed or not based on the voltage V.sub.PWRON at the power-on terminal PWRON. If the power-on key 60 is pressed and held for a predetermined time period, the PMIC 10 sequentially starts up the power circuits in a predetermined sequence at a predetermined time interval.
(27) The overall configuration of the electronic device 1 has been described above. Hereinafter, a specific configuration of the PMIC 10 will be described.
(28) The PMIC 10 includes a RTC 102, a power-on detecting unit 104, a PM controller 106, a plurality of power circuits 108, a first comparator 110, a charging circuit 114, and a protection switch 116.
(29) Each of the plurality of power circuits 108_1 to 108_5 receives the system voltage V.sub.SYS to generate a plurality of supply voltages V.sub.DD1 to V.sub.DD5. The power circuits 108 include a step-up DC/DC converter, a step-down DC/DC converter, a step-up/step-down DC/DC converter, a charge pump circuit, a linear regulator such as an LDO (Low Drop Output) regulator, etc. An inductor or a smoothing capacitor of the DC/DC converter is attached to the outside of the PMIC 10, although not shown in
(30) The RTC 102 generates clock signals with a predetermined frequency. In addition, the RTC 102 may generate calendar data indicative of second, minute, hour, day, month, and/or year. The calendar data may be referred by the circuit blocks of the PMIC 10, e.g., the PM controller 106 or the power-on detecting unit 104. The frequency of the clock signals (hereinafter referred to as calendar clocks) CK generated by the RTC 102 may be about tens of kHz.
(31) The power-on detecting unit 104 monitors the voltage V.sub.PWRON at the power-on terminal PWRON and asserts a start signal START (e.g., high level) if the power-on key 60 has been pressed and held for a predetermined time period (hereinafter referred to as determination time period τ) by utilizing the calendar clocks CK. The determination time period τ is on the order of several seconds, e.g., 2 seconds. The power-on detecting unit 104 may determine whether the determination time period t has elapsed by referring to the calendar data of the RTC 102. Alternatively, the power-on detecting unit 104 may determine whether the determination time period τ has elapsed by counting calendar clocks generated by the RTC 102.
(32) The charging circuit 114 and the protection switch 116 may be circuit blocks corresponding to the charging circuit 40 shown in
(33) The protection switch 116 is connected to the DC power source 2 and is turned on (connected) when a normal DC voltage V.sub.DC is input to the terminal DCIN. When the protection switch 116 is turned on, the DC voltage V.sub.DC is output from the terminal SYS.
(34) The protection switch 116 includes a transistor M1 and a gate controller 118. The transistor M1 is connected between the terminal DCIN and the terminal SYS. The gate controller 118 controls the gate voltage of the transistor M1. The gate controller 118 and the transistor M1 may serve as a regulator that regulates the voltage V.sub.SYS at the terminal SYS to a predetermined voltage level when the protection switch 116 is turned on. In addition, the protection switch 116 may have overcurrent protection capabilities for adjusting the gate voltage of the transistor M1 such that a current flowing in the transistor M1 does not exceed an overcurrent threshold value.
(35) While a DC voltage V.sub.DC within a normal voltage range is applied, the charging circuit 114 charges the battery 30 in a constant current (CC) manner and in a constant voltage manner alternately, using the system voltage V.sub.SYS based on the power from the DC power source 2.
(36) The protection switch 116 is turned off (blocked) when the DC power source 2 is not connected to the PMIC 10, or when the DC voltage V.sub.DC is in an overvoltage state or a low voltage lock-out state even if the DC power source 2 is connected to the PMIC 10. In this case, a switch in the charging circuit 114 turns into the fully-on state, and the battery voltage V.sub.BAT at the BAT terminal is applied to the terminal SYS, contrary to when the protection switch 116 is turned on.
(37) That is, the charging circuit 114 and the protection switch 116 serve as a selector that selects one from the DC voltage V.sub.DC and the battery voltage VABT to output it to the terminal SYS. In other words, the system voltage V.sub.SYS is substantially identical to the DC voltage V.sub.DC (or a voltage which is regulated to a predetermined level based on the DC voltage V.sub.DC) and one side of the battery voltage V.sub.BAT.
(38) The conditions under which the charging circuit 114 and the protection switch 116 select from the DC voltage V.sub.DC and the battery voltage V.sub.BAT are not particularly limited herein, since the conditions may be various. For example, the DC voltage V.sub.DC may be selected first while the DC voltage V.sub.DC is being supplied. For another example, depending on the voltage level of the battery voltage V.sub.BAT or a load current, one or both of the DC voltage V.sub.DC and the battery V.sub.BAT may be selected.
(39) A plurality of DC power sources 2 may be connected to the electronic device 1. One DC power source may be a USB host, and another DC power source may be an AC adaptor. In this case, a plurality of DC voltages V.sub.DC is supplied to the protection switch 116.
(40) The PM controller 106 controls starting up and shutting down sequences and the timings. Specifically, the PM controller 106 receives the system voltage V.sub.SYS and, upon the signal START being asserted, sequentially starts up the plurality of power circuits 108_1 to 108_5 in a predetermined sequence and at a predetermined time interval using calendar clocks CK.
(41) The first comparator 110 compares the battery voltage V.sub.BAT with a first threshold value (minimum start-up voltage V.sub.BATMIN). For example, the minimum start-up voltage V.sub.BATMIN is equal to 3.5 V. The PM controller 106 cancels the starting-up according to the power-on key 60 when the DC voltage V.sub.DC is not supplied and the battery voltage V.sub.BAT is lower than the minimum start-up voltage V.sub.BATMIN.
(42) A shut-down signal SHTDN from the CPU 20 is input to a shut-down terminal SHTDN of the PMIC 10. The CPU 20 asserts the shut-down signal SHTDN when the user of the electronic device 1 instructs to shut down the device. When the shut-down signal SHTDN is asserted, the PM controller 106 shuts down the plurality of power circuits 108_1 to 108_5 in a predetermined sequence.
(43) The configuration of the PMIC 10 according to one embodiment of the present disclosure has been described above. The operation of the PMIC 10 will be described in detail below.
(44) Prior to time t1, the electronic device 1 is in a standby state (also referred to as a shut-down state). At time t1, when the power-on key 60 is pressed, the voltage V.sub.PWRON at the terminal PWRON becomes low level. The time period for which the power-on key 60 is pressed is shorter than the determination time period τ, and thus the signal START is not asserted. If the power-on key 60 is pressed and held until time t2 for the time period longer than the determination time τ, the signal START is asserted. Accordingly, the plurality of power circuits V.sub.DD1 to V.sub.DD5 is sequentially started.
(45) When all of the power circuits 108 are increased at time t3, the electronic device 1 becomes ready to be operated by a user.
(46) At time t4, the user operates the electronic device 1 for instructing to shut down the electronic device 1. By doing so, the signal SHTDN is asserted, and the power voltages V.sub.DD1 to V.sub.DD5 are stopped in a reverse order from the order that the power voltages V.sub.DD1 to V.sub.DD5 are started at the starting time. At time t5, all of the power circuits 108 are shut down to turn into the standby state.
(47) At time t6, if the power-on key 60 is pressed and held for longer than the determination time period τ, the signal START is asserted once again. At this time, since the battery voltage V.sub.BAT is lower than the minimum start-up voltage V.sub.BATMIN, the PM controller 106 does not start up the plurality of power circuits 108 even if the signal START is asserted.
(48) The operation of the electronic device 1 has been described above. The merits of the electronic device 1 will be described in detail below.
(49) In the electronic device 1 according to one embodiment of the present disclosure, the RTC 102 is disposed in the PMIC 10 other than the CPU 20 and the PMIC 10 is connected to the power-on key 60. In this manner, the PMIC 10 can determine whether the power-on key 60 has been pressed and held on its own, without the aid of the CPU 20. Accordingly, it is possible to completely stop supplying power to the CPU in the standby state where the power-on key 60 is monitored before the device is powered on. As a result, overall power consumption of the system can be saved.
(50) If the RTC 202 is disposed in the CPU 20 as shown in
(51) In addition, in the PMIC 10 according to the exemplary embodiment of the present disclosure, when the DC voltage V.sub.DC is not applied thereto and the battery voltage V.sub.BAT is lower than the minimum start-up voltage V.sub.BATMIN, the starting-up according to the power-on key 60 is cancelled. By doing so, it is possible to prevent the battery 30 from becoming an overly discharged state that may be occurred when the system starts up in a low voltage state and the battery 30 is discharged.
(52) The present disclosure has been described with reference to the embodiments. It should be understood by those skilled in the art that the above embodiments are merely examples and a variety of modifications may be made to combinations of the elements and processes disclosed herein, and that such modifications also fall within the scope of the present disclosure. Hereinafter, such modifications are described.
(53) (First Modification)
(54)
(55) The interface circuit 120 is disposed to send/receive data to/from the CPU 20. For example, the interface circuit 120 may be a serial interface using an Inter IC (I2C) bus. Alternatively, the interface circuit 120 may be a parallel interface.
(56) The second comparator 112 compares the battery voltage V.sub.BAT with a second threshold value (set voltage V.sub.BATLOW). When the battery voltage V.sub.BAT is lower than the set voltage V.sub.BATLOW, the PM controller 106 notifies the CPU 20 of it via the interface circuit 120. For example, the voltage V.sub.BATLOW may be lower than the voltage V.sub.BATMIN, approximately 3.3 V.
(57) By doing so, upon receiving the notification indicating that the battery voltage V.sub.BAT is low, the CPU 20 can prompt a user of the electronic device 1 to charge the battery via a display screen or a voice output.
(58) In one embodiment, if the battery voltage V.sub.BAT becomes lower than the set voltage V.sub.BATLOW in the standby state where the power circuits 108_1 to 108_5 are shut down, the PM controller 106 may notify the CPU 20 of the low battery state after the power circuits 108_1 to 108_5 have been started up in a predetermined sequence.
(59) By doing so, it is possible to prompt a user to charge the battery by forcibly starting up the system even if the battery becomes low voltage in the standby state.
(60) In this modification, the interface circuit 120 receives start-up data indicative of a start-up time from the CPU 20. The start-up data received by the interface circuit 120 is stored in a memory, e.g., the register 122.
(61) The PM controller 106 refers to the calendar data of the RTC 102 and starts up the power circuits 108_1 to 108_5 in a predetermined sequence at the time indicated in the start-up data.
(62) By doing so, it is possible to schedule automatic start-up from the standby state. In addition, since the PMIC 10 is completely shut down even during the standby time period until the automatic start-up, power consumption can be saved.
(63) Alternatively or additionally to the start-up data, the interface circuit 120 may receive from the CPU 20 shut-down data indicative of a shut-down time of the system. The shut-down data is stored in the register 122.
(64) The PM controller 106 refers to the calendar data of the RTC 102 and shuts down the power circuits 108_1 to 108_5 in a predetermined sequence at the time indicated in the shut-down data.
(65) By doing so, it is possible to schedule automatic shut-down from the power-on state to the standby state.
(66) (Second Modification)
(67) In the above-described embodiment, the PMIC 10 is integrated with the charging circuit 114, the protection switch 116 and the plurality of power circuits 108_1 to 108_5. However, the present disclosure is not limited thereto. For example, the charging circuit 114 and the protection switch 116 may be integrated with the charging circuit 40 other than the PMIC 10 as shown in
(68) (Applications)
(69) Lastly, applications of the PMIC 10 will be described.
(70) The PMIC 10 according to one embodiment of the present disclosure is especially advantageous if the battery 30 is detachable from the electronic device. For the electronic device 1 with the undetachable battery 30, once the battery 30 is installed in the electronic device 500 during the manufacturing process, the battery cannot be charged after release until a user uses it. If such an electronic device 500 employs the system shown in
(71) In contrast, in the electronic device 500 according to one embodiment of the present disclosure, the electronic device 500 is released with the CPU 20 that is completely shut down, and thus overall system power consumption is significantly reduced. Accordingly, a user can use the electronic device 500 as soon as she/he purchases it without charging it.
(72) As will be appreciated, the PMIC 10 can be applied to an electronic device employing a detachable battery 30 of battery pack type, to save power consumption.
(73) In addition, since power consumption of the overall system can be reduced in the standby state, the PMIC 10 according to one embodiment of the present disclosure is especially advantageous for use in an electronic device with low power consumption by the CPU 20 in the standby state, such as an electronic book or a wearable device. Instead of using the PMIC 10, the charging circuit 40 and the power circuit 22 may be installed as separate components
(74) According to the present disclosure in some embodiments, it is possible to reduce power consumption of the overall system.
(75) While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the disclosures. Indeed, the novel methods and apparatuses described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the disclosures. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the disclosures.