TWM609409U - Power management device - Google Patents

Power management device Download PDF

Info

Publication number
TWM609409U
TWM609409U TW109214094U TW109214094U TWM609409U TW M609409 U TWM609409 U TW M609409U TW 109214094 U TW109214094 U TW 109214094U TW 109214094 U TW109214094 U TW 109214094U TW M609409 U TWM609409 U TW M609409U
Authority
TW
Taiwan
Prior art keywords
power
power supply
supply device
protocol
electronic product
Prior art date
Application number
TW109214094U
Other languages
Chinese (zh)
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 威鋒電子股份有限公司
Publication of TWM609409U publication Critical patent/TWM609409U/en

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

A power management device for a consumer product are provided. The power management device includes a memory, a configuration channel interface circuit and a control circuit. When a power supply device is electrically connected to a connector of the consumer product, the control circuit performs a power delivery protocol conforming to a USB specification to the power supply device through the configuration channel interface circuit and a configuration channel pin of the connector, so as to determine a power mode in which the power supply device supplies power to the consumer product. When the power delivery protocol is successful, based on the at least one protocol configuration file stored in the memory, the control circuit performs a vendor-defined messaging protocol to the power supply device through the configuration channel interface circuit and the configuration channel pin, so as to determine whether change the power mode.

Description

電力管理裝置Power management device

本新型創作是有關於一種消費性電子產品,且特別是有關於消費性電子產品的一種電力管理裝置。The new creation relates to a consumer electronic product, and in particular to a power management device for consumer electronic products.

一般而言,使用者會使用充電器(charger)或適配器(adapter)來供電給消費性電子產品,例如檯燈、喇叭或是其他消費性電子產品。充電器與消費性電子產品之間的連接介面一般是符合標準規格的連接器。舉例來說,充電器與消費性電子產品之間的連接介面可能是通用串接匯流排(Universal Serial Bus,USB)規格的USB type-A連接器或是USB type-C連接器。製造廠商可能會制定特別的電源協定(power source protocol),以便讓充電器(或適配器)提供比標準規格還要大的功率給消費性電子產品。基於所述特別的電源協定的進行,充電器(或適配器)與消費性電子產品之間的電源模式可以從標準規格模式被調整為高功率模式,以提昇充電器(或適配器)的輸出功率。當充電器(或適配器)與消費性電子產品之間的電源模式被調整為高功率模式時,比標準規格還要大的功率可以使充電器(或適配器)對消費性電子產品提供較大的功率需求。Generally speaking, users will use chargers or adapters to supply power to consumer electronic products, such as desk lamps, speakers, or other consumer electronic products. The connection interface between the charger and the consumer electronic product is generally a connector that meets the standard specifications. For example, the connection interface between the charger and the consumer electronic product may be a universal serial bus (Universal Serial Bus, USB) specification USB type-A connector or a USB type-C connector. Manufacturers may formulate special power source protocols to allow chargers (or adapters) to provide more power than standard specifications to consumer electronic products. Based on the execution of the special power agreement, the power mode between the charger (or adapter) and the consumer electronic product can be adjusted from the standard specification mode to the high power mode to increase the output power of the charger (or adapter). When the power mode between the charger (or adapter) and the consumer electronic product is adjusted to the high-power mode, the power greater than the standard specification can enable the charger (or adapter) to provide greater power to the consumer electronic product. Power requirements.

然而,不同製造廠商往往制定出不同的電源協定。舉例來說,假設「充電器A」可以進行「電源協定A」(但不能進行「電源協定B」),而「充電器B」可以進行「電源協定B」(但不能進行「電源協定A」)。當「充電器A」電性連接至可以進行「電源協定A」的消費性電子產品時,基於「電源協定A」的進行,充電器A與消費性電子產品可以操作在高功率模式。然而,當「充電器B」電性連接至可以進行「電源協定A」的消費性電子產品時,因為消費性電子產品無法進行「電源協定B」,致使充電器B與消費性電子產品僅可以操作在標準規格模式。However, different manufacturers often develop different power agreements. For example, suppose "Charger A" can perform "Power Protocol A" (but not "Power Protocol B"), and "Charger B" can perform "Power Protocol B" (but cannot perform "Power Protocol A" ). When "Charger A" is electrically connected to a consumer electronic product that can perform "Power Protocol A", based on the process of "Power Protocol A", charger A and the consumer electronic product can operate in a high-power mode. However, when "Charger B" is electrically connected to a consumer electronic product that can perform "Power Protocol A", because the consumer electronic product cannot perform "Power Protocol B", the charger B and the consumer electronic product can only Operate in standard specification mode.

須注意的是,「先前技術」段落的內容是用來幫助了解本新型創作。在「先前技術」段落所揭露的部份內容(或全部內容)可能不是所屬技術領域中具有通常知識者所知道的習知技術。在「先前技術」段落所揭露的內容,不代表該內容在本新型創作申請前已被所屬技術領域中具有通常知識者所知悉。It should be noted that the content of the "prior art" paragraph is used to help understand the creation of this new type. Part of the content (or all of the content) disclosed in the "Prior Art" paragraph may not be the conventional technology known to those with ordinary knowledge in the technical field. 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 for the creation of the new model.

本新型創作提供一種電力管理裝置,其可以進行電源裝置所對應的協定,以決定電源裝置供電給消費性電子產品的電源模式。The present invention provides a power management device, which can carry out the agreement corresponding to the power device to determine the power supply mode of the power device to supply consumer electronic products.

在本新型創作的一實施例中,上述的電力管理裝置適於被配置在消費性電子產品。所述電力管理裝置包括記憶體、配置通道介面電路以及控制電路。記憶體適於存放至少一個協定配置文件(protocol profile)。配置通道介面電路適於耦接至消費性電子產品的連接器的配置通道接腳。控制電路耦接至配置通道介面電路與記憶體。當電源裝置電性連接至消費性電子產品的連接器時,控制電路經由配置通道介面電路與配置通道接腳向電源裝置進行符合USB規格的電力傳輸協定,以決定電源裝置供電給消費性電子產品的電源模式。當電力傳輸協定的進行為成功後,基於被存放在記憶體的協定配置文件,控制電路經由配置通道介面電路與配置通道接腳向電源裝置進行供應商自訂訊息協定,以決定是否變更電源裝置與消費性電子產品之間的電源模式。In an embodiment of the present invention, the above-mentioned power management device is suitable for being configured in consumer electronic products. The power management device includes a memory, a configuration channel interface circuit, and a control circuit. The memory is suitable for storing at least one protocol profile. The configuration channel interface circuit is adapted to be coupled to the configuration channel pins of the connector of the consumer electronic product. The control circuit is coupled to the configuration channel interface circuit and the memory. When the power supply device is electrically connected to the connector of the consumer electronic product, the control circuit performs a power transmission protocol conforming to the USB specification to the power supply device via the configuration channel interface circuit and the configuration channel pin to determine the power supply device to supply power to the consumer electronic product Power mode. When the power transmission protocol is successful, based on the protocol configuration file stored in the memory, the control circuit performs a vendor-customized message protocol to the power supply device through the configuration channel interface circuit and the configuration channel pins to determine whether to change the power device The power mode between and consumer electronics.

基於上述,在本新型創作的一實施例中,所述電力管理裝置可以通過連接器的差動訊號接腳對(例如USB連接器的D+接腳與D-接腳)向電源裝置以雙向方式進行第一電源協定。當所述第一電源協定的進行為成功時,電源裝置供電給消費性電子產品的電源模式可以被變更為高功率模式。在本新型創作的另一實施例中,在所述電力管理裝置成功進行了符合USB規格的電力傳輸(PD)協定後,所述電力管理裝置還可以經由連接器的配置通道接腳(例如USB連接器的CC接腳)向電源裝置進行供應商自訂訊息(VDM)協定,以決定是否將電源裝置與消費性電子產品之間的電源模式變更為高功率模式。在本新型創作的又一實施例中,不同電源協定所對應的協定配置文件可以事先被存放在消費性電子產品的記憶體中。當電源裝置電性連接至消費性電子產品的連接器時,所述電力管理裝置可以依據記憶體的不同協定配置文件向電源裝置進行電源裝置所對應的PD協定與VDM協定,以決定是否將電源裝置與消費性電子產品之間的電源模式進一步變更為高功率模式。因此,所述電力管理裝置可以進行電源裝置所對應的協定,以決定電源裝置供電給消費性電子產品的電源模式。再者,在本新型創作的一實施例中,記憶體還可以存有可追溯性資料(Traceability Data),以供外部的電子裝置(未繪示)可以經由連接器的配置通道接腳與配置通道介面電路所讀取。依照設計需求以及(或是)應用需求,所述可追溯性資料包括產品型號(product model)、產品序號(product serial number)、製造日期資訊、製造廠商資訊以及(或是)其他與消費性電子產品有關的資訊/資料。Based on the above, in an embodiment of the present invention, the power management device can transmit the power supply device in a bidirectional manner through the differential signal pin pair of the connector (for example, the D+ pin and the D- pin of the USB connector). Perform the first power supply agreement. When the progress of the first power agreement is successful, the power mode of the power supply device for supplying power to the consumer electronic product can be changed to a high power mode. In another embodiment of the present invention, after the power management device successfully implements a power transmission (PD) protocol that complies with the USB specification, the power management device may also configure channel pins via the connector (for example, USB The CC pin of the connector) performs a vendor customized message (VDM) agreement with the power supply device to determine whether to change the power mode between the power supply device and the consumer electronic product to the high-power mode. In another embodiment of the present invention, the protocol configuration files corresponding to different power protocols can be stored in the memory of the consumer electronic product in advance. When the power supply device is electrically connected to the connector of the consumer electronic product, the power management device can perform the PD protocol and the VDM protocol corresponding to the power supply device to the power supply device according to the different protocol configuration files of the memory to determine whether to switch the power supply The power mode between the device and the consumer electronic product is further changed to a high-power mode. Therefore, the power management device can perform a protocol corresponding to the power supply device to determine the power supply mode of the power supply device for supplying power to the consumer electronic product. Furthermore, in an embodiment of the present invention, the memory can also store traceability data (Traceability Data) so that external electronic devices (not shown) can use the configuration channel pins and configuration of the connector Read by the channel interface circuit. According to design requirements and/or application requirements, the traceability data includes product model (product model), product serial number (product serial number), manufacturing date information, manufacturer information, and/or other related consumer electronics Product-related information/data.

為讓本新型創作的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the new creation more obvious and understandable, the following specific examples are given in conjunction with the accompanying drawings to describe in detail as follows.

在本案說明書全文(包括申請專利範圍)中所使用的「耦接(或連接)」一詞可指任何直接或間接的連接手段。舉例而言,若文中描述第一裝置耦接(或連接)於第二裝置,則應該被解釋成該第一裝置可以直接連接於該第二裝置,或者該第一裝置可以透過其他裝置或某種連接手段而間接地連接至該第二裝置。本案說明書全文(包括申請專利範圍)中提及的「第一」、「第二」等用語是用以命名元件(element)的名稱,或區別不同實施例或範圍,而並非用來限制元件數量的上限或下限,亦非用來限制元件的次序。另外,凡可能之處,在圖式及實施方式中使用相同標號的元件/構件/步驟代表相同或類似部分。不同實施例中使用相同標號或使用相同用語的元件/構件/步驟可以相互參照相關說明。The term "coupling (or connection)" used in the full text of the specification of this case (including the scope of the patent application) can refer to any direct or indirect connection means. For example, if it is described in the text that the first device is coupled (or connected) to the second device, it should be interpreted as that the first device can be directly connected to the second device, or the first device can be connected through other devices or some This kind of connection means is indirectly connected to the second device. The terms "first" and "second" mentioned in the full text of the description of this case (including the scope of the patent application) are used to name the element (element), or to distinguish different embodiments or ranges, and are not used to limit the number of elements The upper or lower limit of is not used to limit the order of components. In addition, wherever possible, elements/components/steps with the same reference numbers in the drawings and embodiments represent the same or similar parts. Elements/components/steps that use the same reference numerals or use the same terms in different embodiments may refer to related descriptions.

圖1是依照一實施例所繪示的一種消費性電子產品100的電路方塊(circuit block)示意圖。圖1所示消費性電子產品100的通用串接匯流排(Universal Serial Bus,USB)type-C連接器110可以經由電纜線而連接至USB充電器(charger)10的USB type-C連接器11。USB充電器10可以是USB適配器(adapter)。當USB充電器10電性連接至消費性電子產品100時,USB充電器10可以供電給消費性電子產品100。FIG. 1 is a schematic diagram of a circuit block of a consumer electronic product 100 according to an embodiment. The universal serial bus (USB) type-C connector 110 of the consumer electronic product 100 shown in FIG. 1 can be connected to the USB type-C connector 11 of a USB charger 10 via a cable. . The USB charger 10 may be a USB adapter (adapter). When the USB charger 10 is electrically connected to the consumer electronic product 100, the USB charger 10 can supply power to the consumer electronic product 100.

消費性電子產品100包括電力管理裝置120、功率開關130與負載140。在消費性電子產品100具有檯燈功能的情況下,負載140可以包括發光二極體(Light Emitting Diode,LED)、人機介面電路以及(或是)其他電路/元件。在消費性電子產品100具有喇叭功能的情況下,負載140可以包括喇叭、放大電路、無線通訊電路以及(或是)其他電路/元件。負載140所需要的操作電能是由主功率匯流排Pbus所提供。The consumer electronic product 100 includes a power management device 120, a power switch 130 and a load 140. In the case that the consumer electronic product 100 has a desk lamp function, the load 140 may include a light emitting diode (LED), a man-machine interface circuit, and/or other circuits/components. In the case where the consumer electronic product 100 has a speaker function, the load 140 may include a speaker, an amplifier circuit, a wireless communication circuit, and/or other circuits/components. The operating power required by the load 140 is provided by the main power bus Pbus.

電力管理裝置120具有符合USB規格的電力傳輸(Power Delivery,PD)功能。電力管理裝置120可以偵測USB type-C連接器110的配置通道(Configuration Channel,CC)接腳的電性狀態,以判斷USB type-C連接器110有無連接任何外部電子裝置。當外部電子裝置(例如USB充電器10)電性連接至USB type-C連接器110時,電力管理裝置120可以通過USB type-C連接器110的CC接腳而與外部電子裝置交換配置資訊,例如電力配置文件(power profile)。電力配置文件的參數是由電阻R1、R2、R3、R4、R5、R6、R7與R8來決定。電阻R1與R2可以提供第一分壓準位給電力管理裝置120的VMAX接腳,以決定電力配置文件的最高電壓。電阻R3與R4可以提供第二分壓準位給電力管理裝置120的VMIN接腳,以決定電力配置文件的最低電壓。電阻R5與R6可以提供第三分壓準位給電力管理裝置120的ILIM_FINE接腳,以決定電力配置文件的細電流準位。電阻R7與R8可以提供第四分壓準位給電力管理裝置120的ILIM_COARSE接腳,以決定電力配置文件的粗略電流準位。The power management device 120 has a power delivery (Power Delivery, PD) function that complies with the USB specification. The power management device 120 can detect the electrical state of the configuration channel (CC) pin of the USB type-C connector 110 to determine whether the USB type-C connector 110 is connected to any external electronic device. When an external electronic device (such as the USB charger 10) is electrically connected to the USB type-C connector 110, the power management device 120 can exchange configuration information with the external electronic device through the CC pin of the USB type-C connector 110. For example, power profile (power profile). The parameters of the power profile are determined by the resistances R1, R2, R3, R4, R5, R6, R7 and R8. The resistors R1 and R2 can provide the first voltage division level to the VMAX pin of the power management device 120 to determine the highest voltage of the power profile. The resistors R3 and R4 can provide the second voltage division level to the VMIN pin of the power management device 120 to determine the lowest voltage of the power profile. The resistors R5 and R6 can provide a third voltage division level to the ILIM_FINE pin of the power management device 120 to determine the fine current level of the power profile. The resistors R7 and R8 can provide a fourth voltage division level to the ILIM_COARSE pin of the power management device 120 to determine the rough current level of the power profile.

當USB充電器10電性連接至USB type-C連接器110時,電力管理裝置120可以通過USB type-C連接器110的CC接腳而與USB充電器10進行PD協定。當電力管理裝置120對USB充電器10進行PD協定的結果為成功後,電力管理裝置120可以導通(turn on)消費性電子產品100的功率開關130,以將USB充電器10所提供的功率經由USB type-C連接器110的Vbus接腳與功率開關130而傳輸至消費性電子產品100的主功率匯流排Pbus。此時,USB充電器10可以供電給消費性電子產品100的負載140。When the USB charger 10 is electrically connected to the USB type-C connector 110, the power management device 120 can perform PD agreement with the USB charger 10 through the CC pin of the USB type-C connector 110. When the power management device 120 performs the PD protocol on the USB charger 10 as a result of success, the power management device 120 may turn on the power switch 130 of the consumer electronic product 100 to pass the power provided by the USB charger 10 The Vbus pin of the USB type-C connector 110 and the power switch 130 are transmitted to the main power bus Pbus of the consumer electronic product 100. At this time, the USB charger 10 can supply power to the load 140 of the consumer electronic product 100.

對於設計/製造階段而言,電阻R1~R8提供了調校電力配置文件的彈性。無論如何,電阻R1~R8是被固定於消費性電子產品100的電路板上。在完成消費性電子產品100的製造後,消費性電子產品100的電力配置文件的調校便不再具有彈性。再者,電阻R1~R8將會佔據電路板的有限面積,且會增加消費性電子產品100的製造成本。此外,電力管理裝置120需要被配置VMAX接腳、VMIN接腳、ILIM_FINE接腳與ILIM_COARSE接腳以便連接電阻R1~R8,而這些接腳將會增加電力管理裝置120的封裝成本。For the design/manufacturing stage, resistors R1 to R8 provide flexibility to adjust the power profile. In any case, the resistors R1 to R8 are fixed on the circuit board of the consumer electronic product 100. After the manufacture of the consumer electronic product 100 is completed, the adjustment of the power profile of the consumer electronic product 100 is no longer flexible. Furthermore, the resistors R1 to R8 will occupy a limited area of the circuit board, and will increase the manufacturing cost of the consumer electronic product 100. In addition, the power management device 120 needs to be configured with VMAX pins, VMIN pins, ILIM_FINE pins, and ILIM_COARSE pins to connect the resistors R1 to R8, and these pins will increase the packaging cost of the power management device 120.

圖2是依照本新型創作的一實施例的一種消費性電子產品200的電路方塊示意圖。在圖2所示實施例中,消費性電子產品200的連接器210可以包括USB type-C連接器。依照設計需求,在另一實施例中,連接器210可以包括其他類型的USB連接器。在其他實施例中,連接器210可以包括其他電連接器。圖2所示消費性電子產品200的連接器210可以經由電纜線而連接至電源裝置20的連接器21。當電源裝置20電性連接至消費性電子產品200時,電源裝置20可以供電給消費性電子產品200。依照應用需求,電源裝置20可以包括USB充電器、USB適配器或是其他電源裝置。在電源裝置20為USB充電器或是USB適配器的情況下,連接器21可以包括USB type-A連接器、USB type-C連接器以及(或是)其他USB連接器。FIG. 2 is a circuit block diagram of a consumer electronic product 200 according to an embodiment of the invention. In the embodiment shown in FIG. 2, the connector 210 of the consumer electronic product 200 may include a USB type-C connector. According to design requirements, in another embodiment, the connector 210 may include other types of USB connectors. In other embodiments, the connector 210 may include other electrical connectors. The connector 210 of the consumer electronic product 200 shown in FIG. 2 may be connected to the connector 21 of the power supply device 20 via a cable. When the power supply device 20 is electrically connected to the consumer electronic product 200, the power supply device 20 can supply power to the consumer electronic product 200. According to application requirements, the power supply device 20 may include a USB charger, a USB adapter, or other power supply devices. When the power supply device 20 is a USB charger or a USB adapter, the connector 21 may include a USB type-A connector, a USB type-C connector, and/or other USB connectors.

消費性電子產品200包括電力管理裝置220、功率開關230與負載240。在消費性電子產品200具有檯燈功能的情況下,負載240可以包括LED、人機介面電路以及(或是)其他電路/元件。在消費性電子產品200具有喇叭功能的情況下,負載240可以包括喇叭、放大電路、無線通訊電路以及(或是)其他電路/元件。負載240所需要的操作電能是由消費性電子產品200的主功率匯流排Pbus所提供。The consumer electronic product 200 includes a power management device 220, a power switch 230 and a load 240. In the case that the consumer electronic product 200 has a desk lamp function, the load 240 may include an LED, a human-machine interface circuit, and/or other circuits/components. In the case that the consumer electronic product 200 has a speaker function, the load 240 may include a speaker, an amplifier circuit, a wireless communication circuit, and/or other circuits/components. The operating power required by the load 240 is provided by the main power bus Pbus of the consumer electronic product 200.

電力管理裝置220包括資料通道介面電路221、配置通道介面電路222、控制電路223以及記憶體224。依照設計需求,記憶體224可以包括單次可程式化(One-Time Programming, OTP)記憶體、電性可抹除可程式化唯讀記憶體(electrically erasable programmable read only memory,EEPROM)以及(或是)其他非揮發性記憶體(non-volatile memory)。記憶體224可以存放一個或多個協定配置文件(protocol profile)以及(或是)電力配置文件(power profile)。所述電力配置文件可以包括電壓參數、電流參數以及(或是)其他電力參數。The power management device 220 includes a data channel interface circuit 221, a configuration channel interface circuit 222, a control circuit 223, and a memory 224. According to design requirements, the memory 224 may include One-Time Programming (OTP) memory, electrically erasable programmable read only memory (EEPROM), and (or Yes) Other non-volatile memory. The memory 224 can store one or more protocol profiles and/or power profiles. The power profile may include voltage parameters, current parameters, and/or other power parameters.

此外,依照設計需求,記憶體224還可以存有可追溯性資料(Traceability Data),以供外部的電子裝置(未繪示)可以經由連接器210的CC接腳與配置通道介面電路222所讀取。依照設計需求以及(或是)應用需求,所述可追溯性資料包括產品型號(product model)、產品序號(product serial number)、製造日期資訊、製造廠商資訊以及(或是)其他與消費性電子產品200有關的資訊/資料。In addition, according to design requirements, the memory 224 can also store traceability data for external electronic devices (not shown) to be read through the CC pin of the connector 210 and the configuration channel interface circuit 222 take. According to design requirements and/or application requirements, the traceability data includes product model (product model), product serial number (product serial number), manufacturing date information, manufacturer information, and/or other related consumer electronics Information/data related to product 200.

資料通道介面電路221適於耦接至消費性電子產品200的連接器210的差動訊號(differential signal)接腳對。在連接器210包括USB連接器的情況下,所述差動訊號接腳對可以包括USB連接器的D+接腳與D-接腳,而資料通道介面電路221可以包括符合USB規範的差動資料通道的物理層電路。控制電路223耦接至資料通道介面電路221。通過資料通道介面電路221,控制電路223可以遵循USB規範而去偵測連接器210的D+接腳與D-接腳。The data channel interface circuit 221 is adapted to be coupled to a differential signal pin pair of the connector 210 of the consumer electronic product 200. In the case that the connector 210 includes a USB connector, the pair of differential signal pins may include the D+ pin and D- pin of the USB connector, and the data channel interface circuit 221 may include differential data conforming to the USB specification The physical layer circuit of the channel. The control circuit 223 is coupled to the data channel interface circuit 221. Through the data channel interface circuit 221, the control circuit 223 can detect the D+ pin and D- pin of the connector 210 in compliance with the USB specification.

圖3是依照本新型創作的一實施例的一種電力管理方法的流程示意圖。在圖3所示實施例中,電源裝置20的連接器21被假設為USB type-A連接器,亦即連接器21沒有CC接腳。請參照圖2與圖3。在步驟S310中,控制電路223可以通過資料通道介面電路221去偵測連接器210的D+接腳與D-接腳的訊號(差動訊號接腳對的電性狀態),以獲知有無外部電子裝置電性連接至連接器210。步驟S310的偵測操作細節可以符合USB規範,而USB規範已為習知,故在此不予贅述。Fig. 3 is a schematic flowchart of a power management method according to an embodiment of the invention. In the embodiment shown in FIG. 3, the connector 21 of the power supply device 20 is assumed to be a USB type-A connector, that is, the connector 21 does not have a CC pin. Please refer to Figure 2 and Figure 3. In step S310, the control circuit 223 can detect the signal of the D+ pin and D- pin of the connector 210 (the electrical state of the differential signal pin pair) through the data channel interface circuit 221, so as to know whether there is external electronics. The device is electrically connected to the connector 210. The details of the detection operation in step S310 can comply with the USB specification, and the USB specification is already known, so it will not be repeated here.

當外部電子裝置(例如電源裝置20)電性連接至消費性電子產品200的連接器210時,亦即步驟S320的判斷結果為「是」,控制電路223可以進行步驟S330,以決定電源裝置20供電給消費性電子產品200的電源模式。在步驟S330中,控制電路223可以通過資料通道介面電路221去偵測連接器210的差動訊號接腳對(D+接腳與D-接腳)的電性狀態。步驟S330的偵測操作包括,外部電子裝置(例如電源裝置20)經由連接器21將符合USB規範的電訊號施加於連接器210的差動訊號接腳對(D+接腳與D-接腳),或是外部電子裝置(例如電源裝置20)依照USB規範而使連接器210的D+接腳與D-接腳處於短路態,以設定連接器210的差動訊號接腳對的電性狀態。步驟S330的偵測操作細節可以符合USB規範,而USB規範已為習知,故在此不予贅述。When the external electronic device (such as the power supply device 20) is electrically connected to the connector 210 of the consumer electronic product 200, that is, the determination result of step S320 is "Yes", the control circuit 223 may proceed to step S330 to determine the power supply device 20 The power supply mode for supplying power to the consumer electronic product 200. In step S330, the control circuit 223 can detect the electrical state of the differential signal pin pair (D+ pin and D- pin) of the connector 210 through the data channel interface circuit 221. The detection operation in step S330 includes the external electronic device (such as the power supply device 20) applying an electrical signal conforming to the USB specification to the differential signal pin pair (D+ pin and D- pin) of the connector 210 via the connector 21 , Or the external electronic device (such as the power supply device 20) makes the D+ pin and D- pin of the connector 210 in a short-circuit state according to the USB specification to set the electrical state of the differential signal pin pair of the connector 210. The details of the detection operation in step S330 may comply with the USB specification, and the USB specification is already known, so it will not be repeated here.

依據連接器210的差動訊號接腳對的電性狀態,控制電路223可以決定去導通(turn on)消費性電子產品200的功率開關230(步驟S340),以將電源裝置20所提供的功率經由連接器210與功率開關230而傳輸至消費性電子產品200的主功率匯流排Pbus。此時,電源裝置20可以依循USB的標準規範而供電給消費性電子產品200的負載240。電源裝置20單向地設定連接器210的差動訊號接腳對的電性狀態,因此步驟S330的操作可以視為以單向方式所進行的一種電源協定(power source protocol)。According to the electrical state of the differential signal pin pair of the connector 210, the control circuit 223 may decide to turn on the power switch 230 of the consumer electronic product 200 (step S340) to reduce the power provided by the power supply device 20 It is transmitted to the main power bus Pbus of the consumer electronic product 200 through the connector 210 and the power switch 230. At this time, the power supply device 20 can supply power to the load 240 of the consumer electronic product 200 in accordance with the USB standard specification. The power supply device 20 unidirectionally sets the electrical state of the differential signal pin pair of the connector 210, so the operation of step S330 can be regarded as a power source protocol performed in a unidirectional manner.

當功率開關230導通後,控制電路223可以經由資料通道介面電路221與連接器210的差動訊號接腳對(D+接腳與D-接腳)向電源裝置20以雙向方式進行第一電源協定(步驟S350),以決定電源裝置20供電給消費性電子產品200的電源模式。舉例來說,所述第一電源協定可以包括Q公司的QC協定、H公司的SCP協定、H公司的FCP協定以及(或是)其他電源協定。所述QC協定、SCP協定與FCP協定已為習知,故在此不予贅述。After the power switch 230 is turned on, the control circuit 223 can perform the first power protocol to the power supply device 20 in a bidirectional manner via the differential signal pin pair (D+ pin and D- pin) of the data channel interface circuit 221 and the connector 210 (Step S350) to determine the power mode of the power supply device 20 to supply power to the consumer electronic product 200. For example, the first power protocol may include the QC protocol of the Q company, the SCP protocol of the H company, the FCP protocol of the H company, and/or other power protocols. The QC agreement, SCP agreement and FCP agreement are already known, so they will not be repeated here.

步驟S350的第一電源協定可以決定是否使電源裝置20將電源模式從USB2.0規格所規範的標準功率模式進一步調整為高功率模式,其中所述高功率模式的功率超過USB2.0規格所規範的功率。當電源裝置20與消費性電子產品200之間的電源模式被調整為高功率模式時,比標準規格還要大的功率可以使電源裝置20對消費性電子產品200提供較大的功率需求。The first power protocol in step S350 may determine whether to make the power supply device 20 further adjust the power mode from the standard power mode specified by the USB2.0 specification to the high power mode, wherein the power of the high power mode exceeds the specification specified by the USB2.0 specification Power. When the power supply mode between the power supply device 20 and the consumer electronic product 200 is adjusted to a high power mode, a power greater than the standard specification can enable the power supply device 20 to provide a greater power demand for the consumer electronic product 200.

步驟S350所述第一電源協定可以包括下述操作。控制電路223可以經由資料通道介面電路221與連接器210的差動訊號接腳對(D+接腳與D-接腳)去接收電源裝置20所發送的協定訊號。不同製造廠商往往制定出不同的電源協定,使得不同製造廠商的電源裝置20所發送的協定訊號可能有不同的訊號樣式(signaling pattern)。記憶體224可以存放一個或多個協定配置文件(protocol profile)。控制電路223可以基於被存放在消費性電子產品200的記憶體224的所述協定配置文件去辨識電源裝置20所發送的協定訊號。因此,不論電源裝置20所進行的電源協定為何,電力管理裝置220都可以成功辨識電源裝置20所發送的協定訊號。在未來,若有新的電源裝置20進行新的電源協定,使用者(外部電子裝置,未繪示)亦可以將這新的電源協定所對應的協定配置文件經由連接器210的CC接腳與配置通道介面電路222寫入(存入)記憶體224。The first power protocol in step S350 may include the following operations. The control circuit 223 can receive the protocol signal sent by the power supply device 20 via the differential signal pin pair (D+ pin and D- pin) of the data channel interface circuit 221 and the connector 210. Different manufacturers often develop different power protocols, so that the protocol signals sent by the power supply devices 20 of different manufacturers may have different signal patterns. The memory 224 can store one or more protocol profiles. The control circuit 223 can identify the protocol signal sent by the power supply device 20 based on the protocol configuration file stored in the memory 224 of the consumer electronic product 200. Therefore, regardless of the power protocol performed by the power supply device 20, the power management device 220 can successfully identify the protocol signal sent by the power supply device 20. In the future, if a new power supply device 20 implements a new power supply protocol, the user (external electronic device, not shown) can also connect the protocol configuration file corresponding to the new power supply protocol through the CC pin of the connector 210 and The configuration channel interface circuit 222 is written into (stored in) the memory 224.

在步驟S350所述第一電源協定中,當控制電路223成功辨識電源裝置20所發送的協定訊號時,控制電路223可以經由資料通道介面電路221與連接器210的差動訊號接腳對(D+接腳與D-接腳)發送所述協定訊號所對應的回答訊號給電源裝置20。在電源裝置20接獲所述協定訊號所對應的回答訊號之後,電源裝置20可以將電源模式調整為高功率模式,其中所述高功率模式的功率超過USB2.0規格所規範的功率。當控制電路223無法辨識電源裝置20所發送的所述協定訊號時,或是當電源裝置20沒有發送所述協定訊號時,電源裝置20與消費性電子產品200之間的電源模式可以被維持為符合USB2.0規格的標準規格功率模式。In the first power protocol described in step S350, when the control circuit 223 successfully recognizes the protocol signal sent by the power supply device 20, the control circuit 223 can use the data channel interface circuit 221 and the differential signal pin pair (D+ Pin and D-pin) send the answer signal corresponding to the protocol signal to the power supply device 20. After the power supply device 20 receives the answer signal corresponding to the protocol signal, the power supply device 20 can adjust the power supply mode to a high power mode, wherein the power of the high power mode exceeds the power specified by the USB 2.0 specification. When the control circuit 223 cannot recognize the protocol signal sent by the power supply device 20, or when the power supply device 20 does not send the protocol signal, the power supply mode between the power supply device 20 and the consumer electronic product 200 can be maintained as Comply with the standard specification power mode of USB2.0 specification.

請參照圖2,配置通道介面電路222適於耦接至消費性電子產品200的連接器210的配置通道(Configuration Channel, CC)接腳。在連接器210包括USB連接器的情況下,配置通道介面電路222可以包括符合USB規範的CC接腳的物理層電路。控制電路223耦接至配置通道介面電路222。通過配置通道介面電路222,控制電路223可以遵循USB規範而去偵測連接器210的CC接腳。控制電路223具有符合USB規格的電力傳輸(PD)功能。控制電路223可以通過配置通道介面電路222偵測連接器210的CC接腳的電性狀態,以判斷連接器210有無連接任何外部電子裝置。Please refer to FIG. 2, the configuration channel interface circuit 222 is adapted to be coupled to the configuration channel (Configuration Channel, CC) pin of the connector 210 of the consumer electronic product 200. In the case where the connector 210 includes a USB connector, the configuration channel interface circuit 222 may include a physical layer circuit that complies with the CC pin of the USB specification. The control circuit 223 is coupled to the configuration channel interface circuit 222. By configuring the channel interface circuit 222, the control circuit 223 can detect the CC pin of the connector 210 in compliance with the USB specification. The control circuit 223 has a power transmission (PD) function compliant with the USB specification. The control circuit 223 can detect the electrical state of the CC pin of the connector 210 by configuring the channel interface circuit 222 to determine whether the connector 210 is connected to any external electronic device.

當外部電子裝置(例如電源裝置20)電性連接至連接器210時,控制電路223可以通過連接器210的CC接腳而與外部電子裝置交換配置資訊,例如電力配置文件(power profile)。電力配置文件的參數是由記憶體224所存放的配置文件來決定。因此,記憶體224提供了調校電力配置文件的彈性。相較於圖1所示實施方式,圖2所示消費性電子產品200不需要配置電阻R1~R8,而電力管理裝置220亦不需要配置VMAX接腳、VMIN接腳、ILIM_FINE接腳與ILIM_COARSE接腳。因為使用者(外部電子裝置,未繪示)可以隨時將新的參數經由連接器210的CC接腳與配置通道介面電路222寫入(存入)記憶體224,使得在完成消費性電子產品200的製造後,消費性電子產品200的電力配置文件的調校仍然具有彈性。When an external electronic device (such as the power supply device 20) is electrically connected to the connector 210, the control circuit 223 can exchange configuration information, such as a power profile, with the external electronic device through the CC pin of the connector 210. The parameters of the power configuration file are determined by the configuration file stored in the memory 224. Therefore, the memory 224 provides flexibility to adjust the power profile. Compared with the embodiment shown in FIG. 1, the consumer electronic product 200 shown in FIG. 2 does not need to be configured with resistors R1 to R8, and the power management device 220 does not need to be configured with VMAX pins, VMIN pins, ILIM_FINE pins, and ILIM_COARSE pins. foot. Because the user (external electronic device, not shown) can write (store) new parameters into the memory 224 via the CC pin of the connector 210 and the configuration channel interface circuit 222 at any time, so that the consumer electronic product 200 can be completed. After the manufacture of the consumer electronic product 200, the adjustment of the power profile of the consumer electronic product 200 is still flexible.

圖4是依照本新型創作的另一實施例的一種電力管理方法的流程示意圖。在圖4所示實施例中,電源裝置20的連接器21可以是USB type-A連接器(沒有CC接腳)或是USB type-C連接器(有CC接腳)。請參照圖2與圖4。在步驟S410中,記憶體224可以存放一個或多個協定配置文件(protocol profile)。在步驟S420中,控制電路223可以通過資料通道介面電路221去偵測連接器210的D+接腳與D-接腳的訊號(差動訊號接腳對的電性狀態),以及(或是)通過配置通道介面電路222去偵測連接器210的CC接腳的訊號(CC接腳的電性狀態),以獲知有無外部電子裝置電性連接至連接器210。步驟S420的偵測操作細節可以符合USB規範,而USB規範已為習知,故在此不予贅述。Fig. 4 is a schematic flowchart of a power management method according to another embodiment of the invention. In the embodiment shown in FIG. 4, the connector 21 of the power supply device 20 can be a USB type-A connector (without CC pins) or a USB type-C connector (with CC pins). Please refer to Figure 2 and Figure 4. In step S410, the memory 224 may store one or more protocol profiles. In step S420, the control circuit 223 can detect the signal of the D+ pin and D- pin of the connector 210 (the electrical state of the differential signal pin pair) through the data channel interface circuit 221, and/or The channel interface circuit 222 is configured to detect the signal of the CC pin of the connector 210 (the electrical state of the CC pin) to know whether an external electronic device is electrically connected to the connector 210. The details of the detection operation in step S420 may comply with the USB specification, and the USB specification is already known, so it will not be repeated here.

當外部電子裝置(例如電源裝置20)電性連接至消費性電子產品200的連接器210時,亦即步驟S430的判斷結果為「是」,控制電路223可以進行步驟S440,以決定電源裝置20供電給消費性電子產品200的電源模式。在步驟S440中,控制電路223可以經由配置通道介面電路222與連接器210的CC接腳向電源裝置20進行符合USB規格的電力傳輸(PD)協定。所述PD協定已為習知,故在此不再贅述。控制電路223可以基於被存放在消費性電子產品200的記憶體224的協定配置文件(protocol profile)向電源裝置20進行PD協定,以決定電源裝置20供電給消費性電子產品200的電源模式。When the external electronic device (such as the power supply device 20) is electrically connected to the connector 210 of the consumer electronic product 200, that is, the determination result of step S430 is "Yes", the control circuit 223 may proceed to step S440 to determine the power supply device 20 The power supply mode for supplying power to the consumer electronic product 200. In step S440, the control circuit 223 may perform a power transmission (PD) protocol compliant with the USB specification to the power supply device 20 via the configuration channel interface circuit 222 and the CC pin of the connector 210. The PD protocol is already known, so it will not be repeated here. The control circuit 223 may perform PD protocol to the power supply device 20 based on a protocol profile stored in the memory 224 of the consumer electronic product 200 to determine the power mode of the power supply device 20 to supply power to the consumer electronic product 200.

當控制電路223對電源裝置20進行PD協定的結果為成功後,亦即步驟S450的判斷結果為「是」,控制電路223可以進行步驟S461。在步驟S461中,控制電路223可以決定去導通消費性電子產品200的功率開關230,以將電源裝置20所提供的功率經由連接器210與功率開關230而傳輸至消費性電子產品200的主功率匯流排Pbus。此時,電源裝置20可以依循USB的標準規範而供電給消費性電子產品200的負載240。When the result of the control circuit 223 performing the PD protocol on the power supply device 20 is successful, that is, the judgment result of step S450 is "Yes", the control circuit 223 may proceed to step S461. In step S461, the control circuit 223 may decide to turn on the power switch 230 of the consumer electronic product 200 to transmit the power provided by the power supply device 20 to the main power of the consumer electronic product 200 via the connector 210 and the power switch 230 Bus Pbus. At this time, the power supply device 20 can supply power to the load 240 of the consumer electronic product 200 in accordance with the USB standard specification.

當PD協定的進行為成功後(當功率開關230導通後),控制電路223可以進行步驟S462。在步驟S462中,控制電路223可以經由配置通道介面電路222與連接器210的CC接腳向電源裝置20進行供應商自訂訊息(Vendor-Defined Messaging,VDM)協定。控制電路223可以基於被存放在消費性電子產品200的記憶體224的協定配置文件(protocol profile)向電源裝置20進行VDM協定,以決定是否進一步變更電源裝置20與消費性電子產品200之間的電源模式。When the progress of the PD protocol is successful (when the power switch 230 is turned on), the control circuit 223 may proceed to step S462. In step S462, the control circuit 223 may perform a Vendor-Defined Messaging (VDM) agreement to the power supply device 20 via the configuration channel interface circuit 222 and the CC pin of the connector 210. The control circuit 223 may perform a VDM protocol with the power supply device 20 based on the protocol profile stored in the memory 224 of the consumer electronic product 200 to determine whether to further change the relationship between the power supply device 20 and the consumer electronic product 200 Power mode.

步驟S462所述VDM協定可以包括下述操作。基於被存放在記憶體224的所述協定配置文件,控制電路223可以經由配置通道介面電路222與連接器210的CC接腳發送電源裝置20所對應的詢問訊號給電源裝置,以詢問電源裝置20有無支援VDM協定。當電源裝置20回覆了所述詢問訊號所對應的回答訊號給控制電路223後,電源裝置20與消費性電子產品200之間的電源模式可以被調整為高功率模式,其中所述高功率模式的功率超過PD協定所規範的功率。當電源裝置20與消費性電子產品200之間的電源模式被調整為高功率模式時,比標準規格還要大的功率可以使電源裝置20對消費性電子產品200提供較大的功率需求。The VDM agreement in step S462 may include the following operations. Based on the protocol configuration file stored in the memory 224, the control circuit 223 can send the query signal corresponding to the power supply device 20 to the power supply device via the configuration channel interface circuit 222 and the CC pin of the connector 210 to query the power supply device 20 Does it support VDM protocol? After the power supply device 20 replies the answer signal corresponding to the inquiry signal to the control circuit 223, the power supply mode between the power supply device 20 and the consumer electronic product 200 can be adjusted to a high power mode, wherein the high power mode The power exceeds the power regulated by the PD protocol. When the power supply mode between the power supply device 20 and the consumer electronic product 200 is adjusted to a high power mode, a power greater than the standard specification can enable the power supply device 20 to provide a greater power demand for the consumer electronic product 200.

在步驟S462的操作中,當記憶體224不存在電源裝置20所對應的協定配置文件時,電源裝置20與消費性電子產品200之間的電源模式可以被維持為符合PD協定所規範的標準規格功率模式。亦即,電源裝置20可以將電源模式維持為步驟S440所決定的電源模式。In the operation of step S462, when there is no protocol configuration file corresponding to the power supply device 20 in the memory 224, the power supply mode between the power supply device 20 and the consumer electronic product 200 can be maintained to comply with the standard specifications specified in the PD protocol Power mode. That is, the power supply device 20 can maintain the power supply mode as the power supply mode determined in step S440.

在電源裝置20電性連接至消費性電子產品200的連接器210的情況下,當PD協定的進行為失敗後或是當連接器210的CC接腳沒有被電性連接至電源裝置20時,亦即步驟S450的判斷結果為「否」,控制電路223可以進行步驟S471、S472與S473。圖4所示步驟S471、S472與S473可以參照圖3所示步驟S330、S340與S350的相關說明來類推,故不再贅述。When the power supply device 20 is electrically connected to the connector 210 of the consumer electronic product 200, when the PD protocol fails or when the CC pin of the connector 210 is not electrically connected to the power supply device 20, That is, the judgment result of step S450 is "No", and the control circuit 223 can perform steps S471, S472, and S473. Steps S471, S472, and S473 shown in FIG. 4 can be deduced by analogy with reference to related descriptions of steps S330, S340, and S350 shown in FIG. 3, so they will not be repeated.

在步驟S473中,基於被存放在記憶體224的所述協定配置文件,控制電路223可以經由資料通道介面電路221與連接器210的差動訊號接腳對(D+接腳與D-接腳)向電源裝置20以雙向方式進行第一電源協定,以決定是否進一步變更電源裝置20與消費性電子產品200之間的電源模式。步驟S473的第一電源協定可以決定是否使電源裝置20將電源模式從USB2.0規格所規範的標準功率模式進一步調整為高功率模式,其中所述高功率模式的功率超過USB2.0規格所規範的功率。當電源裝置20與消費性電子產品200之間的電源模式被調整為高功率模式時,比標準規格還要大的功率可以使電源裝置20對消費性電子產品200提供較大的功率需求。In step S473, based on the protocol configuration file stored in the memory 224, the control circuit 223 may use the data channel interface circuit 221 and the differential signal pin pair of the connector 210 (D+ pin and D- pin) The first power agreement is performed to the power supply device 20 in a bidirectional manner to determine whether to further change the power supply mode between the power supply device 20 and the consumer electronic product 200. The first power protocol in step S473 may determine whether to make the power supply device 20 further adjust the power mode from the standard power mode specified by the USB2.0 specification to the high power mode, wherein the power of the high power mode exceeds the specification specified by the USB2.0 specification Power. When the power supply mode between the power supply device 20 and the consumer electronic product 200 is adjusted to a high power mode, a power greater than the standard specification can enable the power supply device 20 to provide a greater power demand for the consumer electronic product 200.

步驟S473所述第一電源協定可以包括下述操作。控制電路223可以經由資料通道介面電路221與連接器210的差動訊號接腳對(D+接腳與D-接腳)去接收電源裝置20所發送的協定訊號。控制電路223可以基於被存放在記憶體224的協定配置文件去辨識電源裝置20所發送的協定訊號。因此,不論電源裝置20所進行的電源協定為何,電力管理裝置220都可以成功辨識電源裝置20所發送的協定訊號。當控制電路223成功辨識電源裝置20所發送的協定訊號時,控制電路223可以經由資料通道介面電路221與連接器210的差動訊號接腳對(D+接腳與D-接腳)發送所述協定訊號所對應的回答訊號給電源裝置20,以使電源裝置20將電源模式調整為高功率模式。當控制電路223無法辨識電源裝置20所發送的協定訊號時,或是當電源裝置20沒有發送協定訊號時,電源裝置20與消費性電子產品200之間的電源模式被維持為符合USB2.0規格的標準規格功率模式。The first power protocol in step S473 may include the following operations. The control circuit 223 can receive the protocol signal sent by the power supply device 20 via the differential signal pin pair (D+ pin and D- pin) of the data channel interface circuit 221 and the connector 210. The control circuit 223 can identify the protocol signal sent by the power supply device 20 based on the protocol configuration file stored in the memory 224. Therefore, regardless of the power protocol performed by the power supply device 20, the power management device 220 can successfully identify the protocol signal sent by the power supply device 20. When the control circuit 223 successfully recognizes the protocol signal sent by the power supply device 20, the control circuit 223 can send the signal via the differential signal pin pair (D+ pin and D- pin) of the data channel interface circuit 221 and the connector 210 The answer signal corresponding to the protocol signal is sent to the power supply device 20, so that the power supply device 20 adjusts the power supply mode to the high power mode. When the control circuit 223 cannot recognize the protocol signal sent by the power supply device 20, or when the power supply device 20 does not send the protocol signal, the power mode between the power supply device 20 and the consumer electronic product 200 is maintained to comply with the USB 2.0 specification The standard specification power mode.

依照不同的設計需求,上述電力管理裝置220以及(或是)控制電路223的方塊的實現方式可以是硬體(hardware)、韌體(firmware)、軟體(software,即程式)或是前述三者中的多者的組合形式。According to different design requirements, the implementation of the blocks of the power management device 220 and/or the control circuit 223 can be hardware, firmware, software, or the above three. A combination of more than one of them.

以硬體形式而言,上述電力管理裝置220以及(或是)控制電路223的方塊可以實現於積體電路(integrated circuit)上的邏輯電路。上述電力管理裝置220以及(或是)控制電路223的相關功能可以利用硬體描述語言(hardware description languages,例如Verilog HDL或VHDL)或其他合適的編程語言來實現為硬體。舉例來說,上述電力管理裝置220以及(或是)控制電路223的相關功能可以被實現於一或多個控制器、微控制器、微處理器、特殊應用積體電路(Application-specific integrated circuit, ASIC)、數位訊號處理器(digital signal processor, DSP)、場可程式邏輯閘陣列(Field Programmable Gate Array, FPGA)及/或其他處理單元中的各種邏輯區塊、模組和電路。In terms of hardware, the blocks of the power management device 220 and/or the control circuit 223 described above can be implemented in a logic circuit on an integrated circuit. The related functions of the power management device 220 and/or the control circuit 223 may be implemented as hardware by using hardware description languages (for example, Verilog HDL or VHDL) or other suitable programming languages. For example, the related functions of the power management device 220 and/or the control circuit 223 may be implemented in one or more controllers, microcontrollers, microprocessors, and application-specific integrated circuits (Application-specific integrated circuit). , ASIC), digital signal processor (DSP), Field Programmable Gate Array (FPGA) and/or various logic blocks, modules and circuits in other processing units.

以軟體形式及/或韌體形式而言,上述電力管理裝置220以及(或是)控制電路223的相關功能可以被實現為編程碼(programming codes)。例如,利用一般的編程語言(programming languages,例如C、C++或組合語言)或其他合適的編程語言來實現上述電力管理裝置220以及(或是)控制電路223。所述編程碼可以被記錄/存放在記錄媒體中,所述記錄媒體中例如包括唯讀記憶體(Read Only Memory,ROM)、存儲裝置及/或隨機存取記憶體(Random Access Memory,RAM)。電腦、中央處理器(Central Processing Unit,CPU)、控制器、微控制器或微處理器可以從所述記錄媒體中讀取並執行所述編程碼,從而達成相關功能。作為所述記錄媒體,可使用「非臨時的電腦可讀取媒體(non-transitory computer readable medium)」,例如可使用帶(tape)、碟(disk)、卡(card)、半導體記憶體、可程式設計的邏輯電路等。而且,所述程式也可經由任意傳輸媒體(通信網路或廣播電波等)而提供給所述電腦(或CPU)。所述通信網路例如是互聯網(Internet)、有線通信(wired communication)、無線通信(wireless communication)或其它通信介質。In terms of software and/or firmware, the related functions of the power management device 220 and/or the control circuit 223 can be implemented as programming codes. For example, general programming languages (such as C, C++, or assembly language) or other suitable programming languages are used to implement the power management device 220 and/or the control circuit 223. The programming code may be recorded/stored in a recording medium, which includes, for example, a read-only memory (Read Only Memory, ROM), a storage device, and/or a random access memory (Random Access Memory, RAM). . A computer, a central processing unit (CPU), a controller, a microcontroller, or a microprocessor can read and execute the programming code from the recording medium, so as to achieve related functions. As the recording medium, a "non-transitory computer readable medium" can be used. For example, tape, disk, card, semiconductor memory, and non-transitory computer readable medium can be used. Programming logic circuits, etc. Furthermore, the program may also be provided to the computer (or CPU) via any transmission medium (communication network or broadcast wave, etc.). The communication network is, for example, the Internet, wired communication, wireless communication, or other communication media.

綜上所述,上述諸實施例所述電力管理裝置220可以通過連接器210的差動訊號接腳對(例如USB連接器的D+接腳與D-接腳)向電源裝置20以雙向方式進行第一電源協定。當所述第一電源協定的進行為成功時,電源裝置20供電給消費性電子產品200的電源模式可以被變更為高功率模式。在本新型創作的另一實施例中,在所述電力管理裝置220成功進行了符合USB規格的PD協定後,所述電力管理裝置220還可以經由連接器210的CC接腳向電源裝置20進行VDM協定,以決定是否將電源裝置20與消費性電子產品200之間的電源模式進一步變更為高功率模式。在本新型創作的又一實施例中,不同電源協定所對應的協定配置文件可以事先被存放在消費性電子產品200的記憶體224中。當電源裝置20電性連接至消費性電子產品200的連接器210時,所述電力管理裝置220可以依據記憶體224的不同協定配置文件向電源裝置20進行電源裝置20所對應的PD協定與VDM協定,以決定是否將電源裝置20與消費性電子產品200之間的電源模式進一步變更為高功率模式。因此,所述電力管理裝置220可以進行電源裝置20所對應的協定,以決定電源裝置20供電給消費性電子產品的電源模式。再者,在本新型創作的一實施例中,記憶體還可以存有可追溯性資料,以供外部的電子裝置(未繪示)可以經由連接器的配置通道接腳與配置通道介面電路所讀取。依照設計需求以及(或是)應用需求,所述可追溯性資料包括產品型號、產品序號、製造日期資訊、製造廠商資訊以及(或是)其他與消費性電子產品有關的資訊/資料。To sum up, the power management device 220 described in the above embodiments can be connected to the power supply device 20 in a bidirectional manner through the differential signal pin pair of the connector 210 (for example, the D+ pin and the D- pin of the USB connector). The first power agreement. When the progress of the first power agreement is successful, the power mode of the power supply device 20 to supply the consumer electronic product 200 can be changed to a high power mode. In another embodiment of the present invention, after the power management device 220 successfully implements the PD protocol conforming to the USB specification, the power management device 220 can also communicate to the power supply device 20 via the CC pin of the connector 210 The VDM protocol is used to determine whether to further change the power mode between the power supply device 20 and the consumer electronic product 200 to a high power mode. In another embodiment of the present invention, the protocol configuration files corresponding to different power protocols can be stored in the memory 224 of the consumer electronic product 200 in advance. When the power supply device 20 is electrically connected to the connector 210 of the consumer electronic product 200, the power management device 220 can perform the PD protocol and VDM corresponding to the power supply device 20 to the power supply device 20 according to the different protocol configuration files of the memory 224 Agreement to determine whether to further change the power mode between the power supply device 20 and the consumer electronic product 200 to a high power mode. Therefore, the power management device 220 can perform the agreement corresponding to the power supply device 20 to determine the power supply mode of the power supply device 20 to supply the consumer electronic products. Furthermore, in an embodiment of the present invention, the memory can also store traceability data so that external electronic devices (not shown) can pass through the configuration channel pins of the connector and the configuration channel interface circuit. Read. According to design requirements and/or application requirements, the traceability data includes product model, product serial number, manufacturing date information, manufacturer information, and/or other information/data related to consumer electronic products.

雖然本新型創作已以實施例揭露如上,然其並非用以限定本新型創作,任何所屬技術領域中具有通常知識者,在不脫離本新型創作的精神和範圍內,當可作些許的更動與潤飾,故本新型創作的保護範圍當視後附的申請專利範圍所界定者為準。Although the creation of this new type has been disclosed in the above embodiments, it is not intended to limit the creation of this new type. Anyone with ordinary knowledge in the technical field can make some changes and changes without departing from the spirit and scope of the creation of the new type. Retouching, so the scope of protection of the creation of this new model shall be subject to the scope of the attached patent application.

10:USB充電器 11、110:通用串接匯流排(USB)type-C連接器 20:電源裝置 21、210:連接器 100、200:消費性電子產品 120、220:電力管理裝置 130、230:功率開關 140、240:負載 221:資料通道介面電路 222:配置通道介面電路 223:控制電路 224:記憶體 CC、D+、D-、ILIM_COARSE、ILIM_FINE、Vbus、VMAX、VMIN:接腳 Pbus:主功率匯流排 R1、R2、R3、R4、R5、R6、R7、R8:電阻 S310~S350、S410~S473:步驟10: USB charger 11.110: Universal serial bus (USB) type-C connector 20: Power supply unit 21, 210: Connector 100, 200: consumer electronics 120, 220: power management device 130, 230: power switch 140, 240: load 221: data channel interface circuit 222: Configure channel interface circuit 223: control circuit 224: Memory CC, D+, D-, ILIM_COARSE, ILIM_FINE, Vbus, VMAX, VMIN: pins Pbus: main power bus R1, R2, R3, R4, R5, R6, R7, R8: resistance S310~S350, S410~S473: steps

圖1是依照一實施例所繪示的一種消費性電子產品的電路方塊(circuit block)示意圖。 圖2是依照本新型創作的一實施例的一種消費性電子產品的電路方塊示意圖。 圖3是依照本新型創作的一實施例的一種電力管理方法的流程示意圖。 圖4是依照本新型創作的另一實施例的一種電力管理方法的流程示意圖。 FIG. 1 is a schematic diagram of a circuit block of a consumer electronic product according to an embodiment. FIG. 2 is a schematic block diagram of a circuit of a consumer electronic product according to an embodiment of the invention. Fig. 3 is a schematic flowchart of a power management method according to an embodiment of the invention. Fig. 4 is a schematic flowchart of a power management method according to another embodiment of the invention.

20:電源裝置 20: Power supply unit

21、210:連接器 21, 210: Connector

200:消費性電子產品 200: consumer electronics

220:電力管理裝置 220: Power management device

221:資料通道介面電路 221: data channel interface circuit

222:配置通道介面電路 222: Configure channel interface circuit

223:控制電路 223: control circuit

224:記憶體 224: Memory

230:功率開關 230: Power switch

240:負載 240: load

CC、D+、D-、Vbus:接腳 CC, D+, D-, Vbus: pin

Pbus:主功率匯流排 Pbus: main power bus

Claims (10)

一種電力管理裝置,適於被配置在一消費性電子產品,所述電力管理裝置包括: 一記憶體,適於存放至少一協定配置文件; 一配置通道介面電路,適於耦接至該消費性電子產品的一連接器的一配置通道接腳;以及 一控制電路,耦接至該配置通道介面電路與該記憶體,其中 當一電源裝置電性連接至該消費性電子產品的該連接器時,該控制電路經由該配置通道介面電路與該配置通道接腳向該電源裝置進行符合一USB規格的一電力傳輸協定,以決定該電源裝置供電給該消費性電子產品的一電源模式,以及 當該電力傳輸協定的進行為成功後,基於被存放在該記憶體的該至少一協定配置文件,該控制電路經由該配置通道介面電路與該配置通道接腳向該電源裝置進行一供應商自訂訊息協定,以決定是否變更該電源裝置與該消費性電子產品之間的該電源模式。 A power management device suitable for being configured in a consumer electronic product, the power management device comprising: A memory, suitable for storing at least one protocol configuration file; A configuration channel interface circuit adapted to be coupled to a configuration channel pin of a connector of the consumer electronic product; and A control circuit coupled to the configuration channel interface circuit and the memory, wherein When a power supply device is electrically connected to the connector of the consumer electronic product, the control circuit performs a power transmission protocol conforming to a USB specification to the power supply device via the configuration channel interface circuit and the configuration channel pins, so as Determine a power mode for the power supply device to supply power to the consumer electronic product, and After the progress of the power transmission protocol is successful, based on the at least one protocol configuration file stored in the memory, the control circuit performs a supplier self-control to the power supply device via the configuration channel interface circuit and the configuration channel pins. A message protocol is established to determine whether to change the power mode between the power supply device and the consumer electronic product. 如請求項1所述的電力管理裝置,其中該連接器包括一USB連接器。The power management device according to claim 1, wherein the connector includes a USB connector. 如請求項1所述的電力管理裝置,其中該電源裝置包括一USB充電器或是一USB適配器。The power management device according to claim 1, wherein the power supply device includes a USB charger or a USB adapter. 如請求項1所述的電力管理裝置,其中該供應商自訂訊息協定包括: 基於被存放在該記憶體的該至少一協定配置文件,由該控制電路經由該配置通道介面電路與該配置通道接腳發送該電源裝置所對應的一詢問訊號給該電源裝置;以及 當該電源裝置回覆該詢問訊號所對應的一回答訊號給該控制電路後,該電源裝置與該消費性電子產品之間的該電源模式被調整為一高功率模式,其中該高功率模式的功率超過該電力傳輸協定所規範的功率。 The power management device according to claim 1, wherein the supplier customized message agreement includes: Based on the at least one protocol configuration file stored in the memory, the control circuit sends an inquiry signal corresponding to the power supply device to the power supply device via the configuration channel interface circuit and the configuration channel pin; and After the power supply device responds to the control circuit with an answer signal corresponding to the inquiry signal, the power supply mode between the power supply device and the consumer electronic product is adjusted to a high power mode, wherein the power of the high power mode Exceed the power specified by the power transmission agreement. 如請求項1所述的電力管理裝置,其中 當記憶體不存在該電源裝置所對應的該至少一協定配置文件時,該電源裝置與該消費性電子產品之間的該電源模式被維持為符合該電力傳輸協定所規範的一標準規格功率模式。 The power management device according to claim 1, wherein When the at least one protocol configuration file corresponding to the power supply device does not exist in the memory, the power mode between the power supply device and the consumer electronic product is maintained to comply with a standard power mode specified by the power transmission protocol . 如請求項1所述的電力管理裝置,更包括: 一資料通道介面電路,適於耦接至該連接器的一差動訊號接腳對,其中該控制電路還耦接至該資料通道介面電路, 在該電源裝置電性連接至該消費性電子產品的該連接器的情況下,當該電力傳輸協定的進行為失敗後或是當該配置通道接腳沒有被電性連接至該電源裝置時,該控制電路經由該資料通道介面電路偵測該差動訊號接腳對的一電性狀態,以及依據該電性狀態而導通該消費性電子產品的一功率開關以將該電源裝置所提供的一功率經由該連接器與該功率開關而傳輸至該消費性電子產品的一主功率匯流排,以及 當該功率開關導通後,該控制電路經由該資料通道介面電路與該差動訊號接腳對向該電源裝置以雙向方式進行一第一電源協定,以決定是否變更該電源裝置供電給該消費性電子產品的該電源模式。 The power management device according to claim 1, further comprising: A data channel interface circuit adapted to be coupled to a differential signal pin pair of the connector, wherein the control circuit is also coupled to the data channel interface circuit, In the case that the power supply device is electrically connected to the connector of the consumer electronic product, when the power transmission protocol fails or when the configuration channel pin is not electrically connected to the power supply device, The control circuit detects an electrical state of the differential signal pin pair through the data channel interface circuit, and turns on a power switch of the consumer electronic product according to the electrical state to provide a power supply device Power is transmitted to a main power bus of the consumer electronic product through the connector and the power switch, and After the power switch is turned on, the control circuit performs a bidirectional first power protocol to the power supply device via the data channel interface circuit and the differential signal pin to determine whether to change the power supply device to the consumer The power mode of the electronic product. 如請求項6所述的電力管理裝置,其中該第一電源協定包括: 由該控制電路經由該資料通道介面電路與該差動訊號接腳對去接收該電源裝置所發送的一協定訊號; 由該控制電路基於被存放在該記憶體的該至少一協定配置文件去辨識該協定訊號; 當該控制電路成功辨識該電源裝置所發送的該協定訊號時,由該控制電路經由該資料通道介面電路與該差動訊號接腳對發送該協定訊號所對應的一回答訊號給該電源裝置,以使該電源裝置將該電源模式調整為一高功率模式,其中該高功率模式的功率超過一USB2.0規格所規範的功率;以及 當該控制電路無法辨識該電源裝置所發送的該協定訊號時,或是當該電源裝置沒有發送該協定訊號時,該電源裝置與該消費性電子產品之間的該電源模式被維持為符合該USB2.0規格的一標準規格功率模式。 The power management device according to claim 6, wherein the first power agreement includes: The control circuit receives a protocol signal sent by the power supply device through the data channel interface circuit and the differential signal pin pair; The control circuit identifies the protocol signal based on the at least one protocol configuration file stored in the memory; When the control circuit successfully recognizes the protocol signal sent by the power supply device, the control circuit sends an answer signal corresponding to the protocol signal to the power supply device via the data channel interface circuit and the differential signal pin pair, So that the power supply device adjusts the power mode to a high power mode, wherein the power of the high power mode exceeds the power regulated by a USB2.0 specification; and When the control circuit cannot recognize the protocol signal sent by the power supply device, or when the power supply device does not send the protocol signal, the power supply mode between the power supply device and the consumer electronic product is maintained to comply with the A standard power mode of the USB2.0 specification. 如請求項6所述的電力管理裝置,其中該差動訊號接腳對包括一USB連接器的一D+接腳與一D-接腳。The power management device according to claim 6, wherein the pair of differential signal pins includes a D+ pin and a D- pin of a USB connector. 如請求項1所述的電力管理裝置,其中該記憶體還存有一可追溯性資料,以供一電子裝置經由該配置通道介面電路與該配置通道接腳所讀取。The power management device according to claim 1, wherein the memory also stores traceability data for an electronic device to read through the configuration channel interface circuit and the configuration channel pin. 如請求項9所述的電力管理裝置,其中該可追溯性資料包括一產品序號、一製造日期資訊以及一製造廠商資訊其中至少一者。The power management device according to claim 9, wherein the traceability data includes at least one of a product serial number, a manufacturing date information, and a manufacturer information.
TW109214094U 2020-03-27 2020-10-26 Power management device TWM609409U (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US202063000507P 2020-03-27 2020-03-27
US63/000,507 2020-03-27

Publications (1)

Publication Number Publication Date
TWM609409U true TWM609409U (en) 2021-03-21

Family

ID=76037526

Family Applications (2)

Application Number Title Priority Date Filing Date
TW109214094U TWM609409U (en) 2020-03-27 2020-10-26 Power management device
TW109137149A TWI756880B (en) 2020-03-27 2020-10-26 Power management device and method

Family Applications After (1)

Application Number Title Priority Date Filing Date
TW109137149A TWI756880B (en) 2020-03-27 2020-10-26 Power management device and method

Country Status (1)

Country Link
TW (2) TWM609409U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI756880B (en) * 2020-03-27 2022-03-01 威鋒電子股份有限公司 Power management device and method
US11770015B2 (en) 2020-03-27 2023-09-26 Via Labs, Inc. Power management device and method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6356816B2 (en) * 2014-01-10 2018-07-11 ノキア テクノロジーズ オーユー Apparatus and method for transmitting power
US9766674B2 (en) * 2014-06-27 2017-09-19 Intel Corporation USB power delivery controller sharing
CN106471697A (en) * 2015-12-16 2017-03-01 广东欧珀移动通信有限公司 Control the method charging, device, power supply adaptor and mobile terminal
TWI705325B (en) * 2019-02-27 2020-09-21 同星科技股份有限公司 A usb power extension device with dual power supply and dual power supply method
TWM609409U (en) * 2020-03-27 2021-03-21 威鋒電子股份有限公司 Power management device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI756880B (en) * 2020-03-27 2022-03-01 威鋒電子股份有限公司 Power management device and method
US11770015B2 (en) 2020-03-27 2023-09-26 Via Labs, Inc. Power management device and method

Also Published As

Publication number Publication date
TWI756880B (en) 2022-03-01
TW202136965A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
CN104007801B (en) For providing the method and apparatus of power to electronic equipment
CN102483728B (en) Device-dependent selection between modes for asymmetric serial protocols
CN107465060A (en) USB Type-C switching module and starting method thereof
TWI756880B (en) Power management device and method
US20140207977A1 (en) Usb device and control method thereof
EP3179738A1 (en) Method for improving performance of speaker, and terminal device
JP2018032221A (en) Electronic device and control method of the same
US20220404891A1 (en) Power management device and consumer electronic product
TWI675300B (en) Universal serial bus device and operating method thereof
US10332600B2 (en) Chip programming device and protecting method thereof
TWI584542B (en) Connector and manufacturing method and updating method of the same
TW201810060A (en) Connector with USB form factor, data transmission device and data storage device thereof
TWI243982B (en) Method and apparatus for configuring a voltage regulator based on current information
CN103593319A (en) Serial port application method for supporting hot plugging and identifying external device automatically
CN213817241U (en) Power management device
US10521385B2 (en) Inter-device digital audio
US7996697B2 (en) Matching system of electronic device and peripheral device and matching method thereof
WO2008146073A1 (en) Disconnection detection of electronic devices
JP6069902B2 (en) Power supply current supply system and connector
TWI615704B (en) Electronic device and the control method thereof
TW202406263A (en) Power management device and consumer product
TWI817794B (en) Usb hub and operation method thereof
CN104638409A (en) USB (Universal Serial Bus) plug, USB socket, primary device and external device
JP2018185664A (en) Control system, electronic apparatus, and control method
JP2023040804A (en) Port controller and electronic apparatus