Apparatus and method for measuring a parameter in a host device
Granted 27 Jul 2004 · 1 office action
Assignee: Texas Instruments
Law firm: Law firm · Log in to unlock
Attorney: Attorney · Log in to unlock
Inventors: Milad Alwardi · Examiner: Bryan Bui · AU 2863 · TC 2800
Life of the application
8 dated eventsAbstract
An apparatus receives an indicating signal representing a parameter at a monitoring locus and includes: (a) A first measuring unit having a first input coupled for selectively receiving the indicating signal and presenting a first output signal that includes a first monitoring signal representing change in the indicating signal during a first time interval and a first benchmark signal indicating change imparted to signals by the first measuring unit. (b) A second measuring unit having a second input coupled for selectively receiving the indicating signal and presenting a second output signal that includes a second monitoring signal representing change in the indicating signal during a second time interval and a second benchmark signal indicating change imparted to signals by the second measuring unit. (c) An accumulating and indicator unit coupled for receiving and evaluating the first and second output signals and generating an indicator signal that represents the evaluating.
Description
6 parts›BACKGROUND OF THE INVENTION
The present invention is directed to apparatuses and methods for monitoring parameters in devices. The present invention is especially useful in battery monitoring circuits for monitoring charge levels in battery devices.
By way of example and not by way of limitation, the present invention will be described in an exemplary embodiment of an apparatus and method for monitoring charge level in a battery device. The teachings of the present invention apply generally to any arrangement for monitoring a parameter in a host device where the parameter can be represented by an indicator signal, such as by an indicator voltage signal.
Presently available devices for monitoring charge level in a battery device (sometimes referred to as “gas gauges”) are generally accurate for coulomb counting in carrying out battery monitoring operations. One important parameter that affects coulomb counting accuracy is the device input offset. Further, input offset may vary, or drift, with changes in temperature or applied supply power. In today's market smaller sizes of devices and lower operating voltages are increasingly prevalent with a result that sense elements in battery packs for sensing charge levels are smaller and power dissipation in portable electronic devices is reduced. These changes make accurate “gas gauging” or charge monitoring increasingly difficult, especially when the offset experienced by a monitoring circuit or apparatus is of the same order of magnitude as the standby voltage developed across the sense resistor used to generate a representative voltage for effecting charge monitoring. Challenges in accurate charge monitoring further increase when the monitoring apparatus offset drifts with temperature, or applied supply voltage, or another factor.
Prior art solutions for accommodating or allowing for offset cancellation have been based upon an offset value that is measured one time at a particular extant temperature and supply voltage. Such a static determination of offset at fixed temperature and supply voltage values for use throughout an operational period for a monitoring apparatus does not permit accurate accommodation for offset based upon realistic and up to date evaluations of currently extant conditions affecting offset as the host device and monitoring apparatus operate. Accordingly, offset values may approach levels that significantly exceed allowances made for the offset (based upon once-determined measurements) and thereby cause inaccuracies in indications by a monitoring circuit.
There is a need for an apparatus and method for determining offset cancellation that permits realistic accommodation of currently extant factors affecting offset over time.
›SUMMARY OF THE INVENTION
An apparatus receives an indicating signal representing a parameter at a monitoring locus and includes: (a) A first measuring unit having a first input coupled for selectively receiving the indicating signal and presenting a first output signal that includes a first monitoring signal representing change in the indicating signal during a first time interval and a first benchmark signal indicating change imparted to signals by the first measuring unit. (b) A second measuring unit having a second input coupled for selectively receiving the indicating signal and presenting a second output signal that includes a second monitoring signal representing change in the indicating signal during a second time interval and a second benchmark signal indicating change imparted to signals by the second measuring unit. (c) An accumulating unit coupled for receiving and evaluating the first and second output signals and generating an accumulated signal that represents the evaluating. (d) An indicator unit coupled with the accumulating unit for receiving the indicator signal and presenting an indication relating to excursion of the indicating signal.
A method for measuring a parameter in a host device providing an indicating signal representative of the parameter at a signal monitoring locus includes the steps of: (a) in no particular order: (1) providing a first voltage measuring unit having a first input locus and a first output locus; (2) providing a second voltage measuring unit having a second input locus and a second output locus; (3) providing an accumulating unit coupled with the first output locus and the second output locus; the accumulating unit having at least one accumulated indicator output locus; and (4) providing an indicator unit coupled with the at least one accumulated indicator output locus. (b) Coupling the first input locus with the monitoring locus, and coupling the second input locus with ground during a first time interval. The first voltage measuring unit receives the indicating signal at the first input locus and presents a first monitoring signal at the first output locus. The second voltage measuring unit presents a second benchmark signal at the second output locus. The first monitoring signal represents change in the indicating signal during the first time interval. The second benchmark signal indicates changes imparted to signals by the second voltage measuring unit when traversing the second voltage measuring unit during the first time interval. (c) Coupling the second input locus with the monitoring locus, and coupling the first input locus with ground during a second time interval. The second voltage measuring unit receives the indicating signal at the second input locus and presents a second monitoring signal at the second output locus. The first voltage measuring unit presents a first benchmark signal at the first output locus. The second monitoring signal represents change in the indicating signal during the second time interval. The first benchmark signal indicates changes imparted to signals by the first voltage measuring unit when traversing the first voltage measuring unit during the second time interval. (d) Operating the accumulating unit to receive the first output signal and the second output signal, to evaluate the first output signal and the second output signal and to generate at least one accumulated indicator signal at the at least one accumulated indicator output locus. The at least one accumulated indicator signal represents the evaluating. (e) Operating the indicator unit to receive the at least one accumulated indicator signal and present an indication relating to excursion of the indicating signal.
It is, therefore, an object of the present invention to provide an apparatus and method for measuring a parameter in a host device that permits realistic accommodation of currently extant factors affecting offset to facilitate accurate determination of offset cancellation.
Further objects and features of the present invention will be apparent from the following specification and claims when considered in connection with the accompanying drawings, in which like elements are labeled using like reference numerals in the various figures, illustrating the preferred embodiments of the invention.
›BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a schematic diagram of the preferred embodiment of the apparatus of the present invention.
FIG. 2 is a timing diagram illustrating the preferred operation of the apparatus and method of the present invention.
FIG. 3 is a schematic graphic representation of the offset experienced in the operation of the preferred embodiment of the apparatus and method of the present invention.
FIG. 4 is a flow chart illustrating the preferred embodiment of the method of the present invention.
›DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT · 1 of 3
In a system in which the internal offset of a monitoring circuit or apparatus of the monitoring circuit drifts with temperature, or applied supply power or another environmental factor, a single offset calibration for compensating for the offset does not provide complete or accurate cancellation of the offset over an entire operational period between offset calibrations. As a consequence, significant errors may be introduced in monitoring results. The present invention provides an apparatus and method for effecting continuous dynamic measuring and cancellation offset in real time without a need for offset calibration.
Prior art offset calibration methods typically measure offset one time, and offset calibration is based upon the once-measured value. A problem results because the offset typically drifts over time as temperature and power supplied vary. Unacceptably large errors may result. The present invention uses two voltage measuring units, preferably embodied in voltage-to-frequency converters (VFC), to compensate for offset in real time without a need for offset calibration circuitry. A first VFC1 measures a parameter-indicating signal received from the device being monitored (i.e., the host device, such as a battery pack) during a first time interval T 1 . During the same first time interval T 1 a second VFC2 is connected in a manner for measuring its own inherent offset. That is, second VFC2 is connected to measure the amount of offset it inherently imparts to signals traversing it. The outputs of the two VFCs are summed to subtract the inherent offset of VFC2 from the parameter-representing output from VFC1. After first time interval T 1 elapses, the two VFCs are interchanged in their roles for a second time interval T 2 : VFC2 is coupled to measure a parameter-indicating signal from the device being monitored and VFC1 is connected in a manner for measuring its own inherent offset. This switching or interchanging of roles of VFC1 and VFC2 is carried out repetitively so that each of voltage-to-frequency converters VFC1, VFC2 are alternately producing a parameter-representing output or an output representing their own respective inherent offset. Preferably time intervals T 1 , T 2 are equal and mutually exclusive. Time intervals T 1 , T 2 may be advantageously selected for effecting the greatest efficiency in performing the desired parameter monitoring. This alternating employment of VFC1, VFC2 effects an automatic offset compensation, so there is no requirement for providing additional circuitry or computing capacity or software to determine offset cancellation. Savings in size, power consumption, cost of production and cost of maintenance (i.e., there is no device for offset compensation that ever needs repair or replacement) are therefore realized.
FIG. 1 is a schematic diagram of the preferred embodiment of the apparatus of the present invention. In FIG. 1, an apparatus 10 is coupled with a monitoring locus 12 for measuring a parameter in a host device 14 . The parameter measured is represented by an indicating signal appearing at monitoring locus 12 . The indicating signal appearing at monitoring locus 12 is representative of the parameter to be measured. A first signal measuring unit 16 has a first input locus 18 and a first output locus 20 . A second signal measuring unit 22 has a second input locus 24 and a second output locus 26 . First input locus 18 is switchingly coupled with monitoring locus 12 by a switching unit 28 and is switchingly coupled with ground 30 by a switching unit 32 . Second input locus 24 is switchingly coupled with monitoring locus 12 by a switching unit 34 and is switchingly coupled with ground 30 by a switching unit 36 .
During a first time interval, switching units 28 , 36 are closed and switching units 32 , 34 are open to configure apparatus 10 in a first orientation. In such a first orientation, first input locus 18 is coupled with monitoring locus 12 and second input locus 24 is coupled with ground 30 . In such a first orientation, a first output signal appearing at first output locus 20 is representative of the indicating signal appearing at monitoring locus 12 , plus any offset that is imparted to the indicating signal by first signal measuring unit 16 . The first output signal appearing at first output locus 20 may therefore be regarded as a first monitoring signal when apparatus 10 is in the first orientation. Further in such a first orientation, a second output signal appearing at second output locus 26 represents change or offset imparted to signals traversing second signal measuring unit 22 . The second output signal appearing at second output locus 26 may therefore be regarded as a second benchmark or offset signal when apparatus 10 is in the first orientation.
During a second time interval, switching units 32 , 34 are closed and switching units 28 , 36 are open to configure apparatus 10 in a second orientation. In such a second orientation, second input locus 24 is coupled with monitoring locus 12 and first input locus 18 is coupled with ground 30 . In such a second orientation, a first output signal appearing at first output locus 20 represents change or offset imparted to signals traversing first signal measuring unit 16 . The first output signal appearing at first output locus 20 may therefore be regarded as a first benchmark or offset signal when apparatus 10 is in the second orientation. Further in such a second orientation, a second output signal appearing at second output locus 26 is representative of the indicating signal appearing at monitoring locus 12 , plus any offset that is imparted to the indicating signal by second signal measuring unit 22 . The second output signal appearing at second output locus 26 may therefore be regarded as a second monitoring signal when apparatus 10 is in the second orientation.
Output loci 20 , 24 are coupled with an accumulating unit 40 . Accumulating unit 40 receives first output signals appearing at first output locus 20 and receives second output signals appearing at second output locus 26 . Accumulator unit 40 evaluates the output signals received from output loci 20 , 26 and generates at least one indicator signal at accumulator outputs 60 , 62 . The at least one indicator signal is representative of the output signals received from output loci 20 , 26 .
›DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT · 2 of 3
An indicator unit 70 receives at least one indicator signal from accumulator unit 40 via accumulator outputs 60 , 62 and employs the at least one indicator signal to present an indication relating to excursion of the indicating signal appearing at monitoring input locus 12 .
Preferably, the first time interval during which apparatus 10 is in the first orientation and the second time interval during which apparatus 10 is in the second orientation are substantially equal and substantially mutually exclusive.
Accumulating unit 40 preferably includes a summer device 42 coupled for receiving first output signals appearing at first output locus 20 and receiving second output signals appearing at second output locus 26 . Summer device 42 presents a summed aggregate signal representing the first output signal and second output signal at a summer output locus 44 . Accumulator unit 40 further preferably includes at least one counter device. In FIG. 1 counter devices 46 , 48 are coupled with summer output locus 44 via a sorting device 50 . Sorting device 50 is configured to recognize when the summed aggregate signal appearing at summer output locus 44 is an increase-count indicator and when the summed aggregate signal appearing at summer output locus 44 is a decrease-count indicator. In the representative version of the invention embodied in a charge monitor circuit monitoring charge in a battery device (i.e., host device 12 is a battery device), for example, an increase-count indicator may be embodied in a charge count register (CCR) indicating an increase in charge, provided in FIG. 1 on a line 52 from sorting unit 50 to counter device 46 . Further in the representative version of the invention embodied in a charge monitor circuit monitoring charge in a battery device, for example, a decrease-count indicator may be embodied in a discharge count register (DCR) indicating a decrease in charge, provided in FIG. 1 on a line 54 from sorting unit 50 to counter device 48 .
FIG. 2 is a timing diagram illustrating the preferred operation of the apparatus and method of the present invention. In FIG. 2, a graphic plot 80 illustrates a signal 82 as signal 82 varies in amplitude measured against a vertical axis 84 as a function of time, measured on a horizontal axis 86 . Signal 82 is exemplary of a timing signal that is varied appropriately to effect operation of apparatus 10 (FIG. 1) in the manner described above in connection with FIG. 1 .
A first timing interval T 1 is established between a time t 0 and a time t 1 . A second timing interval T 2 is established between time t 1 and a time t 2 . Timing intervals T 1 , T 2 are substantially equal in duration and are mutually exclusive. During timing interval T 1 , switching units 28 , 36 (FIG. 1) are closed and switching units 32 , 34 (FIG. 1) are open. During timing interval T 2 , switching units 28 , 36 (FIG. 1) are open and switching units 32 , 34 (FIG. 1) are closed. By providing that timing intervals T 1 , T 2 are substantially equal in duration and are mutually exclusive, apparatus 10 (FIG. 1) is able to self correct for offsets that are associated with first signal measuring unit 16 and second signal measuring unit 22 over a period spanning timing intervals T 1 , T 2 .
FIG. 3 is a schematic graphic representation of the offset experienced in the operation of the preferred embodiment of the apparatus and method of the present invention. In FIG. 3, a graphic plot 100 illustrates a measurement error or offset represented by a curve 102 as offset varies in amplitude measured against a vertical axis 104 (representing volts) as a function of time, measured on a horizontal axis 106 . Curve 102 is exemplary of a measurement error or offset experienced by the summed aggregate output signal that is presented by summer device 42 at summer output locus 44 (FIG. 1 ). Thus, FIG. 3 illustrates the result of operating apparatus 10 (FIG. 1) according to the timing diagram illustrated in FIG. 2 .
When apparatus 10 begins operation, a user does not need to take any action to calibrate apparatus 10 and perform offset compensation, as is required by existing prior art measuring apparatuses. Apparatus 10 automatically performs dynamic offset measurement and cancellation or compensation. Apparatus 10 begins operation, in this exemplary embodiment, at time t 0 (FIGS. 2 and 3) with switches 28 , 36 closed and switches 32 , 34 open (FIG. 1 ). In this first orientation, first signal measuring unit 16 presents a first output signal at first output locus 20 that is representative of the indicating signal appearing at monitoring locus 12 , plus any offset that is imparted to the indicating signal by first signal measuring unit 16 . Also in this a first orientation, second signal measuring unit 22 presents a first output signal at second output locus 26 is representative of the offset that is imparted to the indicating signal by second signal measuring unit 22 . Summer device 42 sums the output signals from output loci 20 , 26 to present a summed aggregate output signal at summer output locus 44 . Stated mathematically, the summed aggregate output signal at summer output locus 44 during time interval T 1 is:
V OUT1 =V SIG1 +V OS1 +V OS2 [1]
where
V OUT1 is the integrated first output signal at output locus 20 during interval T 1 ,
V SIG1 is the integrated indicating signal at monitoring locus 12 during interval T 1 ,
V OS1 is the integrated offset imparted by signal measuring unit 16 during interval T 1 and
V OS2 is the integrated offset imparted by signal measuring unit 22 during interval T 1 .
During time interval T2, summer device 42 sums the output signals from output loci 20 , 26 to present a summed aggregate output signal at summer output locus 44 that may be stated mathematically as:
V OUT2 =V SIG2 +V OS2 −V OS1 [2]
where
V OUT2 is the integrated second output signal at output locus 26 during interval T 1 ,
V SIG2 is the integrated indicating signal at monitoring locus 12 during interval T 2 ,
›DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT · 3 of 3
V OS2 is the integrated offset imparted by signal measuring unit 22 during interval T 2 and
V OS1 is the integrated offset imparted by signal measuring unit 16 .
Combining the results of expressions [1] and [2] for a period of 2T (i.e., over the time interval t 0 -t 2 ; FIGS. 2 and 3 ), one obtains:
V TOTAL =V SIG1 +V SIG2 [3]
It is worth noting that expression [3] is independent of offset values V OS1 , V OS2 . Measurement error (i.e., offset) varies over time and exhibits a maximum at odd multiples of T and minimums (i.e., zero) at even multiples of T. This variance of measurement error or offset over time is illustrated in FIG. 3 . Thus, curve 102 represents measurement error or offset in apparatus 10 (FIG. 1) when apparatus 10 is operated according to the timing arrangement illustrated in FIG. 2 . As illustrated in FIG. 3, offset begins at time to with a minimum value at zero volts. Offset or measurement error accumulates over time throughout timing interval T 1 , from time t 0 until time t 1 , to a maximum value of V os as indicated according to expression [1]. At time t 1 first timing interval T 1 ends and second timing interval T 2 begins.
Offset begins at time t 1 at a maximum value of V OS and declines over time throughout timing interval T 2 , from time t 1 until time t 2 , to a minimum value of zero as indicated according to expression [2]. The return of curve 102 to a zero value at time t 2 presumes that signal measuring units 16 , 22 impart substantially equal offsets to signals traversing them. At time t 2 a new first timing interval T 1 begins. In such manner, measurement error or offset self-cancels over time with no necessity for calibration hardware or imposition of offset cancellation. The offset cancellation occurs automatically in real time by performing the described summation in the digital domain.
FIG. 4 is a flow chart illustrating the preferred embodiment of the method of the present invention. In FIG. 4, a method 200 for measuring a parameter in a host device providing an indicating signal representative of the parameter at a signal monitoring locus begins at a START locus 202 . Method 200 continues from START locus 202 to, in no particular order: (1) Provide a first signal measuring unit, as indicated by a block 204 . The first signal measuring unit has a first input locus and a first output locus. (2) Provide a second signal measuring unit, as indicated by a block 206 . The second signal measuring unit has a second input locus and a second output locus. (3) Provide an accumulating unit, as indicated by a block 208 . The accumulating unit is coupled with the first output locus and the second output locus and has at least one accumulated indicator output locus. (4) Provide an indicator unit, as indicated by a block 210 . The indicator unit is coupled with the at least one accumulated indicator output locus.
Method 100 continues with coupling the first input locus with the monitoring locus, and coupling the second input locus with ground during a first time interval, as indicated by a block 212 . The first voltage measuring unit receives the indicating signal at the first input locus and presents a first monitoring signal at the first output locus. The second voltage measuring unit presents a second benchmark signal at the second output locus. The first monitoring signal represents change in the indicating signal during the first time interval. The second benchmark signal indicates changes imparted to signals by the second signal measuring unit when traversing the second signal measuring unit during the first time interval.
Method 100 continues with coupling the second input locus with the monitoring locus, and coupling the first input locus with ground during a second time interval, as indicated by a block 214 . The second signal measuring unit receives the indicating signal at the second input locus and presents a second monitoring signal at the second output locus. The first signal measuring unit presents a first benchmark signal at the first output locus. The second monitoring signal represents change in the indicating signal during the second time interval. The first benchmark signal indicates changes imparted to signals by the first signal measuring unit when traversing the first signal measuring unit during the second time interval.
Method 100 continues with the step of operating the accumulating unit, as indicated by a block 216 . The accumulating unit receives the first output signal and the second output signal, evaluates the first output signal and the second output signal and generates at least one accumulated indicator signal at the at least one accumulated indicator output locus. The at least one accumulated indicator signal represents the evaluating.
Method 100 continues with operating the indicator unit, as indicated by a block 218 . The indicator unit receives the at least one accumulated indicator signal and presents an indication relating to excursion of the indicating signal.
It is to be understood that, while the detailed drawings and specific examples given describe preferred embodiments of the invention, they are for the purpose of illustration only, that the apparatus and method of the invention are not limited to the precise details and conditions disclosed and that various changes may be made therein without departing from the spirit of the invention which is defined by the following claims:
Claims as granted
20 claimsLog in to read the claims of this application.
Log in to unlockClassifications
6 codes- G06F19/00
- G01R31/36
Claim changes
SoonSee which claims were amended, added or cancelled during examination, with every added and removed word marked.
The published claims of this application are not paired with the granted ones in what we hold.
File wrapper
See the full prosecution history — every USPTO and applicant action on this file, in order.
Log in to unlockDocuments
Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.
Log in to unlockChain of title
See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.
Log in to unlock