TW201329689A - Power supply device, portable electronic apparatus and related method for determining types of a power supply device - Google Patents

Power supply device, portable electronic apparatus and related method for determining types of a power supply device Download PDF

Info

Publication number
TW201329689A
TW201329689A TW102100154A TW102100154A TW201329689A TW 201329689 A TW201329689 A TW 201329689A TW 102100154 A TW102100154 A TW 102100154A TW 102100154 A TW102100154 A TW 102100154A TW 201329689 A TW201329689 A TW 201329689A
Authority
TW
Taiwan
Prior art keywords
power supply
voltage level
supply device
determination result
portable electronic
Prior art date
Application number
TW102100154A
Other languages
Chinese (zh)
Other versions
TWI459190B (en
Inventor
Chih-Hung Li
Yung-Hsien Kuo
Original Assignee
Htc Corp
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 Htc Corp filed Critical Htc Corp
Priority to TW102100154A priority Critical patent/TWI459190B/en
Publication of TW201329689A publication Critical patent/TW201329689A/en
Application granted granted Critical
Publication of TWI459190B publication Critical patent/TWI459190B/en

Links

Abstract

A portable electronic apparatus is connected to a power supply device via a transmission line, and it consists of a designated connector, a charge control circuit, and a judgment circuit. The designated connector includes five terminals respectively corresponding to five pins of a USB connector of the power supply device. When the power supply device is connected to the portable electronic apparatus, the first terminal of the designated connector is logic high, the fourth terminal of the designated connector is logic high, and the third terminal of the designated connector is logic high after pulling up the second terminal of the designated connector, the judgment circuit pulls down the third terminal of the designated connector and then detects the voltage level of the third terminal to generate a judgment result for determining a type of the power supply device.

Description

電源供應裝置、可判斷電源供應裝置的種類之可攜式電子裝置及其相關 判斷方法 Power supply device, portable electronic device capable of judging the type of power supply device, and related Judgment method

本發明係有關於一種電源供應裝置之判斷機制,尤指一種電源供應裝置、可判斷電源供應裝置的種類之可攜式電子裝置及其相關判斷方法。 The present invention relates to a judgment mechanism of a power supply device, and more particularly to a power supply device, a portable electronic device capable of determining the type of the power supply device, and related determination methods.

目前市面上的手機均依照廠牌或型號而有各自專屬的手機充電器,例如:H廠牌的手機充電器僅能提供給H廠牌的手機使用,而無法對N廠牌或M廠牌的手機進行充電。然而,中國信產部推行手機充電器連接器介面採用通用串列匯流排(Universal Serial Bus,USB)的規格,亦即同一個充電器可用來對不同廠商、不同型號的手機充電。 At present, mobile phones on the market have their own mobile phone chargers according to the brand or model. For example, the mobile phone charger of the H brand can only be used for the mobile phone of the H brand, but not for the N or M brand. The phone is charging. However, China Ministry of Information Industry's implementation of the mobile phone charger connector interface uses the Universal Serial Bus (USB) specification, which means that the same charger can be used to charge different manufacturers and different models of mobile phones.

一般來說,USB的傳輸介面具有五個傳輸端點,其分別係為VBUS端點、D+端點、D-端點、ID端點以及GND端點。對於中國大陸規格的充電器而言,其係將D+端點與D-端點在充電器的本體內短路以作為中國大陸規格充電器的識別特徵。 In general, the USB transmission interface has five transmission endpoints, which are VBUS endpoint, D+ endpoint, D-endpoint, ID endpoint, and GND endpoint. For Chinese mainland chargers, the D+ terminal and D-end are short-circuited in the body of the charger to be the identification feature of the Chinese mainland charger.

而當手機的USB連接器連接至一電子裝置的USB連接器時,手機必須具備能夠正確地判別該電子裝置的種類的能力,接下來才能夠進行正確的運作,例如,當該電子裝置係為一充電器時,該手機便可利用該充電器來對本身進行充電;又例如,當該電子裝置並非為一充電器而係為一電腦主機時,該手機便可與該電腦主機進行資料傳輸的動作。此外,採用同一個充電器來對不同廠商、不同型號 的手機充電的概念固然方便,但市面上所充斥的充電器種類太繁雜無法對其品質進行控管。若是手機可允許被任一廠商的充電器進行充電而不加以限制時,手機可能會因為被持續充電而導致其內部的電容器電壓超出電容額定值而損毀電容器,更甚者,可能導致其他元件損害或者無法符合安全規範而產生危險。因此,目前亟需能夠判別該電子裝置的種類的可攜式電子裝置以及相關判別機制。 When the USB connector of the mobile phone is connected to the USB connector of an electronic device, the mobile phone must have the ability to correctly determine the type of the electronic device, and then the correct operation can be performed, for example, when the electronic device is When the charger is used, the mobile phone can use the charger to charge itself; for example, when the electronic device is not a charger and is a computer host, the mobile phone can perform data transmission with the computer host. Actions. In addition, the same charger is used for different manufacturers and different models. The concept of charging a mobile phone is convenient, but the types of chargers that are flooded on the market are too complicated to control its quality. If the mobile phone can be charged by any manufacturer's charger without limitation, the mobile phone may damage the capacitor because its internal capacitor voltage exceeds the capacitor rating due to continuous charging, and even worse, may cause other components. Danger due to damage or failure to comply with safety regulations. Therefore, there is a need for a portable electronic device capable of discriminating the type of the electronic device and a related discrimination mechanism.

因此,本發明的目的之一在於提出一種電源供應裝置、可判斷電源供應裝置的種類之可攜式電子裝置以及其相關判斷方法,以解決上述之問題。 Therefore, one of the objects of the present invention is to provide a power supply device, a portable electronic device capable of determining the type of the power supply device, and a related determination method thereof to solve the above problems.

本發明係揭露一種電源供應裝置。電源供應裝置包含一電源輸入端、一電源轉換電路以及一通用序列匯流排連接器。電源輸入端用來接收一輸入電源。電源轉換電路耦接於該電源輸入端,用來將該輸入電源轉換成一充電電源。通用序列匯流排連接器包含有:用來提供該充電電源之一第一接腳、用來傳送資料之一第二接腳、用來傳送資料之一第三接腳、用來作為識別判斷之一第四接腳、耦接於一接地端之一第五接腳以及一電阻元件。其中電阻元件係耦接於該第二接腳以及該第三接腳之間,並大於或等於150K歐姆。 The invention discloses a power supply device. The power supply device includes a power input terminal, a power conversion circuit, and a universal serial bus connector. The power input is used to receive an input power. The power conversion circuit is coupled to the power input terminal for converting the input power into a charging power source. The universal serial bus connector includes: a first pin for providing one of the charging power sources, a second pin for transmitting data, and a third pin for transmitting data, which is used for identification and judgment. A fourth pin is coupled to one of the ground pins and the fifth pin and a resistor element. The resistor element is coupled between the second pin and the third pin and is greater than or equal to 150K ohms.

本發明另揭露一種可攜式電子裝置,用來透過一傳輸線連接於一電源供應裝置。該電源供應裝置具有一通用序列匯流排連接器,該通用序列匯流排連接器包含用來提供一充電電源之一第一接腳、用來傳送資料之一第二接腳、用來傳送資料之一第三接腳、用來作為識別判斷之一第四接腳以及耦接於一接地端之一第五接腳。該可 攜式電子裝置包含一特定連接器、一充電控制電路以及一判斷電路。特定連接器包含一第一端點對應至該通用序列匯流排連接器之該第一接腳、一第二端點對應至該通用序列匯流排連接器之該第二接腳、一第三端點對應至該通用序列匯流排連接器之該第三接腳、一第四端點對應至該通用序列匯流排連接器之該第四接腳以及一第五端點對應至該通用序列匯流排連接器之該第五接腳。充電控制電路係耦接於該特定連接器,用來透過該第一端點自該通用序列匯流排連接器之該第一接腳接收該充電電源。判斷電路係耦接於該特定連接器以及該充電控制電路。判斷電路包含一第一判斷單元,用來於該電源供應裝置連接至該可攜式電子裝置、該第一端點之電壓位準係為高邏輯位準、該第四端點之電壓位準係為高邏輯位準以及該第三端點之電壓位準於拉高該第二端點之電壓位準之後係為高邏輯位準時,拉低該第三端點之電壓位準並偵測該第三端點之電壓位準以產生一第一判斷結果。其中,該判斷電路係依據至少該第一判斷結果來判斷該電源供應裝置之種類。 The invention further discloses a portable electronic device for connecting to a power supply device through a transmission line. The power supply device has a universal serial bus bar connector, and the universal serial bus bar connector includes a first pin for providing a charging power source, and a second pin for transmitting data for transmitting data. A third pin is used as one of the fourth pins of the identification and a fifth pin coupled to a ground. This can The portable electronic device includes a specific connector, a charging control circuit, and a determining circuit. The specific connector includes a first end corresponding to the first pin of the universal serial bus connector, and a second end corresponding to the second pin and the third end of the universal serial bus connector a third pin corresponding to the universal sequence bus connector, a fourth terminal corresponding to the fourth pin of the universal sequence bus connector, and a fifth terminal corresponding to the universal sequence bus The fifth pin of the connector. The charging control circuit is coupled to the specific connector for receiving the charging power from the first pin of the universal serial bus connector through the first terminal. The determining circuit is coupled to the specific connector and the charging control circuit. The determining circuit includes a first determining unit, wherein the power supply device is connected to the portable electronic device, and the voltage level of the first terminal is a high logic level, and the voltage level of the fourth terminal is When the voltage level of the third terminal is high and the voltage level of the third terminal is high, the voltage level of the third terminal is pulled down and detected. The voltage level of the third endpoint is used to generate a first determination result. The determining circuit determines the type of the power supply device according to at least the first determination result.

本發明另揭露一種判斷一電源供應裝置的種類之方法,該電源供應裝置係透過一傳輸線連接於一可攜式電子裝置。該電源供應裝置具有一通用序列匯流排連接器,該通用序列匯流排連接器包含用來提供一充電電源之一第一接腳、用來傳送資料之一第二接腳、用來傳送資料之一第三接腳、用來作為識別判斷之一第四接腳以及耦接於一接地端之一第五接腳,而該可攜式電子裝置具有一特定連接器,該特定連接器包含一第一端點對應至該通用序列匯流排連接器之該第一接腳、一第二端點對應至該通用序列匯流排連接器之該第 二接腳、一第三端點對應至該通用序列匯流排連接器之該第三接腳、一第四端點對應至該通用序列匯流排連接器之該第四接腳以及一第五端點對應至該通用序列匯流排連接器之該第五接腳。該方法包含步驟:於該電源供應裝置連接至該可攜式電子裝置、該第一端點之電壓位準係為高邏輯位準、該第四端點之電壓位準係為高邏輯位準以及該第三端點之電壓位準於拉高該第二端點之電壓位準之後係為高邏輯位準時,拉低該第三端點之電壓位準;於拉低該第三端點之電壓位準時,偵測該第三端點之電壓位準以產生一第一判斷結果;以及依據至少該第一判斷結果來判斷該電源供應裝置之種類。 The present invention further discloses a method for determining the type of a power supply device that is connected to a portable electronic device through a transmission line. The power supply device has a universal serial bus bar connector, and the universal serial bus bar connector includes a first pin for providing a charging power source, and a second pin for transmitting data for transmitting data. a third pin, a fourth pin for identifying and a fifth pin coupled to a ground, and the portable electronic device has a specific connector, the specific connector including a The first end point corresponds to the first pin of the universal sequence bus bar connector, and the second end point corresponds to the first bit of the universal sequence bus bar connector a second pin, a third end corresponding to the third pin of the universal serial bus connector, a fourth end corresponding to the fourth pin and a fifth end of the universal serial bus connector The point corresponds to the fifth pin of the universal serial bus connector. The method includes the steps of: connecting the power supply device to the portable electronic device, the voltage level of the first terminal is a high logic level, and the voltage level of the fourth terminal is a high logic level And when the voltage level of the third terminal is a high logic level after the voltage level of the second terminal is raised, the voltage level of the third terminal is pulled down; and the third terminal is pulled down The voltage level is detected, the voltage level of the third terminal is detected to generate a first determination result; and the type of the power supply device is determined according to at least the first determination result.

請參考第1圖,第1圖為本發明電源供應裝置100之一實施例的示意圖。如第1圖所示,電源供應裝置100係包含(但不侷限於)一電源輸入端110、一電源轉換電路120以及一通用序列匯流排連接器130。其中,電源輸入端110係用來接收一輸入電源Pin,而電源轉換電路120係耦接於電源輸入端110,用來將輸入電源Pin轉換成一充電電源Pcharge。通用序列匯流排連接器130包含五個接腳131~135以及一電阻元件R,其中第一接腳131係用來提供充電電源Pcharge,第二接腳132、第三接腳133係用來傳送資料,第四接腳134係作為識別判斷,而第五接腳135係耦接於一接地端。換言之,第一接腳131係用來傳送VBUS訊號,第二接腳132係用來傳送D+訊號,第三接腳133係用來傳送D-訊號,第四接腳134係用來傳送ID訊號,而第五接腳135係用來傳送GND訊號。由於通用序列匯流排介面已為習知相關技藝者及具通常知識者所熟知,在 此不多加贅述。 Please refer to FIG. 1 , which is a schematic diagram of an embodiment of a power supply device 100 of the present invention. As shown in FIG. 1, the power supply device 100 includes, but is not limited to, a power input terminal 110, a power conversion circuit 120, and a universal serial bus connector 130. The power input terminal 110 is configured to receive an input power source Pin, and the power conversion circuit 120 is coupled to the power input terminal 110 for converting the input power source Pin into a charging power source Pcharge. The universal serial bus connector 130 includes five pins 131-135 and a resistive element R. The first pin 131 is used to provide a charging power source Pcharge, and the second pin 132 and the third pin 133 are used for transmitting. The fourth pin 134 is used for identification determination, and the fifth pin 135 is coupled to a ground. In other words, the first pin 131 is used to transmit the VBUS signal, the second pin 132 is used to transmit the D+ signal, the third pin 133 is used to transmit the D-signal, and the fourth pin 134 is used to transmit the ID signal. The fifth pin 135 is used to transmit the GND signal. Since the universal serial bus interface is well known to those skilled in the art and to those of ordinary skill, This is not to be repeated.

請注意,電阻元件R係耦接於第二接腳132(亦即D+)以及第三接腳133(亦即D-)之間,且電阻元件R係大於等於150K歐姆,但此並非本發明之限制條件。此外,電源供應裝置100係可為一充電器,而電源轉換電路120係可為一交流轉直流轉換電路(AC to DC converter),用來將一交流電(例如110V或220V)轉換成一直流電。 Please note that the resistive element R is coupled between the second pin 132 (ie, D+) and the third pin 133 (ie, D-), and the resistive element R is greater than or equal to 150K ohms, but this is not the present invention. Restrictions. In addition, the power supply device 100 can be a charger, and the power conversion circuit 120 can be an AC to DC converter for converting an alternating current (eg, 110V or 220V) into a continuous current.

一般而言,電源供應裝置100會透過一傳輸線140來與一可攜式電子裝置相連接,並提供充電電源Pcharge給該可攜式電子裝置,以對可攜式電子裝置進行充電。傳輸線140係為一通用序列匯流排傳輸線,其包含一通用序列匯流排連接器150以及一連接線160。由第1圖可得知,傳輸線140之通用序列匯流排連接器150亦包含五個接腳151~155,分別對應至電源供應裝置100之通用序列匯流排連接器130的五個接腳131~135。值得注意得是,此處之電源供應裝置100與傳輸線140係可設計成同一套配件,亦可設計成兩個獨立配件而單獨存在。當電源供應裝置100與傳輸線140係設計成兩個獨立配件時,則傳輸線140可另用來作為資料傳輸之用,不僅侷限於充電之用,以節省成本並擴充其使用用途。 Generally, the power supply device 100 is connected to a portable electronic device through a transmission line 140, and provides a charging power source Pcharge to the portable electronic device to charge the portable electronic device. Transmission line 140 is a universal serial bus transmission line that includes a universal serial bus connector 150 and a connection line 160. As can be seen from FIG. 1, the universal serial bus connector 150 of the transmission line 140 also includes five pins 151-155 corresponding to the five pins 131 of the universal serial bus connector 130 of the power supply device 100, respectively. 135. It should be noted that the power supply device 100 and the transmission line 140 herein may be designed as the same set of accessories, or may be designed as two separate accessories and exist separately. When the power supply device 100 and the transmission line 140 are designed as two separate accessories, the transmission line 140 can be used for data transmission, and is not limited to charging, thereby saving cost and expanding its use.

目前市面上已存在各式各樣的電源供應裝置,接下來,舉幾個常見的電源供應裝置為例,以利後續說明書的描述。 A variety of power supply devices are currently available on the market. Next, several common power supply devices are taken as examples to facilitate the description of the subsequent description.

請參考第2圖,第2圖為習知一電源供應裝置200的示意圖。如第2圖所示,電源供應裝置200包含電源輸入端110、電源轉換電路120以及通用序列匯流排連接器230。其中,通用序列匯流排 連接器230包含五個接腳231~235,與第1圖所示之通用序列匯流排連接器130類似,不同的是在第二接腳232以及第三接腳234之間並沒有連接任何電阻元件R(或者其他元件)。由於電源供應裝置200之通用序列匯流排連接器230並沒有做任何變動,而傳輸線140之通用序列匯流排連接器150也沒有做任何改變,此電源供應裝置200可能為一般市售的充電器或者透過一傳輸線連結至一電腦主機。 Please refer to FIG. 2, which is a schematic diagram of a conventional power supply device 200. As shown in FIG. 2, the power supply device 200 includes a power input terminal 110, a power conversion circuit 120, and a universal serial bus connector 230. Among them, the universal sequence bus The connector 230 includes five pins 231-235, similar to the universal serial bus connector 130 shown in FIG. 1, except that no resistor is connected between the second pin 232 and the third pin 234. Element R (or other component). Since the universal serial bus connector 230 of the power supply device 200 does not change anything, and the universal serial bus connector 150 of the transmission line 140 does not change anything, the power supply device 200 may be a generally commercially available charger or Connect to a computer host through a transmission line.

請參考第3圖,第3圖為習知一電源供應裝置300的示意圖。如第3圖所示,電源供應裝置300包含電源輸入端110、電源轉換電路120以及通用序列匯流排連接器330。其中,通用序列匯流排連接器330係與第2圖所示之通用序列匯流排連接器230完全相同,不同的是在傳輸線340端的通用序列匯流排連接器350有做些許改變,其係將通用序列匯流排連接器350的第四接腳354(亦即ID接腳)耦接至接地端。因此,當電源供應裝置300與傳輸線340相連接時,電源供應裝置300之通用序列匯流排連接器230的第四接腳354之電壓位準會被拉低至低邏輯位準(logic low),可藉由此項特徵來分辨出電源供應裝置300的種類。 Please refer to FIG. 3, which is a schematic diagram of a conventional power supply device 300. As shown in FIG. 3, the power supply device 300 includes a power input terminal 110, a power conversion circuit 120, and a universal serial bus connector 330. The universal serial bus connector 330 is identical to the universal serial bus connector 230 shown in FIG. 2, except that the universal serial bus connector 350 at the end of the transmission line 340 has a slight change, which is universal. The fourth pin 354 (ie, the ID pin) of the serial bus bar connector 350 is coupled to the ground. Therefore, when the power supply device 300 is connected to the transmission line 340, the voltage level of the fourth pin 354 of the universal serial bus connector 230 of the power supply device 300 is pulled down to a low logic level (logic low). The type of the power supply device 300 can be distinguished by this feature.

請參考第4圖,第4圖為習知一電源供應裝置400的示意圖。如第4圖所示,電源供應裝置400包含電源輸入端110、電源轉換電路120以及通用序列匯流排連接器430。其中,通用序列匯流排連接器430包含五個接腳431~435,與第1圖所示之通用序列匯流排連接器130類似,不同的是第二接腳432以及第三接腳434是直接短路在一起,此電源供應裝置400為符合中國大陸充電器規格之 一充電器。 Please refer to FIG. 4, which is a schematic diagram of a conventional power supply device 400. As shown in FIG. 4, the power supply device 400 includes a power input terminal 110, a power conversion circuit 120, and a universal serial bus connector 430. The universal serial bus connector 430 includes five pins 431 435 435, which are similar to the universal serial bus connector 130 shown in FIG. 1 except that the second pin 432 and the third pin 434 are directly Short-circuit together, the power supply device 400 is in accordance with the specifications of the Chinese mainland charger A charger.

為了能夠分辨出前述各種不同種類的電源供應裝置100~400,因此本發明揭露了一種可判斷電源供應裝置的種類之機制及其相關可攜式電子裝置(例如一手機或者一個人數位助理等)。 In order to be able to distinguish the various types of power supply devices 100-400 described above, the present invention discloses a mechanism for determining the type of power supply device and its associated portable electronic device (for example, a mobile phone or a number of assistants, etc.).

請參考第5圖,第5圖為本發明可攜式電子裝置500之一實施例的示意圖。可攜式電子裝置500係用來透過一傳輸線連接於一電源供應裝置,於本實施例中,係以可攜式電子裝置500透過第1圖所示之傳輸線140連接於電源供應裝置100為例來進行說明,但此並非本發明之限制條件。如第5圖所示,可攜式電子裝置500包含(但不侷限於)一特定連接器510、一充電控制電路520以及一判斷電路530,其中,特定連接器510包含五個端點511~555,其中第一端點511係對應至電源供應裝置100之通用序列匯流排連接器130的第一接腳131,第二端點512係對應至通用序列匯流排連接器130的第二接腳132,第三端點513係對應至通用序列匯流排連接器130之第三接腳133,第四端點514係對應至通用序列匯流排連接器130的第四接腳134,以及第五端點515係對應至通用序列匯流排連接器130的第五接腳135。 Please refer to FIG. 5 , which is a schematic diagram of an embodiment of the portable electronic device 500 of the present invention. The portable electronic device 500 is connected to a power supply device through a transmission line. In this embodiment, the portable electronic device 500 is connected to the power supply device 100 through the transmission line 140 shown in FIG. The description is made, but this is not a limitation of the present invention. As shown in FIG. 5, the portable electronic device 500 includes, but is not limited to, a specific connector 510, a charging control circuit 520, and a determining circuit 530, wherein the specific connector 510 includes five terminals 511~ 555, wherein the first end point 511 corresponds to the first pin 131 of the universal serial bus bar connector 130 of the power supply device 100, and the second end point 512 corresponds to the second pin of the universal serial bus bar connector 130. 132, the third end point 513 corresponds to the third pin 133 of the universal sequence bus bar connector 130, the fourth end point 514 corresponds to the fourth pin 134 of the universal sequence bus bar connector 130, and the fifth end Point 515 corresponds to the fifth pin 135 of the universal serial bus connector 130.

請繼續參考第5圖,充電控制電路520係耦接於特定連接器510,用來透過第一端點511自通用序列匯流排連接器130的第一接腳131接收充電電源Pcharge,之後充電控制電路520再利用充電電源Pcharge來對可攜式電子裝置500進行充電。判斷電路530係耦接於特定連接器510以及充電控制電路520。判斷電路530包含(但不侷限於)第一判斷單元531、第二判斷單元532、第三判斷單元 533以及第四判斷單元534。第三判斷單元533係用來於一電源供應裝置連接至可攜式電子裝置500且第一端點511之電壓位準係為高邏輯位準時,判斷第四端點514(亦即ID端點)之電壓位準以產生一第一判斷結果DR1;第二判斷單元532係用來於拉高第二端點512(亦即D+端點)之電壓位準時,判斷第三端點513(亦即D-端點)之電壓位準以產生一第二判斷結果DR2;第一判斷單元531係用來於拉低第三端點513之電壓位準時,判斷第三端點513之電壓位準以產生一第三判斷結果DR3;以及第四判斷單元534係用來於第二判斷單元532之第二判斷結果DR2顯示第三端點513之電壓位準係為低邏輯位準時,判斷可攜式電子裝置500是否為一USB配置裝置以產生一第四判斷結果DR4。最後,判斷電路530會依據第一、第二、第三、第四判斷結果DR1~DR4來判斷連接至可攜式電子裝置500之該電源供應裝置的種類。 Referring to FIG. 5, the charging control circuit 520 is coupled to the specific connector 510 for receiving the charging power Pcharge from the first pin 131 of the universal serial bus connector 130 through the first terminal 511, and then charging control. The circuit 520 then uses the charging power source Pcharge to charge the portable electronic device 500. The determining circuit 530 is coupled to the specific connector 510 and the charging control circuit 520. The determining circuit 530 includes, but is not limited to, a first determining unit 531, a second determining unit 532, and a third determining unit. 533 and a fourth determining unit 534. The third determining unit 533 is configured to determine the fourth endpoint 514 (ie, the ID endpoint) when a power supply device is connected to the portable electronic device 500 and the voltage level of the first endpoint 511 is a high logic level. The voltage level is used to generate a first determination result DR1; the second determining unit 532 is configured to determine the third end point 513 when the voltage level of the second end point 512 (ie, D+end point) is raised That is, the voltage level of the D-end point) is used to generate a second determination result DR2; the first determining unit 531 is configured to determine the voltage level of the third end point 513 when the voltage level of the third end point 513 is pulled down. To generate a third determination result DR3; and the fourth determining unit 534 is configured to determine that the voltage level of the third endpoint 513 is a low logic level when the second determination result DR2 of the second determining unit 532 is displayed as a low logic level. Whether the electronic device 500 is a USB configuration device to generate a fourth determination result DR4. Finally, the determining circuit 530 determines the type of the power supply device connected to the portable electronic device 500 according to the first, second, third, and fourth determination results DR1 to DR4.

請參考第6圖,第6圖為本發明判斷一電源供應裝置的種類之方法之一操作範例的流程圖,其包含以下的步驟(請注意,假若可得到大致相同的結果,則下列步驟並非限定要依據第6圖所示之順序來執行):步驟602:開始。 Please refer to FIG. 6. FIG. 6 is a flow chart showing an operation example of a method for determining the type of a power supply device according to the present invention, which includes the following steps (note that if substantially the same result is obtained, the following steps are not The limitation is to be performed in the order shown in Fig. 6): Step 602: Start.

步驟604:將一電源供應裝置連接至可攜式電子裝置500。 Step 604: Connect a power supply device to the portable electronic device 500.

步驟606:第一端點511之電壓位準係為高邏輯位準。 Step 606: The voltage level of the first endpoint 511 is a high logic level.

步驟608:判斷第四端點514之電壓位準以產生第一判斷結果DR1。當第一判斷結果DR1顯示第四端點514之電壓位準係為低邏輯位準時,執行步驟610;否則,執行步驟620。 Step 608: Determine the voltage level of the fourth endpoint 514 to generate a first determination result DR1. When the first determination result DR1 indicates that the voltage level of the fourth endpoint 514 is a low logic level, step 610 is performed; otherwise, step 620 is performed.

步驟610:當第一判斷結果DR1顯示第四端點514之電壓位準係為低邏輯位準時,判定該電源供應裝置係為電源供應裝置300。 Step 610: When the first determination result DR1 indicates that the voltage level of the fourth end point 514 is a low logic level, it is determined that the power supply device is the power supply device 300.

步驟620:當第一判斷結果DR1顯示第四端點514之電壓位準係為高邏輯位準時,拉高第二端點512之電壓位準。 Step 620: When the first determination result DR1 shows that the voltage level of the fourth end point 514 is a high logic level, the voltage level of the second end point 512 is raised.

步驟622:於拉高第二端點512之電壓位準時,判斷第三端點513之電壓位準以產生第二判斷結果DR2。當第二判斷結果DR2顯示第三端點513之電壓位準係為高邏輯位準時,執行步驟630;否則,執行步驟640。 Step 622: When the voltage level of the second end point 512 is raised, the voltage level of the third end point 513 is determined to generate a second determination result DR2. When the second determination result DR2 indicates that the voltage level of the third endpoint 513 is a high logic level, step 630 is performed; otherwise, step 640 is performed.

步驟630:當第二判斷結果DR2顯示第三端點513之電壓位準係為高邏輯位準時,拉低第三端點513之電壓位準。 Step 630: When the second determination result DR2 shows that the voltage level of the third end point 513 is a high logic level, the voltage level of the third end point 513 is pulled down.

步驟632:於拉低第三端點513之電壓位準時,判斷第三端點513之電壓位準以產生第三判斷結果DR3。當第三判斷結果DR3顯示第三端點513之電壓位準係為高邏輯位準時,執行步驟634;否則,執行步驟636。 Step 632: When the voltage level of the third terminal 513 is pulled down, the voltage level of the third terminal 513 is determined to generate a third determination result DR3. When the third determination result DR3 indicates that the voltage level of the third endpoint 513 is a high logic level, step 634 is performed; otherwise, step 636 is performed.

步驟634:判定該電源供應裝置係為電源供應裝置400(亦即符合中國大陸充電器規格之充電器)。 Step 634: It is determined that the power supply device is the power supply device 400 (that is, the charger that meets the specifications of the Chinese charger).

步驟636:判定該電源供應裝置係為電源供應裝置100。 Step 636: It is determined that the power supply device is the power supply device 100.

步驟640:判斷可攜式電子裝置500是否為一USB配置裝置以產生第四判斷結果DR4。當第四判斷結果DR4顯示可攜式電子裝置500係為一USB配置裝置時,執行步驟642;否則,執行步驟644。 Step 640: Determine whether the portable electronic device 500 is a USB configuration device to generate a fourth determination result DR4. When the fourth determination result DR4 indicates that the portable electronic device 500 is a USB configuration device, step 642 is performed; otherwise, step 644 is performed.

步驟642:判定該電源供應裝置為一電腦主機。 Step 642: Determine that the power supply device is a computer host.

步驟644:判定該電源供應裝置為非電腦主機之一充電器(亦即一般市售的充電器)。 Step 644: Determine that the power supply device is a non-computer host charger (that is, a generally commercially available charger).

接下來,將搭配第6圖所示之各步驟、第5圖所示之各元件以及第1圖~第4圖所示之電源供應裝置100~400來說明如何判斷該電源供應裝置的種類。首先,將一電源供應裝置連接至可攜式電子裝置500(步驟604),此時,第一端點511(亦即VBUS端點)之電壓位準係為高邏輯位準(步驟606)。接著,第三判斷單元533會判斷第四端點514(亦即ID端點)之電壓位準(步驟608),當第四端點514之電壓位準係為低邏輯位準時,判斷電路530會判定該電源供應裝置係為第3圖所示之電源供應裝置300(步驟610);而當第四端點514之電壓位準係為高邏輯位準時,第二判斷單元532會進行第二判斷結果DR2之偵測(步驟620~622)。 Next, how to determine the type of the power supply device will be described with reference to the respective steps shown in FIG. 6, the components shown in FIG. 5, and the power supply devices 100 to 400 shown in FIGS. 1 to 4. First, a power supply device is connected to the portable electronic device 500 (step 604). At this time, the voltage level of the first terminal 511 (ie, the VBUS endpoint) is a high logic level (step 606). Next, the third determining unit 533 determines the voltage level of the fourth endpoint 514 (ie, the ID endpoint) (step 608). When the voltage level of the fourth endpoint 514 is a low logic level, the determining circuit 530 The power supply device is determined to be the power supply device 300 shown in FIG. 3 (step 610); and when the voltage level of the fourth terminal 514 is at the high logic level, the second determining unit 532 performs the second The result of the determination DR2 is detected (steps 620-622).

接下來,先透過電阻元件R1來拉高第二端點512之電壓位準(步驟620),而第二判斷單元532會判斷第三端點513(亦即D-端點)之電壓位準來產生第二判斷結果DR2(步驟622)。當第三端點513之電壓位準係為高邏輯位準時,須先透過電阻元件R2來拉低第三端點513之電壓位準(步驟630),並接著利用第一判斷單元531來判斷第三端點513之電壓位準(步驟632)。當第三端點513之電壓位準係為高邏輯位準時,判斷電路530會判定該電源供應裝置係為電源供應裝置400;而當第三端點513之電壓位準係為低邏輯位準時,判斷電路530會判定該電源供應裝置係為電源供應裝置100。 Next, the voltage level of the second end point 512 is first raised through the resistive element R1 (step 620), and the second determining unit 532 determines the voltage level of the third end point 513 (ie, the D-end point). The second determination result DR2 is generated (step 622). When the voltage level of the third terminal 513 is a high logic level, the voltage level of the third terminal 513 must be first pulled through the resistance element R2 (step 630), and then judged by the first determining unit 531. The voltage level of the third terminal 513 (step 632). When the voltage level of the third terminal 513 is a high logic level, the determining circuit 530 determines that the power supply device is the power supply device 400; and when the voltage level of the third terminal 513 is a low logic level. The determination circuit 530 determines that the power supply device is the power supply device 100.

另一方面,當步驟622中的第二判斷結果DR2顯示第三端點513之電壓位準係為低邏輯位準時,第四判斷單元534會判斷可攜式電子裝置500是否為一USB配置裝置(步驟640)。若是可攜式電子裝置500係為一USB配置裝置時,判斷電路530會判定該電源供應裝置為一電腦主機(步驟642);若是可攜式電子裝置500並非為一USB配置裝置時,判斷電路530會判定該電源供應裝置為非電腦主機之一充電器(亦即一般市售的充電器)(步驟644)。 On the other hand, when the second determination result DR2 in step 622 shows that the voltage level of the third terminal 513 is a low logic level, the fourth determining unit 534 determines whether the portable electronic device 500 is a USB configuration device. (Step 640). If the portable electronic device 500 is a USB configuration device, the determination circuit 530 determines that the power supply device is a computer host (step 642); if the portable electronic device 500 is not a USB configuration device, the determination circuit The 530 determines that the power supply device is a non-computer host charger (i.e., a commercially available charger) (step 644).

簡而言之,可透過第5圖所揭露之可攜式電子裝置500搭配第6圖所揭露之判斷機制,來分辨與可攜式電子裝置500相連接的電源供應裝置為何者(例如第1圖~第4圖之電源供應裝置100~400)。 In short, the portable electronic device 500 disclosed in FIG. 5 can be used with the judgment mechanism disclosed in FIG. 6 to distinguish the power supply device connected to the portable electronic device 500 (for example, the first Figure ~ Figure 4 power supply device 100 ~ 400).

請注意,上述的例子僅為用來說明本發明之應用,並非本發明之限制條件,熟知此項技藝者應可了解,在不違背本發明之精神下,第6圖的流程之步驟可再增加其他的中間步驟或者可將數個步驟合併成單一步驟,以做適當之變化。 It should be noted that the above-mentioned examples are only for explaining the application of the present invention, and are not limiting of the present invention. It should be understood by those skilled in the art that the steps of the process of FIG. 6 can be further performed without departing from the spirit of the present invention. Add other intermediate steps or combine several steps into a single step to make the appropriate changes.

以上所述的實施例僅用來說明本發明之技術特徵,並非用來侷限本發明之範疇。由上可知,本發明提供一種電源供應裝置、可判斷電源供應裝置種類之可攜式電子裝置及其相關判斷方法。本發明所揭露之電源供應裝置100係增加一電阻元件R於通用序列匯流排連接器130的第二接腳132(亦即D+接腳)與第三接腳133(亦即D-接腳)之間,其係可與一傳輸線140設計成兩個獨立配件,則傳輸線140可另用來作為資料傳輸之用,以節省成本並擴充其使用用途。此外,透過增加判斷電路530(包含第一判斷單元531、第二 判斷單元532、第三判斷單元533以及第四判斷單元534)於可攜式電子裝置500中,並搭配本發明所揭露之判斷機制(例如利用特定連接器510於接上不同種類的電源供應裝置時,各端點會有不同的電壓位準的特性),如此一來,便可判斷出連接至可攜式電子裝置500之電源供應裝置的種類為何者(例如第1圖~第4圖之電源供應裝置100~400)。而後,可依據設計需求來針對不同種類的電源供應裝置作其他應用的擴充,然應用範圍並非本發明之限制條件。此外,還可利用本發明所揭露之判斷機制來對電源供應裝置進行品質控管,以避免可攜式電子裝置遭受到品管不良的充電器的損毀。 The embodiments described above are only intended to illustrate the technical features of the present invention and are not intended to limit the scope of the present invention. As can be seen from the above, the present invention provides a power supply device, a portable electronic device capable of determining the type of the power supply device, and related determination methods. The power supply device 100 disclosed in the present invention adds a resistor element R to the second pin 132 (ie, D+ pin) and the third pin 133 (ie, D-pin) of the universal serial bus bar connector 130. Between the two, it can be designed as two separate accessories with a transmission line 140, and the transmission line 140 can be used as a data transmission to save costs and expand its use. In addition, the judgment circuit 530 is added (including the first determining unit 531, the second The determining unit 532, the third determining unit 533, and the fourth determining unit 534 are in the portable electronic device 500, and cooperate with the determining mechanism disclosed in the present invention (for example, using a specific connector 510 to connect different types of power supply devices) In this case, each end point has a different voltage level characteristic, so that the type of the power supply device connected to the portable electronic device 500 can be determined (for example, FIG. 1 to FIG. 4). Power supply device 100~400). Then, other types of power supply devices can be expanded for other applications according to design requirements, but the scope of application is not a limitation of the present invention. In addition, the quality of the power supply device can be controlled by the judgment mechanism disclosed in the present invention to prevent the portable electronic device from being damaged by the poor quality charger.

以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.

100~400‧‧‧電源供應裝置 100~400‧‧‧Power supply unit

110‧‧‧電源輸入端 110‧‧‧Power input

120‧‧‧電源轉換電路 120‧‧‧Power conversion circuit

130、150、230、350、430‧‧‧通用序列匯流排連接器 130, 150, 230, 350, 430‧‧‧ Universal Serial Bus Connector

131~135、151~155、231~235、351~355、431~435‧‧‧接腳 131~135, 151~155, 231~235, 351~355, 431~435‧‧‧ pins

R、R1、R2‧‧‧電阻元件 R, R1, R2‧‧‧ resistance components

Pin‧‧‧輸入電源 Pin‧‧‧ input power

Pcharge‧‧‧充電電源 Pcharge‧‧‧Charging power supply

VBUS、D+、D-、ID、GND‧‧‧USB訊號 VBUS, D+, D-, ID, GND‧‧‧USB signal

140、340‧‧‧傳輸線 140, 340‧‧‧ transmission line

160‧‧‧連接線 160‧‧‧Connecting line

500‧‧‧可攜式電子裝置 500‧‧‧Portable electronic devices

510‧‧‧特定連接器 510‧‧‧Specific connector

520‧‧‧充電控制電路 520‧‧‧Charging control circuit

530‧‧‧判斷電路 530‧‧‧Judgement circuit

531‧‧‧第一判斷單元 531‧‧‧First Judgment Unit

532‧‧‧第二判斷單元 532‧‧‧Second judgment unit

533‧‧‧第三判斷單元 533‧‧‧ third judgment unit

534‧‧‧第四判斷單元 534‧‧‧fourth judgment unit

DR1~DR4‧‧‧判斷結果 DR1~DR4‧‧‧ judgment result

511~555‧‧‧端點 511~555‧‧‧Endpoint

602~644‧‧‧步驟 602~644‧‧‧Steps

第1圖為本發明電源供應裝置之一實施例的示意圖。 Fig. 1 is a schematic view showing an embodiment of a power supply device of the present invention.

第2圖為習知電源供應裝置的示意圖。 Figure 2 is a schematic diagram of a conventional power supply device.

第3圖為習知電源供應裝置的示意圖。 Figure 3 is a schematic diagram of a conventional power supply device.

第4圖為習知電源供應裝置的示意圖。 Figure 4 is a schematic diagram of a conventional power supply device.

第5圖為本發明可攜式電子裝置之一實施例的示意圖。 FIG. 5 is a schematic diagram of an embodiment of a portable electronic device of the present invention.

第6圖本發明判斷一電源供應裝置的種類之方法之一操作範例的流程圖。 Figure 6 is a flow chart showing an example of the operation of one of the methods for determining the type of a power supply device of the present invention.

602~644‧‧‧步驟 602~644‧‧‧Steps

Claims (22)

一種可攜式電子裝置,用來透過一傳輸線連接於一電源供應裝置,該電源供應裝置具有一通用序列匯流排連接器,該通用序列匯流排連接器包含用來提供一充電電源之一第一接腳、用來傳送資料之一第二接腳、用來傳送資料之一第三接腳、用來作為識別判斷之一第四接腳以及耦接於一接地端之一第五接腳,該可攜式電子裝置包含有:一特定連接器,包含一第一端點對應至該通用序列匯流排連接器之該第一接腳、一第二端點對應至該通用序列匯流排連接器之該第二接腳、一第三端點對應至該通用序列匯流排連接器之該第三接腳、一第四端點對應至該通用序列匯流排連接器之該第四接腳以及一第五端點對應至該通用序列匯流排連接器之該第五接腳;一充電控制電路,耦接於該特定連接器,用來透過該第一端點自該通用序列匯流排連接器之該第一接腳接收該充電電源;以及一判斷電路,耦接於該特定連接器以及該充電控制電路,該判斷電路包含有:一第一判斷單元,用來於該電源供應裝置連接至該可攜式電子裝置、該第一端點之電壓位準係為高邏輯位準、該第四端點之電壓位準係為高邏輯位準以及於拉高該第二端點之電壓位準之後該第三端點之電壓位準係為高邏輯位 準時,拉低該第三端點之電壓位準並偵測該第三端點之電壓位準以產生一第三判斷結果;其中,該判斷電路係依據至少該第三判斷結果來判定該電源供應裝置之種類。 A portable electronic device is connected to a power supply device through a transmission line, the power supply device has a universal serial bus bar connector, and the universal serial bus bar connector includes a first one for providing a charging power source. a pin, a second pin for transmitting data, a third pin for transmitting data, a fourth pin for identifying and a fifth pin for coupling to a ground, The portable electronic device includes: a specific connector including a first end corresponding to the first pin of the universal serial bus connector, and a second end corresponding to the universal serial bus connector The second pin and the third end point correspond to the third pin of the universal serial bus bar connector, and the fourth end point corresponds to the fourth pin of the universal serial bus bar connector and a fourth pin The fifth end point corresponds to the fifth pin of the universal serial bus connector; a charging control circuit is coupled to the specific connector for transmitting the first terminal from the universal serial bus connector The first pin is connected The charging power supply; and a determining circuit coupled to the specific connector and the charging control circuit, the determining circuit includes: a first determining unit, configured to connect the power supply device to the portable electronic device, The voltage level of the first end point is a high logic level, the voltage level of the fourth end point is a high logic level, and the third end point after the voltage level of the second end point is raised The voltage level is a high logic bit On time, the voltage level of the third terminal is pulled down and the voltage level of the third terminal is detected to generate a third determination result; wherein the determining circuit determines the power source according to at least the third determination result The type of supply device. 如申請專利範圍第1項所述之可攜式電子裝置,其中該特定連接器係符合一通用序列匯流排介面。 The portable electronic device of claim 1, wherein the specific connector conforms to a universal serial bus interface. 如申請專利範圍第2項所述之可攜式電子裝置,其中該第一端點係用來傳送一VBUS訊號,該第二端點係用來傳送一D+訊號,該第三端點係用來傳送一D-訊號,以及該第四端點係用來傳送一ID訊號。 The portable electronic device of claim 2, wherein the first endpoint is used to transmit a VBUS signal, and the second endpoint is used to transmit a D+ signal, and the third endpoint is used by the third endpoint. To transmit a D-signal, and the fourth endpoint is used to transmit an ID signal. 如申請專利範圍第3項所述之可攜式電子裝置,其中當該第一判斷單元之該第三判斷結果顯示該第三端點之電壓位準係為低邏輯位準時,該判斷電路判定該電源供應裝置係為一第一充電器;以及當該第一判斷單元之該第三判斷結果顯示該第三端點之電壓位準係為高邏輯位準時,該判斷電路判定該電源供應裝置係為符合中國大陸充電器規格之一第二充電器。 The portable electronic device of claim 3, wherein when the third determination result of the first determining unit indicates that the voltage level of the third terminal is a low logic level, the determining circuit determines The power supply device is a first charger; and when the third determination result of the first determining unit indicates that the voltage level of the third terminal is a high logic level, the determining circuit determines the power supply device It is a second charger that meets the specifications of China's chargers. 如申請專利範圍第3項所述之可攜式電子裝置,其中該判斷電路另包含有:一第二判斷單元,用來於該電源供應裝置連接至該可攜式電子裝置、該第一端點之電壓位準係為高邏輯位準以及該第四端點之電壓位準係為高邏輯位準時,拉高該第二端點之電壓位準並偵測該第三端點之電壓位準以產生一第二判斷結果;其中,該判斷電路係依據該第三、第二判斷結果來判定該電源供 應裝置之種類。 The portable electronic device of claim 3, wherein the determining circuit further comprises: a second determining unit, configured to connect the power supply device to the portable electronic device, the first end When the voltage level of the point is a high logic level and the voltage level of the fourth end point is a high logic level, the voltage level of the second end point is raised and the voltage level of the third end point is detected. a second determination result is generated; wherein the determining circuit determines the power supply according to the third and second determination results The type of device should be used. 如申請專利範圍第5項所述之可攜式電子裝置,其中該判斷電路另包含有:一第三判斷單元,用來於該電源供應裝置連接至該可攜式電子裝置且該第一端點之電壓位準係為高邏輯位準時,偵測該第四端點之電壓位準以產生一第一判斷結果;其中,該判斷電路係依據該第一、第二、第三判斷結果來判定該電源供應裝置之種類。 The portable electronic device of claim 5, wherein the determining circuit further comprises: a third determining unit, configured to connect the power supply device to the portable electronic device and the first end When the voltage level of the point is a high logic level, detecting the voltage level of the fourth terminal to generate a first determination result; wherein the determining circuit is based on the first, second, and third determination results The type of the power supply device is determined. 如申請專利範圍第6項所述之可攜式電子裝置,其中當該第三判斷單元之該第一判斷結果顯示該第四端點之電壓位準係為低邏輯位準時,該判斷電路會判定該電源供應裝置係為一特定充電器;以及當該第三判斷單元之該第一判斷結果顯示該第四端點之電壓位準係為高邏輯位準時,該第二判斷單元進行該第二判斷結果之偵測。 The portable electronic device of claim 6, wherein when the first determination result of the third determining unit indicates that the voltage level of the fourth terminal is a low logic level, the determining circuit Determining that the power supply device is a specific charger; and when the first determination result of the third determining unit indicates that the voltage level of the fourth terminal is a high logic level, the second determining unit performs the first Second, the detection of the result. 如申請專利範圍第3項所述之可攜式電子裝置,其中該判斷電路另包含有:一第二判斷單元,用來於該電源供應裝置連接至該可攜式電子裝置、該第一端點之電壓位準係為高邏輯位準以及該第四端點之電壓位準係為高邏輯位準時,拉高該第二端點之電壓位準並偵測該第三端點之電壓位準以產生一第二判斷結果,其中當該第二判斷單元之該第二判斷結果顯示該第三端點之電壓位準係為高邏輯位準時,該第一判斷單元進行該第三判斷結果之偵測;以及 一第四判斷單元,用來於該第二判斷單元之該第二判斷結果顯示該第三端點之電壓位準係為低邏輯位準時,偵測該可攜式電子裝置是否為一通用序列匯流排配置裝置以產生一第四判斷結果;其中,該判斷電路係依據該第三、第二、第四判斷結果來判定該電源供應裝置之種類。 The portable electronic device of claim 3, wherein the determining circuit further comprises: a second determining unit, configured to connect the power supply device to the portable electronic device, the first end When the voltage level of the point is a high logic level and the voltage level of the fourth end point is a high logic level, the voltage level of the second end point is raised and the voltage level of the third end point is detected. a second determination result is obtained, wherein when the second determination result of the second determination unit indicates that the voltage level of the third endpoint is a high logic level, the first determining unit performs the third determination result Detection; and a fourth determining unit, configured to detect whether the portable electronic device is a universal sequence when the second determining result of the second determining unit displays that the voltage level of the third terminal is a low logic level The bus arrangement device is configured to generate a fourth determination result; wherein the determination circuit determines the type of the power supply device based on the third, second, and fourth determination results. 如申請專利範圍第8項所述之可攜式電子裝置,其中當該第四判斷單元之該第四判斷結果顯示該可攜式電子裝置係為該通用序列匯流排配置裝置時,該判斷電路判定該電源供應裝置係為一電腦主機;以及當該第四判斷結果顯示該可攜式電子裝置並非為該通用序列匯流排配置裝置時,該判斷電路判定該電源供應裝置係為非電腦主機之一充電器。 The portable electronic device of claim 8, wherein the determining circuit is configured when the fourth determining result of the fourth determining unit indicates that the portable electronic device is the universal serial bus bar arranging device Determining that the power supply device is a computer host; and when the fourth determination result indicates that the portable electronic device is not configured for the universal serial bus, the determining circuit determines that the power supply device is a non-computer host A charger. 如申請專利範圍第8項所述之可攜式電子裝置,其中該判斷電路另包含有:一第三判斷單元,用來於該電源供應裝置連接至該可攜式電子裝置且該第一端點之電壓位準係為高邏輯位準時,偵測該第四端點之電壓位準以產生一第一判斷結果;其中,該判斷電路係依據該第一、第二、第三、第四判斷結果來判定該電源供應裝置之種類。 The portable electronic device of claim 8, wherein the determining circuit further comprises: a third determining unit, wherein the power supply device is connected to the portable electronic device and the first end When the voltage level of the point is a high logic level, detecting the voltage level of the fourth terminal to generate a first determination result; wherein the determining circuit is based on the first, second, third, fourth The result of the determination determines the type of the power supply device. 如申請專利範圍第10項所述之可攜式電子裝置,其中當該第三判斷單元之該第一判斷結果顯示該第四端點之電壓位準係為低邏輯位準時,該判斷電路判定該電源供應裝置係為一特定充電器;以及當該第三判斷單元之該第一判斷結果顯示該第四端點 之電壓位準係為高邏輯位準時,該第二判斷單元進行該第二判斷結果之偵測。 The portable electronic device of claim 10, wherein when the first determination result of the third determining unit indicates that the voltage level of the fourth terminal is a low logic level, the determining circuit determines The power supply device is a specific charger; and when the first determination result of the third determining unit displays the fourth terminal When the voltage level is a high logic level, the second determining unit performs the detection of the second determination result. 如申請專利範圍第1項所述之可攜式電子裝置,其中該可攜式電子裝置係為一手機或者一個人數位助理。 The portable electronic device of claim 1, wherein the portable electronic device is a mobile phone or a number of assistants. 一種判斷一電源供應裝置的種類之方法,該電源供應裝置係透過一傳輸線連接於一可攜式電子裝置,該電源供應裝置具有一通用序列匯流排連接器,該通用序列匯流排連接器包含用來提供一充電電源之一第一接腳、用來傳送資料之一第二接腳、用來傳送資料之一第三接腳、用來作為識別判斷之一第四接腳以及耦接於一接地端之一第五接腳,而該可攜式電子裝置具有一特定連接器,該特定連接器包含一第一端點對應至該通用序列匯流排連接器之該第一接腳、一第二端點對應至該通用序列匯流排連接器之該第二接腳、一第三端點對應至該通用序列匯流排連接器之該第三接腳、一第四端點對應至該通用序列匯流排連接器之該第四接腳以及一第五端點對應至該通用序列匯流排連接器之該第五接腳,該方法包含有:於該電源供應裝置連接至該可攜式電子裝置、該第一端點之電壓位準係為高邏輯位準、該第四端點之電壓位準係為高邏輯位準以及於拉高該第二端點之電壓位準之後該第三端點之電壓位準係為高邏輯位準時,拉低該第三端點之電壓位準;於拉低該第三端點之電壓位準時,偵測該第三端點之電壓位準以產生一第三判斷結果;以及依據至少該第三判斷結果來判定該電源供應裝置之種類。 A method for determining a type of a power supply device, the power supply device being connected to a portable electronic device through a transmission line, the power supply device having a universal serial bus bar connector, the universal serial bus bar connector comprising Providing a first pin of a charging power source, a second pin for transmitting data, a third pin for transmitting data, a fourth pin for identifying and determining, and a coupling to the first pin a fifth pin of the ground end, and the portable electronic device has a specific connector, the specific connector includes a first end corresponding to the first pin of the universal serial bus connector, and a first The second terminal corresponds to the second pin of the universal sequence bus connector, and the third terminal corresponds to the third pin and the fourth terminal of the universal sequence bus connector corresponding to the universal sequence The fourth pin and the fifth end of the bus bar connector correspond to the fifth pin of the universal serial bus connector, the method includes: connecting the power supply device to the portable electronic device The voltage level of the first end point is a high logic level, the voltage level of the fourth end point is a high logic level, and the third end point after the voltage level of the second end point is raised When the voltage level is a high logic level, the voltage level of the third end point is pulled down; when the voltage level of the third end point is pulled down, the voltage level of the third end point is detected to generate a voltage level a third determination result; and determining the type of the power supply device based on at least the third determination result. 如申請專利範圍第13項所述之方法,其中該特定連接器係符合一通用序列匯流排介面,該第一端點係用來傳送一VBUS訊號,該第二端點係用來傳送一D+訊號,該第三端點係用來傳送一D-訊號,以及該第四端點係用來傳送一ID訊號。 The method of claim 13, wherein the specific connector conforms to a universal sequence bus interface, the first endpoint is used to transmit a VBUS signal, and the second endpoint is used to transmit a D+ The third endpoint is used to transmit a D-signal, and the fourth endpoint is used to transmit an ID signal. 如申請專利範圍第14項所述之方法,其中依據至少該第三判斷結果來判斷該電源供應裝置之種類之步驟包含有:當該第三判斷結果顯示該第三端點之電壓位準係為低邏輯位準時,判定該電源供應裝置係為一第一充電器;以及當該第三判斷結果顯示該第三端點之電壓位準係為高邏輯位準時,判定該電源供應裝置係為符合一中國大陸充電器規格之一第二充電器。 The method of claim 14, wherein the step of determining the type of the power supply device according to at least the third determination result comprises: when the third determination result displays a voltage level of the third terminal When the logic level is low, determining that the power supply device is a first charger; and when the third determination result indicates that the voltage level of the third terminal is a high logic level, determining that the power supply device is A second charger that complies with one of China's mainland charger specifications. 如申請專利範圍第14項所述之方法,其另包含:於該電源供應裝置連接至該可攜式電子裝置、該第一端點之電壓位準係為高邏輯位準以及該第四端點之電壓位準係為高邏輯位準時,拉高該第二端點之電壓位準;於拉高該第二端點之電壓位準時,偵測該第三端點之電壓位準以產生一第二判斷結果;以及依據至少該第三判斷結果來判定該電源供應裝置之種類之步驟包含有:依據該第三、第二判斷結果來判定該電源供應裝置之種類。 The method of claim 14, further comprising: connecting the power supply device to the portable electronic device, the voltage level of the first terminal is a high logic level, and the fourth end When the voltage level of the point is a high logic level, the voltage level of the second end point is raised; when the voltage level of the second end point is raised, the voltage level of the third end point is detected to generate a second determination result; and determining the type of the power supply device according to at least the third determination result comprises: determining the type of the power supply device according to the third and second determination results. 如申請專利範圍第16項所述之方法,其另包含:於該電源供應裝置連接至該可攜式電子裝置且該第一端點之電壓位準係為高邏輯位準時,偵測該第四端點之電壓位準以產 生一第一判斷結果;以及依據至少該第三判斷結果來判定該電源供應裝置之種類之步驟包含有:依據該第一、第二、第三判斷結果來判定該電源供應裝置之種類。 The method of claim 16, further comprising: detecting the first when the power supply device is connected to the portable electronic device and the voltage level of the first terminal is a high logic level Four-terminal voltage level And a step of determining the type of the power supply device according to at least the third determination result includes: determining the type of the power supply device according to the first, second, and third determination results. 如申請專利範圍第17項所述之方法,其中該第一、第二、第三判斷結果來判斷該電源供應裝置之種類之步驟包含有:當該第一判斷結果顯示該第四端點之電壓位準係為低邏輯位準時,判定該電源供應裝置係為一特定充電器;以及當該第一判斷結果顯示該第四端點之電壓位準係為高邏輯位準時,進行該第二判斷結果之偵測。 The method of claim 17, wherein the step of determining the type of the power supply device by the first, second, and third determination results includes: when the first determination result displays the fourth endpoint When the voltage level is a low logic level, determining that the power supply device is a specific charger; and when the first determination result indicates that the voltage level of the fourth terminal is a high logic level, performing the second Judging the detection of results. 如申請專利範圍第14項所述之方法,其另包含:於該電源供應裝置連接至該可攜式電子裝置、該第一端點之電壓位準係為高邏輯位準以及該第四端點之電壓位準係為高邏輯位準時,拉高該第二端點之電壓位準;於拉高該第二端點之電壓位準時,偵測該第三端點之電壓位準以產生一第二判斷結果;當該第二判斷結果顯示該第三端點之電壓位準係為高邏輯位準時,進行該第三判斷結果之偵測;於該第二判斷結果顯示該第三端點之電壓位準係為低邏輯位準時,偵測該可攜式電子裝置是否為一通用序列匯流排配置裝置以產生一第四判斷結果;以及依據至少該第三判斷結果來判定該電源供應裝置之種類之步驟包含有: 依據該第三、第二、第四判斷結果來判定該電源供應裝置之種類。 The method of claim 14, further comprising: connecting the power supply device to the portable electronic device, the voltage level of the first terminal is a high logic level, and the fourth end When the voltage level of the point is a high logic level, the voltage level of the second end point is raised; when the voltage level of the second end point is raised, the voltage level of the third end point is detected to generate a second determination result; when the second determination result indicates that the voltage level of the third endpoint is a high logic level, detecting the third determination result; and displaying the third end on the second determination result When the voltage level of the point is a low logic level, detecting whether the portable electronic device is a universal sequence bus arrangement device to generate a fourth determination result; and determining the power supply according to at least the third determination result The steps of the type of device include: The type of the power supply device is determined based on the third, second, and fourth determination results. 如申請專利範圍第19項所述之方法,其中依據該第三、第二、第四判斷結果來判定該電源供應裝置之種類之步驟包含有:當該第四判斷結果顯示該可攜式電子裝置係為該通用序列匯流排配置裝置時,判定該電源供應裝置係為一電腦主機;以及當該第四判斷結果顯示該可攜式電子裝置並非為該通用序列匯流排配置裝置時,判定該電源供應裝置係為非電腦主機之一充電器。 The method of claim 19, wherein the step of determining the type of the power supply device according to the third, second, and fourth determination results includes: when the fourth determination result displays the portable electronic When the device is configured as the universal serial bus, the power supply device is determined to be a computer host; and when the fourth determination result indicates that the portable electronic device is not configured for the universal serial bus, the The power supply device is a charger that is not a computer host. 如申請專利範圍第19項所述之方法,其另包含:於該電源供應裝置連接至該可攜式電子裝置且該第一端點之電壓位準係為高邏輯位準時,偵測該第四端點之電壓位準以產生一第一判斷結果;以及依據至少該第三判斷結果來判斷該電源供應裝置之種類之步驟包含有:依據該第一、第二、第三、第四判斷結果來判斷該電源供應裝置之種類。 The method of claim 19, further comprising: detecting the first when the power supply device is connected to the portable electronic device and the voltage level of the first terminal is a high logic level The voltage level of the four endpoints is used to generate a first determination result; and the step of determining the type of the power supply device according to at least the third determination result includes: determining according to the first, second, third, and fourth As a result, the kind of the power supply device is judged. 如申請專利範圍第21項所述之方法,其中依據至少該第三判斷結果來判斷該電源供應裝置之種類之步驟包含有:當該第一判斷結果顯示該第四端點之電壓位準係為低邏輯位準時,判定該電源供應裝置係為一特定充電器;以及當該第一判斷結果顯示該第四端點之電壓位準係為高邏輯位準時,進行該第二判斷結果之偵測。 The method of claim 21, wherein the step of determining the type of the power supply device according to at least the third determination result comprises: when the first determination result displays a voltage level of the fourth end point When the logic level is low, the power supply device is determined to be a specific charger; and when the first determination result indicates that the voltage level of the fourth terminal is a high logic level, the second determination result is detected. Measurement.
TW102100154A 2009-07-22 2009-07-22 Power supply device, portable electronic apparatus and related method for determining types of a power supply device TWI459190B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102100154A TWI459190B (en) 2009-07-22 2009-07-22 Power supply device, portable electronic apparatus and related method for determining types of a power supply device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102100154A TWI459190B (en) 2009-07-22 2009-07-22 Power supply device, portable electronic apparatus and related method for determining types of a power supply device

Publications (2)

Publication Number Publication Date
TW201329689A true TW201329689A (en) 2013-07-16
TWI459190B TWI459190B (en) 2014-11-01

Family

ID=49225735

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102100154A TWI459190B (en) 2009-07-22 2009-07-22 Power supply device, portable electronic apparatus and related method for determining types of a power supply device

Country Status (1)

Country Link
TW (1) TWI459190B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI559125B (en) * 2015-09-11 2016-11-21 技嘉科技股份有限公司 Power bank apparatus and power control method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7581119B2 (en) * 2004-07-18 2009-08-25 Apple Inc. Method and system for discovering a power source on a peripheral bus
TWI263902B (en) * 2004-09-10 2006-10-11 Mediatek Inc Multiple apparatuses connection system and the method thereof
TWI310259B (en) * 2006-05-30 2009-05-21 Wistron Corp Usb mini-b power supply system for quickly charging usb mini-b devices
KR20090032695A (en) * 2007-09-28 2009-04-01 삼성전자주식회사 Adaptive battery keeper and battery recharging system including the same, battery recharging method using the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI559125B (en) * 2015-09-11 2016-11-21 技嘉科技股份有限公司 Power bank apparatus and power control method thereof

Also Published As

Publication number Publication date
TWI459190B (en) 2014-11-01

Similar Documents

Publication Publication Date Title
TWI398759B (en) Power supply device, portable electronic apparatus and related method for determining types of a power supply device
CN106291210B (en) USB interface detector, USB interface detection method, USB connector and electronic equipment
JP5717005B2 (en) Method and terminal for selecting an internal circuit according to the status of a USB interface
CN102393837B (en) USB charger recognition device and method
US8103886B2 (en) Dedicated power supply apparatus, terminal, power supply system, and power supply method
US20130154547A1 (en) Determination circuit
JP5981043B2 (en) High voltage dedicated charging port
WO2012142119A2 (en) Mobile device auto detection apparatus and method
EP2480043A1 (en) Method and device for identifying universal serial bus (usb) insertion or charger insertion of mobile terminal
CN102231543B (en) System capable of identifying charging capability of charger and charging method thereof
CN106502939B (en) USB adapter and data transmission equipment
CN103024195B (en) Smart mobile terminal and implementation method of charging of smart mobile terminal
CN101702146B (en) The method of distinguishing charger and data line of universal serial bus and unit
WO2013178146A1 (en) Tablet interface extension method and device
JPWO2013168289A1 (en) Electronic device and control method thereof
CN103198033A (en) Apparatus and method of identifying a USB or an MHL device
CN203871616U (en) USB data line
CN102479137A (en) Detection device and detection method for detecting universal serial bus port of test equipment
US20110244728A1 (en) Universal serial bus connector and adaptor of the connector
CN101989751B (en) Power supply device, portable electronic device and related judgment method
CN101179199A (en) Terminal and charging method thereof
TWI501085B (en) Usb interface detection device
CN204945996U (en) USB (universal serial bus) conversion fit line
TW201535128A (en) Electric system
CN106856289B (en) Electronic equipment and circuit thereof, switching equipment and circuit thereof and signal processing system

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees