It is useful for products powered by batteries, energy-harvesting systems (e.g., solar cells or thermoelectric scavenging), or other variable sources to be able to monitor the voltage supplied by the source. For example, a useful feature for battery-powered products is a “low-battery alert,” an alert to notify the user in time to replace the battery before it is completely discharged and service is interrupted.
In addition, it is useful to detect conditions when the power source is unable to support the load presented by the product; upon detection of such a condition the product may be designed to disconnect non-essential loads to preserve the function of essential loads (“load shedding”) or take other compensatory action to extend its operational life. Existing products frequently perform this detection by monitoring the voltage supplied to the product by the power source.
Since the internal impedance of the power source may not be negligible, the voltage supplied to the product may vary under varying load conditions. To ensure that an undetected under-voltage condition does not occur, substantially-constant monitoring of the voltage supplied by the source is therefore required. Existing insufficient-supply detectors typically require a dedicated analog comparator and the generation of a reference voltage to use in the comparison process. These circuits consume additional power, and so in many products are often rarely enabled. Undetected insufficient-supply conditions, therefore, can occur, leading to undesired product behavior.
Since battery-powered products frequently are portable or mobile, it is desirable that their insufficient-supply detectors have small physical size and low power consumption. To achieve this, it would be helpful if the detection can be derived from already available information. It would also be helpful (for power minimization and cost minimization) if the detection circuit is digital.
What is needed is an insufficient-supply detector that is consistent with these requirements.
The accompanying drawings provide visual representations which will be used to more fully describe various representative embodiments and can be used by those skilled in the art to better understand the representative embodiments disclosed and their inherent advantages. In these drawings, like reference numerals identify corresponding elements.
The various methods, apparatus, and devices described herein provide for the detection of insufficient supplied power provided to a device, and also for reaction by the device to the detection of insufficient supplied power.
In accordance with certain embodiments of the present disclosure, there are provided various methodologies for determining the adequacy of the current sourcing capability of a power source, including: dynamically detecting a current sourcing capability of the power source; generating an insufficient-supply indication, that the current sourcing capability of the power source has fallen below a current threshold of a device supplied power by the power source, in response to an overflow condition of a digital counter of the device, the overflow condition caused by a current multiplier of the device to which the digital counter is coupled being unable to achieve a threshold voltage within Ncount cycles of a clock signal used to clock the digital counter; and in response to the insufficient-supply indication, a control element of the device controlling the device to have a compensatory response.
Further, in accordance with certain additional embodiments of the present disclosure, there is provided an apparatus that determines the adequacy of the current sourcing capability of a power source that supplies power to a device. The apparatus has a current multiplier of the device, operable as a voltage regulator, that is coupled to the power source, receives a clock signal, and generates a control signal; and a digital counter, clocked by the clock signal and reset by the control signal, that generates an overflow output in response to an overflow condition of the digital counter that indicates that the current sourcing capability of the power source has fallen below a current threshold of the device. The digital counter generates the overflow condition of the digital counter in response to the current multiplier of the device being unable to achieve a threshold voltage within Ncount cycles of the clock signal. As will be discussed the current multiplier resides on the device supplied power by the power source and the digital counter may or may not also reside on the device.
Further, in accordance with certain embodiments of the present disclosure, there is provided a device that is provided power by a power source, with the device having a detection element operable to dynamically detect a current sourcing capability of the power source and generate an insufficient-supply indication when the current sourcing capability of the power source has fallen below a current threshold of the device; and a control element operable to monitor the insufficient-supply indication and, in response to generation of the insufficient-supply indication by the detection element, the control element controls the device to have a compensatory response to the insufficient-supply indication. The detection element has a current multiplier, operable as a voltage regulator and having a control signal, that is coupled to the power source and receives a clock signal; and a digital counter, clocked by the clock signal and reset by the control signal, that generates an overflow output as the insufficient-supply indication in response to an overflow condition of the digital counter.
While this invention is susceptible of embodiment in many different forms, there is shown in the drawings and will herein be described in detail specific embodiments, with the understanding that the present disclosure is to be considered as an example of the principles of the invention and not intended to limit the invention to the specific embodiments shown and described. In the description below, like reference numerals are used to describe the same, similar or corresponding parts in the several views of the drawings.
In this document, relational terms such as first and second, top and bottom, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. The terms “comprises,” “comprising,” or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element preceded by “comprises . . . a” does not, without more constraints, preclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.
Reference throughout this document to “one embodiment”, “certain embodiments”, “an embodiment” or similar terms means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of such phrases or in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments without limitation.
The term “or” as used herein is to be interpreted as an inclusive or meaning any one or any combination. Therefore, “A, B or C” means “any of the following: A; B; C; A and B; A and C; B and C; A, B and C”. An exception to this definition will occur only when a combination of elements, functions, steps or acts are in some way inherently mutually exclusive.
For simplicity and clarity of illustration, reference numerals may be repeated among the figures to indicate corresponding or analogous elements. Numerous details are set forth to provide an understanding of the embodiments described herein. The embodiments may be practiced without these details. In other instances, well-known methods, procedures, and components have not been described in detail to avoid obscuring the embodiments described. The description is not to be considered as limited to the scope of the embodiments described herein.
Current loads drawn by modern portable and mobile products often are very “bursty,” meaning that, while their average current may be low (e.g., tens of microamperes in a radio pager), their peak currents can be many orders of magnitude higher for short periods (e.g., 100 mA in a radio pager when its audible alert is active). Cellular telephones (with sleep current near 500 uA, receive currents near 20 mA, and transmit currents 1 A or more) and IEEE 802.15.4 products (with sleep current near 500 nA, receive current of 10 mA, and transmit current of 25 mA or more) are other examples of products with such bursty load currents.
Powering products having such bursty load currents from sources with independently-varying current-sourcing capability (e.g., batteries, solar cells, or other energy harvesting technology) is especially problematic. With both current source capability and current load demand varying, it is a challenge for the product designer to ensure that the source can adequately power the device at all times. If this cannot be ensured, it is desirable for the designer to be able to detect such an event—ideally, far enough in advance so that countermeasures can be taken or the user, or system, warned of the problem.
A warning or alert indication that the power source cannot adequately power the product has many uses. The most familiar may be the “low battery” alert in battery-powered products, used to notify the user in time to replace the battery before it is completely discharged and service is interrupted. Another use for such an alert is load shedding, or the disconnection of non-essential loads to preserve the function of essential loads. Loads often shed in portable products include display backlights, audible user feedback, and non-critical wireless transmission and reception. In addition to these, digital products may have their supply voltage and/or clock speeds lowered, to lower the power consumption of the remaining circuits, at the cost of reduced performance. Load shedding may be extended to the point of actually performing an orderly product shutdown. Load shedding, like the “low battery” alert, may be done under microprocessor control in response to the insufficient-supply detection; in this way the response may be tailored, via software, to the state of the product at the instant the detection of an insufficient power supply is made.
A third use for insufficient-supply detection is the reduction of peak currents by the rescheduling of product actions, spreading them so that they do not occur at the same time. For example, in a user interface a backlight flash and a user-audible alert can be separated in time so that their currents may be separated in time.
Since both the source capability and load demand vary independently, and in a fashion over which the product designer may have limited control, it is useful that data on the sufficiency of the power source be constantly, or at least timely, conveyed to a control element, such as a microprocessor, in as near a real-time manner as is practicable. In this way, even short periods of power supply insufficiency may be identified, and the appropriate countermeasures taken before the function of the product is affected. As will be described, the dynamic detection of the sufficiency of the power source satisfies this need, and allows for the device to take or perform a variety of compensatory responses in response to the detection of an insufficient-supply indication. Dynamically detecting a current sourcing capability of the power source may include periodic or near-constant detection.
Products supplied by variable sources often employ switching converters to convert the voltage presented by a source to a voltage needed by a load. Due to their small physical size and suitability for semiconductor integration, current multipliers, also known as capacitive switching converters and capacitive voltage converters, are well suited for this application.
The current multiplier generates an output current that is a function of the difference between its input voltage and output voltage. A description of its operation follows.
An exemplary current multiplier 101 is shown in
The current drain multiplication can be analyzed by neglecting the current into load 116 and analyzing the charge transfer. Assume that capacitor 114 is a much higher value than capacitor 106, such that the voltage on capacitor 114 does not change significantly as capacitor 106 charges and discharges. Further, assume that the circuit reaches a steady-state condition before the next clock transition.
Under these assumptions, at the end of phase 1 (i.e., just before clock signal φ1 goes low), as shown in
q1=∫i·dt=∫C·dv,
where C is the capacitance of capacitor 106 and dv is the change in voltage across capacitor 106 over the time period. This is equal to vS−2vL, where vS is the voltage at source 102 and vL is the voltage presented to the load at output 108. In phase 2 (i.e., while clock signal φ2 is high), as shown in
q=q1+q2=2C∫dv.
The amount of current from source 102 is
where T is the period of clock signals φ1 and φ2. Recognizing that iload, the current into load 116, comprises the charge transferred over time during both phase 1 and phase 2, and recognizing that the two charge transfers are equal,
So, the ideal performance is 2× current enhancement.
The power efficiency is
Note that efficiency is minimized when vS−vL is large, and is maximized when vL/vS=1. However, load current approaches zero as vL/vS=1.
The maximum load current is a function of vS−vL, T and C. From the equations it can be seen that for vS=2.6 V, vL=1.1 V, C=100 pF, T=1/(32.768 kHz), the maximum current is 5.243 uA, in this exemplary embodiment.
Current multipliers are often placed in a feedback arrangement, forming a voltage regulator 200 as shown in
The control structure for multiplier 201 is comparator 204, having a threshold voltage 208, vth, and a hysteresis voltage 210, vh, and clock generator 206. When comparator output 212 is high, clock generator 206 is enabled, producing clock signals φ1 and φ2. Multiplier 201 then conducts, and the voltage at its output 218 rises until the upper threshold of comparator 204, vth+vh, is reached. At that point the comparator output 212 switches low, and clock generator 206 is disabled, stopping clock signals φ1 and φ2. Multiplier 201 then stops conducting and the voltage at its output 218 drops as the load current drains Cload of multiplier 201 (e.g., capacitor 114 inside multiplier 101). When the voltage at output 218 of multiplier 201 drops to the lower threshold of comparator 204, vth, comparator output 212 switches high, and the cycle repeats.
The rate (Δv/Δt) at which the voltage at multiplier output 218 increases during the conduction portion of the cycle is proportional to the difference between the maximum current-sourcing capability Imax of the multiplier and the actual load current Iload. This can be described by
where Cload is the capacitance of capacitor 114.
If the current-sourcing capability of the power source, Icap, is unrestricted, Imax is determined by the specific implementation details of voltage regulator 200—principally the values of the capacitors in multiplier 201 and the frequency of switching clock source 214. However, the multiplier can source no more than twice Icap. As Icap is reduced, due to a reduction of the source voltage, increase in the source internal impedance, or other cause, a point is reached at which Imax becomes limited by Icap, rather than voltage regulator 200. As Icap is reduced beyond this point, Imax is also reduced.
The action of multiplier 201 and comparator 204 is regulated by the switching clock source 214 and its frequency fc. The rate of voltage increase at multiplier output 218 when multiplier 201 is conducting can be expressed as the number of clock cycles N required for the voltage to rise by an amount equal to the hysteresis voltage vh:
A limit on the number of cycles (N) can be set by setting a minimum value of Imax−Iload based on some fraction (x) of the minimum designed value of Imax. The maximum number of cycles Nmax can be expressed
Finally, if Icap is in the regime where it limits Imax,
An exemplary embodiment is illustrated in the block diagram of an insufficient-supply detector shown in
A device embodying the detection capabilities described herein may be considered to have a detection element operable to dynamically detect a current sourcing capability of the power source and to generate an insufficient-supply indication when the current sourcing capability of the power source has fallen below a current threshold of the device; and a control element operable to monitor the insufficient-supply indication and, in response to generation of the insufficient-supply indication by the detection element, to control the device to have a compensatory response to the insufficient-supply indication. The detection element of the device has a current multiplier, operable as a voltage regulator and having a control signal, that is coupled to the power source and receives a clock signal; and a digital counter, clocked by the clock signal and reset by the control signal, that generates an overflow output as the insufficient-supply indication in response to an overflow condition of the digital counter.
As will be described, the compensatory response may be an alert indication, such as a low-battery indication, generated by the device under control of the control element, that the current sourcing capability of the power source has fallen below the current threshold of the device. The compensatory response may be the control element selectively reducing load current drawn by the device. Load shedding may be accomplished by the control element selectively shutting down operation of one or more load elements of the device that draw current when operational, or even an orderly shut-down of the device itself. Reducing load current drawn by the device may further be accomplished by the control element selectively lowering power consumption of the device, such as by selectively reducing a supply voltage of the device or a clock speed of one or more clocks of the device. Moreover, selectively scheduling the occurrence in time of one or more functions of the device by the control element may be performed to reduce load current drawn by the device.
Referring now to
Couplings between blocks in
Operation of the voltage regulator formed by current multiplier 301 and comparator 304 of
Two sample Nmax calculations are shown in Table 1, for exemplary regulators having different values of Imax. The coefficient x is arbitrarily picked to be 0.1. In both cases the number of bits in the counter is reasonable, and suitable for integration. A simple ripple counter is sufficient, since such counters have low power dissipation and the counter values Ncount that produce an overflow condition in counter 316 can approximate Nmax with sufficient accuracy. Of course, if desired synchronous or other counter types could be employed, including types for which Ncount=Nmax.
Both calculations assume that the multiplier is designed such that, when Icap is unlimited, Imax is equal to or greater than the maximum current needed by the load.
In Regulator 1, the multiplier is designed to source a maximum of Imax=1 uA when the supply current is unrestricted. However, the multiplier can source no more than twice Icap. As Icap falls below 500 nA Imax must also fall, slowing the rate of voltage rise when the multiplier is conducting until counter 324 overflows before it can be reset. In Regulator 1, counter 324 is a 16-bit ripple counter, counting Ncount=65536 counts of the fc=32 kHz clock (2.048 seconds) before overflowing. Therefore, in this regulator counter 324 will overflow, and the detection of an inadequate power source declared, if the regulator output does not rise vh=0.08 V in 2.048 seconds.
Similarly, in Regulator 2, the multiplier is designed to source a maximum of Imax=6 mA when the supply current is unrestricted. In this case, as Icap falls below 3 mA Imax must also fall, slowing the rate of voltage rise when the multiplier is conducting until counter 324 overflows before it can be reset. In Regulator 2, counter 324 is a 14-bit ripple counter, counting Ncount=16384 counts of the fc=32 MHz clock (512 us) before overflowing. Therefore, in this regulator counter 324 will overflow, and the detection of an inadequate power source declared, if the regulator output does not rise vh=0.08 V in 512 us.
Operation of the detector is shown in greater detail in the curves of
In the Figure, curve 402 shows the operation of a regulator when the source current is unrestricted. In this case, the multiplier conducts and the regulator output voltage rises rapidly to vth+vh, and then turns off. The voltage then gradually decreases as current is drawn from Capacitor 114 in the current multiplier. When this voltage reaches vth, the multiplier conducts again and the cycle is repeated.
Curve 404 shows the case in which Icap is low, limiting the current available to the product. In this case, however, because the current from the source is limited, the voltage step height is smaller, and as a result more clock cycles are needed to reach vth+vh. Counter 324 counts these clock cycles; when it overflows the determination of an insufficient supply is made. Overflow output 322 of counter 324 thereby operates as an insufficient-supply indicator.
An insufficient-supply indicator has many uses, some of which are now described with the aid of
Couplings between blocks in
In a cellular telephone, essential loads 506 and 508 may be, for example, a Global Positioning System (GPS) receiver and a cellular telephone transceiver, respectively. Non-essential load 510 may be, for example, an audio amplifier for speakerphone use.
In product operation, processor 502 controls essential loads 506 and 508, non-essential load 510, and user interface 512 as instructed by software instructions stored in memory 504. The processor may monitor the insufficient-supply indicator at input 514 by polling input 514, by considering input 514 to be an interrupt, by storing the value of input 514 in a register or memory for later evaluation, or by any other means known in the art.
When an insufficient-supply indication is made, processor 502 executes the instructions for this event stored in memory 504. Processor 502 may, for example, activate its user interface, and send a warning (via a visual display, audible tone, or other means) to the user. Port 522 on user interface 512 may be a two-way port, enabling the user to reply to the warning by instructing processor 502 on desired current-reduction steps (e.g., by turning off or dimming a display backlight).
Processor 502 also may, for example, disable non-essential load 510 via enable input 520, thereby reducing the load current of the product when essential loads 506 and 508 are enabled (load shedding). This would, for example, disable speakerphone use, while still maintaining GPS and conventional telephone capability.
Processor 502 also may, for example, control system clock 524 via control signal 526 so that the frequency of clock signal 528, or the frequency of the clock of other product components (not shown in
Processor 502 also may, for example, stagger the operation of essential loads 506 and 508, so that the two are never active simultaneously and the peak load current of the product reduced. In the cellular telephone example, this would stagger the operation of the GPS receiver and the cellular telephone transceiver.
Of course, the insufficient-supply indicator and any loads involved in load-reduction efforts must be coupled to the same supply. If processor 502 and memory 504 are not the object of load-reduction efforts, however (e.g., by reducing the frequency of clock signal 528), they need not be supplied by the same power source as that coupled to the insufficient-supply indicator.
As used herein memory 504 may be any suitable memory technology such as a random access memory (RAM), Read Only Memory (ROM), Flash memory, Electrically Erasable Programmable Read Only Memory (EEPROM), mass storage such as a hard disc drive, floppy disc drive, optical disc drive or may accommodate other electronic storage media, and non-volatile memory (NVM). The memory may be active memory or may permanently reside in ROM, EEPROM or Flash memory, for example.
Processor 502 encompasses a processor, controller, microcontroller unit (MCU), microprocessor, and other suitable control elements. It will be appreciated that embodiments of the invention described herein may be comprised of one or more conventional processors and unique stored program instructions that control the one or more processors to implement, in conjunction with certain non-processor circuits, some, most, or all of the functions described herein. The non-processor circuits may include, but are not limited to, a receiver, a transmitter, a radio, signal drivers, clock circuits, power source circuits, and user input devices. As such, these functions may be interpreted as a method to perform functions in accordance with certain embodiments consistent with the present invention. Alternatively, some or all functions could be implemented by a state machine that has no stored program instructions, or in one or more application specific integrated circuits (ASICs), in which each function or some combinations of certain of the functions are implemented as custom logic. Of course, a combination of the two approaches could be used. Thus, methods and means for these functions have been described herein. Further, it is expected that one of ordinary skill, notwithstanding possibly significant effort and many design choices motivated by, for example, available time, current technology, and economic considerations, when guided by the concepts and principles disclosed herein will be readily capable of generating such software instructions and programs and ICs with minimal experimentation.
Moreover, those skilled in the art will recognize that the present invention has been described in terms of exemplary embodiments based upon use of a programmed processor. However, the invention should not be so limited, since the present invention could be implemented using hardware component equivalents such as special purpose hardware and/or dedicated processors which are equivalents to the invention as described and claimed. Similarly, general purpose computers, microprocessor based computers, micro-controllers, optical computers, analog computers, dedicated processors and/or dedicated hard wired logic may be used to construct alternative equivalent embodiments of the present invention.
Those skilled in the art will appreciate that a program flow and associated data used to implement the embodiments described above can be implemented using various forms of storage such as Read Only Memory (ROM), Random Access Memory (RAM), Electrically Erasable Programmable Read Only Memory (EEPROM); non-volatile memory (NVM); mass storage such as a hard disc drive, floppy disc drive, optical disc drive; optical storage elements, magnetic storage elements, magneto-optical storage elements, flash memory, core memory and/or other equivalent storage technologies without departing from the present invention. Such alternative storage devices should be considered equivalents.
Various embodiments described herein are implemented using programmed processors executing programming instructions that are broadly described in flow chart form that can be stored on any suitable electronic storage medium or transmitted over any suitable electronic communication medium. However, those skilled in the art will appreciate that the processes described above can be implemented in any number of variations and in many suitable programming languages without departing from the present invention. For example, the order of certain operations carried out can often be varied, additional operations can be added or operations can be deleted without departing from the invention. Error trapping can be added and/or enhanced and variations can be made in user interface and information presentation without departing from the present invention. Such variations are contemplated and considered equivalent.
Referring now to
At Block 620, in response to an overflow condition of a digital counter of the device, an insufficient-supply indication, that the current sourcing capability of the power source has fallen below a current threshold of a device supplied power by the power source, is generated. As previously described, the overflow condition is caused by a current multiplier of the device to which the digital counter is coupled being unable to achieve a threshold voltage within Ncount cycles of a clock signal used to clock the digital counter.
At Block 630, in response to the insufficient-supply indication, a control element of the device controls the device to have a compensatory response. A compensatory response by the device may be generation of an alert indication, such as a low-battery alert, or it may be action taken, under processor control, to reduce the current load drawn by the device. Selectively reducing the current load of the device may include one or more of selectively shutting down operation of one or more load elements of the device, shutting down the device itself, lowering power consumption utilized by the device (e.g. reducing a supply voltage or a clock speed of the device), and selectively scheduling when functions performed by device occur.
The representative embodiments, which have been described in detail herein, have been presented by way of example and not by way of limitation. It will be understood by those skilled in the art that various changes may be, made in the form and details of the described embodiments resulting in equivalent embodiments that remain within the scope of the appended claims.
This application claims priority to U.S. Provisional Patent Application No. 61/435,509 filed Jan. 24, 2011, which is hereby incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
5327071 | Frederick et al. | Jul 1994 | A |
6054861 | Takahashi | Apr 2000 | A |
6160490 | Pace et al. | Dec 2000 | A |
6285164 | Noda et al. | Sep 2001 | B1 |
6384579 | Watanabe | May 2002 | B2 |
6897673 | Savage et al. | May 2005 | B2 |
7112943 | Bucur et al. | Sep 2006 | B2 |
7190102 | VanderSluis | Mar 2007 | B2 |
7378225 | Baldwin et al. | May 2008 | B2 |
7554308 | Roh et al. | Jun 2009 | B2 |
7566828 | Sasaki | Jul 2009 | B2 |
7728749 | Sahu | Jun 2010 | B2 |
7876081 | Hachiya et al. | Jan 2011 | B2 |
7928700 | Cour | Apr 2011 | B2 |
8194425 | Park et al. | Jun 2012 | B2 |
8253403 | Chen et al. | Aug 2012 | B2 |
8253507 | Tang et al. | Aug 2012 | B2 |
20030169020 | Malcolm | Sep 2003 | A1 |
20030221133 | Nguyen et al. | Nov 2003 | A1 |
20040046527 | VanderSluis | Mar 2004 | A1 |
20040164711 | Hayashi | Aug 2004 | A1 |
20070103134 | Yang et al. | May 2007 | A1 |
20080136393 | Yang et al. | Jun 2008 | A1 |
20090160409 | Carmen | Jun 2009 | A1 |
20110199062 | Singnurkar | Aug 2011 | A1 |
20120286746 | Martin et al. | Nov 2012 | A1 |
Number | Date | Country |
---|---|---|
2002-093465 | Mar 2002 | JP |
10-2004-0076535 | Sep 2004 | KR |
Entry |
---|
PCT Search Report, PCT/US2012/021812, KIPO, Sep. 3, 2012. |
PCT Search Report, PCT/US2012/047956, KIPO, Mar. 29, 2013. |
Number | Date | Country | |
---|---|---|---|
20120187925 A1 | Jul 2012 | US |
Number | Date | Country | |
---|---|---|---|
61435509 | Jan 2011 | US |