CN1982912A - Battery detection system and method - Google Patents
Battery detection system and method Download PDFInfo
- Publication number
- CN1982912A CN1982912A CN 200510134472 CN200510134472A CN1982912A CN 1982912 A CN1982912 A CN 1982912A CN 200510134472 CN200510134472 CN 200510134472 CN 200510134472 A CN200510134472 A CN 200510134472A CN 1982912 A CN1982912 A CN 1982912A
- Authority
- CN
- China
- Prior art keywords
- battery
- load
- voltage value
- switch
- detection system
- 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.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 41
- 238000000034 method Methods 0.000 title claims description 10
- 230000005669 field effect Effects 0.000 claims description 7
- 229910044991 metal oxide Inorganic materials 0.000 claims description 7
- 150000004706 metal oxides Chemical class 0.000 claims description 7
- 239000004065 semiconductor Substances 0.000 claims description 7
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 claims description 4
- 229910052744 lithium Inorganic materials 0.000 claims description 4
- 229910018095 Ni-MH Inorganic materials 0.000 claims description 3
- 229910018477 Ni—MH Inorganic materials 0.000 claims description 3
- 230000008878 coupling Effects 0.000 claims description 2
- 238000010168 coupling process Methods 0.000 claims description 2
- 238000005859 coupling reaction Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 229910052987 metal hydride Inorganic materials 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 229910052759 nickel Inorganic materials 0.000 description 1
- PXHVJJICTQNCMI-UHFFFAOYSA-N nickel Substances [Ni] PXHVJJICTQNCMI-UHFFFAOYSA-N 0.000 description 1
- -1 nickel metal hydride Chemical class 0.000 description 1
Images
Landscapes
- Secondary Cells (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种电池侦测系统及方法,尤其是有关于一种可以侦测电池种类及其可用电量的电池侦测系统及方法。The present invention relates to a battery detection system and method, in particular to a battery detection system and method capable of detecting the battery type and its available power.
背景技术Background technique
一般而言,电子装置的制造商如果能够侦测该电子装置中电池的电量尚有多少,则可设计出更具有便利性的电子装置供使用者使用。举例而言,如果能够侦测数字相机的电池的电量尚有多少,则可呈现数字相机的可拍张数的资料供使用者参考;或者,如果能够侦测数字录音机的电池的电量尚有多少,则可呈现数字录音机的可录音时间供使用者参考。Generally speaking, if a manufacturer of an electronic device can detect how much power is left in the battery in the electronic device, it can design a more convenient electronic device for users to use. For example, if it is possible to detect how much power is left in the battery of a digital camera, the information on the number of pictures that can be taken by the digital camera can be presented for the user's reference; , the recordable time of the digital recorder can be displayed for the user's reference.
先前技术通常是以电池所量测出来的电压配合一个电压/电量对照表,来评估该电池的可用电量。然而,目前市面上各种电池的种类繁多,在不知道电池种类的情况下,先前技术只能定出一个粗略的电压/电量对照表,所以量测出来的电压无法代表真正的电量。In the prior art, the voltage measured by the battery is usually combined with a voltage/power comparison table to evaluate the available power of the battery. However, there are many types of batteries on the market at present. Without knowing the type of battery, the previous technology can only set a rough voltage/power comparison table, so the measured voltage cannot represent the real power.
因此,实在有必要提供一种可侦测电池种类的电池侦测系统及方法,可以侦测及分辨出不同种类的电池,以达到较精准的电量显示。Therefore, it is really necessary to provide a battery detection system and method capable of detecting battery types, which can detect and distinguish different types of batteries, so as to achieve more accurate power display.
发明内容Contents of the invention
本发明的目的在于提供一种电池侦测系统及其方法。The object of the present invention is to provide a battery detection system and method thereof.
为实现上述目的,本发明提供的电池侦测系统,设置于一电子装置中,用以侦测该电子装置中一电池的种类及其可用电量,该电池侦测系统包含:In order to achieve the above object, the battery detection system provided by the present invention is set in an electronic device to detect the type of a battery in the electronic device and its available power. The battery detection system includes:
一处理器,该处理器电性耦接一模拟数字转换器(AD Converter)以及一输入/输出控制端(I/O Control);A processor, the processor is electrically coupled to an analog-to-digital converter (AD Converter) and an input/output control terminal (I/O Control);
一电路,该电路包含一开关以及一负载,其中该输入/输出控制端可用来控制该开关,并且该开关可控制该负载的开启或关闭;A circuit, the circuit includes a switch and a load, wherein the input/output control terminal can be used to control the switch, and the switch can control the load to be turned on or off;
当电流流经该负载并且该负载被开启时,该模拟数字转换器可取得该电池的一第一电压值,当电流流经该负载并且该负载被关闭时,该模拟数字转换器可取得该电池的一第二电压值,由该处理器运算该第一电压值与该第二电压值,即可测得该电池的电池种类或其可用电量。When the current flows through the load and the load is turned on, the analog-to-digital converter can obtain a first voltage value of the battery, and when the current flows through the load and the load is turned off, the analog-to-digital converter can obtain the first voltage value A second voltage value of the battery, by calculating the first voltage value and the second voltage value by the processor, the type of the battery or its available capacity can be measured.
所述的电池侦测系统,其中该一输入/输出控制端为一输入/输出控制接脚(I/O Control Pin)。In the battery detection system, the I/O control terminal is an I/O control pin (I/O Control Pin).
所述的电池侦测系统,其中该开关为一金属氧化半导体场效晶体管(Metal Oxide Semiconductor Field Effect Transistor,MOSFET)。In the battery detection system, the switch is a metal oxide semiconductor field effect transistor (Metal Oxide Semiconductor Field Effect Transistor, MOSFET).
所述的电池侦测系统,其中该负载为一电阻。In the battery detection system, the load is a resistor.
所述的电池侦测系统,其中该电池包含:一镍氢(Ni-MH)电池、一锂(Li)电池或一碱性(Alkaline)电池。The battery detection system, wherein the battery includes: a Ni-MH battery, a lithium (Li) battery or an alkaline (Alkaline) battery.
所述的电池侦测系统,其中该处理器是由一预先决定的压降特性表,而测得该电池的电池种类或其可用电量。In the battery detection system, the processor detects the type of the battery or its available capacity from a predetermined voltage drop characteristic table.
本发明提供的电池侦测方法,用以侦测一电子装置中一电池的种类及其可用电量,该电池侦测方法包含:The battery detection method provided by the present invention is used to detect the type of a battery and its available power in an electronic device. The battery detection method includes:
电性耦接该电池至一电路,该电路包含一开关以及一负载;Electrically coupling the battery to a circuit, the circuit includes a switch and a load;
控制该开关,以开启该负载;controlling the switch to turn on the load;
在该负载被开启的状态下,由电流流经该负载,而取得该电池的一第一电压值;When the load is turned on, current flows through the load to obtain a first voltage value of the battery;
控制该开关,以关闭该负载;Control the switch to turn off the load;
在该负载被关闭的状态下,由电流流经该负载,而取得该电池的一第二电压值;以及When the load is turned off, a second voltage value of the battery is obtained from current flowing through the load; and
比较该第一电压值与该第二电压值,以测得该电池的电池种类或可用电量。Comparing the first voltage value and the second voltage value to measure the battery type or available capacity of the battery.
所述的电池侦测方法,其中该开关为一金属氧化半导体场效晶体管。In the battery detection method, the switch is a metal oxide semiconductor field effect transistor.
所述的电池侦测方法,其中该负载为一电阻。In the battery detection method, the load is a resistor.
所述的电池侦测方法,进一步包含以下方法:The battery detection method further includes the following methods:
由比较该第一电压值与该第二电压值的一压降与一预先决定的压降特性表,而测得该电池的电池种类或其可用电量。By comparing a voltage drop of the first voltage value and the second voltage value with a predetermined voltage drop characteristic table, the battery type or the available capacity of the battery is measured.
本发明提供的电池侦测系统及其方法可以侦测及分辨出不同种类的电池,以达到较精准的电量显示。The battery detection system and method provided by the present invention can detect and distinguish different types of batteries, so as to achieve more accurate power display.
附图说明Description of drawings
图1为依据本发明的电池侦测系统的配置示意图。FIG. 1 is a schematic configuration diagram of a battery detection system according to the present invention.
图2为依据本发明的电池侦测方法的步骤流程图。FIG. 2 is a flow chart of the steps of the battery detection method according to the present invention.
具体实施方式Detailed ways
为让本发明的上述和其他目的、特征和优点能更明显易懂,下文特举出较佳实施例,并配合所附图式,作详细说明如下。In order to make the above and other objects, features and advantages of the present invention more comprehensible, preferred embodiments are listed below and described in detail in conjunction with the accompanying drawings.
如前所述,在电池没有负载的情况下,如果直接量测电池的电压,将无法得到电池目前还有多少电量,也无法得知电池的种类。As mentioned above, when the battery is not loaded, if the voltage of the battery is directly measured, it will not be possible to know how much power the battery currently has, nor can it know the type of the battery.
因此,本发明主要利用不同种类的电池经过固定电阻会有不同的压降的特性,在电池侦测系统中加入一电阻与一逻辑闸(例如一金属氧化半导体场效晶体管),让电池侦测系统控制电流经过此电阻,并记录电阻被逻辑闸开启前后的电压值。由电池的压降程度可以得知电池是镍氢充电电池,锂电池还是碱性电池。此外,由于不同厂牌的电池还有不同的压降特性,所以本发明亦可以用来分辨出电池的厂牌。Therefore, the present invention mainly utilizes the characteristics that different types of batteries have different voltage drops through a fixed resistor, and adds a resistor and a logic gate (such as a metal oxide semiconductor field effect transistor) to the battery detection system to allow the battery to detect The system controls the current to pass through this resistor, and records the voltage value before and after the resistor is opened by the logic gate. From the voltage drop of the battery, it can be known whether the battery is a Ni-MH rechargeable battery, a lithium battery or an alkaline battery. In addition, since batteries of different brands have different voltage drop characteristics, the present invention can also be used to distinguish the brands of batteries.
以下请参考图1关于本发明的电池侦测系统的示意图。如图1所示,根据本发明的一实施例,本发明所提供的电池侦测系统1设置于一电子装置(图未示)中,由电源供应模组30而提供系统电源,并由电性耦接该电子装置中一电池40,而可以测得该电池40的种类及其可用电量。Please refer to FIG. 1 for a schematic diagram of the battery detection system of the present invention. As shown in FIG. 1, according to an embodiment of the present invention, the battery detection system 1 provided by the present invention is set in an electronic device (not shown in the figure), and the system power is provided by the power supply module 30, and the battery The electronic device is electrically coupled to a battery 40, and the type of the battery 40 and its available power can be measured.
本发明的电池侦测系统1包含:一处理器100、一模拟数字转换器(ADConverter)200、一输入/输出控制端(I/O Control)300以及一电路20,其包含一负载400以及一开关500。其中,输入/输出控制端300可用来控制该开关500,并且该开关500可控制该负载400的开启或关闭。在本发明的较佳实施例中,输入/输出控制端300为一输入/输出控制端接脚;开关500为一金属氧化半导体场效晶体管(MOSFET);而负载400则为一电阻。The battery detection system 1 of the present invention includes: a processor 100, an analog-to-digital converter (ADConverter) 200, an input/output control terminal (I/O Control) 300 and a circuit 20, which includes a load 400 and a Switch 500. Wherein, the input/output control terminal 300 can be used to control the switch 500 , and the switch 500 can control the load 400 to be turned on or off. In a preferred embodiment of the present invention, the I/O control terminal 300 is an I/O control terminal pin; the switch 500 is a metal oxide semiconductor field effect transistor (MOSFET); and the load 400 is a resistor.
本发明由上述的配置,即可利用输入/输出控制端300控制开关500,而使负载400被开启,并当电流流经负载400时,模拟数字转换器200可取得该电池40的一第一电压值。同样地,本发明亦可利用输入/输出控制端300控制开关500,而使负载400被关闭,并当电流流经负载400时,模拟数字转换器可取得该电池40的一第二电压值。According to the above configuration, the present invention can use the input/output control terminal 300 to control the switch 500, so that the load 400 is turned on, and when the current flows through the load 400, the analog-to-digital converter 200 can obtain a first value of the battery 40 Voltage value. Similarly, the present invention can also use the input/output control terminal 300 to control the switch 500 to turn off the load 400 , and when the current flows through the load 400 , the analog-to-digital converter can obtain a second voltage value of the battery 40 .
接着,由处理器100运算第一电压值与第二电压值,并与一预先决定的压降特性表进行比较,即可测得电池40的电池种类为镍氢电池、锂电池或者碱性电池,从而可以进一步得到该电池40的可用电量的资料。Next, the first voltage value and the second voltage value are calculated by the processor 100, and compared with a predetermined voltage drop characteristic table, it can be determined that the battery type of the battery 40 is a nickel metal hydride battery, a lithium battery or an alkaline battery , so that the information on the available power of the battery 40 can be further obtained.
本发明另提供一种电池侦测方法,可用以侦测一电子装置中的电池种类及其可用电量。图2显示本发明的电池侦测方法的步骤流程图。如图2所示,本发明的方法包含步骤S21、S22、S23、S24、S25以及S26。The present invention also provides a battery detection method, which can be used to detect the battery type and its available power in an electronic device. FIG. 2 shows a flowchart of the steps of the battery detection method of the present invention. As shown in FIG. 2 , the method of the present invention includes steps S21 , S22 , S23 , S24 , S25 and S26 .
首先,本发明进行步骤S21,如图1所示,将待侦测的电池40予以电性耦接至电路20,其中电路20包含一开关(例如一金属氧化半导体场效晶体管)500以及一负载(例如一电阻)400。First, the present invention proceeds to step S21. As shown in FIG. 1, the battery 40 to be detected is electrically coupled to the circuit 20, wherein the circuit 20 includes a switch (such as a metal oxide semiconductor field effect transistor) 500 and a load (eg a resistor) 400 .
接着,本发明进行步骤S22,控制该开关500,以开启该负载400;并进行步骤S23,在负载400被开启的状态下,由电流流经负载400,而取得电池40的一第一电压值。Next, the present invention proceeds to step S22, controlling the switch 500 to turn on the load 400; and proceeds to step S23, in the state where the load 400 is turned on, the current flows through the load 400 to obtain a first voltage value of the battery 40 .
接着,本发明进行步骤S24,控制该开关500,以关闭该负载400;并进行步骤S25,在负载400被关闭的状态下,由电流流经负载400,而取得电池40的一第二电压值。Then, the present invention proceeds to step S24, controlling the switch 500 to turn off the load 400; and proceeds to step S25, in the state where the load 400 is turned off, the current flows through the load 400 to obtain a second voltage value of the battery 40 .
当取得负载400被开启前后的第一电压值及第二电压值后,本发明即可进行步骤S26,由比较第一电压值与第二电压值的压降与一预先决定的压降特性表,而可以得知电池40的种类及其可用电量。After obtaining the first voltage value and the second voltage value before and after the load 400 is turned on, the present invention can proceed to step S26, by comparing the voltage drop between the first voltage value and the second voltage value with a predetermined voltage drop characteristic table , and the type of the battery 40 and its available capacity can be known.
虽然本发明已以较佳实施例进行描述,然其并非用以限定本发明,任何熟习此技术者,在不脱离本发明的精神和范围内,当可作些许的更动与润饰,因此本发明的保护范围当视申请专利范围所界定内容为准。Although the present invention has been described with preferred embodiments, it is not intended to limit the present invention. Anyone skilled in the art can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, this The scope of protection of an invention shall be subject to the content defined in the scope of the patent application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200510134472 CN1982912A (en) | 2005-12-15 | 2005-12-15 | Battery detection system and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200510134472 CN1982912A (en) | 2005-12-15 | 2005-12-15 | Battery detection system and method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN1982912A true CN1982912A (en) | 2007-06-20 |
Family
ID=38165586
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 200510134472 Pending CN1982912A (en) | 2005-12-15 | 2005-12-15 | Battery detection system and method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1982912A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110412476A (en) * | 2018-04-27 | 2019-11-05 | 深圳市理邦精密仪器股份有限公司 | Battery electric quantity checking device and method, portable medical device |
-
2005
- 2005-12-15 CN CN 200510134472 patent/CN1982912A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110412476A (en) * | 2018-04-27 | 2019-11-05 | 深圳市理邦精密仪器股份有限公司 | Battery electric quantity checking device and method, portable medical device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101141077B (en) | Battery control device, battery control method | |
| US20200333377A1 (en) | Battery Management System, Battery Pack Including Same, and Method for Determining Failure in Current Detecting Circuit | |
| CN1332474C (en) | Battery apparatus and discharge controlling method of battery apparatus | |
| US20090251104A1 (en) | Charge/discharge protection circuit, battery pack embedding the charge/discharge protection circuit, electronic apparatus using the battery pack | |
| JP2021501895A (en) | Battery pack including current measuring device, current measuring method and the current measuring device | |
| CN103460063B (en) | Battery voltage measurement | |
| TW201403105A (en) | Method and system for calculating capacities of battery | |
| CN106125009B (en) | Battery performance detection method and battery performance detection device | |
| JP2019504451A (en) | Effective battery cell balancing method and system using duty control | |
| JP2022523930A (en) | Charge state estimation device and method | |
| CN101334452A (en) | battery test device | |
| CN110832332A (en) | Voltage measurement device and method | |
| CN101488589A (en) | Battery assembly and method for measuring charging state thereof | |
| CN113285499B (en) | Charging control method, electronic device, control device and storage medium | |
| JP2008128738A (en) | Battery control device, battery control method, battery pack, electronic device, battery control program, and control circuit | |
| US20050035739A1 (en) | Power control device and the operating method thereof | |
| JPH09243718A (en) | Battery pack and battery status display method | |
| TWI299600B (en) | Battery detecting system and method | |
| US8606533B2 (en) | Battery gas-gauge circuit and method thereof | |
| CN1982912A (en) | Battery detection system and method | |
| US20110291705A1 (en) | Electronic equipment and power supply control method | |
| CN100547419C (en) | Battery detection system and method thereof | |
| JP3478069B2 (en) | Method for detecting remaining capacity of lithium ion secondary battery | |
| TWI703335B (en) | Device and method for monitoring remaining power of battery | |
| KR20200058999A (en) | Apparatus and method for diagnosing software compatibility of BMS |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| ASS | Succession or assignment of patent right |
Owner name: HONGFUJIN PRECISION INDUSTRY (SHENZHEN) CO., LTD. Free format text: FORMER OWNER: PULIER SCI-TECH CO., LTD. Effective date: 20090515 |
|
| C41 | Transfer of patent application or patent right or utility model | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20090515 Address after: 2, Dong Huan two road, tenth Industrial Zone, Longhua Town, Baoan District, Guangdong, Shenzhen Province, China: 518109 Applicant after: Fujin Precision Industry (Shenzhen) Co., Ltd. Co-applicant after: Hon Hai Precision Industry Co., Ltd. Address before: Taipei city of Taiwan Province Applicant before: Pulier Science and Technology Co., Ltd. |
|
| C12 | Rejection of a patent application after its publication | ||
| RJ01 | Rejection of invention patent application after publication |
Open date: 20070620 |