This disclosure relates to battery charge state evaluations coincident with battery charging.
Many modern electronic devices, including personal digital assistants (PDAs), laptop computers, tablet computers, e-book readers, digital cameras, digital recording devices, digital media players, video gaming devices, mobile telephone handsets, cellular or satellite radio telephones, so-called “smart phones,” other portable electronic devices, and the like may include one or more batteries that may be used to provide power to such devices. These batteries may be rechargeable batteries, which generally need to be charged periodically.
For various reasons, knowing a battery charge state of a rechargeable battery is desirable. For example, an electronic device may present an indication of the battery charge state on a user interface to indicate a user the available charge of the battery.
In general, this disclosure is directed to techniques for measuring battery charge state. The disclosed techniques facilitate battery charge state evaluation coincident with constant current charging of the battery. Constant current charging may be used for battery charging over battery charge states below relatively high charge states. In some examples, the disclosed techniques include constant current charging of the battery for a period of time sufficient to settle the bias electromotive force applied according to the charging voltage and measuring the battery voltage during the constant current charging. Based on this voltage measurement, the battery charge state may be evaluated coincident with constant current charging of the battery.
The disclosed techniques further include a controller for a portable electronic device that can deliver the constant current charging to a battery of the portable electronic device from an external power source while simultaneously directing a power from the external power source to satisfy varying power loads of other electronic components of the portable electronic device. These techniques facilitate constant current charging of the battery within the portable electronic device for a period sufficient to settle the bias electromotive force applied according to the charging voltage, which allows battery charge state evaluations coincident with constant current charging of the battery.
In one example, this disclosure is directed to a method comprising delivering a substantially constant current to charge a battery including at least one electrochemical battery cell, measuring a charging voltage of the battery while delivering the substantially constant current to the battery, evaluating a state of charge of the battery based on the measured charging voltage and the measured test voltage, and storing, based on the evaluation of the state of charge of the battery, an indication of the state of charge of the battery in a non-transitory computer readable medium.
In another example, this disclosure is directed to a portable electronic device comprising a battery including at least one electrochemical battery cell, a connection to an external power source, a controller. The controller is configured to deliver, from the connection to the external power source, a substantially constant current to charge the battery, measure a charging voltage of the battery while delivering the substantially constant current to the battery, evaluate a state of charge of the battery based on the measured charging voltage and the measured test voltage, and store, based on the evaluation of the state of charge of the battery, an indication of the state of charge of the battery in a non-transitory computer readable medium.
In a further example, this disclosure is directed to a non-transitory computer readable medium storing instructions configured to cause a programmable controller to deliver a substantially constant current to charge a battery including at least one electrochemical battery cell, measure a charging voltage of the battery while delivering the substantially constant current to the battery, evaluate a state of charge of the battery based on the measured charging voltage and the measured test voltage, and store, based on the evaluation of the state of charge of the battery, an indication of the state of charge of the battery in the non-transitory computer readable medium.
The details of one or more examples are set forth in the accompanying drawings and the description below. Other features, objects, and advantages of the invention will be apparent from the description and drawings, and from the claims.
The operation of a two-phase buck converter may be broken into the buck converter functionality and the boost converter functionality, as discussed below. In some examples, the converter might be implemented as a multiphase topology. The example described herein includes two phases. In some examples, the two phases may both operate as buck converters. In other examples, the two phases may both operate as boost converters. In yet other examples, one of the two phases may operate as a buck converter, while another one of the two phases operates as a boost converter. As illustrated in
A buck converter is a step-down DC-to-DC converter. In other words, an output voltage is less than its input voltage. It is a switched-mode power supply that, in some examples, may use multiple switches (for example, transistors and diodes), an inductor, and a capacitor to reduce the voltage of a DC supply. Linear regulators, which operate by dissipating excess power as heat may be a simpler device to reduce the voltage of a DC supply, but dissipating excess power as heat is generally inefficient. Buck converters, on the other hand, may be very efficient. Some examples may be 95% efficient or even higher. Accordingly, buck converters may be useful for converting the main voltage in a computer (for example, 12 V in a desktop, 12-24 V in a laptop) down to, for example, 0.8-1.8 V that may be needed by the processor(s) in such devices.
A boost converter is a step-up DC-to-DC converter. In other words, an output voltage is greater than its input voltage. It is a type of switched-mode power supply (SMPS). Some examples may include, for example, at least two semiconductor switches (for example, a diode and a transistor or, in some examples, two transistors) and at least one energy storage element, for example, a capacitor or inductor. Some examples may include multiple energy storage elements in combination, for example, multiple capacitors, multiple inductors, a combination of a capacitor and an inductor, or a combination of multiple capacitors and multiple inductors.
Filters, which may include one or more inductors, one or more capacitors, or some combination of one or more inductors and one or more capacitors may generally be included at an output of a converter (for example, boost converter output or buck converter output) to reduce output voltage ripple.
In some examples, circuitry may be configured to perform both a buck conversion (step-down) and a boost conversion (step-up). In other words, some circuits relate to DC-to-DC power converter circuitry that may provide both an output voltage greater than its input voltage and an output voltage less than its input voltage. In some examples, the boost converter and the buck converter may not share the same input. For example, the buck converter maybe provided with an input voltage from a rectifier while the boost converter may be provided with an input voltage from a battery charge stated by the buck converter or a voltage from the buck converter itself.
Some example circuits may be reconfigurable between, buck and boost modes, while other examples may perform both modes simultaneously. In an example that performs both modes simultaneously, some power may be stepped down to lower voltages to be used by one or more devices coupled to various outputs of the power supply, while voltages from, for example, another input, may be stepped up to one or more output voltages. In such an example, the input to the boost converter may be from a battery, from an output of a buck converter, or both. The battery and the output of the buck converter may supply power to a system load.
In some examples, circuitry implementing the buck converter may include multiphase circuitry. Multiphase circuitry may be, for example, a first buck converter circuitry in parallel with a second buck converter. In various examples, elements may be shared among the first buck converter circuitry and the second buck converter circuitry. For example, an output capacitor may be shared among the different phases and may not need to be replicated for each buck converter. Additionally, the operation of the first buck converter circuitry and the second buck converter circuitry may be synchronized, with a fixed phase-shift. Such a configuration may be referred to as a two-phase buck converter. It will be understood that additional buck converter circuitry may be added in parallel to form third, fourth, up to “n” additional phases, where “n” is any integer. The number of phases in such configurations may be limited by considerations such as the area available for such circuitry, form factor for the circuitry, or other considerations. In one example, the two-phase buck converter may include one additional phase including a third low-side switch and a third high-side switch. Additional phases may also be used including additional low-side switches and additional high-side switches.
In some examples, the multiphase buck converter may include a circuit topology that may use a series of basic buck converter circuits placed in parallel between the input and load. Each of the phases may be turned on at equally spaced intervals over the switching period. As described above, the multiphase topology may generally be used with the buck converter. In other examples, the multiphase topology may generally be used with a boost converter topology. In some examples, the phases may be reconfigurable, for example, between a boost converter mode and buck converter mode. The circuit described herein, and illustrated in
As discussed above, several examples using a two-phase buck converter are presented, however, it will be understood that other multiphase converter topologies are possible.
In reference to two-phase buck converter 100 of
Two-phase buck converter 100 facilitates delivery of constant current charging to a battery in a portable electronic device from an external power source while simultaneously directing power from the external power source to satisfy varying power loads of other electronic components of the portable electronic device. The constant current charging of the battery within the portable electronic device allows battery charge state evaluations coincident with constant current charging of the battery in accordance with the techniques disclosed herein.
The multiphase synchronous buck converter portion of
In some examples, the switches might be made from various materials, having semiconducting properties. In some examples, the switches (for example, transistors, diodes) may be certain pure elements found in group IV of the periodic table such as silicon and germanium. In some examples, the switches (for example, transistors, diodes) may be binary compounds, particularly between elements in groups III and V, such as gallium arsenide or gallium nitride, groups II and VI, groups IV and VI, and between different group IV elements, for example, silicon carbide; as well as certain ternary compounds, oxides and alloys. In some examples, the switches (for example, transistors, diodes) may be organic semiconductors, made of organic compounds. Additionally, in some examples, asynchronous Switched Mode Power Supply (SMPS) may be asynchronous, which means that one of the transistors is replaced by a diode. Thus, in some examples, switches HS1 and HS2 may be transistors and switches LS1 and LS2 may be diodes. Similarly to the transistors discussed above, these diodes might also be made from various materials, having semiconducting properties, for example, silicon, germanium, gallium arsenide, gallium nitride, silicon carbide, etc. The multiphase synchronous buck converter portion of
The efficiency of two-phase buck converter 100 may be high, for example, 95% or greater, as discussed above. Using such high efficiency devices may provide for an avoidance of thermal issues, for example, overheating, which may occur if other less efficient converter topologies were used. The systems and methods described herein may accomplish this by using switched mode charging. Additionally, in some examples the two-phase buck topology, splits the current into different phases and the losses on the resistive components of the converter may be significantly reduced, as described above. As discussed above, switched mode charging is generally much more efficient than some other types of regulators.
The example two-phase buck converter 100 of
Some examples may include circuitry for wireless charging 106. The circuitry for wireless charging 106 may include a transformer 108 connected to a rectifier 116 to provide charging power wirelessly to the two-phase buck converter 100. While transformer 108 illustrates both a first coil 118 and a second coil 120 together connected to two-phase buck converter 100, generally, transformer 108 may include the first coil 118 contained within two-phase buck converter 100 and the second coil 120 external to two-phase buck converter 100. These coils 118 and 120 are what generally provide for power transfer from, for example, an electrical outlet, and two-phase buck converter 100, which may be within an electronic device. In some examples, coil 118 may be part of a wireless power receiver of two-phase buck converter 100, which may be embedded in an electronic device (not shown). Coil 120 may be external to two-phase buck converter 100 and external to the electronic device. Coil 120 may be embedded in a charging pad (not shown) that the electronic device may be placed on for charging. When the electronic device with two-phase buck converter 100 embedded in it is placed on the charging pad the first coil 118 within the two-phase buck converter and the electronic device may be in close proximity to the second coil 120. Accordingly, the first coil 118 and the second coil 120 may form a transformer 108. Energy may flow from an energy source, for example, an electrical power outlet, through a wire to second coil 120. Energy may then be transferred to first coil 118 wirelessly. (Each coil 118, 120 may contain many wire windings, but no wired connection is needed between the coils 118 and 120.) The dotted line between first coil 118 and second coil 120 illustrates the lack of a wired connection between the coils 118 and 120 and to demarcate that first coil 118 may be within two-phase buck converter 100 and second coil 120 may be outside of two-phase buck converter 100. Generally, when the application indicates that two-phase buck converter 100 may be within an electronic device, this may or may not include one of the coils that may form transformer 108.
Some examples may further include an alternative charging switch, high-side switch 3 (HS3) in the two-phase buck converter, the alternative charging switch coupled to the first phase between the first high-side switch and the first low-side switch, wherein the controller is further configured to control the alternative charging switch to enable and disable an alternative charging source. Accordingly, some examples may include a coil (for example, part of transformer 108) and a rectifier 116 coupled to an alternative charging switch and configured to provide power from the coil, through rectifier 116 to the alternative charging switch HS3. In some examples, alternative charging switch HS3 may be coupled to a linear regulator.
In the illustrated example, wireless charging may be provided by reusing low side switch LS1 illustrated in
The circuitry for wireless charging 106 may, in some examples, provide less power than power provided through a USB adaptor when the USB adaptor is being used to provide power. The connections in the USB adaptor or other adaptor may provide power to two-phase buck converter 100 for, for example, buck converter. As discussed above, a USB adaptor may be used to power devices external to two-phase converter 100.
The operation of the two-phase buck converter is described in more detail by breaking the discussion into two different modes of operation, (1) buck and (2) boost. Generally, the basic operation of a buck converter controls the current through an inductor by using two switches (for example, transistors). In an idealized buck converter, which is discussed herein to generally describe the basic operation of a buck converter, all the components may be considered to be ideal. For example, switches may be considered to have zero voltage drop when on and zero current flow when off and the inductor has zero series resistance. Further, in an idealized buck converter it may be assumed that the input and output voltages do not change over the course of a cycle.
Generally, the current through an inductor does not change instantaneously. In a buck converter, beginning with a switch (HS1 or HS2) open, the current flowing from v_chg through the switch (HS1 or HS2) is 0. In other words, since the switch (HS1 or HS2) is open, no charging current flows through it.
When the switch (HS1 or HS2) is first closed, the current will begin to increase through inductor L1 when HS1 is closed and inductor L2 when HS2 is closed. At this time, if HS1 is open switch LS1 may be opened, and if HS2 is open switch LS2 may be opened. Since current through an inductor (L1 and L2) cannot increase instantly, the voltage across the inductor will drop. This voltage drop counteracts the voltage of the source and therefore reduces the net voltage across system load 112 at the system voltage output, VSYSTEM. Over time, the current through the inductor will increase slowly as the voltage drop across the inductor decreases, thereby increasing the net voltage seen by system load 112. During this time, the inductor is storing energy in the form of a magnetic field.
If the switch (HS1 or HS2) is opened before the inductor (L1 or L2) has fully charged (i.e., before it has allowed all of the current to pass through by reducing its own voltage drop to 0), then there will always be a voltage drop across it, so the net voltage seen by system load 112 will always be less than the input voltage source. In this way, the output voltage may be lower than the input voltage. Whenever the switch (HS1 or HS2) is opened, the voltage source is removed from the circuit and the current will slowly drop. Again, the current through the inductor (L1 or L2) does not change instantly. Accordingly, the voltage across the inductor (L1 or L2 will be reversed and the inductor (L1 or L2 will act as a voltage source. In the illustrated example, a current flows to the battery and system load 112 from an input voltage source through v_chg and one or more of HS1 and HS2. To maintain this current when the input voltage source is removed, the inductor (L1 or L2) will take the place of the voltage source and provide the same net voltage to system load 112 and the battery. Over time, the current through the inductor (L1 or L2) will decrease gradually and accordingly, the voltage across the inductor (L1 or L2) will also decrease. During this time, the inductor (L1 or L2) is discharging its stored energy (stored in the form of a magnetic field) into the rest of the circuit. As discussed above, when the switch (HS1 or HS2) is opened corresponding switch (LS1 or LS2) may be closed.
If the switch (HS1 or HS2) is closed again before the inductor (L1 or L2) fully discharges, system load 112 and battery will be at a non-zero voltage. A capacitor, COUT, placed in parallel with system load 112 may help to filter the system voltage output, VSYSTEM, as the inductor (L1 or L2) charges and discharges in each cycle. Capacitor CCHG may be used to filter the charging voltage input when a USB adaptor is used as a voltage input. Conversely, capacitor CCHG may be used to filter an output voltage when the USB adaptor is used as a voltage output, as described herein, i.e., when HS2/LS2 is used as a boost converter circuit. Capacitor CIN may provide similar filtering to the input/charging voltage. For example, CIN may provide a filtering between input voltage, v_in, and ground, v_pgnf. As discussed above, when the switch (HS1 or HS2) is closed corresponding switch (LS1 or LS2) may be opened.
Having generally described the operation of the buck converter aspects of two-phase buck converter 100, the boost converter aspects are now described. Generally, the basic operation of a boost converter may function based on the same principle of an idealized inductor, i.e., that the current through an inductor generally does not change instantaneously. In a boost converter, the output voltage is higher than the input voltage.
When a switch (LS1 or LS2 is closed, current flows through the inductor (L1 or L2) and the inductor (L1 or L2) stores energy. When the switch (LS1 or LS2) is opened, current will be reduced because the voltage polarity on the inductor is reversed. In this phase, HS1 or HS2 is closed and voltage across the inductor is (Vin-Vout) which is negative in a Boost converter. In the on-state, the voltage is simply Vin. The inductor (L1 or L2) will oppose a change or a reduction in current through the inductor (L1 or L2). Accordingly, the polarity across the inductor (L1 or L2) will be reversed. As a result, two sources, for example, the battery and inductor (L1 or L2), will be in series causing a higher voltage to charge capacitor CCHG through the diode in for example, HS1 or HS2.
If the switch (LS1 or LS2) is cycled fast enough, the inductor (L1 or L2) will not discharge fully in between charging stages, and system load 112 will always see a voltage greater than that of the input source alone when the switch is opened. (“Fast enough” will depend on the particular resistances, inductances, and capacitances of the circuitry involved.) Typical switching frequencies in some examples of these applications may be 1-3 MHz, however other frequencies are possible and will generally depend on the components used, for example, inductors L1 and L2. In addition, while the switch (LS1 or LS2) is opened, the capacitor CCHG in parallel with the load on a USB adaptor is charged to this combined voltage. When the switch (LS1 or LS2) is then closed, capacitor CCHG provides the voltage and energy to the USB adaptor. During this time, the diode in HS1 or HS2 acts as a blocking diode preventing the capacitor CCHG from discharging through the switch (LS1 or LS2). The switch (LS1 or LS2) may be opened again to prevent capacitor CCHG from discharging enough that the voltage across the capacitor CCHG drops more than some predetermined acceptable level, for example, within the voltage tolerance of an electronic device connected to the USB adaptor.
In operation, a boost converter may operate in two states. The first state is an on-state wherein the switch (LS1 or LS2) is closed resulting in an increase in the inductor (L1 or L2) current. The second state is an off-state wherein the switch (LS1 or LS2) is open and the only paths offered to inductor (L1 or L2) current are through the diode in HS1 or HS2 or through the switches themselves, HS1 or HS2 to the capacitor C CCHG and a load, for example, a device attached to the USB adaptor. This results in transferring the energy accumulated during the on-state into the capacitor. The current from, for example, the battery is the same as the inductor current such that the current is not discontinuous through the inductor L1 or L2.
Controller 114 may be configured to control switches HS1, HS2, HS3, LS1, and LS2 through HS drivers and LS drivers to implement the functionality described herein. For example, controller 114 may control a switch (for example, HS1 or HS2) such that the switch (for example, HS1 or HS2) opens and closes as needed to implement a buck mode. The corresponding switch (LS1 or LS2) may close and open as switch (HS1 or HS2) opens and closes. Additionally, controller 114 may control the duty cycle of the switches (HS1/LS1 or HS2/LS2) to control the voltage, VSYSTEM . When switch (HS1 or HS2) is closed, it makes a connection between v_chg and v_sw1 or v_sw2. Generally, the longer the switch (HS1 or HS2) is closed, the higher the voltage at VSYSTEM may be. This may vary depending on the current needed by, for example, system load 112, however. In some examples, the first phase and the second phase may be phase shifted 180°, however, other example phase shifts are possible, for example, 0°, 90°, or any other phase shift. In an example using three phases, the phases may be shifted 120°. In an example using four phases, the phases may be shifted 90°. In an example using eight phases, the phases may be shifted 45°. Again, however, other phase shifts are possible.
In some examples, when the switch (HS1 or HS2) is open switch (LS1 or LS2) may be closed. It will be understood that switches HS1 and HS2 may be independently controllable. In some examples, HS1 may be open when HS2 is closed and HS1 may be closed when HS2 is open. Switches LS1 and LS2 may also be independently controllable. Similarly, in some examples, LS1 may be open when LS2 is closed and LS1 may be closed when LS2 is open. In buck converter operation of the first phase, the control of HS1 may be tied to LS1 so that when HS1 is open, LS1 is closed, and when HS1 is closed, LS1 is open. In buck converter operation of the second phase, the control of HS2 may be tied to LS2 so that when HS2 is open, LS2 is closed, and when HS2 is closed, LS2 is open.
Controller 114 may also open and close switches LS1 or LS2 to implement a boost mode as described herein. Controller 114 may also control HS1 and HS2 to implement a boost mode as described herein. The controller may be configured to allow one phase to act as a boost converter while another phase acts as a buck converter. Alternatively, both phases may act as buck converters or both phases may act as boost converters. Additionally, while two phases are illustrated in
In the illustrated example of
While
As illustrated in
As discussed above, the buck converter controls the current through an inductor by using two switches (for example, transistors). Initially, in an example both switches may be open so that no charging occurs, i.e., no or very low current flows. When one switch, for example, HS1 is first closed, the current will begin to increase through inductor L1. While HS1 is closed, HS2 may be open. When HS1 is subsequently opened, HS2 may be closed and the current will begin to increase through inductor L2. Since current through an inductor (L1 and L2) cannot increase instantly, the voltage across the inductor will drop. This voltage drop counteracts the voltage of the source and therefore reduces the net voltage across system load 112, VSYSTEM. Over time, the current through the inductor (L1 or L2) will increase as the voltage drop across the inductor decreases, thereby increasing the net voltage seen by system load 112. During this time, the inductor is storing energy in the form of a magnetic field.
Switches HS1 and HS2 may be opened before the corresponding inductors L1 and L2 have fully charged then there will always be a voltage drop across them, so the net voltage seen by system load 112 will always be less than the input voltage source (when switches HS1 and HS2 are opened before the corresponding inductors L1 and L2 have fully charged). In this way, the output voltage may be lower than the input voltage.
Since switches (HS1 or HS2) may be opened and closed alternatively to each other the voltage source is generally not removed from the circuit. Accordingly, current continues to be provided to system load 112, the battery, and COUT. The current in each phase may generally change as described above with respect to
When switch LS2 is closed, current flows through the inductor L2 and the inductor L2 stores energy. When the switch LS2 is opened, current will be reduced as the impedance is higher. Accordingly, the inductor L2 will oppose a change or a reduction in current through the inductor L2. The polarity across the inductor L2 will be reversed. As a result, two sources, for example, the battery and inductor L2, will be in series causing a higher voltage to charge capacitor CCHG through the diode in HS2.
If the switch LS2 is cycled fast enough, the inductor L2 will not discharge fully in between charging stages, and system load 112 will always see a voltage greater than that of the input source alone when the switch is opened. Again, “fast enough” will depend on the particular resistances, inductances, and capacitances of the circuitry involved, but in some examples may be 0.5 μs to 2 μs or other switching speeds as described herein. In addition, while the switch LS2 is opened, the capacitor CCHG in parallel with the load on USB adaptor 122 is charged to this combined voltage. When the switch LS2 is then closed, capacitor CCHG provides the voltage and energy to USB adaptor 122. During this time, the diode in HS2 acts as a blocking diode to prevent the capacitor CCHG from discharging through the switch LS2. The switch LS2 may be opened again to prevent capacitor CCHG from discharging such that the voltage across the capacitor CCHG drops more than some predetermined acceptable level, for example, within the voltage tolerance of an electronic device connected to USB adaptor 122.
As illustrated in
Wireless charging may be implemented by inputting power through a transformer 108. As discussed above, one coil 120 of transformer 108 may be separate from two-phase buck converter 100, and another coil 118 may be part of two-phase buck converter 100. Power from transformer 108 may flow through rectifier 116, which may convert a generally alternating current signal to a generally direct current signal, which may be input into buck converter circuitry, for example, the first phase, of two-phase buck converter 100 through switch HS3. In the buck converter (phase 1) switch HS1 may begin open. The current flowing from v_chg through switch HS1 is 0. In other words, since switch HS1 is not closed, no charging voltage flows through it.
When switch HS1 is first closed, the current will begin to increase through inductor L1. Since current through inductor L1 cannot increase instantly, the voltage across the inductor L1 will drop. This voltage drop counteracts the voltage of the source and therefore reduces the net voltage across system load 112, battery, etc. Over time, the current through inductor L1 will increase as the voltage drop across the inductor decreases, thereby increasing the net voltage seen by system load 112. During this time, the inductor L1 is storing energy in the form of a magnetic field.
If switch HS1 is opened before inductor L1 has fully charged (i.e., before it has allowed a higher current to pass through by reducing its own voltage drop to 0), then there will always be a voltage drop across it, so the net voltage seen by system load 112 will always be less than the input voltage source. In this way, the output voltage may be lower than the input voltage. Whenever switch HS1 is opened, the voltage source is removed from the circuit and the current will slowly drop. Again, the current through inductor L1 does not change instantly. Accordingly, the voltage across inductor L1 will be reversed and inductor L1 will act as a voltage source. In the illustrated example, a current flows to the battery and system load 112 from an input voltage source through v_chg and HS1. To maintain this current when the input voltage source is removed, inductor L1 will take the place of the voltage source and provide the same net voltage to system load 112 and the battery. Over time, the current through inductor L1 will decrease and accordingly, the voltage across inductor L1 will also decrease. During this time, inductor L1 is discharging its stored energy (stored in the form of a magnetic field) into the rest of the circuit.
If switch HS1 is closed again before inductor L1 fully discharges, system load 112 and battery will be at a non-zero voltage. A capacitor, COUT, placed in parallel with system load 112 may help to filter the voltage as inductor L1 charges and discharges in each cycle. Capacitor CCHG may be used to filter the charging voltage input when USB adaptor 122 is used as a voltage input.
In the illustrated example, wireless charging uses switched mode charging. In other examples, the wireless charging switch may be connected to a linear charger instead. For example, separate linear charging circuitry might be coupled to the battery and/or system load 112.
In the example of
Controller 114 may open and close at least one of the first low-side switch LS1, the first high-side switch HS1, the second low-side switch LS1, and the second high-side switch HS1 of the two-phase buck converter 100 such that the two-phase buck converter 100 performs boost conversion of a signal (602). In an example, power from a battery may be used to provide power to the boost converter. Power may also be provided by a set of switches, for example, LS1/HS1 or LS2/HS2. In other words, a phase operating as a buck converter may provide power to the boost converter. For example, one set of switches LS1/HS1, LS2/HS2 of two-phase buck converter 100 may be connected to a charging source and provide energy to one or more switches LS1, HS1, LS2, HS2 that may perform boost conversion. Note that while switches may operate in sets LS1/HS1, LS2/HS2 to perform buck conversion, this is not necessarily required.
Controller 114 may control a duty cycle of at least one of the switches LS1, HS1, LS2, or HS2 in at least one of the first phase and the second phase to generate at least one of a trickle charge, a constant current, or a constant voltage (604). For example, a single phase, for example, LS1/HS1 or LS2/HS2 may be used to provide a trickle charging mode. In such an example, controller 114 may open and close the switches LS1/HS1 or LS2/HS2 in only a single phase since only a low current is needed. Additionally, a low duty cycle may be used, since only a low current is needed. In some examples, current output may be monitored and a duty cycle of at least one of the switches LS1, HS1, LS2, or HS2 in at least one of the first phase and the second phase may provide constant current. For example, as a load on the circuit changes current for a given output voltage may vary slightly. Accordingly, the duty cycle may be modified to increase or decrease voltage to keep the current approximately constant. For example, the circuits described herein may be used to charge a battery. As the battery is charged, the internal battery voltage may increase. The current into the battery may be the difference between the charge voltage and the internal battery voltage divided by the resistance of the battery. Accordingly, the current may decrease as the internal battery voltage increases. For a constant current charge, however, controller 114 may generally increase duty cycle to keep the current constant.
Similarly, in some examples, voltage output may be monitored and a duty cycle of at least one of the switches LS1, HS1, LS2, or HS2 in at least one of the first phase and the second phase may be controlled to provide constant voltage. For example, as current output increases, voltage may begin to drop. Accordingly, the duty cycle may be increased to compensate and keep the voltage approximately constant.
Controller 114 may control the two-phase buck converter 100 to provide current to a system voltage output from both the first phase and the second phase to output a charging current (606). This current may charge one or more batteries or battery cells. The current may provide power to a load. In some examples, the current may provide power to a boost converter, as described herein.
In some examples, the two-phase buck converter 100 provided may include an alternative charging switch HS3 in the two-phase buck converter 100. The alternative charging switch HS3 may be coupled to HS1/LS1 between the first high-side switch HS1 and the first low-side switch LS1. The controller 114 may be further configured to control the alternative charging switch HS3 to enable and disable an alternative charging source. A coil 118 (part of transformer 108) and a rectifier 116 may be coupled to the alternative charging switch and configured to provide power from the coil 118, through the rectifier 116 to the alternative charging switch. In some examples, alternative charging switch HS3 may be coupled to a linear regulator to provide not just an alternative charging source, but an alternative method of charging, i.e. linear regulator rather than a switching mode converter.
In the illustrated example of
Controller 114 controls at least one phase to operate as buck converter (702). For example, controller 114 may control a switch (for example, HS1 or HS2) such that the switch (for example, HS1 or HS2) opens and closes as needed to implement a buck mode. The corresponding switch (LS1 or LS2) may close and open as switch (HS1 or HS2) opens and closes. Additionally, controller 114 may control the duty cycle of the switches (HS1/LS1 or HS2/LS2) to control the voltage, VSYSTEM. When switch (HS1 or HS2) is closed, it makes a connection between v_chg and v_sw1 or v_sw2. Generally, the longer the switch (HS1 or HS2) is closed, the higher the voltage at VSYSTEM may be. This may vary depending on the current needed by, for example, system load 112, however. In some examples, the first phase and the second phase may be phase shifted 180°, however, other example phase shifts are possible, for example, 0°, 90°, or any other phase shift. In an example using three phases, the phases may be shifted 120°. In an example using four phases, the phases may be shifted 90°. In an example using eight phases, the phases may be shifted 45°. Again, however, other phase shifts are possible.
In some examples, when the switch (HS1 or HS2) is open switch (LS1 or LS2) may be closed. It will be understood that switches HS1 and HS2 may be independently controllable. In some examples, HS1 may be open when HS2 is closed and HS1 may be closed when HS2 is open. Switches LS1 and LS2 may also be independently controllable. Similarly, in some examples, LS1 may be open when LS2 is closed and LS1 may be closed when LS2 is open. In buck converter operation of the first phase, the control of HS1 may be tied to LS1 so that when HS1 is open, LS1 is closed, and when HS1 is closed, LS1 is open. In buck converter operation of the second phase, the control of HS2 may be tied to LS2 so that when HS2 is open, LS2 is closed, and when HS2 is closed, LS2 is open.
Controller 114 closes the alternative charging switch in the multiphase buck converter topology to connect an alternative charging source to a system voltage output, the alternative charging switch coupled to the first phase between the first high-side switch and the first low-side switch (704).
More specifically, controller 804 is configured to deliver, from power source connection 806, a substantially constant current to charge battery 802. For example, controller 804 may issue instructions to buck converter 808, which is configured to receive power from an external power source via power source connection 806, to deliver a substantially constant current to charge battery 802. Controller 804 may issue instructions to buck converter 808 deliver the substantially constant current for a period of time sufficient to settle the bias electromotive force applied according to the charging voltage and measuring the battery voltage during the constant current charging, such as a period of time sufficient to cause battery 802 voltage to be substantially dependent on only the substantially constant current, the state of charge of battery 802, and a battery temperature. In some examples, buck converter 808 may be the same or substantially similar to two-phase buck converter 100.
Controller 804 is further configured to measure a charging voltage of battery 802 via voltage sensor 810 during or immediate subsequent to the application of the substantially constant current to charge battery 802. Controller 804 is further configured to evaluate a state of charge of battery 802 based on the measured charging voltage, and, optionally, a measured battery temperature, as indicated by temperature sensor 818. In some examples, controller 804 may use a look-up table to correlate the measured charging voltage, and optionally, battery temperature, to a state of charge of battery 802. The data in the look-up table may come from testing of battery 802 or another battery of substantially similar construction. Theoretically, the correlation between the measured charging voltage to a state of charge of battery 802 is represented by Equation 1 below. In some examples, Equation 1 may be used instead of a look-up table to correlate the measured charging voltage to a state of charge of battery 802.
R(cell)=v(batteryI1)/I1 (Equation 1)
With respect to Equation 1, above, R (cell) represents the state of charge of battery 802, I1 represents the substantially constant current applied to charge battery 802, V(batteryI1) represents the measured charging voltage of the battery, and V (cell) represents the actual voltage of battery 802 absent the substantially constant current. Equation 1 may be derived as follows:
Note that Equation 1 and a corresponding look-up table only provides for a precise correlation following the application of constant current charging to battery 802 for a period sufficient to settle the bias electromotive force applied according to the charging voltage, as Equation 1 assumes the bias electromotive force is settled. Controller 804 and buck converter 808 facilitate the application of this constant current charging of the battery for such a sufficient period by separately directing a power from the external power source via power source connection 806 to satisfy varying power loads of the components of portable electronic device 800, including controller 804 itself, user interface 812, other electronic components 814. In some examples, electronic components 814 may include global positioning system (GPS) receiver, telecommunications module, such as a cellular, Wi-Fi and/or Bluetooth module, one or more processors and/or other circuitry of portable electronic device 800. In contrast to portable electronic device 800, in other portable electronic devices, the current supplied to charge a battery may vary according to the load demands of electronic components of the portable electronic devices. Varying the current supplied to the battery may preclude the use of a look-up table to correlate the measured charging voltage to a state of charge of battery as the measured current of the battery during charging would be expected to be a function of varying current applied over time, resulting in a bias electromotive force that would be difficult to account for.
In some examples, controller 804 may further be configured to take a second voltage measurement with voltage sensor 810 that may allow more precise evaluation of the state of charge of battery 802. For example, controller may, after delivering the substantially constant current to charge battery 802, momentarily deliver a test current to battery 802, and measure a test voltage of battery 802 with voltage sensor while delivering the test current to battery 802. Evaluation of the state of charge of battery 802 may be based on the measured charging voltage, and the measured test voltage, as well as, optionally a measured temperature of battery 802, as indicated by temperature sensor 818. In some examples, controller 804 may use a look-up table to correlate the measured charging voltage, test voltage and optionally, battery temperature, to a state of charge of battery 802. The data in the look-up table may come from testing of battery 802 or another battery of substantially similar construction. Theoretically, the correlation between the measured charging voltage and test voltage to a state of charge of battery 802 is represented by Equation 2 below. In some examples, Equation 2 may be used instead of a look-up table to correlate the measured charging voltage and measured test voltage to a state of charge of battery 802.
With respect to Equation 2, above, R2 (cell) represents state of charge of battery 802, I1 represents the substantially constant current applied to charge battery 802, I2 represents the test current applied to battery, V(batteryI1) represents the measured charging voltage of battery 802, and V(batteryI2) represents the measured test voltage of battery 802. Equation 2 may be derived as follows:
At instant of voltage and current changes, the combination and separation occurs at the interface of cathode and anode before the ion from the respective material away from the interface replenishes the ion. Thus, during the change in current and voltage, when nearly fully charged, the availability of ions combination and separation nearer to the cathode and anode interface are lesser, and that the R2 (cell) is different when the battery is not fully charge or near fully charge. Thus, the R2 (cell) represents the state of charge with a preemptive nature to charge on the available charges.
Equation 2 assumes that the electrochemistry behavior of battery 802 has not yet been substantially affected by the application of the test voltage. For this reason, controller 804 may be configured to measure the test voltage while delivering the test current to battery 802 within a very short period of time after the application of the substantially constant current. For example, controller 804 may be configured to measure the test voltage while delivering the test current to battery 802 within 100 milliseconds of delivering the substantially constant current to battery 802, within 25 millisecond of delivering the substantially constant current to battery 802, within 5 millisecond of delivering the substantially constant current to battery 802 or even within 1 millisecond of delivering the substantially constant current to battery 802. The application of a test current and a test voltage measurement with voltage sensor 810, may allow more precise evaluation of the state of charge of battery 802, particularly with battery chemistries in which the voltage measurement of the battery during constant current charging remains relatively consistent over a large portion of the possible charge states of the battery, such as a portion between a relatively low charge state, and a relatively high charge state, as illustrated in
In some examples, R2 (cell) may be a set of read out data, where the data are measurements measured in successive time interval, N, of example 100 milliseconds. Value of the R2 (cell) and N value represents the state of charge of the battery. The R2 with respective N may be post-processed to find the a second minimum R2 value at one of the time interval and the R2 value and/or the N timing is represent the state of charge according to Equation 3.
dR(Cell)/dN=0 (Equation 3)
In the same or different examples, the test voltage may be applied with a rate over voltage change over time from V(battery 1) to V(battery2) instead of a step change. The test voltage may be applied by M successive time, switching between V(battery1) and V(battery2) as alternate way of current and voltage.
Under another condition, where a constant I3 current is sensed to be discharging into the system, a I4 change instant can be check for its Voltage and current ration as R3=(V4−V3)/(I4−I3) by the same sensor in the charger. Where I4 is a new current drawn, I3 is the initial steady current drawn. V4 is the voltage seen at battery for I4 changes and V3 is the voltage seen at the battery at I3. In this manner, the same principles can be applied to test a battery charge state during a constant current draw rather than a constant current charging. The voltage measurement to determine a discharge voltage is delayed until the electrochemistry of the battery has settled according the constant current discharge, the test voltage measurement occurs quickly following the application of the test current to limit the effects the test current has on the electrochemistry behavior of the battery and the resulting electromotive force on the battery.
In the case where R3 is measured, where the battery is nearly discharge, the change in R3 also increases.
Controller 804 may further be configured to store, based on the evaluation of the state of charge of battery 802, an indication of the state of charge of battery 802 in memory 816, a non-transitory computer readable medium. Controller 804 may further be configured to present, based on the evaluation of the state of charge of battery 802, a representation of the state of charge of battery 802 via user interface 812. In some examples, user interface 812 may include a display or other visual indicators.
In the same or different examples, controller 804 may further be configured to issue instructions to buck converter 808 to select between charging with the substantially constant current and charging with substantially constant voltage based on the evaluation of the state of charge of battery 802. For example, once the state of charge of battery 802 reaches a relatively high level, constant voltage charging may be preferred to constant current charging as application of constant current charging to battery 802 may degrade the capacity of battery 802 such that the storage capacity of battery 802 is reduced faster than if appropriate charging techniques are applied. Conversely, constant current charging of battery 802 is preferable below relatively high charge states of battery 802 as constant current charging of battery 802 may be faster than constant voltage charging of battery 802.
In some examples, portable electronic device 900 may be substantially similar to portable electronic device 800, however, as represented by controller 904 and switch 909, any circuitry that may control constant current charging or discharging of battery 902 for a period sufficient to settle the bias electromotive force applied according to the charging voltage may be used to evaluate of a charge state of battery 902 while charging battery 902 from an external power source. In this manner, the buck converters described with respect to
Controller 904 evaluates a state of charge of battery 902 based on the measured charging voltage, and, optionally, the measured test voltage and/or a temperature of battery 902 (928). Controller 804 stores an indication of the state of charge of battery 902 in memory (930).
Controller 904 delivers a substantially constant current to charge battery 902 from power source connection 906 via switch 909 (920). For example, delivering the substantially constant current to charge battery 902 may include delivering the substantially constant current for a period of time sufficient to cause the battery voltage to be substantially dependent on only the substantially constant current, the state of charge of the battery, and a battery temperature. While delivering the substantially constant current to battery 902, controller 904 measures a charging voltage of battery 902 with voltage sensor 910 (922).
Controller 904 optionally, momentarily delivers a test current to battery 902, which may include pausing the delivery of charging voltage with switch 909, after delivering the substantially constant current to charge battery 902 (924), and measures a test voltage of battery 902 with voltage sensor 910 (926). While the voltage measurement to determine a charging voltage is delayed until the electrochemistry of the battery has settled according the constant current charging, the test voltage measurement occurs quickly following the application of the test current to limit the effects the test current has on the electrochemistry behavior of battery 902 and the resulting electromotive force on battery 802.
The techniques of
In contrast, the techniques of
Accurate charge state evaluations may be useful to provide indications to a user of the remaining battery life of an electronic device. In addition, accurate charge state evaluations may be useful select appropriate charging techniques based on the charge state of a batter. For example, constant current charging of a battery may be preferable below relatively high charge states of the battery to provide relatively fast charging. However, at a relatively high charge states, constant voltage charging may be preferred to constant current charging as application of constant current charging to a battery may degrade the capacity of the battery.
As indicated in
Similarly, at relatively high battery charge states, in this example, battery charge states of about 90% or more, voltage of the battery is also highly dependent on the battery charge state. In this range, because the voltage of the battery is so dependent on the battery charge state, a voltage measurement may facilitate a reasonably accurate evaluation of the battery charge state even if the electromotive force applied to the battery is not settled, for example, due to changing current charging or draw. For this reason, evaluation of the battery charge state at relatively high battery charge states may also be reasonably accurate not withstanding dynamic loading or discharge of the battery.
In contrast, at midrange battery charge states, in this example, battery charge states of between 10% and 90%, voltage of the battery is relatively flat across this range of battery charge states for a given battery temperature. Within the midrange battery charge states, the techniques of
The techniques described in this disclosure may be implemented, at least in part, in hardware, software, firmware, or any combination thereof. For example, various aspects of the described techniques may be implemented within one or more processors, including one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or any other equivalent integrated or discrete logic circuitry, as well as any combinations of such components. The term “processor” or “processing circuitry” may generally refer to any of the foregoing logic circuitry, alone or in combination with other logic circuitry, or any other equivalent circuitry. A control unit including hardware may also perform one or more of the techniques of this disclosure.
Such hardware, software, and firmware may be implemented within the same device or within separate devices to support the various techniques described in this disclosure. In addition, any of the described units, modules or components may be implemented together or separately as discrete but interoperable logic devices. Depiction of different features as modules or units is intended to highlight different functional aspects and does not necessarily imply that such modules or units must be realized by separate hardware, firmware, or software components. Rather, functionality associated with one or more modules or units may be performed by separate hardware, firmware, or software components, or integrated within common or separate hardware, firmware, or software components.
The techniques described in this disclosure may also be embodied or encoded in an article of manufacture including a computer-readable storage medium encoded with instructions. Instructions embedded or encoded in an article of manufacture including a computer-readable storage medium encoded, may cause one or more programmable processors, or other processors, to implement one or more of the techniques described herein, such as when instructions included or encoded in the computer-readable storage medium are executed by the one or more processors. Computer readable storage media may include random access memory (RAM), read only memory (ROM), programmable read only memory (PROM), erasable programmable read only memory (EPROM), electronically erasable programmable read only memory (EEPROM), flash memory, a hard disk, a compact disc ROM (CD-ROM), a floppy disk, a cassette, magnetic media, optical media, or other computer readable media. In some examples, an article of manufacture may include one or more computer-readable storage media.
In some examples, a computer-readable storage medium may include a non-transitory medium. The term “non-transitory” may indicate that the storage medium is not embodied in a carrier wave or a propagated signal. In certain examples, a non-transitory storage medium may store data that can, over time, change (e.g., in RAM or cache).
Various aspects have been described in this disclosure. These and other aspects are within the scope of the following claims.