TWI423555B - Electrical apparatus and verification method for battery module thereof - Google Patents
Electrical apparatus and verification method for battery module thereof Download PDFInfo
- Publication number
- TWI423555B TWI423555B TW100119879A TW100119879A TWI423555B TW I423555 B TWI423555 B TW I423555B TW 100119879 A TW100119879 A TW 100119879A TW 100119879 A TW100119879 A TW 100119879A TW I423555 B TWI423555 B TW I423555B
- Authority
- TW
- Taiwan
- Prior art keywords
- voltage
- authentication
- battery
- module
- resistor
- Prior art date
Links
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Secondary Cells (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Description
本發明是有關於一種電子裝置的電池模組的認證裝置及其認證方法。The present invention relates to an authentication device for a battery module of an electronic device and an authentication method thereof.
請參照圖1,圖1繪示習知的電子裝置100的示意圖。在這種的習知技術領域中,用來連接至電子裝置100以提供電力的電池110中設置有一個下拉電阻RPL。下拉電阻RPL串接在電池110的連接端CN1與接地電壓GND間。而電子裝置100中用來進行電池認證的電池認證模組120中則包括上拉電阻RPU、電晶體M1、電阻RSD1以及處理器121及122。上拉電阻RPU連接至電壓V1以及電晶體M1的閘極,電晶體M1的汲極則耦接至電壓V2以及處理器121,電晶體M1的源極則耦接至接地電壓GND。電阻RSD1則串接在端點DT及處理器122間。另外,電池認證模組120還連接至連接端CN2。Please refer to FIG. 1 , which illustrates a schematic diagram of a conventional electronic device 100 . In this prior art, a pull-down resistor RPL is provided in the battery 110 for connecting to the electronic device 100 to provide power. The pull-down resistor RPL is connected in series between the connection terminal CN1 of the battery 110 and the ground voltage GND. The battery authentication module 120 for performing battery authentication in the electronic device 100 includes a pull-up resistor RPU, a transistor M1, a resistor RSD1, and processors 121 and 122. The pull-up resistor RPU is connected to the voltage V1 and the gate of the transistor M1. The drain of the transistor M1 is coupled to the voltage V2 and the processor 121, and the source of the transistor M1 is coupled to the ground voltage GND. The resistor RSD1 is connected in series between the terminal DT and the processor 122. In addition, the battery authentication module 120 is also connected to the connection terminal CN2.
當電池110透過其連接端CN1與電池認證模組120所連接的連接端CN2相互連接時,端點DT上的電壓會等於電壓V1依據上拉電阻RPU以及下拉電阻RPL的電阻值來進行分壓所產生的電壓值。此時處理器122則讀取端點DT上的電壓,以區別電池110的廠牌。另外,在電池110有效連接至電池認證模組120時,端點DT上的電壓會降低並使電晶體M1關閉。因此,處理器121接收到等於電壓V2的電壓值,並據此判斷電池110已經被連接至電子裝置100上。When the battery 110 is connected to the connection terminal CN2 connected to the battery authentication module 120 through the connection terminal CN1, the voltage on the terminal DT is equal to the voltage V1, and the voltage is divided according to the resistance values of the pull-up resistor RPU and the pull-down resistor RPL. The resulting voltage value. At this point, the processor 122 reads the voltage on the terminal DT to distinguish the brand of the battery 110. In addition, when the battery 110 is operatively connected to the battery authentication module 120, the voltage at the terminal DT is lowered and the transistor M1 is turned off. Therefore, the processor 121 receives a voltage value equal to the voltage V2, and accordingly determines that the battery 110 has been connected to the electronic device 100.
由於在這種習知的電池識別方法下,非原廠的電池僅需要在其中配置一個與原廠電池中的下拉電阻RPL相同阻值的電阻,就可以使電池認證模組120無法辨識是否為原廠的電池。如此一來,當電子裝置100對此種非原廠的電池進行充電的動作時,就有可能因為電壓過充而產生安全上的顧慮。In this conventional battery identification method, the non-original battery only needs to have a resistor having the same resistance value as the pull-down resistor RPL in the original battery, so that the battery authentication module 120 cannot recognize whether it is Original battery. As a result, when the electronic device 100 charges the non-original battery, there is a possibility that safety concerns arise due to voltage overcharge.
本發明提供一種電子裝置,以對其所連接的電池模組進行認證,以避免非認證的電池模組對電子裝置所可能造成的損害。The invention provides an electronic device for authenticating a battery module connected thereto to avoid damage to an electronic device caused by a non-certified battery module.
本發明提供一種電子裝置的電池模組的認證方法,以避免非認證的電池模組對電子裝置所可能造成的損害。。The invention provides a method for authenticating a battery module of an electronic device, so as to avoid damage to the electronic device caused by the non-certified battery module. .
本發明提出一種電子裝置,包括電池模組以及電池認證模組。電池模組具有認證電路以及識別電阻,其中,識別電阻耦接至第一參考電壓。電池認證模組具有參考電阻耦接至第二參考電壓。當電池模組該連接至電池認證模組時,參考電阻與識別電阻串接於第一及第二參考電壓間。電池認證模組依據參考電阻與識別電阻的耦接點的電壓準位來獲得電池模組的型態資訊。電池認證模組並傳送認證需求至認證電路,使認證電路藉由參考電阻與識別電阻的耦接路徑傳送認證資訊至電池認證模組。The invention provides an electronic device comprising a battery module and a battery authentication module. The battery module has an authentication circuit and an identification resistor, wherein the identification resistor is coupled to the first reference voltage. The battery authentication module has a reference resistor coupled to the second reference voltage. When the battery module is connected to the battery authentication module, the reference resistor and the identification resistor are connected in series between the first and second reference voltages. The battery authentication module obtains the type information of the battery module according to the voltage level of the coupling point of the reference resistor and the identification resistor. The battery authentication module transmits the authentication requirement to the authentication circuit, so that the authentication circuit transmits the authentication information to the battery authentication module through the coupling path of the reference resistor and the identification resistor.
本發明另提出一種具有電池認證模組的電子裝置的電池模組的認證方法,包括:先讀取電池認證模組與電池模組的連接端點的電壓準位,並依據電壓準位來獲得電池模組的的型態資訊。再藉由電池認證模組傳送認證需求至認證電路,並使認證電路依據認證需求來藉由電池認證模組與電池模組連接的端點傳送認證資訊至電池認證模組。The invention further provides a method for authenticating a battery module of an electronic device with a battery authentication module, which comprises: first reading a voltage level of a connection end point of the battery authentication module and the battery module, and obtaining the voltage level according to the voltage level. Type information of the battery module. The battery authentication module transmits the authentication requirement to the authentication circuit, and the authentication circuit transmits the authentication information to the battery authentication module through the terminal connected to the battery authentication module and the battery module according to the authentication requirement.
基於上述,本發明依據電池認證模組與電池模組的連接端點上的電壓準位,來獲知連接至電子裝置的電池模組的型態資訊。並且,本發明更利用內建在電子裝置中的電池認證模組,來接收由電池認證模組中的認證電路來傳送的認證資訊。進以更有效的確定連接至電子裝置的電池模組的規格、型號及廠牌至少其中之一的型態資訊,可以有效防止電子裝置因使用非認證的電池模組而造成的系統的損害。Based on the above, the present invention knows the type information of the battery module connected to the electronic device according to the voltage level on the connection end point of the battery authentication module and the battery module. Moreover, the present invention further utilizes a battery authentication module built into the electronic device to receive authentication information transmitted by the authentication circuit in the battery authentication module. In order to more effectively determine the specification, model and type information of at least one of the battery modules connected to the electronic device, the damage of the system caused by the use of the non-certified battery module can be effectively prevented.
為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the present invention will be more apparent from the following description.
請參照圖2,圖2繪示本發明一實施例的電子裝置200的示意圖。電子裝置200包括電池模組210以及電池認證模組220。電池模組210具有認證電路211以及識別電阻RPL,其中,識別電阻RPL的一端耦接至參考電壓GND,識別電阻RPL的另一端則耦接至認證電路211。電池認證模組220則具有參考電阻RUP耦接至參考電壓V1。其中,電池模組210以及電池認證模組220各具有連接端點CN1以及CN2。Please refer to FIG. 2. FIG. 2 is a schematic diagram of an electronic device 200 according to an embodiment of the invention. The electronic device 200 includes a battery module 210 and a battery authentication module 220. The battery module 210 has an authentication circuit 211 and an identification resistor RPL. One end of the identification resistor RPL is coupled to the reference voltage GND, and the other end of the identification resistor RPL is coupled to the authentication circuit 211. The battery authentication module 220 has a reference resistor RUP coupled to the reference voltage V1. The battery module 210 and the battery authentication module 220 each have connection terminals CN1 and CN2.
當電池模組210連接至電池認證模組220時,參考電阻RUP與識別電阻RPL串接於參考電壓V1及GND間。也就是說,參考電阻RUP與識別電阻RPL耦接的端點DT上的電壓,會等於參考電壓V1依據參考電阻RUP與識別電阻RPL的電阻值所進行的分壓的結果。When the battery module 210 is connected to the battery authentication module 220, the reference resistor RUP and the identification resistor RPL are connected in series between the reference voltages V1 and GND. That is to say, the voltage on the terminal DT coupled to the identification resistor RUP and the identification resistor RPL is equal to the result of the voltage division by the reference voltage V1 according to the resistance value of the reference resistor RUP and the identification resistor RPL.
在本實施例中,電池認證模組220依據端點DT上的電壓準位來獲得電池模組210的型態資訊。在此,所謂的型態資訊包括電池模組210廠牌、型號及規格等至少其中之一的資訊。具體一點來說明,由於具有不同型態資訊的電池模組210,其內建的識別電阻RPL的大小是不相同的,因此,在當不同型態資訊的電池模組210連接至電池認證模組220時,端點DT上的電壓準位也會不同。因此,電池認證模組220可以由端點DT上的電壓準位來獲取電池模組210的型態資訊。In this embodiment, the battery authentication module 220 obtains the type information of the battery module 210 according to the voltage level on the terminal DT. Here, the so-called type information includes information on at least one of the battery module 210 brand, model and specification. Specifically, since the battery module 210 having different types of information has different built-in identification resistors RPL, the battery module 210 of different types of information is connected to the battery authentication module. At 220 o'clock, the voltage level on the endpoint DT will also be different. Therefore, the battery authentication module 220 can obtain the type information of the battery module 210 by the voltage level on the terminal DT.
另外,請特別注意的,電池認證模組220在確知已與電池模組210產生連接後,電池認證模組220會傳送認證需求至電池模組210中的認證電路211,並藉此使認證電路211可以藉由參考電阻RUP與識別電阻RPL的耦接路徑PT1來傳送認證資訊至電池認證模組220。附帶一提的,前述的電池認證模組220會傳送認證需求至電池模組210中的認證電路211也是通過同樣的路徑PT1來將認證需求由電池認證模組220傳送至認證電路211。In addition, please note that after the battery authentication module 220 determines that the battery module 210 has been connected, the battery authentication module 220 transmits the authentication request to the authentication circuit 211 in the battery module 210, thereby making the authentication circuit The 211 can transmit the authentication information to the battery authentication module 220 by the coupling path PT1 of the reference resistor RUP and the identification resistor RPL. Incidentally, the battery authentication module 220 transmits the authentication request to the authentication circuit 211 in the battery module 210. The authentication request is transmitted from the battery authentication module 220 to the authentication circuit 211 through the same path PT1.
在此,認證電路211可以是一種可以傳送數位或類比格式的認證資訊至連接端點CN1的電路。也就是說,認證電路211可以是利用串接的電阻串、可執行編碼的積體電路或是電容網路來產生認證資訊。其中,當認證電路211可以是利用兩個不同準位的電壓間串接在電阻串,並利用電阻串所產生的分壓電壓,來提供生認證資訊。或者,認證電路211可以利用可執行編碼的積體電路,來提供編碼過的數位資料來作為的認證資訊。亦或是,認證電路211也可以透過電容網路來以對電壓進行分壓或是倍壓的方式,來產生認證資訊。Here, the authentication circuit 211 may be a circuit that can transmit authentication information in a digital or analog format to the connection endpoint CN1. That is to say, the authentication circuit 211 can generate authentication information by using a series of resistor strings, an executable integrated circuit or a capacitor network. Wherein, when the authentication circuit 211 is connected to the resistor string by using voltages of two different levels, and using the divided voltage generated by the resistor string, the authentication information is provided. Alternatively, the authentication circuit 211 may use the integrated circuit of the executable code to provide the encoded digital data as the authentication information. Alternatively, the authentication circuit 211 can also generate the authentication information by dividing or voltage the voltage through the capacitor network.
由於電池認證模組220與電池模組210所具有的連接端點CN2及CN1皆為單一條導線的連接端點,因此,電池認證模組220與電池模組210間的資訊傳送可以透過一種所謂的單線連接協議(one-wire protocol)來進行。Since the connection terminals CN2 and CN1 of the battery authentication module 220 and the battery module 210 are connection terminals of a single wire, the information transmission between the battery authentication module 220 and the battery module 210 can pass through a so-called The one-wire protocol is used.
所謂的單線連接協議,指的是利用單一條導線來進行兩個電子裝置間的資料傳輸。簡單來說,在單線連接協議的架構下,可以將用來進行資料傳輸的導線保持在被拉高(pull high)的狀態。在其中的一個電子裝置(例如裝置A)要傳送資料給另一個電子裝置(例如裝置B)時,裝置A可以透過拉低(pull low)導線上的電壓準位一段時間以告知裝置B要進行資寮的傳遞。在裝置B確認獲知裝置A要進行的資料傳遞動作後,裝置A可以透過拉低導線上的電壓準位不同的時間來傳遞不同(邏輯0或邏輯1)的資料。The so-called single-wire connection protocol refers to the use of a single wire for data transmission between two electronic devices. In simple terms, under the single-wire connection protocol architecture, the wires used for data transmission can be kept in a pull high state. When one of the electronic devices (for example, device A) is to transmit data to another electronic device (for example, device B), device A can pull device 25 to pull the voltage level on the wire for a period of time to inform device B to perform The transfer of funds. After device B confirms that the device A is to perform the data transfer operation, device A can transmit different (logic 0 or logic 1) data by pulling down the voltage level on the wire for different times.
以下請參照圖3,圖3繪示本發明實施例的電池認證模組220的一實施方式的示意圖。電池認證模組220除包括參考電阻RUP外,尚包括主要處理器221、輔助處理模組222以及分壓電阻RBAT_ID。主要處理器221耦接至參考電阻RUP未耦接參考電壓V1的端點DT。輔助處理模組222則耦接至主要處理器221,且分壓電阻RBAT_ID耦接在輔助處理模組222與主要處理器221的耦接路徑間,其中,分壓電阻RBAT_ID的電阻值小於參考電阻RUP的電阻值。並且,主要處理器221可以利用其通用型之輸入輸出(General Purpose Input Output,GPIO)埠的一個腳位來耦接至端點DT。並透過這個與端點DT連接的通用型之輸入輸出)埠的一個腳位來進行資料的傳收。Please refer to FIG. 3 . FIG. 3 is a schematic diagram of an embodiment of a battery authentication module 220 according to an embodiment of the present invention. The battery authentication module 220 includes a main processor 221, an auxiliary processing module 222, and a voltage dividing resistor RBAT_ID in addition to the reference resistor RUP. The main processor 221 is coupled to the end point DT of the reference resistor RUP that is not coupled to the reference voltage V1. The auxiliary processing module 222 is coupled to the main processor 221, and the voltage dividing resistor RBAT_ID is coupled between the auxiliary processing module 222 and the main processor 221, wherein the resistor of the voltage dividing resistor RBAT_ID is smaller than the reference resistor. The resistance value of RUP. Moreover, the main processor 221 can be coupled to the endpoint DT by using a pin of its general purpose input output (GPIO). The data is transmitted and received through a pin of the general-purpose input/output (埠) connected to the endpoint DT.
以下將配合圖2以及圖3,來具體的說明本發明實施例的電子裝置200的電池模組210的認證動作。首先,當電池模組210被連接至電子裝置200時,輔助處理模組222依據讀取端點DT上的電壓值,來獲取電池模組210的型態資訊。在此,輔助處理模組222可以是一個類比數位轉換器,以將類比格式的端點DT上的電壓轉換成數位格式,並提供電池模組210利用數位格式的端點DT上的電壓來獲得電池模組210的型態資訊。Hereinafter, the authentication operation of the battery module 210 of the electronic device 200 according to the embodiment of the present invention will be specifically described with reference to FIGS. 2 and 3. First, when the battery module 210 is connected to the electronic device 200, the auxiliary processing module 222 acquires the type information of the battery module 210 according to the voltage value on the read end point DT. Here, the auxiliary processing module 222 can be an analog-to-digital converter to convert the voltage on the endpoint DT of the analog format into a digital format, and provide the battery module 210 to obtain the voltage on the endpoint DT of the digital format. Type information of the battery module 210.
接著,輔助處理模組222提供一個上拉電壓VUP至分壓電阻RBAT_ID的一端(分壓電阻RBAT_ID的另一端耦接至端點DT),並且,在輔助處理模組222所提供的上拉電壓VUP穩定後,主要處理器221傳送低準位電壓至端點DT上,以使得端點DT上的電壓準位由等於上拉電壓VUP的電壓準位,被拉至較低的電壓準位(例如等於接地電壓)。在此同時,電池模組210的認證電路221則可以偵測到端點DT上的電壓被拉低的狀態,並藉以獲知電池認證模組220所提出的認證需求。Then, the auxiliary processing module 222 provides a pull-up voltage VUP to one end of the voltage dividing resistor RBAT_ID (the other end of the voltage dividing resistor RBAT_ID is coupled to the terminal DT), and the pull-up voltage provided by the auxiliary processing module 222 After the VUP is stabilized, the main processor 221 transmits the low level voltage to the terminal DT, so that the voltage level on the terminal DT is pulled to a lower voltage level by a voltage level equal to the pull-up voltage VUP ( For example, it is equal to the ground voltage). At the same time, the authentication circuit 221 of the battery module 210 can detect the state that the voltage on the terminal DT is pulled down, and thereby obtain the authentication requirement proposed by the battery authentication module 220.
值得一提的是,在本實施例中,參考電阻RUP的電阻值是遠大於分壓電阻RBAT_ID的電阻值的。在當輔助處理模組222提供的上拉電壓VUP至分壓電阻RBAT_ID的一端時,端點DT上的電壓值幾乎是由上拉電壓VUP的電壓值大小所決定。也就是說,此時的端點DT上的電壓值約等於上拉電壓VUP的電壓。在另一方面,當端點DT上的電壓穩定後,主要處理器221透過傳送低準位電壓至端點DT上,以拉降端點DT上的電壓為等於低準位電壓。It is worth mentioning that in the present embodiment, the resistance value of the reference resistor RUP is much larger than the resistance value of the voltage dividing resistor RBAT_ID. When the pull-up voltage VUP supplied from the auxiliary processing module 222 is one end of the voltage dividing resistor RBAT_ID, the voltage value at the terminal DT is almost determined by the magnitude of the voltage value of the pull-up voltage VUP. That is to say, the voltage value at the terminal DT at this time is approximately equal to the voltage of the pull-up voltage VUP. On the other hand, when the voltage on the terminal DT is stabilized, the main processor 221 transmits the low level voltage to the terminal DT to pull down the voltage on the terminal DT equal to the low level voltage.
另外,為進行靜電放電的防護,主要處理器221與端點DT間串接電阻RESD。In addition, in order to protect against electrostatic discharge, the resistor RESD is connected in series between the main processor 221 and the terminal DT.
電池模組210的認證電路221在獲知電池認證模組220所提出的認證需求後,主要處理器221則改變其耦接參考電阻RUP的端點為輸入端點,而認證電路221則可以提供端點DT低準位電壓,並利用拉低端點DT上的電壓準位來序列的傳送認證資訊。其中,主要處理器221可以利用其通用型之輸入輸出埠的一個腳位來耦接端點DT,並藉以傳送電壓至端點DT上或接收端點DT上的電壓準位。After the authentication circuit 221 of the battery module 210 knows the authentication requirement put forward by the battery authentication module 220, the main processor 221 changes the end point of the coupling reference resistor RUP as an input end point, and the authentication circuit 221 can provide the end. The DT low level voltage is used to transmit the authentication information in sequence by pulling down the voltage level on the terminal DT. The main processor 221 can be coupled to the terminal DT by using a pin of its general-purpose input/output port, and thereby transmitting a voltage to the terminal DT or receiving the voltage level on the terminal DT.
此外,在認證需求結束後,輔助處理模組222可透過監測端點DT上的電壓變化,來獲知電池模組210的電壓變化曲線。In addition, after the authentication requirement ends, the auxiliary processing module 222 can obtain the voltage variation curve of the battery module 210 by monitoring the voltage change on the terminal DT.
附帶一提的,輔助處理模組222的提供的上拉電壓VUP的動作以及接收端點DT上的電壓的動作可以透過主要處理器221的一個通用型之輸入輸出埠的一個腳位來完成。換句話說,輔助處理模組222是可以內建在主要處理器221中的。Incidentally, the action of the pull-up voltage VUP provided by the auxiliary processing module 222 and the action of receiving the voltage on the terminal DT can be performed by a pin of a general-purpose input/output port of the main processor 221. In other words, the auxiliary processing module 222 can be built into the main processor 221.
以下請參照圖4A及圖4B,圖4A及圖4B分別繪示電池認證模組與電池模組間的資訊傳送的波形圖,在圖4A及圖4B中,電池認證模組與電池模組間是利用單線連接協議來進行資料的傳遞。其中,在圖4A的繪示中,在時間區間T0中,輔助處理模組提供上拉電壓VUP並使端點DT的電壓準位維持在約等於上拉電壓VUP的電壓準位。在時間區間T1中,主要處理器則藉由提供低準位電壓來持續拉低端點DT的電壓準位。在時間區間T3中,則是電池模組在時間區間T1接收並獲知認證需求已被啟動,而對應以拉低端點DT的電壓準位來傳送認知(acknowledge)訊號至電池認證模組。Please refer to FIG. 4A and FIG. 4B. FIG. 4A and FIG. 4B respectively show waveform diagrams of information transmission between the battery authentication module and the battery module. In FIG. 4A and FIG. 4B, between the battery authentication module and the battery module. The single-line connection protocol is used to transfer data. In the illustration of FIG. 4A, in the time interval T0, the auxiliary processing module provides the pull-up voltage VUP and maintains the voltage level of the terminal DT at a voltage level approximately equal to the pull-up voltage VUP. In the time interval T1, the main processor continues to pull down the voltage level of the terminal DT by providing a low level voltage. In the time interval T3, the battery module receives and knows that the authentication requirement has been activated in the time interval T1, and transmits the cognitive signal to the battery authentication module correspondingly to lower the voltage level of the terminal DT.
在此請注意,在時間區間T1及T2間,主要處理器耦接端點DT的端點被設定為輸入端點,藉以接收由電池模組所主導產生的端點DT上的電壓變化,以接收認證電路所傳送的認證資訊,並透過所接收到的認證資訊來對電池模組進行認證的動作。Please note that during the time interval T1 and T2, the endpoint of the main processor coupled to the endpoint DT is set as the input endpoint to receive the voltage change on the terminal DT led by the battery module. The authentication information transmitted by the authentication circuit is received, and the battery module is authenticated through the received authentication information.
在圖4B的繪示中,認證電路可以透過拉低端點DT的電壓的時間長短來傳送邏輯信號的認證資訊。以波形410為例,認證電路持續拉低端點DT的電壓一個時間區間TL,以藉以傳送邏輯信號“1”。相對的,以波形420為例,認證電路持續拉低端點DT的電壓一個時間區間TH,以藉以傳送邏輯信號“0”。其中,時間區間TH長於時間區間TL。In the illustration of FIG. 4B, the authentication circuit can transmit the authentication information of the logic signal by pulling down the voltage of the terminal DT. Taking the waveform 410 as an example, the authentication circuit continues to pull down the voltage of the terminal DT for a time interval TL to transmit the logic signal "1". In contrast, taking waveform 420 as an example, the authentication circuit continues to pull down the voltage of the terminal DT for a time interval TH to thereby transfer the logic signal "0". Among them, the time interval TH is longer than the time interval TL.
當然,上述的邏輯信號“1”或“0”與端點DT的電壓被拉低的時間區間的長短的對應關係是可以被變更,並非必需固定而不能改變。Of course, the correspondence relationship between the above-described logic signal "1" or "0" and the length of the time interval in which the voltage of the terminal DT is pulled down can be changed, and it is not necessary to be fixed and cannot be changed.
以下請參照圖5,圖5繪示本發明實施例的電池認證模組220的另一實施方式。電池認證模組220包括主要處理器221、輔助處理模組223以及224、分壓電阻RBAT以及RBAT_ID以及電阻RESD。與圖3繪示的實施方式不相同的,本實施方式中,電池認證模組220包括兩個輔助處理模組223以及224。輔助處理模組223以及224的其中之一用以在進行認證需求時提供上拉電壓,輔助處理模組223以及224的另一則為類比數位轉換器,用以在進行認證需求前偵測端點DT上的電壓值。Referring to FIG. 5, FIG. 5 illustrates another embodiment of a battery authentication module 220 according to an embodiment of the present invention. The battery authentication module 220 includes a main processor 221, auxiliary processing modules 223 and 224, voltage dividing resistors RBAT and RBAT_ID, and a resistor RESD. Different from the embodiment shown in FIG. 3 , in the embodiment, the battery authentication module 220 includes two auxiliary processing modules 223 and 224 . One of the auxiliary processing modules 223 and 224 is configured to provide a pull-up voltage when performing authentication requirements, and the other of the auxiliary processing modules 223 and 224 is an analog digital converter for detecting an endpoint before performing an authentication request. The voltage value on DT.
另外,作為類比數位轉換器的輔助處理模組223或224也可以在認證需求結束後,透過監測端點DT上的電壓變化,來獲知電池模組210的電壓變化曲線。In addition, the auxiliary processing module 223 or 224, which is an analog digital converter, can also know the voltage variation curve of the battery module 210 by monitoring the voltage change on the terminal DT after the authentication request is completed.
以下則請參照圖6,圖6繪示本發明一實施例的電子裝置的電池模組的認證方法。其中的電子裝置具有電池認證模組,本實施例的認證步驟包括:首先,讀取電池認證模組與電池模組的連接端點的電壓準位,並依據電壓準位來獲得電池模組的型態資訊(S610)。接著,由電池認證模組傳送認證需求至認證電路(S620)。最後,再使認證電路依據認證需求藉由電池認證模組與電池模組連接的端點傳送認證資訊至電池認證模組(S630),也就是依據單線連接協議來傳送認證資訊至電池認證模組。Please refer to FIG. 6 . FIG. 6 illustrates an authentication method of a battery module of an electronic device according to an embodiment of the present invention. The electronic device has a battery authentication module. The authentication step of the embodiment includes: first, reading the voltage level of the connection end point of the battery authentication module and the battery module, and obtaining the battery module according to the voltage level. Type information (S610). Next, the authentication request is transmitted from the battery authentication module to the authentication circuit (S620). Finally, the authentication circuit transmits the authentication information to the battery authentication module (S630) by the terminal connected to the battery authentication module and the battery module according to the authentication requirement, that is, the authentication information is transmitted to the battery authentication module according to the single wire connection protocol. .
關於本發明的電子裝置的電池模組的認證方法的細節,在前述的實施例及實施方式都有詳細的說明,以下恕不多贅述。The details of the authentication method of the battery module of the electronic device of the present invention will be described in detail in the foregoing embodiments and embodiments, and will not be further described below.
綜上所述,本發明除依據電池模組與電池認證模組的連接點上的電壓大小來獲知電池模組的型態資訊,更透過由電池模組傳送認證資訊至電池認證模組。並藉此由電池認證模組對電池模組進行更準確的認證,如此一來,僅有完全符合規格的原廠的電池模組可以通過認證,非原廠的電池模組將不會通過認證而被誤用。有效排除因使用到不良的電池而導致的電子裝置的損壞的現象。In summary, the present invention not only knows the type information of the battery module according to the voltage on the connection point of the battery module and the battery authentication module, but also transmits the authentication information to the battery authentication module through the battery module. In this way, the battery module can be more accurately certified by the battery authentication module. As a result, only the original battery module that fully meets the specifications can be certified, and the non-original battery module will not pass the certification. It was misused. Effectively eliminates damage to the electronic device caused by the use of a poor battery.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.
200‧‧‧電子裝置200‧‧‧Electronic devices
210‧‧‧電池模組210‧‧‧ battery module
220‧‧‧電池認證模組220‧‧‧Battery Certification Module
211‧‧‧認證電路211‧‧‧Authorized circuit
221‧‧‧主要處理器221‧‧‧ main processor
222、223、224‧‧‧輔助處理模組222, 223, 224‧‧‧Auxiliary Processing Module
DT‧‧‧端點DT‧‧‧ endpoint
RBAT_ID、RBAT‧‧‧分壓電阻RBAT_ID, RBAT‧‧ ‧ voltage divider resistor
RUP‧‧‧參考電阻RUP‧‧‧ reference resistor
RPL‧‧‧識別電阻RPL‧‧‧ identification resistor
GND、V1‧‧‧參考電壓GND, V1‧‧‧ reference voltage
CN1、CN2‧‧‧連接端點CN1, CN2‧‧‧ Connection Endpoints
PT1‧‧‧路徑PT1‧‧ path
RESD‧‧‧電阻RESD‧‧‧resistance
VUP‧‧‧上拉電壓VUP‧‧‧ Pull-up voltage
T0、T1、T3、TL、TH‧‧‧時間區間T0, T1, T3, TL, TH‧‧‧ time interval
S610~S630‧‧‧電池模組的認證步驟S610~S630‧‧‧Battery module certification steps
圖1繪示習知的電子裝置100的示意圖。FIG. 1 is a schematic diagram of a conventional electronic device 100.
圖2繪示本發明一實施例的電子裝置200的示意圖。FIG. 2 is a schematic diagram of an electronic device 200 according to an embodiment of the invention.
圖3繪示本發明實施例的電池認證模組220的一實施方式的示意圖。FIG. 3 is a schematic diagram of an embodiment of a battery authentication module 220 according to an embodiment of the present invention.
圖4A及圖4B分別繪示電池認證模組與電池模組間的資訊傳送的波形圖。4A and 4B are waveform diagrams showing information transmission between the battery authentication module and the battery module, respectively.
圖5繪示本發明實施例的電池認證模組220的另一實施方式。FIG. 5 illustrates another embodiment of a battery authentication module 220 according to an embodiment of the present invention.
圖6繪示本發明一實施例的電子裝置的電池模組的認證方法。6 is a diagram showing an authentication method of a battery module of an electronic device according to an embodiment of the invention.
200...電子裝置200. . . Electronic device
210...電池模組210. . . Battery module
220...電池認證模組220. . . Battery certification module
211...認證電路211. . . Authentication circuit
RUP...參考電阻RUP. . . Reference resistance
RPL...識別電阻RPL. . . Identification resistance
GND、V1...參考電壓GND, V1. . . Reference voltage
CN1、CN2...連接端點CN1, CN2. . . Connection endpoint
PT1...路徑PT1. . . path
DT...端點DT. . . End point
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW100119879A TWI423555B (en) | 2011-06-07 | 2011-06-07 | Electrical apparatus and verification method for battery module thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW100119879A TWI423555B (en) | 2011-06-07 | 2011-06-07 | Electrical apparatus and verification method for battery module thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201251266A TW201251266A (en) | 2012-12-16 |
TWI423555B true TWI423555B (en) | 2014-01-11 |
Family
ID=48139430
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW100119879A TWI423555B (en) | 2011-06-07 | 2011-06-07 | Electrical apparatus and verification method for battery module thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI423555B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100355303C (en) * | 2004-10-04 | 2007-12-12 | 乐金电子(中国)研究开发中心有限公司 | Battery division operation on/off device and method of mobile communication terminal |
US20080303486A1 (en) * | 2007-06-06 | 2008-12-11 | O2Micro, Inc. | Apparatuses and methods for detecting power source |
TW201004094A (en) * | 2008-07-04 | 2010-01-16 | Chi Mei Comm Systems Inc | System and method for detecting a temperature of a battery |
TW201021362A (en) * | 2008-09-23 | 2010-06-01 | Stl Energy Technology S Pte Ltd | Battery pack and method of battery pack power management |
CN101322089B (en) * | 2005-10-14 | 2010-11-10 | 捷讯研究有限公司 | Battery pack authentication for a mobile device |
TW201108541A (en) * | 2009-06-04 | 2011-03-01 | O2Micro Inc | System for protection of battery pack and method for charging and discharging thereof |
-
2011
- 2011-06-07 TW TW100119879A patent/TWI423555B/en active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100355303C (en) * | 2004-10-04 | 2007-12-12 | 乐金电子(中国)研究开发中心有限公司 | Battery division operation on/off device and method of mobile communication terminal |
CN101322089B (en) * | 2005-10-14 | 2010-11-10 | 捷讯研究有限公司 | Battery pack authentication for a mobile device |
US20080303486A1 (en) * | 2007-06-06 | 2008-12-11 | O2Micro, Inc. | Apparatuses and methods for detecting power source |
TW201004094A (en) * | 2008-07-04 | 2010-01-16 | Chi Mei Comm Systems Inc | System and method for detecting a temperature of a battery |
TW201021362A (en) * | 2008-09-23 | 2010-06-01 | Stl Energy Technology S Pte Ltd | Battery pack and method of battery pack power management |
TW201108541A (en) * | 2009-06-04 | 2011-03-01 | O2Micro Inc | System for protection of battery pack and method for charging and discharging thereof |
Also Published As
Publication number | Publication date |
---|---|
TW201251266A (en) | 2012-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5717005B2 (en) | Method and terminal for selecting an internal circuit according to the status of a USB interface | |
CN102820970B (en) | Electronic installation and the authentication method of battery module thereof | |
US9484759B2 (en) | Method for detecting a type of charger coupled to an input-output circuit and input-output circuit therefor | |
US20120290761A1 (en) | USB Converter and Related Method | |
WO2017063192A1 (en) | Charging method, mobile terminal, and charging device | |
US9077195B2 (en) | Input-output circuit | |
WO2019206317A1 (en) | Charging device, usb cable and charging system | |
WO2018018916A1 (en) | Charging system, terminal, power adapter and charging line | |
TWI501085B (en) | Usb interface detection device | |
TWI542987B (en) | Apparatus for power input detection and method thereof | |
JP5349953B2 (en) | System and method for protecting a low voltage transceiver | |
CN109271830A (en) | Fingerprint sensing integrated circuit | |
CN104919388A (en) | Charging an electrical device via a data interface | |
TWI540908B (en) | Multimedia output device and audio output method thereof | |
TWI423555B (en) | Electrical apparatus and verification method for battery module thereof | |
US8912749B2 (en) | Electrical apparatus and verification method for battery module thereof | |
CN105824732A (en) | USB detection method and detection system | |
US7353138B2 (en) | System state monitoring circuit | |
CN106856289A (en) | Electronic equipment and its circuit, interconnecting device and its circuit and signal processing system | |
TW200837570A (en) | A communication apparatus | |
TWI581104B (en) | Host devices and methods for transmitting data | |
JP7223835B2 (en) | Command time test method and system, and computer storage medium | |
CN204462295U (en) | Auxiliary circuit is detected from equipment and insertion thereof | |
TWI548996B (en) | Computer device | |
CN203760209U (en) | MHL cable and MHL cable hot plug detecting system |