US20160161563A1 - Devices for Measuring Voltage of a Power Supply, Detection Devices, and Temperature Controllers - Google Patents
Devices for Measuring Voltage of a Power Supply, Detection Devices, and Temperature Controllers Download PDFInfo
- Publication number
- US20160161563A1 US20160161563A1 US15/043,709 US201615043709A US2016161563A1 US 20160161563 A1 US20160161563 A1 US 20160161563A1 US 201615043709 A US201615043709 A US 201615043709A US 2016161563 A1 US2016161563 A1 US 2016161563A1
- Authority
- US
- United States
- Prior art keywords
- power supply
- voltage
- capacitor
- reference power
- resistor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/382—Arrangements for monitoring battery or accumulator variables, e.g. SoC
- G01R31/3835—Arrangements for monitoring battery or accumulator variables, e.g. SoC involving only voltage measurements
-
- G01R31/362—
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01K—MEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
- G01K13/00—Thermometers specially adapted for specific purposes
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R17/00—Measuring arrangements involving comparison with a reference value, e.g. bridge
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/25—Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
- G01R19/2503—Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques for measuring voltage only, e.g. digital volt meters (DVM's)
Definitions
- the present disclosure relates to devices for measuring voltage of a power supply.
- the present disclosure also relates to detection devices and temperature controllers comprising such devices for measuring voltage of a power supply.
- FIG. 1 shows a unit inside a chip.
- the unit can be applied on a controlling device, such as a temperature controller.
- the unit comprises a temperature measurement module 11 and a supply voltage indicator 12 , which are regarded as different modules to fulfill different functions.
- the temperature measurement module 11 is used for measuring the temperature.
- the supply voltage indicator 12 is used for detecting the voltage of the power supply.
- the components for the supply voltage indicator 12 are integrated inside the chip, such that it occupies more resources inside the chip.
- This conventional configuration cannot ensure that the chips will have good performance.
- the cost of the chip equipped with the power supply voltage indicator is high, and thus not conducive to production and sales. Therefore, there is a need to improve the performance of the prior unit, to reduce cost and ensure versatility.
- a device for measuring the voltage of a power supply generally includes a resistor, a capacitor, and a control unit. One end of the capacitor is connected with the resistor, while the other end of the capacitor is connected to ground.
- the control unit is connected with the power supply.
- the control unit includes a comparator connected with the capacitor, a reference power supply connected with the comparator, a timer, and a computing unit.
- FIG. 1 illustrates a prior art device
- FIG. 2 illustrates a device for measuring voltage of a power supply according to an exemplary embodiment of the present disclosure
- FIG. 3 illustrates a waveform graph of charging and discharging of the capacitor of the device shown in FIG. 2 ;
- FIG. 4 illustrates a device for measuring voltage of a power supply according to another exemplary embodiment of the present disclosure
- FIGS. 5 and 6 illustrate waveform figure graphs of charging and discharging of the capacitor of the device shown in FIG. 4 ;
- FIG. 7 illustrates a detection device that includes the device for measuring voltage of a power supply shown in FIG. 2 or FIG. 4 , where the detection device further includes a thermometric component that can detect temperature of the chip according to another exemplary embodiment of the present disclosure
- FIG. 8 illustrates lines graphs of voltage (in millivolts) versus temperature (in degrees Celsius) for an absolute reference power supply of the device shown in FIG. 7 when the voltage of the power supply is respectively 3 volts and 2 . 2 volts;
- FIG. 9 illustrates a detection device for measuring voltage and temperature according to another exemplary embodiment of the present disclosure.
- FIG. 10 illustrates waveform figure graphs of charging and discharging of the capacitor of the device shown in FIG. 9 ;
- FIG. 11 illustrates a device for measuring voltage of a battery using a thermistor and dual slope technique according to another exemplary embodiment of the present disclosure.
- a device for measuring voltage of a power supply generally includes a resistor, a capacitor, and a control unit.
- the resistor is connected with a power supply.
- a first or one end of the capacitor is connected with the resistor.
- the other or second end of the capacitor is connected to ground.
- the control unit is connected with the power supply.
- the control unit includes a comparator connected with the capacitor, a reference power supply connected with the comparator, a timer, and a computing unit.
- the timer is operable for measuring the time interval between the time when the voltage of the capacitor begins to discharge after being fully charged and the time when the voltage across the capacitor is equal to the voltage of the reference power supply.
- the computing unit is operable for calculating the voltage of the power supply based on the time interval, the voltage of the reference power supply, the resistance of the resistor, and the capacitance of the capacitor.
- the computing unit calculates the voltage of the power supply based on the equation (1) below:
- the reference power supply includes an absolute reference power supply and a relative reference power supply.
- the control unit controls the comparator to connect to either the absolute reference power supply or the relative reference power supply such that; when the control unit controls the comparator to connect to the relative reference power supply, the timer measures a first time interval between the time when the voltage of the capacitor begins to discharge and the time when the voltage across the capacitor is equal to the voltage of the relative reference power supply; or when the control unit controls the comparator to connect to the absolute reference power supply, the timer measures a second time interval between the time when the voltage of the capacitor begins to discharge and the time when the voltage across the capacitor is equal to the voltage of the absolute reference power supply.
- the computing unit calculates the voltage of the power supply based on the first time interval, the second time interval, and the voltage of the absolute reference power supply.
- the voltage of the power supply is a multiple of the voltage of the relative reference power supply, such that:
- Vcc aVcc/EXP ( ⁇ t 1 /RC ); where a is a constant and 0 ⁇ a ⁇ 1 (2)
- the voltage of the reference power supply is:
- Vcc Ez/EXP ( t 2*In( a )/ t 1); (5)
- the first time interval and the second time interval are acquired in two sequential cycles during which the capacitor discharges.
- Exemplary embodiments of the present disclosure also provide detection devices comprising any of the above devices for measuring the voltage of a power supply.
- the detection device further comprises a chip within which there is a thermometric component.
- the thermometric component may detect the temperature of the chip.
- the computing unit calculates the voltage of the absolute reference power supply based on the value of the temperature.
- Exemplary embodiments of the present disclosure also provide detection devices for measuring voltage and temperature.
- the detection device includes the device above and a thermistor connected to the capacitor in any device above.
- the control unit of any device above controls the capacitor to discharge through the resistor or the thermistor.
- the control unit measures the voltage of the power supply or the temperature of outside environment.
- the timer measures a third time interval between the time when the capacitor begins to discharge after being fully charged and the time when the voltage across the capacitor is equal to the voltage of the reference power supply.
- the timer measures a fourth time interval between the time when the capacitor begins to discharge after being fully charged and the time when the voltage across the capacitor is equal to the voltage of the reference power supply .
- the computing unit calculates the resistance of the thermistor based on the third time interval, the fourth time interval, and the resistance of the resistor.
- the computing unit further determines the temperature of outside environment based on the resistance of the thermistor.
- the computing unit of the detection device for measuring voltage and temperature calculates the voltage of the absolute reference power supply based on the value of the temperature.
- Exemplary embodiments of the present disclosure further provide a temperature controller comprising a device above.
- a device for measuring the voltage of a power supply is applicable to a variety of chips. Such chips may not keep a separate supply voltage indicator to measure the voltage of the power supply. But the voltage of the power supply may be detected by means of a resistor, a capacitor, and a control unit in a module inside the chips as disclosed herein.
- the control unit comprises a comparator, a reference power supply, a timer, and a computing unit.
- the timer measures a time interval between the time when the voltage of the capacitor begins to discharge after being fully charged and the time when the voltage across the capacitor is equal to the voltage of the reference power supply.
- the computing unit calculates the voltage of the power supply based on the time interval, the voltage of the reference power supply, the resistance of the resistor, and the capacitance of the capacitor.
- the reference power supply of the device comprises an absolute reference power supply and a relative reference power supply.
- the control unit controls the comparator to connect to the relative reference power supply.
- the timer measures a first time interval between the time when the voltage of the capacitor begins to discharge after being fully charged and the time when the voltage across the capacitor is equal to the voltage of the relative reference power supply.
- the timer also measures a second time interval in the same way.
- the computing unit calculates the voltage of the power supply based on the first time interval, the second time interval, and the voltage of the absolute reference power supply. The computing unit can avoid using the resistance of resistor and the capacitance of the capacitor to calculate the voltage of the power supply.
- the control unit can control the timer to measure the first time interval and the second time interval in a discontinuous charging and discharging process of the capacitor. This can avoid the timer timing frequently.
- the timer can also measure the first time interval and the second time interval in a continuous charging and discharging process of the capacitor. This can make the calculated value of the voltage more accurate.
- a detection device for measuring temperature.
- One or more embodiments of the disclosure comprise a thermometric component inside a chip.
- the thermometric component can detect the temperature of the chip.
- the computing unit can calculate the voltage of the absolute reference power supply based on the temperature of the chip without using much resources inside the chip.
- the detection device is applied to a temperature controller, the computing unit can calculate the voltage of the absolute reference power supply based on the temperature of the outside environment.
- a detection device for measuring voltage and temperature.
- One or more embodiments of this disclosure can detect the temperature of the outside environment and detect the voltage of the power supply.
- the detection device includes a thermistor.
- the timer measures a third time interval between the time when the capacitor begins to discharge after being fully charged and the time when the voltage across the capacitor is equal to the voltage of the reference power supply.
- the computing unit can work out the voltage of the power supply.
- the control unit controls the capacitor to discharge through the thermistor the timer measures a fourth time interval in the same way.
- the computing unit calculates the resistance of the thermistor based on the third time interval, the fourth time interval, and the resistance of the resistor. The computing unit then determines the temperature of outside environment based on the resistance of the thermistor. Further, the computing unit can calculate the voltage of the absolute reference power supply based on the temperature of the outside environment.
- a temperature controller there is provided a temperature controller.
- One or more embodiments of this disclosure can avail a module for measuring temperature to fulfill the function of measuring both temperature and voltage. It can help ensure features of the chip's normal operation and avoid occupying more resources inside the chip.
- exemplary embodiments of the present disclosure provide devices for measuring the voltage of a power supply.
- the device may be applicable to chips that don't have a dedicated supply voltage indicator to measure the voltage of the power supply, as the device may be used to determine the voltage of the power supply in the circuit. More specifically, the device for measuring the voltage of the power supply can calculate the voltage of the power supply by means of a comparator on another module inside the chip and some related components existing in the circuit.
- FIG. 2 shows an exemplary embodiment of a device for measuring voltage of a power supply embodying one or more aspects of the present disclosure.
- the device includes a control unit 20 , a resistor 22 , and a capacitor 23 .
- the resistor 22 is connected with a power supply 21 .
- One end of the capacitor 23 is connected with the resistor 22 .
- the other end of the capacitor 23 is connected to ground.
- the control unit 20 is connected with the power supply 21 .
- the control unit 20 includes a comparator 24 connected with the capacitor 23 , a reference power supply 25 connected with the comparator 24 , a timer 26 , and a computing unit 27 .
- the timer 26 can measure the time interval between the time when the voltage of the capacitor 23 begins to discharge after being fully charged and the time when the voltage across the capacitor 23 equals the voltage of the reference power supply 25 .
- the comparator 24 can send a signal to indicate that the voltage of the capacitor 23 equals the voltage of the reference power supply 25 .
- the computing unit 27 calculates the voltage of the power supply 21 based on the time interval, the voltage of the reference power supply 25 , the resistance of the resistor 22 , and capacitance of the capacitor 23 .
- the computing unit 27 can calculate the voltage of the power supply 21 based on the time interval, the voltage of the reference power supply 25 , the resistance of the resistor 22 , and capacitance of the capacitor 23 .
- the timer 26 begins timing.
- the comparator 24 compares the voltage across the capacitor 23 while discharging with the voltage of the reference power supply 25 .
- the comparator 24 sends a signal to the timer 26 , and the timer 26 stops timing, and thereby provides a time interval t.
- the computing unit 27 of the control unit 20 calculates the voltage of the power supply 21 based on the voltage of the reference power supply 25 , the time interval t, the resistance of the resistor 22 , and the capacitance of the capacitor 23 .
- FIG. 3 shows a charging and discharging wave form of the capacitor 23 of the device shown in FIG. 2 .
- the capacitor 23 starts to charge at the time of t 0 and then starts to discharge when it is fully charged.
- the timer 26 starts timing.
- the timer 26 records the time interval t.
- the computing unit 27 calculates the voltage of the power supply 21 by the formula or equation ( 7 ) below, which is obtained from the formula ( 1 ) also set forth below:
- Vcc Ez/EXP ( ⁇ t/RC ) (7)
- the device of this exemplary embodiment may thus obtain the voltage of the power supply by means of the above equation.
- the device does not need to rely on or use a dedicated power supply voltage indicator, and thereby avoids occupying a lot more resources of the chip.
- the device may also have a lower cost.
- FIG. 4 shows another exemplary embodiment of a device for measuring voltage of a power supply embodying one or more aspects of the present disclosure.
- the device includes a resistor 32 , a capacitor 33 , and a control unit 30 .
- the resistor 32 is connected with a power supply 31 .
- One end of the capacitor 33 is connected with the resistor 32 .
- the other end of the capacitor 33 is connected to ground.
- the control unit 30 is connected with the power supply 31 .
- the control unit 30 includes a comparator 34 connected with the capacitor 33 , a reference power supply connected with the comparator 34 , a timer 36 , and a computing unit 37 .
- the control unit 30 controls the comparator 34 to connect to the relative reference power supply 39 by the switch 35 , the capacitor 33 starts to discharge after it is fully charged and the timer 36 begins timing.
- the comparator 34 detects that the voltage across the capacitor 33 is equal to the voltage of the relative reference power supply 39 , the timer 36 records the first time interval t 1 .
- the voltage of the relative reference power supply 39 can be produced by a resistor assembly.
- the following formula or equation (2) can be obtained:
- Vcc aVcc/EXP ( ⁇ t 1 /RC ) where a is a constant and 0 ⁇ a ⁇ 1 (2)
- the absolute reference power supply 38 can connect with the comparator 34 by a port on a chip.
- the voltage Ez of the absolute reference power supply 38 is known according to the formula (1):
- Vcc Ez/EXP ( ⁇ t 2/ RC ) (4)
- Formula (3) may be combined with formula or equation (4), such that the computing unit 37 can calculate the voltage of the power supply 31 by formula or equation (5) below:
- the resistor assembly in this example may include four resistors.
- the voltage of the relative reference power supply 39 is 0.25 times the voltage of the power supply 31 .
- 0.25Vcc Vcc*EXP( ⁇ t1/RC) according to the formula (1).
- RC ⁇ t1/In(0.25) according to the formula (3).
- voltage of the power supply 31 can be calculated as follows:
- Vcc Ez/EXP ( t 2*In(0.25)/ t 1) (6)
- the value of t2*In(0.25)/t1 may be calculated first, and then the logarithmic computing may be calculated by means of table-lookup.
- the value of EXP(t2*In(0.25)/t1) is calculated to allow the value of the power supply 31 to be obtained. This will not occupy much resources inside the chip.
- the computing unit 37 can calculate the voltage of the power supply 31 only by means of the voltage of the absolute reference power supply 38 , the first time interval the timer 36 recorded when the switch 35 connects the relative reference power supply 39 , and the second time interval the timer 36 recorded when the switch 35 connects the absolute reference power supply 38 . Due to the formula (5) including the logarithmic computing, a proper quantity of the resistors in the resistor assembly can be determined or set to make the logarithmic computing easier.
- FIG. 5 shows a waveform of the first time interval and the second time interval which is produced in two non-continuous charging and discharging processes of the capacitor 33 .
- the voltage of the relative reference power supply is 0.25Vcc.
- the capacitor 33 begins to charge.
- the timer 36 begins timing when the capacitor 33 begins to discharge after it is fully charged.
- the comparator 34 detects that the voltage of the capacitor 33 reduces to the value which is equal to the voltage of the relative reference power supply 39 , the comparator 34 sends a signal to the timer 36 .
- the timer 36 stops timing, and the first time interval t 1 is recorded.
- the control unit 30 controls the switch 35 to connect to the absolute reference power supply 38 .
- the timer 36 begins timing when the capacitor 33 is fully charged and begins to discharge.
- the second time interval t 2 is recorded after the voltage across the capacitor 33 reduces to the voltage value of the absolute reference power supply 38 .
- the computing unit 37 calculates the voltage of the power supply 31 only by means of the first time interval t 1 , the second time interval t 2 , and the voltage of the absolute reference power supply 38 . It can avoid using the value of the resistor(s) 32 and the value of the capacitor 33 to calculate the voltage of the power supply 31 , which helps to reduce errors and make the voltage value of the power supply 31 more accurate.
- the detection device further includes a chip having a thermometric component 40 .
- the thermometric component 40 can detect the temperature of the chip.
- the computing unit 47 calculates the voltage of the absolute reference power supply 48 by means of table-lookup based on the value of the temperature.
- the detection device of this exemplary embodiment does not need a dedicated indicator, thereby reducing the occupying resource needed for the chip.
- An approximate value of the absolute reference power supply 48 may be obtained using the temperature compensation method. Then, a compensation voltage can be obtained by means of table-lookup. This, in turn, may provide an accurate voltage value of the absolute reference power supply 48 , which is more accurate than the approximate value.
- the control unit 50 controls the capacitor 53 to discharge through the resistor 52 , and the timer 56 starts timing.
- the timer 56 records a third time interval.
- the reference power supply can be the absolute reference power supply 58 or the relative reference power supply 59 .
- the control unit 50 controls the comparator 54 via a switch to connect to either the absolute reference power supply 58 or the relative reference power supply 59 .
- FIG. 10 shows a waveform of the capacitor 53 in its two processes of charging and discharging.
- the chip can get the temperature of the environment by means of table-lookup.
- FIG. 11 illustrates a device for measuring voltage of a battery using a thermistor and dual slope technique according to another exemplary embodiment of the present disclosure.
- the device may include similar components (e.g., computing unit, timer, etc.) as the devices disclosed above and shown in FIGS. 2, 4, 7 , and/or 9 .
- FIG. 11 Also shown in FIG. 11 are an interrupt 66 , switches 67 and 68 , and a reference power supply 69 .
- the switch 67 is controllable by the control unit 60 to connect the resistor 62 to ground or to Vcc (voltage of the power supply).
- the switch 68 is controllable by the control unit 60 to connect the thermistor 65 to ground or to Vcc (voltage of the power supply).
- the battery voltage level may be determined using the same comparator circuit that is used to determine temperature using a dual slope method. Using the same comparator circuit to determine temperature and battery voltage level eliminates the need for the microprocessor to have a built-in supply voltage monitor function. Accordingly, it is thus possible to use a less costly microprocessor that doesn't include a built-in supply voltage monitor function.
- This exemplary embodiment uses the same circuit to sense the battery level as it does to sense the thermistor voltage for determining temperature through the use of a lookup table listing temperatures as a function of voltage level as disclosed herein.
- the circuit may mostly be used to determine temperature, the circuit may instead be used to determine battery level when the control unit 60 switches the resistor in the circuit from the thermistor 65 for temperature sensing to the fixed resistor 62 for measuring the battery voltage.
- Exemplary embodiments of the present disclosure also provide temperature controllers.
- a temperature measurement module of the temperature controller can provide the temperature.
- the voltage of the absolute reference power supply can be obtained by means of table-lookup.
- the voltage of the power supply can be obtained by means of the comparator and the timer in the temperature measurement module.
- a dedicated indicator is not necessary or required to measure the voltage of the power supply inside the chip, which, thus allows for reduced resource and cost of the chip.
- Exemplary embodiments disclosed herein may be used in and/or are applicable to a variety of electronic products.
- the voltage of the absolute reference power supply may be calculated according to the external environment temperature detected by the temperature controller.
- Example embodiments are provided so that this disclosure will be thorough, and will fully convey the scope to those who are skilled in the art. Numerous specific details are set forth such as examples of specific components, devices, and methods, to provide a thorough understanding of embodiments of the present disclosure. It will be apparent to those skilled in the art that specific details need not be employed, that example embodiments may be embodied in many different forms, and that neither should be construed to limit the scope of the disclosure. In some example embodiments, well-known processes, well-known device structures, and well-known technologies are not described in detail.
- parameter X may have a range of values from about A to about Z.
- disclosure of two or more ranges of values for a parameter subsume all possible combination of ranges for the value that might be claimed using endpoints of the disclosed ranges.
- parameter X is exemplified herein to have values in the range of 1-10, or 2-9, or 3-8, it is also envisioned that Parameter X may have other ranges of values including 1-9, 1-8, 1-3, 1-2, 2-10, 2-8, 2-3, 3-10, and 3-9.
- first, second, third, etc. may be used herein to describe various elements, components, regions, layers and/or sections, these elements, components, regions, layers and/or sections should not be limited by these terms. These terms may be only used to distinguish one element, component, region, layer or section from another region, layer or section. Terms such as “first,” “second,” and other numerical terms when used herein do not imply a sequence or order unless clearly indicated by the context. Thus, a first element, component, region, layer or section discussed below could be termed a second element, component, region, layer or section without departing from the teachings of the example embodiments.
- Spatially relative terms such as “inner,” “outer,” “beneath”, “below”, “lower”, “above”, “upper” and the like, may be used herein for ease of description to describe one element or feature's relationship to another element(s) or feature(s) as illustrated in the figures. Spatially relative terms may be intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. For example, if the device in the figures is turned over, elements described as “below” or “beneath” other elements or features would then be oriented “above” the other elements or features. Thus, the example term “below” can encompass both an orientation of above and below. The device may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein interpreted accordingly.
Abstract
Disclosed are exemplary embodiments of devices for measuring voltage of a power supply. Also disclosed are exemplary embodiments of detection devices and temperature controllers comprising such devices for measuring voltage of a power supply. In exemplary embodiments, a device for measuring the voltage of a power supply generally includes a resistor, a capacitor, and a control unit. One end of the capacitor is connected with the resistor, while the other end of the capacitor is connected to ground. The control unit is connected with the power supply. The control unit includes a comparator connected with the capacitor, a reference power supply connected with the comparator, a timer, and a computing unit.
Description
- This application is a continuation of U.S. patent application Ser. No. 14/153,334 filed Jan. 13, 2014, which claims the benefit and priority of Chinese Patent of Invention Application No. 201310095342.1 filed Mar. 22, 2013, and Chinese Utility Model Application No. 201320134952.3 filed Mar. 22, 2013. The entire disclosures of the above applications are incorporated herein by reference.
- The present disclosure relates to devices for measuring voltage of a power supply. The present disclosure also relates to detection devices and temperature controllers comprising such devices for measuring voltage of a power supply.
- This section provides background information related to the present disclosure which is not necessarily prior art.
- With the development of chip technology, the cost has become increasingly lower, while performance is getting better or stronger. These improvements have allowed chips to be applied in various fields everywhere, such as in electric machine control, consumer electronics, game devices, industrial control and automation, and major/white household appliances, etc.
-
FIG. 1 shows a unit inside a chip. The unit can be applied on a controlling device, such as a temperature controller. The unit comprises a temperature measurement module 11 and a supply voltage indicator 12, which are regarded as different modules to fulfill different functions. The temperature measurement module 11 is used for measuring the temperature. The supply voltage indicator 12 is used for detecting the voltage of the power supply. - Conventionally, the components for the supply voltage indicator 12 are integrated inside the chip, such that it occupies more resources inside the chip. This conventional configuration cannot ensure that the chips will have good performance. Also, the cost of the chip equipped with the power supply voltage indicator is high, and thus not conducive to production and sales. Therefore, there is a need to improve the performance of the prior unit, to reduce cost and ensure versatility.
- This section provides a general summary of the disclosure, and is not a comprehensive disclosure of its full scope or all of its features.
- Disclosed are exemplary embodiments of devices for measuring voltage of a power supply. Also disclosed are exemplary embodiments of detection devices and temperature controllers comprising such devices for measuring voltage of a power supply.
- In exemplary embodiments, a device for measuring the voltage of a power supply generally includes a resistor, a capacitor, and a control unit. One end of the capacitor is connected with the resistor, while the other end of the capacitor is connected to ground. The control unit is connected with the power supply. The control unit includes a comparator connected with the capacitor, a reference power supply connected with the comparator, a timer, and a computing unit.
- Further areas of applicability will become apparent from the description provided herein. The description and specific examples in this summary are intended for purposes of illustration only and are not intended to limit the scope of the present disclosure.
- The drawings described herein are for illustrative purposes only of selected embodiments and not all possible implementations, and are not intended to limit the scope of the present disclosure.
-
FIG. 1 illustrates a prior art device; -
FIG. 2 illustrates a device for measuring voltage of a power supply according to an exemplary embodiment of the present disclosure; -
FIG. 3 illustrates a waveform graph of charging and discharging of the capacitor of the device shown inFIG. 2 ; -
FIG. 4 illustrates a device for measuring voltage of a power supply according to another exemplary embodiment of the present disclosure; -
FIGS. 5 and 6 illustrate waveform figure graphs of charging and discharging of the capacitor of the device shown inFIG. 4 ; -
FIG. 7 illustrates a detection device that includes the device for measuring voltage of a power supply shown inFIG. 2 orFIG. 4 , where the detection device further includes a thermometric component that can detect temperature of the chip according to another exemplary embodiment of the present disclosure; -
FIG. 8 illustrates lines graphs of voltage (in millivolts) versus temperature (in degrees Celsius) for an absolute reference power supply of the device shown inFIG. 7 when the voltage of the power supply is respectively 3 volts and 2.2 volts; -
FIG. 9 illustrates a detection device for measuring voltage and temperature according to another exemplary embodiment of the present disclosure; -
FIG. 10 illustrates waveform figure graphs of charging and discharging of the capacitor of the device shown inFIG. 9 ; and -
FIG. 11 illustrates a device for measuring voltage of a battery using a thermistor and dual slope technique according to another exemplary embodiment of the present disclosure. - Example embodiments will now be described more fully with reference to the accompanying drawings.
- Disclosed are exemplary embodiments of devices for measuring voltage of a power supply. Also disclosed are exemplary embodiments of detection devices and temperature controllers comprising such devices for measuring voltage of a power supply. Exemplary embodiments of the device for measuring voltage of a power supply may allow a module inside a chip to calculate temperature and voltage, where the device may have a relatively simple structure, a relatively low cost, and be operable for achieving a variety of functions in the module.
- In exemplary embodiments, a device for measuring voltage of a power supply generally includes a resistor, a capacitor, and a control unit. The resistor is connected with a power supply. A first or one end of the capacitor is connected with the resistor. The other or second end of the capacitor is connected to ground. The control unit is connected with the power supply. The control unit includes a comparator connected with the capacitor, a reference power supply connected with the comparator, a timer, and a computing unit.
- The timer is operable for measuring the time interval between the time when the voltage of the capacitor begins to discharge after being fully charged and the time when the voltage across the capacitor is equal to the voltage of the reference power supply. The computing unit is operable for calculating the voltage of the power supply based on the time interval, the voltage of the reference power supply, the resistance of the resistor, and the capacitance of the capacitor.
- The computing unit calculates the voltage of the power supply based on the equation (1) below:
-
Ez=Vcc*EXP(−t/RC) (1) - where:
-
- Ez is the voltage of the reference power supply;
- Vcc is the voltage of the power supply;
- t is the time interval;
- R is the resistance of the resistor; and
- C is the capacitance of the capacitor.
- The reference power supply includes an absolute reference power supply and a relative reference power supply. The control unit controls the comparator to connect to either the absolute reference power supply or the relative reference power supply such that; when the control unit controls the comparator to connect to the relative reference power supply, the timer measures a first time interval between the time when the voltage of the capacitor begins to discharge and the time when the voltage across the capacitor is equal to the voltage of the relative reference power supply; or when the control unit controls the comparator to connect to the absolute reference power supply, the timer measures a second time interval between the time when the voltage of the capacitor begins to discharge and the time when the voltage across the capacitor is equal to the voltage of the absolute reference power supply. The computing unit calculates the voltage of the power supply based on the first time interval, the second time interval, and the voltage of the absolute reference power supply.
- When the control unit controls the comparator to connect to the relative reference power supply, the voltage of the power supply is a multiple of the voltage of the relative reference power supply, such that:
-
Vcc=aVcc/EXP(−t1/RC); where a is a constant and 0<a<1 (2) - therefore,
-
RC=−t1/In (a) (3) - When the control unit controls the comparator to connect to the absolute reference power supply, the voltage of the reference power supply is:
-
Ez=Vcc*EXP(−t2/RC), (4) - Substituting (3) into (4), the voltage of the power supply is:
-
Vcc=Ez/EXP(t2*In(a)/t1); (5) - where:
-
- Ez is the voltage of the absolute reference power supply;
- Vcc is the voltage of the power supply;
- t1 is the first time interval;
- t2 is the second time interval;
- R is the resistance of the resistor; and
- C is the capacitance of the capacitor.
- The first time interval and the second time interval are acquired in two sequential cycles during which the capacitor discharges.
- Exemplary embodiments of the present disclosure also provide detection devices comprising any of the above devices for measuring the voltage of a power supply. The detection device further comprises a chip within which there is a thermometric component. The thermometric component may detect the temperature of the chip. The computing unit calculates the voltage of the absolute reference power supply based on the value of the temperature.
- Exemplary embodiments of the present disclosure also provide detection devices for measuring voltage and temperature. The detection device includes the device above and a thermistor connected to the capacitor in any device above.
- When the capacitor is fully charged and begins to discharge, the control unit of any device above controls the capacitor to discharge through the resistor or the thermistor. Thus, the control unit measures the voltage of the power supply or the temperature of outside environment.
- When the capacitor is fully charged and begins to discharge and the control unit controls the capacitor to discharge through the resistor, the timer measures a third time interval between the time when the capacitor begins to discharge after being fully charged and the time when the voltage across the capacitor is equal to the voltage of the reference power supply. When the capacitor is fully charged and begins to discharge and the control unit controls the capacitor to discharge through the thermistor, the timer measures a fourth time interval between the time when the capacitor begins to discharge after being fully charged and the time when the voltage across the capacitor is equal to the voltage of the reference power supply .
- The computing unit calculates the resistance of the thermistor based on the third time interval, the fourth time interval, and the resistance of the resistor. The computing unit further determines the temperature of outside environment based on the resistance of the thermistor.
- The computing unit of the detection device for measuring voltage and temperature calculates the voltage of the absolute reference power supply based on the value of the temperature.
- Exemplary embodiments of the present disclosure further provide a temperature controller comprising a device above.
- According to a first aspect of the present disclosure, there is provided a device for measuring the voltage of a power supply. One or more embodiments of this disclosure is applicable to a variety of chips. Such chips may not keep a separate supply voltage indicator to measure the voltage of the power supply. But the voltage of the power supply may be detected by means of a resistor, a capacitor, and a control unit in a module inside the chips as disclosed herein. The control unit comprises a comparator, a reference power supply, a timer, and a computing unit. The timer measures a time interval between the time when the voltage of the capacitor begins to discharge after being fully charged and the time when the voltage across the capacitor is equal to the voltage of the reference power supply. The computing unit calculates the voltage of the power supply based on the time interval, the voltage of the reference power supply, the resistance of the resistor, and the capacitance of the capacitor.
- According to a second aspect of the present disclosure, there is provided another device for measuring the voltage of a power supply. In one or more embodiments of the disclosure, the reference power supply of the device comprises an absolute reference power supply and a relative reference power supply. The control unit controls the comparator to connect to the relative reference power supply. The timer measures a first time interval between the time when the voltage of the capacitor begins to discharge after being fully charged and the time when the voltage across the capacitor is equal to the voltage of the relative reference power supply. The timer also measures a second time interval in the same way. The computing unit calculates the voltage of the power supply based on the first time interval, the second time interval, and the voltage of the absolute reference power supply. The computing unit can avoid using the resistance of resistor and the capacitance of the capacitor to calculate the voltage of the power supply.
- The control unit can control the timer to measure the first time interval and the second time interval in a discontinuous charging and discharging process of the capacitor. This can avoid the timer timing frequently.
- In addition, the timer can also measure the first time interval and the second time interval in a continuous charging and discharging process of the capacitor. This can make the calculated value of the voltage more accurate.
- According to a third aspect of the present disclosure, there is provided a detection device for measuring temperature. One or more embodiments of the disclosure comprise a thermometric component inside a chip. The thermometric component can detect the temperature of the chip. The computing unit can calculate the voltage of the absolute reference power supply based on the temperature of the chip without using much resources inside the chip. When the detection device is applied to a temperature controller, the computing unit can calculate the voltage of the absolute reference power supply based on the temperature of the outside environment.
- According to a fourth aspect of the present disclosure, there is provided a detection device for measuring voltage and temperature. One or more embodiments of this disclosure can detect the temperature of the outside environment and detect the voltage of the power supply. The detection device includes a thermistor. When the control unit controls the capacitor to discharge through the resistor, the timer measures a third time interval between the time when the capacitor begins to discharge after being fully charged and the time when the voltage across the capacitor is equal to the voltage of the reference power supply. At this time, the computing unit can work out the voltage of the power supply. When the control unit controls the capacitor to discharge through the thermistor, the timer measures a fourth time interval in the same way. The computing unit calculates the resistance of the thermistor based on the third time interval, the fourth time interval, and the resistance of the resistor. The computing unit then determines the temperature of outside environment based on the resistance of the thermistor. Further, the computing unit can calculate the voltage of the absolute reference power supply based on the temperature of the outside environment.
- According to a fifth aspect of the present disclosure, there is provided a temperature controller. One or more embodiments of this disclosure can avail a module for measuring temperature to fulfill the function of measuring both temperature and voltage. It can help ensure features of the chip's normal operation and avoid occupying more resources inside the chip.
- Accordingly, exemplary embodiments of the present disclosure provide devices for measuring the voltage of a power supply. The device may be applicable to chips that don't have a dedicated supply voltage indicator to measure the voltage of the power supply, as the device may be used to determine the voltage of the power supply in the circuit. More specifically, the device for measuring the voltage of the power supply can calculate the voltage of the power supply by means of a comparator on another module inside the chip and some related components existing in the circuit.
- With reference now to the figures,
FIG. 2 shows an exemplary embodiment of a device for measuring voltage of a power supply embodying one or more aspects of the present disclosure. As shown inFIG. 2 , the device includes a control unit 20, a resistor 22, and a capacitor 23. The resistor 22 is connected with a power supply 21. One end of the capacitor 23 is connected with the resistor 22. The other end of the capacitor 23 is connected to ground. The control unit 20 is connected with the power supply 21. The control unit 20 includes a comparator 24 connected with the capacitor 23, a reference power supply 25 connected with the comparator 24, a timer 26, and a computing unit 27. - The timer 26 can measure the time interval between the time when the voltage of the capacitor 23 begins to discharge after being fully charged and the time when the voltage across the capacitor 23 equals the voltage of the reference power supply 25. The comparator 24 can send a signal to indicate that the voltage of the capacitor 23 equals the voltage of the reference power supply 25. The computing unit 27 calculates the voltage of the power supply 21 based on the time interval, the voltage of the reference power supply 25, the resistance of the resistor 22, and capacitance of the capacitor 23.
- With this exemplary embodiment of the device, it is not necessary to use a dedicated device for detecting the voltage of the power supply 21. The computing unit 27 can calculate the voltage of the power supply 21 based on the time interval, the voltage of the reference power supply 25, the resistance of the resistor 22, and capacitance of the capacitor 23.
- Specifically, in the process of charging and discharging of the capacitor 23, when the capacitor 23 begins to discharge after being fully charged, the timer 26 begins timing. The comparator 24 compares the voltage across the capacitor 23 while discharging with the voltage of the reference power supply 25. When the voltage across the capacitor 23 reduces to the value which is equal to the voltage of the reference power supply 25, the comparator 24 sends a signal to the timer 26, and the timer 26 stops timing, and thereby provides a time interval t. The computing unit 27 of the control unit 20 calculates the voltage of the power supply 21 based on the voltage of the reference power supply 25, the time interval t, the resistance of the resistor 22, and the capacitance of the capacitor 23.
-
FIG. 3 shows a charging and discharging wave form of the capacitor 23 of the device shown inFIG. 2 . The capacitor 23 starts to charge at the time of t0 and then starts to discharge when it is fully charged. At this time, the timer 26 starts timing. When the voltage across the capacitor 23 reduces to the value which is equal to the voltage of the reference power supply 25, the timer 26 records the time interval t. - Assuming that Vcc is the voltage of the power supply 21, Ez is the voltage of the reference power supply 25, and t is the time interval recorded by the timer 26, then the computing unit 27 calculates the voltage of the power supply 21 by the formula or equation (7) below, which is obtained from the formula (1) also set forth below:
-
Ez=Vcc*EXP(−t/RC) (1) -
Vcc=Ez/EXP(−t/RC) (7) - where:
-
- Ez is the voltage of the reference power supply;
- Vcc is the voltage of the power supply;
- t is the time interval;
- R is the resistance of the resistor; and
- C is the capacitance of the capacitor.
- The device of this exemplary embodiment may thus obtain the voltage of the power supply by means of the above equation. Thus, the device does not need to rely on or use a dedicated power supply voltage indicator, and thereby avoids occupying a lot more resources of the chip. The device may also have a lower cost.
-
FIG. 4 shows another exemplary embodiment of a device for measuring voltage of a power supply embodying one or more aspects of the present disclosure. As shown inFIG. 4 , the device includes aresistor 32, acapacitor 33, and acontrol unit 30. Theresistor 32 is connected with apower supply 31. One end of thecapacitor 33 is connected with theresistor 32. The other end of thecapacitor 33 is connected to ground. Thecontrol unit 30 is connected with thepower supply 31. Thecontrol unit 30 includes acomparator 34 connected with thecapacitor 33, a reference power supply connected with thecomparator 34, atimer 36, and a computing unit 37. - The reference power supply comprises an absolute reference power supply 38 and a relative reference power supply 39. The
control unit 30 controls thecomparator 34 via aswitch 35 to connect to either the absolute reference power supply 38 or the relative reference power supply 39. - When the
control unit 30 controls thecomparator 34 to connect to the relative reference power supply 39 by theswitch 35, thecapacitor 33 starts to discharge after it is fully charged and thetimer 36 begins timing. When thecomparator 34 detects that the voltage across thecapacitor 33 is equal to the voltage of the relative reference power supply 39, thetimer 36 records the first time interval t1. - Further, the voltage of the relative reference power supply 39 can be produced by a resistor assembly. In which case, the resistor assembly is formed by a plurality of resistors in series. Assuming the resistor assembly includes n resistors each having the same resistance, the resistors connect with the power supply, where the
comparator 34 connects the first resistor of the resistor assembly, then the voltage of the relative reference power supply 39 is 1/n times of the voltage of the power supply, and it is assumed that a=1/n where a is a constant and 0<a<1. Thus, according to the formula (1), the following formula or equation (2) can be obtained: -
Vcc=aVcc/EXP(−t1/RC) where a is a constant and 0<a<1 (2) - Further, the formula or equation (3) can be calculated as:
-
RC=−t1/In(a) (3) - When the
control unit 30 controls thecomparator 34 to connect to the absolute reference power supply 38 by theswitch 35, thetimer 36 measures a second time interval t2 between the time when thecapacitor 33 begins to discharge after being fully charged and the time when the voltage across thecapacitor 33 is equal to the voltage of the absolute reference power supply 38. - The absolute reference power supply 38 can connect with the
comparator 34 by a port on a chip. The voltage Ez of the absolute reference power supply 38 is known according to the formula (1): -
Vcc=Ez/EXP(−t2/RC) (4) - Formula (3) may be combined with formula or equation (4), such that the computing unit 37 can calculate the voltage of the
power supply 31 by formula or equation (5) below: -
Vcc=Ez/EXP(t2*In(a)/t1) (5) - The resistor assembly in this example may include four resistors. In which case, the voltage of the relative reference power supply 39 is 0.25 times the voltage of the
power supply 31. Thus, 0.25Vcc=Vcc*EXP(−t1/RC) according to the formula (1). Further, RC=−t1/In(0.25) according to the formula (3). And, according to formula (5), voltage of thepower supply 31 can be calculated as follows: -
Vcc=Ez/EXP(t2*In(0.25)/t1) (6) - In order to further reduce the logarithmic computing in the formula or equation (6), the value of t2*In(0.25)/t1 may be calculated first, and then the logarithmic computing may be calculated by means of table-lookup. The value of EXP(t2*In(0.25)/t1) is calculated to allow the value of the
power supply 31 to be obtained. This will not occupy much resources inside the chip. - From formula (5) and formula (6) and when the reference power supply comprises an absolute reference power supply 38, the relative reference power supply 39, and the switch 35 (as shown in
FIG. 5 ), the computing unit 37 can calculate the voltage of thepower supply 31 only by means of the voltage of the absolute reference power supply 38, the first time interval thetimer 36 recorded when theswitch 35 connects the relative reference power supply 39, and the second time interval thetimer 36 recorded when theswitch 35 connects the absolute reference power supply 38. Due to the formula (5) including the logarithmic computing, a proper quantity of the resistors in the resistor assembly can be determined or set to make the logarithmic computing easier. - In addition, the first time interval and the second first time interval mentioned above can be recorded in two non-continuous charging and discharging processes of the
capacitor 33. -
FIG. 5 shows a waveform of the first time interval and the second time interval which is produced in two non-continuous charging and discharging processes of thecapacitor 33. In this example, it is assumed that the voltage of the relative reference power supply is 0.25Vcc. At the time of t0, thecapacitor 33 begins to charge. Thetimer 36 begins timing when thecapacitor 33 begins to discharge after it is fully charged. When thecomparator 34 detects that the voltage of thecapacitor 33 reduces to the value which is equal to the voltage of the relative reference power supply 39, thecomparator 34 sends a signal to thetimer 36. In response, thetimer 36 stops timing, and the first time interval t1 is recorded. After several charging and discharging cycles and when thecontrol unit 30 controls theswitch 35 to connect to the absolute reference power supply 38 in a charging and discharging process of thecapacitor 33, thetimer 36 begins timing at the time that thecapacitor 33 is fully charged and begins to discharge. The second time interval t2 is recorded after the voltage across thecapacitor 33 reduces to the voltage of the absolute reference power supply 38. - Optionally, the first time interval and the second first time interval mentioned above can also be recorded in two continuous charging and discharging processes of the capacitor.
-
FIG. 6 shows a time waveform of thecapacitor 33 in its charging and discharging process when theswitch 35 connects to the relative reference power supply 39. For this example, it is assumed that the voltage of the relative reference power supply 39 is 0.25Vcc. At the time of t0, thecapacitor 33 begins to charge. When thecapacitor 33 is fully charged and begins to discharge, thetimer 36 begins timing until thecomparator 34 detects that the voltage across thecapacitor 33 reduces to the value which is equal to the voltage of the relative reference power supply 39. Thecomparator 34 then sends a signal to thetimer 36. In response, thetimer 36 stops timing, and the first time interval t1 is recorded. In the next charging and discharging process of thecapacitor 33, thecontrol unit 30 controls theswitch 35 to connect to the absolute reference power supply 38. Thetimer 36 begins timing when thecapacitor 33 is fully charged and begins to discharge. The second time interval t2 is recorded after the voltage across thecapacitor 33 reduces to the voltage value of the absolute reference power supply 38. - In this exemplary embodiment, the computing unit 37 calculates the voltage of the
power supply 31 only by means of the first time interval t1, the second time interval t2, and the voltage of the absolute reference power supply 38. It can avoid using the value of the resistor(s) 32 and the value of thecapacitor 33 to calculate the voltage of thepower supply 31, which helps to reduce errors and make the voltage value of thepower supply 31 more accurate. -
FIG. 7 illustrates an exemplary embodiment of a detection device embodying one or more aspects of the present disclosure. In this exemplary embodiment, the detection device may include similar components as the device for measuring voltage of a power supply as shown inFIG. 2 orFIG. 4 . - As shown in
FIG. 7 , the detection device further includes a chip having a thermometric component 40. The thermometric component 40 can detect the temperature of the chip. The computing unit 47 calculates the voltage of the absolute reference power supply 48 by means of table-lookup based on the value of the temperature. The detection device of this exemplary embodiment does not need a dedicated indicator, thereby reducing the occupying resource needed for the chip. - An approximate value of the absolute reference power supply 48 may be obtained using the temperature compensation method. Then, a compensation voltage can be obtained by means of table-lookup. This, in turn, may provide an accurate voltage value of the absolute reference power supply 48, which is more accurate than the approximate value.
-
FIG. 8 shows voltage and temperature diagrams for the absolute reference power supply 48 when the voltage of power supply is respectively 3 volts and 2.2 volts. The voltage of the absolute reference power supply 48 can be worked out at first by means of table-lookup. Then, the voltage of the power supply can be calculated using formula (5). - Exemplary embodiments of the present disclosure also provide detection devices for measuring voltage and temperature. For example,
FIG. 9 shows an exemplary embodiment of a detection device for measuring voltage and temperature embodying one or more aspects of the present disclosure. In this exemplary embodiment, the detection device may include similar components as the device shown inFIG. 2 orFIG. 4 andFIG. 7 . - As shown in
FIG. 9 , the detection device in this exemplary embodiment also includes a thermistor 55 connected to the capacitor 53. The detection device for measuring temperature has the function of measuring temperature. The device can also measure the voltage of the power supply 51. - The control unit 50 measures the voltage of the power supply 51 or the temperature of outside environment by controlling the capacitor 53 to discharge through the resistor 52 or the thermistor 55 after the capacitor is fully charged.
- When the capacitor 53 begins to discharge after it is fully charged, the control unit 50 controls the capacitor 53 to discharge through the resistor 52, and the timer 56 starts timing. When the voltage across the capacitor 53 is equal to the voltage of the reference power supply, the timer 56 records a third time interval. Here, the reference power supply can be the absolute reference power supply 58 or the relative reference power supply 59. The control unit 50 controls the comparator 54 via a switch to connect to either the absolute reference power supply 58 or the relative reference power supply 59.
- When the capacitor 53 is fully charged and begins to discharge, the control unit 50 controls the capacitor 53 to discharge through the thermistor 55, and the timer 56 starts timing. When the voltage across the capacitor 53 is equal to the voltage of the reference power supply, the timer 56 records a fourth time interval.
-
FIG. 10 shows a waveform of the capacitor 53 in its two processes of charging and discharging. The computing unit 57 calculates the resistance (R2) of the thermistor based on the third time interval (t3), the fourth time interval (t4), and the resistance (R1) of the resistor, where t3/t4 =R1/R2 such that the resistance (R2) of the thermistor 55 is R2 =R1*t4/t3. - Further, the chip can get the temperature of the environment by means of table-lookup.
-
FIG. 11 illustrates a device for measuring voltage of a battery using a thermistor and dual slope technique according to another exemplary embodiment of the present disclosure. In this exemplary embodiment, the device may include similar components (e.g., computing unit, timer, etc.) as the devices disclosed above and shown inFIGS. 2, 4, 7 , and/or 9. - As shown in
FIG. 11 , the device includes aresistor 62, acapacitor 63, a variable resistor orthermistor 65, and acontrol unit 60. In this example, thecontrol unit 60 comprises a microprogrammed control unit (MCU). One end of thecapacitor 63 is connected with theresistor 62, thethermistor 65, and acomparator 64. The other end of thecapacitor 63 is connected to ground. Thecontrol unit 60 is connected with thebattery 61. - Also shown in
FIG. 11 are an interrupt 66, switches 67 and 68, and areference power supply 69. Theswitch 67 is controllable by thecontrol unit 60 to connect theresistor 62 to ground or to Vcc (voltage of the power supply). Theswitch 68 is controllable by thecontrol unit 60 to connect thethermistor 65 to ground or to Vcc (voltage of the power supply). - In this exemplary embodiment, the battery voltage level may be determined using the same comparator circuit that is used to determine temperature using a dual slope method. Using the same comparator circuit to determine temperature and battery voltage level eliminates the need for the microprocessor to have a built-in supply voltage monitor function. Accordingly, it is thus possible to use a less costly microprocessor that doesn't include a built-in supply voltage monitor function.
- This exemplary embodiment uses the same circuit to sense the battery level as it does to sense the thermistor voltage for determining temperature through the use of a lookup table listing temperatures as a function of voltage level as disclosed herein. Although the circuit may mostly be used to determine temperature, the circuit may instead be used to determine battery level when the
control unit 60 switches the resistor in the circuit from thethermistor 65 for temperature sensing to the fixedresistor 62 for measuring the battery voltage. - Exemplary embodiments of the present disclosure also provide temperature controllers. In an exemplary embodiment, a temperature measurement module of the temperature controller can provide the temperature. The voltage of the absolute reference power supply can be obtained by means of table-lookup. Then, the voltage of the power supply can be obtained by means of the comparator and the timer in the temperature measurement module. Such arrangement enables the temperature measurement module to measure the temperature and voltage of a power supply. Advantageously, a dedicated indicator is not necessary or required to measure the voltage of the power supply inside the chip, which, thus allows for reduced resource and cost of the chip.
- Exemplary embodiments disclosed herein may be used in and/or are applicable to a variety of electronic products. When a circuit disclosed herein is applied in a temperature controller, the voltage of the absolute reference power supply may be calculated according to the external environment temperature detected by the temperature controller.
- Example embodiments are provided so that this disclosure will be thorough, and will fully convey the scope to those who are skilled in the art. Numerous specific details are set forth such as examples of specific components, devices, and methods, to provide a thorough understanding of embodiments of the present disclosure. It will be apparent to those skilled in the art that specific details need not be employed, that example embodiments may be embodied in many different forms, and that neither should be construed to limit the scope of the disclosure. In some example embodiments, well-known processes, well-known device structures, and well-known technologies are not described in detail. In addition, advantages and improvements that may be achieved with one or more exemplary embodiments of the present disclosure are provided for purpose of illustration only and do not limit the scope of the present disclosure, as exemplary embodiments disclosed herein may provide all or none of the above mentioned advantages and improvements and still fall within the scope of the present disclosure.
- Specific dimensions, specific materials, and/or specific shapes disclosed herein are example in nature and do not limit the scope of the present disclosure. The disclosure herein of particular values and particular ranges of values for given parameters are not exclusive of other values and ranges of values that may be useful in one or more of the examples disclosed herein. Moreover, it is envisioned that any two particular values for a specific parameter stated herein may define the endpoints of a range of values that may be suitable for the given parameter (i.e., the disclosure of a first value and a second value for a given parameter can be interpreted as disclosing that any value between the first and second values could also be employed for the given parameter). For example, if Parameter X is exemplified herein to have value A and also exemplified to have value Z, it is envisioned that parameter X may have a range of values from about A to about Z. Similarly, it is envisioned that disclosure of two or more ranges of values for a parameter (whether such ranges are nested, overlapping or distinct) subsume all possible combination of ranges for the value that might be claimed using endpoints of the disclosed ranges. For example, if parameter X is exemplified herein to have values in the range of 1-10, or 2-9, or 3-8, it is also envisioned that Parameter X may have other ranges of values including 1-9, 1-8, 1-3, 1-2, 2-10, 2-8, 2-3, 3-10, and 3-9.
- The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting. As used herein, the singular forms “a”, “an” and “the” may be intended to include the plural forms as well, unless the context clearly indicates otherwise. The terms “comprises,” “comprising,” “including,” and “having,” are inclusive and therefore specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. The method steps, processes, and operations described herein are not to be construed as necessarily requiring their performance in the particular order discussed or illustrated, unless specifically identified as an order of performance. It is also to be understood that additional or alternative steps may be employed.
- When an element or layer is referred to as being “on”, “engaged to”, “connected to” or “coupled to” another element or layer, it may be directly on, engaged, connected or coupled to the other element or layer, or intervening elements or layers may be present. In contrast, when an element is referred to as being “directly on,” “directly engaged to”, “directly connected to” or “directly coupled to” another element or layer, there may be no intervening elements or layers present. Other words used to describe the relationship between elements should be interpreted in a like fashion (e.g., “between” versus “directly between,” “adjacent” versus “directly adjacent,” etc.). As used herein, the term “and/or” includes any and all combinations of one or more of the associated listed items.
- The term “about” when applied to values indicates that the calculation or the measurement allows some slight imprecision in the value (with some approach to exactness in the value; approximately or reasonably close to the value; nearly). If, for some reason, the imprecision provided by “about” is not otherwise understood in the art with this ordinary meaning, then “about” as used herein indicates at least variations that may arise from ordinary methods of measuring or using such parameters. For example, the terms “generally”, “about”, and “substantially” may be used herein to mean within manufacturing tolerances.
- Although the terms first, second, third, etc. may be used herein to describe various elements, components, regions, layers and/or sections, these elements, components, regions, layers and/or sections should not be limited by these terms. These terms may be only used to distinguish one element, component, region, layer or section from another region, layer or section. Terms such as “first,” “second,” and other numerical terms when used herein do not imply a sequence or order unless clearly indicated by the context. Thus, a first element, component, region, layer or section discussed below could be termed a second element, component, region, layer or section without departing from the teachings of the example embodiments.
- Spatially relative terms, such as “inner,” “outer,” “beneath”, “below”, “lower”, “above”, “upper” and the like, may be used herein for ease of description to describe one element or feature's relationship to another element(s) or feature(s) as illustrated in the figures. Spatially relative terms may be intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. For example, if the device in the figures is turned over, elements described as “below” or “beneath” other elements or features would then be oriented “above” the other elements or features. Thus, the example term “below” can encompass both an orientation of above and below. The device may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein interpreted accordingly.
- The foregoing description of the embodiments has been provided for purposes of illustration and description. It is not intended to be exhaustive or to limit the disclosure. Individual elements, intended or stated uses, or features of a particular embodiment are generally not limited to that particular embodiment, but, where applicable, are interchangeable and can be used in a selected embodiment, even if not specifically shown or described. The same may also be varied in many ways. Such variations are not to be regarded as a departure from the disclosure, and all such modifications are intended to be included within the scope of the disclosure.
Claims (20)
1. A device comprising:
a resistor;
a capacitor having a first end connected with the resistor and a second end connected to ground; and
a control unit connected with a power supply, the control unit including a comparator connected with the capacitor, a reference power supply connected with the comparator, a timer, and a computing unit;
wherein:
the device is configured for measuring voltage of the power supply;
the timer is operable for measuring a time interval between the time when the voltage of the capacitor begins to discharge after being fully charged and the time when the voltage across the capacitor is equal to the voltage of the reference power supply; and
the computing unit is operable for calculating the voltage of the power supply based on the time interval, the voltage of the reference power supply, the resistance of the resistor, and the capacitance of the capacitor.
2. The device of claim 1 , wherein the computing unit is operable for calculating the voltage of the power supply based on the equation Ez=Vcc*EXP(−t/RC) in which Ez is the voltage of the reference power supply, Vcc is the voltage of the power supply, t is the time interval, R is the resistance of the resistor, and C is the capacitance of the capacitor.
3. The device of claim 1 , wherein the device is (a) a detection device for measuring voltage and temperature, and/or (b) a temperature controller.
4. The device of claim 3 , comprising a thermistor connected to the capacitor.
5. The device of claim 4 , wherein the control unit is operable for controlling the capacitor to discharge through the resistor or the thermistor when the capacitor is fully charged and begins to discharge, and for measuring the voltage of the power supply or the temperature of the environment ambient to the thermistor.
6. The device of claim 1 , wherein the reference power supply includes an absolute reference power supply and a relative reference power supply.
7. The device of claim 1 , wherein the comparator is selectively operable to determine temperature and voltage of the reference power supply.
8. The device of claim 1 , wherein the device is for measuring voltage of a battery power supply.
9. A device comprising:
a control unit connectible with a battery; and
a capacitor connected with a resistor and with a comparator switchable by the control unit between relative and absolute reference power supply voltages;
wherein:
the control unit is configured to receive a first timer interrupt indicating completion of a first time interval during which the capacitor has discharged through the resistor from a fully charged state to a voltage equal to the relative reference power supply voltage;
the control unit is configured to receive a second timer interrupt indicating completion of a second time interval during which the capacitor has discharged from a fully charged state through the resistor to a voltage equal to the absolute reference power supply voltage; and
the device is operable to determine the voltage of the battery based on the first and second time intervals and the relative and absolute reference power supply voltages.
10. The device of claim 9 , wherein:
the capacitor is connected with a thermistor; and
temperature of the environment ambient to the thermistor and the voltage of the battery are both determined using the comparator.
11. The device of claim 10 , wherein the capacitor is selectively dischargeable through the resistor or the thermistor, and the control unit is further configured to:
receive a third timer interrupt indicating completion of a third time interval during which the capacitor has discharged through the resistor from a fully charged state to a voltage equal to a selected one of the reference power supply voltages; and
receive a fourth timer interrupt indicating completion of a fourth time interval during which the capacitor has discharged through the thermistor from a fully charged state to a voltage equal to the selected one of the reference power supply voltages;
wherein the device is operable to determine the temperature of the environment ambient to the thermistor, using the resistance of the resistor and the third and fourth time intervals.
12. The device of claim 10 , further operable to use the determined temperature of the environment ambient to the thermistor to determine the absolute reference power supply voltage.
13. The device of claim 10 , wherein the capacitor is chargeable by the battery selectively through the resistor or the thermistor.
14. The device of claim 10 , wherein the resistor and thermistor are each switchable to connect with ground or with the battery voltage.
15. The device of claim 9 , wherein the comparator is switchable to receive the absolute reference power supply voltage through a chip port.
16. The device of claim 9 , wherein the device is (a) a detection device for measuring voltage and temperature, and/or (b) a temperature controller.
17. A device comprising:
a control unit connectible with a battery and configured for receiving timer interrupts;
a capacitor selectively dischargeable through a resistor or through a thermistor;
a comparator connected with the capacitor and selectively configurable for prompting a timer interrupt to the control unit indicating completion of a time interval during which voltage across the capacitor has been discharged, through a selected one of the resistor and the thermistor, from a full charge to a selected one of a relative and an absolute reference power supply voltage;
the device configured to determine voltage of the battery based on:
a first time interval during which the capacitor is discharged through the resistor from a full charge to the relative reference power supply voltage,
a second time interval during which the capacitor is discharged through the resistor from a full charge to the absolute reference power supply voltage, and
the relative and absolute reference power supply voltages;
the device further configured to determine temperature ambient to the thermistor, using a third time interval indicated to the control unit via the comparator, during which the capacitor is discharged through the thermistor from a full charge to a selected one of the relative and absolute reference power supply voltages.
18. The device of claim 17 , further operable to use the determined temperature of the environment ambient to the thermistor to determine the absolute reference power supply voltage.
19. The device of claim 17 , wherein the comparator is switchable to receive the absolute reference power supply voltage through a chip port.
20. The device of claim 17 , wherein the device is (a) a detection device for measuring voltage and temperature, and/or (b) a temperature controller.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US15/043,709 US20160161563A1 (en) | 2013-03-22 | 2016-02-15 | Devices for Measuring Voltage of a Power Supply, Detection Devices, and Temperature Controllers |
Applications Claiming Priority (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310095342.1 | 2013-03-22 | ||
CN 201320134952 CN203164266U (en) | 2013-03-22 | 2013-03-22 | Power source voltage measuring device, temperature detection device equipped with power source voltage measuring device, and temperature controller |
CN201310095342.1A CN104062482B (en) | 2013-03-22 | 2013-03-22 | Measure the device of supply voltage and temperature-detecting device and temperature controller comprising it |
CN201320134952.3 | 2013-03-22 | ||
US14/153,334 US9261540B2 (en) | 2013-03-22 | 2014-01-13 | Devices for measuring voltage of a power supply, detection devices, and temperature controllers |
US15/043,709 US20160161563A1 (en) | 2013-03-22 | 2016-02-15 | Devices for Measuring Voltage of a Power Supply, Detection Devices, and Temperature Controllers |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/153,334 Continuation US9261540B2 (en) | 2013-03-22 | 2014-01-13 | Devices for measuring voltage of a power supply, detection devices, and temperature controllers |
Publications (1)
Publication Number | Publication Date |
---|---|
US20160161563A1 true US20160161563A1 (en) | 2016-06-09 |
Family
ID=51568706
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/153,334 Active 2034-06-02 US9261540B2 (en) | 2013-03-22 | 2014-01-13 | Devices for measuring voltage of a power supply, detection devices, and temperature controllers |
US15/043,709 Abandoned US20160161563A1 (en) | 2013-03-22 | 2016-02-15 | Devices for Measuring Voltage of a Power Supply, Detection Devices, and Temperature Controllers |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/153,334 Active 2034-06-02 US9261540B2 (en) | 2013-03-22 | 2014-01-13 | Devices for measuring voltage of a power supply, detection devices, and temperature controllers |
Country Status (1)
Country | Link |
---|---|
US (2) | US9261540B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9547037B2 (en) * | 2014-02-19 | 2017-01-17 | Nxp Usa, Inc. | System and method for evaluating a capacitive interface |
JP6204329B2 (en) * | 2014-11-28 | 2017-09-27 | 京セラドキュメントソリューションズ株式会社 | Fixing apparatus and image forming apparatus |
KR102451873B1 (en) * | 2016-12-13 | 2022-10-06 | 현대자동차 주식회사 | APPARATUS FOR resistance measurement |
CN113791277A (en) * | 2021-09-16 | 2021-12-14 | 惠州市乐亿通科技有限公司 | Insulation resistance detection device and forklift |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090033294A1 (en) * | 2005-11-10 | 2009-02-05 | Matsushita Electric Industrial Co., Ltd. | Vehicle source device |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5276085A (en) | 1975-12-20 | 1977-06-25 | Toshiba Corp | Clinical thermometer |
US4107667A (en) | 1976-11-22 | 1978-08-15 | Texas Instruments Incorporated | Dual slope analog-to-digital converter with unique counting arrangement |
JPS5684562A (en) | 1979-12-13 | 1981-07-09 | Canon Inc | Battery checker |
US4335847A (en) | 1980-05-27 | 1982-06-22 | Levine Michael R | Electronic thermostat with repetitive operation cycle |
US5629604A (en) | 1992-11-13 | 1997-05-13 | Zenith Data Systems Corporation | Computer power supply system |
JP5697233B2 (en) * | 2010-09-16 | 2015-04-08 | 東日本旅客鉄道株式会社 | Environmental information measuring apparatus, environmental information measuring system, and environmental information measuring method |
JP2012137341A (en) * | 2010-12-24 | 2012-07-19 | Toshiba Corp | Electronic apparatus and capacitance detection method for capacitor in electronic apparatus |
KR20120120706A (en) * | 2011-04-25 | 2012-11-02 | 삼성전자주식회사 | Auxiliary power supply and user device including auxiliary power supply |
-
2014
- 2014-01-13 US US14/153,334 patent/US9261540B2/en active Active
-
2016
- 2016-02-15 US US15/043,709 patent/US20160161563A1/en not_active Abandoned
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090033294A1 (en) * | 2005-11-10 | 2009-02-05 | Matsushita Electric Industrial Co., Ltd. | Vehicle source device |
Also Published As
Publication number | Publication date |
---|---|
US20140285222A1 (en) | 2014-09-25 |
US9261540B2 (en) | 2016-02-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20160161563A1 (en) | Devices for Measuring Voltage of a Power Supply, Detection Devices, and Temperature Controllers | |
CN103168247B (en) | For determining the system and method for the battery dump energy of cell apparatus | |
US10852451B2 (en) | System for interfacing an LC sensor, related method and computer program product | |
US20200251982A1 (en) | Method and device for on-line monitoring dc-bus capacitor | |
US8264231B2 (en) | Switch circuit | |
JPH0474290A (en) | Ic card | |
WO2005119411A2 (en) | Accessory identifier in an electronic device | |
EP2966410B1 (en) | A method of interfacing a lc sensor, related system and computer program product | |
CN102209881B (en) | Device for measuring a capacitance variation in a variable capacity structure | |
US9116052B2 (en) | Temperature measuring devices and related methods | |
US9077197B2 (en) | Battery residual amount measurement system, computer-readable medium storing battery residual amount measurement program, and battery residual amount measurement method | |
US9182430B2 (en) | Device and method for measuring a value of a resistor | |
CN104062482A (en) | Power voltage measuring device, temperature detecting device comprising same, and temperature controller | |
US20120094154A1 (en) | Battery systems with battery gauge functions | |
CN104390718A (en) | Temperature detection method | |
CN105403837A (en) | System and method for determining remaining battery capacity of battery device | |
CN105547514A (en) | Temperature measurement circuit and method | |
CN105698957A (en) | Temperature measuring circuit and method | |
CN203164266U (en) | Power source voltage measuring device, temperature detection device equipped with power source voltage measuring device, and temperature controller | |
US11281314B2 (en) | Methods and apparatus for variable capacitance detection | |
US11316356B2 (en) | Methods and apparatus for a battery | |
CN106918354B (en) | Sensing system and applicable sensing information determination method | |
US11054933B2 (en) | Touch sensor circuit and touch sensor method | |
US11144106B2 (en) | Battery management system for gauging with low power | |
JP5482694B2 (en) | Power converter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: EMERSON ELECTRIC CO., MISSOURI Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:TU, LIHUI;CAO, LIANG;CHU, CUIKUN;REEL/FRAME:037734/0189 Effective date: 20131225 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |