Ι344/!)ό 九、發明說明: 【發明所屬之技術領域】 本發明係有_-種__,尤指—_來姻—電子裝 置之種類的偵測電路與相關方法。 【先前技術】 ,目前市面上的手機均依照廠牌或贱而有各自專屬的手機充 鲁《Η Ν廠牌的手機充電器僅能提供給Ν廠牌的手機使用 而無法對Μ廠牌或頓充電。細,中贿產部推行手 機充電器連接器接口採用通用串列匯流排(_^_丨s_㈣ USB)的規格’亦即同—個充電器可时料同廠商、不同型號 的手機充電。 -般说來’ USB輯輸介面具有四轉輸端,其係分別為 VBUS端、D+端、D-端與GND端。對於中國交流充電器而言, φ其係將D+端與D·端在充電器的本體内短路以作為中國交流充電 器的識別特徵·,除此之外,㈣應用論壇(USB ___ηΙ 344/!) 九 Nine, invention description: [Technical field to which the invention pertains] The present invention relates to a detection circuit and related method of the type of _- __, especially _ _ _ _ _ _ _ _ [Prior Art] Currently, mobile phones on the market are based on the brand or the company's own mobile phone. The mobile phone charger of the Ν Ν brand can only be used for the mobile phone of the Ν 牌 brand and cannot be used for the Μ label or Charged. Fine, the Chinese bribe production department to implement the mobile phone charger connector interface using the universal serial bus (_^_丨s_ (four) USB) specifications 'that is, the same charger can be charged with the manufacturer, different models of mobile phones. Generally speaking, the USB serial interface has four transponders, which are VBUS, D+, D- and GND. For the Chinese AC charger, φ is short-circuiting the D+ terminal and the D· terminal in the body of the charger as the identification feature of the Chinese AC charger. In addition, (4) Application Forum (USB ___η
Fonim,USB IF)亦制訂了類似於於中國交流充電器之一手機充電 規才。在忒手機充電器規格中並不要求將D+端與端在充電器的 本體内短路’而是規定要使用200ohm的電阻,其兩端分別連接 於D+端與D_端。 當手機的USB接頭連接至一電子裝置的uSB接口時,手機 (S > 6 1344756 必須具有能夠正確地判別該電子奘 裝置的種類的能力,接下來才能 夠進仃正確的運作,例如,當該電 X电卞裝置係為一手機充電器時, 泫手機便可利用該手機充電器對本 身進订充電,又例如,當該雷 子裝置並非為一手機充電器而係為__ 于芍電腦時,該手機便可與該雷 腦進行資料傳輸的動作。因而,目 曰月,j亟需忐夠判別該電子裝置的 種類的偵測電路以及相關方法。 【發明内容】 • 因此,本發明的目的在於提供-種能夠判別一電子裝置的種 類的偵測電路以及相關方法,以解決上述問題。 本發明係揭露〜種_電路,用來判別-電子裝置的種類。 該偵測電路包含有:—傳輸介面,用來耦接於該電子裝置,該傳 輸"面包含有.-第―傳輸端及—第二傳輸端;—電鮮位調整 模組’電性触於該第—傳輸端,用來調整該第—傳輸端之一輸 籲出電壓準位,一電壓準位侧模組,電性搞接於該第二傳輸端, 用來偵測該苐二傳輸端之—輸人電鮮位,n㈣電路,用 來根據該輸4電壓準仙及該輸人電鮮絲細,m電子裝置的 種類。 、 本發明另揭露—種侧方法,絲卿-電子裝置的種類。 a玄方法包含有.提供一傳輸介面,帛以耗接至該電子裝置,該傳 輸"面包含有-第—傳輸端及—第二傳輸端, ·調整該第一傳輸端Fonim, USB IF) has also developed a mobile phone charging rule similar to one of China's AC chargers. In the specification of the mobile phone charger, it is not required to short-circuit the D+ terminal and the terminal in the body of the charger. Instead, it is required to use a 200 ohm resistor, and its two ends are respectively connected to the D+ terminal and the D_ terminal. When the USB connector of the mobile phone is connected to the uSB interface of an electronic device, the mobile phone (S > 6 1344756 must have the ability to correctly discriminate the type of the electronic device, and then the correct operation can be performed, for example, when When the electric X-electric device is a mobile phone charger, the mobile phone can use the mobile phone charger to charge the charging itself, and for example, when the lightning device is not a mobile phone charger, it is __ 芍When the computer is used, the mobile phone can perform the data transmission operation with the lightning brain. Therefore, it is necessary to find a detection circuit and a related method for discriminating the type of the electronic device. [Invention] SUMMARY OF THE INVENTION It is an object of the present invention to provide a detection circuit capable of discriminating the type of an electronic device and related methods to solve the above problems. The present invention discloses a circuit for discriminating the type of an electronic device. There is: a transmission interface for coupling to the electronic device, the transmission "bread contains - the first transmission end and the second transmission end; - the electric fresh position adjustment module 'electrical touch The first transmission end is configured to adjust one of the first transmission terminals to apply a voltage level, and a voltage level side module is electrically connected to the second transmission end for detecting the second The transmitting end is the input device, and the n (four) circuit is used to select the type of the electronic device according to the input voltage and the type of the electronic device. The invention further discloses the seed side method, Silky- The type of the electronic device includes a transmission interface for providing a transmission interface to the electronic device, the transmission "bread containing-the first transmission end and the second transmission end, adjusting the first transmission end
7 輪出電壓準位,制郷二傳輸端之-輸人電鮮位;以及 眼亥輸出電縣仙及該輸人麵準位來判職電子裝置的種 類。 【實施方式】 …在摘書及後續的_料利範圍當巾伽了某些詞彙來指稱 特f的it件。所屬領域巾具有通常知識者應可理解,硬體製造商 可能會用不_名詞來稱呼同—個元件。本制書及後續的申請 專利範圍並从名稱的差異㈣為區分元件的方式,而是以元件 在功能上的差異來作為區分的物。在通篇朗#及後續的申請 專利範圍當中所提及的「包含」係為—職式的躲,故應解釋 成「包含但不限定於」。此外,「耗接」一詞在此係包含任何直接 及間接的電氣連接手段。因此,若文中描述—第—裝置柄接於一 第二裝置’則代表該第—裝置可直接電氣連接於該第二裝置,或 透過其他裝置或連接手段間接輯接至該第二裝置。 請參閱第1圖’第!圖係為本發明_電路1〇〇之第一實施 例的示意圖。偵測電路繼係用來判別一電子裝置15〇的種類。 如第1圖所示,_電路膽包含有-傳輸介面110、-電壓準位 5周整模組120、-龍準位侧模組13()以及—控制桃⑽。傳 輸介面110係用來麵接於電子裝置W(例如充電器、電腦或其它 具有USB傳輸介面的裝置),包含有一第一傳輸端ιΐ2以及一第二 傳輸端m。電壓準位調整模组⑽係電性耗接於第一傳輸端 1344756 112 ’用來碰第-傳輸端112之—輸出電壓準位遍卜電壓準位 偵測极組13G係電性祕於第二傳輸端m,用來偵測第二傳輸端 114之-輸入電壓準位Vin。以及控制電路14〇係麵接於電壓準位 。周王模組120與電壓準位偵測模组13〇,用來控制電壓準位調整模 組120調整輸出賴準位v〇ut,並根據輸出賴準位漏以及輸 入電壓準位Vin來判別電子裝置ls〇的種類。於本實施例中,控 制電路140可為-十央處理單元(cemer仙丨【,,其可 經由執行侧控制軟體來達到偵測電子裝置⑼之種類的目的。 ,而,本發不限於此—實作方式,亦即,控制電路14〇亦可 藉由硬體的方絲加以實作。請注意,由於本實關巾之偵測電 路觸係用來偵、測電子裝置150是否為一中國交流充電器(China AC adapter)’又由先前技術中的說明可知,中國交流充電器連接 器接口係採用通用串列匯流排(Universal Serial Bus,咖 格,因此’偵測電路觸係、可整合至一手機、一個人數位助理 (PDA)、或任何可攜式電子裝置中,且偵測電路聊中之傳輸介 面110係為-USB介面’然而’此僅是作為_之用,並非 為本發明之限制。以下將進一步說明偵測電路卿的運作方式, 而為了便於說明本發明所揭露之技術特徵,便使用—個以腦介 面之D+端作為第—傳輸端112,且以聰介面之d端作為第二 傳輸端114的實施例來進行說明,然而,此僅是作為範例說明之 用,並非為本發明之限制。舉例來說,在其它實施例中,第一傳 輸端112與第二傳輸端114可分別為卿介面之D_端與}端。 1344756 ^ 6亥可攜式電子裝置之傳輸介面110連接上電子裝置15〇 時’傳輸介面110(USB介面)中VBUS端的一電壓準位^⑽ ‘由低電壓準位被提升至一高電壓準位並且維持在高電壓準 位’因此’藉由伯測傳輸介面110(USB介面)中¥職端的電 壓準位Vbus是否位於-高電壓準位即可得知目前傳輸介面ιι〇是 否搞接於電子裝置150’由於所屬領域巾具有通常知識者應可輕易 地瞭解如何制傳輸介面11G是科接上電子裝置i5Q(亦即偵測 鲁傳輸介面110 (聰介面)中VBUS端的電壓準位i是否位於 一高電壓準幻的綠,耻,為求制#内容簡姨見,詳細 說明便在此省略。 由先前技術中的說明可知,中國交流充電器係將D+端與d_ 端在充電ϋ的本體隨路,因此,當中國交流充電器連接至該傳 輸介面no時’第二傳輸端114 (D_端)之輸入電壓準位心會相 同於第一傳輸端112 (D+端)之輸出賴準位Vout。由此可知, 於-實施方式巾,控制電路14〇便可根據電壓準位侧模組⑽ 所偵測到g二傳輸端114 ( D_端)之輸人電壓準位Vin是否相等於 第傳輸端112 (D+端)之輸出電壓準位來判別該電子裝置的種 類’其中’當第二傳輸端114 (〇_端)之輸入電壓準位心相等於 第-傳輸端112 (D+端)之輸出電壓準位v喊時,即表示此時連 接至該可狱電子裝置之電子裝置15(H轉—巾較流充電器。 反之右第-傳輸端m (α端)之輸人電壓準位Vin不相等於第 -傳輸端112 (D+端)之輸出電壓準位偏時,喊示電子裝置 1344756 150並非為中國交流充電器。 請參閱第2圖’第2圖係為當該可攜式電子裝置與一中國交 流充電器連接後,傳輸介面110 (USB介面)上的錄波形: 圖。如第2圖所示’當該可播式電子裝置連接至該中國交流充電 器(時刻T1)時,傳輸介面110(USB介面)中乂咖端(未顯 示)的電壓準位Vbus會由一低電壓準位被提升至一高電壓準位, 控制電路140因此可得知可攜式電子裝置已經連接至—個電子裝 置150,隨後,控制電路14〇便會控制電壓準位調整模組12〇去提 升傳輸介面110 (USB介面)中第一傳輸端U2(D+端)之輸出 電壓準位Vout至一高電壓準位% (時亥|JT2),同時,電壓準位偵 測模組130會去偵測傳輸介面11〇 (聰介面)中第二傳輸端ιΐ4 (D-端)之輸入電壓準位vin。於此實施例t ⑶可係為-拉升電路(pul丨-一uit)。㈣述可^電 ⑼係為-中國交流充電器’故當第一傳輸端U2(d+端)之輸出 •電壓準位Vout被電壓準位調整模組12〇提升至高電壓準位Vh時, 第=傳輸端m (D-端)之輸入電壓準位Vin也會因為中國交流充 電裔内部短路的關係而隨之被提升至高電鱗位vh,因此,電壓 準位偵測模組130所偵測到第二傳輸端114 (〇_端)之輸入電壓準 位p應會相等於第一傳輸端112⑺+端)之輸出電壓準位v⑽ (向賴準位Vh) ’如此—來,控制電路14G便會將電子裝置⑼ 正確地判別為一中國交流充電器。 1344756 第3圖係為當該可攜式電子裝置與非中國交流充電器之一電 子裝置連接後,傳輸介面nG (聰介面)上的信號波形時序圖 如第3圖所示,當該可攜式電子裝置連接至電子裝置15〇時(時 刻丁4),傳輸介面110 (⑽介面)中侧端(未顯示)的電 鮮位Vbus會由-低電壓準位被提升至一高電壓準位,控制電路 _此可得知可彳_子裝置£輯接至—個電子裝置】%,隨 後’控制電路140便會㈣電縣位織额12()核升傳輸介 面U0 (USB介面)中第―傳輸端112 (d+端)之輸出電壓準位 漏至—高電鮮位Vh(_ 了5),_,霞準位制模組130 會去制傳輸介面110 (聰介面)中第二傳輸端u4 (d_端)之 輸=電壓準位Vin。由於電子裝置15〇並非為-中國交流充電器, 故田第-傳輪端112 (〇+端)之輸出電壓準位_被電壓準位調 整模組120提升至高電壓準位%時,第二傳輸端114 (D-端)^ 輸入電鮮位Vin並不會隨之被提升至高電壓準位%,因此,電 =準位偵測模組130所偵測到第二傳輸端n4(D_端)之輸入電壓 =不會相等於第—傳輸端叫D+端)之輸出錢準位偏 间電鲜位vh),如此一來,控制電路14〇便會判別電子裝置 150並非為_中國交流充電器。 " 1發明之較佳實施方式中,在控制電路刚判別出電子裝 準位為巾國父流充電器後,控制電路14G便會控制電壓 12G去降低傳輸介面叫腦介面)中第一傳輸 +端)之輸出電醉位V〇ut由高電壓準位^回到電壓7 The voltage level of the wheel is turned on, and the type of electronic device is determined by the output of the second transmission terminal and the input level of the electronic device. [Embodiment] ... in the picking and subsequent _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ It should be understood by those skilled in the art that a hardware manufacturer may refer to the same component by a noun. This book and subsequent applications The scope of the patent and the difference from the name (4) is the way to distinguish the components, but the difference in the functional difference of the components. The "contains" mentioned in the scope of the patents and the subsequent applications are "hiding", so it should be interpreted as "including but not limited to". In addition, the term "supplement" is used herein to include any direct and indirect electrical connection. Therefore, if the description of the first device is connected to a second device, it means that the device can be directly electrically connected to the second device or indirectly connected to the second device through other devices or connection means. Please refer to Figure 1 '! The figure is a schematic diagram of a first embodiment of the invention_circuit 1〇〇. The detection circuit is used to determine the type of an electronic device 15A. As shown in FIG. 1, the _circuit includes a transmission interface 110, a voltage level 5-week module 120, a dragon-level module 13 (), and a control peach (10). The transmission interface 110 is used to interface with the electronic device W (for example, a charger, a computer or other device having a USB transmission interface), and includes a first transmission end ι 2 and a second transmission end m. The voltage level adjustment module (10) is electrically connected to the first transmission end 1344756 112 'used to touch the first transmission end 112 - the output voltage level is over the voltage level detection pole group 13G is electrically secret The second transmitting end m is configured to detect the input voltage level Vin of the second transmitting end 114. And the control circuit 14 is connected to the voltage level. The Zhouwang module 120 and the voltage level detecting module 13〇 are used to control the voltage level adjusting module 120 to adjust the output level v〇ut, and determine the electronic device according to the output level leakage and the input voltage level Vin. The type of ls〇. In this embodiment, the control circuit 140 may be a ten-central processing unit (cemer, which can achieve the purpose of detecting the type of the electronic device (9) via the execution side control software. However, the present invention is not limited thereto. - In practice, that is, the control circuit 14 can also be implemented by a hard square wire. Please note that since the detection circuit of the actual wipe is used to detect and measure whether the electronic device 150 is one China AC adapter's description from the prior art shows that the Chinese AC charger connector interface uses a universal serial bus (Universal Serial Bus, so 'detection circuit contact, can Integrated into a mobile phone, a PDA, or any portable electronic device, and the transmission interface 110 in the detection circuit is -USB interface 'however' this is only for _, not for Limitations of the invention. The following describes the operation mode of the detection circuit, and in order to facilitate the description of the technical features disclosed in the present invention, a D+ terminal of the brain interface is used as the first transmission terminal 112, and The d-end is used as an embodiment of the second transmission end 114. However, this is for illustrative purposes only and is not a limitation of the present invention. For example, in other embodiments, the first transmission end 112 is The second transmitting end 114 can be the D_ terminal and the } end of the clear interface respectively. The 1344756 ^ 6 portable electronic device transmission interface 110 is connected to the electronic device 15 when the 'transport interface 110 (USB interface) in the VBUS end The voltage level ^(10) ' is raised from a low voltage level to a high voltage level and maintained at a high voltage level. Therefore, whether the voltage level Vbus of the user terminal is located by the home interface 110 (USB interface) - High voltage level can be used to know whether the current transmission interface ιι〇 is connected to the electronic device 150'. Since the general knowledge of the field towel should be easy to understand how to make the transmission interface 11G is the electronic device i5Q (ie, Detecting whether the voltage level i of the VBUS terminal in the Lu transmission interface 110 (Cong interface) is located in a high-voltage quasi-magic green, shame, for the sake of the contents of the content, the detailed description is omitted here. The description shows that The national AC charger connects the D+ terminal and the d_ terminal to the body of the charging device. Therefore, when the Chinese AC charger is connected to the transmission interface no, the input voltage level of the second transmission terminal 114 (D_ terminal) is It will be the same as the output of the first transmission end 112 (D+ terminal) Vout. It can be seen that, in the embodiment, the control circuit 14 can detect the g transmission according to the voltage level side module (10). Whether the input voltage level Vin of the terminal 114 (D_ terminal) is equal to the output voltage level of the transmitting end 112 (D+ terminal) to determine the type of the electronic device 'where' when the second transmitting end 114 (〇_end) When the input voltage level is equal to the output voltage level v of the first-transmission terminal 112 (D+ terminal), it means that the electronic device 15 connected to the hello electronic device is now connected. Device. Conversely, when the input voltage level Vin of the right first-transmission terminal m (α terminal) is not equal to the output voltage level deviation of the first transmission terminal 112 (D+ terminal), the electronic device 1344756 150 is not a Chinese AC charger. . Please refer to FIG. 2'. FIG. 2 is a waveform recorded on the transmission interface 110 (USB interface) when the portable electronic device is connected to a Chinese AC charger. As shown in Figure 2, when the broadcastable electronic device is connected to the Chinese AC charger (time T1), the voltage level Vbus of the server interface (not shown) in the transmission interface 110 (USB interface) is The low voltage level is raised to a high voltage level, and the control circuit 140 can thus know that the portable electronic device has been connected to the electronic device 150. Then, the control circuit 14 controls the voltage level adjustment module 12 The output voltage level Vout of the first transmission terminal U2 (D+ terminal) in the transmission interface 110 (USB interface) is increased to a high voltage level % (hours | JT2), and the voltage level detection module 130 is simultaneously removed. It will detect the input voltage level vin of the second transmission terminal ιΐ4 (D-terminal) in the transmission interface 11〇(聪 interface). In this embodiment t (3) can be a pull-up circuit. (4) The power (9) is - China AC charger 'When the output of the first transmission terminal U2 (d+ terminal) • The voltage level Vout is raised to the high voltage level Vh by the voltage level adjustment module 12〇, = The input voltage level Vin of the transmission terminal m (D-terminal) is also upgraded to the high-power scale vh due to the internal short-circuit relationship of the Chinese AC charging person. Therefore, the voltage level detecting module 130 detects The input voltage level p to the second transmission terminal 114 (〇_ terminal) should be equal to the output voltage level v(10) of the first transmission terminal 112(7)+ terminal) (to the reliance level Vh). Thus, the control circuit 14G The electronic device (9) is correctly identified as a Chinese AC charger. 1344756 Figure 3 is a timing diagram of the signal waveform on the transmission interface nG (Cong interface) when the portable electronic device is connected to one of the non-Chinese AC chargers, as shown in Figure 3, when the portable When the electronic device is connected to the electronic device 15 (time 4), the electric bust Vbus of the side end (not shown) of the transmission interface 110 ((10) interface) is raised from the low voltage level to a high voltage level. , control circuit _ this can be known that the _ sub-device is connected to an electronic device _%, then the 'control circuit 140 will (4) electric county level woven volume 12 () nuclear upgrade transmission interface U0 (USB interface) The output voltage level of the first transmission terminal 112 (d+ terminal) leaks to - the high power fresh position Vh (_ 5), _, the Xia level system module 130 will remove the transmission interface 110 (Cong interface) in the second The transmission terminal u4 (d_ terminal) of the input = voltage level Vin. Since the electronic device 15 is not a Chinese AC charger, the output voltage level of the field-transmitter terminal 112 (〇+ terminal) is raised to the high voltage level % by the voltage level adjustment module 120, and the second The transmitting end 114 (D-end) ^ input electric fresh bit Vin is not raised to the high voltage level %, therefore, the electric=level detecting module 130 detects the second transmitting end n4 (D_ The input voltage of the terminal) is not equal to the output level of the first transmission terminal (called the D+ terminal). Therefore, the control circuit 14 will determine that the electronic device 150 is not for the Chinese communication. charger. In a preferred embodiment of the invention, after the control circuit has just determined that the electronic mounting position is the charger of the towel, the control circuit 14G controls the voltage 12G to reduce the first transmission in the transmission interface called the brain interface. The output of the terminal) is drunk by V高ut from the high voltage level ^ back to the voltage
12 < S 1344756 準Um2〇進行電墨提升操作前的原本電鮮位(時刻 〜七)^、中如第3圖所示,若電子裝置150被判別為該中國 充電器貝i輸出電星準位v〇 u t便會於完成判別操作之後維持 f原本電鲜位,崎低可攜式電子裝置功率的消耗,又因為D+ 端與D_端射國交流充電器内短路,故第二傳輸端丨14 (D-端) ^輸入電鲜位Vin也隨之被降低至該原本電鮮位。另一方面, 右電子裝置150縣制別為巾㈣流充電器,之後便會視當時 、疋疋否開始進行《可攜式電子裝置與電子裝置⑼間的 USB信號傳輸。 ⑺參閱第4圖’其係為本發_測方法的第—實關流程圖。 ^則方法係用來彻卜電子裝置的種類,請注意,假若可大致上 仔到相同結果’娜4圖所示之流程巾的步驟鮮—定依照圖示 之順序來依贼行。期電子裝置之種_流程可概述如下:、 步驟:提供-雜介面,該傳輸介面包含有-第—傳輸端 以及一第二傳輸端。 y驟410 .偵測該傳輸介面是否連接至一電子裝置?若是,至 步驟420 ;若否重複步驟41〇。 步驟420 :調整該第一傳輸端之一輸出電壓準位(提升該輪出 電壓準位)。 v驟430 .俄測該第二傳輸端之一輸入電壓準位。 步驟44〇 .根據該輸出電壓準位以及該輸入電壓準位來判別唁 13 1344756 電子裝置的種類是否為一交流充電器? 步物:難導輪之賴_準位(· 電壓準位)。 Μ 紐意’由於步驟45G無關於判別該電子裝置的是 充電益’因此,第4_示之流程巾的步驟並不—定得包含步^ 450 ’亦即,步驟45G並非為本發明偵測方法之必要步驟,而如上 所述’料量功率秘對可赋電子裝置,财 置被判別為交流充f器之後,將進行_所參考的輸出電壓雜 降低(於-雛實關巾翻p輸出賴準位還紅縣的電壓準 位)。此外,在Μ完上述有_制電路丨⑻之·枝的說明 後,所屬領域中具有通常知識者應可瞭解第4圖所示流程财之 步驟的運作方式’因此為求說_容_起見,有職程圖之步 驟的洋細說明便在此省略。 • 第5圖係為本發明偵測電路5〇〇之第二實施例的示意圖。偵 測電路2〇〇係用來判別一電子裂置ls〇的種類。如第5圖所示, •偵測電路500包含有-傳輸介面51〇、一電壓準位調整模組52〇、 電壓準位偵測模組530、-控制電路54G以及一開關單元55〇。 傳輸介面5HH系用來耗接於電子裝置15〇,包含有一第一傳輸端 512以及-第二傳輸端別。電壓準位調整模組別係電性減於 第-傳輸端512 ’用來調整第一傳輪端512之一輸出電壓準位 v〇ut。電壓準位偵測模組53〇係電性耦接於第二傳輸端514,用來 1344756 偵測第二傳輸端514之一輸入電壓準位vin。控制電路54〇係耦接 於電壓準位調整模組520與電壓準位偵測模組53〇,用來控制電壓 準位調整她,雜輸出賴準位V⑽,絲據輪^壓準位12 < S 1344756 quasi-Um2〇 before the electric ink lifting operation of the original electric fresh position (time ~ seven) ^, as shown in Figure 3, if the electronic device 150 is identified as the Chinese charger shell i output electric star The level v〇ut will maintain the original power position after the completion of the discriminating operation, and the power consumption of the portable electronic device is low, and the second transmission is caused by the short circuit in the D+ terminal and the D_ terminal. End 丨 14 (D-end) ^ The input electric fresh position Vin is also reduced to the original electric fresh position. On the other hand, the 150-counter device of the right electronic device is a towel (four) stream charger, and then the USB signal transmission between the portable electronic device and the electronic device (9) will be started depending on whether or not the device is started. (7) Refer to Figure 4, which is the first-actual flow chart of this method. ^ The method is used to sort out the types of electronic devices. Please note that if you can roughly get the same result, the steps of the process towel shown in Figure 4 are rarely in accordance with the order shown. The process of the electronic device can be summarized as follows: Step: provide a hetero interface, the transport medium contains a -first transmission end and a second transmission end. y Step 410. Detecting whether the transmission interface is connected to an electronic device? If yes, go to step 420; if not, repeat step 41〇. Step 420: Adjust an output voltage level of the first transmission end (boost the round-out voltage level). v. 430. The input voltage level of one of the second transmission terminals is measured. Step 44: According to the output voltage level and the input voltage level, determine whether the type of the electronic device is an AC charger. Step: difficult to guide the wheel _ level (· voltage level). Μ New meaning 'Because step 45G is not related to discriminating the electronic device is charging benefit', therefore, the step of the fourth embodiment shows that the step of the process towel does not have to include step ^ 450 'that is, step 45G is not the detection of the present invention. The necessary steps of the method, as described above, the 'quantity power secret pair can be assigned to the electronic device, after the financial position is judged as the AC charging device, the output voltage of the reference is reduced. The output level is also the voltage level of Hongxian County). In addition, after the description of the above-mentioned branch of the circuit (8), the general knowledge in the field should be able to understand the operation of the steps of the process shown in Figure 4, so See, the detailed description of the steps of the job map is omitted here. • Fig. 5 is a schematic view showing a second embodiment of the detecting circuit 5 of the present invention. The detection circuit 2 is used to determine the type of an electronic crack ls. As shown in FIG. 5, the detection circuit 500 includes a transmission interface 51, a voltage level adjustment module 52, a voltage level detection module 530, a control circuit 54G, and a switch unit 55A. The transmission interface 5HH is used to be connected to the electronic device 15A, and includes a first transmission end 512 and a second transmission end. The voltage level adjustment module is electrically reduced from the first transmission terminal 512' to adjust an output voltage level v〇ut of the first transmission end 512. The voltage level detection module 53 is electrically coupled to the second transmission end 514 for detecting 1344756 an input voltage level vin of the second transmission end 514. The control circuit 54 is coupled to the voltage level adjustment module 520 and the voltage level detection module 53A for controlling the voltage level adjustment, the impurity output level V(10), and the wire according to the wheel pressure level.
Vout以及輸入電壓準位Vin來判別電子裝置15〇的種類。開關單 元550係耗接於控制電路540、第二傳輸端514與電壓準位^測模 組530’用來似f控制树540之控制而選擇如也斷開及導通電壓 準位偵測模組530與第二傳輸端514間的電性耗接。於此實施例Vout and the input voltage level Vin determine the type of the electronic device 15A. The switch unit 550 is connected to the control circuit 540, the second transmission end 514, and the voltage level measurement module 530' for controlling the control tree 540 to select and disconnect the voltage level detection module. The electrical connection between the 530 and the second transmission end 514. This embodiment
中,開關單元550可為-機械式開關或一電子式開關。以下將進 -步說明侧電路的運作方式,然而,此僅是作為範例說明 之用,並非為本發明之限制。 …土思’由於第項〈制祕與第丨圖之偵測電路^ 中具有相同名稱之元件具有類似的運作方式與功能,因此為求古 明書内容簡潔起見’詳細說日鞭在此省略。第5圖之制電路& 與第1圖之憤測電路卿的主要不同之處在於偵測電路500 ^ 有開關單元跡其中於傳輸介㈣難至電子灯時^ 制電路期__單元55時電麵 接於第二傳輸㈣,以及於酬物判電相 的種類時,㈣陶撕撕元 :::::^ ==::_作二^= 、4-電腦’則可取電子裝置與電腦之間 里由USB傳輸’i面的㈣傳輸將不會受到彳貞測電路中電壓準 位偵測電路530的干擾。 舉例來祝,以第2圖為例,於時刻T1傳輸介面51〇連接至該 中國交充電器時’控制電路54〇係控制開關單元55〇將電壓準 位偵測模組530電性搞接於第二傳輸端514,以使電壓準位偵測模 、、且530於時刻T2時可去俄測傳輸介面51〇中第二傳輸端514之輸 人電[準位Vin ’等到控制電路別判別出電子裝置係一 國交流充電器後’控制電路㈣便會控制開關單元55◦斷開電壓 準位偵測模組530與第二傳輸端514間的電性連接,接著,於時 刻T3 ’控制電路540會控制電壓準位調整模组—去降低傳輸介 面510中第-傳輸端512之輸出電壓準位⑽回到原本電壓準位。 同樣地,以第3圖為例,於時刻丁4傳輸介面5丨〇連接至電子 裝置150時,控制電路54〇係控制開關單元55〇將電壓準位偵測 φ 模組’電性輕接於第二傳輸端5U,以使電壓準位偵測模組530 於時刻T5 B夺可去偵測傳輸介面51〇中第二傳輸端514之輸入電壓 準位Vin ’等到控制電路54〇判別出電子裝置15〇並非為一中國交 流充電器後,控制電路540便會控制開關單元55〇斷開電壓準位 偵測模組530與第二傳輸端514間的電性連接。 請參閱第6圖,其係為本發明偵測方法的第二實施例流程圖。 偵測方法係用來判別一電子裝置的種類,請注意,假若可大致上 16 J 得到相同結果,則第固一 之順序來依序勃〜 圖所不之流程中的步驟並不一定依照圖示 仃。判別電子裝置之種類的流程可概述如下: 步驟600 : /、一傳輪介面,該傳輸介面包含有一第一傳輸端 以及一第二傳輸端。 ^ 偵冽4傳輸介面是否連接至一電子裝置?若是,至 ^ 步驟620 ;若否重複步驟61〇。 | 〜 調b轉—傳輸端之-輸出電壓準位(提升該輸出 電壓準位)。 步驟630 :將—带阿、,仕,卜 f 1準_瀬組紐输於該第二傳輸端。 人.細該第二傳輸端之_輸人電壓準位。 根據雜$電壓準仙及該輸人電鮮位來判別該 電子裝置的種類是否為一交流充電器? 少驟_ . _該電醇位偵測模組與該第二傳輸端間的電性 連接。 » _67〇:調_第—雜端之職_雜(降低該輸出 電壓準位)。 在閱讀完上述有關於偵測電路·之運作方式的說明後,所 屬領域中具有通#知識者應可瞭解第6_示流程圖中之步驟的 運作方式,因此為求說魏内賴潔錢,錢流糊之步驟的 詳細說明便在此省略。 17 项756 請注意,在上述實施例中,控制電路係根據該輸入電壓準位 是否相等於該輸出電壓準位來判別電子裝置是否為一中國交流充 電器,然而,相同的概念可應用在其它類型的交流充電器,舉例 來說,在其他實施例中,控制電路亦可根據輸入電壓準位是否隨 輸出電壓準位而變動來判別電子裝置是否為一交流充電器(例如符 合前述USB應用論壇所規範之充電器),而此一設計變化亦屬本發 明之範疇。 以上所述僅為本發明之較佳實施例,凡依本發明申請專利範 圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 【圖式簡單說明】 第1圖係為本發明偵測電路之第一實施例的示意圖。 第2圖係為傳輸介面於可攜式電子裝置與中國交流充電器連接後 所對應的信號波形時序圖。 第3圖係為傳輸介面於可攜式電子裝置與非中國交流充電器連接 後所對應的信號波形時序圖。 第4圖係為本發明偵測方法的第一實施例的流程圖。 第5圖係為本發明偵測電路之第二實施例的示意圖。 第6圖係為本發明偵測方法的第二實施例的流程圖。 偵測電路 【主要元件符號說明】 100 、 500 18 1344756 110 、 510 傳輸介面 112、114、512、514 第一傳輸端 120 、 520 電壓準位調整模組 130 、 530 電壓準位偵測模組 140 、 540 控制電路 150 電子裝置 550 開關單元 19The switch unit 550 can be a mechanical switch or an electronic switch. The operation of the side circuit will be described in the following, but this is for illustrative purposes only and is not a limitation of the present invention. ...Tusi's because of the similar operation and function of the components with the same name in the detection system of the first item and the first circuit, therefore, in order to clarify the content of the ancient book, Omitted. The main difference between the circuit of Figure 5 and the circuit of the insane circuit of Figure 1 is that the detection circuit 500 ^ has a switching unit track in which the transmission medium (4) is difficult to reach the electronic lamp ^ circuit period __ unit 55 When the electric plane is connected to the second transmission (4), and when the type of the electric phase is judged by the reward, (4) the ceramic tearing element:::::^ ==::_ for two ^=, 4-computer' is available for the electronic device The (four) transmission transmitted by USB between the computer and the computer will not be interfered by the voltage level detecting circuit 530 in the circuit. For example, in the example of FIG. 2, when the transmission interface 51 is connected to the Chinese charging charger at the time T1, the control circuit 54 controls the switching unit 55 to electrically connect the voltage level detecting module 530. At the second transmission end 514, to enable the voltage level detection mode, and 530 at time T2, the input power of the second transmission end 514 of the transmission interface 51 can be removed to the control terminal. After the electronic device is determined to be a national AC charger, the control circuit (4) controls the switch unit 55 to disconnect the electrical connection between the voltage level detecting module 530 and the second transmitting end 514, and then at time T3' The control circuit 540 controls the voltage level adjustment module to reduce the output voltage level (10) of the first transmission terminal 512 of the transmission interface 510 back to the original voltage level. Similarly, taking FIG. 3 as an example, when the time 4 transmission interface 5 is connected to the electronic device 150, the control circuit 54 controls the switching unit 55 to electrically sense the voltage level detection φ module. At the second transmission end 5U, the voltage level detection module 530 can detect the input voltage level Vin ' of the second transmission end 514 of the transmission transmission interface 51 于 at the time T5 B, and wait until the control circuit 54 determines After the electronic device 15 is not a Chinese AC charger, the control circuit 540 controls the switch unit 55 to disconnect the electrical connection between the voltage level detecting module 530 and the second transmitting end 514. Please refer to FIG. 6, which is a flow chart of a second embodiment of the detection method of the present invention. The detection method is used to determine the type of an electronic device. Please note that if the same result can be obtained by roughly 16 J, then the order of the first solid is in the order of the sequence. Demonstration. The flow of discriminating the type of the electronic device can be summarized as follows: Step 600: /, a pass-through interface, the transport bread contains a first transmission end and a second transmission end. ^ Is the Detective 4 transmission interface connected to an electronic device? If yes, go to step 620; if not, repeat step 61〇. | ~ Adjust b-transfer-output voltage level (boost the output voltage level). Step 630: The pair of A, Shi, and Bu f 1 quasi-瀬 groups are lost to the second transmission end. People. The _ input voltage level of the second transmission end is fine. According to the miscellaneous $ voltage and the input power, the type of the electronic device is determined to be an AC charger? Less __ _ The electrical connection between the electric alcohol detection module and the second transmission end. » _67〇: tune _ first - miscellaneous job _ miscellaneous (reduce the output voltage level). After reading the above description about the operation mode of the detection circuit, the knowledgeable person in the field should be able to understand the operation of the steps in the 6th flow chart, so in order to find Wei Nei Lai Jie money The detailed description of the steps of the money flow is omitted here. Item 17 756 Note that in the above embodiment, the control circuit determines whether the electronic device is a Chinese AC charger according to whether the input voltage level is equal to the output voltage level. However, the same concept can be applied to other A type of AC charger, for example, in other embodiments, the control circuit can also determine whether the electronic device is an AC charger according to whether the input voltage level changes with the output voltage level (for example, conforming to the aforementioned USB application forum) The charger is regulated, and this design change is also within the scope of the invention. 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 fall within the scope of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a schematic view showing a first embodiment of the detecting circuit of the present invention. Figure 2 is a timing diagram of the signal waveform corresponding to the transmission interface after the portable electronic device is connected to the Chinese AC charger. Figure 3 is a timing diagram of the signal waveforms corresponding to the transmission interface after the portable electronic device is connected to the non-Chinese AC charger. Figure 4 is a flow chart of the first embodiment of the detecting method of the present invention. Figure 5 is a schematic diagram of a second embodiment of the detection circuit of the present invention. Figure 6 is a flow chart of a second embodiment of the detection method of the present invention. Detection circuit [main component symbol description] 100, 500 18 1344756 110, 510 transmission interface 112, 114, 512, 514 first transmission end 120, 520 voltage level adjustment module 130, 530 voltage level detection module 140 540 control circuit 150 electronic device 550 switch unit 19