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

Electronic device and authentication method for battery module of electronic device

Info

Publication number
CN102820970A
CN102820970A CN 201110152638 CN201110152638A CN102820970A CN 102820970 A CN102820970 A CN 102820970A CN 201110152638 CN201110152638 CN 201110152638 CN 201110152638 A CN201110152638 A CN 201110152638A CN 102820970 A CN102820970 A CN 102820970A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
authentication
battery
module
resistor
electronic
Prior art date
Application number
CN 201110152638
Other languages
Chinese (zh)
Other versions
CN102820970B (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

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GASES [GHG] EMISSION, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage
    • Y02E60/12Battery technology

Abstract

The invention discloses an electronic device and an authentication method for a battery module of the electronic device. The electronic device comprises the battery module and a battery authentication module, and the battery module comprises an authentication circuit and an identification resistor. When the battery module is connected to the battery authentication module, the battery authentication module acquires information of the type of the battery module according to the voltage level of a coupling point of a reference resistor and the identification resistor, and transmits authentication demands to the authentication circuit to enable the authentication circuit to transmit authentication information to the battery authentication module through a coupling route of the reference resistor and the identification resistor, wherein the reference resistor is integrally arranged 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,图I绘示已知的电子装置100的示意图。 [0002] Referring to FIG 1, FIG I shows a schematic diagram of a known electronic device 100 is shown. 在这种的已知技术领域中,用来连接至电子装置100以提供电カ的电池110中设置有ー个下拉电阻RPL。 In this known art, for connection to the electronic device 100 to provide electrical ka battery 110 is provided with a pull-down resistor ー RPL. 下拉电阻RPL串接在电池110的连接端CNl与接地电压GND间。 RPL pull-down resistor connected in series between the connection CNl 110 of the battery ground voltage GND. 而电子装置100中用来进行电池认证的电池认证模块120中则包括上拉电阻RPU、晶体管Ml、电阻RSDl以及处理器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 RSDl. 上拉电阻RI3U连接至电压Vl以及晶体管Ml的栅极,晶体管Ml的漏极则耦接至电压V2以及处理器121,晶体管Ml的源极则耦接至接地电压GND。 RI3U pullup resistor connected to a 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 which need only be arranged in a pull-down resistor ー resistance RPL original battery of the same value, can make the battery authentication module 120 can not be identify whether the battery is original. 如此ー来,当电子装置100对此种非原厂的电池进行充电的动作时,就有可能因为电压过充而产生安全上的顾虑。 Thus ー to, when the operation 100 of such non-original charging a battery of the electronic device, 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 inches, a reference resistor connected in series with the first and second identification resistor between the reference voltage ni. 电池认证模块依据參考电阻与识别电阻的耦接点的电压电平来获得电池模块的类型信息。 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 present invention further provides an authentication method ー electronic device having a battery authentication module battery module, comprising: a first read voltage level of the battery connection terminals of the battery module and an authentication module, and is obtained based on the voltage level of the battery 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] 图I绘示已知的电子装置100的示意图。 Schematic [0011] Figure I shows a known electronic device 100.

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

[0013] 图3绘示本发明实施例的电池认证模块220的ー实施方式的示意图。ー schematic embodiment of [0013] FIG. 3 illustrates an embodiment of the present invention, the battery authentication module 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 illustrates an embodiment of the present invention a battery authentication module 220 of another embodiment ー embodiment.

[0016] 图6绘示本发明ー实施例的电子装置的电池模块的认证方法。 [0016] FIG. 6 illustrates an authentication method according to the present invention, a battery module ー electronic device according to the 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、VI:參考电压 [0028] GND, VI: reference voltage

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

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

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

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

[0033] T0、Tl、T3、TL、TH :时间区间 [0033] T0, Tl, 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 shows a schematic view of an electronic device 200 according to the present invention ー embodiment. 电子装置200包括电池模块210以及电池认证模块220。 The electronic device 200 includes a battery module 210 and the battery authentication module 220. 电池模块210具有认证电路211以及识别电阻RPL,其中,识别电阻RPL的一端耦接至參考电压GND,识别电阻RPL的另一端则耦接至认证电路211。 The battery module 210 includes an authentication circuit 211 and the identification resistor RPL, wherein one end of the RPL identification resistor coupled to the GND reference voltage, the other end of the identification resistor RPL is coupled to the authentication circuit 211. 电池认证模块220则具有參考电阻RUP耦接至參考电压VI。 Battery authentication module 220 having a reference resistor coupled to a reference voltage RUP VI. 其中,电池模块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。 Bands attached to mention that 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 ー kind of 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 the embodiment ー battery authentication module 220 of the embodiment 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 ta Suites, also include the main processor 221, the auxiliary processing module 222 and voltage dividing resistors RBAT_ID. 主要处理器221耦接至參考电阻RUP未耦接參考电压Vl的端点DT0辅助处理模块222则耦接至主要处理器221,且分压电阻RBAT_ID耦接在辅助处理模块222与主要处理器221的耦接路径间,其中,分压电阻RBAT_ID的电阻值小于參考电阻RUP的电阻值。 Main processor 221 is coupled to the reference resistor to a reference voltage Vl RUP endpoint DT0 not coupled secondary processing module 222 is coupled to the main processor 221, and the voltage dividing resistor coupled RBAT_ID secondary processing module 222 and the main processor 221 coupled between the path, wherein the resistance value of voltage dividing resistor RBAT_ID is smaller than the resistance of the reference resistor RUP. 并且,主要处理器221可以利用其通用型的输入输出(General Purpose InputOutput, GPI0)端ロ的一个脚位来耦接至端点DT。 Further, the main processor 221 can use its general-purpose input-output (General Purpose InputOutput, GPI0) ro a pin end to be coupled to terminal DT. 并通过这个与端点DT连接的通用型的输入输出)端ロ的ー个脚位来进行数据的传收。 And transmit the received data to a pin ro ー through this universal input connected to an output terminal DT) end. [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 device 200 inches, 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 ー analog digital converter to the voltage on the terminal DT analog format into 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 the type of 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] ー worth mentioning that, in the present embodiment, the resistance value of the reference resistor is much larger than the RUP partial resistance value of the resistor RBAT_ID. 在当辅助处理模块222提供的上拉电压VUP至分压电阻RBAT_ID的一端吋, 端点DT上的电压值几乎是由上拉电压VUP的电压值大小所決定。 VUP end inch pull up voltage in the secondary processing module 222 when provided to the voltage dividing resistors RBAT_ID voltage value DT is almost on the endpoint is 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 can use a general-purpose pins which inputs and outputs coupled to ro 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] The attachment Bands ー mentioning that the operating voltage of the operation voltage of the pull VUP auxiliary processing module 222 and the receiving endpoint DT by a pin main processor 221 ー a general purpose inputs and outputs ro of To be done. 换句话说,辅助处理模块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 ー time intervals TL, so as to transmit a logic signal "I". 相対的,以波形420为例,认证电路持续拉低端点DT的电压ー个时间区间TH,以藉以传送逻辑信号“O”。 Dui phase of the waveform 420 as an example, authentication circuit voltage at terminal DT is pulled down continuously ー time interval 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 illustrates battery authentication module according to another embodiment ー embodiment 220 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, the secondary processing module ー was further analog-digital converter 223 and 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 ー 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 (20)

1. 一种电子装置,包括: ー电池模块,具有一认证电路以及一识别电阻,其中该识别电阻耦接至一第一參考电压;以及一电池认证模块,具有一參考电阻耦接至一第二參考电压,当该电池模块连接至该电池认证模块时,该參考电阻与该识别电阻串接于该第一及该第二參考电压间,该电池认证模块依据该參考电阻与该识别电阻的耦接点的电压电平来获得该电池模块的ー类型信息,该电池认证模块并传送一认证需求至该认证电路,使该认证电路通过该參考电阻与该识别电阻的耦接路径传送一认证信息至该电池认证模块。 An electronic device, comprising: ー 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 reference resistor coupled to a first 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 ー type 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.
2.如权利要求I所述的电子装置,其中该认证电路依据ー单线连接协议来传送该认证信息至该电池认证模块。 The electronic device according to claim I, wherein the authentication circuitry to transmit the authentication information to the authentication module based ー cell line connection protocol.
3.如权利要求I所述的电子装置,其中该电池模块中,该识别电阻的一端耦接至该第ー參考电压,该识别电阻的另一端耦接至该认证电路。 The electronic device of claim I as claimed in claim 3, wherein the battery module, one end of the identification resistor is coupled to the second reference voltage ー, the other end of the identification resistor is coupled to the authentication circuit.
4.如权利要求I所述的电子装置,其中该电池认证模块包括: 一主要处理器,耦接至该參考电阻未耦接该第二參考电压的端点; 一第一辅助处理模块,耦接至该主要处理器;以及一第一分压电阻,耦接在该第一辅助处理模块与该主要处理器的耦接路径间,其中该分压电阻的电阻值小于该參考电阻的电阻值。 The electronic device according to claim I, 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 resistance value of the dividing resistor smaller than the resistance value of the reference resistor.
5.如权利要求4所述的电子装置,其中该第一辅助处理模块依据读取该參考电阻与该识别电阻的耦接点的电压来获得该电池模块的该类型信息。 The electronic device according to claim 4, 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.
6.如权利要求5所述的电子装置,其中该第一辅助处理模块包括: ー模拟数字转换器,接收并转换模拟格式的该參考电阻与该识别电阻的耦接点的电压为数字格式,并依据数字格式的该參考电阻与该识别电阻的耦接点的电压来获得该类型信O The electronic device according to claim 5, wherein the first auxiliary processing module comprising: an analog to digital converter ー, receive and convert the analog format of the reference resistor with the voltage of the coupling point of the identification resistor into a digital format, and according to the voltage of the reference resistor coupling point of the digital format to obtain the identification resistor of the type the letter O
7.如权利要求4所述的电子装置,其中该第一辅助处理模块提供一上拉电压至该第一分压电阻,并且,该主要处理器传送ー低电平电压至该參考电阻与该识别电阻的耦接点,以藉以启动该认证需求。 The electronic device according to claim 4, wherein the first auxiliary processing module provides a pull up voltage to the first voltage dividing resistor, and the primary processor is transferred to the low-level voltage ー reference resistor and the identifying the contact resistance coupling, so as to start the authentication requirements.
8.如权利要求7所述的电子装置,其中该低电平电压的电压值低于该上拉电压的电压值。 The electronic device as claimed in claim 7, wherein the low level voltage a voltage value lower than the voltage value of the voltage of the pull-on.
9.如权利要求4所述的电子装置,其中该认证需求结束后,该第一辅助处理模块读取并记录该參考电阻与该识别电阻的耦接点的电压变化,且该主要处理器耦接该參考电阻的端点被设定为输入端点。 The electronic device according to claim 4, wherein the end of the authentication requirements, the first auxiliary processing module to read and record the change in the voltage of the reference resistor with the resistor coupled to the identification contact, and the main processor coupled to terminal of the reference resistor is set to the input terminal.
10.如权利要求4所述的电子装置,其中该第一辅助处理模块内建在该主要处理器中,并通过该主要处理器的一通用型的输入输出端ロ的ー个脚位来耦接至该第一分压电阻。 The electronic device according to claim 4, wherein the first auxiliary processing module is built in the main processor, and by a general purpose inputs and outputs of the main processor ro ー coupled to a pin connected to the first voltage-dividing resistor.
11.如权利要求4所述的电子装置,其中还包括: 一第二辅助处理模块;以及一第二分压电阻,其一端耦接至该參考电阻未耦接至该第二參考电压的端点,其另ー端耦接至该第二辅助处理模块。 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 of claim 4, further comprising which ー another terminal coupled to the second auxiliary processing module.
12.如权利要求11所述的电子装置,其中该第一辅助处理模块依据读取该參考电阻与该识别电阻的耦接点的电压来获得该电池模块的该类型信息。 The electronic device according to claim 11, 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.
13.如权利要求12所述的电子装置,其中该第一辅助处理模块为ー模拟数字转换器,接收并转换模拟格式的该參考电阻与该识别电阻的耦接点的电压为数字格式,并依据数字格式的该參考电阻与该识别电阻的耦接点的电压来获得该类型信息。 13. The electronic device according to claim 12, wherein the first auxiliary processing module ー 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.
14.如权利要求11所述的电子装置,其中该电池认证模块传送该认证需求至该认证电路时,该第二辅助处理模块提供一上拉电压至该第二分压电阻,该主要处理器并传送一低电平电压至该參考电阻与该识别电阻的耦接点,以藉以启动该认证需求。 14. The electronic device of claim 11, 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.
15.如权利要求14所述的电子装置,其中该低电平电压的电压值低于该上拉电压的电压值。 15. The electronic device according to claim 14, wherein the low level voltage a voltage value lower than the voltage value of the pull-up voltage.
16.如权利要求11所述的电子装置,其中该第一辅助处理模块内建在该主要处理器中,并通过该主要处理器的一通用型的输入输出端ロ的ー个脚位来耦接至该第一分压电阻。 16. The electronic device according to claim 11, wherein the first auxiliary processing module is built in the main processor, and by a general purpose inputs and outputs of the main processor ro ー coupled to a pin connected to the first voltage-dividing resistor.
17. 一种电子装置的电池模块的认证方法,该电子装置具有一电池认证模块,包括: 读取该电池认证模块与该电池模块的连接端点的一电压电平,并依据该电压电平来获得该电池模块的一类型信息; 由该电池认证模块传送一认证需求至该认证电路;以及使该认证电路依据该认证需求通过该电池认证模块与该电池模块连接的端点传送ー认证信息至该电池认证模块。 17. An authentication method for 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; and the authentication circuit according to the authentication demand by endpoints of the battery authentication module connected to the battery module transmits ー authentication information to the battery authentication module.
18.如权利要求17所述的电池模块的认证方法,其中该认证电路依据ー单线连接协议来传送该认证信息至该电池认证模块。 18. The authentication method according to the battery module according to claim 17, wherein the authentication circuitry to transmit the authentication information to the authentication module based ー cell line connection protocol.
19.如权利要求17所述的电池模块的认证方法,其中还包括: 使该电池认证模块的ー辅助处理模块提供一上拉电压至该电池认证模块与该电池模块的连接端点;以及并使该电池认证模块的一主要处理器传送ー低电平电压至该參考电阻与该识别电阻的率禹接点,以藉以启动该认证需求, 其中该低电平电压的电压值低于该上拉电压的电压值。 19. The authentication method according to the battery module according to claim 17, further comprising: the secondary processing module ー battery authentication module provides a pull up voltage to the battery connection terminal authentication module to the battery module; and and a main processor which transmits the battery authentication module ー low-level voltage to the reference resistor and the junction of Yu identification resistor, so as to start the authentication demand, wherein a voltage value of the low-level voltage is lower than the voltage of the pull-on the voltage value.
20.如权利要求19所述的电池模块的认证方法,其中还包括: 当该认证需求结束后,使该辅助处理模块读取并记录该电池认证模块与该电池模块连接的端点上的电压变化。 20. The authentication method according to the battery module according to claim 19, 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 true CN102820970A (en) 2012-12-12
CN102820970B 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)

Cited By (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
CN103117580A (en) * 2013-02-19 2013-05-22 惠州Tcl移动通信有限公司 Mobile terminal with battery compatibility functions and methods for using batteries and controlling battery charging
CN105354125A (en) * 2015-09-25 2016-02-24 联想(北京)有限公司 Information processing method, battery and electronic device

Citations (4)

* 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
US20070123303A1 (en) * 2005-10-14 2007-05-31 Christopher Book Mobile device with a smart battery

Patent Citations (4)

* 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
US20070123303A1 (en) * 2005-10-14 2007-05-31 Christopher Book Mobile device with a smart battery

Cited By (4)

* 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
CN103117580A (en) * 2013-02-19 2013-05-22 惠州Tcl移动通信有限公司 Mobile terminal with battery compatibility functions and methods for using batteries and controlling battery charging
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

Also Published As

Publication number Publication date Type
CN102820970B (en) 2016-08-03 grant

Similar Documents

Publication Publication Date Title
US6798173B2 (en) Automatic charging device via a universal serial bus and method of operating the same
US20080303486A1 (en) Apparatuses and methods for detecting power source
US20020156949A1 (en) Method of and device for detecting cable connection
US20100205463A1 (en) Bistone port power controller for usb hubs with legacy battery charge support
US20100060233A1 (en) Charger with USB detection
US20120290761A1 (en) USB Converter and Related Method
US7895385B2 (en) Establishing communication over serial buses in a slave device
CN101398459A (en) Method and device for identifying charger type
US20110131356A1 (en) Method and system for high-speed detection handshake in universal serial bus based data communication system
CN103208850A (en) Universal serial bus (USB) charging system with variable charging voltage, charger and intelligent terminal
CN201550170U (en) USB/charger insert recognition device of mobile terminal
CN103066340A (en) Charging method, mobile terminal and adapter
CN101164192A (en) Cell pack and its connection system
CN101499670A (en) Charging systems and control methods for charging current
US7480758B2 (en) Method and apparatus for automatically switching between USB host and device
US8683087B2 (en) Mobile device auto detection apparatus and method
US20110314201A1 (en) Method and device for identifying universal serial bus (usb) insertion or charger insertion of mobile terminal
CN101702146A (en) Method and unit for distinguishing charger and data line of universal serial bus
US20090083459A1 (en) Universal interface compatibility of a sensor
CN102231543A (en) System capable of identifying charging capability of charger and charging method thereof
US20140103864A1 (en) Hand held device, usb charger, and method for hand held device to identify usb charger
US20150188334A1 (en) Wireless battery management system
CN102255346A (en) The portable electronic device
US6246600B1 (en) Multi-use battery
CN101267120A (en) Method for identifying power device and its circuit

Legal Events

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