[go: up one dir, main page]

CN102736714B - Portable electronic device and battery module sensing method thereof - Google Patents

Portable electronic device and battery module sensing method thereof Download PDF

Info

Publication number
CN102736714B
CN102736714B CN201110081745.1A CN201110081745A CN102736714B CN 102736714 B CN102736714 B CN 102736714B CN 201110081745 A CN201110081745 A CN 201110081745A CN 102736714 B CN102736714 B CN 102736714B
Authority
CN
China
Prior art keywords
interface
module
battery module
signal
battery
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201110081745.1A
Other languages
Chinese (zh)
Other versions
CN102736714A (en
Inventor
林俊州
罗振原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Acer Inc
Original Assignee
Acer Inc
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
Application filed by Acer Inc filed Critical Acer Inc
Priority to CN201110081745.1A priority Critical patent/CN102736714B/en
Publication of CN102736714A publication Critical patent/CN102736714A/en
Application granted granted Critical
Publication of CN102736714B publication Critical patent/CN102736714B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Power Sources (AREA)

Abstract

A portable electronic device and a battery module sensing method thereof are provided. The portable electronic device comprises a connecting interface, a switching module and a detection module; the connecting interface is used for electrically connecting a battery module; the switching module is electrically connected with the connecting interface through two lines to receive a battery signal transmitted by the battery module through the two lines, wherein the battery signal comprises a clock signal and a data signal; the detection module is electrically connected to the two lines respectively, and the detection module judges the interface type of the battery module by detecting that the clock signal and the data signal are transmitted by the same line or different lines in the two lines respectively, and informs the switching module to switch the corresponding transmission line according to the interface type of the battery module. The invention can judge the interface of the current battery module and automatically switch the transmission line corresponding to the interface of the portable electronic device, thereby improving the convenience in use.

Description

便携式电子装置及其电池模块感测方法Portable electronic device and battery module sensing method thereof

技术领域 technical field

本发明涉及一种便携式电子装置,特别是一种能检测目前电池模块的接口类型以进行对应电路切换的便携式电子装置。此外本发明亦包括应用于便携式电子装置的电池模块感测方法。The invention relates to a portable electronic device, in particular to a portable electronic device capable of detecting the interface type of a current battery module to switch corresponding circuits. In addition, the present invention also includes a battery module sensing method applied to portable electronic devices.

背景技术 Background technique

便携式电子装置具有便携性的特点,因此采用可替换的电池模块作为电力供应来源,当电池模块电量不足时,可直接更换电池模块或对其进行充电,以便装置能持续使用。传统的电池模块仅提供电力供应的效果,但随着科技的进步,较高规格的电池模块亦随之诞生,其内部加入了保护电路及电容量监测组件等,提高了电池模块在使用上的稳定性及功能性。Portable electronic devices are characterized by portability, so a replaceable battery module is used as a power supply source. When the battery module is low in power, the battery module can be directly replaced or charged so that the device can continue to use. The traditional battery module only provides the effect of power supply, but with the advancement of technology, a higher specification battery module is also born, and a protection circuit and a capacity monitoring component are added inside, which improves the safety of the battery module in use. stability and functionality.

目前这类高规格的电池模块所采用的连接接口大致区分为I2C(Inter-IntegratedCircuit,内部集成电路)接口及HDQ(Harmonic-Differential-quadrature,谐波微分正交)接口两种形式,其因应不同电子装置的设计需求而对应设置。由于I2C接口及HDQ接口的信号传输方式并不相同,使得前述这两种连接接口并无法互通,因此各电子装置只会挑选其中一种接口形式来使用。在此情况下,当使用者所购入的多个电子装置分别支持二种不同接口时,因电池模块无法兼容共用,势必要准备不同接口的电池模块备用,如此将造成使用者的困扰。因此,如何能提供一种便携式电子装置能兼容不同接口的电池模块的相关技术,实为一值得研究的课题。At present, the connection interfaces used by such high-standard battery modules are roughly divided into two types: I2C (Inter-Integrated Circuit, internal integrated circuit) interface and HDQ (Harmonic-Differential-quadrature, harmonic differential-quadrature) interface. The design requirements of the electronic device are set accordingly. Since the signal transmission methods of the I2C interface and the HDQ interface are different, the aforementioned two connection interfaces cannot communicate with each other, so each electronic device will only select one of the interface forms to use. In this case, when a plurality of electronic devices purchased by the user support two different interfaces, the battery modules with different interfaces must be prepared for backup because the battery modules cannot be compatible and shared, which will cause troubles for the users. Therefore, how to provide a related technology for the portable electronic device to be compatible with battery modules with different interfaces is a topic worth studying.

发明内容 Contents of the invention

本发明的主要目的是在提供一种能检测目前电池模块的接口类型以进行对应电路切换的便携式电子装置。The main purpose of the present invention is to provide a portable electronic device capable of detecting the interface type of the current battery module and switching the corresponding circuit.

为达到上述的目的,本发明的便携式电子装置包括一连接接口、一切换模块以及一检测模块;该连接接口用以电性连接一电池模块;该切换模块藉由二线路电性连接于该连接接口,以接收该电池模块通过该二线路所传入的一电池信号,其中该电池信号包括一时钟信号及一数据信号;该检测模块分别电性连接于该二线路,该检测模块藉由检测该时钟信号及该数据信号均以该二线路中的相同线路或分别以不同线路传送,来判别该电池模块的接口类型,并通知该切换模块根据该电池模块的接口类型切换对应的传输线路。To achieve the above object, the portable electronic device of the present invention includes a connection interface, a switch module and a detection module; the connection interface is used to electrically connect a battery module; the switch module is electrically connected to the connection through two lines interface to receive a battery signal from the battery module through the two lines, wherein the battery signal includes a clock signal and a data signal; the detection modules are electrically connected to the two lines respectively, and the detection module detects The clock signal and the data signal are transmitted through the same line or different lines of the two lines to determine the interface type of the battery module, and notify the switching module to switch the corresponding transmission line according to the interface type of the battery module.

此外本发明亦提供应用于前述便携式电子装置的电池模块感测方法,该方法包括以下步骤:判断该便携式电子装置是否与一电池模块电性连接;若是,接收该电池模块所传送的一电池信号,其中该电池信号包括一时钟信号及一数据信号;检测该时钟信号及该数据信号是否经由相同线路传送,以判别所对应该电池模块的接口类型;以及依据该电池模块的接口类型切换对应的传输线路。In addition, the present invention also provides a battery module sensing method applied to the aforementioned portable electronic device, the method includes the following steps: judging whether the portable electronic device is electrically connected to a battery module; if so, receiving a battery signal transmitted by the battery module , wherein the battery signal includes a clock signal and a data signal; detecting whether the clock signal and the data signal are transmitted through the same line to determine the interface type of the corresponding battery module; and switching the corresponding battery module according to the interface type of the battery module transmission line.

藉由本发明的设计,当使用者采用I2C接口或HDQ接口的电池模块装设于便携式电子装置内时,均可通过电性连接后所产生的信号差异来判断目前电池模块的接口为何,并且让便携式电子装置自动切换对应该接口的传输线路,以提高使用上的便利性。With the design of the present invention, when the user installs the battery module with the I2C interface or the HDQ interface in the portable electronic device, the interface of the current battery module can be judged by the signal difference generated after the electrical connection, and let The portable electronic device automatically switches the transmission line corresponding to the interface, so as to improve the convenience in use.

附图说明 Description of drawings

图1为本发明的便携式电子装置的示意图。FIG. 1 is a schematic diagram of a portable electronic device of the present invention.

图2为本发明的便携式电子装置与不同接口类型的电池模块电性连接的信号差异表。FIG. 2 is a signal difference table of the electrical connection between the portable electronic device of the present invention and battery modules of different interface types.

图3为应用本发明的电池模块感测方法的流程图。FIG. 3 is a flow chart of the battery module sensing method of the present invention.

主要组件符号说明:Description of main component symbols:

便携式电子装置1检测模块30Portable electronic device 1 detection module 30

连接接口10计时器31connection interface 10 timer 31

切换模块20处理模块40Switching module 20 Processing module 40

线路21、22显示模块50Line 21, 22 display module 50

切换开关23、24电池模块80Switch 23, 24 battery module 80

具体实施方式 detailed description

为让审查员能更了解本发明的技术内容,特举出较佳实施例说明如下。In order to allow the examiners to better understand the technical content of the present invention, preferred embodiments are given and described as follows.

请先参考图1,图1为本发明的便携式电子装置1的示意图。在本发明的一实施例中,便携式电子装置1可为一智能型手机、一个人数字助(PDA)或其他使用电池模块的便携性装置,但不以本实施例为限。Please refer to FIG. 1 first. FIG. 1 is a schematic diagram of a portable electronic device 1 of the present invention. In an embodiment of the present invention, the portable electronic device 1 can be a smart phone, a personal digital assistant (PDA) or other portable devices using battery modules, but not limited to this embodiment.

如图1所示,本发明的便携式电子装置1包括连接接口10、切换模块20以及检测模块30。连接接口10设置于便携式电子装置1的一电池容置槽(图未示)内,电池容置槽可容置一电池模块80,使得当电池模块80装设于电池容置槽内时,电池模块80的接口与连接接口10呈电性连接状态。由于不论是I2C接口或HDQ接口的电池模块80,在其接口均设置4个接点,分别为1个电源接点、2个信号接点以及1个接地接点,因此本发明的便携式电子装置1的连接接口10亦对应设置4个接点,以供与电池模块80的各接点对应电性连接,但本发明不以此为限。As shown in FIG. 1 , the portable electronic device 1 of the present invention includes a connection interface 10 , a switch module 20 and a detection module 30 . The connection interface 10 is set in a battery accommodating slot (not shown) of the portable electronic device 1, and the battery accommodating slot can accommodate a battery module 80, so that when the battery module 80 is installed in the battery accommodating slot, the battery The interface of the module 80 is electrically connected to the connection interface 10 . Since no matter the battery module 80 of the I2C interface or the HDQ interface, 4 contacts are arranged on its interface, which are respectively 1 power contact, 2 signal contacts and 1 ground contact, so the connection interface of the portable electronic device 1 of the present invention 10 is also correspondingly provided with 4 contacts for corresponding electrical connection with each contact of the battery module 80 , but the present invention is not limited thereto.

切换模块20藉由二线路21、22电性连接于连接接口10的2个接点,此2个接点分别连接于对应电池模块80的2个信号接点,以接收自电池模块80通过连接接口10及二线路21、22所传入的电池信号,其中电池信号包括时钟信号及数据信号。切换模块20具有2组切换开关23、24,分别对应前述二线路21、22所设置,以因应所判别的电池模块80的接口类型不同,而切换对应的传输线路。The switching module 20 is electrically connected to the two contacts of the connection interface 10 through two lines 21 and 22, and the two contacts are respectively connected to the two signal contacts of the corresponding battery module 80 to receive signals from the battery module 80 through the connection interface 10 and The battery signal transmitted by the two lines 21 and 22, wherein the battery signal includes a clock signal and a data signal. The switching module 20 has two sets of switching switches 23, 24, which are respectively set corresponding to the aforementioned two lines 21, 22, so as to switch the corresponding transmission line according to the different interface types of the determined battery module 80.

检测模块30分别电性连接于前述二线路21、22,以便针对各线路21、22进行检测。藉由检测前述电池模块80所传入的时钟信号及数据信号,是否均以二线路21、22中的任一相同线路(即时钟信号及数据信号均以线路21或线路22来传送)或分别以不同线路传送(即时钟信号及数据信号分别以线路21及线路22来传送),来判别电池模块80所对应的接口类型。The detection module 30 is electrically connected to the aforementioned two lines 21 , 22 , so as to detect each line 21 , 22 . By detecting whether the clock signal and data signal transmitted by the aforementioned battery module 80 are transmitted via any one of the two lines 21 and 22 (i.e. the clock signal and the data signal are transmitted via the line 21 or the line 22) or respectively The interface type corresponding to the battery module 80 is determined by transmitting through different lines (that is, the clock signal and the data signal are transmitted through the line 21 and the line 22 respectively).

由于依据电池模块80的接口类型不同,通过二线路21、22所传入的电池信号亦会有所差异,因此藉由检测通过二线路21、22的状态,即可达到判别电池模块80的接口类型的效果。就I2C接口的电池模块80而言,其时钟信号及数据信号分别通过不同的2个接点所传输,使得便携式电子装置1端对应的二线路21、22会分别传送时钟信号及数据信号,此时检测模块30即可判别目前是装设I2C接口的电池模块80。而就HDQ接口的电池模块80而言,其时钟信号及数据信号合并仅以单一信号接点传送,另一信号接点则负责检测及传送电池模块80内部的温度变化,使得便携式电子装置1端仅会通过对应连接的中的一线路21或22传送时钟信号及数据信号,另一线路则仅传送前述的温度变化信号,此时检测模块30即可判别目前是装设HDQ接口的电池模块80。而检测模块30在判别确定目前电性连接的电池模块80的接口类型后,会通知切换模块20以根据电池模块80的接口类型切换对应的传输线路。Due to the different interface types of the battery module 80, the battery signals transmitted through the two lines 21, 22 will also be different. Therefore, by detecting the status of the two lines 21, 22, the interface of the battery module 80 can be identified. type of effect. As far as the battery module 80 of the I2C interface is concerned, the clock signal and the data signal are respectively transmitted through two different contacts, so that the two lines 21 and 22 corresponding to the terminal 1 of the portable electronic device transmit the clock signal and the data signal respectively. The detection module 30 can determine that the current battery module 80 is equipped with an I2C interface. As far as the battery module 80 of the HDQ interface is concerned, its clock signal and data signal are only transmitted through a single signal contact, and the other signal contact is responsible for detecting and transmitting the temperature change inside the battery module 80, so that the portable electronic device 1 terminal only The clock signal and data signal are transmitted through one of the lines 21 or 22 in the corresponding connection, and the other line only transmits the above-mentioned temperature change signal. At this time, the detection module 30 can judge that it is the battery module 80 equipped with the HDQ interface. The detection module 30 will notify the switching module 20 to switch the corresponding transmission line according to the interface type of the battery module 80 after determining the interface type of the currently electrically connected battery module 80 .

请一并参考图2,图2为本发明的便携式电子装置1与不同接口类型的电池模块80电性连接的信号差异表。在本发明的一实施例中,检测模块30藉由检测各线路21、22的信号电平,以协助判别时钟信号及数据信号均以二线路21、22中的相同线路或分别由不同线路传送。由于传送不同信号时依据相异信号会产生不同的信号电平,因此通过检测模块30检测各线路21、22的信号电平处于高电位或低电位,以判断各线路21、22的信号传送状态,进而得知目前所电性连接的电池模块80的接口类型。Please refer to FIG. 2 together. FIG. 2 is a signal difference table of the electrical connection between the portable electronic device 1 and the battery module 80 of different interface types of the present invention. In one embodiment of the present invention, the detection module 30 assists in judging whether the clock signal and the data signal are transmitted by the same line or by different lines in the two lines 21, 22 by detecting the signal levels of the lines 21, 22. . Since different signal levels will be generated according to different signals when different signals are transmitted, the detection module 30 detects that the signal levels of each line 21, 22 are at high potential or low potential to determine the signal transmission status of each line 21, 22 , so as to know the interface type of the battery module 80 electrically connected at present.

如图2所示,当本发明的便携式电子装置1与I2C接口的电池模块80电性连接时,由于各线路21、22分别用以传送时钟信号SCL及数据信号SDA,此时线路21、22均会呈现高电位H的状态;而当本发明的便携式电子装置1与HDQ接口的电池模块80电性连接时,由于仅需要二线路21或22其中之一(假设为线路21)来传送合并的时钟信号及数据信号HDQ,此线路21会呈现高电位H的状态,而另一线路(假设为线路22)因仅用以传送温度变化信号TH,其信号电平并不会太高而使得线路22呈现低电位L的状态。As shown in Figure 2, when the portable electronic device 1 of the present invention is electrically connected to the battery module 80 of the I2C interface, since the lines 21, 22 are used to transmit the clock signal SCL and the data signal SDA respectively, the lines 21, 22 All will present the state of high potential H; and when the portable electronic device 1 of the present invention is electrically connected with the battery module 80 of the HDQ interface, since only one of the two lines 21 or 22 (assumed to be the line 21) is needed to transmit and combine clock signal and data signal HDQ, this line 21 will present a state of high potential H, and the other line (assumed to be line 22) is only used to transmit the temperature change signal TH, and its signal level will not be too high to make The line 22 assumes a low potential L state.

据此,假设切换模块20预设切换至对应HDQ接口的电池模块80的传输电路,因此在检测模块30检测到二线路21、22均处于低电位或各自的信号电平不同(即一高电位及一低电位)时,则判定此时使用HDQ接口的电池模块80或未装设电池模块80,切换模块20保持原对应电路状态;一旦在检测模块30检测到二线路21、22均处于高电位时,则判定此时使用I2C接口的电池模块80,因此切换模块20会依据检测模块30的通知而切换至对应I2C接口的电池模块80的传输电路。藉此设计,通过信号电平的不同,即可轻易完成切换模块20的对应传输电路的切换操作。Accordingly, it is assumed that the switching module 20 is preset to switch to the transmission circuit of the battery module 80 corresponding to the HDQ interface, so the detection module 30 detects that the two lines 21 and 22 are both at low potential or that their respective signal levels are different (that is, a high potential and a low potential), it is determined that the battery module 80 using the HDQ interface or the battery module 80 is not installed at this time, and the switching module 20 maintains the original corresponding circuit state; potential, it is determined that the battery module 80 of the I2C interface is used at this time, so the switching module 20 will switch to the transmission circuit of the battery module 80 corresponding to the I2C interface according to the notification of the detection module 30 . With this design, the switching operation of the corresponding transmission circuit of the switching module 20 can be easily completed through the difference of the signal level.

在本发明的一实施例中,检测模块30还包括计时器31,为了防止电池模块80与连接接口10间连接不当或产生信号不稳定的现象而造成误判断,藉由计时器31计算检测模块30是否持续检测信号电平达到一特定时间,若是,则以目前所测得的信号电平作为判别标准。In an embodiment of the present invention, the detection module 30 also includes a timer 31. In order to prevent improper connection between the battery module 80 and the connection interface 10 or the phenomenon of unstable signals causing misjudgment, the detection module uses the timer 31 to count 30 Whether to continuously detect the signal level for a specific time, if so, use the currently measured signal level as the criterion.

本发明的便携式电子装置1还包括处理模块40及显示模块50。处理模块40用以接收通过切换模块20所传送的电池信号,以确认目前所采用的电池模块80的接口类型,并在接收到电池信号后,才会依据使用者的操作指令执行装置内系统开机程序,以避免产生系统错误或电池模块80供电问题等状态。而处理模块40在系统开机后,可针对电池模块80的状态进行读写操作,并可藉由该显示模块50显示对应目前电池模块80的状态信息,例如电量显示、电池模块80的接口类型显示等。The portable electronic device 1 of the present invention further includes a processing module 40 and a display module 50 . The processing module 40 is used to receive the battery signal transmitted by the switching module 20 to confirm the interface type of the battery module 80 currently used, and only after receiving the battery signal, will the system in the device be turned on according to the user's operation command program to avoid situations such as system errors or battery module 80 power supply problems. The processing module 40 can perform read and write operations on the state of the battery module 80 after the system is turned on, and can display the state information corresponding to the current battery module 80 through the display module 50, such as power display and interface type display of the battery module 80. Wait.

请参考图3,图3为应用本发明的电池模块感测方法的流程图。需注意的是,以下虽以图1所示的便携式电子装置1为例说明本发明的电池模块感测方法,但本发明并不以适用于便携式电子装置1为限,任何其他具有类似架构的便携式电子装置亦可适用。如图3所示,本发明的电池模块感测方法包括步骤S301至步骤S307。以下将详细说明本发明的电池模块感测方法的各个步骤。Please refer to FIG. 3 , which is a flow chart of the battery module sensing method of the present invention. It should be noted that although the portable electronic device 1 shown in FIG. Portable electronic devices are also suitable. As shown in FIG. 3 , the battery module sensing method of the present invention includes steps S301 to S307 . Each step of the battery module sensing method of the present invention will be described in detail below.

步骤S301:判断便携式电子装置1是否与电池模块80电性连接。当便携式电子装置1与电池模块80电性连接时,便携式电子装置1的连接接口10藉由电池模块80的电源接点及接地接点取得对应的电源信号,因此藉由检测前述电源信号是否产生,以判断便携式电子装置1是否与电池模块80电性连接。Step S301 : Determine whether the portable electronic device 1 is electrically connected to the battery module 80 . When the portable electronic device 1 is electrically connected to the battery module 80, the connection interface 10 of the portable electronic device 1 obtains the corresponding power signal through the power contact and the ground contact of the battery module 80, so by detecting whether the aforementioned power signal is generated, to It is determined whether the portable electronic device 1 is electrically connected to the battery module 80 .

步骤S302:若是,接收电池模块80所传送的电池信号,其中电池信号包括时钟信号及数据信号。在确认便携式电子装置1是否与电池模块80电性连接后,此时便携式电子装置1的连接接口10藉由电池模块80的2个信号接点取得对应的电源信号,并传入与切换模块20电性连接的二线路21、22中。此电池信号包括时钟信号及数据信号。Step S302: If yes, receive the battery signal transmitted by the battery module 80, wherein the battery signal includes a clock signal and a data signal. After confirming whether the portable electronic device 1 is electrically connected to the battery module 80, the connection interface 10 of the portable electronic device 1 obtains the corresponding power signal through the two signal contacts of the battery module 80, and transmits it to the switching module 20 electrically. In the two lines 21,22 of sex connection. The battery signal includes a clock signal and a data signal.

步骤S303:检测时钟信号及数据信号是否经由相同线路21或22传送,以判别所对应电池模块80的接口类型。如前所述,藉由检测模块30检测二线路21、22的信号电平,当检测到二线路21、22均为低电位或为不同电位时,表示所传入的时钟信号及数据信号是经由任一相同线路21或22传送,即判定电池模块80的接口类型为HDQ接口;若否,当检测到二线路21、22均为高电位时,表示所传入的时钟信号及数据信号是分别经由不同线路21及22传送,即判定电池模块80的接口类型为I2C接口。Step S303: Detect whether the clock signal and the data signal are transmitted through the same line 21 or 22, so as to determine the interface type of the corresponding battery module 80. As mentioned above, the signal level of the two lines 21, 22 is detected by the detection module 30. When it is detected that the two lines 21, 22 are both at low potentials or at different potentials, it means that the incoming clock signal and data signal are If it is transmitted via any same line 21 or 22, it is determined that the interface type of the battery module 80 is an HDQ interface; The signals are transmitted through different lines 21 and 22 respectively, that is, it is determined that the interface type of the battery module 80 is an I2C interface.

步骤S304:依据电池模块80的接口类型切换对应的传输线路。依据前述步骤S303确定电池模块80的接口类型后,检测模块30即通知切换模块20,依目前电池模块80的接口类型切换对应的传输电路,以便将电池信号顺利传送至处理模块40。Step S304: switch the corresponding transmission line according to the interface type of the battery module 80 . After determining the interface type of the battery module 80 according to the aforementioned step S303 , the detection module 30 notifies the switching module 20 to switch the corresponding transmission circuit according to the current interface type of the battery module 80 so as to transmit the battery signal to the processing module 40 smoothly.

步骤S304后还可包括步骤S305:启动一系统开机程序。经前述步骤S304切换对应的传输线路,使得处理模块40接收电池信号后,表示电源模块80的装设及对应电路切换已经完成,此时处理模块40可依指令执行系统开机程序,并可通过显示模块50显示目前电池模块80的状态信息。After step S304, step S305 may also be included: start a system startup program. After the aforementioned step S304, the corresponding transmission line is switched, so that after the processing module 40 receives the battery signal, it indicates that the installation of the power module 80 and the switching of the corresponding circuit have been completed. The module 50 displays the status information of the current battery module 80 .

综上所陈,本发明无论就目的、手段及功效,处处均显示其迥异于公知技术的特征,为一大突破,恳请审委员明察,早日赐准专利,使嘉惠社会,实感德便。惟须注意,上述实施例仅为示例性说明本发明的原理及其功效,而非用于限制本发明的范围。任何本领域技术人员均可在不违背本发明的技术原理及精神下,对实施例作修改与变化。本发明的权利保护范围应如所附的权利要求书的范围所述。To sum up, the present invention, regardless of its purpose, means and efficacy, shows its characteristics different from the known technology everywhere, which is a major breakthrough. I urge the review committee to be aware and grant a patent as soon as possible, so as to benefit the society and truly appreciate the convenience. However, it should be noted that the above-mentioned embodiments are only illustrative to illustrate the principles and effects of the present invention, and are not intended to limit the scope of the present invention. Any person skilled in the art can modify and change the embodiments without violating the technical principle and spirit of the present invention. The protection scope of the present invention should be described in the appended claims.

Claims (10)

1.一种便携式电子装置,该便携式电子装置包括:1. A portable electronic device comprising: 一连接接口,该连接接口用以电性连接一电池模块;a connection interface, the connection interface is used to electrically connect a battery module; 一切换模块,该切换模块藉由二线路电性连接该连接接口,以接收该电池模块通过该二线路所传入的一电池信号,其中该电池信号包括一时钟信号及一数据信号;以及A switching module, the switching module is electrically connected to the connection interface through two lines, so as to receive a battery signal transmitted by the battery module through the two lines, wherein the battery signal includes a clock signal and a data signal; and 一检测模块,该检测模块分别电性连接于该二线路,该检测模块藉由检测该时钟信号及该数据信号均以该二线路中的相同线路或分别以不同线路传送,来判别该电池模块的接口类型,并通知该切换模块根据该电池模块的接口类型切换对应的传输线路,所述接口类型包括I2C接口及HDQ接口。A detection module, the detection module is electrically connected to the two lines respectively, and the detection module distinguishes the battery module by detecting that the clock signal and the data signal are transmitted through the same line or different lines of the two lines interface type of the battery module, and notify the switching module to switch the corresponding transmission line according to the interface type of the battery module, and the interface type includes I2C interface and HDQ interface. 2.如权利要求1所述的便携式电子装置,其中该电池模块的接口类型包括一内部集成电路接口或一谐波微分正交接口。2. The portable electronic device as claimed in claim 1, wherein the interface type of the battery module comprises an inter-integrated circuit interface or a harmonic differential quadrature interface. 3.如权利要求2所述的便携式电子装置,其中藉由该检测模块检测该二线路中各线路的一信号电平,以判别该时钟信号及该数据信号均以该二线路中的相同线路或分别由不同线路传送。3. The portable electronic device as claimed in claim 2, wherein a signal level of each of the two lines is detected by the detection module to determine that the clock signal and the data signal use the same line of the two lines Or transmitted by different lines respectively. 4.如权利要求3所述的便携式电子装置,其中当该二线路各自的该信号电平均为高电位时,判别该电池模块的接口类型为该内部集成电路接口;当该二线路各自的该信号电平不同或均为低电位时,判别该电池模块的接口类型为该谐波微分正交接口。4. The portable electronic device as claimed in claim 3, wherein when the respective signal levels of the two lines are both high potentials, it is judged that the interface type of the battery module is the internal integrated circuit interface; when the respective signal levels of the two lines When the signal levels are different or both are low potential, it is determined that the interface type of the battery module is the harmonic differential quadrature interface. 5.如权利要求1所述的便携式电子装置,还包括一计时器,该计时器用以计算该检测模块是否持续检测该信号电平达到一特定时间。5. The portable electronic device as claimed in claim 1, further comprising a timer for calculating whether the detection module continues to detect the signal level for a specific time. 6.如权利要求1所述的便携式电子装置,还包括一处理模块及一显示模块,该处理模块用以通过该切换模块接收该电池信号,并藉由该显示模块显示对应该电池模块的状态信息。6. The portable electronic device according to claim 1, further comprising a processing module and a display module, the processing module is used to receive the battery signal through the switching module, and display the state corresponding to the battery module through the display module information. 7.一种电池模块感测方法,应用于一便携式电子装置,该方法包括以下步骤:7. A battery module sensing method applied to a portable electronic device, the method comprising the following steps: 判断该便携式电子装置是否与一电池模块电性连接;determining whether the portable electronic device is electrically connected to a battery module; 若是,接收该电池模块所传送的一电池信号,其中该电池信号包括一时钟信号及一数据信号;If yes, receiving a battery signal transmitted by the battery module, wherein the battery signal includes a clock signal and a data signal; 检测该时钟信号及该数据信号是否经由相同线路传送,以判别所对应该电池模块的接口类型,所述接口类型包括I2C接口及HDQ接口;以及Detecting whether the clock signal and the data signal are transmitted through the same line to determine the interface type of the corresponding battery module, the interface type includes an I2C interface and an HDQ interface; and 依据该电池模块的接口类型切换对应的传输线路。The corresponding transmission line is switched according to the interface type of the battery module. 8.如权利要求7所述的方法,其中该电池模块的接口类型包括一内部集成电路接口或一谐波微分正交接口。8. The method of claim 7, wherein the interface type of the battery module comprises an inter-integrated circuit interface or a harmonic differential quadrature interface. 9.如权利要求8所述的方法,其中藉由检测该二线路中各线路的一信号电平,以判别该时钟信号及该数据信号是否经由相同线路传送。9. The method of claim 8, wherein whether the clock signal and the data signal are transmitted through the same line is determined by detecting a signal level of each line of the two lines. 10.如权利要求7所述的方法,其中计算该检测模块是否持续检测该信号电平达到一特定时间。10. The method of claim 7, wherein it is calculated whether the detection module continues to detect the signal level for a specific time.
CN201110081745.1A 2011-04-01 2011-04-01 Portable electronic device and battery module sensing method thereof Expired - Fee Related CN102736714B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110081745.1A CN102736714B (en) 2011-04-01 2011-04-01 Portable electronic device and battery module sensing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110081745.1A CN102736714B (en) 2011-04-01 2011-04-01 Portable electronic device and battery module sensing method thereof

Publications (2)

Publication Number Publication Date
CN102736714A CN102736714A (en) 2012-10-17
CN102736714B true CN102736714B (en) 2016-01-27

Family

ID=46992352

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110081745.1A Expired - Fee Related CN102736714B (en) 2011-04-01 2011-04-01 Portable electronic device and battery module sensing method thereof

Country Status (1)

Country Link
CN (1) CN102736714B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106200858B (en) * 2016-07-18 2019-03-15 浪潮(北京)电子信息产业有限公司 A battery backup unit drive module

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101004659A (en) * 2006-01-19 2007-07-25 深圳市江波龙电子有限公司 Mobile storage method and device of supporting interfaces of SATA and USB
CN101232196A (en) * 2008-02-02 2008-07-30 中兴通讯股份有限公司 Control circuit of charging mode in USB charging stand and method thereof
CN201138757Y (en) * 2007-11-09 2008-10-22 樊平 Converting device for charging power supply

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6809649B1 (en) * 1999-01-26 2004-10-26 Telefonaktiebolaget Lm Ericsson(Publ) Method and apparatus for communication between an electronic device and a connected battery
US7868486B2 (en) * 2004-01-15 2011-01-11 Comarco Wireless Technologies, Inc Power supply having source determination circuitry utilized to disable battery charging circuitry in powered device
US20100201308A1 (en) * 2006-06-29 2010-08-12 Nokia Corporation Device and method for battery charging

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101004659A (en) * 2006-01-19 2007-07-25 深圳市江波龙电子有限公司 Mobile storage method and device of supporting interfaces of SATA and USB
CN201138757Y (en) * 2007-11-09 2008-10-22 樊平 Converting device for charging power supply
CN101232196A (en) * 2008-02-02 2008-07-30 中兴通讯股份有限公司 Control circuit of charging mode in USB charging stand and method thereof

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
智能电池(IBS)系统与PC机的通讯接口;向明君;《国外电子元器件》;20020722(第7期);第16页至第19页 *
智能电池及其充放电管理系统;邵强;《中国优秀硕士论文全文数据库》;20051215(第8期);全文 *
电源中常用的总线技术;路秋生;《电源世界》;20090615;第21页至第27页 *

Also Published As

Publication number Publication date
CN102736714A (en) 2012-10-17

Similar Documents

Publication Publication Date Title
US7921233B2 (en) Signal converter for an all-in-one USB connector that includes USB 2.0, USB 3.0 and eSATA
US20130335010A1 (en) Connector and control chip
AU2015312625B2 (en) Electronic device, method of controlling charging by electronic device, and method of supplying power by power supply device
JP6181329B1 (en) Removable memory card type detection system and method
TWI494863B (en) Dual-interface card reader module
US10658860B2 (en) Electronic device, charger within the electronic device, and detecting method for detecting abnormal status of connector of electronic device
US9899783B1 (en) Electronic device and a method for detecting the connecting direction of two electronic components
CN108132401A (en) Charging abnormity detection method and device, storage medium and mobile terminal
KR20190000690A (en) Electronic device and method for controlling a charging thereof
US20130119783A1 (en) Charging electronic devices
US9966755B2 (en) Preventing water damage in portable devices
JP2006094523A (en) Apparatus and method of short circuit detection of battery terminal
US8780514B2 (en) Data cable and electronic device using same
CN106526403A (en) Terminal leak current detection circuit, terminal and terminal leak current detection system
US20140068113A1 (en) Data transmission between a portable electronic device and various accessory devices via respective dedicated connection interfaces
CN102736714B (en) Portable electronic device and battery module sensing method thereof
TWI522812B (en) Universal serial bus interface and mobile electronic device
CN103762390A (en) Charging method and action electronic device
CN105098854A (en) Charging method and electronic device
CN204361420U (en) USB circuit for detecting
JP2019040239A (en) Electronic apparatus, electronic system and power supply control method
CN103927281A (en) Transmission interface detection system and transmission interface detection method
TWI442702B (en) Portable electronic device and battery module sensing method thereof
JP2016091364A (en) Electronic apparatus
CN218334574U (en) Electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160127

CF01 Termination of patent right due to non-payment of annual fee