[go: up one dir, main page]

TWI793724B - Multi-port power supply device and operation method thereof - Google Patents

Multi-port power supply device and operation method thereof Download PDF

Info

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
Application number
TW110130380A
Other languages
Chinese (zh)
Other versions
TW202217510A (en
Inventor
王澤祥
顏聖賢
張惠能
Original Assignee
威鋒電子股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 威鋒電子股份有限公司 filed Critical 威鋒電子股份有限公司
Priority to CN202111059506.6A priority Critical patent/CN113794253B/en
Priority to US17/488,330 priority patent/US11775041B2/en
Publication of TW202217510A publication Critical patent/TW202217510A/en
Application granted granted Critical
Publication of TWI793724B publication Critical patent/TWI793724B/en

Links

Images

Landscapes

  • Power Sources (AREA)
  • Coupling Device And Connection With Printed Circuit (AREA)
  • Spinning Or Twisting Of Yarns (AREA)

Abstract

The invention provides a multi-port power supply device and an operation method thereof. The multi-port power supply device includes a power converter, a power switch, a current detection circuit, a voltage detection circuit, a control circuit and multiple USB ports. The power converter supplies power to the USB port through a current path. The control circuit determines whether the USB port is connected to a USB apparatus according to the actual voltage of the current path. When the USB port is not connected to the USB apparatus, the control circuit turns off the current path. When the USB port is connected to the USB apparatus, after a part of the power of the other USB ports is dynamically transferred to the USB port, the control circuit determines whether to turn on the current path according to the actual current of the current path.

Description

多埠電力供應裝置及其操作方法Multi-port power supply device and method of operation thereof

本發明是有關於一種電力供應裝置,特別是關於一種具有多個連接埠的電力供應裝置及其操作方法。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 power supply device 100 according to an embodiment of the present invention. The multi-port power supply device 100 includes a common control circuit 110, a plurality of power converters (power converters, such as power converters 130_1 and 130_2 shown in FIG. 1 ), and a plurality of Universal Serial Bus (USB) ports ( For example, the USB ports 140_1 and 140_2 shown in FIG. 1). The number of power converters 130_1˜130_2 and the number of USB ports 140_1˜140_2 can be adjusted/set according to the actual design. According to actual design, any one of the power converters 130_1 - 130_2 may include a DC to DC converter.

在圖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 common control circuit 110 is coupled to the control terminals of the power converters 130_1 - 130_2 . The common control circuit 110 can support multiple USB protocols according to the actual design, so as to meet the transmission requirements of the USB ports 140_1˜140_2 with different specifications. For example, when any one of the USB ports 140_1-140_2 is a USB Type-C port, the common control circuit 110 may include a USB Type-C port controller (Type -C Port Controller, TCPC) or USB Type-C Port Manager (Type-C Port Manager, TCPM). For another example, if any one of the USB ports 140_1 - 140_2 is a USB Type-A port, the common control circuit 110 may include a USB Type-A port manager supporting the QC (Quick Charge) protocol. For another example, when any one of the USB ports 140_1 - 140_2 is connected to a USB device with a programmable power supply (PPS) function, the common control circuit 110 may include a USB controller supporting the PPS protocol.

共同控制電路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 common control circuit 110 can obtain configuration information (power requirements) from different USB devices (not shown) through different USB ports 140_1 - 140_2 . According to the configuration information, the common control circuit 110 can learn the power requirements of these USB devices (not shown). For example, any one of the USB ports 140_1 - 140_2 may be a USB Type-C (USB Type-C, also called USB-C) port or a USB Type-A (USB Type-A) port. Taking the USB port 140_1 as an example, in some embodiments, the common control circuit 110 can obtain configuration information of a USB device (not shown) through a configuration channel (CC) pin of the USB port 140_1 . The common control circuit 110 can know the voltage requirement, current requirement and/or power requirement of the USB port 140_1 from the configuration information.

電源轉換器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 common control circuit 110 is coupled to the power converters 130_1 - 130_2 . According to the control of the common control circuit 110 , the power converters 130_1 - 130_2 can supply power to different USB devices (not shown) through the power pins VBUS of different USB ports 140_1 - 140_2 .

舉例來說,共同控制電路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 common control circuit 110 may include a controller supporting the PD protocol. Based on the PD protocol, the common control circuit 110 can send a power data object (Power Data Object, PDO) or an enhanced power data object (Augmented Power Data Object, APDO) to a USB device (not shown) connected to the USB port 140_1 , to determine the protocol power. Based on the determination of the protocol power (PDO or APDO), the common control circuit 110 can control the output voltage (output power) of the power converters 130_1~130_2, so the output voltage (output power) of the USB port 140_1 can meet the requirements of the USB device (not shown). shown) requirements. The USB connection port 140_2 and the power converter 130_2 can be deduced by referring to the related descriptions of the USB connection port 140_1 and the power converter 130_1 , so the details will not be repeated.

圖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 common control circuit 110 obtains the power requirements and actual power changes of the USB ports 140_1 - 140_2 . For example, in some embodiments, the common control circuit 110 can know the power requirement of the USB port 140_1 through the CC pin of the USB port 140_1 . In some other embodiments, the common control circuit 110 can know the power requirement of the USB port 140_1 through the differential data pins (not shown, generally marked as D+ and D−) of the USB port 140_1 . In step S220 , the common control circuit 110 can correspondingly control the power converters 130_1 - 130_2 according to the power demands of the USB ports 140_1 - 140_2 .

舉例來說,基於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 common control circuit 110 can send PDO or APDO to the USB device (not shown) connected to the USB port 140_1 to determine the protocol power. Based on the determination of the protocol power (PDO or APDO), the common control circuit 110 can control the output voltage (output power) of the power converter 130_1, so the output voltage (output power) of the USB port 140_1 can conform to the USB device (not shown) demand. The USB connection port 140_2 and the power converter 130_2 can be deduced by referring to the related descriptions of the USB connection port 140_1 and the power converter 130_1 , so the details will not be repeated.

接下來,在步驟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 common control circuit 110 can resend PDO (or APDO) to the USB device (not shown) connected to the USB port 140_1 according to the power variation of the USB ports 140_1~140_2, so as to adjust protocol power. For example, in some embodiments, the common control circuit 110 can detect the actual voltage and current of the USB port 140_1 to know the power variation of the USB port 140_1 . The common control circuit 110 can reduce the protocol power of the USB port 140_1 from the first protocol power to the second protocol power. In step S240, the common control circuit 110 may dynamically transfer the power difference between the first protocol power of the USB port 140_1 at the first time and the second protocol power at a second time later than the first time to other USB ports 140_1. USB port (eg USB port 140_2). The USB connection port 140_2 can be deduced by referring to the relevant description of the USB connection port 140_1 , so it will not be repeated here.

圖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 common control circuit 110 obtains the rated power TP of the multi-port power supply device 100 in step S310 shown in FIG. 3 . The common control circuit 110 determines whether the USB ports 140_1 - 140_2 are connected to USB devices in step S320 of FIG. 3 . In this embodiment, the USB port 140_1 may be, for example, a USB Type-C port, and the USB port 140_2 may be, for example, a USB Type-A port. If the common control circuit 110 determines that only the USB Type-C port is connected to the USB device, go to step node C.

接下來,在圖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 common control circuit 110 can obtain the reserved value T1 corresponding to the USB Type-C port when the USB Type-C port is connected to the USB device, and by using the multi-port power The residual power REM is calculated from the rated power TP and the total power H of the supply device 100 . The reserved value T1 of the USB Type-C port is a real number. In this embodiment, the reserved value T1 is the product of the minimum rated voltage of the USB Type-C port and the maximum rated current of the USB Type-C port. For example, the minimum rated voltage of the USB Type-C port is 5V, and the maximum rated current of the USB Type-C port is 3A, so the reserved value T1 is equal to 15. The common control circuit 110 can calculate the total power H according to the power requirements of the USB ports 140_1 - 140_2 . The total power H may be the sum of the power requirements (maximum power) of the USB ports 140_1 - 140_2 . The surplus power REM is the difference obtained by subtracting the power of the USB port connected to the USB device from the rated power TP of the multi-port power supply device 100 .

在步驟S420中,共同控制電路110判斷連接到USB設備的USB Type-C連接埠的功率是否相同。如果是相同,這意謂著USB Type-C連接埠的輸出電能並不需要進行轉移,因此會進入步驟S430。在步驟S430中,共同控制電路110會進行等待。舉例來說,共同控制電路110會等待(但不限於)10分鐘後再回到步驟S420。In step S420, the common control circuit 110 determines whether the powers of the USB Type-C ports connected to the USB devices are the same. If they are the same, it means that the output power of the USB Type-C port does not need to be transferred, so it will go to step S430. In step S430, the common control circuit 110 waits. For example, the common control circuit 110 waits (but not limited to) 10 minutes before returning to step S420.

在一些實施例中,共同控制電路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 common control circuit 110 further determines in step S420 whether the power of the USB Type-C port is greater than the minimum rated power of the USB Type-C port. If the common control circuit 110 determines that the power of the USB Type-C port is less than or equal to the minimum rated power of the USB Type-C port, no subsequent operations are performed. If the common control circuit 110 determines that the power of the USB Type-C port is greater than the minimum rated power of the USB Type-C port, subsequent operations can be performed.

在步驟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 common control circuit 110 determines that the powers of the USB Type-C ports connected with the USB devices are different, then go to step S440. In step S440 , the common control circuit 110 determines whether the power of the USB Type-C port with the highest power (for example, the first USB port) is greater than the reserved value T1 corresponding to the USB Type-C port. If the common control circuit 110 determines that the power of the first USB port is greater than the reserved value T1 corresponding to the USB Type-C port, go to step S450. In step S450, the common control circuit 110 waits. For example, the common control circuit 110 waits (but not limited to) 10 minutes before returning to step S440. If the common control circuit 110 determines that the power of the first USB port is less than or equal to the reserved value T1 corresponding to the USB Type-C port, it means that the power of the first USB port has been reduced. Therefore, enter step S460 to start transferring the power difference of the first USB port to other USB ports (the second USB port). Once the transfer is completed, go to step S470. In step S470, the common control circuit 110 waits. For example, the common control circuit 110 waits (but not limited to) 10 minutes before returning to step S410.

在步驟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 common control circuit 110 can also use the power of the first USB port at the first time, the reserved value T1, the original power of the second USB port at the first time and the remaining power REM to calculate the new output power The voltage value and current value of P3. The common control circuit 110 controls the power converters 130_1 - 130_2 to allocate new power to the second USB port after a second time. In detail, the common control circuit 110 obtains the first reference value N1 according to formula (1). Wherein, P1 is the power of the first USB port at the first time, P3 is the original power of the second USB port at the first time, and IP is the maximum rated current value. The first reference value N1 may be a positive integer or a positive real number. N1 = (P1 - T1 + P3 + REM) / IP Formula (1)

共同控制電路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 common control circuit 110 provides corresponding voltage values to the Type-C ports that receive the power difference after the second time in different intervals according to the first reference value N1. For example, when the common control circuit 110 determines that the first reference value N1 is less than or equal to 5, the common control circuit 110 controls the power converters 130_1˜130_2 to configure a voltage value of 5 volts to the second USB port. When the common control circuit 110 determines that the first reference value N1 is greater than 5 and less than or equal to 9, the common control circuit 110 controls the power converters 130_1 - 130_2 to configure a voltage value of 5V or 9V to the second USB port. When the common control circuit 110 judges that the first reference value N1 is greater than 9 and less than or equal to 12, the common control circuit 110 will control the power converters 130_1-130_2 to configure the voltage value of 5 volts, 9 volts or 12 volts for the second USB connection port. When the common control circuit 110 determines that the first reference value N1 is greater than 12 and less than or equal to 15, the common control circuit 110 controls the power converters 130_1-130_2 to configure a voltage value of 5 volts, 9 volts, 12 volts or 15 volts for the first reference value N1. Two USB ports. When the common control circuit 110 judges that the first reference value N1 is greater than 15, the common control circuit 110 controls the power converters 130_1-130_2 to configure the voltage value of 5 volts, 9 volts, 12 volts, 15 volts or 20 volts to the second USB port.

表1是依照本發明一實施例所繪示的多埠電力供應裝置的電力供應對照表。表1所示CC1、CC2與CC3表示不同USB連接埠的配置資訊。關於表1所示第12-1、12-2配置,共同控制電路110在步驟S420中能夠從第12-1配置的配置資訊CC1~CC3中判斷出連接USB設備的USB Type-C連接埠的功率是相同的。因此進入第12-2配置後,並不會有功率差異的轉移。 表1:多埠電力供應裝置的電力供應對照表 配置 CC1 CC2 CC3 餘功率 12-1 5V/3A 5V/3A 5V/3A 15W 12-2 5V/3A 5V/3A 5V/3A 15W 13-1 9V/3A 9V/2.67A 9V/1A 0W 13-2 5V/3A 9V/2.67A 9V/2.3A 0W 14-1 5V/3A 9V/2.67A 9V/2.3A 0W 14-2 5V/3A 5V/3A 12V/2.5A 0W 15-1 15V/3A 9V/1.5A   1.5W 15-2 5V/3A 15V/3A   0W 16-1 20V/2.25A 9V/1.5A   1.5W 16-2 5V/3A 15V/3A   0W Table 1 is a power supply comparison table of a multi-port power supply device according to an embodiment of the present invention. CC1, CC2 and CC3 shown in Table 1 represent configuration information of different USB ports. Regarding configurations 12-1 and 12-2 shown in Table 1, in step S420, the common control circuit 110 can determine from the configuration information CC1~CC3 of the configuration 12-1 the configuration of the USB Type-C port connected to the USB device. Power is the same. Therefore, after entering the 12-2 configuration, there will be no power difference transfer. Table 1: Power supply comparison table for multi-port power supply devices configuration CC1 CC2 CC3 residual power 12-1 5V/3A 5V/3A 5V/3A 15W 12-2 5V/3A 5V/3A 5V/3A 15W 13-1 9V/3A 9V/2.67A 9V/1A 0W 13-2 5V/3A 9V/2.67A 9V/2.3A 0W 14-1 5V/3A 9V/2.67A 9V/2.3A 0W 14-2 5V/3A 5V/3A 12V/2.5A 0W 15-1 15V/3A 9V/1.5A 1.5W 15-2 5V/3A 15V/3A 0W 16-1 20V/2.25A 9V/1.5A 1.5W 16-2 5V/3A 15V/3A 0W

關於第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 common control circuit 110 can determine from the configuration information CC1~CC3 of configuration 13-1 that the powers of the USB Type-C ports connected to the USB devices are different. . The configuration information CC1 indicates that the USB port 140_1 is a USB Type-C port with the maximum power (27 watts), so the common control circuit 110 uses the USB port 140_1 as the first USB port. Configuration information CC3 indicates that the other USB port (not shown) is a USB Type-C port with minimum power (9 watts). The common control circuit 110 uses another USB port (not shown) as the second USB port. The common control circuit 110 determines in step S440 whether the power of the USB port 140_1 is reduced from greater than the reserved value T1 corresponding to the Type-C port to less than or equal to the reserved value T1. If the power of the USB port 140_1 during the transition from the 13-1 configuration to the 13-2 configuration (second time) is reduced to less than or equal to the reserved value T1 (ie, the configuration information CC1 in the 13-2 configuration), then Enter step S460 to transfer the power difference to the second USB port. In step S460 , the common control circuit 110 determines that the power of the USB port 140_1 (the first USB port) is reduced from 27 watts to 15 watts. That is to say, the charging (or power supply) of the USB device by the first USB port has ended or is about to end. Hence the change in reducing power from 27 watts to 15 watts (that is, 12 watts) as stated power difference. Next, the common control circuit 110 calculates a new power by using the power difference (12 watts) and the original power of the second USB port at the second time (ie, 9 watts), that is, 9 + 12 = 21 watts. Therefore, the power of the second USB port increases from 9 watts to 21 watts. The voltage value of the first USB port is adjusted to 5 volts, and the current value is adjusted to 3 amperes. In configurations 13-1 and 13-2, it can be obtained that the first reference value N1 is equal to 7 according to formula (1). Therefore, the voltage value of the second USB port can be 9 volts. And the current value of the second USB connection port is the quotient of the new power and the voltage value, which is 2.3 amperes.

關於第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 common control circuit 110 can determine from the configuration information CC1~CC3 of configuration 14-1 that the powers of the USB Type-C ports connected to the USB devices are different. of. The configuration information CC2 indicates that the USB port 140_2 is a USB Type-C port with maximum power (24 watts). Here, it is assumed that the common control circuit 110 uses the USB port 140_2 as the first USB port, and uses another USB port (not shown) as the second USB port.

共同控制電路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 common control circuit 110 will determine in step S440 that the power of the first USB connection port in the 14-1 configuration to the 14-2 configuration (second time) is reduced to less than or equal to the reserved value T1, and then proceed to step S460 To divert power differential to a second USB port. In step S460, the common control circuit 110 determines that the power of the first USB port is reduced from 24 watts to 15 watts. That is to say, the charging (or power supply) of the USB device by the first USB port has ended or is about to end. Thus for a change in power reduction of 24 watts to 15 watts, that is 9 watts, as the stated power difference. Next, the common control circuit 110 calculates a new power by using the power difference (9 watts) and the original power of the second USB port at the second time (21 watts), that is, 21 + 9 = 30 watts. Therefore, the power of the second USB port is increased from 21 watts to 30 watts. The voltage value of the first USB port is adjusted to 5 volts, and the current value is adjusted to 3 amperes. In configurations 14-1 and 14-2, it can be obtained that the first reference value N1 is equal to 10 according to formula (1). Therefore, in configuration 14-2, the voltage value of the second USB port can be 12 volts. And the current value of the second USB connection port is the quotient of the new power and the voltage value, that is, 2.5 amperes.

關於第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 common control circuit 110 can determine from the configuration information CC1~CC3 of configuration 15-1 that the powers of the USB Type-C ports connected to USB devices are different. . The configuration information CC1 indicates that the USB port 140_1 is a USB Type-C port with maximum power (45W). Here, it is assumed that the common control circuit 110 uses the USB port 140_1 as the first USB port, and uses the USB port 140_2 as the second USB port.

共同控制電路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 common control circuit 110 will determine in step S440 that the power of the first USB connection port in the 15-1 configuration to the 15-2 configuration (second time) is reduced to less than or equal to the reserved value T1, and then proceed to step S460 To divert power differential to a second USB port. In step S460, the common control circuit 110 determines that the power of the first USB port is reduced from 45 watts to 15 watts. That is to say, the charging (or power supply) of the USB device by the first USB port has ended or is about to end. Hence the change in reducing the power from 45 watts to 15 watts (ie 30 watts) as said power difference. Next, the common control circuit 110 will calculate the new power by using the power difference (30 watts), the original power (13.5 watts) and the surplus power (1.5 watts) of the second USB port at the second time, which is 30+ 13.5 + 1.5 = 45 watts. Therefore, the power of the second USB port increases from 13.5 watts to 45 watts. The voltage value of the first USB port is adjusted to 5 volts, and the current value is adjusted to 3 amperes. In configurations 15-1 and 15-2, it can be obtained that the first reference value N1 is equal to 15 according to formula (1). Therefore, in configuration 15-2, the voltage value of the second USB port can be 15 volts. And the current value of the second USB connection port is the quotient of the new power and the voltage value, which is 3 amperes.

關於第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 common control circuit 110 determines in step S320 that the USB Type-C ports and the USB Type-A ports of the USB ports 140_1˜140_2 are respectively connected to different USB devices, then go to step S330. In step S330, the common control circuit 110 determines whether at least one of the USB Type-C ports is connected to the USB device first. If the common control circuit 110 determines that at least one of the USB Type-C ports is connected to the USB device first, go to step node D.

接下來,在圖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 common control circuit 110 obtains the reserved value T1 corresponding to the USB Type-C port when the USB Type-C port is connected to the USB device. The common control circuit 110 judges whether the USB Type-A port is connected to a USB device through the USB Type-A port. It should be understood that in step S502, the common control circuit 110 may also perform the operations of steps S410-S470. In step S503, the USB Type-A port is connected to the USB device. The common control circuit 110 obtains the maximum reserved value T2 and the minimum reserved value T3 corresponding to the USB Type-A port when the USB Type-A port is connected to the USB device, and obtains the remaining power REM.

在本實施例中,上述的最大預留值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 common control circuit 110 will determine whether the sum of the power of the USB Type-C ports is less than or equal to the difference between the rated power TP and the reserved value T1 in step S504 . If the common control circuit 110 determines that the sum of the power of the USB Type-C ports is less than or equal to the difference between the rated power TP and the reserved value T1. This means that the USB Type-A port can receive enough power of the output power P4, and the output power does not need to be transferred. Therefore, the common control circuit 110 waits in step S505. For example, the common control circuit 110 waits (but not limited to) 10 minutes before returning to step S504. Conversely, if the common control circuit 110 determines that the sum of the power of the USB Type-C ports is greater than the difference between the rated power TP and the reserved value T1, it means that the output power needs to be transferred. Therefore, the common control circuit 110 will determine in step S506 whether the power of the USB Type-C port with the highest power is greater than the reserved value T1, and the current limit flag value of the USB Type-A port=0. If the judgment result is "Yes", it means that the USB Type-A port is in the state of current limiting, and the USB Type-C port with the maximum power has enough power to transfer to the USB Type-A port. Therefore, the common control circuit 110 will remove the current limit of the USB Type-A port in step S507, transfer the power difference of the USB Type-C port with the maximum power to the USB Type-A port, and transfer the USB Type-C port to the USB Type-A port. -A port current limit flag value changed to 1. Once the transfer is completed, enter step S508 and wait. For example, the common control circuit 110 waits (but not limited to) 10 minutes before returning to step S502. In an embodiment, the value of the current limit flag can also be changed from 1 to 0.

在步驟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 common control circuit 110 can also use the power of the USB Type-C port with the maximum power at the second time, the maximum reserved value T2 and the remaining power REM to calculate the voltage value and current value of the new output power P3 . The common control circuit 110 controls the power converters 130_1 - 130_2 to allocate new power to the second USB port after a second time. In detail, the common control circuit 110 obtains the second reference value N2 according to formula (2). Wherein, P3 is the power of the USB Type-C port with the maximum power at the second time. The second reference value N2 may be a positive integer or a positive real number. N2 = (P3 – T2 + REM) / IP Formula (2)

共同控制電路110會依據第二參考值N2在不同的區間將對應的電壓值提供到在第二時間以前具有最大功率的Type-C連接埠。在一實施例中,共同控制電路110會依據第二參考值N2在不同的區間將對應的電壓值提供到其他任意的Type-C連接埠。關於第二參考值N2在不同的區間提供對應電壓值的實施細節可以在前述第一參考值N1的實施細節中獲致足夠的教示,因此恕不在此重述。The common control circuit 110 provides corresponding voltage values to the Type-C port with the maximum power before the second time in different intervals according to the second reference value N2. In one embodiment, the common control circuit 110 provides corresponding voltage values to other arbitrary Type-C ports in different intervals according to the second reference value N2. The implementation details of the second reference value N2 providing corresponding voltage values in different intervals can be sufficiently taught in the implementation details of the first reference value N1 mentioned above, so it will not be repeated here.

如果步驟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 common control circuit 110 determines whether the power of the USB Type-A port is less than or equal to the minimum reserved value T3, and the current limit flag value of the USB Type-A port is equal to 1. If the judgment result is "Yes", it means that the current limit of the USB Type-A port has been released, and the power of the USB Type-A port has dropped to be less than or equal to the minimum reserved value T3. That is to say, the charging (or power supply) of the USB device by the USB Type-A port has ended or will end soon. The common control circuit 110 transfers the power difference of the USB Type-A ports to one of the USB Type-C ports in step S510 , and changes the value of the current limit flag of the USB Type-A port to 0. Once the transfer is completed, go to step S508.

在步驟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 common control circuit 110 can also use the power of the USB Type-C port with the maximum power at the second time, the maximum reserved value T2 and the remaining power REM to calculate the voltage value and current value of the new output power P3 . The common control circuit 110 controls the power converters 130_1 - 130_2 to allocate new power to the second USB port after a second time. In detail, the common control circuit 110 obtains the third reference value N3 according to formula (3). Wherein, P4 is the power of the USB Type-A port at the second time. The third reference value N3 may be a positive integer or a positive real number. N3 = (P3 + T2 – P4+ REM) / IP Formula (3)

共同控制電路110會依據第三參考值N3在不同的區間將對應的電壓值提供到在第二時間以前具有最大功率的USB Type-C連接埠。在一實施例中,共同控制電路110會依據第三參考值N3在不同的區間將對應的電壓值提供到其他任意的USB Type-C連接埠。關於第三參考值N3在不同的區間提供對應電壓值的實施細節可以在前述第一參考值N1的實施細節中獲致足夠的教示,因此恕不在此重述。The common control circuit 110 provides corresponding voltage values to the USB Type-C port having the maximum power before the second time in different intervals according to the third reference value N3. In one embodiment, the common control circuit 110 provides corresponding voltage values to any other USB Type-C ports in different intervals according to the third reference value N3. The implementation details about the third reference value N3 providing corresponding voltage values in different intervals can be sufficiently taught in the aforementioned implementation details of the first reference value N1 , so it will not be repeated here.

如果步驟S509的判斷結果為「否」,則進入步驟S511中等待。舉例來說,共同控制電路110會等待(但不限於)10分鐘後再回到步驟S509。表2是依照本發明一實施例所繪示的多埠電力供應裝置的電力供應對照表。表2所示CC1、CC2、CC3與CC4表示不同USB連接埠的配置資訊。 表2:多埠電力供應裝置的電力供應對照表 配置 CC1 (Type-C) CC2 (Type-C) CC3 (Type-C) CC4 (Type-A) 限流旗標值 17 5V/3A 5V/3A 5V/3A 5V/2.4A 0 18 9V/3A轉為5V/3A 9V/2A 5V/3A 5V/0.5A轉為5V/2.4A 1 19 12V/3A轉為9V/2.6A 9V/1A 5V/3A 5V/0.5A轉為5V/2.4A 1 20 15V/3A轉為12V/2.7A 5V/3A   5V/0.5A轉為5V/2.4A 1 21 20V/2.5A轉為15V/2.6A 9V/1A   5V/0.5A轉為5V/2.4A 1 22 20V/3A轉為20V/2.4A     5V/0.5A轉為5V/2.4A 1 23 5V/3A 9V/2A 轉為 9V/2.7A 5V/3A 5V/2.4A轉為5V/1A 0 24 9V/2.6A轉為12V/2.6A 9V/1A 5V/3A 5V/2.4A轉為5V/1A 0 25 12V/2.7A轉為15V/2.6A 5V/3A   5V/2.4A轉為5V/1A 0 26 15V/2.6A轉為20V/2.3A 9V/1A   5V/2.4A轉為5V/1A 0 27 20V/2.4A轉為20V/2.75A     5V/2.4A轉為5V/1A 0 If the judgment result of step S509 is "No", then enter step S511 and wait. For example, the common control circuit 110 waits (but not limited to) 10 minutes before returning to step S509. Table 2 is a power supply comparison table of a multi-port power supply device according to an embodiment of the present invention. CC1, CC2, CC3 and CC4 shown in Table 2 represent the configuration information of different USB ports. Table 2: Power supply comparison table for multi-port power supply devices configuration CC1 (Type-C) CC2 (Type-C) CC3 (Type-C) CC4 (Type-A) current limit flag value 17 5V/3A 5V/3A 5V/3A 5V/2.4A 0 18 9V/3A to 5V/3A 9V/2A 5V/3A 5V/0.5A to 5V/2.4A 1 19 12V/3A to 9V/2.6A 9V/1A 5V/3A 5V/0.5A to 5V/2.4A 1 20 15V/3A to 12V/2.7A 5V/3A 5V/0.5A to 5V/2.4A 1 twenty one 20V/2.5A to 15V/2.6A 9V/1A 5V/0.5A to 5V/2.4A 1 twenty two 20V/3A to 20V/2.4A 5V/0.5A to 5V/2.4A 1 twenty three 5V/3A 9V/2A to 9V/2.7A 5V/3A 5V/2.4A to 5V/1A 0 twenty four 9V/2.6A to 12V/2.6A 9V/1A 5V/3A 5V/2.4A to 5V/1A 0 25 12V/2.7A to 15V/2.6A 5V/3A 5V/2.4A to 5V/1A 0 26 15V/2.6A to 20V/2.3A 9V/1A 5V/2.4A to 5V/1A 0 27 20V/2.4A to 20V/2.75A 5V/2.4A to 5V/1A 0

請同時參考圖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 common control circuit 110 determines in step S504 that the sum of the power of the USB Type-C ports (45 watts) is equal to the difference between the rated power TP and the reserved value T1 (45 watts). Therefore, the output power of the power converters 130_1 - 130_2 does not need to be transferred.

關於第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 common control circuit 110 determines in step S504 that the sum of the power of the USB Type-C ports (60 watts) is greater than the difference between the rated power TP and the reserved value T1 (45 watts). So go to step S506. In step S506 , the common control circuit 110 determines that the power of the USB Type-C port with the maximum power (27 watts) is greater than the reserved value T1 (15 watts), and determines that the current limit flag value is equal to 0. Therefore, enter step S507. In step S507, the common control circuit 110 controls the power converters 130_1~130_2 to release the current limit of the USB Type-A ports, and controls the power converters 130_1~130_2 to transfer the power difference of the USB Type-C ports to the USB Type-A port. Specifically, the power of the USB Type-C port will be reduced by 12 watts from 27 watts to reduce the power to 15 watts (new power). The 12 watts subtracted is the stated power difference. The power difference will be allocated to the USB Type-A port, so that the current value of the USB Type-A port is increased from 0.5A to 2.4A. Next, set the current limit flag value to 1.

此外,第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 common control circuit 110 determines in step S504 that the sum of the power of the USB Type-C ports (48 watts) is greater than the difference between the rated power TP and the reserved value T1 (45 watts). So go to step S506. In step S506 , the common control circuit 110 determines that the power of the USB Type-C port with the maximum power (18 watts) is greater than the reserved value T1 (15 watts), and determines that the current limit flag value is equal to 1. Therefore, enter step S509. In step S509, the common control circuit 110 judges that the power of the USB Type-A port drops to 5 watts, which is already equal to the minimum reserved value T3, and also judges that the current limit flag value of the USB Type-A port is equal to 1 . Therefore, enter step S510. In step S510, the voltage value of the USB Type-A port is fixed at 5V, and the current value is adjusted from 2.4A to 1A. Therefore, the power of the USB Type-A port will be reduced from 12 watts to 5 watts, resulting in a power difference of 7 watts. So the aforementioned 7 Watt difference in power is, for example but not limited to, diverted to the USB Type-C port. Therefore, the power of the USB Type-C port will increase from 18 watts to 25 watts. In addition, the 23rd configuration can obtain the third reference value N3 equal to 12.3 according to the formula (3). Therefore, the voltage value of the USB port 140_2 can be adjusted to 9 volts. And the current value of the USB connection port 140_2 is the quotient of the new power and the voltage value, which is 2.7 amperes.

關於第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 common control circuit 110 determines whether at least one of the USB Type-C ports is connected to the USB device first. If the common control circuit 110 determines that the USB Type-A port is connected to the USB device first, go to step node E.

接下來,在圖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 common control circuit 110 will obtain the maximum reserved value T2 and the minimum reserved value corresponding to the USB Type-A port when the USB Type-A port is connected to the USB device. T3. In step S620, the USB Type-C port is connected to the USB device. The common control circuit 110 will obtain the reserved value T1 corresponding to the USB Type-C port and the remaining power REM when the USB Type-C port is connected to the USB device. In addition, in step S610 , since the USB Type-A port will not be limited, the value of the current limit flag is set to 1.

在步驟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 common control circuit 110 determines whether the power of the Type-C ports is the same, and whether the power of the USB Type-A port is greater than the minimum reserved value T3. If the result of the judgment is "Yes", it means that the power of the USB Type-A port is still in use, and the power of these USB Type-C ports connected to the USB device is the same, so the output power does not need to be transferred. Therefore, it will enter step S640. In step S640, the common control circuit 110 waits. For example, the common control circuit 110 waits (but not limited to) 10 minutes before returning to step S630.

在步驟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 common control circuit 110 will set the current value of the USB Type-A connection port from the maximum rated current (such as 2.4 amperes) to the minimum rated current (such as 1 ampere) in step S650, and set the current value of the USB Type-A connection port to The power difference is diverted to one of the USB Type-C ports, for example, the USB Type-C port with the highest power. The implementation details in step S650 can be sufficiently taught in step S510, so they will not be repeated here. In addition, in step S650, since the USB Type-A port can be regarded as being limited to the minimum rated current, the current limiting flag value is set to 0. Once the transfer is completed, go to step S660. In step S660, the common control circuit 110 waits. For example, the common control circuit 110 waits (but not limited to) 10 minutes before returning to step S610.

表3是依照本發明一實施例所繪示的多埠電力供應裝置的電力供應對照表。表3所示CC1、CC2、CC3與CC4表示不同USB連接埠的配置資訊。在表3所示範例中,USB Type-A連接埠連接到USB設備的時間點會早於USB Type-C連接埠連接到USB設備的時間點。 表3:多埠電力供應裝置的電力供應對照表 配置 CC1 (Type-C) CC2 (Type-C) CC3 (Type-C) CC4 (Type-A) 28 5V/3A 5V/3A 5V/3A 5V/2.4A 29 9V/2A轉為9V/2.9A 9V/1.5A 5V/3A 5V/2.4A轉為5V/1A 30 9V/2.6A轉為12V/2.6A 9V/1A 5V/3A 5V/2.4A轉為5V/1A 31 12V/2.7A轉為15V/2.7A 5V/3A   5V/2.4A轉為5V/1A 32 15V/2.6A轉為20V/2.3A 9V/1A   5V/2.4A轉為5V/1A 33 20V/2.4A轉為20V/2.7A     5V/2.4A轉為5V/1A Table 3 is a power supply comparison table of a multi-port power supply device according to an embodiment of the present invention. CC1, CC2, CC3 and CC4 shown in Table 3 indicate the configuration information of different USB ports. In the example shown in Table 3, the time point when the USB Type-A port is connected to the USB device is earlier than the time point when the USB Type-C port is connected to the USB device. Table 3: Power supply comparison table for multi-port power supply devices configuration CC1 (Type-C) CC2 (Type-C) CC3 (Type-C) CC4 (Type-A) 28 5V/3A 5V/3A 5V/3A 5V/2.4A 29 9V/2A to 9V/2.9A 9V/1.5A 5V/3A 5V/2.4A to 5V/1A 30 9V/2.6A to 12V/2.6A 9V/1A 5V/3A 5V/2.4A to 5V/1A 31 12V/2.7A to 15V/2.7A 5V/3A 5V/2.4A to 5V/1A 32 15V/2.6A to 20V/2.3A 9V/1A 5V/2.4A to 5V/1A 33 20V/2.4A to 20V/2.7A 5V/2.4A to 5V/1A

關於表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 common control circuit 110 determines in step S630 that the powers of the USB Type-C ports are the same, and the powers of the USB Type-A ports are greater than the minimum reserved value T3. The output electric energy of the power converters 130_1 - 130_2 will not be transferred. Regarding the twenty-ninth configuration shown in Table 3, the common control circuit 110 determines in step S630 that the powers of the USB Type-C ports are different. When the power of the USB Type-A port drops from 12 watts to 5 watts. So a power difference of 7 watts can be diverted to one of the USB Type-C ports. After the USB Type-C port receives the power difference, the power of the USB Type-C port will increase from 18 watts to 26.5 watts according to the power difference and the remaining power (1.5 watts). In addition, the twenty-ninth configuration can obtain the third reference value N3 equal to 8.8 according to formula (3). Therefore, the voltage value of the USB Type-C port can be adjusted to 9 volts. And the current value of the USB Type-C port is the quotient of the new power and the voltage value, which is 2.9 amperes. Regarding the 30th to 33rd configurations shown in Table 3, the process of the 30th to 33rd configurations can be sufficiently taught from the description of the 29th configuration, so it will not be repeated here.

圖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 common control circuit 110 may determine in step S710 whether the USB port 140_1 is connected to a USB device. Although the present embodiment takes the USB connection port 140_1 as an example for illustration, other USB connection ports (such as the USB connection port 140_2 ) of the multi-port power supply device 100 can be analogized with reference to the related description of the USB connection port 140_1 .

當共同控制電路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 common control circuit 110 determines that the USB port 140_1 is connected to a USB device (the determination result of step S710 is “Yes”), the common control circuit 110 executes step S720 . In step S720 , the common control circuit 110 can correspondingly control the power converter 130_1 according to the power requirement of the USB port 140_1 to supply power to the USB device (not shown) connected to the USB port 140_1 . Step S720 shown in FIG. 7 can be deduced by referring to related descriptions of steps S210 and S220 shown in FIG. 2 , so details are not repeated here. Based on the PD protocol, the common control circuit 110 can send a PDO (or APDO) to the USB device (not shown) connected to the USB port 140_1 in step S720 to determine the protocol power. The common control circuit 110 can correspondingly control the power converter 130_1 according to the protocol power to supply power to the USB port 140_1 .

在步驟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 common control circuit 110 can check the adjustment trend of the protocol power of the USB port. For example, the power converter 130_1 can supply power to the USB port 140_1 through a current path, and the common control circuit 110 can pass a current detection circuit (not shown in FIG. 1 ) and a voltage detection circuit (not shown in FIG. 1 ). ) to detect the actual current and actual voltage of the current path. The common control circuit 110 can obtain the actual output power of the USB port 140_1 based on the actual current and the actual voltage. The common control circuit 110 can determine whether the current PDO or APDO (protocol power) matches the actual output power of the USB port 140_1 . If the actual output power is lower than the agreed power, it means that the adjustment trend of the agreed power is "downward adjustment". If the actual output power is higher than the agreed power, it means that the adjustment trend of the agreed power is "upward adjustment".

在步驟S740中,共同控制電路110可以檢查連接USB連接埠140_1的USB設備(未繪示)的額定最低充電功率。USB設備(未繪示)可能具有額定最低充電功率。當PDO或是APDO(協議功率)小於額定最低充電功率時,這個USB設備(未繪示)的充電操作會停止。在實際應用中,充電操作的停止是不樂見的。共同控制電路110可以獲知連接USB連接埠140_1的USB設備(未繪示)的額定最低充電功率。本實施例並不限制「共同控制電路110獲知額定最低充電功率」的具體實現方式。In step S740 , the common control circuit 110 may check the rated minimum charging power of the USB device (not shown) connected to the USB port 140_1 . USB devices (not shown) may have a minimum charging power rating. When the PDO or APDO (protocol power) is less than the rated minimum charging power, the charging operation of the USB device (not shown) will stop. In practical applications, the cessation of the charging operation is undesirable. The common control circuit 110 can obtain the rated minimum charging power of the USB device (not shown) connected to the USB port 140_1 . This embodiment does not limit the specific implementation of "the common control circuit 110 obtains the rated minimum charging power".

舉例來說,在一些實施例中,當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 common control circuit 110 may send an inquiry command to the USB device to obtain the rated minimum charging power of the USB device. The inquiry command may be a vendor command (vendor command) conforming to the USB specification.

在另一些實施例中,當USB設備(未繪示)連接至USB連接埠140_1時,共同控制電路110可以從查找表取得USB設備(未繪示)的額定最低充電功率。本實施例並不限制所述查找表的具體實現方式。舉例來說,所述查找表可以是下述表4或表5所示查找表。 表4:查找表 PID VID Pmin                   表5:查找表 PID VID 協議功率 Pmin Vmin Imin                                     In other embodiments, when a USB device (not shown) is connected to the USB port 140_1 , the common control circuit 110 may obtain the rated minimum charging power of the USB device (not shown) from a lookup table. This embodiment does not limit the specific implementation manner of the lookup table. For example, the lookup table may be the lookup table shown in Table 4 or Table 5 below. Table 4: Lookup Table PIDs VID P min Table 5: Lookup Table PIDs VID protocol power P min V min Imin

當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 common control circuit 110 can obtain the identification (identification, ID) information of the USB device (not shown), such as product identification (Product ID, PID) information and supply Vendor ID (VID) information. In some embodiments, the common control circuit 110 can obtain the rated minimum charging power Pmin of the USB device (not shown) from the lookup table shown in Table 4 according to the PID information and the VID information. In some other embodiments, the common control circuit 110 can obtain the rated minimum charging power Pmin, the rated minimum charging voltage Vmin and the rated minimum charging current of the USB device (not shown) from the lookup table shown in Table 5 according to the PID information and VID information Imin.

當查找表沒有所述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 common control circuit 110 can send an inquiry command to the USB device (not shown) connected to the USB port 140_1 to obtain the USB device (not shown) Shown) the rated minimum charging power. The common control circuit 110 can record the rated minimum charging power provided by the USB device (not shown) in a lookup table for future use.

當查找表沒有所述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 common control circuit 110 can send an inquiry command to the USB device (not shown) connected to the USB port 140_1, the USB device can only reply A rated charging power is sent to the common control circuit 110. This rated charging power is only sent according to the USB PD protocol, and it does not mean that it is the rated minimum charging power of the USB device. At this time, the common control circuit 110 needs to use the following method to find out the rated minimum charging power of the USB device.

共同控制電路110收到此額定充電功率時可以先提供對應的協議功率給所述USB設備。共同控制電路110可以通過電流偵測電路(未繪示於圖1)去偵測所述電流路徑的實際電流。共同控制電路110可以基於所述實際電流去獲知USB連接埠140_1有無在進行充電。共同控制電路110可以判斷所述實際電流是否大於一自訂值。若實際電流大於該自訂值,則接著會將協議功率降15W(一步階step),再去偵測所述電流路徑的實際電流。以此類推,直到實際電流小於該自訂值時,則表示當時下降的協議功率為所述USB設備的額定最低充電功率。共同控制電路110可以將USB設備(未繪示)所提供的額定最低充電功率紀錄於查找表,以便日後使用。When the common control circuit 110 receives the rated charging power, it can first provide the corresponding protocol power to the USB device. The common control circuit 110 can detect the actual current of the current path through a current detection circuit (not shown in FIG. 1 ). The common control circuit 110 can know whether the USB port 140_1 is charging based on the actual current. The common control circuit 110 can determine whether the actual current is greater than a predetermined value. If the actual current is greater than the custom value, then the protocol power will be reduced by 15W (step by step), and then the actual current of the current path will be detected. By analogy, until the actual current is less than the custom value, it means that the reduced protocol power at that time is the rated minimum charging power of the USB device. The common control circuit 110 can record the rated minimum charging power provided by the USB device (not shown) in a lookup table for future use.

若實際電流小於該自訂值,則接著會將協議功率加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 common control circuit 110 can record the rated minimum charging power provided by the USB device (not shown) in a lookup table for future use.

在步驟S740中,共同控制電路110可以檢查協議功率與USB設備(未繪示)的額定最低充電功率。當關於USB連接埠140_1的協議功率的調整趨勢將會使協議功率大於連接USB連接埠140_1的USB設備(未繪示)的額定最低充電功率時(步驟S740的判斷結果為「否」),共同控制電路110可以進行步驟S750。或者,當連接USB連接埠140_1的USB設備(未繪示)並沒有額定最低充電功率的操作限制時(步驟S740的判斷結果為「否」),共同控制電路110可以進行步驟S750。In step S740 , the common control circuit 110 may check the protocol power and the rated minimum charging power of the USB device (not shown). When the adjustment trend of the protocol power of the USB port 140_1 will make the protocol power greater than the rated minimum charging power of the USB device (not shown) connected to the USB port 140_1 (the judgment result of step S740 is "No"), jointly The control circuit 110 may proceed to step S750. Alternatively, when the USB device (not shown) connected to the USB port 140_1 does not have an operating limit of the rated minimum charging power (the determination result of step S740 is "No"), the common control circuit 110 may proceed to step S750.

在步驟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 common control circuit 110 can dynamically change the protocol power of the USB connection port 140_1 according to the actual output power of the USB connection port 140_1. That is, the common control circuit 110 can dynamically change the PDO (or APDO) according to the actual output power in step S750, and the common control circuit 110 can compare the protocol power of the USB port 140_1 at the first time with the power of the USB port 140_1 at the second time. The power difference between the protocol power at two times is dynamically transferred to other USB ports of the multi-port power supply device 100 (such as the USB port 140_2 ). Step S750 shown in FIG. 7 can be deduced by referring to the related descriptions of steps S210-S240 shown in FIG. 2, or referring to the related descriptions in FIG.

當關於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 common control circuit 110 can perform the steps S760. In step S760 , even if the actual power of the USB port 140_1 is lower than the protocol power of the USB port 140_1 , the common control circuit 110 still does not change the PDO or APDO (protocol power) of the USB port 140_1 . The purpose of step S760 is to prevent the protocol power (PDO or APDO) from being lower than the rated minimum charging power of the USB device (not shown), thereby avoiding stopping the charging operation of the USB device (not shown).

在協議功率被維持不變的期間,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 common control circuit 110 can dynamically transfer the power difference between the protocol power and the actual output power to other USB ports (such as the USB port 140_2 ) in step S770 . When a USB device (not shown) is disconnected from the USB port 140_1 , the common control circuit 110 can transfer the protocol power of the USB port 140_1 to other USB ports (such as the USB port 140_2 ).

在圖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 common control circuit 110 includes a power distribution circuit 111 and a plurality of control circuits (such as the control circuits 112_1 and 112_2 shown in FIG. 1 ). The control circuits 112_1-112_2 are respectively coupled to the USB ports 140_1-140_2 in a one-to-one manner, so as to obtain the actual output power of the USB ports 140_1-140_2, and respectively control the power converters 130_1-130_2 to supply power to the USB ports 140_1 ~140_2. For example, the control circuit 112_1 can detect the actual current and the actual voltage of the USB port 140_1 through a current detection circuit (not shown in FIG. 1 ) and a voltage detection circuit (not shown in FIG. 1 ), and based on The actual current and actual voltage of the USB port 140_1 are used to obtain the actual output power of the USB port 140_1. By analogy, the control circuit 112_2 can detect the actual current and actual voltage of the USB port 140_2 through the current detection circuit (not shown in FIG. 1 ) and the voltage detection circuit (not shown in FIG. 1 ), and based on The actual current and actual voltage of the USB port 140_2 are used to obtain the actual output power of the USB port 140_2.

功率分配電路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 power distribution circuit 111 is coupled to the control circuits 112_1 - 112_2 to obtain the actual output power of the USB ports 140_1 - 140_2 . In step S730 , the power distribution circuit 111 can check/determine the adjustment trend of the protocol power of the USB ports 140_1 - 140_2 based on the actual output power. For example, the power distribution circuit 111 can determine whether the current PDO or APDO (protocol power) matches the actual output power of the USB port 140_1 . When the adjustment trend of the protocol power of the USB port 140_1 makes the protocol power of the USB port 140_1 greater than the rated minimum charging power of the USB device (not shown) connected to the USB port 140_1, the power distribution circuit 111 can be based on the USB port. The actual output power of 140_1 dynamically changes the protocol power of USB port 140_1 (refer to the relevant description of step S750 shown in FIG. 7 for details).

當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 power distribution circuit 111 does not change the protocol of the USB port 140_1 The power, and the power distribution circuit 111 dynamically transfers the power difference between the protocol power of the USB port 140_1 and the actual output power to other USB ports (such as the USB port 140_2 ).

圖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 power supply device 800 according to another embodiment of the present invention. In the embodiment shown in FIG. 8 , the multi-port power supply device 800 includes a plurality of USB ports, such as a USB port 840_1 . The multi-port power supply device 800 further includes a control circuit 812_1 , a power converter 830_1 , a current detection circuit 850_1 , a power switch 860_1 and a voltage detection circuit 870_1 . The multi-port power supply device 800, control circuit 812_1, power converter 830_1 and USB connection port 840_1 shown in FIG. 8 can refer to the multi-port power supply device 100, control circuit 112_1, power converter 130_1 and USB connection port 140_1 shown in FIG. Relevant instructions are analogized, so I won’t repeat them here. Based on practical design considerations, in some embodiments, the multi-port power supply device 100, the control circuit 112_1, the power converter 130_1 and the USB connection port 140_1 shown in FIG. 1 can refer to the multi-port power supply device 800 and the control circuit shown in FIG. Instructions for 812_1, power adapter 830_1 and USB port 840_1.

在圖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 power supply device 800 can be dynamically transferred to USB port 840_1.

舉例來說,多埠電力供應裝置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 power supply device 800 further includes a power distribution circuit 811 . The power distribution circuit 811 shown in FIG. 8 can be deduced with reference to the related description of the power distribution circuit 111 shown in FIG. 1 , so details are not repeated here. The power distribution circuit 811 is coupled to the control circuit 812_1. When the control circuit 812_1 determines that the USB port 840_1 is electrically connected to a USB device (not shown), the control circuit 812_1 can notify the power distribution circuit 811 so that the power distribution circuit 811 connects the other USB ports of the multi-port power supply device 800 A part of the protocol power (not shown) is dynamically transferred to the USB port 840_1.

舉例來說,假設多埠電力供應裝置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 power supply device 800 is 100 watts, and the 100 watts has been allocated to other USB ports (not shown) of the multi-port power supply device 800 . It is also assumed that the USB port 840_1 is a USB Type-A port. When the control circuit 812_1 notifies the power distribution circuit 811 that "the USB port 840_1 is electrically connected to a USB device", the power distribution circuit 811 can transfer the protocol power (a total of 100 watts) of other USB ports (not shown) in step S940 Part of (for example, 12 watts, determined according to the actual design) is dynamically transferred to the USB port 840_1. After the transfer is completed, the protocol power of other USB ports (not shown) is 88W, and the protocol power of USB port 840_1 is 12W.

在多埠電力供應裝置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 power supply device 800 is dynamically transferred to the USB port 840_1, the control circuit 812_1 can determine whether to turn on the USB connection according to the actual current I1 in step S950. Power switch 860_1 for port 840_1 (first USB port). For example, when the actual current I1 is less than the threshold (for example, 100mA, determined according to the actual design), the control circuit 812_1 can turn off the power switch 860_1, and the power converter 830_1 can pass the body diode (body diode) of the power switch 860_1 ) to supply power to the power pin VBUS of the USB port 840_1. When the actual current I1 is greater than the threshold (eg, 100mA), the control circuit 812_1 can turn on the power switch 860_1 , so that the power converter 830_1 supplies power to the USB port 840_1 through the power switch 860_1 .

功率分配電路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 power distribution circuit 811 can correspondingly control the power converter 830_1 according to the power requirement of the USB port 840_1 to supply power to a USB device (not shown) connected to the USB port 840_1 . That is, the power allocation circuit 811 can determine the protocol power according to the power requirement of the USB port 840_1 . The control circuit 812_1 can also notify the power distribution circuit 811 of the actual voltage V1 and the actual current I1. The power distribution circuit 811 can obtain the actual output power of the USB port 840_1 based on the actual voltage V1 and the actual current I1. The power allocation circuit 811 can dynamically transfer the power difference between the actual output power of the USB port 840_1 at the first time (first power) and the actual output power of the USB port 840_1 at the second time (second power) to Other USB ports (not shown) of the multi-port power supply device 800 . For example, the power distribution circuit 811 can dynamically transfer the power difference of the USB port 840_1 to other USB ports (not shown) of the multi-port power supply device 800 by referring to the relevant description of step S750 shown in FIG. 7 . .

圖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 resistor 871 , a current source 872 and a voltage comparator 873 . The resistance value of the resistor 871 can be determined according to the actual design. For example, the resistance value of the resistor 871 can be 1.3KΩ or other resistance values. The first end of the resistor 871 is coupled to the current path between the power switch 860_1 and the USB port 840_1 to receive the actual voltage V1. The first terminal of the current source 872 is coupled to the second terminal of the resistor 871 to provide a reference current (for example, 300uA, determined according to actual design). The second terminal of the current source 872 is coupled to the reference voltage VREF (for example, 5.5V, determined according to actual design). A first input terminal (such as an inverting input terminal) and a second input terminal (such as a non-inverting input terminal) of the voltage comparator 873 are respectively coupled to the first terminal and the second terminal of the resistor 871 . The output terminal of the voltage comparator 873 outputs the voltage comparison result DET to the control circuit 812_1 . According to actual design considerations, the voltage comparator 873 may include a Schmitt trigger or other voltage comparison circuits/elements.

在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 resistor 871 , the voltage comparison result DET output by the voltage comparator 873 is at a low logic level.

在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 resistor 871 . The current flows through the resistor 871, so the voltage comparison result DET output by the voltage comparator 873 is at a high logic level. Therefore, the control circuit 812_1 can notify the power distribution circuit 811 so that the power distribution circuit 811 dynamically transfers part of the protocol power of other USB ports (not shown) of the multi-port power supply device 800 to the USB port 840_1 .

在功率分配電路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 power distribution circuit 811 transfers the power to the USB port 840_1, the control circuit 812_1 can decide whether to turn on the power switch 860_1 according to the actual current I1. For example, when the actual current I1 falls within the range of 1mA to 100mA, the control circuit 812_1 can turn off the power switch 860_1, and at this time the power converter 830_1 can supply power to the USB port 840_1 through the body diode of the power switch 860_1 Power pin VBUS. When the actual current I1 falls within the range of 100mA to 2.4A, the control circuit 812_1 can turn on the power switch 860_1, so that the power converter 830_1 supplies power to the USB port 840_1 through the power switch 860_1.

圖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 power supply device 1100 according to yet another embodiment of the present invention. In the embodiment shown in FIG. 11 , the multi-port power supply device 1100 includes a plurality of USB ports, such as a USB port 1140_1 . The multi-port power supply device 1100 further includes a power distribution circuit 1111 , a control circuit 1112_1 , a power converter 1130_1 , a current detection circuit 1150_1 , a power switch 1160_1 and a voltage detection circuit 1170_1 . The multi-port power supply device 1100, power distribution circuit 1111, control circuit 1112_1, power converter 1130_1, USB port 1140_1, current detection circuit 1150_1, power switch 1160_1 and voltage detection circuit 1170_1 shown in FIG. The relevant descriptions of the multi-port power supply device 800, the power distribution circuit 811, the control circuit 812_1, the power converter 830_1, the USB connection port 840_1, the current detection circuit 850_1, the power switch 860_1 and the voltage detection circuit 870_1 are deduced by analogy. Let me repeat. The difference from the embodiment shown in FIG. 8 is that the current detection circuit 1150_1 shown in FIG. 11 is configured in the current path between the power switch 1160_1 and the voltage detection circuit 1170_1 .

圖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 power supply device 1200 according to yet another embodiment of the present invention. In the embodiment shown in FIG. 12 , the multi-port power supply device 1200 includes multiple USB ports, such as the USB port 1240_1 . The multi-port power supply device 1200 further includes a power distribution circuit 1211 , a control circuit 1212_1 , a power converter 1230_1 , a current detection circuit 1250_1 , a power switch 1260_1 and a voltage detection circuit 1270_1 . The multi-port power supply device 1200, power distribution circuit 1211, control circuit 1212_1, power converter 1230_1, USB connection port 1240_1, current detection circuit 1250_1, power switch 1260_1 and voltage detection circuit 1270_1 shown in FIG. The relevant descriptions of the multi-port power supply device 800, the power distribution circuit 811, the control circuit 812_1, the power converter 830_1, the USB connection port 840_1, the current detection circuit 850_1, the power switch 860_1 and the voltage detection circuit 870_1 are deduced by analogy. Let me repeat. The difference from the embodiment shown in FIG. 8 is that the current detection circuit 1250_1 shown in FIG. 12 is configured in the current path between the voltage detection circuit 1270_1 and the USB port 1240_1 .

依照不同的設計需求,上述共同控制電路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 common control circuit 110, power distribution circuit 111, control circuit 112_1, control circuit 112_2, power distribution circuit 811, control circuit 812_1, power distribution circuit 1111, control circuit 1112_1, power distribution circuit 1211 and (or Yes) The control circuit 1212_1 can be implemented in the form of hardware, firmware, software (program), or a combination of the above three. In terms of hardware form, the above-mentioned common control circuit 110, power distribution circuit 111, control circuit 112_1, control circuit 112_2, power distribution circuit 811, control circuit 812_1, power distribution circuit 1111, control circuit 1112_1, power distribution circuit 1211 and ( Or) the control circuit 1212_1 may be implemented as a logic circuit on an integrated circuit (integrated circuit). The above common control circuit 110, power distribution circuit 111, control circuit 112_1, control circuit 112_2, power distribution circuit 811, control circuit 812_1, power distribution circuit 1111, control circuit 1112_1, power distribution circuit 1211 and (or) control circuit 1212_1 Related functions can be implemented as hardware by using hardware description languages (hardware description languages, such as Verilog HDL or VHDL) or other suitable programming languages. For example, the above-mentioned common control circuit 110, power distribution circuit 111, control circuit 112_1, control circuit 112_2, power distribution circuit 811, control circuit 812_1, power distribution circuit 1111, control circuit 1112_1, power distribution circuit 1211 and (or) Related functions of the control circuit 1212_1 may be implemented in one or more controllers, microcontrollers, microprocessors, application-specific integrated circuits (Application-specific integrated circuit, ASIC), digital signal processors (digital signal processor, DSP) ), Field Programmable Gate Array (Field Programmable Gate Array, FPGA) and/or various logic blocks, modules and circuits in other processing units.

以軟體形式及/或韌體形式而言,上述共同控制電路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 common control circuit 110, power distribution circuit 111, control circuit 112_1, control circuit 112_2, power distribution circuit 811, control circuit 812_1, power distribution circuit 1111, control circuit 1112_1, power Related functions of the distribution circuit 1211 and (or) the control circuit 1212_1 may be implemented as programming codes. For example, the common control circuit 110, the power distribution circuit 111, the control circuit 112_1, the control circuit 112_2, and the power distribution circuit 811 are implemented using general programming languages (programming languages, such as C, C++ or combination language) or other suitable programming languages. , the control circuit 812_1 , the power distribution circuit 1111 , the control circuit 1112_1 , the power distribution circuit 1211 and (or) the control circuit 1212_1 . The programming code may be recorded/stored in a "non-transitory computer readable medium". In some embodiments, the non-transitory computer readable medium includes, for example, a read only memory (Read Only Memory, ROM) and/or a storage device. The storage device includes a hard disk drive (HDD), a solid-state drive (SSD) or other storage devices. A central processing unit (Central Processing Unit, CPU), a controller, a microcontroller or a microprocessor can read and execute the programming code from the non-transitory computer-readable medium, thereby realizing the above-mentioned common control circuit 110 , power distribution circuit 111, control circuit 112_1, control circuit 112_2, power distribution circuit 811, control circuit 812_1, power distribution circuit 1111, control circuit 1112_1, power distribution circuit 1211 and (or) related functions of the control circuit 1212_1.

綜上所述,在一些實施例中,所述多埠電力供應裝置可以檢查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: common control circuit 111, 811, 1111, 1211: power distribution circuit 112_1, 112_2, 812_1, 1112_1, 1212_1: control circuit 130_1, 130_2, 830_1, 1130_1, 1230_1: power converter 140_1, 140_2, 840_1, 1140_1, 1240_1: USB ports 850_1, 1150_1, 1250_1: current detection circuit 860_1, 1160_1, 1260_1: power switch 870_1, 1170_1, 1270_1: voltage detection circuit 871: resistance 872: Current source 873:Voltage Comparator DET: voltage comparison result I1: actual current S210~S240, S310~S330, S410~S470, S502~S511, S610~S660, S710~S770, S910~S950: steps V1: actual voltage VREF: reference voltage

圖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)

一種多埠電力供應裝置,包括:多個USB連接埠,包括一第一USB連接埠;一電源轉換器,被配置為通過一電流路徑供電給該第一USB連接埠;一功率開關,配置在該電流路徑中;一電流偵測電路,配置在該電流路徑中,被配置為偵測該電流路徑的一實際電流;一電壓偵測電路,被配置為偵測該功率開關至該第一USB連接埠之間的該電流路徑的一實際電壓;以及一控制電路,被配置為控制該功率開關,其中該控制電路依據該實際電壓判斷該第一USB連接埠有無電性連接一USB設備,在該控制電路判斷該第一USB連接埠沒有電性連接該USB設備的情況下,該控制電路截止該功率開關,以及在該控制電路判斷該第一USB連接埠電性連接該USB設備的情況下,在該些USB連接埠中的至少一其他USB連接埠的一協議功率的一部分被動態地轉移給該第一USB連接埠之後,該控制電路依據該實際電流決定是否導通該功率開關。 A multi-port power supply device, comprising: a plurality of USB connection ports, including a first USB connection port; a power converter configured to supply power to the first USB connection port through a current path; a power switch configured on In the current path; a current detection circuit, configured in the current path, configured to detect an actual current in the current path; a voltage detection circuit, configured to detect the power switch to the first USB an actual voltage of the current path between the ports; and a control circuit configured to control the power switch, wherein the control circuit determines whether the first USB port is electrically connected to a USB device according to the actual voltage, and in 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, and when the control circuit determines that the first USB connection port is electrically connected to the USB device After a portion of a protocol power of at least one other USB port among the USB ports is dynamically transferred to the first USB port, the control circuit determines whether to turn on the power switch according to the actual current. 如請求項1所述的多埠電力供應裝置,其中,當該實際電流小於一門檻時,該控制電路截止該功率開關,以及該電源轉換器通過該功率開關的一本體二極體供電給該第一USB連接埠;以及 當該實際電流大於該門檻時,該控制電路導通該功率開關,使得該電源轉換器通過該功率開關供電給該第一USB連接埠。 The multi-port power supply device as described in claim 1, wherein, when the actual current is less than a threshold, the control circuit turns off the power switch, and the power converter supplies power to the power switch through a body diode of the power switch a first USB port; and When the actual current is greater than the threshold, the control circuit turns on the power switch, so that the power converter supplies power to the first USB port through the power switch. 如請求項1所述的多埠電力供應裝置,其中,在該控制電路判斷該第一USB連接埠沒有電性連接該USB設備的情況下,該控制電路禁能該電源轉換器;以及在該控制電路判斷該第一USB連接埠電性連接該USB設備的情況下,該控制電路致能該電源轉換器。 The multi-port power supply device as claimed in claim 1, wherein, when the control circuit determines that the first USB port is not electrically connected to the USB device, the control circuit disables the power converter; and When the control circuit determines that the first USB port is electrically connected to the USB device, the control circuit enables the power converter. 如請求項1所述的多埠電力供應裝置,更包括:一功率分配電路,耦接至該控制電路;其中在該控制電路判斷該第一USB連接埠電性連接該USB設備的情況下,該控制電路通知該功率分配電路去將該多埠電力供應裝置的該至少一其他USB連接埠的該協議功率的一部分動態地轉移給該第一USB連接埠。 The multi-port power supply device as described in claim 1, further comprising: a power distribution circuit coupled to the control circuit; wherein when the control circuit determines that the first USB port is electrically connected to the USB device, The control circuit notifies the power distribution circuit to dynamically transfer a portion of the protocol power of the at least one other USB port of the multi-port power supply device to the first USB port. 如請求項4所述的多埠電力供應裝置,其中該控制電路將該實際電壓與該實際電流通知該功率分配電路,該功率分配電路將該第一USB連接埠在一第一時間的一第一功率與該第一USB連接埠在一第二時間的一第二功率之間的一功率差異動態地轉移給該至少一其他USB連接埠。 The multi-port power supply device as described in claim 4, wherein the control circuit notifies the power distribution circuit of the actual voltage and the actual current, and the power distribution circuit uses the first USB connection port at a first time at a first time A power difference between a power and a second power of the first USB port at a second time is dynamically transferred to the at least one other USB port. 如請求項1所述的多埠電力供應裝置,其中該電源轉換器包括一直流直流轉換器。 The multi-port power supply device as claimed in claim 1, wherein the power converter comprises a DC-DC converter. 如請求項1所述的多埠電力供應裝置,其中該電壓偵測電路包括: 一電阻,具有一第一端耦接至該電流路徑以接收該實際電壓;一電流源,耦接至該電阻的一第二端以提供一參考電流,其中該電流源耦接至一參考電壓;以及一電壓比較器,具有一第一輸入端與一第二輸入端分別耦接至該電阻的該第一端與該第二端,其中該電壓比較器的一輸出端輸出一電壓比較結果。 The multi-port power supply device as claimed in claim 1, wherein the voltage detection circuit includes: A resistor having a first end coupled to the current path to receive the actual voltage; a current source coupled to a second end of the resistor to provide a reference current, wherein the current source is coupled to a reference voltage and a voltage comparator having a first input terminal and a second input terminal respectively coupled to the first terminal and the second terminal of the resistor, wherein an output terminal of the voltage comparator outputs a voltage comparison result . 如請求項7所述的多埠電力供應裝置,其中該電壓比較器包括一施密特觸發器。 The multi-port power supply device as claimed in claim 7, wherein the voltage comparator includes a Schmitt trigger. 一種多埠電力供應裝置的操作方法,其中該多埠電力供應裝置包括多個USB連接埠、一電源轉換器、一功率開關、一電流偵測電路、一電壓偵測電路與一控制電路,該些USB連接埠包括一第一USB連接埠,該電源轉換器適於通過一電流路徑供電給該第一USB連接埠,該功率開關被配置在該電流路徑中,該操作方法包括:由該電流偵測電路偵測該電流路徑的一實際電流;由該電壓偵測電路偵測該功率開關至該第一USB連接埠之間的該電流路徑的一實際電壓;由該控制電路依據該實際電壓判斷該第一USB連接埠有無電性連接一USB設備;在該控制電路判斷該第一USB連接埠沒有電性連接該USB設備的情況下,由該控制電路截止該功率開關;以及在該控制電路判斷該第一USB連接埠電性連接該USB設備 的情況下,在該些USB連接埠中的該至少一其他USB連接埠的一協議功率的一部分被動態地轉移給該第一USB連接埠之後,由該控制電路依據該實際電流決定是否導通該功率開關。 A method for operating a multi-port power supply device, wherein the multi-port power supply device includes multiple USB ports, a power converter, a power switch, a current detection circuit, a voltage detection circuit and a control circuit, the The USB ports include a first USB port, the power converter is adapted to supply power to the first USB port through a current path, the power switch is configured in the current path, and the method of operation includes: using the current path The detection circuit detects an actual current of the current path; the voltage detection circuit detects an actual voltage of the current path between the power switch and the first USB connection port; the control circuit according to the actual voltage judging whether the first USB connection port is electrically connected to a USB device; when the control circuit judges that the first USB connection port is not electrically connected to the USB device, the control circuit turns off the power switch; and The circuit judges that the first USB port is electrically connected to the USB device In this case, after a part of a protocol power of the at least one other USB port among the USB ports is dynamically transferred to the first USB port, the control circuit decides whether to turn on the USB port according to the actual current. power switch. 如請求項9所述的操作方法,更包括:當該實際電流小於一門檻時,由該控制電路截止該功率開關,以及由該電源轉換器通過該功率開關的一本體二極體供電給該第一USB連接埠;以及當該實際電流大於該門檻時,由該控制電路導通該功率開關,使得該電源轉換器通過該功率開關供電給該第一USB連接埠。 The operation method as described in claim 9, further comprising: when the actual current is less than a threshold, the control circuit turns off the power switch, and the power converter supplies power to the power switch through a body diode of the power switch the first USB connection port; and when the actual current is greater than the threshold, the control circuit turns on the power switch so that the power converter supplies power to the first USB connection port through the power switch. 如請求項9所述的操作方法,更包括:在該控制電路判斷該第一USB連接埠沒有電性連接該USB設備的情況下,由該控制電路禁能該電源轉換器;以及在該控制電路判斷該第一USB連接埠電性連接該USB設備的情況下,由該控制電路致能該電源轉換器。 The operation method as described in claim 9, further comprising: when the control circuit judges that the first USB port is not electrically connected to the USB device, disabling the power converter by the control circuit; and When the circuit judges that the first USB connection port is electrically connected to the USB device, the control circuit enables the power converter. 如請求項9所述的操作方法,更包括:在該控制電路判斷該第一USB連接埠電性連接該USB設備的情況下,由該控制電路通知該多埠電力供應裝置的一功率分配電路去將該多埠電力供應裝置的至少一其他USB連接埠的一協議功率的一部分動態地轉移給該第一USB連接埠。 The operation method as described in claim 9, further comprising: when the control circuit judges that the first USB port is electrically connected to the USB device, the control circuit notifies a power distribution circuit of the multi-port power supply device to dynamically transfer a portion of a protocol power of at least one other USB port of the multi-port power supply device to the first USB port. 如請求項12所述的操作方法,更包括:由該控制電路將該實際電壓與該實際電流通知該功率分配電路;以及 由該功率分配電路將該第一USB連接埠在一第一時間的一第一功率與該第一USB連接埠在一第二時間的一第二功率之間的一功率差異動態地轉移給該至少一其他USB連接埠。 The operation method according to claim 12, further comprising: notifying the power distribution circuit of the actual voltage and the actual current by the control circuit; and A power difference between a first power of the first USB connection port at a first time and a second power of the first USB connection port at a second time is dynamically transferred to the power distribution circuit by the power distribution circuit At least one other USB port. 如請求項9所述的操作方法,其中該電源轉換器包括一直流直流轉換器。 The operating method according to claim 9, wherein the power converter comprises a DC-DC converter.
TW110130380A 2020-10-29 2021-08-17 Multi-port power supply device and operation method thereof TWI793724B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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