TWI793724B - Multi-port power supply device and operation method thereof - Google Patents
Multi-port power supply device and operation method thereof Download PDFInfo
- Publication number
- TWI793724B TWI793724B TW110130380A TW110130380A TWI793724B TW I793724 B TWI793724 B TW I793724B TW 110130380 A TW110130380 A TW 110130380A TW 110130380 A TW110130380 A TW 110130380A TW I793724 B TWI793724 B TW I793724B
- Authority
- TW
- Taiwan
- Prior art keywords
- power
- usb
- port
- control circuit
- current
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000001514 detection method Methods 0.000 claims abstract description 52
- 238000012546 transfer Methods 0.000 claims description 25
- 238000011017 operating method Methods 0.000 claims description 3
- 238000013461 design Methods 0.000 description 11
- 230000008859 change Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 10
- 108700025151 PD protocol Proteins 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000001824 photoionisation detection Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000003190 augmentative effect Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 229920000117 poly(dioxanone) Polymers 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- QWCRAEMEVRGPNT-UHFFFAOYSA-N buspirone Chemical compound C1C(=O)N(CCCCN2CCN(CC2)C=2N=CC=CN=2)C(=O)CC21CCCC2 QWCRAEMEVRGPNT-UHFFFAOYSA-N 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Landscapes
- Power Sources (AREA)
- Coupling Device And Connection With Printed Circuit (AREA)
- Spinning Or Twisting Of Yarns (AREA)
Abstract
Description
本發明是有關於一種電力供應裝置,特別是關於一種具有多個連接埠的電力供應裝置及其操作方法。The present invention relates to a power supply device, in particular to a power supply device with multiple connection ports and an operation method thereof.
一般而言,當電力供應裝置通過通用序列匯流排(Universal Serial Bus, USB)連接埠提供電能給外部USB設備時,電力供應裝置需依據USB設備的額定規格來進行電壓轉換的操作。舉例來說,電力供應裝置可以包括支援電力傳輸(Power Delivery, PD)協定的控制器。基於PD協定,電力供應裝置可以發出供電資料物件(Power Data Object,PDO)或是增強型供電資料物件(Augmented Power Data Object,APDO)給外部USB設備,以決定協議功率。PDO(或APDO)包含源端(source)的候選輸出電壓和候選輸出電流的資訊。電力供應裝置在通過USB連接埠建立新連接時可發送多個PDO(或APDO)給外部USB設備。外部USB設備會篩選這些PDO(或APDO),以便與電力供應裝置共同確定合適的電壓和電流,進而建立供電協定(決定協議功率)。基於協議功率(PDO或APDO)的決定,電力供應裝置的輸出電壓(輸出功率)可符合外部USB設備的需求。Generally speaking, when the power supply device provides power to an external USB device through a Universal Serial Bus (USB) port, the power supply device needs to perform a voltage conversion operation according to the rated specification of the USB device. For example, the power supply device may include a controller supporting the Power Delivery (PD) protocol. Based on the PD protocol, the power supply device can send a Power Data Object (PDO) or an Augmented Power Data Object (APDO) to an external USB device to determine the protocol power. The PDO (or APDO) contains the information of the candidate output voltage and the candidate output current of the source. The power supply device can send multiple PDOs (or APDOs) to the external USB device when establishing a new connection through the USB port. These PDOs (or APDOs) are screened by the external USB device to work with the power supply to determine the proper voltage and current to establish a power agreement (determining the power agreement). Based on the determination of the protocol power (PDO or APDO), the output voltage (output power) of the power supply device can meet the requirements of the external USB device.
電力供應裝置可能具有多個USB連接埠以及對應於這些USB連接埠的多個電壓轉換器,以便同時提供不同的輸出電壓(輸出功率)給具有不同需求的多個外部USB設備。無論如何,電力供應裝置與某一個外部USB設備之間的協議功率一旦被決定,傳統的電力供應裝置不會改變這個協議功率(PDO或APDO),直到這個外部USB設備與電力供應裝置之間的連接被切斷。若在這個外部USB設備連接電力供應裝置的期間中這個協議功率(PDO或APDO)不能被動態改變,則電力供應裝置的功率利用效率無法最佳化。The power supply device may have multiple USB ports and multiple voltage converters corresponding to these USB ports, so as to simultaneously provide different output voltages (output power) to multiple external USB devices with different requirements. In any case, once the protocol power between the power supply device and a certain external USB device is determined, the traditional power supply device will not change the protocol power (PDO or APDO) until the power supply between the external USB device and the power supply device is determined. The connection was severed. If the protocol power (PDO or APDO) cannot be dynamically changed while the external USB device is connected to the power supply, the power utilization efficiency of the power supply cannot be optimized.
再者,這個外部USB設備可能具有額定最低充電功率。當協議功率小於額定最低充電功率時,這個外部USB設備的充電操作會停止。在實際應用中,充電操作的停止是不樂見的。Again, this external USB device may have a minimum charging power rating. When the protocol power is less than the rated minimum charging power, the charging operation of this external USB device will stop. In practical applications, the cessation of the charging operation is undesirable.
須注意的是,「先前技術」段落的內容是用來幫助了解本發明。在「先前技術」段落所揭露的部份內容(或全部內容)可能不是所屬技術領域中具有通常知識者所知道的習知技術。在「先前技術」段落所揭露的內容,不代表該內容在本發明申請前已被所屬技術領域中具有通常知識者所知悉。It should be noted that the content of the "Prior Art" paragraph is used to help understand the present invention. Some (or all) of the content disclosed in the "Prior Art" paragraph may not be known to those with ordinary skill in the art. The content disclosed in the "Prior Art" paragraph does not mean that the content has been known to those with ordinary knowledge in the technical field before the application of the present application.
本發明提供一種多埠電力供應裝置及其操作方法,以管理對通用序列匯流排(Universal Serial Bus,USB)連接埠的供電。The present invention provides a multi-port power supply device and its operation method to manage the power supply to Universal Serial Bus (USB) connection ports.
在本發明的一實施例中,上述的多埠電力供應裝置包括電源轉換器、功率開關、電流偵測電路、電壓偵測電路、控制電路以及多個USB連接埠。這些USB連接埠包括第一USB連接埠。電源轉換器被配置為通過電流路徑供電給第一USB連接埠。功率開關與電流偵測電路配置在電流路徑中。電流偵測電路被配置為偵測電流路徑的實際電流。電壓偵測電路被配置為偵測功率開關至第一USB連接埠之間的電流路徑的實際電壓。控制電路被配置為控制功率開關。控制電路依據實際電壓判斷第一USB連接埠有無電性連接USB設備。在控制電路判斷第一USB連接埠沒有電性連接USB設備的情況下,控制電路截止功率開關。在控制電路判斷第一USB連接埠電性連接USB設備的情況下,在這些USB連接埠中的至少一個其他USB連接埠的功率的一部分被動態地轉移給第一USB連接埠之後,控制電路依據實際電流決定是否導通功率開關。In an embodiment of the present invention, the above-mentioned multi-port power supply device includes a power converter, a power switch, a current detection circuit, a voltage detection circuit, a control circuit, and a plurality of USB ports. These USB ports include the first USB port. The power converter is configured to supply power to the first USB port through the current path. The power switch and the current detection circuit are arranged in the current path. The current detection circuit is configured to detect the actual current of the current path. The voltage detection circuit is configured to detect the actual voltage of the current path between the power switch and the first USB connection port. The control circuit is configured to control the power switch. The control circuit judges whether the first USB port is electrically connected to the USB device according to the actual voltage. When the control circuit determines that the first USB connection port is not electrically connected to the USB device, the control circuit turns off the power switch. When the control circuit judges that the first USB port is electrically connected to the USB device, after a portion of the power of at least one other USB port among the USB ports is dynamically transferred to the first USB port, the control circuit according to The actual current determines whether to turn on the power switch.
在本發明的一實施例中,上述的操作方法包括:由電流偵測電路偵測電流路徑的實際電流;由電壓偵測電路偵測功率開關至第一USB連接埠之間的電流路徑的實際電壓;由控制電路依據實際電壓判斷第一USB連接埠有無電性連接USB設備;在控制電路判斷第一USB連接埠沒有電性連接USB設備的情況下,由控制電路截止功率開關;以及在控制電路判斷第一USB連接埠電性連接USB設備的情況下,在這些USB連接埠中的至少一個其他USB連接埠的功率的一部分被動態地轉移給第一USB連接埠之後,由控制電路依據實際電流決定是否導通功率開關。In an embodiment of the present invention, the above-mentioned operation method includes: detecting the actual current of the current path by the current detection circuit; detecting the actual current of the current path between the power switch and the first USB connection port by the voltage detection circuit voltage; the control circuit determines whether the first USB connection port is electrically connected to the USB device according to the actual voltage; when the control circuit determines that the first USB connection port is not electrically connected to the USB device, the control circuit cuts off the power switch; and in the control When the circuit judges that the first USB connection port is electrically connected to the USB device, after a part of the power of at least one other USB connection port in these USB connection ports is dynamically transferred to the first USB connection port, the control circuit according to the actual The current determines whether to turn on the power switch.
基於上述,本發明諸實施例所述多埠電力供應裝置可以在其他USB連接埠的功率的一部分(或全部)被動態地轉移給第一USB連接埠之後,依據實際電流決定是否導通功率開關。因此,所述多埠電力供應裝置可以管理對USB連接埠的供電,而避免所述多埠電力供應裝置發生過電流(overcurrent)以及/或是過電壓(overvoltage)。Based on the above, the multi-port power supply device according to the embodiments of the present invention can decide whether to turn on the power switch according to the actual current after a part (or all) of the power of other USB ports is dynamically transferred to the first USB port. Therefore, the multi-port power supply device can manage the power supply to the USB ports, so as to avoid overcurrent and/or overvoltage of the multi-port power supply device.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail together with the accompanying drawings.
在本案說明書全文(包括申請專利範圍)中所使用的「耦接(或連接)」一詞可指任何直接或間接的連接手段。舉例而言,若文中描述第一裝置耦接(或連接)於第二裝置,則應該被解釋成該第一裝置可以直接連接於該第二裝置,或者該第一裝置可以透過其他裝置或某種連接手段而間接地連接至該第二裝置。本案說明書全文(包括申請專利範圍)中提及的「第一」、「第二」等用語是用以命名元件(element)的名稱,或區別不同實施例或範圍,而並非用來限制元件數量的上限或下限,亦非用來限制元件的次序。另外,凡可能之處,在圖式及實施方式中使用相同標號的元件/構件/步驟代表相同或類似部分。不同實施例中使用相同標號或使用相同用語的元件/構件/步驟可以相互參照相關說明。The term "coupled (or connected)" used throughout the specification of this case (including the patent claims) may refer to any direct or indirect means of connection. For example, if it is described in the text that a first device is coupled (or connected) to a second device, it should be interpreted that the first device can be directly connected to the second device, or the first device can be connected to the second device through other devices or certain A connection means indirectly connected to the second device. The terms "first" and "second" mentioned in the entire description of this case (including the scope of the patent application) are used to name elements (elements), or to distinguish different embodiments or ranges, and are not used to limit the number of elements The upper or lower limit of , nor is it used to limit the order of the elements. In addition, wherever possible, elements/components/steps using the same reference numerals in the drawings and embodiments represent the same or similar parts. Elements/components/steps using the same symbols or using the same terms in different embodiments can refer to related descriptions.
圖1是依照本發明的一實施例的一種多埠電力供應裝置100的電路方塊(circuit block)示意圖。多埠電力供應裝置100包括共同控制電路110、多個電源轉換器(power converter,例如圖1所示電源轉換器130_1與130_2)以及多個通用序列匯流排(Universal Serial Bus,USB)連接埠(例如圖1所示USB連接埠140_1與140_2)。電源轉換器130_1~130_2的數量與USB連接埠140_1~140_2的數量可以依照實際設計而加以調整/設定。依照實際設計,電源轉換器130_1~130_2的任一個可以包括直流直流轉換器(DC to DC converter)。FIG. 1 is a schematic diagram of a circuit block of a multi-port
在圖1所示實施例中,共同控制電路110耦接於電源轉換器130_1~130_2的控制端。共同控制電路110可依照實際設計來支援多種USB協定,以因應不同規格的USB連接埠140_1~140_2的傳輸需求。舉例來說,當USB連接埠140_1~140_2的任一個為USB Type-C連接埠時,共同控制電路110可以包括支援電力傳輸(Power Delivery, PD)協定的USB Type-C連接埠控制器(Type-C Port Controller,TCPC)或是USB Type-C連接埠管理器(Type-C Port Manager,TCPM)。另舉例來說,如果USB連接埠140_1~140_2的任一個是USB Type-A連接埠,則共同控制電路110可以包括支援QC(Quick Charge)協定的USB Type-A連接埠管理器。再舉例來說,當USB連接埠140_1~140_2的任一個被連接至具有可編程電源供應(programmable power supply,PPS)功能的USB設備時,共同控制電路110可以包括支援PPS協定的USB控制器。In the embodiment shown in FIG. 1 , the
共同控制電路110可經由不同的USB連接埠140_1~140_2獲知來自於不同的USB設備(未繪示)的配置(configuration)資訊(功率需求)。依據這些配置資訊,共同控制電路110可以獲知這些USB設備(未繪示)的功率需求。舉例來說,USB連接埠140_1~140_2的任一個可以是C型USB(USB Type-C,又稱為USB-C)連接埠或A型USB(USB Type-A)連接埠。以USB連接埠140_1為例,在一些實施例中,共同控制電路110可以經由USB連接埠140_1的配置通道(configuration channel,CC)腳位,而獲知USB設備(未繪示)的配置資訊。共同控制電路110從配置資訊可以知道,USB連接埠140_1的電壓需求、電流需求及/或功率需求。The
電源轉換器130_1~130_2以一對一方式分別耦接於USB連接埠140_1~140_2。也就是,電源轉換器130_1的輸出端耦接於USB連接埠140_1的電力腳位(電力匯流排腳位)VBUS,以及電源轉換器130_2的輸出端耦接於USB連接埠140_2的電力腳位VBUS。共同控制電路110耦接至電源轉換器130_1~130_2。依照共同控制電路110的控制,電源轉換器130_1~130_2可以經由不同的USB連接埠140_1~140_2的電力腳位VBUS供電給不同的USB設備(未繪示)。The power converters 130_1 - 130_2 are respectively coupled to the USB ports 140_1 - 140_2 in a one-to-one manner. That is, the output end of the power converter 130_1 is coupled to the power pin (power bus pin) VBUS of the USB port 140_1 , and the output end of the power converter 130_2 is coupled to the power pin VBUS of the USB port 140_2 . The
舉例來說,共同控制電路110可以包括支援PD協定的控制器。基於PD協定,共同控制電路110可以發出供電資料物件(Power Data Object,PDO)或是增強型供電資料物件(Augmented Power Data Object,APDO)給連接至USB連接埠140_1的USB設備(未繪示),以決定協議功率。基於協議功率(PDO或APDO)的決定,共同控制電路110可以控制電源轉換器130_1~130_2的輸出電壓(輸出功率),因此USB連接埠140_1的輸出電壓(輸出功率)可符合USB設備(未繪示)的需求。USB連接埠140_2與電源轉換器130_2可以參照USB連接埠140_1與電源轉換器130_1的相關說明去類推,故不再贅述。For example, the
圖2是依照本發明的一實施例的多埠電力供應裝置的操作方法的流程示意圖。請同時參照圖1以及圖2,在步驟S210中,共同控制電路110獲知USB連接埠140_1~140_2的功率需求以及實際功率變化。舉例來說,在一些實施例中,共同控制電路110可以經由USB連接埠140_1的CC腳位獲知USB連接埠140_1的功率需求。在另一些實施例中,共同控制電路110可以經由USB連接埠140_1的差動資料腳位(未繪示,一般標示為D+與D-)而獲知USB連接埠140_1的功率需求。在步驟S220中,共同控制電路110可以依據USB連接埠140_1~140_2的功率需求而對應地控制電源轉換器130_1~130_2。FIG. 2 is a schematic flowchart of an operating method of a multi-port power supply device according to an embodiment of the present invention. Please refer to FIG. 1 and FIG. 2 at the same time. In step S210 , the
舉例來說,基於PD協定,共同控制電路110可以發出PDO或是APDO給連接至USB連接埠140_1的USB設備(未繪示),以決定協議功率。基於協議功率(PDO或APDO)的決定,共同控制電路110可以控制電源轉換器130_1的輸出電壓(輸出功率),因此USB連接埠140_1的輸出電壓(輸出功率)可符合USB設備(未繪示)的需求。USB連接埠140_2與電源轉換器130_2可以參照USB連接埠140_1與電源轉換器130_1的相關說明去類推,故不再贅述。For example, based on the PD protocol, the
接下來,在步驟S230中,共同控制電路110可以依據USB連接埠140_1~140_2的功率變化,重新發出PDO(或是APDO)給連接至USB連接埠140_1的USB設備(未繪示),以調整協議功率。舉例來說,在一些實施例中,共同控制電路110可以偵測USB連接埠140_1的實際電壓與實際電流,以獲知USB連接埠140_1的功率變化。共同控制電路110可以將USB連接埠140_1的協議功率從第一協議功率調低至第二協議功率。在步驟S240中,共同控制電路110可以將USB連接埠140_1在第一時間的第一協議功率與在晚於第一時間的第二時間的第二協議功率之間的功率差異動態地轉移給其他USB連接埠(例如USB連接埠140_2)。USB連接埠140_2可以參照USB連接埠140_1的相關說明去類推,故不再贅述。Next, in step S230, the
圖3至圖6是依據本發明的另一實施例所繪示多埠電力供應裝置的操作方法的流程示意圖。在本實施例中,共同控制電路110在圖3所示步驟S310中會獲得多埠電力供應裝置100的額定功率TP。共同控制電路110在圖3的步驟S320中會判斷USB連接埠140_1~140_2是否連接到USB設備。在本實施例中,USB連接埠140_1可例如是USB Type-C連接埠,而USB連接埠140_2可例如是USB Type-A連接埠。如果共同控制電路110判斷只有USB Type-C連接埠連接到USB設備,進入步驟節點C。3 to 6 are schematic flow charts illustrating the operation method of the multi-port power supply device according to another embodiment of the present invention. In this embodiment, the
接下來,在圖4的步驟S410中,共同控制電路110可以在USB Type-C連接埠連接到USB設備時獲得對應於USB Type-C連接埠的預留值T1,並藉由使用多埠電力供應裝置100的額定功率TP與總功率H計算出餘功率REM。USB Type-C連接埠的預留值T1為實數。在本實施例中,預留值T1是USB Type-C連接埠的最小額定電壓與USB Type-C連接埠的最大額定電流的乘積。舉例來說,USB Type-C連接埠的最小額定電壓為5伏特,USB Type-C連接埠的最大額定電流為3安培,因此預留值T1等於15。共同控制電路110可以依照USB連接埠140_1~140_2的這些功率需求算出總功率H。所述總功率H可以是USB連接埠140_1~140_2的這些功率需求(最大功率)的總和。餘功率REM是多埠電力供應裝置100的額定功率TP減去有連接USB設備的USB連接埠的功率所得到的差值。Next, in step S410 of FIG. 4 , the
在步驟S420中,共同控制電路110判斷連接到USB設備的USB Type-C連接埠的功率是否相同。如果是相同,這意謂著USB Type-C連接埠的輸出電能並不需要進行轉移,因此會進入步驟S430。在步驟S430中,共同控制電路110會進行等待。舉例來說,共同控制電路110會等待(但不限於)10分鐘後再回到步驟S420。In step S420, the
在一些實施例中,共同控制電路110會在步驟S420中進一步判斷USB Type-C連接埠的功率是否大於USB Type-C連接埠的最低額定功率。如果共同控制電路110判斷出USB Type-C連接埠的功率小於或等於USB Type-C連接埠的最低額定功率,不進行後續的操作。如果共同控制電路110判斷出USB Type-C連接埠的功率大於USB Type-C連接埠的最低額定功率,則可進行後續的操作。In some embodiments, the
在步驟S420中,如果共同控制電路110判斷出連接了USB設備的USB Type-C連接埠的功率是不同的,則進入步驟S440。在步驟S440中,共同控制電路110會判斷具有最大功率的USB Type-C連接埠(例如第一USB連接埠)的功率是否大於對應於USB Type-C連接埠的預留值T1。如果共同控制電路110判斷出第一USB連接埠的功率大於對應於USB Type-C連接埠的預留值T1,進入步驟S450。在步驟S450中,共同控制電路110會進行等待。舉例來說,共同控制電路110會等待(但不限於)10分鐘後再回到步驟S440。如果共同控制電路110判斷出第一USB連接埠的功率小於或等於對應於USB Type-C連接埠的預留值T1,這意謂著第一USB連接埠的功率已經降低。因此進入步驟S460以開始將第一USB連接埠的功率差異轉移給其他USB連接埠(第二USB連接埠)。一旦完成轉移,則進入步驟S470。在步驟S470中,共同控制電路110會進行等待。舉例來說,共同控制電路110會等待(但不限於)10分鐘後再回到步驟S410。In step S420, if the
在步驟S460中,共同控制電路110還能夠使用第一USB連接埠在第一時間的功率、預留值T1、第二USB連接埠在第一時間的原功率以及餘功率REM計算新的輸出功率P3的電壓值以及電流值。共同控制電路110在第二時間後控制電源轉換器130_1~130_2來配置新功率給第二USB連接埠。詳細來說,共同控制電路110會依據公式(1)來取得第一參考值N1。其中,P1為在第一時間第一USB連接埠的功率,P3為第二USB連接埠在第一時間的原功率,並且IP是最大額定電流值。第一參考值N1可以是正整數或正實數。
N1 = (P1 - T1 + P3 + REM) / IP 公式(1)
In step S460, the
共同控制電路110會依據第一參考值N1在不同的區間將對應的電壓值提供給在第二時間後接收功率差異的Type-C連接埠。舉例來說,當共同控制電路110判斷第一參考值N1小於或等於5時,共同控制電路110會控制電源轉換器130_1~130_2來配置5伏特的電壓值給第二USB連接埠。當共同控制電路110判斷第一參考值N1大於5並小於或等於9時,共同控制電路110控制電源轉換器130_1~130_2來配置5伏特或9伏特的電壓值給第二USB連接埠。當共同控制電路110判斷第一參考值N1大於9並小於或等於12時,共同控制電路110會控制電源轉換器130_1~130_2來配置5伏特、9伏特或12伏特的電壓值給第二USB連接埠。當共同控制電路110判斷第一參考值N1大於12並小於或等於15時,則共同控制電路110控制電源轉換器130_1~130_2來配置5伏特、9伏特、12伏特或15伏特的電壓值給第二USB連接埠。當共同控制電路110判斷第一參考值N1大於15時,則共同控制電路110控制電源轉換器130_1~130_2來配置5伏特、9伏特、12伏特、15伏特或20伏特的電壓值給第二USB連接埠。The
表1是依照本發明一實施例所繪示的多埠電力供應裝置的電力供應對照表。表1所示CC1、CC2與CC3表示不同USB連接埠的配置資訊。關於表1所示第12-1、12-2配置,共同控制電路110在步驟S420中能夠從第12-1配置的配置資訊CC1~CC3中判斷出連接USB設備的USB Type-C連接埠的功率是相同的。因此進入第12-2配置後,並不會有功率差異的轉移。
表1:多埠電力供應裝置的電力供應對照表
關於第13-1、13-2配置,共同控制電路110在步驟S420中能夠從第13-1配置的配置資訊CC1~CC3中判斷連接到USB設備的USB Type-C連接埠的功率是不同的。配置資訊CC1指示USB連接埠140_1是具有最大功率(27瓦特)的USB Type-C連接埠,因此共同控制電路110將USB連接埠140_1作為第一USB連接埠。配置資訊CC3指示出另一個USB連接埠(未繪示)是具有最小功率(9瓦特)的USB Type-C連接埠。共同控制電路110將另一個USB連接埠(未繪示)作為所述第二USB連接埠。共同控制電路110會在步驟S440中判斷USB連接埠140_1的功率是否從大於對應於Type-C連接埠的預留值T1降低到小於或等於預留值T1。如果USB連接埠140_1在第13-1配置轉換到第13-2配置(第二時間)的功率降低到小於或等於預留值T1(即,第13-2配置中的配置資訊CC1),則進入步驟S460以對功率差異轉移到第二USB連接埠。在步驟S460中,共同控制電路110判斷USB連接埠140_1(第一USB連接埠)的功率由27瓦特降低到15瓦特。也就是說,第一USB連接埠對USB設備的充電(或供電)已結束或者是將要結束。因此為將功率27瓦特降低到15瓦特的變化(也就是12瓦特),作為所述的功率差異。接下來,共同控制電路110會藉由使用功率差異(12瓦特)以及第二USB連接埠在第二時間的原功率(即,9瓦特)計算出新功率,也就是9 + 12 = 21瓦特。因此,第二USB連接埠的功率由9瓦特上升到21瓦特。第一USB連接埠的電壓值被調整為5伏特,而電流值則被調整為3安培。第13-1、13-2配置中,可以依據公式(1)得出第一參考值N1等於7。因此第二USB連接埠的電壓值可以為9伏特。並且第二USB連接埠的電流值為新功率與電壓值的商,也就是2.3安培。Regarding configurations 13-1 and 13-2, in step S420, the
關於第14-1、14-2配置,共同控制電路110在步驟S420中能夠從第14-1配置的配置資訊CC1~CC3中判斷出連接到USB設備的USB Type-C連接埠的功率是不同的。配置資訊CC2指示出USB連接埠140_2是具有最大功率(24瓦特)的USB Type-C連接埠。在此假設共同控制電路110將USB連接埠140_2作為第一USB連接埠,並且將另一個USB連接埠(未繪示)作為第二USB連接埠。Regarding configurations 14-1 and 14-2, in step S420, the
共同控制電路110會在步驟S440中判斷出第一USB連接埠在第14-1配置轉換到第14-2配置(第二時間)的功率降低到小於或等於預留值T1,則進入步驟S460以對功率差異轉移到第二USB連接埠。在步驟S460中,共同控制電路110判斷出第一USB連接埠的功率由24瓦特降低到15瓦特。也就是說,第一USB連接埠對USB設備的充電(或供電)已結束或者是將要結束。因此為將功率24瓦特降低到15瓦特的變化,也就是9瓦特,作為所述的功率差異。接下來,共同控制電路110會藉由使用功率差異(9瓦特)以及第二USB連接埠在第二時間的原功率(21瓦特)計算出新功率,也就是21 + 9 = 30瓦特。因此,第二USB連接埠的功率由21瓦特上升到30瓦特。第一USB連接埠的電壓值被調整為5伏特,而電流值則被調整為3安培。第14-1、14-2配置中,可以依據公式(1)得出第一參考值N1等於10。因此在第14-2配置中,第二USB連接埠的電壓值可以為12伏特。並且第二USB連接埠的電流值為新功率與電壓值的商,也就是2.5安培。The
關於第15-1、15-2配置,共同控制電路110在步驟S420中能夠從第15-1配置的配置資訊CC1~CC3中判斷出連接USB設備的USB Type-C連接埠的功率是不同的。配置資訊CC1指示出USB連接埠140_1是具有最大功率(45瓦特)的USB Type-C連接埠。在此假設共同控制電路110將USB連接埠140_1作為第一USB連接埠,並且將USB連接埠140_2作為第二USB連接埠。Regarding configurations 15-1 and 15-2, in step S420, the
共同控制電路110會在步驟S440中判斷出第一USB連接埠在第15-1配置轉換到第15-2配置(第二時間)的功率降低到小於或等於預留值T1,則進入步驟S460以對功率差異轉移到第二USB連接埠。在步驟S460中,共同控制電路110判斷第一USB連接埠的功率由45瓦特降低到15瓦特。也就是說,第一USB連接埠對USB設備的充電(或供電)已結束或者是將要結束。因此為將功率45瓦特降低到15瓦特的變化(也就是30瓦特),作為所述的功率差異。接下來,共同控制電路110會藉由使用功率差異(30瓦特)、第二USB連接埠在第二時間的原功率(13.5瓦特)以及餘功率(1.5瓦特)計算出新功率,也就是30 + 13.5 + 1.5= 45瓦特。因此,第二USB連接埠的功率由13.5瓦特上升到45瓦特。第一USB連接埠的電壓值被調整為5伏特,而電流值則被調整為3安培。第15-1、15-2配置中,可以依據公式(1)得出第一參考值N1等於15。因此在第15-2配置中,第二USB連接埠的電壓值可以為15伏特。並且第二USB連接埠的電流值為新功率與電壓值的商,也就是3安培。The
關於第16-1、16-2配置,可以由第15-1、15-2配置的說明中獲得足夠的教示,因此恕不在此重述。Regarding configurations 16-1 and 16-2, sufficient teaching can be obtained from the description of configurations 15-1 and 15-2, so it will not be repeated here.
請參照圖1、圖3至圖6。如果共同控制電路110在步驟S320中判斷出USB連接埠140_1~140_2中的USB Type-C連接埠與USB Type-A連接埠分別連接到不同的USB設備,則進入步驟S330。在步驟S330中,共同控制電路110會判斷USB Type-C連接埠的至少一者是否先連接到USB設備。如果共同控制電路110判斷出USB Type-C連接埠的至少一者先連接到USB設備,進入步驟節點D。Please refer to Figure 1, Figure 3 to Figure 6. If the
接下來,在圖5中的步驟S502中,共同控制電路110會在USB Type-C連接埠連接到USB設備時,獲得對應於USB Type-C連接埠的預留值T1。共同控制電路110會藉由USB Type-A連接埠判斷USB Type-A連接埠是否連接到USB設備。應能理解的是在步驟S502中,共同控制電路110也可以執行步驟S410~S470的操作。在步驟S503中,USB Type-A連接埠連接到USB設備。共同控制電路110會在USB Type-A連接埠連接到USB設備時,獲得對應於USB Type-A連接埠的最大預留值T2以及最小預留值T3,並且獲得餘功率REM。Next, in step S502 in FIG. 5 , the
在本實施例中,上述的最大預留值T2是USB Type-A連接埠的最小額定電壓與USB Type-A連接埠的最大額定電流的乘積。上述的最小預留值T3是USB Type-A連接埠的最小額定電壓與USB Type-A連接埠的最小額定電流的乘積。在本實施例中,USB Type-A連接埠的最小額定電壓為5伏特,USB Type-A連接埠的最大額定電流為2.4安培,USB Type-A連接埠的最小額定電流為1安培。因此,最大預留值T2等於12,而最小預留值T3等於5。餘功率REM是額定功率TP減去有連接USB設備的USB連接埠(包含USB Type-C與USB Type-A連接埠)的功率所得到的差值。In this embodiment, the above-mentioned maximum reserved value T2 is the product of the minimum rated voltage of the USB Type-A port and the maximum rated current of the USB Type-A port. The aforementioned minimum reserved value T3 is the product of the minimum rated voltage of the USB Type-A port and the minimum rated current of the USB Type-A port. In this embodiment, the minimum rated voltage of the USB Type-A port is 5V, the maximum rated current of the USB Type-A port is 2.4A, and the minimum rated current of the USB Type-A port is 1A. Therefore, the maximum reserved value T2 is equal to 12, and the minimum reserved value T3 is equal to 5. The residual power REM is the difference obtained by subtracting the rated power TP from the power of USB ports (including USB Type-C and USB Type-A ports) connected to USB devices.
除此之外,在步驟S503中,USB Type-A連接埠在連接到USB設備時,USB Type-A連接埠的電流會被限流,並將限流旗標值設定為0。在本實施例中,USB Type-A連接埠的電流可以被限流到小於或等於USB Type-A連接埠的最小額定電流,例如為0.5安培,然不以此為限。在本實施例中,限流旗標值被設定為0的延遲時間長度必須要大於一維持時間長度(例如是3秒)。上述的維持時間長度為執行步驟S504到S507之間的最短時間長度,也就是執行功率差異的轉換所需的最短時間。In addition, in step S503 , when the USB Type-A port is connected to a USB device, the current of the USB Type-A port is limited, and the value of the current limit flag is set to 0. In this embodiment, the current of the USB Type-A port can be limited to be less than or equal to the minimum rated current of the USB Type-A port, such as 0.5 ampere, but not limited thereto. In this embodiment, the delay time length for setting the current limit flag value to 0 must be greater than a hold time length (for example, 3 seconds). The aforementioned maintenance time is the shortest time between steps S504 to S507 , that is, the shortest time required to perform power difference conversion.
接下來,共同控制電路110會在步驟S504中判斷USB Type-C連接埠的功率的總和是否小於或等於額定功率TP與預留值T1的差值。如果共同控制電路110判斷出USB Type-C連接埠的功率的總和小於或等於額定功率TP與預留值T1的差值。這意謂著USB Type-A連接埠可接收到足夠的輸出電能P4的功率,輸出電能並不需要進行轉移。因此共同控制電路110會在步驟S505中等待。舉例來說,共同控制電路110會等待(但不限於)10分鐘後再回到步驟S504。反之,如果共同控制電路110判斷出USB Type-C連接埠的功率的總和大於額定功率TP與預留值T1的差值,這意謂著輸出電能需要進行轉移。因此共同控制電路110會在步驟S506中判斷具有最大功率的USB Type-C連接埠的功率是否大於預留值T1,並且USB Type-A連接埠的限流旗標值=0。如果判斷的結果為「是」,表示USB Type-A連接埠是處於被限流的狀態,並且具有最大功率的USB Type-C連接埠具有足夠的功率轉移到USB Type-A連接埠。因此,共同控制電路110會在步驟S507中,解除USB Type-A連接埠的限流,將具有最大功率的USB Type-C連接埠的功率差異轉移給USB Type-A連接埠,並且將USB Type-A連接埠的限流旗標值改為1。一旦完成轉移,則進入步驟S508中等待。舉例來說,共同控制電路110會等待(但不限於)10分鐘後再回到步驟S502。在一實施例中,限流旗標值也可由1改為0。Next, the
在步驟S507中,舉例來說,USB Type-A連接埠的電壓值被固定為5伏特,而電流值則由被限制的0.5安培被調整為2.4安培。在步驟S507中,共同控制電路110還能夠使用具有最大功率的USB Type-C連接埠在第二時間的功率、最大預留值T2以及餘功率REM計算新的輸出功率P3的電壓值以及電流值。共同控制電路110在第二時間後控制電源轉換器130_1~130_2來配置新功率給第二USB連接埠。詳細來說,共同控制電路110會依據公式(2)來取得第二參考值N2。其中,P3為具有最大功率的USB Type-C連接埠在第二時間的功率。第二參考值N2可以是正整數或正實數。
N2 = (P3 – T2 + REM) / IP 公式(2)
In step S507, for example, the voltage value of the USB Type-A port is fixed at 5V, and the current value is adjusted from the limited 0.5A to 2.4A. In step S507, the
共同控制電路110會依據第二參考值N2在不同的區間將對應的電壓值提供到在第二時間以前具有最大功率的Type-C連接埠。在一實施例中,共同控制電路110會依據第二參考值N2在不同的區間將對應的電壓值提供到其他任意的Type-C連接埠。關於第二參考值N2在不同的區間提供對應電壓值的實施細節可以在前述第一參考值N1的實施細節中獲致足夠的教示,因此恕不在此重述。The
如果步驟S506的判斷結果為「否」,則進入步驟S509。在步驟S509中,共同控制電路110會判斷USB Type-A連接埠的功率是否小於或等於最小預留值T3,並且USB Type-A連接埠的限流旗標值等於1。如果判斷的結果為「是」,這意謂著USB Type-A連接埠的限流已經被解除,並且USB Type-A連接埠的功率已經下降到小於或等於最小預留值T3。也就是說,USB Type-A連接埠對USB設備的充電(或供電)已結束或者是將要結束。共同控制電路110會在步驟S510中將USB Type-A連接埠的功率差異轉移給其中一個USB Type-C連接埠,並且將USB Type-A連接埠的限流旗標值改為0。一旦完成轉移,則進入步驟S508。If the judgment result of step S506 is "No", go to step S509. In step S509, the
在步驟S510中,舉例來說,USB Type-A連接埠的電壓值被固定為5伏特,而電流值則由2.4安培被調整為1安培。在步驟S510中,共同控制電路110還能夠使用具有最大功率的USB Type-C連接埠在第二時間的功率、最大預留值T2以及餘功率REM計算新的輸出功率P3的電壓值以及電流值。共同控制電路110在第二時間後控制電源轉換器130_1~130_2來配置新功率給第二USB連接埠。詳細來說,共同控制電路110會依據公式(3)來取得第三參考值N3。其中,P4為USB Type-A連接埠在第二時間的功率。第三參考值N3可以是正整數或正實數。
N3 = (P3 + T2 – P4+ REM) / IP 公式(3)
In step S510, for example, the voltage value of the USB Type-A port is fixed at 5V, and the current value is adjusted from 2.4A to 1A. In step S510, the
共同控制電路110會依據第三參考值N3在不同的區間將對應的電壓值提供到在第二時間以前具有最大功率的USB Type-C連接埠。在一實施例中,共同控制電路110會依據第三參考值N3在不同的區間將對應的電壓值提供到其他任意的USB Type-C連接埠。關於第三參考值N3在不同的區間提供對應電壓值的實施細節可以在前述第一參考值N1的實施細節中獲致足夠的教示,因此恕不在此重述。The
如果步驟S509的判斷結果為「否」,則進入步驟S511中等待。舉例來說,共同控制電路110會等待(但不限於)10分鐘後再回到步驟S509。表2是依照本發明一實施例所繪示的多埠電力供應裝置的電力供應對照表。表2所示CC1、CC2、CC3與CC4表示不同USB連接埠的配置資訊。
表2:多埠電力供應裝置的電力供應對照表
請同時參考圖1、圖5以及表2,在本範例中,USB Type-C連接埠連接到USB設備的時間點會早於USB Type-A連接埠連接到USB設備的時間點。USB Type-A連接埠連接到USB設備時,USB Type-A連接埠會被限流。因此,USB Type-A連接埠電壓值為5伏特,而電流值為0.5安培。USB Type-A連接埠的功率則為2.5瓦特。並且在此時點,USB Type-A連接埠的限流旗標值被設定為0。Please refer to Figure 1, Figure 5 and Table 2 at the same time. In this example, the time point when the USB Type-C port is connected to the USB device will be earlier than the time point when the USB Type-A port is connected to the USB device. When the USB Type-A port is connected to a USB device, the USB Type-A port will be current limited. Therefore, a USB Type-A port has a voltage value of 5 volts and a current value of 0.5 amps. The USB Type-A port draws 2.5 watts. And at this point, the current limit flag value of the USB Type-A port is set to 0.
關於第17配置,共同控制電路110會在步驟S504中判斷出USB Type-C連接埠的功率的總和(45瓦特)等於額定功率TP與預留值T1的差值(45瓦特)。因此,電源轉換器130_1~130_2的輸出電能並不需要進行轉移。Regarding the seventeenth configuration, the
關於第18配置,共同控制電路110會在步驟S504中判斷出USB Type-C連接埠的功率的總和(60瓦特)大於額定功率TP與預留值T1的差值(45瓦特)。因此進入步驟S506。在步驟S506中,共同控制電路110中判斷出具有最大功率的USB Type-C連接埠的功率(27瓦特)大於預留值T1(15瓦特),並且判斷出限流旗標值等於0。因此,進入步驟S507。在步驟S507中,共同控制電路110控制電源轉換器130_1~130_2以解除USB Type-A連接埠的限流,並且控制電源轉換器130_1~130_2以將USB Type-C連接埠的功率差異轉移給USB Type-A連接埠。詳細來說,USB Type-C連接埠的功率會由27瓦特減去12瓦特,藉以將功率降低到15瓦特(新功率)。而所減去的12瓦特則是所述的功率差異。功率差異會被分配給USB Type-A連接埠,藉以使USB Type-A連接埠的電流值由0.5安培提高到2.4安培。接下來,將限流旗標值設定為1。Regarding the eighteenth configuration, the
此外,第18配置可以依據公式(2)得出第二參考值N2等於5。因此USB連接埠140_1的電壓值可以被調整為5伏特。並且USB連接埠140_1的電流值為新功率與電壓值的商,也就是3安培。關於第19~22配置,第19~22配置的流程可以由第18配置的說明中獲得足夠的教示,因此恕不在此重述。In addition, the eighteenth configuration can obtain the second reference value N2 equal to 5 according to formula (2). Therefore, the voltage value of the USB port 140_1 can be adjusted to 5 volts. And the current value of the USB connection port 140_1 is the quotient of the new power and the voltage value, that is, 3 amperes. Regarding the 19th to 22nd configurations, the process of the 19th to 22nd configurations can be sufficiently taught from the description of the 18th configuration, so it will not be repeated here.
關於第23配置,共同控制電路110會在步驟S504中判斷出USB Type-C連接埠的功率的總和(48瓦特)大於額定功率TP與預留值T1的差值(45瓦特)。因此進入步驟S506。在步驟S506中,共同控制電路110中判斷出具有最大功率的USB Type-C連接埠的功率(18瓦特)大於預留值T1(15瓦特),且判斷出限流旗標值等於1。因此,進入步驟S509。在步驟S509中,共同控制電路110判斷出USB Type-A連接埠的功率下降到5瓦特,已經等於最小預留值T3,並且也判斷出USB Type-A連接埠的限流旗標值等於1。因此,進入步驟S510。在步驟S510中,USB Type-A連接埠的電壓值被固定為5伏特,而電流值則由2.4安培被調整為1安培。因此USB Type-A連接埠的功率會由12瓦特降低到5瓦特,進而產生7瓦特的功率差異。因此上述7瓦特的功率差異例如是(但不限於)轉移到USB Type-C連接埠。因此,USB Type-C連接埠的功率會由18瓦特上升到25瓦特。此外,第23配置可以依據公式(3)得出第三參考值N3等於12.3。因此USB連接埠140_2的電壓值可以被調整為9伏特。並且USB連接埠140_2的電流值為新功率與電壓值的商,也就是2.7安培。Regarding the twenty-third configuration, the
關於第24~27配置,第24~27配置的流程可以由第23配置的說明中獲得足夠的教示,因此恕不在此重述。值得一提的是,在第23~27配置中,USB Type-A連接埠的功率差異會轉移到具有最大功率的USB Type-C連接埠。如此一來,可以加速對高功率需求的USB設備進行充電。在另一些實施例中,功率差異會轉移到具有最小功率的USB Type-C連接埠,然不限於此。Regarding the 24th to 27th configurations, the process of the 24th to 27th configurations can be sufficiently taught from the description of the 23rd configuration, so it will not be repeated here. It is worth mentioning that in configurations 23~27, the power difference of the USB Type-A port will be transferred to the USB Type-C port with the highest power. In this way, the charging of USB devices with high power requirements can be accelerated. In other embodiments, the power difference is shifted to the USB Type-C port with the least power, but is not limited thereto.
在圖3所示步驟S330中,共同控制電路110會判斷USB Type-C連接埠的至少一者是否先連接到USB設備。如果共同控制電路110判斷出USB Type-A連接埠先連接到USB設備,進入步驟節點E。In step S330 shown in FIG. 3 , the
接下來,在圖6中的步驟S610中,共同控制電路110會在USB Type-A連接埠連接到USB設備時,獲得對應於USB Type-A連接埠的最大預留值T2以及最小預留值T3。在步驟S620中,USB Type-C連接埠連接到USB設備。共同控制電路110會在USB Type-C連接埠連接到USB設備時,獲得對應於USB Type-C連接埠的預留值T1,並且獲得餘功率REM。此外,在步驟S610中,由於USB Type-A連接埠並不會被限流,因此限流旗標值會被設定為1。Next, in step S610 in FIG. 6 , the
在步驟S630中,共同控制電路110會判斷Type-C連接埠的功率是否相同,並且USB Type-A連接埠的功率是否大於最小預留值T3。如果判斷的結果為「是」,這意謂著USB Type-A連接埠電源還在使用,並且連接USB設備的這些USB Type-C連接埠的功率都相同,因此輸出電能並不需要進行轉移,因此會進入步驟S640。在步驟S640中,共同控制電路110會進行等待。舉例來說,共同控制電路110會等待(但不限於)10分鐘後再回到步驟S630。In step S630, the
在步驟S630中,如果判斷的結果為「否」,則意謂著USB Type-A連接埠的功率已經下降到小於或等於最小預留值T3,或者是USB Type-C連接埠的至少一者的功率發生了變化(或不完全相同)。也就是說,USB Type-A連接埠對USB設備的充電(或供電)已結束或者是將要結束,USB Type-A連接埠能夠將功率差異轉移給USB Type-C連接埠的其中之一。共同控制電路110會在步驟S650中將USB Type-A連接埠的電流值由最大額定電流(例如是2.4安培)設定為最小額定電流(例如是1安培),並將USB Type-A連接埠的功率差異轉移給其中一個USB Type-C連接埠,例如是具有最大功率的USB Type-C連接埠。步驟S650中的實施細節可以在步驟S510中獲至足夠的教示,因此不在此重述。此外,在步驟S650中,由於USB Type-A連接埠可視為被限流在最小額定電流,因此限流旗標值會被設定為0。一旦完成轉移,則進入步驟S660。在步驟S660中,共同控制電路110會進行等待。舉例來說,共同控制電路110會等待(但不限於)10分鐘後再回到步驟S610。In step S630, if the judgment result is "No", it means that the power of the USB Type-A port has dropped to less than or equal to the minimum reserved value T3, or at least one of the USB Type-C port The power has changed (or not exactly the same). That is to say, the charging (or power supply) of the USB device by the USB Type-A port has ended or is about to end, and the USB Type-A port can transfer the power difference to one of the USB Type-C ports. The
表3是依照本發明一實施例所繪示的多埠電力供應裝置的電力供應對照表。表3所示CC1、CC2、CC3與CC4表示不同USB連接埠的配置資訊。在表3所示範例中,USB Type-A連接埠連接到USB設備的時間點會早於USB Type-C連接埠連接到USB設備的時間點。
表3:多埠電力供應裝置的電力供應對照表
關於表3所示第28配置,共同控制電路110會在步驟S630中判斷出USB Type-C連接埠的功率是相同的,並且USB Type-A連接埠的功率大於最小預留值T3。電源轉換器130_1~130_2的輸出電能並不會進行轉移。關於表3所示第29配置,共同控制電路110會在步驟S630中判斷出USB Type-C連接埠的功率是不相同的。當USB Type-A連接埠的功率從12瓦特下降到5瓦特。因此7瓦特的功率差異可轉移給USB Type-C連接埠的其中之一。USB Type-C連接埠在接收到功率差異後,依據功率差異以及餘功率(1.5瓦特),USB Type-C連接埠的功率會由18瓦特上升到26.5瓦特。此外第29配置可以依據公式(3)得出第三參考值N3等於8.8。因此USB Type-C連接埠的電壓值可以被調整為9伏特。並且USB Type-C連接埠的電流值為新功率與電壓值的商,也就是2.9安培。關於表3所示第30~33配置,第30~33配置的流程可以由第29配置的說明中獲得足夠的教示,因此恕不在此重述。Regarding the twenty-eighth configuration shown in Table 3, the
圖7是依據本發明的又一實施例所繪示多埠電力供應裝置的操作方法的流程示意圖。請參照圖1與圖7。共同控制電路110可以在步驟S710中判斷USB連接埠140_1有無連接至USB設備。本實施例雖以USB連接埠140_1作為說明例,然而多埠電力供應裝置100的其他USB連接埠(例如USB連接埠140_2)可以參照USB連接埠140_1的相關說明去類推。FIG. 7 is a schematic flowchart illustrating an operation method of a multi-port power supply device according to yet another embodiment of the present invention. Please refer to Figure 1 and Figure 7. The
當共同控制電路110判斷USB連接埠140_1已連接USB設備時(步驟S710的判斷結果為「是」),共同控制電路110執行步驟S720。在步驟S720中,共同控制電路110可以依據USB連接埠140_1的功率需求而對應地控制電源轉換器130_1,以供電給連接USB連接埠140_1的USB設備(未繪示)。圖7所示步驟S720可以參照圖2所示步驟S210與S220的相關說明去類推,故不再贅述。基於PD協定,共同控制電路110可以在步驟S720中發出PDO(或是APDO)給連接至USB連接埠140_1的USB設備(未繪示),以決定協議功率。共同控制電路110可以依據協議功率而對應地控制電源轉換器130_1,以供電給連接USB連接埠140_1。When the
在步驟S730中,共同控制電路110可以檢查USB連接埠的協議功率的調整趨勢。舉例來說,電源轉換器130_1可以通過電流路徑供電給USB連接埠140_1,而共同控制電路110可以通過電流偵測電路(未繪示於圖1)與電壓偵測電路(未繪示於圖1)去偵測所述電流路徑的實際電流與實際電壓。共同控制電路110可以基於所述實際電流與實際電壓去獲知USB連接埠140_1的實際輸出功率。共同控制電路110可以判斷目前的PDO或是APDO(協議功率)是否吻合USB連接埠140_1的實際輸出功率。若實際輸出功率低於協議功率,表示協議功率的調整趨勢為「向下調整」。若實際輸出功率高於協議功率,表示協議功率的調整趨勢為「向上調整」。In step S730, the
在步驟S740中,共同控制電路110可以檢查連接USB連接埠140_1的USB設備(未繪示)的額定最低充電功率。USB設備(未繪示)可能具有額定最低充電功率。當PDO或是APDO(協議功率)小於額定最低充電功率時,這個USB設備(未繪示)的充電操作會停止。在實際應用中,充電操作的停止是不樂見的。共同控制電路110可以獲知連接USB連接埠140_1的USB設備(未繪示)的額定最低充電功率。本實施例並不限制「共同控制電路110獲知額定最低充電功率」的具體實現方式。In step S740 , the
舉例來說,在一些實施例中,當USB設備(未繪示)連接至USB連接埠140_1時,共同控制電路110可以發出詢問指令給USB設備以取得該USB設備的該額定最低充電功率。所述詢問指令可以是符合USB規範的供應商命令(vendor command)。For example, in some embodiments, when a USB device (not shown) is connected to the USB port 140_1 , the
在另一些實施例中,當USB設備(未繪示)連接至USB連接埠140_1時,共同控制電路110可以從查找表取得USB設備(未繪示)的額定最低充電功率。本實施例並不限制所述查找表的具體實現方式。舉例來說,所述查找表可以是下述表4或表5所示查找表。
表4:查找表
當USB設備(未繪示)連接至USB連接埠140_1時,共同控制電路110可以獲知USB設備(未繪示)的識別(identification,ID)資訊,例如產品識別(Product ID,PID)資訊和供應商識別(Vendor ID,VID)資訊。在一些實施例中,共同控制電路110可以依照PID資訊和VID資訊從表4所示查找表取得USB設備(未繪示)的額定最低充電功率Pmin。在另一些實施例中,共同控制電路110可以依照PID資訊和VID資訊從表5所示查找表取得USB設備(未繪示)的額定最低充電功率Pmin、額定最低充電電壓Vmin與額定最低充電電流Imin。When a USB device (not shown) is connected to the USB port 140_1, the
當查找表沒有所述USB設備(未繪示)的額定最低充電功率時,共同控制電路110可以發出詢問指令給連接USB連接埠140_1的USB設備(未繪示),以取得USB設備(未繪示)的額定最低充電功率。共同控制電路110可以將USB設備(未繪示)所提供的額定最低充電功率紀錄於查找表,以便日後使用。When the look-up table does not have the rated minimum charging power of the USB device (not shown), the
當查找表沒有所述USB設備(未繪示)的額定最低充電功率時,或是共同控制電路110可以發出詢問指令給連接USB連接埠140_1的USB設備(未繪示)時,USB設備只有回覆一額定充電功率給共同控制電路110,此額定充電功率僅是依照USB PD協議所發送,並未表示其為USB設備的額定最低充電功率。此時共同控制電路110需用以下方法找出USB設備的額定最低充電功率。When the lookup table does not have the rated minimum charging power of the USB device (not shown), or the
共同控制電路110收到此額定充電功率時可以先提供對應的協議功率給所述USB設備。共同控制電路110可以通過電流偵測電路(未繪示於圖1)去偵測所述電流路徑的實際電流。共同控制電路110可以基於所述實際電流去獲知USB連接埠140_1有無在進行充電。共同控制電路110可以判斷所述實際電流是否大於一自訂值。若實際電流大於該自訂值,則接著會將協議功率降15W(一步階step),再去偵測所述電流路徑的實際電流。以此類推,直到實際電流小於該自訂值時,則表示當時下降的協議功率為所述USB設備的額定最低充電功率。共同控制電路110可以將USB設備(未繪示)所提供的額定最低充電功率紀錄於查找表,以便日後使用。When the
若實際電流小於該自訂值,則接著會將協議功率加15W(一步階step),再去偵測所述電流路徑的實際電流。以此類推,直到實際電流大於該自訂值時,則表示當時增加的協議功率為所述USB設備的額定最低充電功率。共同控制電路110可以將USB設備(未繪示)所提供的額定最低充電功率紀錄於查找表,以便日後使用。If the actual current is less than the custom value, then the protocol power will be increased by 15W (step by step), and then the actual current of the current path will be detected. By analogy, until the actual current is greater than the custom value, it means that the increased protocol power at that time is the rated minimum charging power of the USB device. The
在步驟S740中,共同控制電路110可以檢查協議功率與USB設備(未繪示)的額定最低充電功率。當關於USB連接埠140_1的協議功率的調整趨勢將會使協議功率大於連接USB連接埠140_1的USB設備(未繪示)的額定最低充電功率時(步驟S740的判斷結果為「否」),共同控制電路110可以進行步驟S750。或者,當連接USB連接埠140_1的USB設備(未繪示)並沒有額定最低充電功率的操作限制時(步驟S740的判斷結果為「否」),共同控制電路110可以進行步驟S750。In step S740 , the
在步驟S750中,共同控制電路110可以依據USB連接埠140_1的實際輸出功率去動態改變USB連接埠140_1的協議功率。亦即,共同控制電路110在步驟S750可以依據實際輸出功率去動態改變PDO(或是APDO),以及共同控制電路110可以將USB連接埠140_1在第一時間的協議功率與USB連接埠140_1在第二時間的協議功率之間的功率差異動態地轉移給多埠電力供應裝置100的其他USB連接埠(例如USB連接埠140_2)。圖7所示步驟S750可以參照圖2所示步驟S210~S240的相關說明去類推,或是參照圖3至圖6的相關說明去類推,故不再贅述。In step S750, the
當關於USB連接埠140_1的協議功率的調整趨勢將會使協議功率小於USB設備(未繪示)的額定最低充電功率時(步驟S740的判斷結果為「是」),共同控制電路110可以進行步驟S760。在步驟S760中,即便USB連接埠140_1的實際功率小於USB連接埠140_1的協議功率,共同控制電路110仍然不改變USB連接埠140_1的PDO或是APDO(協議功率)。步驟S760的用意在於,防止協議功率(PDO或是APDO)小於USB設備(未繪示)的額定最低充電功率,進而避免停止USB設備(未繪示)的充電操作。When the adjustment trend of the protocol power of the USB port 140_1 will make the protocol power less than the rated minimum charging power of the USB device (not shown) (the judgment result of step S740 is “Yes”), the
在協議功率被維持不變的期間,USB連接埠140_1的實際功率小於協議功率,甚至USB連接埠140_1的實際功率可能會一直下降。共同控制電路110在步驟S770中可以將協議功率與實際輸出功率之間的功率差異動態地轉移給其他USB連接埠(例如USB連接埠140_2)。當USB設備(未繪示)斷開連接USB連接埠140_1時,共同控制電路110可以將USB連接埠140_1的協議功率轉移給其他USB連接埠(例如USB連接埠140_2)。During the period when the protocol power is kept constant, the actual power of the USB port 140_1 is lower than the protocol power, and even the actual power of the USB port 140_1 may decrease all the time. The
在圖1所示實施例中,共同控制電路110包括功率分配電路111與多個控制電路(例如圖1所示控制電路112_1與112_2)。控制電路112_1~112_2以一對一方式分別耦接至USB連接埠140_1~140_2,以獲知USB連接埠140_1~140_2的實際輸出功率,以及分別控制電源轉換器130_1~130_2來供電至USB連接埠140_1~140_2。舉例來說,控制電路112_1可以通過電流偵測電路(未繪示於圖1)與電壓偵測電路(未繪示於圖1)去偵測USB連接埠140_1的實際電流與實際電壓,以及基於USB連接埠140_1的所述實際電流與實際電壓去獲知USB連接埠140_1的實際輸出功率。以此類推,控制電路112_2可以通過電流偵測電路(未繪示於圖1)與電壓偵測電路(未繪示於圖1)去偵測USB連接埠140_2的實際電流與實際電壓,以及基於USB連接埠140_2的所述實際電流與實際電壓去獲知USB連接埠140_2的實際輸出功率。In the embodiment shown in FIG. 1 , the
功率分配電路111耦接於控制電路112_1~112_2,以獲知USB連接埠140_1~140_2的實際輸出功率。功率分配電路111在步驟S730中可以基於所述實際輸出功率去檢查/判斷USB連接埠140_1~140_2的協議功率的調整趨勢。舉例來說,功率分配電路111可以判斷目前的PDO或是APDO(協議功率)是否吻合USB連接埠140_1的實際輸出功率。當USB連接埠140_1的協議功率的調整趨勢會使USB連接埠140_1的協議功率大於連接USB連接埠140_1的USB設備(未繪示)的額定最低充電功率時,功率分配電路111可以依據USB連接埠140_1的實際輸出功率動態改變USB連接埠140_1的協議功率(詳參圖7所示步驟S750的相關說明)。The
當USB連接埠140_1的協議功率的調整趨勢會使所述協議功率小於連接USB連接埠140_1的USB設備(未繪示)的額定最低充電功率時,功率分配電路111不改變USB連接埠140_1的協議功率,以及功率分配電路111將USB連接埠140_1的所述協議功率與所述實際輸出功率之間的功率差異動態地轉移給其他USB連接埠(例如USB連接埠140_2)。When the adjustment trend of the protocol power of the USB port 140_1 makes the protocol power less than the rated minimum charging power of the USB device (not shown) connected to the USB port 140_1, the
圖8是依照本發明的另一實施例說明多埠電力供應裝置800的電路方塊示意圖。在圖8所示實施例中,多埠電力供應裝置800包括多個USB連接埠,例如USB連接埠840_1。多埠電力供應裝置800還包括控制電路812_1、電源轉換器830_1、電流偵測電路850_1、功率開關860_1與電壓偵測電路870_1。圖8所示多埠電力供應裝置800、控制電路812_1、電源轉換器830_1與USB連接埠840_1可以參照圖1所示多埠電力供應裝置100、控制電路112_1、電源轉換器130_1與USB連接埠140_1的相關說明去類推,故不再贅述。基於實際設計考量,在一些實施例中,圖1所示多埠電力供應裝置100、控制電路112_1、電源轉換器130_1與USB連接埠140_1可以參照圖8所示多埠電力供應裝置800、控制電路812_1、電源轉換器830_1與USB連接埠840_1的相關說明。FIG. 8 is a schematic circuit block diagram illustrating a multi-port
在圖8所示實施例中,電源轉換器830_1可以通過電流路徑供電給USB連接埠840_1。電流偵測電路850_1與功率開關860_1被配置在電源轉換器830_1與USB連接埠840_1之間的所述電流路徑中。基於控制電路812_1的控制,功率開關860_1可以截止(turn off)或導通(turn on)所述電流路徑。電流偵測電路850_1可以偵測所述電流路徑的實際電流I1。電壓偵測電路870_1可以偵測功率開關860_1至USB連接埠840_1之間的所述電流路徑的實際電壓V1。In the embodiment shown in FIG. 8 , the power converter 830_1 can supply power to the USB port 840_1 through the current path. The current detection circuit 850_1 and the power switch 860_1 are configured in the current path between the power converter 830_1 and the USB port 840_1 . Based on the control of the control circuit 812_1 , the power switch 860_1 can turn off (turn off) or turn on (turn on) the current path. The current detection circuit 850_1 can detect the actual current I1 of the current path. The voltage detection circuit 870_1 can detect the actual voltage V1 of the current path between the power switch 860_1 and the USB port 840_1 .
圖9是依據本發明的更一實施例所繪示多埠電力供應裝置的操作方法的流程示意圖。請參照圖8與圖9。在步驟S910中,電流偵測電路850_1可以偵測電源轉換器830_1至USB連接埠840_1之間的所述電流路徑的實際電流I1,而電壓偵測電路870_1可以偵測功率開關860_1至USB連接埠840_1之間的所述電流路徑的實際電壓V1。在步驟S920中,控制電路812_1可以依據實際電壓V1去判斷USB連接埠840_1(第一USB連接埠)有無電性連接USB設備(未繪示)。FIG. 9 is a schematic flowchart illustrating an operation method of a multi-port power supply device according to yet another embodiment of the present invention. Please refer to FIG. 8 and FIG. 9 . In step S910, the current detection circuit 850_1 can detect the actual current I1 of the current path between the power converter 830_1 and the USB port 840_1, and the voltage detection circuit 870_1 can detect the power switch 860_1 to the USB port The actual voltage V1 of the current path between 840_1. In step S920, the control circuit 812_1 can determine whether the USB port 840_1 (the first USB port) is electrically connected to a USB device (not shown) according to the actual voltage V1.
控制電路812_1可以控制功率開關860_1。在控制電路812_1判斷USB連接埠840_1沒有電性連接USB設備的情況下(步驟S920的判斷結果為「無」),控制電路812_1可以進行步驟S930。在步驟S930中,控制電路812_1可以截止USB連接埠840_1的功率開關860_1,以及控制電路812_1可以禁能(disable)電源轉換器830_1。The control circuit 812_1 can control the power switch 860_1. When the control circuit 812_1 determines that the USB port 840_1 is not electrically connected to the USB device (the determination result of step S920 is “none”), the control circuit 812_1 may proceed to step S930 . In step S930 , the control circuit 812_1 can turn off the power switch 860_1 of the USB port 840_1 , and the control circuit 812_1 can disable the power converter 830_1 .
在控制電路812_1判斷USB連接埠840_1電性連接USB設備(未繪示)的情況下(步驟S920的判斷結果為「有」),控制電路812_1可以進行步驟S940。在步驟S940中,控制電路812_1可以致能(enable)電源轉換器830_1,以及多埠電力供應裝置800的其他USB連接埠(未繪示)的功率的一部分(或全部)可以被動態地轉移給USB連接埠840_1。When the control circuit 812_1 determines that the USB connection port 840_1 is electrically connected to a USB device (not shown) (the determination result of step S920 is “Yes”), the control circuit 812_1 may proceed to step S940 . In step S940, the control circuit 812_1 can enable the power converter 830_1, and part (or all) of the power of other USB ports (not shown) of the multi-port
舉例來說,多埠電力供應裝置800還包括功率分配電路811。圖8所示功率分配電路811可以參照圖1所示功率分配電路111的相關說明去類推,故不再贅述。功率分配電路811耦接至控制電路812_1。在控制電路812_1判斷USB連接埠840_1電性連接USB設備(未繪示)的情況下,控制電路812_1可以通知功率分配電路811,使得功率分配電路811將多埠電力供應裝置800的其他USB連接埠(未繪示)的協議功率的一部分動態地轉移給USB連接埠840_1。For example, the multi-port
舉例來說,假設多埠電力供應裝置800的額定輸出功率為100瓦特,而且這100瓦特已經被分配給多埠電力供應裝置800的其他USB連接埠(未繪示)。另假設USB連接埠840_1是USB Type-A連接埠。當控制電路812_1通知功率分配電路811,「USB連接埠840_1電性連接USB設備」時,功率分配電路811可以在步驟S940中將其他USB連接埠(未繪示)的協議功率(合計100瓦特)的一部分(例如12瓦特,依照實際設計來決定)動態地轉移給USB連接埠840_1。在完成轉移後,其他USB連接埠(未繪示)的協議功率為88瓦特,而USB連接埠840_1的協議功率為12瓦特。For example, assume that the rated output power of the multi-port
在多埠電力供應裝置800的其他USB連接埠(未繪示)的協議功率的一部分被動態地轉移給USB連接埠840_1之後,控制電路812_1可以在步驟S950中依據實際電流I1決定是否導通USB連接埠840_1(第一USB連接埠)的功率開關860_1。舉例來說,當實際電流I1小於門檻(例如100mA,依照實際設計來決定)時,控制電路812_1可以截止功率開關860_1,此時電源轉換器830_1可以通過功率開關860_1的本體二極體(body diode)供電給USB連接埠840_1的電力腳位VBUS。當實際電流I1大於門檻(例如100mA)時,控制電路812_1可以導通功率開關860_1,使得電源轉換器830_1通過功率開關860_1供電給USB連接埠840_1。After part of the protocol power of other USB ports (not shown) of the multi-port
功率分配電路811可以依據USB連接埠840_1的功率需求而對應地控制電源轉換器830_1,以供電給連接USB連接埠840_1的USB設備(未繪示)。亦即,功率分配電路811可以依據USB連接埠840_1的功率需求而決定協議功率。控制電路812_1還可以將實際電壓V1與實際電流I1通知功率分配電路811。功率分配電路811可以基於實際電壓V1與實際電流I1去獲知USB連接埠840_1的實際輸出功率。功率分配電路811可以將USB連接埠840_1在第一時間的實際輸出功率(第一功率)與USB連接埠840_1在第二時間的實際輸出功率(第二功率)之間的功率差異動態地轉移給多埠電力供應裝置800的其他USB連接埠(未繪示)。舉例來說,功率分配電路811可以參照圖7所示步驟S750的相關說明去將USB連接埠840_1的所述功率差異動態地轉移給多埠電力供應裝置800的其他USB連接埠(未繪示)。The
圖10是依照本發明的一實施例說明圖8所示電壓偵測電路870_1的電路方塊示意圖。在圖10所示實施例中,電壓偵測電路870_1包括電阻871、電流源872以及電壓比較器873。電阻871的阻值可以依照實際設計來決定。舉例來說,電阻871的阻值可以是1.3KΩ或是其他阻值。電阻871的第一端耦接至功率開關860_1至USB連接埠840_1之間的所述電流路徑,以接收實際電壓V1。電流源872的第一端耦接至電阻871的第二端,以提供參考電流(例如300uA,依照實際設計來決定)。電流源872的第二端耦接至參考電壓VREF(例如5.5伏特,依照實際設計來決定)。電壓比較器873的第一輸入端(例如反相輸入端)與第二輸入端(例如非反相輸入端)分別耦接至電阻871的第一端與第二端。電壓比較器873的輸出端輸出電壓比較結果DET給控制電路812_1。依照實際設計考量,電壓比較器873可以包括施密特觸發器(Schmitt trigger)或是其他電壓比較電路/元件。FIG. 10 is a schematic circuit block diagram illustrating the voltage detection circuit 870_1 shown in FIG. 8 according to an embodiment of the present invention. In the embodiment shown in FIG. 10 , the voltage detection circuit 870_1 includes a
在USB連接埠840_1沒有電性連接USB設備(未繪示)的情況下,參考電壓VREF會將實際電壓V1上拉,使得實際電壓V1大於5伏特。此外,因為沒有電流流過電阻871,因此電壓比較器873所輸出的電壓比較結果DET為低邏輯準位。When the USB port 840_1 is not electrically connected to a USB device (not shown), the reference voltage VREF will pull up the actual voltage V1 so that the actual voltage V1 is greater than 5 volts. In addition, because no current flows through the
在USB連接埠840_1電性連接USB設備(未繪示)的情況下,USB設備將實際電壓V1拉低,使得實際電壓V1低於5伏特,進而造成電流流過電阻871。電流流過電阻871,因此電壓比較器873所輸出的電壓比較結果DET為高邏輯準位。因此,控制電路812_1可以通知功率分配電路811,使得功率分配電路811將多埠電力供應裝置800的其他USB連接埠(未繪示)的協議功率的一部分動態地轉移給USB連接埠840_1。When the USB port 840_1 is electrically connected to a USB device (not shown), the USB device pulls down the actual voltage V1 , so that the actual voltage V1 is lower than 5 volts, thereby causing current to flow through the
在功率分配電路811將功率轉移給USB連接埠840_1之後,控制電路812_1可以依據實際電流I1決定是否導通功率開關860_1。舉例來說,當實際電流I1落入1mA至100mA的範圍內時,控制電路812_1可以截止功率開關860_1,此時電源轉換器830_1可以通過功率開關860_1的本體二極體供電給USB連接埠840_1的電力腳位VBUS。當實際電流I1落入100mA至2.4A的範圍內時,控制電路812_1可以導通功率開關860_1,使得電源轉換器830_1通過功率開關860_1供電給USB連接埠840_1。After the
圖11是依照本發明的又一實施例說明多埠電力供應裝置1100的電路方塊示意圖。在圖11所示實施例中,多埠電力供應裝置1100包括多個USB連接埠,例如USB連接埠1140_1。多埠電力供應裝置1100還包括功率分配電路1111、控制電路1112_1、電源轉換器1130_1、電流偵測電路1150_1、功率開關1160_1與電壓偵測電路1170_1。圖11所示多埠電力供應裝置1100、功率分配電路1111、控制電路1112_1、電源轉換器1130_1、USB連接埠1140_1、電流偵測電路1150_1、功率開關1160_1與電壓偵測電路1170_1可以參照圖8所示多埠電力供應裝置800、功率分配電路811、控制電路812_1、電源轉換器830_1、USB連接埠840_1、電流偵測電路850_1、功率開關860_1與電壓偵測電路870_1的相關說明去類推,故不再贅述。不同於圖8所示實施例之處在於,圖11所示電流偵測電路1150_1被配置在功率開關1160_1與電壓偵測電路1170_1之間的電流路徑中。FIG. 11 is a schematic circuit block diagram illustrating a multi-port
圖12是依照本發明的再一實施例說明多埠電力供應裝置1200的電路方塊示意圖。在圖12所示實施例中,多埠電力供應裝置1200包括多個USB連接埠,例如USB連接埠1240_1。多埠電力供應裝置1200還包括功率分配電路1211、控制電路1212_1、電源轉換器1230_1、電流偵測電路1250_1、功率開關1260_1與電壓偵測電路1270_1。圖12所示多埠電力供應裝置1200、功率分配電路1211、控制電路1212_1、電源轉換器1230_1、USB連接埠1240_1、電流偵測電路1250_1、功率開關1260_1與電壓偵測電路1270_1可以參照圖8所示多埠電力供應裝置800、功率分配電路811、控制電路812_1、電源轉換器830_1、USB連接埠840_1、電流偵測電路850_1、功率開關860_1與電壓偵測電路870_1的相關說明去類推,故不再贅述。不同於圖8所示實施例之處在於,圖12所示電流偵測電路1250_1被配置在電壓偵測電路1270_1與USB連接埠1240_1之間的電流路徑中。FIG. 12 is a schematic circuit block diagram illustrating a multi-port
依照不同的設計需求,上述共同控制電路110、功率分配電路111、控制電路112_1、控制電路112_2、功率分配電路811、控制電路812_1、功率分配電路1111、控制電路1112_1、功率分配電路1211以及(或是)控制電路1212_1的實現方式可以是硬體(hardware)、韌體(firmware)、軟體(software,即程式)或是前述三者中的多者的組合形式。以硬體形式而言,上述共同控制電路110、功率分配電路111、控制電路112_1、控制電路112_2、功率分配電路811、控制電路812_1、功率分配電路1111、控制電路1112_1、功率分配電路1211以及(或是)控制電路1212_1可以實現於積體電路(integrated circuit)上的邏輯電路。上述共同控制電路110、功率分配電路111、控制電路112_1、控制電路112_2、功率分配電路811、控制電路812_1、功率分配電路1111、控制電路1112_1、功率分配電路1211以及(或是)控制電路1212_1的相關功能可以利用硬體描述語言(hardware description languages,例如Verilog HDL或VHDL)或其他合適的編程語言來實現為硬體。舉例來說,上述共同控制電路110、功率分配電路111、控制電路112_1、控制電路112_2、功率分配電路811、控制電路812_1、功率分配電路1111、控制電路1112_1、功率分配電路1211以及(或是)控制電路1212_1的相關功能可以被實現於一或多個控制器、微控制器、微處理器、特殊應用積體電路(Application-specific integrated circuit, ASIC)、數位訊號處理器(digital signal processor, DSP)、場可程式邏輯閘陣列(Field Programmable Gate Array, FPGA)及/或其他處理單元中的各種邏輯區塊、模組和電路。According to different design requirements, the
以軟體形式及/或韌體形式而言,上述共同控制電路110、功率分配電路111、控制電路112_1、控制電路112_2、功率分配電路811、控制電路812_1、功率分配電路1111、控制電路1112_1、功率分配電路1211以及(或是)控制電路1212_1的相關功能可以被實現為編程碼(programming codes)。例如,利用一般的編程語言(programming languages,例如C、C++或組合語言)或其他合適的編程語言來實現上述共同控制電路110、功率分配電路111、控制電路112_1、控制電路112_2、功率分配電路811、控制電路812_1、功率分配電路1111、控制電路1112_1、功率分配電路1211以及(或是)控制電路1212_1。所述編程碼可以被記錄/存放在「非臨時的電腦可讀取媒體(non-transitory computer readable medium)」中。在一些實施例中,所述非臨時的電腦可讀取媒體例如包括唯讀記憶體(Read Only Memory,ROM)以及(或是)儲存裝置。所述儲存裝置包括硬碟(hard disk drive,HDD)、固態硬碟(Solid-state drive,SSD)或是其他儲存裝置。中央處理器(Central Processing Unit,CPU)、控制器、微控制器或微處理器可以從所述非臨時的電腦可讀取媒體中讀取並執行所述編程碼,從而實現上述共同控制電路110、功率分配電路111、控制電路112_1、控制電路112_2、功率分配電路811、控制電路812_1、功率分配電路1111、控制電路1112_1、功率分配電路1211以及(或是)控制電路1212_1的相關功能。In terms of software form and/or firmware form, the above-mentioned
綜上所述,在一些實施例中,所述多埠電力供應裝置可以檢查USB連接埠的協議功率的調整趨勢。在協議功率大於USB設備的額定最低充電功率的情況下,共同控制電路可以依據USB設備的實際功率需求而動態改變協議功率。在協議功率可能會小於USB設備的額定最低充電功率的情況下,共同控制電路可以不改變協議功率,以及將協議功率與實際輸出功率之間的功率差異動態地轉移給至少一個其他USB連接埠。因此,多埠電力供應裝置的功率利用效率可以最佳化。在一些實施例中,所述多埠電力供應裝置可以在其他USB連接埠的功率的一部分(或全部)被動態地轉移給第一USB連接埠之後,依據實際電流決定是否導通功率開關。因此,所述多埠電力供應裝置可以管理對USB連接埠的供電,而避免所述多埠電力供應裝置發生過電流(overcurrent)以及/或是過電壓(overvoltage)。To sum up, in some embodiments, the multi-port power supply device can check the adjustment trend of the protocol power of the USB ports. When the protocol power is greater than the rated minimum charging power of the USB device, the common control circuit can dynamically change the protocol power according to the actual power demand of the USB device. In the case that the protocol power may be less than the rated minimum charging power of the USB device, the common control circuit may not change the protocol power, and dynamically transfer the power difference between the protocol power and the actual output power to at least one other USB port. Therefore, the power utilization efficiency of the multi-port power supply device can be optimized. In some embodiments, the multi-port power supply device may decide whether to turn on the power switch according to the actual current after a part (or all) of the power of other USB ports is dynamically transferred to the first USB port. Therefore, the multi-port power supply device can manage the power supply to the USB ports, so as to avoid overcurrent and/or overvoltage of the multi-port power supply device.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed above with the embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field may make some changes and modifications without departing from the spirit and scope of the present invention. The scope of protection of the present invention should be defined by the scope of the appended patent application.
100、800、1100、1200:多埠電力供應裝置
110:共同控制電路
111、811、1111、1211:功率分配電路
112_1、112_2、812_1、1112_1、1212_1:控制電路
130_1、130_2、830_1、1130_1、1230_1:電源轉換器
140_1、140_2、840_1、1140_1、1240_1:USB連接埠
850_1、1150_1、1250_1:電流偵測電路
860_1、1160_1、1260_1:功率開關
870_1、1170_1、1270_1:電壓偵測電路
871:電阻
872:電流源
873:電壓比較器
DET:電壓比較結果
I1:實際電流
S210~S240、S310~S330、S410~S470、S502~S511、S610~S660、S710~S770、S910~S950:步驟
V1:實際電壓
VREF:參考電壓
100, 800, 1100, 1200: multi-port power supply unit
110:
圖1是依照本發明的一實施例的一種多埠電力供應裝置的電路方塊(circuit block)示意圖。 圖2是依照本發明的一實施例的多埠電力供應裝置的操作方法的流程示意圖。 圖3至圖6是依據本發明的另一實施例所繪示多埠電力供應裝置的操作方法的流程示意圖。 圖7是依據本發明的又一實施例所繪示多埠電力供應裝置的操作方法的流程示意圖。 圖8是依照本發明的另一實施例說明多埠電力供應裝置的電路方塊示意圖。 圖9是依據本發明的更一實施例所繪示多埠電力供應裝置的操作方法的流程示意圖。 圖10是依照本發明的一實施例說明圖8所示電壓偵測電路的電路方塊示意圖。 圖11是依照本發明的又一實施例說明多埠電力供應裝置的電路方塊示意圖。 圖12是依照本發明的再一實施例說明多埠電力供應裝置的電路方塊示意圖。 FIG. 1 is a schematic diagram of a circuit block of a multi-port power supply device according to an embodiment of the present invention. FIG. 2 is a schematic flowchart of an operating method of a multi-port power supply device according to an embodiment of the present invention. 3 to 6 are schematic flow charts illustrating the operation method of the multi-port power supply device according to another embodiment of the present invention. FIG. 7 is a schematic flowchart illustrating an operation method of a multi-port power supply device according to yet another embodiment of the present invention. FIG. 8 is a schematic circuit block diagram illustrating a multi-port power supply device according to another embodiment of the present invention. FIG. 9 is a schematic flowchart illustrating an operation method of a multi-port power supply device according to yet another embodiment of the present invention. FIG. 10 is a schematic circuit block diagram illustrating the voltage detection circuit shown in FIG. 8 according to an embodiment of the present invention. FIG. 11 is a schematic circuit block diagram illustrating a multi-port power supply device according to yet another embodiment of the present invention. FIG. 12 is a schematic circuit block diagram illustrating a multi-port power supply device according to yet another embodiment of the present invention.
812_1:控制電路 812_1: control circuit
840_1:USB連接埠 840_1: USB port
860_1:功率開關 860_1: Power switch
870_1:電壓偵測電路 870_1: voltage detection circuit
871:電阻 871: resistance
872:電流源 872: Current source
873:電壓比較器 873:Voltage Comparator
DET:電壓比較結果 DET: voltage comparison result
V1:實際電壓 V1: actual voltage
VREF:參考電壓 VREF: reference voltage
Claims (14)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111059506.6A CN113794253B (en) | 2020-10-29 | 2021-09-09 | Multi-port power supply device and operation method thereof |
| US17/488,330 US11775041B2 (en) | 2020-10-29 | 2021-09-29 | Multi-port power supply device and operation method thereof |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US202063107396P | 2020-10-29 | 2020-10-29 | |
| US63/107,396 | 2020-10-29 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202217510A TW202217510A (en) | 2022-05-01 |
| TWI793724B true TWI793724B (en) | 2023-02-21 |
Family
ID=82558552
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW110130379A TWI779777B (en) | 2020-10-29 | 2021-08-17 | Multi-port power supply device and operation method thereof |
| TW110130380A TWI793724B (en) | 2020-10-29 | 2021-08-17 | Multi-port power supply device and operation method thereof |
Family Applications Before (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW110130379A TWI779777B (en) | 2020-10-29 | 2021-08-17 | Multi-port power supply device and operation method thereof |
Country Status (1)
| Country | Link |
|---|---|
| TW (2) | TWI779777B (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2016226152A (en) * | 2015-05-29 | 2016-12-28 | 矢崎総業株式会社 | Power control device |
| US10439390B1 (en) * | 2018-07-27 | 2019-10-08 | Via Labs, Inc. | Multi-port power supply apparatus and operation method thereof |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP3043442B1 (en) * | 2015-01-12 | 2024-12-04 | SIMPower Technology Inc. | Hub having complex power converters |
| CN105656162B (en) * | 2016-03-17 | 2018-06-08 | 深圳市乐得瑞科技有限公司 | Quick charging system and method based on USB PD agreements |
| US10599597B2 (en) * | 2018-03-12 | 2020-03-24 | Cypress Semiconductor Corporation | Programmable VBUS discharge in USB power delivery |
| TWI652580B (en) * | 2018-04-13 | 2019-03-01 | 緯創資通股份有限公司 | Line collecting device and power supply method thereof |
| CN115051580A (en) * | 2018-08-07 | 2022-09-13 | 华东师范大学 | DC power socket and self-adaptive DC voltage output power supply assembly |
| TWI683198B (en) * | 2018-09-14 | 2020-01-21 | 威鋒電子股份有限公司 | Multi-port power supply apparatus and power suppling method thereof |
| CN111030200B (en) * | 2018-10-10 | 2021-10-19 | 纬联电子科技(中山)有限公司 | Electronic device and power adjustment method thereof |
| TWI705325B (en) * | 2019-02-27 | 2020-09-21 | 同星科技股份有限公司 | A usb power extension device with dual power supply and dual power supply method |
| TWI706627B (en) * | 2019-11-25 | 2020-10-01 | 康舒科技股份有限公司 | Power supply device with multiple sets of wide-range voltage output and its control method |
-
2021
- 2021-08-17 TW TW110130379A patent/TWI779777B/en active
- 2021-08-17 TW TW110130380A patent/TWI793724B/en active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2016226152A (en) * | 2015-05-29 | 2016-12-28 | 矢崎総業株式会社 | Power control device |
| US10439390B1 (en) * | 2018-07-27 | 2019-10-08 | Via Labs, Inc. | Multi-port power supply apparatus and operation method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202217496A (en) | 2022-05-01 |
| TW202217510A (en) | 2022-05-01 |
| TWI779777B (en) | 2022-10-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113794252B (en) | Multi-port power supply device and operation method thereof | |
| CN113794253B (en) | Multi-port power supply device and operation method thereof | |
| CN110289662A (en) | Multi-port power supply device and method of operation thereof | |
| CN107634567B (en) | Short circuit protection for data interface charging | |
| TWI780338B (en) | Multi-port power supply apparatus and operation method thereof | |
| US11239694B2 (en) | Multi-port power delivery | |
| CN104885328B (en) | Adapter and method and device for adjusting charging current provided by adapter | |
| US10476374B2 (en) | Power supply system and short circuit and/or bad connection detection method thereof, and power converter thereof | |
| JP6058864B2 (en) | Power distribution system | |
| CN109510478B (en) | Multi-port power supply device and power supply method thereof | |
| CN103986348B (en) | Method of operating switch mode power converters, and controllers and lighting systems | |
| US9985548B2 (en) | Communication circuit for flyback power converter with synchronous rectifier | |
| CN105322799B (en) | Dummy load control device and control method | |
| CN105763078A (en) | Switching power supply and bus capacitor voltage control method for switching power supply | |
| TW201643583A (en) | Power supplies and control methods suitable for sequentially transmitting command bits from secondary side to primary side | |
| US10539994B2 (en) | Rapid resumption of a power supply via a data link after power outage | |
| TWI686042B (en) | Power conversion device | |
| TWI793724B (en) | Multi-port power supply device and operation method thereof | |
| CN106877639A (en) | Switching power supply, audio equipment and method of quickly turning off switching power supply | |
| JP2020080614A (en) | Electric power control apparatus and program | |
| CN112467985A (en) | Dynamic discharge current control for improved power supply output regulation | |
| CN106301020A (en) | Power supply for transmitting instruction bit from secondary side to primary side and control method thereof | |
| CN111146959B (en) | Voltage control circuit and control method thereof | |
| CN112054586A (en) | Method and apparatus for discharging an output capacitor of a power supply |