TW201945950A - Control device and related computer application program product - Google Patents
Control device and related computer application program product Download PDFInfo
- Publication number
- TW201945950A TW201945950A TW107121164A TW107121164A TW201945950A TW 201945950 A TW201945950 A TW 201945950A TW 107121164 A TW107121164 A TW 107121164A TW 107121164 A TW107121164 A TW 107121164A TW 201945950 A TW201945950 A TW 201945950A
- Authority
- TW
- Taiwan
- Prior art keywords
- circuit
- multiplexer
- power
- control device
- control
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
Description
本申請是關於一種適用於通用序列匯流排(universal serial bus,USB)的控制裝置。 The present application relates to a control device suitable for a universal serial bus (USB).
輕薄化的產品是現今移動式設備產業的設計趨勢。不過,輕薄化的設計也會使得分配給電池的空間減少,進而使得移動式設備的工作時間下降。因此,於移動式設備中設置低功率消耗的元件以延長移動式設備的工作時間,亦是當今的設計趨勢之一。然而,現今的移動式設備無論是否透過USB介面與其他設備連接,其中的傳統USB控制裝置卻皆會消耗差不多的功率,因而可觀地減少了移動式設備的工作時間。 Thin and light products are the design trend of the mobile device industry today. However, the thin and light design also reduces the space allocated to the battery, which in turn reduces the working time of mobile devices. Therefore, it is one of the current design trends to provide low power consumption components in mobile devices to extend the working time of mobile devices. However, whether or not a mobile device is connected to other devices through a USB interface, the conventional USB control device consumes almost the same power, thereby significantly reducing the working time of the mobile device.
有鑑於此,如何提供能適應性調整功率消耗的USB控制裝置及相關的電腦應用程式產品,實為業界有待解決的問題。 In view of this, how to provide a USB control device and related computer application products capable of adaptively adjusting power consumption is a problem to be solved in the industry.
本發明提供一種控制裝置,該控制裝置透過一外部介面電路耦接於一外部裝置,該外部介面電路包含多個 高速差動對端子以及多個非高速差動對端子。該控制裝置包含第一多工器、第二多工器、設置電路、控制電路、高頻震盪電路和電源電路。該第一多工器用於耦接該多個高速差動對端子。該第二多工器用於耦接該多個非高速差動對端子。該設置電路用於自該外部裝置接收一通道資訊信號和一電力資訊信號,其中該設置電路依據該通道資訊信號控制該第一多工器和該第二多工器的切換運作,並依據該通道資訊信號和該電力資訊信號分別產生一通道設置指令和一電力設置指令。該控制電路用於依據該電力設置指令控制一外部供電模組提供一電力輸出至該外部裝置。該高頻震盪電路用於提供一高頻時脈至該控制電路和該設置電路。該電源電路用於提供多個工作電壓至該第一多工器、該第二多工器、該控制電路和該高頻震盪電路。其中該控制電路還用於依據該通道設置指令和該電力設置指令控制該電源電路,以將該第一多工器、該第二多工器或該高頻震盪電路切換至失能狀態。 The invention provides a control device, which is coupled to an external device through an external interface circuit. The external interface circuit includes a plurality of high-speed differential pair terminals and a plurality of non-high-speed differential pair terminals. The control device includes a first multiplexer, a second multiplexer, a setting circuit, a control circuit, a high-frequency oscillation circuit, and a power supply circuit. The first multiplexer is used for coupling the plurality of high-speed differential pair terminals. The second multiplexer is used for coupling the plurality of non-high-speed differential pair terminals. The setting circuit is used for receiving a channel information signal and a power information signal from the external device, wherein the setting circuit controls the switching operation of the first multiplexer and the second multiplexer according to the channel information signal, and according to the The channel information signal and the power information signal respectively generate a channel setting instruction and a power setting instruction. The control circuit is used to control an external power supply module to provide a power output to the external device according to the power setting instruction. The high-frequency oscillation circuit is used to provide a high-frequency clock to the control circuit and the setting circuit. The power circuit is used to provide a plurality of operating voltages to the first multiplexer, the second multiplexer, the control circuit and the high-frequency oscillation circuit. The control circuit is further configured to control the power supply circuit according to the channel setting instruction and the power setting instruction to switch the first multiplexer, the second multiplexer, or the high-frequency oscillation circuit to a disabled state.
本發明另提供一種電腦應用程式產品,該電腦應用程式產品儲存在一控制裝置的一非暫時性儲存裝置中,其中該控制裝置透過一外部介面電路耦接於一外部裝置,該外部介面電路包含多個高速差動對端子以及多個非高速差動對端子,該控制裝置的一控制電路會執行該電腦應用程式產品,該電腦應用程式產品包含:收發模組、通道設置模組、電力設置模組和狀態切換模組。該收發模組用於接收一通道設置指令和一電力設置指令。該通道設置模組用於依據該通道設置指令判斷該控制裝置是否耦接於該外部裝 置。該電力設置模組用於依據該電力設置指令控制一外部供電模組提供一電力輸出至該外部裝置。其中該收發模組耦接於該通道設置模組、該電力設置模組和該狀態切換模組,該控制裝置的一電源電路用於提供多個工作電壓至該控制裝置的一第一多工器、一第二多工器和一高頻震盪電路,該第一多工器用於耦接該外部介面電路的該多個高速差動對端子,該第二多工器用於耦接該外部介面電路的該多個非高速差動對端子,該狀態切換模組用於依據該通道設置指令和該電力設置指令控制該電源電路,以將該第一多工器、該第二多工器或該高頻震盪電路切換至失能狀態。 The present invention also provides a computer application program product stored in a non-transitory storage device of a control device, wherein the control device is coupled to an external device through an external interface circuit, and the external interface circuit includes A plurality of high-speed differential pair terminals and a plurality of non-high-speed differential pair terminals. A control circuit of the control device executes the computer application program product. The computer application product product includes: a transceiver module, a channel setting module, and a power setting. Modules and status switching modules. The transceiver module is used for receiving a channel setting instruction and a power setting instruction. The channel setting module is used to determine whether the control device is coupled to the external device according to the channel setting instruction. The power setting module is used to control an external power supply module to provide a power output to the external device according to the power setting instruction. The transceiver module is coupled to the channel setting module, the power setting module, and the state switching module. A power circuit of the control device is used to provide multiple working voltages to a first multiplex of the control device. A first multiplexer, a second multiplexer, and a high-frequency oscillator circuit, the first multiplexer is used to couple the high-speed differential pair terminals of the external interface circuit, and the second multiplexer is used to couple the external interface The plurality of non-high-speed differential pair terminals of the circuit, the state switching module is used to control the power supply circuit according to the channel setting instruction and the power setting instruction, so that the first multiplexer, the second multiplexer or The high-frequency oscillating circuit is switched to a disabled state.
由上述內容可知,控制裝置可適應性地調整自身的功率消耗。因此,當控制裝置應用於移動式設備時,可有效延長移動式設備的運作時間。 As can be seen from the above, the control device can adaptively adjust its own power consumption. Therefore, when the control device is applied to a mobile device, the operating time of the mobile device can be effectively extended.
100‧‧‧控制裝置 100‧‧‧control device
101‧‧‧外部供電模組 101‧‧‧External power supply module
102‧‧‧外部處理器 102‧‧‧External Processor
103‧‧‧外部介面電路 103‧‧‧External interface circuit
104‧‧‧電力路徑 104‧‧‧Power Path
105‧‧‧外部裝置 105‧‧‧External device
110‧‧‧設置電路 110‧‧‧setting circuit
120‧‧‧第一多工器 120‧‧‧The first multiplexer
130‧‧‧第二多工器 130‧‧‧Second Multiplexer
140‧‧‧控制電路 140‧‧‧control circuit
142‧‧‧儲存裝置 142‧‧‧Storage device
144‧‧‧電腦應用程式產品 144‧‧‧Computer application products
150‧‧‧高頻震盪電路 150‧‧‧High Frequency Oscillation Circuit
160‧‧‧低頻震盪電路 160‧‧‧Low Frequency Oscillation Circuit
170‧‧‧電源電路 170‧‧‧ Power Circuit
180‧‧‧感測電路 180‧‧‧sensing circuit
210‧‧‧收發模組 210‧‧‧ transceiver module
220‧‧‧通道設置模組 220‧‧‧channel setting module
230‧‧‧電力設置模組 230‧‧‧Power Setting Module
240‧‧‧狀態切換模組 240‧‧‧Status Switching Module
302~320‧‧‧流程 302 ~ 320‧‧‧Process
Svch‧‧‧通道資訊信號 Svch‧‧‧ Channel Information Signal
Scfg‧‧‧通道設置指令 Scfg‧‧‧channel setting instruction
Sech‧‧‧電力資訊信號 Sech‧‧‧ Power Information Signal
Sefg‧‧‧電力設置指令 Sefg‧‧‧Power Setting Instructions
CKH‧‧‧高頻時脈 CKH‧‧‧High-frequency clock
CKL‧‧‧低頻時脈 CKL‧‧‧Low Frequency Clock
VDD‧‧‧外部電壓源 VDD‧‧‧ external voltage source
Vpw1‧‧‧第一工作電壓 Vpw1‧‧‧First working voltage
Vpw2‧‧‧第二工作電壓 Vpw2‧‧‧Second working voltage
Vpw3‧‧‧第三工作電壓 Vpw3‧‧‧third working voltage
Vp‧‧‧電力輸出 Vp‧‧‧Power output
CC1/CC2‧‧‧設置通道端子 CC1 / CC2‧‧‧ Set channel terminal
D1+/D1-、D2+/D2-‧‧‧非高速差動對端子 D1 + / D1-, D2 + / D2-‧‧‧ non-high-speed differential pair terminals
TX1/RX1、TX2/RX2‧‧‧高速差動對端子 TX1 / RX1, TX2 / RX2‧‧‧High-speed differential pair terminal
VBUS‧‧‧匯流排端子 VBUS‧‧‧ Bus Terminal
第1圖為依據本發明一實施例的控制裝置簡化後的功能方塊圖。 FIG. 1 is a simplified functional block diagram of a control device according to an embodiment of the present invention.
第2圖為第1圖的電腦應用程式產品的功能模組簡化後的示意圖。 Figure 2 is a simplified schematic diagram of the functional modules of the computer application program product of Figure 1.
第3圖為依據本發明一實施例的控制方法簡化後的流程圖。 FIG. 3 is a simplified flowchart of a control method according to an embodiment of the present invention.
以下將配合相關圖式來說明本發明的實施例。在圖式中,相同的標號表示相同或類似的元件或方法流程。 Hereinafter, embodiments of the present invention will be described with reference to related drawings. In the drawings, the same reference numerals represent the same or similar elements or method flows.
第1圖為依據本發明一實施例的控制裝置100簡化後的功能方塊圖。如第1圖所示,控制裝置100包含設置電路110、第一多工器120、第二多工器130、控制電路140、高頻震盪電路150、低頻震盪電路160、電源電路170和感測電路180。控制電路140包含非暫時性儲存裝置142,且儲存裝置142儲存有電腦應用程式產品144。控制裝置100可用於耦接外部供電模組101、外部處理器102和外部介面電路103,並透過外部介面電路103耦接於外部裝置105。另外,外部供電模組101和外部處理器102也透過外部介面電路103耦接於外部裝置105。控制裝置100可執行電腦應用程式產品144以控制外部供電模組101和外部裝置105之間的電力傳輸,以及控制外部處理器102和外部裝置105之間的資料通信。為使圖面簡潔而易於說明,控制裝置100中的其他元件與連接關係並未繪示於第1圖中。 FIG. 1 is a simplified functional block diagram of a control device 100 according to an embodiment of the present invention. As shown in FIG. 1, the control device 100 includes a setting circuit 110, a first multiplexer 120, a second multiplexer 130, a control circuit 140, a high-frequency oscillation circuit 150, a low-frequency oscillation circuit 160, a power supply circuit 170, and a sensing device. Circuit 180. The control circuit 140 includes a non-transitory storage device 142, and the storage device 142 stores a computer application program product 144. The control device 100 can be used for coupling the external power supply module 101, the external processor 102, and the external interface circuit 103, and is coupled to the external device 105 through the external interface circuit 103. In addition, the external power supply module 101 and the external processor 102 are also coupled to the external device 105 through the external interface circuit 103. The control device 100 can execute a computer application program product 144 to control power transmission between the external power supply module 101 and the external device 105, and control data communication between the external processor 102 and the external device 105. In order to make the drawing simple and easy to explain, other components and connection relationships in the control device 100 are not shown in the first figure.
設置電路110耦接外部介面電路103的一對設置通道(configuration channel)端子CC1/CC2。第一多工器120耦接於外部介面電路103的兩對高速差動對端子TX1/RX1和TX2/RX2,能夠選擇性地將高速差動對端子TX1/RX1和TX2/RX2的其中一對耦接到外部處理器102。第二多工器130耦接於外部介面電路103的兩對非高速差動對端子D1+/D1-和D2+/D2-,能夠選擇性地將非高速差動對端子D1+/D1-和D2+/D2-的其中一對耦接到外部 處理器102。感測電路180耦接一電力路徑104,外部供電模組101會透過電力路徑104以及外部介面電路103的匯流排端子VBUS提供電力輸出Vp至外部裝置105,感測電路180則用於感測電力路徑104上的電力輸出Vp的大小,並將感測結果傳送至控制電路140。 The setting circuit 110 is coupled to a pair of configuration channel terminals CC1 / CC2 of the external interface circuit 103. The first multiplexer 120 is coupled to two pairs of high-speed differential pair terminals TX1 / RX1 and TX2 / RX2 of the external interface circuit 103, and can selectively pair one of the high-speed differential pair terminals TX1 / RX1 and TX2 / RX2. Coupling to the external processor 102. The second multiplexer 130 is coupled to two non-high-speed differential pair terminals D1 + / D1- and D2 + / D2- of the external interface circuit 103, and can selectively connect the non-high-speed differential pair terminals D1 + / D1- and D2 + / One pair of D2- is coupled to the external processor 102. The sensing circuit 180 is coupled to a power path 104. The external power supply module 101 provides power output Vp to the external device 105 through the bus path VBUS of the power path 104 and the external interface circuit 103. The sensing circuit 180 is used to sense power The magnitude of the power output Vp on the path 104 is transmitted to the control circuit 140.
實作上,外部供電模組101可以用個人電腦或筆記型電腦等等裝置中的電源管理晶片(power management IC,簡稱PMIC)來實現,外部處理器102則可以用上述裝置中的中央處理器或是其他系統單晶片(System on chip,簡稱SoC)電路來實現。 In practice, the external power supply module 101 may be implemented by a power management IC (PMIC) in a personal computer or a notebook computer and the like, and the external processor 102 may be a central processing unit in the above device. Or other system on chip (SoC) circuits to implement.
另外,外部介面電路103可以是手機、行動電源、筆記型電腦、個人電腦或是平板電腦等等裝置上的各種USB type-C連接器(connector)。 In addition, the external interface circuit 103 may be various USB type-C connectors on a device such as a mobile phone, a mobile power source, a notebook computer, a personal computer, or a tablet computer.
設置電路110自外部介面電路103的設置通道端子CC1/CC2接收外部裝置105所產生的通道資訊信號Svch,以判斷外部介面電路103的連接狀態。例如,通道資訊信號Svch可反應外部介面電路103是否連接於外部裝置105,或是外部介面電路103和外部裝置105的連接方向。設置電路110可依據通道資訊信號Svch所代表的連接方向,控制第一多工器130和第二多工器140的切換運作,以使外部處理器102選擇性地耦接至外部介面電路103的兩對高速差動對端子TX1/RX1和TX2/RX2的其中之一,或是兩對非高速差動對端子D1+/D1-和D2+/D2-的其中之一。 The setting circuit 110 receives the channel information signal Svch generated by the external device 105 from the setting channel terminals CC1 / CC2 of the external interface circuit 103 to determine the connection status of the external interface circuit 103. For example, the channel information signal Svch can reflect whether the external interface circuit 103 is connected to the external device 105 or the connection direction of the external interface circuit 103 and the external device 105. The setting circuit 110 can control the switching operation of the first multiplexer 130 and the second multiplexer 140 according to the connection direction represented by the channel information signal Svch, so that the external processor 102 is selectively coupled to the external interface circuit 103. One of the two pairs of high-speed differential pair terminals TX1 / RX1 and TX2 / RX2, or one of the two pairs of non-high-speed differential pair terminals D1 + / D1- and D2 + / D2-.
設置電路110還用於自設置通道端子CC1/CC2 接收外部裝置105所產生的電力資訊信號Sech,並依據電力資訊信號Sech輸出電力設置指令Sefg至控制電路140,其中電力資訊信號Sech可反應外部裝置105的電力需求。控制電路140會依據電力設置指令Sefg以及感測電路180的感測結果控制外部供電模組101的運作,以使外部供電模組101將合適的電力輸出Vp透過外部介面電路103的匯流排端子VBUS提供至外部裝置105。例如,控制電路140可依據電力設置指令Sefg得知外部裝置105的電力需求為何,並控制外部供電模組101對應地提供5V/1A或是5V/2A的電力輸出Vp至外部裝置105,再依據感測電路180的感測結果判斷電力輸出Vp的大小是否正確。 The setting circuit 110 is also used to receive the power information signal Sech generated by the external device 105 from the setting channel terminal CC1 / CC2, and output a power setting instruction Sefg to the control circuit 140 according to the power information signal Sech, wherein the power information signal Sech can reflect the external device 105 power requirements. The control circuit 140 controls the operation of the external power supply module 101 according to the power setting instruction Sefg and the sensing result of the sensing circuit 180, so that the external power supply module 101 transmits an appropriate power output Vp through the bus terminal VBUS of the external interface circuit 103 Provided to the external device 105. For example, the control circuit 140 can learn the power demand of the external device 105 according to the power setting instruction Sefg, and control the external power supply module 101 to correspondingly provide a power output Vp of 5V / 1A or 5V / 2A to the external device 105, and then The sensing result of the sensing circuit 180 determines whether the magnitude of the power output Vp is correct.
高頻震盪電路150和低頻震盪電路160分別提供高頻時脈CKH和低頻時脈CKL,以做為設置電路110和控制電路140的工作時脈。電源電路170會將外部電壓源VDD轉換為第一至第三工作電壓Vpw1~Vpw3,並將第一工作電壓Vpw1提供給設置電路110和低頻震盪電路160,將第二工作電壓Vpw2提供給第一多工器120、第二多工器130、控制電路140和感測電路180,且將第三工作電壓Vpw3提供至高頻震盪電路150。 The high-frequency oscillating circuit 150 and the low-frequency oscillating circuit 160 respectively provide a high-frequency clock CKH and a low-frequency clock CKL as the working clock of the setting circuit 110 and the control circuit 140. The power supply circuit 170 converts the external voltage source VDD into first to third operating voltages Vpw1 to Vpw3, and provides the first operating voltage Vpw1 to the setting circuit 110 and the low-frequency oscillation circuit 160, and provides the second operating voltage Vpw2 to the first The multiplexer 120, the second multiplexer 130, the control circuit 140, and the sensing circuit 180 provide the third operating voltage Vpw3 to the high-frequency oscillation circuit 150.
實作上,電源電路170可以用各種合適的線性穩壓器(low dropout linear regulator)來實現,且電源電路170、外部供電模組101和外部處理器102可以由同一個電力系統進行供電。例如,電源電路170可以和外部供電模組101以及外部處理器102一起設置於同一個筆記型電腦、 個人電腦或行動電源等等裝置中,並由前述裝置的電力系統獲取電力。 In practice, the power supply circuit 170 may be implemented with various suitable low dropout linear regulators, and the power supply circuit 170, the external power supply module 101, and the external processor 102 may be powered by the same power system. For example, the power supply circuit 170 may be installed in the same notebook computer, personal computer, or mobile power supply device as the external power supply module 101 and the external processor 102, and the power is obtained by the power system of the foregoing device.
另外,高頻震盪電路150和低頻震盪電路160可分別用各種LC震盪電路(inductor-capacitor oscillator)和RC震盪電路(resistor-capacitor oscillator)來實現。 In addition, the high-frequency oscillating circuit 150 and the low-frequency oscillating circuit 160 may be implemented by various LC-capacitor oscillators and RC-resonator-capacitor oscillators, respectively.
設置電路110還會依據通道資訊信號Svch輸出通道設置指令Scfg至控制電路140,控制電路140再依據通道設置指令Scfg以及前述的電力設置指令Sefg切換控制裝置100的運作狀態,以適應性地調整控制裝置100的功率消耗。以下將配合第2圖和第3圖進一步說明控制電路140的運作。 The setting circuit 110 also outputs the channel setting instruction Scfg to the control circuit 140 according to the channel information signal Svch. The control circuit 140 then switches the operation state of the control device 100 according to the channel setting instruction Scfg and the aforementioned power setting instruction Sefg to adjust the control adaptively. Power consumption of the device 100. The operation of the control circuit 140 will be further described below with reference to FIGS. 2 and 3.
第2圖為第1圖的電腦應用程式產品144的功能模組簡化後的示意圖。電腦應用程式產品144包含收發模組210、通道設置模組220、電力設置模組230和狀態切換模組240,其中收發模組210耦接於通道設置模組220、電力設置模組230和狀態切換模組240。收發模組210用於接收通道設置指令Scfg和電力設置指令Sefg。通道設置模組220用於依據通道設置指令Scfg判斷控制裝置100是否耦接於外部裝置105。電力設置模組230用於依據電力設置指令Sefg控制外部供電模組101提供合適的電力輸出Vp。狀態切換模組240用於依據通道設置指令Scfg和電力設置指令Sefg控制電源電路170是否輸出前述的第一至第三工作電壓Vpw1~Vpw3。 FIG. 2 is a simplified schematic diagram of the functional modules of the computer application program product 144 in FIG. 1. The computer application program product 144 includes a transceiver module 210, a channel setting module 220, a power setting module 230, and a status switching module 240. The transceiver module 210 is coupled to the channel setting module 220, the power setting module 230, and a status. Switching module 240. The transceiver module 210 is configured to receive a channel setting instruction Scfg and a power setting instruction Sefg. The channel setting module 220 is configured to determine whether the control device 100 is coupled to the external device 105 according to the channel setting instruction Scfg. The power setting module 230 is configured to control the external power supply module 101 to provide an appropriate power output Vp according to the power setting instruction Sefg. The state switching module 240 is used to control whether the power supply circuit 170 outputs the aforementioned first to third operating voltages Vpw1 to Vpw3 according to the channel setting instruction Scfg and the power setting instruction Sefg.
第3圖為依據本發明一實施例的控制方法300簡化後的流程圖。在第3圖所繪示的流程圖中,位於一特定模組所屬欄位中的流程,即代表由該特定模組所進行的流程。例如,標記在「210」欄位中的流程,代表由收發模組210所進行的流程。在進行第3圖中的控制方法300時,控制裝置100中的控制電路140會執行電腦應用程式產品144,以使控制裝置100執行第3圖中的全部或部分流程。 FIG. 3 is a simplified flowchart of a control method 300 according to an embodiment of the present invention. In the flowchart shown in FIG. 3, a process located in a field to which a specific module belongs represents a process performed by the specific module. For example, the process marked in the “210” field represents the process performed by the transceiver module 210. When the control method 300 in FIG. 3 is performed, the control circuit 140 in the control device 100 executes a computer application program product 144, so that the control device 100 executes all or part of the processes in FIG.
當控制裝置100接收到外部電壓源VDD或是剛進行完重設(Reset)運作時,控制裝置100會進入流程302。在流程302中,狀態切換模組240會指示電源電路170停止輸出第二工作電壓Vpw2和第三工作電壓Vpw3。此時,接收第二工作電壓Vpw2的第一多工器120、第二多工器130和感測電路180會進入失能狀態(例如,斷電狀態),而接收第三工作電壓Vpw3的高頻震盪電路150也會進入失能狀態。 When the control device 100 receives the external voltage source VDD or just performs a reset operation, the control device 100 enters the process 302. In the process 302, the state switching module 240 instructs the power supply circuit 170 to stop outputting the second working voltage Vpw2 and the third working voltage Vpw3. At this time, the first multiplexer 120, the second multiplexer 130, and the sensing circuit 180 receiving the second working voltage Vpw2 will enter a disabled state (for example, a power-off state), and receive the third working voltage Vpw3 as high as The frequency oscillating circuit 150 will also enter a disabled state.
接著,當收發模組210於流程304中接收到通道設置指令Scfg時,通道設置模組220會執行流程306,以依據通道設置指令Scfg判斷控制裝置100是否耦接於外部介面電路103。若否,狀態切換模組240會使控制裝置100置重複執行流程302,以降低控制裝置100的功率消耗。若是,狀態切換模組240會使控制裝置100接著執行流程308。 Then, when the transceiver module 210 receives the channel setting instruction Scfg in the process 304, the channel setting module 220 executes the process 306 to determine whether the control device 100 is coupled to the external interface circuit 103 according to the channel setting instruction Scfg. If not, the state switching module 240 causes the control device 100 to repeatedly execute the process 302 to reduce the power consumption of the control device 100. If yes, the state switching module 240 causes the control device 100 to execute the process 308 next.
在流程308中,狀態切換模組240會指示電源電路170輸出第二工作電壓Vpw2和第三工作電壓Vpw3。此時,接收第二工作電壓Vpw2的第一多工器120、第二多工 器130和感測電路180會進入致能狀態(例如,上電狀態),而接收第三工作電壓Vpw3的高頻震盪電路150也會進入致能狀態。 In the process 308, the state switching module 240 instructs the power supply circuit 170 to output the second working voltage Vpw2 and the third working voltage Vpw3. At this time, the first multiplexer 120, the second multiplexer 130, and the sensing circuit 180 receiving the second operating voltage Vpw2 will enter an enabled state (for example, a power-on state), and receive a high level of the third operating voltage Vpw3. The frequency oscillation circuit 150 also enters an enabled state.
接著,當收發模組210於流程310中接收到電力設置指令Sefg時,電力設置模組230會執行流程312,以依據電力設置指令Sefg分析外部裝置105的電力需求,並控制外部供電模組101提供合適的電力輸出Vp。 Then, when the transceiver module 210 receives the power setting instruction Sefg in the process 310, the power setting module 230 executes the flow 312 to analyze the power demand of the external device 105 and control the external power supply module 101 according to the power setting instruction Sefg. Provide appropriate power output Vp.
於流程314中,狀態切換模組240會判斷控制裝置100是否已超過一預定時間(例如,1秒)未接收到電力設置指令Sefg。若否,收發模組210會重複執行流程310。亦即,收發模組210和電力設置模組230可多次執行流程310~314,以確保外部供電模組101提供的電力輸出Vp符合外部裝置105當下的電力需求。 In the process 314, the state switching module 240 determines whether the control device 100 has not received the power setting instruction Sefg for more than a predetermined time (for example, 1 second). If not, the transceiver module 210 repeats the process 310. That is, the transceiver module 210 and the power setting module 230 may execute the processes 310 to 314 multiple times to ensure that the power output Vp provided by the external power supply module 101 meets the current power demand of the external device 105.
另一方面,若控制裝置100已超過預定時間(例如,1秒)未接收到電力設置指令Sefg,狀態切換模組240會執行流程316。在流程316中,狀態切換模組240會將設置電路110和控制電路140由依據高頻時脈CKH進行運作切換為依據低頻時脈CKL進行運作,並指示電源電路170停止輸出第三工作電壓Vpw3,以將高頻震盪電路150切換至失能狀態(例如,斷電狀態)。如此一來,便可以使控制裝置100運作於低功耗工作狀態。 On the other hand, if the control device 100 has not received the power setting instruction Sefg for more than a predetermined time (for example, 1 second), the state switching module 240 executes the process 316. In the process 316, the state switching module 240 switches the setting circuit 110 and the control circuit 140 from operating in accordance with the high-frequency clock CKH to operating in accordance with the low-frequency clock CKL, and instructs the power supply circuit 170 to stop outputting the third operating voltage Vpw3. To switch the high-frequency oscillating circuit 150 to a disabled state (for example, a power-off state). In this way, the control device 100 can be operated in a low power consumption operating state.
接著,在流程318中,當收發模組210再度接收到電力設置指令Sefg時,代表外部介面電路103的電力需求可能有所改變,因而發送了新的電力資訊信號Sech至控制 裝置100。此時,狀態切換模組240會執行流程320。 Next, in the process 318, when the transceiver module 210 receives the power setting instruction Sefg again, the power demand representing the external interface circuit 103 may be changed, so a new power information signal Sech is sent to the control device 100. At this time, the state switching module 240 executes the process 320.
在流程320中,狀態切換模組240會指示電源電路170輸出第三工作電壓Vpw3,以將高頻震盪電路150切換至致能狀態(例如,導電狀態)。另外,狀態切換模組240會將設置電路110和控制電路140切換至依據高頻時脈CKH進行運作,以及時回應外部裝置105可能傳來的其他資訊或要求。接著,電力設置模組230會再度執行前述的流程312,以使外部供電模組101依據外部裝置105目前的電力需求調整電力輸出Vp。 In the process 320, the state switching module 240 instructs the power supply circuit 170 to output a third working voltage Vpw3 to switch the high-frequency oscillation circuit 150 to an enabled state (for example, a conductive state). In addition, the state switching module 240 switches the setting circuit 110 and the control circuit 140 to operate according to the high-frequency clock CKH, and responds to other information or requests that may be transmitted from the external device 105 in a timely manner. Then, the power setting module 230 executes the foregoing process 312 again, so that the external power supply module 101 adjusts the power output Vp according to the current power demand of the external device 105.
值得注意的是,若控制裝置100在進入流程316後一直沒有接收到電力設置指令Sefg,控制裝置100可以繼續維持在低功耗工作狀態。 It is worth noting that if the control device 100 has not received the power setting instruction Sefg after entering the process 316, the control device 100 can continue to maintain a low power consumption working state.
由上述可知,藉由流程316~320中的運作,即使控制裝置100處於低功耗工作狀態,控制裝置100也能及時回應外部裝置105的電力需求變化,進而調整外部供電模組101的電力輸出Vp。 It can be known from the above that, through the operations in the processes 316 to 320, even if the control device 100 is in a low-power operation state, the control device 100 can respond to the power demand change of the external device 105 in time, thereby adjusting the power output of the external power supply module 101 Vp.
另外,當控制裝置100進入低功耗工作狀態時,電源電路170不會停止輸出第二工作電壓Vpw,所以第一多工器120和第二多工器130的工作狀態不會改變。如此一來,外部處理器102和外部裝置105之間的資料通信便不會中斷或延遲。 In addition, when the control device 100 enters a low power consumption operating state, the power supply circuit 170 does not stop outputting the second operating voltage Vpw, so the operating states of the first multiplexer 120 and the second multiplexer 130 do not change. In this way, the data communication between the external processor 102 and the external device 105 will not be interrupted or delayed.
在某些控制電路140可以偵測外部供電模組101的輸出能力的實施例中,當控制裝置100處於低功耗工作狀態,且控制電路140偵測到外部供電模組101的輸出能 力改變時(例如,由最高可提供5V/2A變化為最高可提供5V/1A),狀態切換模組240也會執行流程320以將設置電路110和控制電路140切換至依據高頻時脈CKH進行運作。此時,控制電路140會利用收發模組210向外部裝置105更新外部供電模組101的輸出能力,以使外部裝置105相應地調整電力需求。 In some embodiments where the control circuit 140 can detect the output capability of the external power supply module 101, when the control device 100 is in a low-power operation state, and the control circuit 140 detects that the output capability of the external power supply module 101 is changed (For example, changing from a maximum of 5V / 2A to a maximum of 5V / 1A), the state switching module 240 also executes the process 320 to switch the setting circuit 110 and the control circuit 140 to operate according to the high-frequency clock CKH. At this time, the control circuit 140 uses the transceiver module 210 to update the output capability of the external power supply module 101 to the external device 105 so that the external device 105 adjusts the power demand accordingly.
請注意,前述各流程圖中的流程執行順序,只是示範性的實施例,而非侷限本發明的實際實施方式。 Please note that the execution order of the processes in the foregoing flowcharts is only an exemplary embodiment, not a limitation of the actual implementation of the present invention.
例如,在某些實施例中,流程304~306可以和其他流程平行執行,以隨時偵測控制裝置100和外部裝置105的連接狀態。 For example, in some embodiments, the processes 304-306 may be executed in parallel with other processes to detect the connection status of the control device 100 and the external device 105 at any time.
又例如,在另外一些實施例中,流程314可以和流程310~312平行執行,以隨時偵測控制電路140是否超過預定時間長度未接收到電力設置指令Sefg。 For another example, in other embodiments, the process 314 may be executed in parallel with the processes 310 to 312 to detect at any time whether the control circuit 140 has not received the power setting instruction Sefg for more than a predetermined period of time.
由上述內容可知,控制裝置100藉由執行電腦應用程式產品144,可在適應性節省功率的情況下,及時依據外部裝置105的電力需求變化控制供電模組101,且不影響外部處理器103和外部裝置105之間的資料通信。因此,當控制裝置100應用於電力有限的移動式電子設備時,可有效延長移動式電子設備的運作時間,又不影響移動式電子設備的工作效率。 From the above, it can be known that by executing the computer application program product 144, the control device 100 can control the power supply module 101 according to the power demand change of the external device 105 in a timely manner while adaptively saving power, without affecting the external processors 103 and Data communication between the external devices 105. Therefore, when the control device 100 is applied to a mobile electronic device with limited power, the operating time of the mobile electronic device can be effectively extended without affecting the working efficiency of the mobile electronic device.
在說明書及申請專利範圍中使用了某些詞彙來指稱特定的元件。然而,所屬技術領域中具有通常知識者應可理解,同樣的元件可能會用不同的名詞來稱呼。說明書及 申請專利範圍並不以名稱的差異做為區分元件的方式,而是以元件在功能上的差異來做為區分的基準。在說明書及申請專利範圍所提及的「包含」為開放式的用語,故應解釋成「包含但不限定於」。另外,「耦接」在此包含任何直接及間接的連接手段。因此,若文中描述第一元件耦接於第二元件,則代表第一元件可通過電性連接或無線傳輸、光學傳輸等信號連接方式而直接地連接於第二元件,或者通過其他元件或連接手段間接地電性或信號連接至該第二元件。 Certain terms are used in the description and the scope of patent applications to refer to specific elements. However, it should be understood by those with ordinary knowledge in the technical field that the same elements may be referred to by different names. The scope of the specification and patent application does not take the difference in names as a way to distinguish components, but rather uses the difference in functions of components as a basis for distinguishing. "Inclusion" mentioned in the specification and the scope of patent application is an open-ended term, so it should be interpreted as "including but not limited to". In addition, "coupled" includes any direct or indirect means of connection. Therefore, if the first element is described as being coupled to the second element, it means that the first element can be directly connected to the second element through electrical connection or signal connection methods such as wireless transmission or optical transmission, or through other elements or connections. Means are indirectly electrically or signally connected to the second element.
以上僅為本發明的較佳實施例,凡依本發明請求項所做的均等變化與修飾,皆應屬本發明的涵蓋範圍。 The above are only preferred embodiments of the present invention, and any equivalent changes and modifications made according to the claims of the present invention shall fall within the scope of the present invention.
Claims (10)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810407457.2A CN110413555B (en) | 2018-04-28 | 2018-04-28 | Control device and related non-transitory storage device |
CN201810407457.2 | 2018-04-28 |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201945950A true TW201945950A (en) | 2019-12-01 |
TWI697781B TWI697781B (en) | 2020-07-01 |
Family
ID=68357709
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107121164A TWI697781B (en) | 2018-04-28 | 2018-06-20 | Control device and related computer application program product |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110413555B (en) |
TW (1) | TWI697781B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115686164A (en) * | 2021-07-26 | 2023-02-03 | 瑞昱半导体股份有限公司 | Power supply terminal device, power supply system and non-transitory computer readable medium |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6741116B2 (en) * | 2001-10-15 | 2004-05-25 | Semikron Elekronik Gmbh | Semiconductor component for direct gate control and monitoring of power semiconductor switches |
TW200917006A (en) * | 2007-10-01 | 2009-04-16 | Inventec Corp | Apparatus and method for power management |
US8028178B2 (en) * | 2008-09-09 | 2011-09-27 | Freescale Semiconductor, Inc. | System and method for providing external power on a universal serial bus |
TW201122793A (en) * | 2009-12-17 | 2011-07-01 | Ind Tech Res Inst | Architecture of multi-power mode serial interface |
EP2729864A1 (en) * | 2011-07-05 | 2014-05-14 | 3M Innovative Properties Company | Power control device and power control method |
WO2014130976A1 (en) * | 2013-02-22 | 2014-08-28 | Ikingdom Corp | System and method for utilizing standard four wire usb for multiple power modes and out of band state management |
CN103400492B (en) * | 2013-06-24 | 2016-12-28 | 深圳市国电科技通信有限公司 | Merge electric lines of force and the dual-mode communication chip of radio communication and collecting device |
TW201516637A (en) * | 2013-10-31 | 2015-05-01 | Acer Inc | Hub device for universal serial bus and power management method therefore |
US9448606B2 (en) * | 2014-09-23 | 2016-09-20 | Broadcom Corporation | Adaptive power configuration for a MHL and HDMI combination multimedia device |
CN205029143U (en) * | 2015-08-05 | 2016-02-10 | 庄忆芳 | USBType -C conversion module |
CN205016791U (en) * | 2015-09-24 | 2016-02-03 | 张乃千 | USBType -C connector module |
-
2018
- 2018-04-28 CN CN201810407457.2A patent/CN110413555B/en active Active
- 2018-06-20 TW TW107121164A patent/TWI697781B/en active
Also Published As
Publication number | Publication date |
---|---|
CN110413555B (en) | 2021-02-12 |
TWI697781B (en) | 2020-07-01 |
CN110413555A (en) | 2019-11-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9678554B2 (en) | Low power mode operation when charging a device | |
KR20150087668A (en) | Device for routing wakeup signal using physical layer for low power, method thereof, and data processing system having same | |
US20160174361A1 (en) | Signal routing | |
US9772670B2 (en) | Power-control devices | |
US9477293B2 (en) | Embedded controller for power-saving and method thereof | |
CN102147652A (en) | Shut-down energy-saving system and shut-down energy-saving method | |
TWI479303B (en) | Sleep status controlling system, computer system, and sleep status detecting method thereof | |
CN103870429A (en) | High-speed-signal processing board based on embedded GPU | |
KR20140111896A (en) | Application process and driving method thereof | |
KR20150113569A (en) | A method and an apparatus for power control of low power system of electronic device | |
WO2019133283A1 (en) | Energy-aware power sharing control | |
US20100250983A1 (en) | Power saving control system | |
TWI697781B (en) | Control device and related computer application program product | |
US10754413B2 (en) | Mechanism to enter or exit retention level voltage while a system-on-a-chip is in low power mode | |
CN105530339A (en) | Mobile terminal and forced shutdown circuit thereof | |
US10331592B2 (en) | Communication apparatus with direct control and associated methods | |
TWI483118B (en) | Portable electronic device | |
US20170177060A1 (en) | Micro server | |
JP6649579B2 (en) | Electronic system, function expansion device and power management program | |
CN110069367B (en) | Power supply switching circuit | |
CN111045483A (en) | Heating circuit of reinforced tablet computer | |
TWI459187B (en) | Computer system | |
CN213521318U (en) | Multi-input single-output energy-gathering charging wire | |
CN110120805A (en) | Logic function block, logic circuit, integrated circuit and electronic device | |
CN115794711B (en) | High-speed serial computer expansion bus standard backboard |