Connect public, paid and private patent data with Google Patents Public Datasets

The authentication method of an electronic device and the battery module

Download PDF

Info

Publication number
CN102820970B
CN102820970B CN 201110152638 CN201110152638A CN102820970B CN 102820970 B CN102820970 B CN 102820970B CN 201110152638 CN201110152638 CN 201110152638 CN 201110152638 A CN201110152638 A CN 201110152638A CN 102820970 B CN102820970 B CN 102820970B
Authority
CN
Grant status
Grant
Patent type
Application number
CN 201110152638
Other languages
Chinese (zh)
Other versions
CN102820970A (en )
Inventor
郭永宪
陈泰全
李志鸿
Original Assignee
宏达国际电子股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Grant date

Links

Abstract

电子装置及其电池模块的认证方法,该电子装置包括电池模块以及电池认证模块。 The authentication method of an electronic device and the battery module, the electronic device includes a battery module and a battery authentication module. 电池模块具有认证电路以及识别电阻。 Authentication circuit, and the battery module having the identification resistor. 当电池模块该连接至电池认证模块时,电池认证模块依据参考电阻与识别电阻的耦接点的电压电平来获得电池模块的类型信息。 When the battery module is connected to the battery authentication module, the authentication module based on the battery voltage level of the coupling point with the reference resistance of the identification resistor to obtain type information of the battery module. 电池认证模块并传送认证需求至认证电路,使认证电路通过参考电阻与识别电阻的耦接路径传送认证信息至电池认证模块。 And the battery authentication module transmits an authentication demand to the authentication circuit, the authentication circuit to the battery authentication module by coupling path for transmitting the authentication information and the identification resistor of the reference resistor. 其中,参考电阻内建在电池认证模块中。 Wherein the reference resistor built in the battery authentication module.

Description

电子装置及其电池模块的认证方法 The authentication method of an electronic device and the battery module

技术领域 FIELD

[0001]本发明涉及一种电子装置的电池模块的认证装置及其认证方法。 [0001] The authentication apparatus and an authentication method relates to an electronic device battery module of the invention.

背景技术 Background technique

[0002]请参照图1,图1绘示已知的电子装置100的示意图。 [0002] Referring to FIG 1, FIG 1 illustrates a schematic view of a known electronic device 100 is plotted. 在这种的已知技术领域中,用来连接至电子装置100以提供电力的电池110中设置有一个下拉电阻RPL。 In this known art, for connection to the electronic device 100 to provide power to the battery 110 is provided with a pull-down resistor RPL. 下拉电阻RPL串接在电池110的连接端CNI与接地电压GND间。 RPL pull-down resistor connected in series between the connection end of the battery ground voltage GND CNI 110. 而电子装置100中用来进行电池认证的电池认证模块120中则包括上拉电阻RPU、晶体管Ml、电阻RSDI以及处理器121及122。 In the electronic device 100 and the battery authentication for a battery authentication module 120 includes a pull-up resistor RPU, the transistor Ml, resistors 121 and 122 and a processor RSDI. 上拉电阻RPU连接至电压Vl以及晶体管Ml的栅极,晶体管Ml的漏极则耦接至电压V2以及处理器121,晶体管Ml的源极则耦接至接地电压GND。 Pull-up resistor RPU is connected to the gate of the transistor Ml and the voltage Vl, the drain of the transistor Ml is coupled to a voltage source V2, and the processor 121, the source of the transistor Ml is coupled to ground voltage GND. 电阻RSDl则串接在端点DT及处理器122间。 RSDl resistor connected in series between the processor 122 and DT endpoints. 另外,电池认证模块120还连接至连接端CN2。 Further, battery authentication module 120 is also connected to the connecting terminal CN2.

[0003]当电池110通过其连接端CNl与电池认证模块120所连接的连接端CN2相互连接时,端点DT上的电压会等于电压Vl依据上拉电阻RPU以及下拉电阻RPL的电阻值来进行分压所产生的电压值。 [0003] When the battery 110 through which the connection end CNl battery authentication module connection terminal CN2 120 is connected is connected to each other, the voltage on the terminal DT will be equal to the pull-up resistor RPU and the resistance value of the pull-down resistor of RPL voltage Vl according to points the voltage value of the generated voltage. 此时处理器122则读取端点DT上的电压,以区别电池110的厂牌。 At this time, the voltage at the terminal processor 122 DT is read, the battery 110 to distinguish label. 另外,在电池110有效连接至电池认证模块120时,端点DT上的电压会降低并使晶体管Ml关闭。 Further, operatively connected to the battery cell 110 when the authentication module 120, the voltage on the terminal DT decreases and transistor Ml is turned off. 因此,处理器121接收到等于电压V2的电压值,并据此判断电池110已经被连接至电子装置100上。 Thus, the processor 121 receives a voltage equal to the voltage V2, and accordingly determines that the battery 110 has been connected to the electronic device 100.

[0004]由于在这种已知的电池识别方法下,非原厂的电池仅需要在其中配置一个与原厂电池中的下拉电阻RPL相同阻值的电阻,就可以使电池认证模块120无法辨识是否为原厂的电池。 [0004] Since in the known method of cell identification, non-original batteries require only a configuration in which the resistor is the same as the original battery resistance the RPL pull-down resistor, the battery can not recognize the authentication module 120 whether for the original battery. 如此一来,当电子装置100对此种非原厂的电池进行充电的动作时,就有可能因为电压过充而产生安全上的顾虑。 Thus, the electronic device 100 when the charging operation of such non-original batteries, because it is possible to generate a voltage overcharge safety concerns.

发明内容 SUMMARY

[0005]本发明提供一种电子装置,以对其所连接的电池模块进行认证,以避免非认证的电池模块对电子装置所可能造成的损害。 [0005] The present invention provides an electronic device, connected to its battery module for authentication, to avoid damage to the non-authentication of the electronic device battery module that might be caused.

[0006]本发明提供一种电子装置的电池模块的认证方法,以避免非认证的电池模块对电子装置所可能造成的损害。 [0006] The present invention provides an authentication method impaired cell module of an electronic device, to prevent non-authentic battery module can cause the electronic device. .

[0007]本发明提出一种电子装置,包括电池模块以及电池认证模块。 [0007] The present invention provides an electronic apparatus including a battery module and a battery authentication module. 电池模块具有认证电路以及识别电阻,其中,识别电阻耦接至第一参考电压。 The battery module authentication circuit having a resistor and an identification, wherein the identification resistor coupled to a first reference voltage. 电池认证模块具有参考电阻耦接至第二参考电压。 Battery authentication module having a reference resistor is coupled to a second reference voltage. 当电池模块该连接至电池认证模块时,参考电阻与识别电阻串接于第一及第二参考电压间。 When the battery module is connected to the battery authentication module, the identification resistor and the reference resistor connected in series between the first and second reference voltages. 电池认证模块依据参考电阻与识别电阻的耦接点的电压电平来获得电池模块的类型信息。 Battery based authentication module coupled to the voltage level of the reference contact resistance of the identification resistor to obtain type information of the battery module. 电池认证模块并传送认证需求至认证电路,使认证电路通过参考电阻与识别电阻的耦接路径传送认证信息至电池认证模块。 And the battery authentication module transmits an authentication demand to the authentication circuit, the authentication circuit to the battery authentication module by coupling path for transmitting the authentication information and the identification resistor of the reference resistor.

[0008]本发明另提出一种具有电池认证模块的电子装置的电池模块的认证方法,包括:先读取电池认证模块与电池模块的连接端点的电压电平,并依据电压电平来获得电池模块的类型信息。 [0008] The authentication method according to the present invention further provides a battery module having a battery of an electronic device authentication module, comprising: a first read voltage level of the battery connection terminals of the battery module and an authentication module, and based on the voltage level of the battery is obtained module of the type of information. 再通过电池认证模块传送认证需求至认证电路,并使认证电路依据认证需求来通过电池认证模块与电池模块连接的端点传送认证信息至电池认证模块。 Through the battery authentication module transmits an authentication demand to the authentication circuit, and the requirements for certification authentication circuit are connected by the battery authentication module and the battery module to the battery authentication information transmitting terminal authentication module.

[0009]基于上述,本发明依据电池认证模块与电池模块的连接端点上的电压电平,来获知连接至电子装置的电池模块的类型信息。 [0009] Based on the above types of information, according to the present invention, the voltage level on the battery connection terminal authentication module and battery module, are connected to the electronic device to learn the battery module. 并且,本发明更利用内建在电子装置中的电池认证模块,来接收由电池认证模块中的认证电路来传送的认证信息。 The present invention is further use of the built-in battery in the electronic device authentication module, authentication information is received by the battery authentication module to transmit the authentication circuit. 进以更有效的确定连接至电子装置的电池模块的规格、型号及厂牌至少其中之一的类型信息,可以有效防止电子装置因使用非认证的电池模块而造成的系统的损害。 Type information into at least one of the specifications, model and brand of battery connected to the electronic device more efficient determination module, can effectively prevent damage to the system due to the use of non-authentication of the electronic device battery module caused.

[0010]为让本发明的上述特征和优点能更明显易懂,下文特举实施例,并配合附图作详细说明如下。 [0010] In order to make the above features and advantages of the invention more comprehensible, several embodiments accompanied with figures are described in detail below.

附图说明 BRIEF DESCRIPTION

[0011]图1绘示已知的电子装置100的示意图。 A schematic diagram illustrating a known electronic device [0011] 100 of FIG. 1 is a schematic.

[0012]图2绘示本发明一实施例的电子装置200的示意图。 [0012] FIG. 2 shows a schematic view of the present invention, an electronic device 200 according to an embodiment.

[0013]图3绘示本发明实施例的电池认证模块220的一实施方式的示意图。 [0013] FIG. 3 shows a schematic view of the present invention, the battery authentication module according to an embodiment of the embodiment 220 of FIG.

[0014]图4A及图4B分别绘示电池认证模块与电池模块间的信息传送的波形图。 [0014] FIG. 4A and FIG waveform information transmission between the battery module and the battery authentication module shown in FIG. 4B, respectively.

[0015]图5绘示本发明实施例的电池认证模块220的另一实施方式。 [0015] FIG. 5 shows a further embodiment of the present invention, the battery authentication module 220 of the embodiment example of embodiment.

[0016]图6绘示本发明一实施例的电子装置的电池模块的认证方法。 [0016] FIG. 6 illustrates an authentication method according to the present invention, a battery module of an electronic device according to an embodiment.

[0017]【主要元件符号说明】 [0017] The main reference numerals DESCRIPTION

[0018] 200:电子装置 [0018] 200: electronic device

[0019] 210:电池模块 [0019] 210: battery module

[0020] 220:电池认证模块 [0020] 220: battery authentication module

[0021] 211:认证电路 [0021] 211: authentication circuit

[0022] 221:主要处理器 [0022] 221: Main Processor

[0023] 222、223、224:辅助处理模块 [0023] 222,223,224: secondary processing module

[0024] DT:端点 [0024] DT: Endpoint

[0025] RBAT_ID、RBAT:分压电阻 [0025] RBAT_ID, RBAT: dividing resistor

[0026] RUP:参考电阻 [0026] RUP: reference resistance

[0027] RPL:识别电阻 [0027] RPL: ​​identification resistor

[0028] GND、V1:参考电压 [0028] GND, V1: the reference voltage

[0029] CN1、CN2:连接端点 [0029] CN1, CN2: connection endpoint

[0030] PTl:路径 [0030] PTl: Path

[0031] RESD:电阻 [0031] RESD: Resistance

[0032] VUP:上拉电压 [0032] VUP: pull-up voltage

[0033] T0、T1、T3、TL、TH:时间区间 [0033] T0, T1, T3, TL, TH: time interval

[0034] S610〜S630:电池模块的认证步骤 [0034] S610~S630: battery module authentication step

具体实施方式 detailed description

[0035] 请参照图2,图2绘示本发明一实施例的电子装置200的示意图。 [0035] Referring to FIG. 2, FIG. 2 is a schematic diagram illustrating an electronic device according to an embodiment of the present invention 200 is shown. 电子装置200包括电池模块210以及电池认证模块220 ο电池模块210具有认证电路211以及识别电阻RPL,其中,识别电阻RPL的一端耦接至参考电压GND,识别电阻RPL的另一端则耦接至认证电路211。 The electronic device 200 includes a battery module 210 and the battery authentication module 220 ο battery module 210 includes an authentication circuit 211 and the identification resistor RPL, wherein one end of the identification resistor RPL is coupled to the reference voltage the GND, and the other end of the identification resistor RPL is coupled to the authentication circuit 211. 电池认证模块220则具有参考电阻RUP耦接至参考电压Vl。 Battery authentication module 220 having RUP reference resistor coupled to a reference voltage Vl. 其中,电池模块210以及电池认证模块220各具有连接端点CNl以及CN2。 Wherein the battery modules 210 and 220 each having an authentication module battery connection terminals CNl and CN2.

[0036]当电池模块210连接至电池认证模块220时,参考电阻RUP与识别电阻RPL串接于参考电压Vl及GND间。 [0036] When the battery module 210 is connected to the battery authentication module 220, the identification resistor and the reference resistor RUP RPL connected in series between the reference voltage Vl and GND. 也就是说,参考电阻RUP与识别电阻RPL耦接的端点DT上的电压,会等于参考电压Vl依据参考电阻RUP与识别电阻RPL的电阻值所进行的分压的结果。 That is, the voltage across the reference resistor RUP terminal DT with the identification resistor coupled RPL, the result will be equal to the reference voltage Vl dividing according to the reference resistor and the resistance value of the identification resistor RUP RPL is performed.

[0037]在本实施例中,电池认证模块220依据端点DT上的电压电平来获得电池模块210的类型信息。 [0037] In the present embodiment, the authentication module 220 based on the battery voltage level at the terminal DT to obtain a battery module type information 210. 在此,所谓的类型信息包括电池模块210厂牌、型号及规格等至少其中之一的信息。 Here, the type information includes a battery module 210 make, model and specifications of at least one of information. 具体一点来说明,由于具有不同类型信息的电池模块210,其内建的识别电阻RPL的大小是不相同的,因此,在当不同类型信息的电池模块210连接至电池认证模块220时,端点DT上的电压电平也会不同。 Specific point will be described, by having different types of information of the battery module 210, the size of its built-in identification resistor RPL is not the same, therefore, connected to 220, the authentication module in the battery terminal DT when different types of information of the battery module 210 voltage level will be different. 因此,电池认证模块220可以由端点DT上的电压电平来获取电池模块210的类型信息。 Accordingly, the battery module 220 may acquire the authentication type information from the battery module 210 is the voltage level at the terminal DT.

[0038]另外,请特别注意的是,电池认证模块220在确知已与电池模块210产生连接后,电池认证模块220会传送认证需求至电池模块210中的认证电路211,并藉此使认证电路211可以通过参考电阻RUP与识别电阻RPL的耦接路径PTl来传送认证信息至电池认证模块220。 [0038] In particular, please note that the battery authentication module 220 after the ascertained is 210 generates connected to a battery module, a battery authentication module 220 sends the authentication demand to the authentication circuit 211 of the battery module 210, and thereby make the authentication circuit 211 authentication information may be transmitted to the battery by the authentication module 220 is coupled to the reference resistor PTl path RUP and the identification resistor of RPL. 附带一提的是,前述的电池认证模块220会传送认证需求至电池模块210中的认证电路211也是通过同样的路径PTl来将认证需求由电池认证模块220传送至认证电路211。 Incidentally is the battery authentication module 220 sends the authentication demand to the authentication circuit 211 of the battery module 210 through the same path PTl is the authentication demand from the battery to the authentication module 220 transmits to the authentication circuit 211.

[0039]在此,认证电路211可以是一种可以传送数字或模拟格式的认证信息至连接端点CNl的电路。 [0039] Here, the authentication circuit 211 may transmit the authentication information may be a digital or analog format to a circuit connected to the terminal CNl. 也就是说,认证电路211可以是利用串接的电阻串、可执行编码的集成电路或是电容网络来产生认证信息。 That is, the authentication circuit 211 may be connected in series using the resistor string, executable code or integrated circuit capacitor network generates the authentication information. 其中,当认证电路211可以是利用两个不同电平的电压间串接在电阻串,并利用电阻串所产生的分压电压,来提供生认证信息。 Wherein, when the voltage between the authentication circuit 211 may utilize two different levels of the series resistor string, using a voltage dividing resistor string generated to provide raw authentication information. 或者,认证电路211可以利用可执行编码的集成电路,来提供编码过的数字数据来作为的认证信息。 Alternatively, the authentication circuit 211 may be an integrated circuit using executable code, providing the authentication information to the encoded as digital data. 亦或是,认证电路211也可以通过电容网络来以对电压进行分压或是倍压的方式,来产生认证信息。 Or also, authentication circuit 211 may be voltage capacitor network through dividing or doubling manner, to generate the authentication information.

[0040]由于电池认证模块220与电池模块210所具有的连接端点CN2及CNl皆为单一条导线的连接端点,因此,电池认证模块220与电池模块210间的信息传送可以通过一种所谓的单线连接协议(one-wire protocol)来进行。 [0040] Since the battery module 220 having connection terminals 210 and the CNl CN2 are both a single wire connected to a battery terminal authentication module, and therefore, the battery authentication information transmission module 220 of the battery module 210 through a so-called single-line connection agreement (one-wire protocol) is performed.

[0041]所谓的单线连接协议,指的是利用单一条导线来进行两个电子装置间的数据传输。 [0041] a so-called single-wire connection protocol, refers to the use a single wire to transfer data between two electronic devices. 简单来说,在单线连接协议的架构下,可以将用来进行数据传输的导线保持在被拉高(pull high)的状态。 Briefly, in the framework of a single connection protocol may be used for data transmission in the wire holding is pulled high (pull high) state. 在其中的一个电子装置(例如装置A)要传送数据给另一个电子装置(例如装置B)时,装置A可以通过拉低(pull low)导线上的电压电平一段时间以告知装置B要进行数据的传递。 In one electronic device (e.g. device A) in which the data to be transmitted to another electronic device (e.g., device B), device A can be started by lowering (pull low) level period of the voltage on lead B to tell the device to be transfer data. 在装置B确认获知装置A要进行的数据传递动作后,装置A可以通过拉低导线上的电压电平不同的时间来传递不同(逻辑O或逻辑I)的数据。 After the confirmation data device B means A to be informed of the transfer operation, device A may be different by lowering the voltage level on the different delivery lead time (logic O or logic I) data.

[0042]以下请参照图3,图3绘示本发明实施例的电池认证模块220的一实施方式的示意图。 [0042] Referring to the FIG. 3, FIG. 3 shows a schematic view of a battery according to an embodiment of the authentication module 220 of the embodiment of the present invention. 电池认证模块220除包括参考电阻RUP外,尚包括主要处理器221、辅助处理模块222以及分压电阻RBAT_ID。 In addition to the battery authentication module 220 includes a reference resistor RUP, but still including the main processor 221, the auxiliary processing module 222 and voltage dividing resistors RBAT_ID. 主要处理器221耦接至参考电阻RUP未耦接参考电压Vl的端点DT。 Main processor 221 is coupled to the reference resistor RUP is not coupled to the reference voltage terminal DT of Vl. 辅助处理模块222则耦接至主要处理器221,且分压电阻RBAT_ID耦接在辅助处理模块222与主要处理器221的耦接路径间,其中,分压电阻RBAT_ID的电阻值小于参考电阻RUP的电阻值。 Secondary processing module 222 is coupled to the main processor 221, and the voltage dividing resistor coupled between RBAT_ID coupling path 222 and the secondary processing module 221 of the main processor, wherein the resistance value of voltage dividing resistor RBAT_ID less than the reference resistance RUP resistance. 并且,主要处理器221可以利用其通用型的输入输出(General Purpose Input Output,GP10)端口的一个脚位来耦接至端点DT ο并通过这个与端点DT连接的通用型的输入输出)端口的一个脚位来进行数据的传收。 Further, the main processor 221 can use its general-purpose input-output (General Purpose Input Output, GP10) port to a pin coupled to the o terminal DT through the general-purpose input-output terminal is connected to the DT) port a pin to transmit the received data.

[0043]以下将配合图2以及图3,来具体的说明本发明实施例的电子装置200的电池模块210的认证动作。 [0043] below with FIG. 2 and FIG. 3, the battery module will be specifically described embodiments of the electronic device 200 of the present invention, the authentication operation 210. 首先,当电池模块210被连接至电子装置200时,辅助处理模块222依据读取端点DT上的电压值,来获取电池模块210的类型信息。 First, when the battery module 210 is connected to the electronic apparatus 200, the secondary processing module 222 according to the read voltage value at the terminal DT, to obtain the information 210 of the battery module type. 在此,辅助处理模块222可以是一个模拟数字转换器,以将模拟格式的端点DT上的电压转换成数字格式,并提供电池模块210利用数字格式的端点DT上的电压来获得电池模块210的类型信息。 Here, the secondary processing module 222 may be an analog to digital converter to convert the voltage at the terminal DT analog format to a digital format, and provides the voltage at the terminal DT of the battery module 210 using the digital format to obtain a battery module 210 type information.

[0044] 接着,辅助处理模块222提供一个上拉电压VUP至分压电阻RBAT_ID的一端(分压电阻RBAT_ID的另一端耦接至端点DT),并且,在辅助处理模块222所提供的上拉电压VUP稳定后,主要处理器221传送低电平电压至端点DT上,以使得端点DT上的电压电平由等于上拉电压VUP的电压电平,被拉至较低的电压电平(例如等于接地电压)。 [0044] Next, the secondary processing module 222 provides an end of the pull up voltage VUP one to dividing resistor RBAT_ID (the other end of the voltage dividing resistor RBAT_ID coupled to terminal DT), and, on the pull-up voltage the secondary processing module 222 is provided after VUP stability, the main processor 221 transmits the low-level voltage to the terminal DT, so that the voltage level at the terminal DT is equal to the voltage level of the voltage on the pull-VUP is pulled to a lower voltage level (e.g., equal to ground voltage). 在此同时,电池模块210的认证电路221则可以检测到端点DT上的电压被拉低的状态,并藉以获知电池认证模块220所提出的认证需求。 In the meantime, the authentication circuit 221 of the battery module 210 can detect the voltage at the terminal DT is pulled low state, and thereby learn the battery authentication module 220 certification requirements proposed.

[0045]值得一提的是,在本实施例中,参考电阻RUP的电阻值是远大于分压电阻RBAT_ID的电阻值的。 [0045] It is worth mentioning that, in the present embodiment, the reference resistance is much greater than the resistance value of RUP partial resistance value of the resistor RBAT_ID. 在当辅助处理模块222提供的上拉电压VUP至分压电阻RBAT_ID的一端时,端点DT上的电压值几乎是由上拉电压VUP的电压值大小所决定。 When the pull up voltage VUP when the secondary processing module 222 to the end of the resistor RBAT_ID dividing the voltage value at the terminal DT is almost determined by the voltage value of the size of the pull-up voltage VUP. 也就是说,此时的端点DT上的电压值约等于上拉电压VUP的电压。 That is, the voltage value at this time is approximately equal to the endpoint DT VUP of the voltage pull-up voltage. 在另一方面,当端点DT上的电压稳定后,主要处理器221通过传送低电平电压至端点DT上,以拉降端点DT上的电压为等于低电平电压。 On the other hand, when the voltage is stabilized at the terminal DT, the main processor 221 by transmitting the low-level voltage to the terminal DT, DT to pull the voltage on the terminal voltage drop is equal to the low level.

[0046]另外,为进行静电放电的防护,主要处理器221与端点DT间串接电阻RESD。 [0046] Further, for protection of electrostatic discharge between the main processor 221 and the terminal DT via a resistor RESD.

[0047]电池模块210的认证电路221在获知电池认证模块220所提出的认证需求后,主要处理器221则改变其耦接参考电阻RUP的端点为输入端点,而认证电路221则可以提供端点DT低电平电压,并利用拉低端点DT上的电压电平来序列地传送认证信息。 [0047] The authentication circuit 221 of the battery module 210 is informed of the battery authentication module 220 certification requirements proposed, the main processor 221 is changed to the reference terminal of the resistor coupled to the input terminal RUP, and authentication circuit 221 may provide the endpoint DT low-level voltage, using pull down the voltage level at the terminal to transmit authentication information DT sequentially. 其中,主要处理器221可以利用其通用型的输入输出端口的一个脚位来耦接端点DT,并藉以传送电压至端点DT上或接收端点DT上的电压电平。 Wherein the main processor 221 which may be utilized in a general-purpose input pins to an output port coupled to the terminal DT, and thereby transmits the voltage to a voltage level on the endpoint receiving endpoint DT or DT.

[0048]此外,在认证需求结束后,辅助处理模块222可通过监测端点DT上的电压变化,来获知电池模块210的电压变化曲线。 [0048] Further, after completion of certification requirements, auxiliary processing module 222 can monitor the voltage variation on the terminal DT, to learn the battery module voltage curve 210.

[0049]附带一提的是,辅助处理模块222提供的上拉电压VUP的动作以及接收端点DT上的电压的动作可以通过主要处理器221的一个通用型的输入输出端口的一个脚位来完成。 [0049] Incidentally that the operation of the pull-up voltage VUP secondary processing module 222 and the receiving operation of the voltage at the terminal DT may be accomplished by a main processor, a general purpose input output port 221 pin . 换句话说,辅助处理模块222是可以内建在主要处理器221中的。 In other words, the auxiliary processing module 222 can be built into the main processor 221.

[0050]以下参照图4A及图4B,图4A及图4B分别绘示电池认证模块与电池模块间的信息传送的波形图,在图4A及图4B中,电池认证模块与电池模块间是利用单线连接协议来进行数据的传递。 [0050] with reference to FIGS. 4A and 4B, FIGS. 4A and 4B respectively illustrate waveform diagrams of information transfer between the battery authentication module and the battery module in FIGS. 4A and 4B, between the battery authentication module and the battery module using line connection protocol for transferring data. 其中,在图4A的绘示中,在时间区间TO中,辅助处理模块提供上拉电压VUP并使端点DT的电压电平维持在约等于上拉电压VUP的电压电平。 Wherein, depicted in FIG. 4A, the time interval TO, the auxiliary processing module provides a pull up voltage VUP terminal DT and the voltage level is maintained at about equal to the pull-up voltage VUP voltage level. 在时间区间Tl中,主要处理器则通过提供低电平电压来持续拉低端点DT的电压电平。 In the time interval Tl, the main processor through the provision of continuous low-level voltage to pull down the voltage level of the terminal DT. 在时间区间T3中,则是电池模块在时间区间Tl接收并获知认证需求已被启动,而对应以拉低端点DT的电压电平来传送认知(acknowledge)信号至电池认证模块。 At time interval T3, the battery module is received and needs to know the authentication has been started at the time interval Tl, while a corresponding voltage level to be transmitted down the cognitive endpoint DT (Acknowledge) signal to the battery authentication module.

[0051]在此请注意,在时间区间Tl及T2间,主要处理器耦接端点DT的端点被设定为输入端点,藉以接收由电池模块所主导产生的端点DT上的电压变化,以接收认证电路所传送的认证信息,并通过所接收到的认证信息来对电池模块进行认证的动作。 [0051] Note here that, the input terminal is set to a time interval between T2 and Tl, the main processor coupled to the terminal DT endpoints, thereby receiving the voltage change at the terminal DT generated by the battery module led to receive authentication information transmitted by the circuit, and to authenticate the operation of the battery module authentication information received.

[0052]在图4B的绘示中,认证电路可以通过拉低端点DT的电压的时间长短来传送逻辑信号的认证信息。 [0052] shown in FIG. 4B, the authentication circuit may transmit the authentication information by a logic signal down the length of time the voltage at terminal DT. 以波形410为例,认证电路持续拉低端点DT的电压一个时间区间TL,以藉以传送逻辑信号“I”。 Waveform 410 as an example, continuing down the authentication terminal DT circuit voltage one time interval TL, so as to transmit a logic signal "I". 相对的,以波形420为例,认证电路持续拉低端点DT的电压一个时间区间TH,以藉以传送逻辑信号“O”。 In contrast, an example waveform 420, pull down the voltage at terminal authentication circuit duration of one time interval DT TH, to thereby transfer logic signal "O". 其中,时间区间TH长于时间区间TL。 Wherein the time interval is longer than the time interval TH TL.

[0053]当然,上述的逻辑信号“I”或“O”与端点DT的电压被拉低的时间区间的长短的对应关系是可以被变更,并非必需固定而不能改变。 [0053] Of course, the correspondence relationship of the length of the voltage or "O" endpoint DT "I" of the above-described logic signal is pulled low time intervals may be changed, not necessarily fixed but can not change.

[0054]以下请参照图5,图5绘示本发明实施例的电池认证模块220的另一实施方式。 [0054] Referring to the FIG. 5, FIG. 5 shows another embodiment of battery authentication module 220 of the embodiment example of embodiment of the present invention. 电池认证模块220包括主要处理器221、辅助处理模块223以及224、分压电阻RBAT以及RBAT_ID以及电阻RESD。 Authentication module 220 comprises a battery main processor 221, 223 and the secondary processing module 224, and a voltage-dividing resistor RBAT RBAT_ID and a resistor RESD. 与图3绘示的实施方式不相同的,本实施方式中,电池认证模块220包括两个辅助处理模块223以及224。 The embodiment shown in FIG. 3 are not the same, according to the present embodiment, the battery authentication processing module 220 includes two auxiliary modules 224 and 223. 辅助处理模块223以及224的其中之一用以在进行认证需求时提供上拉电压,辅助处理模块223以及224的另一则为模拟数字转换器,用以在进行认证需求前检测端点DT上的电压值。 Wherein one of the processing modules 223 and 224 assist in providing during certification requirements for the pull-up voltage, compared with the other secondary processing module 223 and an analog to digital converter 224 to the endpoint detection is performed on the front of the certification requirements DT Voltage value.

[0055]另外,作为模拟数字转换器的辅助处理模块223或224也可以在认证需求结束后,通过监测端点DT上的电压变化,来获知电池模块210的电压变化曲线。 [0055] Further, as the secondary processing module 223 of the analog to digital converter 224, or may be after the certification requirements, by monitoring the voltage variation on the terminal DT, to learn the battery module voltage curve 210.

[0056]以下则请参照图6,图6绘示本发明一实施例的电子装置的电池模块的认证方法。 [0056] Referring to FIG. 6 is the following, FIG. 6 illustrates a battery authentication method of an electronic device module according to an embodiment of the present invention. 其中的电子装置具有电池认证模块,本实施例的认证步骤包括:首先,读取电池认证模块与电池模块的连接端点的电压电平,并依据电压电平来获得电池模块的类型信息(S610)。 Wherein the electronic device having a battery authentication module, the authentication step of the present embodiment comprises: firstly, reading the voltage level of the battery connection terminals of the battery module and an authentication module, and on the voltage level of the battery module to obtain the type information (S610) . 接着,由电池认证模块传送认证需求至认证电路(S620)。 Subsequently, the authentication module transmits the authentication demand from the battery to the authentication circuit (S620). 最后,再使认证电路依据认证需求通过电池认证模块与电池模块连接的端点传送认证信息至电池认证模块(S630),也就是依据单线连接协议来传送认证信息至电池认证模块。 Finally, the circuit according to the authentication demand to make authentication by endpoints transmit the authentication information to the authentication module battery of the battery module is connected to the battery authentication module (S630), which is based on a single connection protocol to transmit authentication information to the authentication module battery.

[0057]关于本发明的电子装置的电池模块的认证方法的细节,在前述的实施例及实施方式都有详细的说明,以下恕不多赘述。 [0057] The details of the authentication method of the battery module of the electronic device according to the present invention, in the foregoing embodiment examples and embodiments are described in detail below without multiple repeated.

[0058]综上所述,本发明除依据电池模块与电池认证模块的连接点上的电压大小来获知电池模块的类型信息,更通过由电池模块传送认证信息至电池认证模块。 [0058] In summary, the present invention is based on the type of information in addition to the magnitude of the voltage on the connection point of the battery module and the battery authentication module to learn the battery module, the battery module but also through the transfer to the battery authentication module the authentication information. 并藉此由电池认证模块对电池模块进行更准确的认证,如此一来,仅有完全符合规格的原厂的电池模块可以通过认证,非原厂的电池模块将不会通过认证而被误用。 And thereby more accurate authentication of the battery module is certified by the battery module, this way, only in full compliance with the specifications of the original battery module can be certified, non-original battery module will not be misused by certified . 有效排除因使用到不良的电池而导致的电子装置的损坏的现象。 Effectively eliminate the phenomenon of damage caused by the use of an electronic device to a battery failure caused.

[0059]虽然本发明已以实施例公开如上,然其并非用以限定本发明,本领域技术人员在不脱离本发明的精神和范围内,当可作些许的更动与润饰,故本发明的保护范围当视所附权利要求书所界定者为准。 [0059] While the invention has been disclosed in the above embodiments, they are not intended to limit the invention, those skilled in the art without departing from the spirit and scope of the present disclosure, may make various modifications and variations, the present invention is therefore when the book depends on the scope of the appended claims and their equivalents.

Claims (18)

1.一种电子装置,包括: 一电池模块,具有一认证电路以及一识别电阻,其中该识别电阻耦接至一第一参考电压;以及一电池认证模块,具有一参考电阻耦接至一第二参考电压,当该电池模块连接至该电池认证模块时,该参考电阻与该识别电阻串接于该第一及该第二参考电压间,该电池认证模块依据该参考电阻与该识别电阻的耦接点的电压电平来获得该电池模块的一类型信息,该电池认证模块并传送一认证需求至该认证电路,使该认证电路通过该参考电阻与该识别电阻的耦接路径传送一认证信息至该电池认证模块,其中该电池认证模块包括: 一主要处理器,耦接至该参考电阻未耦接该第二参考电压的端点; 一第一辅助处理模块,耦接至该主要处理器;以及一第一分压电阻,耦接在该第一辅助处理模块与该主要处理器的耦接路径间, 其中,该第一分 An electronic device, comprising: a battery module having an authentication identification circuit and a resistor, wherein the identification resistor is coupled to a first reference voltage; and a battery authentication module having a first resistor coupled to the reference second reference voltage, when the battery module is connected to the battery authentication module, identifying the reference resistor and the resistor connected in series between the first and the second reference voltage, the battery authentication module according to the reference resistor and the identification resistor voltage level of the coupling point to obtain a type of information of the battery module, the battery authentication module and transmits an authentication demand to the authentication circuit, the authentication circuit transmits an authentication message and the coupling path of the identification resistance by the reference resistor the authentication module to the battery, wherein the battery authentication module comprising: a main processor coupled to the reference terminal of the resistor not coupled to the second reference voltage; a first auxiliary processing module, coupled to the main processor; and a first voltage dividing resistor, coupled between the first auxiliary coupling path processing module and the main processor, wherein the first partial 电阻的电阻值小于该参考电阻的电阻值。 Resistance of the resistor smaller than the resistance value of the reference resistor.
2.如权利要求1所述的电子装置,其中该认证电路依据一单线连接协议来传送该认证信息至该电池认证模块。 The electronic device according to claim 1, wherein the authentication circuitry to transmit the authentication information to the battery module according to a one-line authentication protocol.
3.如权利要求1所述的电子装置,其中该电池模块中,该识别电阻的一端耦接至该第一参考电压,该识别电阻的另一端耦接至该认证电路。 The electronic device according to claim 1, wherein the battery module, one end of the identification resistor is coupled to the first reference voltage, the other end of the identification resistor coupled to the authentication circuit.
4.如权利要求1所述的电子装置,其中该第一辅助处理模块依据读取该参考电阻与该识别电阻的耦接点的电压来获得该电池模块的该类型信息。 The electronic device as claimed in claim 1, wherein the first auxiliary processing module according to the read voltage to the reference resistor coupled to the junction of the identification resistor of the battery module to obtain the type information.
5.如权利要求4所述的电子装置,其中该第一辅助处理模块包括: 一模拟数字转换器,接收并转换模拟格式的该参考电阻与该识别电阻的耦接点的电压为数字格式,并依据数字格式的该参考电阻与该识别电阻的耦接点的电压来获得该类型信息。 The electronic device according to claim 4, wherein the first auxiliary processing module comprising: an analog to digital converter receives and converts the analog format of the reference resistor with the voltage of the coupling point of the identification resistor into a digital format, and digital format according to the reference resistor and the voltage of the coupling point of the resistor to obtain the identification information type.
6.如权利要求1所述的电子装置,其中该第一辅助处理模块提供一上拉电压至该第一分压电阻,并且,该主要处理器传送一低电平电压至该参考电阻与该识别电阻的耦接点,以藉以启动该认证需求。 The electronic device according to claim 1, wherein the first auxiliary processing module provides a pull up voltage to the first voltage dividing resistor, and the main processor transmits a low-level voltage to the reference resistor and the identifying the contact resistance coupling, so as to start the authentication requirements.
7.如权利要求6所述的电子装置,其中该低电平电压的电压值低于该上拉电压的电压值。 The electronic device according to claim 6, wherein the voltage value of the low-level voltage lower than the voltage value of the pull-up voltage.
8.如权利要求1所述的电子装置,其中该认证需求结束后,该第一辅助处理模块读取并记录该参考电阻与该识别电阻的耦接点的电压变化,且该主要处理器耦接该参考电阻的端点被设定为输入端点。 The electronic device according to claim 1, wherein after the certification requirements, the first auxiliary processing module to read and record the change in the reference voltage coupled to the contact resistance of the identification resistor, and a processor coupled to the primary terminal of the reference resistor is set to the input terminal.
9.如权利要求1所述的电子装置,其中该第一辅助处理模块内建在该主要处理器中,并通过该主要处理器的一通用型的输入输出端口的一个脚位来耦接至该第一分压电阻。 The electronic device according to claim 1, wherein the first auxiliary processing module is built in the main processor, and to be coupled to a pin via a general purpose input and output ports of the main processor the first voltage dividing resistor.
10.如权利要求1所述的电子装置,其中还包括: 一第二辅助处理模块;以及一第二分压电阻,其一端耦接至该参考电阻未耦接至该第二参考电压的端点,其另一端耦接至该第二辅助处理模块。 Node and a second voltage dividing resistors having one end coupled to the reference resistor is not coupled to the second reference voltage; a second auxiliary processing module: The electronic device according to claim 1, further comprising and the other end coupled to the second auxiliary processing module.
11.如权利要求10所述的电子装置,其中该第一辅助处理模块依据读取该参考电阻与该识别电阻的耦接点的电压来获得该电池模块的该类型信息。 11. The electronic device according to claim 10, wherein the first auxiliary processing module according to the read voltage coupling point of the reference resistor and the resistance to obtain the identification information of the type of the battery module.
12.如权利要求11所述的电子装置,其中该第一辅助处理模块为一模拟数字转换器,接收并转换模拟格式的该参考电阻与该识别电阻的耦接点的电压为数字格式,并依据数字格式的该参考电阻与该识别电阻的耦接点的电压来获得该类型信息。 The electronic device according to claim 11, wherein the first auxiliary processing module is an analog to digital converter receives and converts the analog format of the reference resistor and the voltage of the coupling point into a digital format identification resistor, and based on the digital format of the reference resistor and the voltage of the coupling point of the resistor to obtain the identification information type.
13.如权利要求10所述的电子装置,其中该电池认证模块传送该认证需求至该认证电路时,该第二辅助处理模块提供一上拉电压至该第二分压电阻,该主要处理器并传送一低电平电压至该参考电阻与该识别电阻的耦接点,以藉以启动该认证需求。 13. The electronic device according to claim 10, wherein the battery authentication module transmits the authentication demand to the authentication circuit, the second auxiliary processing module to provide a pull-up voltage to the second voltage dividing resistor, the main processor and transmits a low level voltage to the reference resistor and the coupling point of the identification resistor, so as to start the authentication requirements.
14.如权利要求13所述的电子装置,其中该低电平电压的电压值低于该上拉电压的电压值。 14. The electronic device according to claim 13, wherein the low level voltage a voltage value lower than the voltage value of the pull-up voltage.
15.如权利要求10所述的电子装置,其中该第一辅助处理模块内建在该主要处理器中,并通过该主要处理器的一通用型的输入输出端口的一个脚位来耦接至该第一分压电阻。 15. The electronic device according to claim 10, wherein the first auxiliary processing module is built in the main processor, and be coupled to one leg of the bit through a general-purpose input and output ports of the main processor the first voltage dividing resistor.
16.—种电子装置的电池模块的认证方法,该电子装置具有一电池认证模块,包括: 读取该电池认证模块与该电池模块的连接端点的一电压电平,并依据该电压电平来获得该电池模块的一类型信息; 由该电池认证模块传送一认证需求至该认证电路; 使该认证电路依据该认证需求通过该电池认证模块与该电池模块连接的端点传送一认证信息至该电池认证模块; 使该电池认证模块的一辅助处理模块提供一上拉电压至该电池认证模块与该电池模块的连接端点;以及并使该电池认证模块的一主要处理器传送一低电平电压至该电池认证模块与该电池模块的耦接点,以藉以启动该认证需求, 其中该低电平电压的电压值低于该上拉电压的电压值。 16.- authentication method in a battery module of an electronic device, the electronic device having a battery authentication module comprising: an authentication module reads the battery voltage level of the connection terminals of the battery module, and according to the voltage level obtaining a type of information of the battery module; transmitted by the battery authentication module an authentication demand to the authentication circuit; the authentication circuit according to the authentication demand by endpoints of the battery authentication module connected to the battery module transmits an authentication information to the cell authentication module; the authentication module battery of a secondary processing module provides a pull up voltage to the battery authentication module is connected to the terminal of a battery module; and a battery authentication module and the main processor transmits a low-level voltage to a the authentication module coupled to the battery contacts of the battery module, so as to start the authentication demand, wherein a voltage value of the low-level voltage lower than the voltage value of the voltage of the pull-on.
17.如权利要求16所述的电池模块的认证方法,其中该认证电路依据一单线连接协议来传送该认证信息至该电池认证模块。 17. The authentication method according to the battery module according to claim 16, wherein the authentication circuitry to transmit the authentication information to the battery module according to a one-line authentication protocol.
18.如权利要求16所述的电池模块的认证方法,其中还包括: 当该认证需求结束后,使该辅助处理模块读取并记录该电池认证模块与该电池模块连接的端点上的电压变化。 18. The authentication method according to the battery module according to claim 16, wherein further comprising: after the authentication when the demand, so that the secondary processing module reads and records the voltage variation on the terminal of the battery module is connected to the battery authentication module .
CN 201110152638 2011-06-08 2011-06-08 The authentication method of an electronic device and the battery module CN102820970B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110152638 CN102820970B (en) 2011-06-08 2011-06-08 The authentication method of an electronic device and the battery module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110152638 CN102820970B (en) 2011-06-08 2011-06-08 The authentication method of an electronic device and the battery module

Publications (2)

Publication Number Publication Date
CN102820970A true CN102820970A (en) 2012-12-12
CN102820970B true CN102820970B (en) 2016-08-03

Family

ID=47304844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110152638 CN102820970B (en) 2011-06-08 2011-06-08 The authentication method of an electronic device and the battery module

Country Status (1)

Country Link
CN (1) CN102820970B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103078363A (en) * 2012-12-13 2013-05-01 广东欧珀移动通信有限公司 Battery cell identification circuit and identification method thereof
CN103117580B (en) * 2013-02-19 2015-08-19 惠州Tcl移动通信有限公司 The mobile terminal having a battery and a battery using compatible functions, charging control method
CN105354125A (en) * 2015-09-25 2016-02-24 联想(北京)有限公司 Information processing method, battery and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5237257A (en) * 1989-04-21 1993-08-17 Motorola, Inc. Method and apparatus for determining battery type and modifying operating characteristics
CN1214555A (en) * 1994-03-15 1999-04-21 艾利森公司 Rechargeable buttery pack with identification circuit, real time clock and authentication capability
CN1134874C (en) * 1997-10-28 2004-01-14 法罗技术公司 An identification arrangement and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2564021C (en) * 2005-10-14 2010-12-07 Research In Motion Limited Mobile device with a smart battery

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5237257A (en) * 1989-04-21 1993-08-17 Motorola, Inc. Method and apparatus for determining battery type and modifying operating characteristics
CN1214555A (en) * 1994-03-15 1999-04-21 艾利森公司 Rechargeable buttery pack with identification circuit, real time clock and authentication capability
CN1134874C (en) * 1997-10-28 2004-01-14 法罗技术公司 An identification arrangement and method

Also Published As

Publication number Publication date Type
CN102820970A (en) 2012-12-12 application

Similar Documents

Publication Publication Date Title
US20100201308A1 (en) Device and method for battery charging
US6798173B2 (en) Automatic charging device via a universal serial bus and method of operating the same
US20100235546A1 (en) Methods and apparatus for adaptive accessory detection and mode negotiation
US20080272741A1 (en) Systems and methods for detecting power sources
US20100052620A1 (en) Battery charger ic including built-in usb detection
US20100205463A1 (en) Bistone port power controller for usb hubs with legacy battery charge support
US20100293302A1 (en) Information Processing Apparatus
US20080222341A1 (en) Method And Apparatus For Automatically Switching Between USB Host And Device
US20070046268A1 (en) Dedicated power supply apparatus, terminal. power supply system, and power supply method
US7895385B2 (en) Establishing communication over serial buses in a slave device
US20090006709A1 (en) Pci express interface
CN101398459A (en) Method and device for identifying charger type
CN103208850A (en) Universal serial bus (USB) charging system with variable charging voltage, charger and intelligent terminal
US7082545B2 (en) Method of and device for detecting cable connection
US20110131356A1 (en) Method and system for high-speed detection handshake in universal serial bus based data communication system
CN201550170U (en) USB/charger insert recognition device of mobile terminal
CN103066340A (en) Charging method, mobile terminal and adapter
WO2010119308A2 (en) Enhanced power in hdmi systems
US20140245030A1 (en) Method and Apparatus for Providing Power to an Electronic Device
CN101179199A (en) Terminal and charging method thereof
CN101499670A (en) Charging systems and control methods for charging current
US8683087B2 (en) Mobile device auto detection apparatus and method
US20150188334A1 (en) Wireless battery management system
US20110314201A1 (en) Method and device for identifying universal serial bus (usb) insertion or charger insertion of mobile terminal
US20120242282A1 (en) Input-output circuit

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model