Charge measurement in a system using a pulse frequency modulated DC-DC converter

The PFM DC-DC converter system addresses inaccuracies in coulomb counting by measuring battery load through switch events and calibration, ensuring precise battery charge estimation and remaining life prediction.

DE102017126901B4Active Publication Date: 2024-10-24SILICON LABORATORIES INC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
DE102017126901
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2016-12-28
Filing Date
2017-11-15
Publication Date
2024-10-24
Estimated Expiration
2037-11-15

AI Technical Summary

Technical Problem

Existing methods for determining the state of charge in batteries, such as coulomb counting, are imprecise over long discharge times, inefficient in terms of power consumption, and fail to account for temperature-dependent battery types, leading to inaccurate predictions of remaining battery life.

Method used

A system using a pulse frequency modulated (PFM) DC-DC converter to measure battery load by counting switch events and associating them with battery voltage, incorporating calibration operations to determine charge drawn per impulse, and adjusting power loads to improve accuracy.

Benefits of technology

Provides precise estimation of battery charge and remaining life by minimizing power consumption and accounting for temperature-dependent battery types, even in systems with long discharge times.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

Procedure, comprehensive: Determine, based on a calibration operation (601), a calibration charge, drawn per pulse from a battery (104, 401) which supplies an input voltage to a pulse frequency modulated DC-DC converter (101), PFM-DC-DC converter (101), wherein during at least part of the calibration operation (601) a calibration current load (215, 409) is added to a system current load of the PFM-DC-DC converter (101); Determining a working battery voltage; during the operation, counting a number of pulses corresponding to switching events that occur in the PFM-DC-DC converter (101) associated with the working battery voltage; and Determining a charge drawn by the battery (104, 401) during the number of pulses at least partially based on the working battery voltage, the calibration charge drawn per pulse and the number of pulses.
Need to check novelty before this filing date? Find Prior Art

Description

STATE OF THE ARTField of invention

[0001] The present invention relates to charge measurement for use in determining a state of charge in a battery. Description of the related art

[0002] Traditional coulomb counting is used to predict the remaining charge in a battery and is widely used in lithium-ion batteries for such prediction. Traditional coulomb counting is based on the integration of the measured voltage drop (IR drop) across a small resistor in series with the power supply. Further improvements in determining the charge transferred by a battery to address a variety of battery technologies and environments are desirable.

[0003] JP 2012-163458 A describes a Coulomb counter that converts a potential difference generated between both ends of a detection resistor into an input voltage and outputs a count value proportional to the input voltage, the Coulomb counter comprising: a delta-sigma modulator that converts the input voltage into an input signal and outputs a pulse signal with a duty cycle corresponding to the input voltage; and an up-down counter that counts up values ​​when the output pulse of the delta-sigma modulator is at a high level upon input of a clock signal and counts down values ​​when the output pulse of the delta-sigma modulator is at a low level upon input of the clock signal.

[0004] DE 43 37 020 C1 describes a method for monitoring the battery of a hybrid vehicle, in which the battery's state of charge is determined by calculating the amounts of charge added and removed and is displayed to the driver. In parallel, an error value is calculated that indicates a deviation between the displayed state of charge and the actual state of charge. If this value exceeds a maximum value, this is displayed to the driver. BRIEF DESCRIPTION OF EMBODIMENTS OF THE INVENTION

[0005] In one embodiment, a method includes determining, based on a calibration operation, a calibration charge drawn per pulse from a battery providing an input voltage to a pulse frequency modulated (PFM) DC-DC converter, wherein during at least a portion of the calibration operation, a calibration current load is added to a system current load of the PFM DC-DC converter. During the operation, a working battery voltage is determined. During the operation, a number of pulses is counted, wherein the pulses correspond to switching events occurring in the PFM DC-DC converter and are associated with the working battery voltage. The charge drawn from the battery during the number of pulses is determined based at least in part on the working battery voltage, the calibration charge drawn per pulse, and the number of pulses.

[0006] In another embodiment, an apparatus includes a pulse frequency modulated (PFM) DC-DC converter. Logic is configured to determine, based on a calibration operation, a calibration charge drawn per pulse from a battery providing an input voltage to the PFM DC-DC converter. A calibration current load is controlled to be added to a system current load during at least a portion of the calibration operation to provide an increased current load seen by the PFM DC-DC converter. A counter counts a number of pulses corresponding to switching events that occur in the PFM DC-DC converter during operation associated with a working battery voltage. The logic is further configured to determine a charge drawn from the battery during the number of pulses based at least in part on the working battery voltage, the calibration charge drawn per pulse, and the number of pulses. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] The present invention will be better understood and its numerous objects, features and advantages will become apparent to those skilled in the art by reference to the accompanying drawings. Fig. 1 shows a top-level view of a charge measuring system according to an embodiment. Fig. Figure 2A shows one embodiment of the calibration logic used to determine a charge drawn per PFM pulse. Fig. Figure 2B shows an embodiment of a current load added during calibration. Fig. Figure 2C shows an embodiment in which highest, lowest, and average information for the battery voltage is maintained. Fig. Figure 3 shows a flowchart illustrating operation of the calibration hardware. Fig. Figure 4 shows another embodiment for calibrating a charge drawn per pulse based on a measured voltage drop (IR drop) across a small resistor in series with the power supply while a current load has been added to the system. Fig. 5 is a flowchart illustrating operation of the embodiment that measures IR drop in association with an added calibration current load. Fig. 6 shows another perspective of a top-level view of a charge measurement system according to one embodiment.

[0008] The use of the same reference symbols in different drawings indicates similar or identical elements. DETAILED DESCRIPTION

[0009] Fig. 1 shows a top-level view of a system according to an embodiment of the present invention. Pulse frequency modulation (PFM) DC-DC converter 101 converts an input voltage Vbat 103 from a battery 104 to an output voltage Vout 107 using a series of pulse switching events in the inductor. Each pulse event transfers an amount of charge from the battery that generally depends on the value of inductor 109, the battery voltage Vbat, the output voltage Vout, the operating mode, and the peak current (Ipk) allowed in the switching operation. During a calibration operation, the charge transferred during each switching event or pulse is determined. The charge transferred during calibration can then be used, along with current operating conditions such as battery voltage, output voltage, and operating mode, to determine an operational charge transferred per pulse.By counting switching events and monitoring temperature, the total charge transferred from the battery can be determined, and the state of charge (or remaining battery life) can be estimated based on the total charge drawn and the battery capacity. As used herein, the term battery capacity refers to the total amount of charge that can be drawn from a new battery. The term battery state of charge refers to the remaining amount of charge that can be drawn from the battery.

[0010] Several different approaches are described for determining the charge transferred during each calibration switching event (also referred to herein as a pulse). One approach for determining the charge drawn from the battery during a pulse during calibration measures the change in pulse rate with a change in current load. In another embodiment, the calibration operation measures the battery current during a calibration period while measuring the total pulse rate and while adding sufficient load current to ensure that the total IR drop is much greater than the potential residual offset of the measurement system.

[0011] After the charge transferred per switching event is determined for a calibration operation, a working charge transferred per switching event can be determined during an operation based on the calibration data and the current operating parameters of the DC-DC converter, as further described herein. The number of switching events can be operatively counted, and the total charge drawn from the battery can be determined according to (the number of switching events) x (the charge transferred per switching event). Based on the total charge drawn and, in some embodiments, the temperature (particularly for temperature-dependent battery types), the battery state of charge can be estimated.

[0012] With further reference to Fig. 1 receives a calibration logic 121 (an embodiment of which is shown in Fig. 2A) DC-DC converter information, such as operating mode (e.g., buck, boost, buck-boost), input voltage during calibration, and output voltage during calibration. The calibration logic determines calibration information regarding the charge drawn per pulse, which is provided to a calculation and control logic 119. The calibration logic 121, described in more detail here, can be controlled by the calculation and control logic 119, which can be used to calculate how much charge is drawn in each pulse (Q batCal ) is transferred during a calibration.

[0013] Using the calibration information (charge drawn per pulse during a calibration or information from which the charge drawn per pulse during a calibration can be calculated), as further described here, together with certain current working parameters (for example, Vbat, mode and Vout), the operationally drawn charge (Q batOp ) per pulse. Because Q batOp is a function of the battery voltage during operation, Q batOp while the battery is discharging, and the calculation and control logic 119 should receive updated battery voltage data during the operation to estimate Q batOp to keep precise.

[0014] With further reference to Fig. 1, the pulse counter 111 operatively counts switching events, and in one embodiment counts modulo 2 N, where N is sufficiently large so that the counter does not overflow more than once between sequential accesses to the snapshot register 115 by the computation process. In one embodiment, the counter may be a four-byte counter or any other appropriate size for the application. The snapshot register 115 transmits a copy of the pulse counter value for access by the communication interface 117 and ensures that the pulse count value provided to the communication interface does not have a transition at the time of its delivery. The communication interface 117 may be a serial interface for chip-to-chip communication, such as an I 2C-Bus or an SPI (Serial Peripheral Interface) bus, or even a wireless communication interface. In other embodiments, the communication interface can be custom-designed and used for intrachip communication. Together with the determination of the operational charge drawn per pulse (Q batOp ) counted number of pulses, the charge drawn for the counted pulses can be determined, which in turn can be used to determine the battery charge level.

[0015] In one embodiment, the computation and control logic 119 provides the output register 123 with the total charge drawn from the battery for the read pulse value and the output register 125 with the remaining capacity (battery state of charge), as further described herein. The computation and control logic stores a total charge drawn from the battery to calculate the battery state of charge. The remaining capacity can be expressed as a remaining battery charge or some fraction of the original nominal battery charge. However, the usable remaining battery charge can differ significantly from the total remaining battery charges for many battery chemistries. For example, for alkaline batteries, at 0 degrees C, the usable charge might be zero even though the remaining charge is 50% of the original capacity. Upon returning to room temperature, most of the remaining charge becomes usable.When modeling how the battery will behave in the future at the current temperature, knowing the current temperature can be important when determining the usable remaining charge. Thus, the computation and control logic 119 can take the temperature into account when determining the usable remaining charge and provide the usable remaining battery charge, the total remaining battery charge, or both as the battery state of charge. Note that the computation and control logic 119 can be implemented as software running on programmable logic such as a microcontroller (MCU), or can be implemented as hardware, or as a combination of hardware and programmed logic.

[0016] Before describing various embodiments, some shortcomings of traditional coulomb counting approaches will be explored. One problem with traditional coulomb counting is that any offset remaining in the measurement process is an error that is integrated over the battery discharge time. If the discharge time is long (years), even a very small error in the offset can become a large error in the measured charge. For systems where battery lifetime is expected to be several years, traditional coulomb counting has shortcomings. Furthermore, the IR dropout should be very small, so that measuring the IR dropout consumes only a small percentage of the system power.

[0017] Another problem with the traditional approach is that the measurements must be high-resolution (for efficiency, the voltage drop across the reference resistor must be small) and taken at a reasonably high bandwidth and sample rate. Modern systems may sleep at a high duty cycle and then draw substantial power at a very low duty cycle. Even with a reasonably high bandwidth and sample rate, measurements taken for systems that draw substantial power at very low duty cycles can easily miss the pulse of the drawn power entirely. Furthermore, the high-resolution measurement and the bandwidth and sample rate requirements are incompatible with extremely low power consumption. Therefore, the IR measurement system draws more power than desired.Again, this is worse for systems that must operate for years on a single charge and can cause the total charge used by the metering system to become large relative to the total battery charge.

[0018] While traditional coulomb counting works reasonably well for systems that discharge in a few days, such as a modern mobile phone, it can become hopelessly imprecise in systems that discharge over months or years.

[0019] Another approach to estimating battery state of charge is to measure the open circuit voltage (OCV) and look up the state of charge on a discharge curve. However, discharge curves vary as a function of temperature, manufacturer, and charging / pulsing conditions. Furthermore, estimating OCV from the behavior of a system that is not turned off is difficult. Furthermore, for some battery types, the change in output voltage with remaining capacity has very broad flat regions where the remaining capacity cannot be predicted. One battery type popular in metering applications, lithium thionyl chloride, has a discharge curve that remains flat until approximately the last 10% of the remaining battery capacity. The desire for a remaining lifetime estimate for these battery types is not addressed by an OCV battery voltage measurement or IR-based coulomb counters.

[0020] An additional problem is the concept of coulomb counting itself. For some battery types (e.g., lithium-ion batteries), the battery can be considered a nearly ideal capacitor, with the same charge available to be drawn regardless of temperature. In this case, calculating the total charge drawn is a good way to estimate the state of charge. However, many other battery types (e.g., alkaline batteries), including most non-rechargeable types, exhibit, in contrast, extreme temperature dependence, with the current drawn at low temperatures causing large voltage drops, preventing operation of the powered circuits despite substantial charge remaining in the battery.Predicting the remaining usable capacity at the current (or any other) temperature requires not simply subtracting the total used charge from the initial nominal charge, but also modeling how the battery's internal resistance changes with temperature and remaining charge. This modeling can be based on empirical observations of how the internal resistance changes with temperature and usable capacity. Such observations can be incorporated into the battery modeling.

[0021] Thus, improvements in predicting remaining lifetime are desired, particularly for applications where the system battery lifetime is years, for those batteries that have a significant temperature dependence, for those batteries for which the change in output voltage at remaining capacity has very broad flat regions, or for systems that draw substantial power at very low sampling cycles.

[0022] During calibration, the calibration logic is used to determine the charge drawn from the battery per pulse (Q batCal ). The following discussion explains how Q batCal can be determined during calibration. When the PFM DC-DC converter is operating in buck mode, the charge drawn per PFM cycle can generally be calculated as: Qout=L lpk32(Vin−Vout) Only boost or traditional buck / boost would produce different but similar formulations that are well understood by those skilled in the art. Note that only LI pk 2 (which is generally and essentially a constant that can rarely be calibrated or measured) and Vout, Vin (where Vin is Vbat) must be known. Both Vout and Vin are easily measured and change slowly (battery discharge can change Vin), or a program change can change Vout, and the computation and control logic 119 should be aware of, or easily alerted to, a change in Vout.

[0023] The charge transferred to each output in each pulse, given a known load current and a measured PFM frequency, is: Qout=IloadfPFM

[0024] Note that I loadand the reference frequency used for the frequency measurement may be imperfectly matched or even temperature-sensitive. These quantities can be measured in a product test, where the measurements can be stored in a one-time programmable (OTP) memory, which is available to make the charge measurement more precise. Because the total load current includes both a calibration load current and a non-zero (and likely unknown) system load current, two frequency measurements are taken with two different load currents. One load current contains the calibration current load and the system current load, and the other load current contains only the system current load. The charge transferred to the output in each pulse is: Qout=Iload1−iload2fPFM1−fPFM2

[0025] Note that this result depends on the difference in load current between the two calibration operations. An unknown system load current does not affect the measurement as long as the unknown system load current does not change between two measurements. Assuming a good estimate of the efficiency η can be made, the charge drawn from the battery per pulse can be calculated as: QbatCal=QoutVoutCalηVbatCal, where V outCal the output voltage during calibration is V batCal the battery voltage during calibration and Q out is the charge transferred to the output, as determined in equation (3). OTP storage of information sufficient to model the efficiency as well as the function of the input and output voltage and even the temperature can be stored in the OTP. After Q batCal is known at the calibration time or the values ​​from which QbatCal can be calculated, are known from the calibration, Q batOp for operation at other voltages using equation (1) for the case where both calibration and operation are in buck mode, resulting in: QbatOp=QbatCalvbatCal−voutCalvbatOp−voutOp If the working mode is not the buck mode both during calibration measurement and during operation, relationships similar to equation (1) for Qbat in these working modes can be used to allow the expert to derive the appropriate transformation to calculate Q batOp (as in Equation 5) when other working modes are appropriate during the calibration measurement or during operation.

[0026] Calibration can be performed for LI pk 2after the system is first turned on, or could be repeated infrequently, or when a temperature change since the last calibration has become greater than a threshold temperature change. Note that the inductance and I pk There may be some variation with temperature. If predictable and known, this change can be included in the calculation, or if unpredictable, the calibration process can be repeated.

[0027] Fig. Figure 2A shows one embodiment of calibration logic 121. The calibration hardware includes a selector circuit 201 that selects inputs to power analog-to-digital converter (ADC) 203. ADC 203 digitizes the input voltage (Vbat), the output voltage, and the sensed temperature. In other embodiments, only Vbat and the sensed temperature may be provided to ADC 203, or only Vbat and Vout. These quantities change very slowly, so ADC operation can occur at a low duty cycle to draw an average current that is negligibly small. For example, battery voltage may be measured every 1000 PFM cycles. Temperature may be measured at the same rate or at a different frequency, depending on system requirements.In one embodiment, the ADC controller 218, which controls the ADC operation, including selecting which voltage to convert to digital and the conversion frequency, operates independently rather than being managed by the communication interface 117. In other embodiments, the ADC controller 218 may be managed by the compute and control logic 119 through the communication interface 117. The temperature may be provided as a temperature-dependent voltage, which could come from a voltage Vbe, where Vbe is a temperature-sensitive transistor voltage, or from a temperature sensor on or near the battery. For medium-power systems, the temperature of the integrated circuit components in the system should be close to the battery temperature.

[0028] The digitized input voltage (Vbat), the output voltage, and the temperature are supplied by a demultiplexer 205 to the appropriate one of the Vin registers 207, the Vout register 209, and the temperature register 211. These registers are supplied to the calculation and control logic 119 via the communication interface 117. These values ​​can be used both during and after calibration to determine the transferred charge and to calculate the battery state of charge.

[0029] The current load 215 is used to support the calibration operation. The current load can be implemented as a resistor (or a current source) and can be calibrated for high accuracy in a product test. In one embodiment, multiple load settings are used for the calibration of LI pk 2used, for example, a load with a high resistance for the first count of pulses and a load with a low resistance for the second count of pulses, where the second count of pulses is higher because the PFM rate for the DC-DC converter is higher for the load with a low resistance (higher current load). The current load can be controlled via the communication interface 117. Thus, for example, as in Fig. 2B, the communication interface 117 can select the current load by adjusting the variable resistor 231 to a desired resistance value. Initially, the resistance is set to a high value, resulting in a first current load. The variable resistor is then changed to a load with a lower resistance, resulting in a second current load that is higher than the first current load. The higher current load causes the PFM pulse rate to increase substantially to provide additional charge at the output required by the increased current load. The increased pulse rate is used to determine the Q patCal -value is used. Calibration requires modified system behavior, which is why, in preferred embodiments, the operation occurs infrequently, perhaps only once after power-up or after a substantial temperature change.

[0030] Calibration logic 121 also includes a timer / counter 219 (also referred to herein as an interval counter) and a pulse counter 217 for determining the PFM frequency. The combination of timer / counter 219 and the small additional driven pulse counter 217 with AND gate 221 allows for precise measurement of the pulse rate during a specific measurement interval. In one embodiment, computation and control logic 119 loads timer / counter 219 with a count corresponding to a specific measurement interval through communication interface 117 and initiates the timing operation. In another embodiment, timer / counter 219 can be implemented as a monostable multivibrator to provide a pulse corresponding to the measurement interval. Timer / counter 219 provides a set signal during the measurement interval so that pulses are provided to pulse counter 217 through AND gate 221.The calculation and control logic 119 retrieves the result from the pulse counter 217 at the end of the measurement interval for both the high current load and the low current load.

[0031] In another embodiment for determining the PFM frequency, a fixed number of pulses is counted. The interval counter 219 can be activated via the communication interface 117, which in turn allows the pulse counter 217 to count the pulses first with the low current load. When the pulse counter has counted a predetermined number of pulses, for example, 10 pulses, the timer / counter is stopped. The process is repeated after the high current load is switched on, and the pulse counter 217 counts 10 pulses while the timer / counter counts the length of time it takes to count 10 pulses.

[0032] Fig. 3 illustrates a flowchart of one embodiment of the calibration operation. At 301, the calibration operation begins by turning off system loads that may draw significant, time-varying current. In one embodiment, compute and control logic 119 provides control for the calibration operation. Turning off system loads that may draw significant, time-varying current ensures that the PFM frequency is due to the additional current load 215 rather than system loads that happen to draw significant, time-varying current during the measurement interval. The calibration operation typically occurs infrequently, once, or controlled by a change in temperature above a threshold change.

[0033] In step 303, the resistive load is set to a high resistance for a low current load. In 305, the first PFM frequency is determined with the low current load. As mentioned above, the value of the low current load can be determined in a product test. In step 306, the calibration operation sets the variable resistor to a low resistance, resulting in a higher current load. In step 307, the second PFM frequency is determined with the second load current. As mentioned above, the value of the high current load can be determined in a product test. In step 308, the calibration current load can be set to a working setting. In step 309, the computation and control logic calculates the charge delivered to the load per pulse (Q out ), for example according to equation (3) above.

[0034] In an optional step 311, the calculation process may use a lookup table or interpolation to determine the efficiency as a function of the battery voltage V bat and / or temperature. Efficiency is the power output / power input ratio for the PFM DC-DC converter. In other embodiments, a fixed efficiency estimate may be used. Finally, at 315, the charge delivered to the load per pulse is referenced back to the battery, and the charge drawn from the battery per pulse during calibration is calculated according to equation (4) above.

[0035] The calibration operation shown in equations (3) and (4) works regardless of whether the PFM DC-DC converter is operating in buck, boost, or buck / boost mode. The calibration operation works as long as any change in the system load current between the two PFM measurements relative to I calLoadis small, or the change in system load between measuring an equal number of pulses is small. Satisfying this generally depends on ensuring that system loads that may draw significant, time-varying current are turned off. This is generally possible (at least during power-up) for small systems under the control of computation and control logic implemented, for example, on an MCU providing system control. In systems under any other control, ensuring that system loads that may draw significant, time-varying current are turned off may be impossible.

[0036] As the battery ages, the battery voltage V batand thus, the charge drawn from the battery per pulse changes during operation. To accurately track the battery state of charge, the input voltage Vbat must be known during operation whenever the state of charge is measured. Although Vbat changes slowly, the measurement of Vbat must be performed frequently enough to maintain the desired accuracy of the state of charge calculation. If the output voltage generated by the DC-DC converter changes during operation, the calculation for the charge drawn per pulse is similarly affected. After the charge drawn per pulse Q determined during calibration batCal is known, the charge drawn per pulse during operation (Q batOp ) can be determined according to equation (5) above, where both the calibration mode and the working mode are both buck mode.

[0037] If the original mode and voltages are known, the charge drawn per pulse in other modes or at other voltages (Q batOp ). For example, the charge drawn per PFM cycle in boost mode is: Qout=LIpk22(voutvin(vout−vin)) By combining equation (6) and equation (1), the charge drawn by the battery per pulse in boost mode can be determined from the calibration performed in buck mode as follows: QbatOp=QbatCalvoutOpvbatOpvbatCal−voutCalvoutOp−vbatOpIpkOp2IpkCal2 While Equations 6 and 7 illustrate how calibration can be performed in buck mode and used to determine charge drawn in boost mode, calibration can be performed more generally in one mode, for example, buck, boost, or buck-boost, and used to determine charge drawn in the same or a different operating mode, for example, buck, boost, or buck-boost. This can be particularly advantageous because a system may start operating in one mode, for example, buck mode, and then switch to boost mode as the battery ages.

[0038] Note that equation (7) does not assume that I pk remains constant between calibration and working conditions. The possible change in the peak inductor current leads to the last multiplicative term above in equation (7). In contrast, if Q batOp(Equation (5)) when both the calibration and operating modes are buck mode, it was assumed that the peak inductor current does not change with temperature. The calculations for determining Q batOp can assume that the peak inductor current does not change with temperature or battery voltage. The extent to which the peak inductor current changes with temperature and / or battery voltage will be a source of error in the gain of the charge measurement system unless an estimate of such sensitivity is included in the calculation of Q batOp is included.

[0039] Due to limited knowledge about a battery's initial state of charge, such as battery quality, age, and manufacturer, the coulomb counting approaches described herein may, in some embodiments, be trapped by a voltage measurement-based state of charge estimation. The best state of charge estimate from coulomb counting may be used when open-circuit measurements indicate that the battery is not at end of life. The state of charge estimate from open-circuit voltage measurements may be used when open-circuit measurements indicate that the battery is nearing end of life.

[0040] The computation and control process, which can be implemented as MCU firmware, can include an API (Application Programming Interface) for calling the calibration operation (for example, called once per battery use). In addition, an API for maintenance during the battery's lifetime can be called with high frequency (for example, 100 times) to read the rolling counter 111 (through the snapshot register 115) and read the input voltage, the output voltage (if needed), and the temperature from registers 207, 209, and 211, respectively. Based on these values, the computation process calculates the charge drawn for the current count of pulses during regular operation (as opposed to calibration) and can calculate the battery's state of charge based on the operationally drawn charge and the number of pulses. The computation logic can use the temperature to calculate estimates of how I pkcan change as a function of temperature. The calculation logic can also use an OCV (Open Circuit Voltage) state of charge approach based on a battery voltage measurement. The calculation process can look up an OCV-based state of charge from a table based on the open circuit voltage, temperature, and load. The various state of charge estimates can be combined and used to generate a best guess about a single state of charge and remaining battery life.

[0041] For some battery types, the open-circuit voltage does not decrease significantly with battery charge, but the internal battery resistance can increase significantly. For example, the internal resistance of LiMnO2 batteries increases by about seven times before the battery is completely depleted. This generally also applies to LTC batteries. To better handle batteries with such characteristics, as in Fig. 2C, three registers may be maintained to represent the battery voltage Vbat. A Vbat register 225 stores the highest value of Vbat seen since the register was last cleared. A second Vbat register 227 holds the smallest value of Vbat seen since the second Vbat register was last cleared. The maximum and minimum registers may be cleared periodically so that a particular event, for example, a cold snap, no longer affects the current minimum or maximum value. A third Vbat register 229 stores an average battery voltage and may act as a first-order IIR (Infinite Impulse Response) filter to obtain the average battery voltage. The average battery voltage should be used for the Q batOp-calculations. The maximum-to-minimum difference shows how the battery voltage changes over time due to the pulsed nature of the load. For some battery chemistries, the maximum-to-minimum difference may be more useful for predicting battery state of charge than using the open-circuit voltage. The largest battery value provides the best estimate for use in open-circuit voltage-based state of charge estimates. The smallest battery value is the ultimate warning before shutdown. If the smallest voltage drops below a predetermined limit, a flag can be set indicating the minimum voltage condition, and an alert sent to the control logic.

[0042] Temperature was described above as affecting, for example, a usable battery charge. Temperature can also have second-order effects that can be considered in some implementations. The resistance of the switch (for turning the inductor current on / off), the inductor resistance, and the on-resistance can become very important when Vin-Vout of the DC-DC converter is small. Charging the current in the inductor is truly only approximately linear in time if the time is much smaller than the time constant of the charging circuit / L / R. total ). If I pk *R total is not much smaller than |Vin-Vout|, the time to charge the inductor depends on I pk (and therefore the charge transferred during this time) not from R totalCorrections to account for a non-zero R and the resistance value can be stored in the OTP (thus available for calculation). Furthermore, the total resistance is generally quite temperature sensitive.

[0043] As mentioned above, the value of I pk changes slightly with temperature. The comparator, which detects when the inductor current reaches the setpoint, can be offset removed, but has a non-zero delay. The delay causes the inductor to switch later than ideal, resulting in an increase in I pk which is proportional to the delay divided by the current rise rate (V charge / L). The total error depends on the temperature (due to the delay changing with temperature) and on the voltage (affects both the delay and V charge ). Corrections for the dependence on Ipk of temperature and voltage may be included in some embodiments.

[0044] In another embodiment, a further calibration approach uses the calibration method described in Fig. 2 and Fig. 3 described calibration approach a modified IR decay calibration approach as in Fig. 4 and Fig. 5. With reference to Fig. 4, the section of the figure above the battery 401 is similar to that in Fig. 2 for the known current load-based calibration. The dotted section with a precision sense resistor 403, an ADC 405, and an integrator 407 shows the analog front end (AFE) of an IR decay measurement system. During calibration, the integrator 407 integrates the voltage across the precision resistor 403. Fig. 4, the IR drop measurement system is used only during calibration and only when the current load 409 is enabled. In one embodiment, the current load 409 can be implemented as a current source of approximately 10 mA that is enabled during calibration, or a switched resistor to cause an additional load of approximately 10 mA when the resistive load is coupled to the output of the voltage converter by a switch (not shown) to cause the higher current load (lower output resistance). If the current load is sufficiently high, the IR drop measured across the sense resistor 403 is much larger than the residual offset of the ADC 405. Therefore, the residual offset has a negligible effect on accuracy. In one embodiment, the ADC can be chopped to help achieve an effective offset <= 10 µV.

[0045] The ADC 405 can be conveniently implemented as a ΣΔ analog-to-digital converter (ADC) that has a high sampling rate, allowing minimal anti-aliasing filtering, and is consistent with a fast calibration operation. The integrator 407 should be started / stopped synchronously with the timer / counter 409, so that the integrated IR decay signal (which, in contrast to the calibration approach of Fig. 2 may contain a changing load current) exactly corresponds to the counted pulses. When the current source or switched resistor is activated, the total current drawn is enough to generate an IR drop that is > 1 mV and >> the residual offset of the IR-based measurement system. Thus, for example, V IRat least one or two orders of magnitude larger than the residual offset voltage. The IR-based measurement is a true representation of the average current drawn during the measurement interval, with the offset causing an error of < 1%.

[0046] Fig. Figure 5 illustrates steps of one embodiment of the IR decay calibration approach. As mentioned above, the control logic (e.g., the MCU) does not need to turn off system loads that could draw a substantial, time-varying current. The load current should VIR=RsenseIbat=Rsense(IcalLoad+IotherLoads)Vouteff⋅Vbat>>VresidOffset where V IR the voltage across the sensing resistor is R sense is the resistance of the detection resistor, I bat the current from the battery is I calLoad is the current through the calibration current load, I otherLoads is the current through other loads of the system, eff is the efficiency and V residOffsetis the residual offset voltage. In 501, the measurement interval (T meas ) is started by the calibration logic. In 503, the calibration logic counts the number of PFM pulses (N PFM ) in the measurement interval (T meas ), and in 505 the calibration logic measures the IR decay and integrates the IR decay over the measurement interval. The measurement interval T meas may be, for example, 2 ms, during which approximately 400 PFM pulses are generated, and in one embodiment results in an error of less than 0.25%. Finally, in 507, the charge Q drawn from the battery per pulse is batCal The charge drawn from the battery per pulse can be calculated as QbatCal=VIRTmeasNPFMRsense, where V IR / R sense is the current and assuming that V IR represents the mean, then (V IR ×T meas / R sense) the total charge drawn during the measurement interval and divided by N gives PFM the charge per pulse.

[0047] If there is more than one PFM-mode DC-DC converter in the system (for example, there may be multiple supply voltages with one DC-DC converter per supply voltage), the above operation can be repeated for each DC-DC converter with a current load enabled sequentially for each DC-DC converter output. If there are M DC-DC converters, the calibration logic solves M equations to determine a value for Q for each DC-DC converter. bat to obtain.

[0048] Because the modified IR decay calibration approach does not require turning off other system loads during IR decay calibration, it is possible to calibrate often enough so that changes in temperature and Vbat, which is Q batwould change, without monitoring changes in Vout and Vbat. Because the embodiment of Fig. 4 allows calibration when the containing system is not stopped, and calibration can occur even when the system is not under the control of the local control logic, preventing system loads from being disabled. It is also not necessary to estimate changes in peak current with temperature, monitor the temperature, and Q bat as a function of temperature when the temperature changes. Furthermore, because the IR decay measurement is made in series with the battery, no estimated efficiency (which may not be precisely known) is reflected in the equations for Q determined using the second calibration approach. batCal .

[0049] This second calibration approach can thus be used to generate a calibration charge drawn from the battery per PFM pulse, and the calculation and control logic 119 (see Fig. 1) can be used to generate the operationally used charge based on the calibration value of Q batCal and using equations such as equation (5) and knowing Vbat and Vout values ​​during operation. Alternatively, the IR calibration approach can be run often enough to account for a change in Vbat, or in response to a change in Vbat above a respective threshold, or when the system is notified of a change in Vout.

[0050] Fig. 6 shows another perspective of an embodiment of a system for generating a battery state of charge and the total charge drawn from the battery. The calibration operation 601 may be performed according to the embodiments of Fig. 2A or Fig. 4. The calculation 603 determines the charge drawn from the battery per pulse (Q batOp ), observed during the operation, and records the value together with the relevant voltages (for example, V bat and V out ) and the mode (for example, buck, boost, or buck-boost) during the calculation operation. The calculation 603 generates Q batOp as a function of current conditions, for example V bat and V out , the value Q measured during the calibration operation batCal and the conditions (for example V batcal and V outcal during the calibration operation.

[0051] All operations in the diagram occur sufficiently rarely to draw a negligible average power, and sufficiently often that the value measured by the pulse counter 111 (see Fig.1) supplied count does not overflow more than once. In one embodiment, a counter overflow may occur every 35 minutes at full load current. The combination of delay 605 and subtraction process 607 generates the change in count since the last calculation. The change in count is provided to multiplier 609, which multiplies the pulse count by the charge drawn from the battery per pulse to generate charge drawn 610 for the current count, and provides this value to integrator 611, which integrates charge drawn 610 for the current count to provide total charge supplied by the battery 615.

[0052] Various approaches have been described for determining the state of charge of a battery. In one embodiment, a method for determining a charge drawn from a battery includes setting a calibration current load of a pulse frequency modulated (PFM) DC-DC converter to a first current load; determining a first PFM frequency of the PFM DC-DC converter with the first current load; setting the calibration current load for the PFM DC-DC converter to a second current load greater than the first current load; determining a second PFM frequency of the PFM DC-DC converter with the second current load; and determining a charge drawn from the battery per pulse using the first PFM frequency and the second PFM frequency.

[0053] The method of determining a charge drawn from a battery may further include determining the charge drawn from the battery per pulse using an efficiency of the PFM DC-DC converter.

[0054] The method of determining a charge drawn from a battery may further include determining the charge drawn from the battery per pulse further using a first difference between the first current load and the second current load and further using a second difference between the first PFM frequency and the second PFM frequency.

[0055] In another embodiment, a method for determining a charge delivered per pulse by a battery in a pulse frequency modulated (PFM) DC-DC converter includes increasing a current load above a working current load by activating a calibration current load during a calibration operation; counting a number of pulses corresponding to a number of switching events of the PFM DC-DC converter that occur in a measurement interval; integrating a voltage across a sense resistor in series with the battery, sensed during the measurement interval, and providing an integrated voltage indicative thereof from an integrator; and determining the charge drawn from the battery per pulse using the number of pulses, the integrated voltage, and a resistance of the sense resistor.

[0056] The method for determining a charge delivered by the battery per pulse may further include performing the counting and sensing with system loads enabled.

[0057] The method for determining a charge delivered by the battery per pulse may further include: converting an analog representation of the voltage across the sense resistor to a digital representation of the voltage across the sense resistor in an analog-to-digital converter; providing the digital representation to the integrator; and wherein an offset error of the analog-to-digital converter causes an error of less than one percent in measuring the charge drawn from the battery.

[0058] The method for determining a charge delivered by the battery per pulse may further include: converting an analog representation of the voltage across the sense resistor to a digital representation of the voltage across the resistor in an analog-to-digital converter; providing the digital representation to the integrator; and wherein, during the calibration operation, the voltage across the sense resistor is at least one order of magnitude higher than the residual offset voltage of the analog-to-digital converter.

[0059] In another embodiment, an apparatus includes a calibration current load selectively coupled to an output of a pulse frequency modulated (PFM) DC-DC converter during at least a portion of a calibration operation, thereby increasing the power supplied by a battery; an interval counter for determining a measurement interval; and a pulse counter for counting pulses corresponding to switching events occurring in the PFM DC-DC converter during the measurement interval.

[0060] In one embodiment, the calibration current load in the device is configurable to supply a first current load during the calibration operation and to supply a second current load greater than the first current load during the calibration operation, thereby increasing the charge supplied by the battery compared to the first current load. The calibration current may comprise a variable resistor.

[0061] In one embodiment of the device with the first current load coupled to the PFM DC-DC converter, the interval counter measures a first measurement interval and the pulse counter provides a first pulse count, wherein a first PFM frequency is determined by the first measurement interval and the first pulse count, and with the second current load coupled to the PFM DC-DC converter, the interval counter measures a second measurement interval and the pulse counter provides a second pulse count, wherein a second PFM frequency is determined by the second measurement interval and the second pulse count. In one embodiment of the device, computation logic is configured to determine a charge drawn from the battery per pulse using the first PFM frequency, the second PFM frequency, the first current load, and the second current load.In one embodiment, the computational logic is further configured to further utilize an efficiency of the PFM DC-DC converter to determine the charge drawn from the battery per pulse. In one embodiment, the computational logic is further configured to update the charge drawn from the battery per pulse based at least on a change in battery voltage, a change in output voltage, and a change in temperature, and to provide an updated charge drawn from the battery per pulse. In one embodiment, the apparatus further includes an analog-to-digital converter to convert at least one of the battery voltage, the temperature, and the output voltage of the PFM DC-DC converter into respective digital values ​​and to provide the respective digital values ​​for use in determining the charge drawn from the battery per pulse.

[0062] In one embodiment of the device, the calibration current load is coupled to the output of the PFM DC-DC converter during the calibration operation to increase the charge supplied by the battery compared to a working charge supplied by the battery when the calibration current load is not coupled to the output of the PFM DC-DC converter. In one embodiment, the device further includes a sense resistor in series with a battery supplying an input voltage to the PFM DC-DC converter, an integrator for integrating a voltage across the sense resistor measured during a measurement interval during which the calibration current load is coupled to the output and providing an integrated voltage; and computational logic for determining a charge drawn from the battery per pulse using the pulses counted by the pulse counter, the integrated voltage, and a resistance of the sense resistor.The device may further include an analog-to-digital converter coupled to convert the voltage across the resistor into a digital value and provide the digital value, wherein the voltage across the resistor is at least one order of magnitude higher than a residual offset voltage of the analog-to-digital converter.

[0063] In another embodiment, an apparatus includes a calibration current load selectively coupled to an output of a pulse frequency modulated (PFM) voltage converter, the calibration current load coupled to the output during a calibration operation to cause an increased current compared to a working current load; an interval counter for determining a measurement interval during which the calibration current load is coupled to the output; a sense resistor in series with a battery providing an input voltage to the PFM voltage converter; a pulse counter for counting pulses corresponding to switching events occurring in the PFM voltage converter during the measurement interval and providing a pulse counter indicative thereof; and an integrator for integrating a voltage across the resistor sensed during the measurement interval during which the calibration current load is enabled.In one embodiment, the device further includes computational logic for determining the charge drawn from the battery per pulse using the pulse count, the integrated voltage, and a resistance of the sense resistor.

[0064] Thus, various aspects relating to determining a drawn battery charge and remaining battery charge have been described. The description of the invention presented herein is illustrative and is not intended to limit the scope of the invention, as set forth in the following claims. Other variations and modifications of the embodiments disclosed herein may be made based on the description presented herein without departing from the scope of the invention, as set forth in the following claims.

Claims

[1] Method comprising: Determining, based on a calibration operation (601), a calibration charge drawn per pulse from a battery (104, 401) that provides an input voltage to a pulse frequency modulated DC-DC converter (101), PFM DC-DC converter (101), wherein during at least a portion of the calibration operation (601) a calibration current load (215, 409) is added to a system current load of the PFM DC-DC converter (101); Determining a working battery voltage; during operation, counting a number of pulses corresponding to switching events occurring in the PFM DC-DC converter (101) associated with the working battery voltage; and Determining a charge drawn from the battery (104, 401) during the number of pulses based at least in part on the working battery voltage, the calibration charge drawn per pulse, and the number of pulses. [2] The method of claim 1, further comprising determining a battery state of charge based at least in part on the charge drawn from the battery (104, 401) during the number of pulses. [3] The method of claim 2, further comprising: Detecting a temperature and providing a detected temperature; and Determining the battery state of charge based at least in part on the sensed temperature. [4] The method of claim 1, further comprising determining the charge drawn from the battery (104, 401) during the number of pulses based at least in part on a current output voltage of the DC-DC converter (101) and a calibration output voltage of the DC-DC converter (101) determined during the calibration operation (601). [5] The method of any of claims 1-4, further comprising determining the charge drawn from the battery (104, 401) during the number of pulses based in part on a current operating mode of the PFM DC-DC converter (101). [6] The method of claim 5, further comprising: Performing the calibration operation (601) in a first operating mode; and Determining the charge drawn from the battery (104, 401) during the number of pulses when operating in the current operating mode, which is different from the first operating mode. [7] The method of any of claims 1-6, further comprising storing a battery voltage value during a highest battery voltage, a lowest battery voltage, and an average battery voltage. [8] The method of claim 7, further comprising using the average battery voltage to determine the working battery voltage. [9] The method of any of claims 1-8, wherein determining the calibration charge drawn per pulse further comprises: Determining a first PFM frequency with a low current load; Determining a second PFM frequency with the added calibration current load, wherein the first PFM frequency is below the second PFM frequency; and Determining the calibration charge drawn per pulse based in part on the first PFM frequency and the second PFM frequency. [10] The method of any one of claims 1-2, wherein determining the calibration charge drawn per pulse further comprises: Activating the calibration current load (409); Counting a calibration number of pulses in a measurement interval; Detecting a voltage across a resistor (403) in series with the battery (104, 401) during the measurement interval; and Integrating the voltage across the resistor (403) over the measurement interval and providing an integrated voltage; and Determining the calibration charge drawn from the battery (104, 401) per pulse using the number of pulses, the integrated voltage, and a resistance value of the resistor (403). [11] Device comprising: a pulse frequency modulated DC-DC converter (101), PFM DC-DC converter (101); logic (119) for determining, based on a calibration operation (601), a calibration charge drawn per pulse from a battery (104, 401) providing an input voltage to the PFM DC-DC converter (101); a calibration current load (215, 409) controlled to be added to a system current load during at least a portion of the calibration operation (601) to provide an increased current load seen by the PFM DC-DC converter (101); a counter (111, 217) for counting a number of pulses corresponding to switching events occurring in the PFM DC-DC converter (101) during operation associated with a working battery voltage, and wherein the logic (119) is configured to determine a charge drawn from the battery (104, 401) during the number of pulses based at least in part on the working battery voltage, the calibration charge drawn per pulse, and the number of pulses. [12] The apparatus of claim 11, wherein the apparatus is configured to determine a battery state of charge based at least in part on the charge drawn from the battery (104, 401) during the number of pulses. [13] Device according to one of claims 11-12, further comprising: a temperature sensor for providing a sensed temperature, and wherein the logic (119) is further configured to determine a state of charge of the battery (104, 401) based at least in part on the sensed temperature. [14] The apparatus of any of claims 11-12, wherein the logic (119) is further configured to determine the charge drawn from the battery (104, 401) during the number of pulses based at least in part on a current output voltage of the DC-DC converter (101) and a calibration output voltage of the DC-DC converter (101) determined during the calibration operation (601), [15] The apparatus of any of claims 11-14, wherein the logic (119) is configured to determine the charge drawn from the battery (104, 401) during the number of pulses based in part on a current operating mode of the PFM DC-DC converter (101). [16] Device according to claim 15, wherein the calibration operation (601) is performed in a first operating mode; and wherein the charge drawn from the battery (104, 401) during the number of pulses is determined when operating in the current operating mode, which is different from the first operating mode. [17] Device according to any one of claims 11-16, further comprising: a first memory (225) for storing a highest battery voltage, a second memory (227) for storing a minimum battery voltage, and a third memory (229) for storing an average battery voltage. [18] The apparatus of claim 17, wherein the average battery voltage is used to determine the working battery voltage. [19] Device according to one of claims 11-16, further comprising: a variable current load having a variable resistance set to a first resistance corresponding to a low current load for determining a first PFM frequency with the low current load, and wherein the variable current load is set to a second resistance below the first resistance and corresponding to the increased current load supplied by the calibration current load for determining a second PFM frequency with the increased current load, wherein the calibration charge drawn per pulse from a battery (104, 401) is determined in part based on the first PFM frequency and the second PFM frequency. [20] The device according to any one of claims 11-16, wherein the device further comprises: a control logic (121) for activating the increased current load; a counter (111, 217) for counting a calibration number of pulses in a measurement interval; a resistor (403) in series with a battery (104, 401); and an integrator (407) for integrating a voltage across the resistor (403) over the measurement interval and providing an integrated voltage; and wherein the calibration charge drawn from the battery (104, 401) per pulse is determined using the number of pulses, the integrated voltage, and a resistance of the resistor (403).

Citation Information

Patent Citations

  • Method for monitoring the battery of a hybrid vehicle

    DE4337020C1

  • Coulomb counter and electronic information apparatus

    JP2012163458A

  • JP002012163458A