TWI838845B - Power supply device and power supply determining method thereof - Google Patents
Power supply device and power supply determining method thereof Download PDFInfo
- Publication number
- TWI838845B TWI838845B TW111133319A TW111133319A TWI838845B TW I838845 B TWI838845 B TW I838845B TW 111133319 A TW111133319 A TW 111133319A TW 111133319 A TW111133319 A TW 111133319A TW I838845 B TWI838845 B TW I838845B
- Authority
- TW
- Taiwan
- Prior art keywords
- power supply
- circuit
- electronic device
- supply device
- current
- Prior art date
Links
Images
Classifications
-
- H02J7/92—
-
- H02J7/62—
-
- H02J7/927—
-
- H02J7/933—
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
Description
本發明是有關於一種電子裝置,且特別是有關於一種供電裝置及其供電判斷方法。 The present invention relates to an electronic device, and in particular to a power supply device and a power supply determination method thereof.
一般投影機上常有通用序列匯流排埠(USB port)可用於與投影機的顯示控制單元相連接並可提供電源給外部設備,現有設計中,向外部設備提供電源的設計方式通常是直接將主機板端產生的+5V電壓接到通用序列匯流排介面上的5V接腳輸出。 Generally, a projector has a USB port that can be used to connect to the display control unit of the projector and provide power to external devices. In existing designs, the design method of providing power to external devices is usually to directly connect the +5V voltage generated by the motherboard to the 5V pin output on the USB interface.
通常為確保供電的安全性,連接通用序列匯流排介面的外部設備對通用序列匯流排介面的資料信號接腳(D+/D-)會有一定的協議或電壓準位的要求。然而,現有設計是直接將通用序列匯流排介面的資料信號接腳直接連接到投影機的顯示控制單元,造成無法符合不同外部設備對通用序列匯流排介面的資料信號接腳的協議要求或電壓準位要求,導致對不同外部設備提供電源時,存在相容性或無法最佳適配的問題。 Usually, to ensure the safety of power supply, external devices connected to the USB interface will have certain protocol or voltage level requirements for the data signal pins (D+/D-) of the USB interface. However, the existing design directly connects the data signal pins of the USB interface to the display control unit of the projector, which cannot meet the protocol requirements or voltage level requirements of different external devices for the data signal pins of the USB interface, resulting in compatibility or inability to optimally adapt when providing power to different external devices.
“先前技術”段落只是用來幫助了解本發明內容,因此在 “先前技術”段落所揭露的內容可能包含一些沒有構成所屬技術領域中具有通常知識者所知道的習知技術。在“先前技術”段落所揭露的內容,不代表該內容或者本發明一個或多個實施例所要解決的問題,也不代表在本發明申請前已被所屬技術領域中具有通常知識者所知曉或認知。 The "Prior Art" section is only used to help understand the content of the present invention. Therefore, the content disclosed in the "Prior Art" section may contain some knowledge that does not constitute the knowledge of the person with ordinary knowledge in the relevant technical field. The content disclosed in the "Prior Art" section does not represent the content or the problems to be solved by one or more embodiments of the present invention, nor does it mean that it has been known or recognized by the person with ordinary knowledge in the relevant technical field before the application of the present invention.
本發明提供一種供電裝置及其供電判斷方法,可有效解決顯示裝置對與其連接的電子裝置進行供電時的相容性問題。 The present invention provides a power supply device and a power supply determination method thereof, which can effectively solve the compatibility problem when the display device supplies power to the electronic device connected to it.
本發明的其他目的和優點可以從本發明所揭露的技術特徵中得到進一步的了解。 Other purposes and advantages of the present invention can be further understood from the technical features disclosed in the present invention.
為達上述之一或部份或全部目的或是其他目的,本發明之一實施例提供一種供電裝置,其設置於顯示裝置。供電裝置包括供電電路、電流偵測電路以及判斷電路。供電電路對耦接至供電裝置的電子裝置進行供電。電流偵測電路偵測供電電路提供給電子裝置的連接電流,並判斷連接電流是否大於預設電流。判斷電路耦接供電電路以及電流偵測電路,反應連接電流大於預設電流,控制供電裝置進入符合電子裝置的充電規格的供電模式,並反應連接電流未大於預設電流,控制供電裝置進入受控於電子裝置而控制顯示裝置進行顯示的控制模式。 To achieve one or part or all of the above purposes or other purposes, an embodiment of the present invention provides a power supply device, which is arranged on a display device. The power supply device includes a power supply circuit, a current detection circuit and a judgment circuit. The power supply circuit supplies power to an electronic device coupled to the power supply device. The current detection circuit detects the connection current provided by the power supply circuit to the electronic device, and judges whether the connection current is greater than a preset current. The judgment circuit couples the power supply circuit and the current detection circuit, responds that the connection current is greater than the preset current, controls the power supply device to enter a power supply mode that meets the charging specification of the electronic device, and responds that the connection current is not greater than the preset current, controls the power supply device to enter a control mode controlled by the electronic device and controls the display device to display.
在本發明的一實施例中,於供電模式中,判斷電路依據電子裝置的充電規格輸出模式檢測信號至電子裝置,電子裝置依 據模式檢測信號判斷是否供電。 In one embodiment of the present invention, in the power supply mode, the judgment circuit outputs a mode detection signal to the electronic device according to the charging specification of the electronic device, and the electronic device determines whether to supply power according to the mode detection signal.
在本發明的一實施例中,上述的判斷電路包括切換電路以及模式檢測信號產生電路。切換電路耦接電流偵測電路。模式檢測信號產生電路耦接切換電路,提供多個檢測信號,切換電路對應電子裝置的充電規格切換上述多個檢測信號的其中之一作為模式檢測信號。 In one embodiment of the present invention, the above-mentioned determination circuit includes a switching circuit and a mode detection signal generating circuit. The switching circuit is coupled to the current detection circuit. The mode detection signal generating circuit is coupled to the switching circuit to provide multiple detection signals. The switching circuit switches one of the above-mentioned multiple detection signals as a mode detection signal corresponding to the charging specification of the electronic device.
在本發明的一實施例中,上述的判斷電路還包括處理電路,其耦接切換電路與電流偵測電路,依據電流偵測電路的偵測結果控制切換電路將電子裝置切換連接至模式檢測信號產生電路或控制顯示裝置的控制電路。 In one embodiment of the present invention, the above-mentioned determination circuit also includes a processing circuit, which couples the switching circuit and the current detection circuit, and controls the switching circuit to switch the electronic device to the mode detection signal generation circuit or the control circuit of the control display device according to the detection result of the current detection circuit.
在本發明的一實施例中,上述的處理電路還控制切換電路以切換模式檢測信號。 In one embodiment of the present invention, the above-mentioned processing circuit also controls the switching circuit to detect the signal in the switching mode.
在本發明的一實施例中,上述的處理電路通過切換電路接收電子裝置的裝置資訊,將裝置資訊與處理電路儲存的充電規格資訊比對,以判斷電子裝置的充電規格。 In one embodiment of the present invention, the above-mentioned processing circuit receives device information of the electronic device through a switching circuit, and compares the device information with the charging specification information stored in the processing circuit to determine the charging specification of the electronic device.
在本發明的一實施例中,上述的電子裝置通過連接器連接供電裝置,處理電路於未儲存對應電子裝置的充電規格的充電規格資訊時,控制切換電路短路連接連接器的正資料信號接腳與負資料信號接腳。 In one embodiment of the present invention, the above-mentioned electronic device is connected to a power supply device via a connector, and when the processing circuit does not store the charging specification information corresponding to the charging specification of the electronic device, it controls the switching circuit to short-circuit the positive data signal pin and the negative data signal pin of the connecting connector.
在本發明的一實施例中,上述的多個檢測信號可藉由調整可調變電壓信號而產生。 In one embodiment of the present invention, the above-mentioned multiple detection signals can be generated by adjusting the adjustable voltage signal.
本發明還提供一種供電裝置的供電判斷方法,供電裝置設置於顯示裝置,供電裝置用於對耦接至供電裝置的電子裝置進行供電,供電裝置包括供電電路、電流偵測電路以及判斷電路。供電裝置的信號傳輸方法包括下列步驟。藉由電流偵測電路偵測提供給電子裝置的連接電流。藉由電流偵測電路判斷連接電流是否大於預設電流。藉由判斷電路反應連接電流大於預設電流,控制供電裝置進入符合電子裝置的充電規格的供電模式。藉由判斷電路反應連接電流未大於預設電流,控制供電裝置進入受控於電子裝置而控制顯示裝置進行顯示的控制模式。 The present invention also provides a power supply judgment method for a power supply device, wherein the power supply device is arranged on a display device, and the power supply device is used to supply power to an electronic device coupled to the power supply device, and the power supply device includes a power supply circuit, a current detection circuit, and a judgment circuit. The signal transmission method of the power supply device includes the following steps. The connection current provided to the electronic device is detected by the current detection circuit. Whether the connection current is greater than a preset current is judged by the current detection circuit. By judging that the circuit reacts that the connection current is greater than the preset current, the power supply device is controlled to enter a power supply mode that meets the charging specification of the electronic device. By judging that the circuit reacts that the connection current is not greater than the preset current, the power supply device is controlled to enter a control mode that is controlled by the electronic device and controls the display device to display.
在本發明的一實施例中,上述的供電裝置的供電判斷方法包括下列步驟。於供電模式中,藉由判斷電路依據電子裝置的充電規格輸出模式檢測信號至電子裝置,該電子裝置依據模式檢測信號判斷是否供電。 In one embodiment of the present invention, the power supply determination method of the power supply device includes the following steps. In the power supply mode, the determination circuit outputs a mode detection signal to the electronic device according to the charging specification of the electronic device, and the electronic device determines whether to supply power according to the mode detection signal.
在本發明的一實施例中,上述的判斷電路包括切換電路以及模式檢測信號產生電路,供電裝置的供電判斷方法包括下列步驟。藉由模式檢測信號產生電路提供多個檢測信號,切換電路對應電子裝置的充電規格切換上述多個檢測信號的其中之一作為模式檢測信號。 In one embodiment of the present invention, the above-mentioned judgment circuit includes a switching circuit and a mode detection signal generating circuit, and the power supply judgment method of the power supply device includes the following steps. The mode detection signal generating circuit provides multiple detection signals, and the switching circuit switches one of the above-mentioned multiple detection signals as a mode detection signal corresponding to the charging specification of the electronic device.
在本發明的一實施例中,上述的判斷電路還包括處理電路,供電裝置的供電判斷方法包括,藉由處理電路依據電流偵測電路的偵測結果控制切換電路將電子裝置切換連接至模式檢測信 號產生電路或控制顯示裝置的控制電路。 In one embodiment of the present invention, the above-mentioned judgment circuit also includes a processing circuit, and the power supply judgment method of the power supply device includes controlling the switching circuit to switch the electronic device to the mode detection signal generation circuit or the control circuit of the control display device according to the detection result of the current detection circuit by the processing circuit.
在本發明的一實施例中,上述的供電裝置的供電判斷方法包括,藉由處理電路控制切換電路以切換模式檢測信號。 In one embodiment of the present invention, the power supply determination method of the power supply device includes controlling the switching circuit by a processing circuit to switch the mode detection signal.
在本發明的一實施例中,上述的供電裝置的供電判斷方法包括,藉由處理電路通過切換電路接收該電子裝置的裝置資訊,將裝置資訊與處理電路儲存的充電規格資訊比對,以確認電子裝置的充電規格。 In one embodiment of the present invention, the power supply determination method of the power supply device includes receiving device information of the electronic device through a processing circuit via a switching circuit, and comparing the device information with the charging specification information stored in the processing circuit to confirm the charging specification of the electronic device.
在本發明的一實施例中,上述的電子裝置通過連接器連接供電裝置,供電裝置的供電判斷方法包括,於處理電路未儲存對應電子裝置的充電規格的充電規格資訊時,藉由處理電路控制切換電路短路連接連接器的正資料信號接腳與負資料信號接腳。 In one embodiment of the present invention, the above-mentioned electronic device is connected to a power supply device via a connector, and the power supply determination method of the power supply device includes, when the processing circuit does not store the charging specification information corresponding to the charging specification of the electronic device, the processing circuit controls the switching circuit to short-circuit the positive data signal pin and the negative data signal pin of the connection connector.
在本發明的一實施例中,上述的多個檢測信號可藉由調整可調變電壓信號而產生。 In one embodiment of the present invention, the above-mentioned multiple detection signals can be generated by adjusting the adjustable voltage signal.
基于上述,本發明實施例的判斷電路可反應供電電路提供給電子裝置的連接電流大於預設電流,控制供電裝置進入符合電子裝置的充電規格的供電模式,並反應供電電路提供給電子裝置的連接電流未大於預設電流,控制供電裝置進入受控於電子裝置而控制顯示裝置進行顯示的控制模式,而可有效解決顯示裝置對與其連接的電子裝置進行供電時的相容性問題。 Based on the above, the judgment circuit of the embodiment of the present invention can react that the connection current provided by the power supply circuit to the electronic device is greater than the preset current, and control the power supply device to enter a power supply mode that meets the charging specification of the electronic device, and react that the connection current provided by the power supply circuit to the electronic device is not greater than the preset current, and control the power supply device to enter a control mode that is controlled by the electronic device and controls the display device to display, thereby effectively solving the compatibility problem when the display device supplies power to the electronic device connected to it.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 In order to make the above features and advantages of the present invention more clearly understood, the following is a detailed description of the embodiments with the accompanying drawings.
100:供電裝置 100: Power supply device
102:供電電路 102: Power supply circuit
104:電流偵測電路 104: Current detection circuit
106:判斷電路 106: Judgment circuit
108:電子裝置 108: Electronic devices
I1:連接電流 I1: Connection current
R0~R3:電阻 R0~R3: resistance
202:偵測電路 202: Detection circuit
204:切換電路 204: Switching circuit
206:模式檢測信號產生電路 206: Mode detection signal generating circuit
208:控制電路 208: Control circuit
302:處理電路 302: Processing circuit
C1、C2:電容 C1, C2: capacitors
SW1~SW4:開關 SW1~SW4: switch
PWM1、PWM2:脈寬調變信號 PWM1, PWM2: pulse width modulation signal
D+:正資料信號接腳 D+: Positive data signal pin
D-:負資料信號接腳 D-: Negative data signal pin
S502~S508、S602~S608:供電裝置的供電判斷方法步驟 S502~S508, S602~S608: Steps of power supply determination method of power supply device
圖1是依照本發明實施例的一種供電裝置的示意圖。 Figure 1 is a schematic diagram of a power supply device according to an embodiment of the present invention.
圖2是依照本發明另一實施例的供電裝置的示意圖。 Figure 2 is a schematic diagram of a power supply device according to another embodiment of the present invention.
圖3是依照本發明另一實施例的供電裝置的示意圖。 Figure 3 is a schematic diagram of a power supply device according to another embodiment of the present invention.
圖4是依照本發明實施例的一種切換電路與模式檢測信號產生電路的示意圖。 Figure 4 is a schematic diagram of a switching circuit and a mode detection signal generating circuit according to an embodiment of the present invention.
圖5是依照本發明實施例的一種物件定位方法的流程圖。 Figure 5 is a flow chart of an object positioning method according to an embodiment of the present invention.
圖6是依照本發明另一實施例的物件定位方法的流程圖。 Figure 6 is a flow chart of an object positioning method according to another embodiment of the present invention.
有關本發明之前述及其他技術內容、特點與功效,在以下配合參考圖式之一較佳實施例的詳細說明中,將可清楚的呈現。以下實施例中所提到的方向用語,例如:上、下、左、右、前或後等,僅是參考附加圖式的方向。因此,使用的方向用語是用來說明並非用來限制本發明。 The other technical contents, features and effects of the present invention mentioned above will be clearly presented in the detailed description of the preferred embodiment with reference to the following drawings. The directional terms mentioned in the following embodiments, such as up, down, left, right, front or back, etc., are only referenced to the directions of the attached drawings. Therefore, the directional terms used are used to illustrate and are not used to limit the present invention.
圖1是依照本發明的實施例的一種供電裝置的示意圖,請參照圖1。供電裝置100設置於顯示裝置中,例如投影裝置或液晶顯示裝置,然不以此為限。具體來說,供電裝置設置於具有其他主要功能(例如顯示或計算功能)的電子設備中(即主要功能
並非為充電功能的電子設備)。供電裝置100可包括供電電路102、電流偵測電路104以及判斷電路106,判斷電路106耦接供電電路102以及電流偵測電路104,判斷電路106可選擇性地耦接電子裝置108。供電電路102可對耦接至供電裝置100的電子裝置108進行供電(供電例如包括提供電源或進行充電),其中電子裝置108可例如為通過連接器(例如通用序列匯流排埠,然不以此為限)連接至供電裝置100,供電電路102通過電源線(例如連接至連接器的其中一個接腳)對電子裝置108進行預供電、供電或充電。電流偵測電路104可偵測供電電路102提供給電子裝置108的連接電流I1(預供電),並判斷連接電流I1是否大於預設電流。電流偵測電路104例如將判斷結果傳送至判斷電路106。判斷電路106則可在連接電流I1大於預設電流時,控制供電裝置100進入符合電子裝置108的充電規格的供電模式,例如提供供電電流至電子裝置108,並在連接電流I1未大於預設電流時,控制供電裝置100進入控制模式。具體來說,電流偵測電路104可判斷電子裝置108是否可進行供電。其中在供電模式中,判斷電路106可判斷電子裝置108的充電規格,並依據電子裝置108的充電規格輸出模式檢測信號至電子裝置108,電子裝置108可依據模式檢測信號判斷供電裝置100是否可對電子裝置108進行供電,模式檢測信號可例如包括通用序列匯流排介面的正資料信號接腳(D+)與負資料信號接腳(D-)提供的正資料信號與負資料信號,然不以此為
限。此外在控制模式中,供電裝置100可停止對電子裝置108供電,且電子裝置108可控制顯示裝置進行顯示,舉例來說,電子裝置108例如為媒體播放設備,顯示裝置例如為投影裝置,在控制模式中電子裝置108可通過通用序列匯流排埠將顯示資料傳送給投影裝置中用於投影控制的顯示控制單元,以使投影裝置依據顯示資料進行投影。在其他的實施例中,供電裝置100可同時對電子裝置108進行供電(或充電)以及控制。
FIG1 is a schematic diagram of a power supply device according to an embodiment of the present invention, please refer to FIG1. The
如此通過判斷電路106依據連接電流I1與預設電流的比較結果來控制供電裝置100進入供電模式或控制模式,並在確認電子裝置108的充電規格後提供對應的模式檢測信號,可使供電裝置100在電子裝置108有充電需求時提供符合電子裝置108的充電規格的電源,有效解決顯示裝置對與其連接的電子裝置進行供電時的相容性問題。
In this way, the judging
進一步來說,供電裝置100的實施方式可如圖2所示。在圖2實施例中,電流偵測電路104可包括電阻R0以及偵測電路202,其中電阻R0設置於供電電路102的供電路徑上(例如連接至連接器的其中一個接腳,例如為5V接腳),偵測電路202可通過偵測電阻R0兩端的電壓信號來獲得連接電流I1的電流值大小,並判斷連接電流I1是否大於預設電流。判斷電路106可包括切換電路204、模式檢測信號產生電路206以及選擇性地包括控制電路208,切換電路204耦接偵測電路202、供電電路102、模式
檢測信號產生電路206、控制電路208以及電子裝置108。切換電路204可依據偵測電路202的判斷結果將模式檢測信號產生電路206或控制電路208切換連接至電子裝置108,以使供電裝置100進入供電模式或控制模式。模式檢測信號產生電路206用以提供多個檢測信號。
Furthermore, the implementation of the
例如當連接電流I1大於預設電流時,切換電路204將模式檢測信號產生電路206切換連接至電子裝置108,並對應電子裝置108的充電規格切換並選擇模式檢測信號產生電路206提供的多個檢測信號的其中之一作為模式檢測信號傳送給電子裝置108,電子裝置108可依據上述模式檢測信號判斷供電裝置100為可進行供電的裝置。又例如當連接電流I1未大於預設電流時,切換電路204將控制電路208切換連接至電子裝置108,如此控制電路208可通過切換電路204接收來自電子裝置108的顯示資料,並控制顯示裝置依據顯示資料進行顯示。
For example, when the connection current I1 is greater than the preset current, the
圖3是依照本發明另一實施例的供電裝置的示意圖。在本實施例中,判斷電路106還可包括處理電路302,切換電路204耦接供電電路102、處理電路302、模式檢測信號產生電路206、控制電路208以及電子裝置108,處理電路302耦接電流偵測電路104的偵測電路202。
FIG3 is a schematic diagram of a power supply device according to another embodiment of the present invention. In this embodiment, the
處理電路302可例如為微控制器(MCU)或系統單晶片(SoC),其可依據電流偵測電路104的偵測結果控制切換電路204
將電子裝置108切換連接至模式檢測信號產生電路206或控制電路208,以切換並選擇模式檢測信號產生電路206提供的檢測信號做為模式檢測信號並將上述模式檢測信號傳送給電子裝置108,或將電子裝置108提供的顯示資料傳送給控制電路208。此外,在本實施例中,處理電路302可儲存充電規格資訊(例如包括多個裝置資訊所對應的充電規格及檢測訊號),處理電路302可通過切換電路204接收電子裝置108的裝置資訊,並將裝置資訊與儲存的充電規格資訊比對,進而判斷電子裝置108的充電規格。
The processing circuit 302 may be, for example, a microcontroller (MCU) or a system on chip (SoC), which may control the
詳細來說,當處理電路302接收電子裝置108的裝置資訊後,處理電路302儲存有對應電子裝置108的充電規格的充電規格資訊時,即判斷了電子裝置108的充電規格,處理電路302便可根據電子裝置108的充電規格控制切換電路204切換對應的模式檢測信號(例如正資料信號接腳與負資料信號接腳提供的對應電子裝置108的充電規格的正資料信號與負資料信號)給電子裝置108。舉例來說,若電子裝置108為IPhone手機,其充電規格的要求為:充電電壓/電流為5V/1A時要求正資料信號接腳的電壓為2V,負資料信號接腳的電壓為2.7V;充電電壓/電流為5V/2A時要求正資料信號接腳的電壓為2.7V,負資料信號接腳的電壓為2V。藉由本發明的供電裝置100適時的切換模式檢測信號,供電電路102可對IPhone手機進行全速充電,而非僅能降規進行一般充電。若電子裝置108為Samsung手機其充電規格的要求為:充
電電壓/電流為5V/2A時要求正資料信號接腳與負資料信號接腳的電壓為皆為1.2V,本發明的供電裝置100亦可適時的切換模式檢測信號,對其進行最適配充電(例如全速充電)。具體來說,本案的供電裝置100可對不同充電規格要求的電子裝置108進行最適配充電規格的供電。
In detail, after the processing circuit 302 receives the device information of the
當處理電路302接收電子裝置108的裝置資訊後,處理電路302未儲存對應電子裝置108的充電規格的充電規格資訊時,處理電路302可控制切換電路204短路連接連接器的正資料信號接腳與負資料信號接腳,例如在電子裝置108為ChromeCast Dongle時,其使用USB BC1.2的充電規格,USB BC1.2的充電規格要求為正資料信號接腳與負資料信號接腳間短路。在部分實施例中,處理電路302也可通過網路獲得充電規格資訊的更新資訊,以確保處理電路302儲存的充電規格資訊可對應到各種類型的電子裝置108,進而可提供對應的模式檢測信號。
After the processing circuit 302 receives the device information of the
進一步來說,圖4是本發明實施例的一種切換電路與模式檢測信號產生電路的示意圖。請同時參考圖3及圖4,切換電路204可包括開關SW1~SW4,模式檢測信號產生電路206可包括電容C1、C2以及電阻R1~R3,開關SW1的第一端耦接正資料信號接腳D+,開關SW2的第一端耦接負資料信號接腳D-,電容C1耦接於開關SW1的第二端與接地之間,電容C2耦接於開關SW2的第二端與接地之間,電阻R1耦接於開關SW1的第二端,電阻
R2耦接於開關SW2的第二端,開關SW3的第一端耦接正資料信號接腳D+,開關SW4的第一端耦接負資料信號接腳D-,電阻R3耦接於開關SW3的第二端與SW4的第二端之間。當處理電路302有儲存對應電子裝置108的充電規格的充電規格資訊時,處理電路302可控制開關SW1、SW2導通、控制開關SW3、SW4斷開,並調整分別連接至電阻R1與R2的脈寬調變信號PWM1、PWM2(可調變電壓信號)的工作比,使開關SW1、SW2的第二端分別產生對應電子裝置108的充電規格的電壓位準(即模式檢測信號)。具體來說,多個檢測信號可藉由調整可調變電壓信號(例如脈寬調變信號PWM1、PWM2)而產生。
Furthermore, FIG. 4 is a schematic diagram of a switching circuit and a mode detection signal generating circuit according to an embodiment of the present invention. Please refer to FIG. 3 and FIG. 4 simultaneously. The
在部分實施例中,也可通過調整脈寬調變信號PWM1、PWM2的工作比,產生電壓邏輯準位信號,對正資料信號接腳D+與負資料信號接腳D-提供2位元信號,例如通過使正資料信號接腳D+與負資料信號接腳D-上的電壓為高準位或低準位來提供狀態為“00”、“01”、“10”或“11”等信號。如此通過控制脈寬調變信號PWM1、PWM2的工作比來提供對應不同充電規格的模式檢測信號,可有效地減少電子零件用量和設計成本。此外,在其他實施例中,也可例如使開關SW1、SW2不耦接電容,而是耦接分壓電路,並通過控制連接分壓電路的工作電壓來提供分壓電壓以做為模式檢測信號。在又一實施例中,開關SW1、SW2的第二端可直接連接不同的工作電壓,並通過控制工作電壓來做為模式檢測訊
號,模式檢測信號產生電路206的實施方式不以圖4實施例為限。在其他實施例中,開關可不限於4個,具體來說,切換電路204的開關數量可大於4個,以提供多個檢測信號(例如為固定電壓)以符合模式檢測訊號的需求,例如其中一部分開關的第二端為浮接或為接地。
In some embodiments, the duty ratio of the pulse width modulation signals PWM1 and PWM2 can be adjusted to generate a voltage logic level signal to provide a 2-bit signal for the positive data signal pin D+ and the negative data signal pin D-. For example, by making the voltage on the positive data signal pin D+ and the negative data signal pin D- high or low, a signal with a state of "00", "01", "10" or "11" can be provided. In this way, by controlling the duty ratio of the pulse width modulation signals PWM1 and PWM2 to provide a mode detection signal corresponding to different charging specifications, the use of electronic components and design costs can be effectively reduced. In addition, in other embodiments, for example, the switches SW1 and SW2 may not be coupled to capacitors but to voltage divider circuits, and the voltage divider circuit may be controlled to provide a voltage divider voltage as a mode detection signal. In another embodiment, the second ends of the switches SW1 and SW2 may be directly connected to different working voltages, and the working voltages may be controlled to serve as mode detection signals. The implementation of the mode detection
此外,當處理電路302未儲存對應電子裝置108的充電規格的充電規格資訊時,處理電路302可控制開關SW1、SW2斷開,控制開關SW3、SW4導通,如此在電子裝置108為ChromeCast Dongle時,電阻R3可回應電子裝置108提供的測試信號而輸出反饋信號做為模式檢測信號給電子裝置108,以使電子裝置108接收供電電路提供的電源。
In addition, when the processing circuit 302 does not store the charging specification information corresponding to the charging specification of the
圖5是依照本發明實施例的一種供電裝置的供電判斷方法的流程圖,供電裝置設置於顯示裝置,用於對耦接至供電裝置的電子裝置進行供電,供電裝置包括供電電路、電流偵測電路以及判斷電路。由上述實施例可知,供電裝置的供電判斷方法可包括下列步驟。首先,藉由電流偵測電路偵測提供給電子裝置的連接電流(步驟S502),接著,藉由電流偵測電路判斷連接電流是否大於預設電流(步驟S504)。若連接電流大於預設電流,控制供電裝置進入符合電子裝置的充電規格的供電模式(步驟S506),而若連接電流未大於預設電流,則控制供電裝置進入受控於電子裝置而控制顯示裝置進行顯示的控制模式(步驟S508)。其中於供電模 式中,可藉由判斷電路依據電子裝置的充電規格輸出模式檢測信號至電子裝置,電子裝置可依據模式檢測信號判斷供電裝置是否可供電。進一步來說,上述的判斷電路可例如包括切換電路以及模式檢測信號產生電路,藉由模式檢測信號產生電路可提供多個檢測信號,切換電路則可對應電子裝置的充電規格切換多個檢測信號的其中之一作為模式檢測信號,其中多個檢測信號可例如為藉由脈寬調變信號控制的可調變電壓信號,其電壓位準可對應電子裝置的充電規格進行調整。 FIG5 is a flow chart of a power supply determination method of a power supply device according to an embodiment of the present invention. The power supply device is arranged in a display device and is used to supply power to an electronic device coupled to the power supply device. The power supply device includes a power supply circuit, a current detection circuit, and a determination circuit. As can be seen from the above embodiment, the power supply determination method of the power supply device may include the following steps. First, the connection current provided to the electronic device is detected by the current detection circuit (step S502), and then, the connection current is determined by the current detection circuit whether it is greater than a preset current (step S504). If the connection current is greater than the preset current, the power supply device is controlled to enter a power supply mode that meets the charging specification of the electronic device (step S506), and if the connection current is not greater than the preset current, the power supply device is controlled to enter a control mode that is controlled by the electronic device and controls the display device to display (step S508). In the power supply mode, the judgment circuit can output a mode detection signal to the electronic device according to the charging specification of the electronic device, and the electronic device can judge whether the power supply device can supply power according to the mode detection signal. Furthermore, the above-mentioned determination circuit may include, for example, a switching circuit and a mode detection signal generating circuit. The mode detection signal generating circuit may provide multiple detection signals, and the switching circuit may switch one of the multiple detection signals as a mode detection signal corresponding to the charging specification of the electronic device. The multiple detection signals may be, for example, adjustable voltage signals controlled by a pulse width modulation signal, and their voltage levels may be adjusted corresponding to the charging specification of the electronic device.
在部分實施例中,判斷電路還可包括處理電路,處理電路可依據電流偵測電路的偵測結果控制切換電路將電子裝置切換連接至模式檢測信號產生電路或控制顯示裝置的控制電路,以進入供電模式或控制模式。另外,如圖6所示,在步驟S506後,處理電路可通過切換電路接收電子裝置的裝置資訊,並將裝置資訊與處理電路儲存的充電規格資訊比對,以確認電子裝置的充電規格(步驟S602)。其中當處理電路儲存有對應電子裝置的充電規格的充電規格資訊時,處理電路可控制切換電路與模式檢測信號產生電路提供對應電子裝置的充電規格的模式檢測信號,例如可控制切換電路切換模式檢測信號產生電路提供的多個檢測信號其中之一作為模式檢測信號,以依據對應電子裝置的裝置資訊的充電規格進行充電(步驟S604)。此外,可藉由控制電路在供電模式中控制顯示裝置顯示充電狀態(步驟S606),例如顯示是否已完成充 電或電量百分比等,又或者在無法對電子裝置供電時也可顯示相關的警示信息。另外,當處理電路未儲存對應電子裝置的充電規格的充電規格資訊時,處理電路除了可控制供電裝置進入預設模式(例如進入用於USB BC 1.2的供電模式,控制切換電路短路連接連接器(例如通用序列匯流排埠)的正資料信號接腳與負資料信號接腳,然不以此為限)外,還可通過網路或外接設備更新充電規格資訊(步驟S608)。 In some embodiments, the determination circuit may further include a processing circuit, and the processing circuit may control the switching circuit to switch the electronic device to the mode detection signal generating circuit or the control circuit of the control display device according to the detection result of the current detection circuit, so as to enter the power supply mode or the control mode. In addition, as shown in FIG6 , after step S506, the processing circuit may receive device information of the electronic device through the switching circuit, and compare the device information with the charging specification information stored in the processing circuit to confirm the charging specification of the electronic device (step S602). When the processing circuit stores charging specification information corresponding to the charging specification of the electronic device, the processing circuit can control the switching circuit and the mode detection signal generating circuit to provide a mode detection signal corresponding to the charging specification of the electronic device. For example, the switching circuit can be controlled to switch one of the multiple detection signals provided by the mode detection signal generating circuit as the mode detection signal, so as to charge according to the charging specification of the device information corresponding to the electronic device (step S604). In addition, the control circuit can control the display device to display the charging status in the power supply mode (step S606), such as displaying whether charging is completed or the power percentage, or displaying relevant warning information when the electronic device cannot be powered. In addition, when the processing circuit does not store the charging specification information corresponding to the charging specification of the electronic device, the processing circuit can control the power supply device to enter the default mode (for example, enter the power supply mode for USB BC 1.2, control the switching circuit to short-circuit the positive data signal pin and the negative data signal pin of the connector (for example, the universal serial bus port), but not limited to this), and can also update the charging specification information through the network or external device (step S608).
綜上所述,本發明實施例的判斷電路可反應供電電路提供給電子裝置的連接電流大於預設電流,控制供電裝置進入符合電子裝置的充電規格的供電模式,並反應供電電路提供給電子裝置的連接電流未大於預設電流,控制供電裝置進入受控於電子裝置而控制顯示裝置進行顯示的控制模式,而可有效解決顯示裝置對與其連接的電子裝置進行供電時的相容性問題。 In summary, the judgment circuit of the embodiment of the present invention can react when the connection current provided by the power supply circuit to the electronic device is greater than the preset current, and control the power supply device to enter a power supply mode that meets the charging specification of the electronic device, and react when the connection current provided by the power supply circuit to the electronic device is not greater than the preset current, and control the power supply device to enter a control mode that is controlled by the electronic device and controls the display device to display, thereby effectively solving the compatibility problem when the display device supplies power to the electronic device connected thereto.
惟以上所述者,僅為本發明之較佳實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及發明說明內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。另外本發明的任一實施例或申請專利範圍不須達成本發明所揭露之全部目的或優點或特點。此外,摘要部分和標題僅是用來輔助專利文件搜尋之用,並非用來限制本發明之權利範圍。再者,說明書中提及的第一、第二...等,僅用以表示元件的名稱,並非用來限制元件數量上的上限或下限。 However, the above is only the preferred embodiment of the present invention, and it cannot be used to limit the scope of the implementation of the present invention. That is, all simple equivalent changes and modifications made according to the scope of the patent application and the content of the invention description of the present invention are still within the scope of the present invention. In addition, any embodiment or patent application scope of the present invention does not need to achieve all the purposes, advantages or features disclosed by the present invention. In addition, the abstract part and the title are only used to assist in the search of patent documents, and are not used to limit the scope of the rights of the present invention. Furthermore, the first, second, etc. mentioned in the specification are only used to indicate the name of the component, and are not used to limit the upper or lower limit of the number of components.
100:供電裝置 100: Power supply device
102:供電電路 102: Power supply circuit
104:電流偵測電路 104: Current detection circuit
106:判斷電路 106: Judgment circuit
108:電子裝置 108: Electronic devices
I1:連接電流 I1: Connection current
Claims (16)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210740360.X | 2022-06-27 | ||
| CN202210740360.XA CN117335511A (en) | 2022-06-27 | 2022-06-27 | Power supply device and power supply judgment method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202401945A TW202401945A (en) | 2024-01-01 |
| TWI838845B true TWI838845B (en) | 2024-04-11 |
Family
ID=89292111
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW111133319A TWI838845B (en) | 2022-06-27 | 2022-09-02 | Power supply device and power supply determining method thereof |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN117335511A (en) |
| TW (1) | TWI838845B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120260455A (en) | 2024-01-04 | 2025-07-04 | 纬联电子科技(中山)有限公司 | Display device and operating method for display device |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW201107984A (en) * | 2009-02-27 | 2011-03-01 | Fairchild Semiconductor | Peripheral device host charging |
| US20110248681A1 (en) * | 2010-04-07 | 2011-10-13 | Miller Bruce A | Systems and methods for configuring and charging hybrid battery systems |
| TWM514025U (en) * | 2015-10-08 | 2015-12-11 | Sinbon Electronics Company Ltd | Portable expander with micro projection unit |
| TW201643852A (en) * | 2015-03-20 | 2016-12-16 | 微軟技術授權有限責任公司 | Electronic paper display device |
| CN112740205A (en) * | 2018-09-18 | 2021-04-30 | 三星电子株式会社 | Electronic device and method for controlling connection of external device using the same |
-
2022
- 2022-06-27 CN CN202210740360.XA patent/CN117335511A/en active Pending
- 2022-09-02 TW TW111133319A patent/TWI838845B/en active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW201107984A (en) * | 2009-02-27 | 2011-03-01 | Fairchild Semiconductor | Peripheral device host charging |
| US20110248681A1 (en) * | 2010-04-07 | 2011-10-13 | Miller Bruce A | Systems and methods for configuring and charging hybrid battery systems |
| TW201643852A (en) * | 2015-03-20 | 2016-12-16 | 微軟技術授權有限責任公司 | Electronic paper display device |
| TWM514025U (en) * | 2015-10-08 | 2015-12-11 | Sinbon Electronics Company Ltd | Portable expander with micro projection unit |
| CN112740205A (en) * | 2018-09-18 | 2021-04-30 | 三星电子株式会社 | Electronic device and method for controlling connection of external device using the same |
Also Published As
| Publication number | Publication date |
|---|---|
| CN117335511A (en) | 2024-01-02 |
| TW202401945A (en) | 2024-01-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10746766B2 (en) | Devices and methods for detecting USB devices attached to a USB charging port | |
| CN101232196B (en) | A control circuit and method for charging mode in a USB charging stand | |
| US11258280B2 (en) | Mobile terminal, peripheral device, and charging method thereof | |
| JP6923886B2 (en) | High speed turn-on power switch | |
| US8698449B2 (en) | Charger with detection of power input type | |
| US7698490B2 (en) | Passive USB power configuration switching | |
| US7451328B2 (en) | Display device with USB connectivity | |
| US9923390B2 (en) | Method and apparatus for performing charging port detection control | |
| US20100201308A1 (en) | Device and method for battery charging | |
| CN102315576B (en) | Power distribution within cables | |
| US10241935B2 (en) | Portable device, cable assembly, and USB system | |
| US20100060233A1 (en) | Charger with USB detection | |
| KR20090028196A (en) | Charging device and method of mobile terminal | |
| TWI838845B (en) | Power supply device and power supply determining method thereof | |
| US11181958B2 (en) | Electronic device with power source control ciruitry for determining a current | |
| US20070075680A1 (en) | Charging mode control circuit | |
| CN109861038B (en) | USB connection port capable of automatically switching connection mode and control method thereof | |
| US20110167284A1 (en) | Charge suspend feature for a mobile device | |
| US7679321B2 (en) | Power circuit | |
| US12348219B2 (en) | Power supply circuit module and power supply judgment method thereof | |
| JP7407796B2 (en) | semiconductor integrated circuit | |
| CN218006532U (en) | Circuit for determining master-slave device connection | |
| CN120528048A (en) | First electronic device and second electronic device |