TWI766514B - Electronic device and powering method thereof - Google Patents

Electronic device and powering method thereof Download PDF

Info

Publication number
TWI766514B
TWI766514B TW109146778A TW109146778A TWI766514B TW I766514 B TWI766514 B TW I766514B TW 109146778 A TW109146778 A TW 109146778A TW 109146778 A TW109146778 A TW 109146778A TW I766514 B TWI766514 B TW I766514B
Authority
TW
Taiwan
Prior art keywords
frequency
clock signal
electronic device
mentioned
wake
Prior art date
Application number
TW109146778A
Other languages
Chinese (zh)
Other versions
TW202225909A (en
Inventor
藍永吉
Original Assignee
新唐科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 新唐科技股份有限公司 filed Critical 新唐科技股份有限公司
Priority to TW109146778A priority Critical patent/TWI766514B/en
Priority to CN202111540941.0A priority patent/CN114690845B/en
Application granted granted Critical
Publication of TWI766514B publication Critical patent/TWI766514B/en
Publication of TW202225909A publication Critical patent/TW202225909A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/06Clock generators producing several clock signals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3237Power saving characterised by the action undertaken by disabling clock generation or distribution

Abstract

An electronic device includes a power management unit, a regulator, a clock generator, and a digital circuit. The power management unit receives a wakeup instruction to generate a first control signal and a second control signal. The regulator generates a supply voltage according to the first control signal. The clock generator generates a clock signal having a first frequency according to the second control signal, and the clock signal has a second frequency in a predetermined period after the clock signal has been generated. The digital circuit is powered by the supply voltage and operates according to the clock signal.

Description

電子裝置及其供電方法Electronic device and power supply method thereof

本發明係有關於一種電子裝置及其供電方法,特別係有關於一種加速自低功耗模式喚醒之電子裝置及其供電方法。The present invention relates to an electronic device and a power supply method thereof, and in particular, to an electronic device that accelerates wake-up from a low power consumption mode and a power supply method thereof.

在低耗能設計的積體電路上,供應積體電路的電源的電壓調節器(Regulator),會因應不同的輸出負載需求而切換供應模式。通常在輸出電流能力較高的狀態,電壓調節器以及它的偏壓電路,必須消耗較高的靜態電流,以維持電壓調節器輸出電流和電壓的穩定性。而當系統進入休眠模式時,由於電壓調節器的輸出電流之需求變低了,系統會將電壓調節器操作在低耗能模式,讓其靜態電流耗電降低,進而降低系統閒置時的功率損耗。因此,系統的使用者可以在系統需要運算時將系統操作在高效能模式,系統閒置時操作在低耗能模式,進而達到省電的目的。On an integrated circuit designed with low power consumption, a voltage regulator (regulator) that supplies power to the integrated circuit will switch supply modes according to different output load requirements. Usually in the state of high output current capability, the voltage regulator and its bias circuit must consume high quiescent current to maintain the stability of the output current and voltage of the voltage regulator. When the system enters the sleep mode, since the output current demand of the voltage regulator becomes lower, the system will operate the voltage regulator in a low power consumption mode, so that its quiescent current consumption is reduced, thereby reducing the power consumption when the system is idle. . Therefore, a user of the system can operate the system in a high-efficiency mode when the system needs computing, and operate in a low-power consumption mode when the system is idle, thereby achieving the purpose of saving power.

然而,由低耗能模式轉換成高耗能模式的時間為一個低耗能積體電路的設計重點,因為越快轉換到高效能模式可以越快的將運算任務執行完成,因此有必要降低系統自休眠模式恢復至正常工作模式所需之時間。However, the time required to switch from the low-power mode to the high-power mode is a design focus of a low-power integrated circuit, because the faster the switch to the high-power mode, the faster the computing task can be completed, so it is necessary to reduce the system Time required to return from sleep mode to normal working mode.

有鑑於此,本發明提出一種電子裝置,包括一電源管理單元、一電壓調節器、一時脈產生器以及一數位電路。上述電源管理單元接收一喚醒指令而產生一第一控制信號以及以一第二控制信號。上述電壓調節器根據上述第一控制信號而產生一供應電壓。上述時脈產生器根據上述第二控制信號而產生具有一第一頻率之一時脈信號,且於產生上述時脈信號後之一既定時間,上述時脈信號具有一第二頻率。上述數位電路接收上述供應電壓進行供電,且根據上述時脈信號進行操作。In view of this, the present invention provides an electronic device including a power management unit, a voltage regulator, a clock generator and a digital circuit. The power management unit receives a wake-up command to generate a first control signal and a second control signal. The voltage regulator generates a supply voltage according to the first control signal. The clock generator generates a clock signal with a first frequency according to the second control signal, and at a predetermined time after generating the clock signal, the clock signal has a second frequency. The digital circuit receives the supply voltage for power supply, and operates according to the clock signal.

根據本發明之一實施例,上述第一頻率係小於上述第二頻率,其中當上述時脈產生器根據上述第一控制信號而產生上述時脈信號時,上述時脈信號具有上述第一頻率,其中在上述時脈信號產生後經上述既定時間,上述時脈信號自上述第一頻率逐漸上升至上述第二頻率。According to an embodiment of the present invention, the first frequency is lower than the second frequency, and when the clock generator generates the clock signal according to the first control signal, the clock signal has the first frequency, The clock signal gradually rises from the first frequency to the second frequency after the predetermined time after the clock signal is generated.

根據本發明之一實施例,當上述電源管理單元接收到上述喚醒指令時,上述電子裝置係自一低功耗模式恢復至一正常操作模式,其中上述電源管理單元利用上述第一控制信號,而將上述電壓調節器喚醒至上述高效能模式。According to an embodiment of the present invention, when the power management unit receives the wake-up command, the electronic device is restored from a low power consumption mode to a normal operation mode, wherein the power management unit uses the first control signal to Wake up the above voltage regulator to the above high performance mode.

根據本發明之一實施例,當上述電子裝置操作於上述低功耗模式時,上述時脈產生器停止產生上述時脈信號。According to an embodiment of the present invention, when the electronic device operates in the low power consumption mode, the clock generator stops generating the clock signal.

根據本發明之一實施例,上述數位電路包括一中央處理器以及一週邊裝置。According to an embodiment of the present invention, the above-mentioned digital circuit includes a central processing unit and a peripheral device.

本發明更提出一種供電方法,用以對一數位電路進行供電,包括接收一喚醒指令;根據上述喚醒指令,產生一供應電壓以及一時脈信號,其中上述時脈信號係於一既定時間,自一第一頻率改變為一第二頻率;以及將上述供應電壓以及上述時脈信號提供至上述數位電路,使得上述數位電路以上述供應電壓進行供電,且根據上述時脈信號進行操作。The present invention further provides a power supply method for supplying power to a digital circuit, including receiving a wake-up command; according to the wake-up command, generating a supply voltage and a clock signal, wherein the clock signal is at a predetermined time, from a The first frequency is changed to a second frequency; and the supply voltage and the clock signal are provided to the digital circuit, so that the digital circuit is powered by the supply voltage and operates according to the clock signal.

根據本發明之一實施例,上述第一頻率係小於上述第二頻率,其中在上述既定時間內,上述時脈信號自上述第一頻率逐漸上升至上述第二頻率。According to an embodiment of the present invention, the first frequency is lower than the second frequency, and within the predetermined time, the clock signal gradually increases from the first frequency to the second frequency.

根據本發明之另一實施例,上述第一頻率係小於上述第二頻率,其中當上述時脈產生器根據上述第一控制信號而產生上述時脈信號時,上述時脈信號具有上述第一頻率,其中在上述時脈信號產生後經上述既定時間,上述時脈信號自上述第一頻率改變為上述第二頻率。According to another embodiment of the present invention, the first frequency is lower than the second frequency, and when the clock generator generates the clock signal according to the first control signal, the clock signal has the first frequency , wherein the above-mentioned clock signal changes from the above-mentioned first frequency to the above-mentioned second frequency after the above-mentioned predetermined time after the above-mentioned clock signal is generated.

根據本發明之一實施例,在上述接收上述喚醒指令之步驟之前,不產生上述時脈信號。According to an embodiment of the present invention, before the step of receiving the wake-up command, the clock signal is not generated.

根據本發明之一實施例,上述數位電路包括一中央處理器以及一週邊裝置。According to an embodiment of the present invention, the above-mentioned digital circuit includes a central processing unit and a peripheral device.

以下說明為本發明的實施例。其目的是要舉例說明本發明一般性的原則,不應視為本發明之限制,本發明之範圍當以申請專利範圍所界定者為準。The following descriptions are examples of the present invention. Its purpose is to illustrate the general principles of the present invention, and should not be regarded as a limitation of the present invention. The scope of the present invention should be defined by the scope of the patent application.

能理解的是,雖然在此可使用用語「第一」、「第二」、「第三」等來敘述各種元件、組成成分、區域、層、及/或部分,這些元件、組成成分、區域、層、及/或部分不應被這些用語限定,且這些用語僅是用來區別不同的元件、組成成分、區域、層、及/或部分。因此,以下討論的一第一元件、組成成分、區域、層、及/或部分可在不偏離本揭露一些實施例之教示的情況下被稱為一第二元件、組成成分、區域、層、及/或部分。It will be understood that although the terms "first," "second," "third," etc. may be used herein to describe various elements, components, regions, layers, and/or sections, these elements, components, regions , layer, and/or section should not be limited by these terms, and these terms are only used to distinguish between different elements, components, regions, layers, and/or sections. Thus, a first element, component, region, layer, and/or section discussed below could be termed a second element, component, region, layer, and/or section without departing from the teachings of some embodiments of the present disclosure. and/or parts.

值得注意的是,以下所揭露的內容可提供多個用以實踐本發明之不同特點的實施例或範例。以下所述之特殊的元件範例與安排僅用以簡單扼要地闡述本發明之精神,並非用以限定本發明之範圍。此外,以下說明書可能在多個範例中重複使用相同的元件符號或文字。然而,重複使用的目的僅為了提供簡化並清楚的說明,並非用以限定多個以下所討論之實施例以及/或配置之間的關係。此外,以下說明書所述之一個特徵連接至、耦接至以及/或形成於另一特徵之上等的描述,實際可包含多個不同的實施例,包括該等特徵直接接觸,或者包含其它額外的特徵形成於該等特徵之間等等,使得該等特徵並非直接接觸。Notably, the following disclosure may provide multiple embodiments or examples for practicing various features of the present invention. The specific component examples and arrangements described below are only used to briefly and briefly illustrate the spirit of the present invention, and are not intended to limit the scope of the present invention. Furthermore, the following description may reuse the same reference numerals or words in multiple instances. However, the purpose of re-use is merely to provide a simplified and clear description, and not to limit the relationship between the various embodiments and/or configurations discussed below. Furthermore, the description below that a feature is connected to, coupled to and/or formed on another feature, etc., may actually encompass a number of different embodiments, including that the feature is in direct contact, or includes other additional The features are formed between the features, etc., such that the features are not in direct contact.

第1圖係顯示根據本發明之一實施例所述之電子裝置之方塊圖。如第1圖所示,電子裝置100包括電源管理單元110、電壓調節器120、時脈產生器130以及數位電路140。FIG. 1 shows a block diagram of an electronic device according to an embodiment of the present invention. As shown in FIG. 1 , the electronic device 100 includes a power management unit 110 , a voltage regulator 120 , a clock generator 130 and a digital circuit 140 .

根據本發明之一實施例,當電子裝置100自休眠模式恢復至正常模式時,電源管理單元110接收到喚醒指令INS而產生第一控制信號SC1以及第二控制信號SC2。電壓調節器120接收第一控制信號SC1,並且根據第一控制信號SC1產生供應電壓VS。According to an embodiment of the present invention, when the electronic device 100 returns from the sleep mode to the normal mode, the power management unit 110 receives the wake-up command INS and generates the first control signal SC1 and the second control signal SC2. The voltage regulator 120 receives the first control signal SC1 and generates the supply voltage VS according to the first control signal SC1.

根據本發明之一實施例,當電子裝置100操作於休眠模式時,電壓調節器120同樣操作於低功耗模式且提供供應電壓VS。當電壓調節器120接收到第一控制信號SC1時,電壓調節器120自低功耗模式恢復至高效能模式,並且維持提供供應電壓VS,其中電壓調節器120操作於高效能模式時提供電流的能力,高於電壓調節器120操作於低功耗模式時提供電流的能力。According to an embodiment of the present invention, when the electronic device 100 operates in the sleep mode, the voltage regulator 120 also operates in the low power consumption mode and provides the supply voltage VS. When the voltage regulator 120 receives the first control signal SC1, the voltage regulator 120 recovers from the low power consumption mode to the high power mode, and maintains the supply voltage VS, wherein the voltage regulator 120 is capable of supplying current when operating in the high power mode , higher than the ability of the voltage regulator 120 to supply current when operating in a low power consumption mode.

時脈產生器130根據第二控制信號SC2而產生具有第一頻率F1之時脈信號CLK,並且於產生具有第一頻率F1之時脈信號CLK後之既定時間T,將時脈信號CLK之頻率改變為第二頻率F2。根據本發明之一實施例,時脈產生器130係由電壓調節器120所提供之供應電壓VS所供電。根據本發明之許多實施例,時脈信號CLK可於既定時間T內,從第一頻率F1經複數個頻率後,逐漸上升至第二頻率F2,在此係以時脈信號CLK於既定時間T內,自第一頻率F1改變為第二頻率F2作為說明解釋,並未以任何形式限定於此。The clock generator 130 generates the clock signal CLK with the first frequency F1 according to the second control signal SC2, and changes the frequency of the clock signal CLK at a predetermined time T after the clock signal CLK with the first frequency F1 is generated Change to the second frequency F2. According to an embodiment of the present invention, the clock generator 130 is powered by the supply voltage VS provided by the voltage regulator 120 . According to many embodiments of the present invention, the clock signal CLK can gradually rise from the first frequency F1 to the second frequency F2 within a predetermined time T after passing through a plurality of frequencies, where the clock signal CLK is used at the predetermined time T Herein, the change from the first frequency F1 to the second frequency F2 is explained as an illustration, and is not limited to this in any form.

數位電路140接收電壓調節器120提供之供應電壓VS進行供電,且根據時脈信號CLK進行操作。根據本發明之許多實施例,數位電路140包括中央處理器、周邊裝置以及其他任何需要時脈信號進行操作之電路元件。The digital circuit 140 is powered by the supply voltage VS provided by the voltage regulator 120 and operates according to the clock signal CLK. According to many embodiments of the present invention, the digital circuit 140 includes a central processing unit, peripheral devices, and any other circuit elements that require a clock signal for operation.

第2圖係顯示根據本發明之一實施例所述之電子裝置之時序圖。如第2圖所示,第1圖之電子裝置100在第一時間T1以及第二時間T2之間操作於休眠模式201;在第三時間T3以及第四時間T4操作於正常工作模式203;在第二時間T2以及第三時間T3之間操作於喚醒模式202。換句話說,第二時間T2以及第三時間T3之間的時間,等同於電子裝置100自休眠模式201喚醒至正常工作模式203所需之喚醒時間。FIG. 2 is a timing diagram of an electronic device according to an embodiment of the present invention. As shown in FIG. 2, the electronic device 100 of FIG. 1 operates in the sleep mode 201 between the first time T1 and the second time T2; operates in the normal working mode 203 at the third time T3 and the fourth time T4; The wake-up mode 202 is operated between the second time T2 and the third time T3. In other words, the time between the second time T2 and the third time T3 is equivalent to the wake-up time required for the electronic device 100 to wake up from the sleep mode 201 to the normal operation mode 203 .

如第2圖所示,第1圖之電壓調節器120係對應電子裝置100操作於休眠模式201、喚醒模式202以及正常工作模式203,而分別操作於低功耗模式211、轉換模式212以及高效能模式213,其中時脈產生器130所產生之時脈信號CLK係如第一時序220所示。As shown in FIG. 2, the voltage regulator 120 in FIG. 1 corresponds to the electronic device 100 operating in a sleep mode 201, a wake-up mode 202, and a normal operation mode 203, and operates in a low-power mode 211, a conversion mode 212, and a high-efficiency mode, respectively In the energy mode 213 , the clock signal CLK generated by the clock generator 130 is shown as the first time sequence 220 .

根據本發明之一實施例,當電子裝置100操作於休眠模式201時,電壓調節器120係操作於低功耗模式211。為了進一步降低電子裝置100之休眠模式201之功率損耗且減輕電壓調節器120之負載,時脈產生器130於第一時間T1至第二時間T2之間停止產生時脈信號CLK。換句話說,在第一時間T1至第二時間T2之間,沒有時脈信號CLK,使得數位電路140也停止工作。According to an embodiment of the present invention, when the electronic device 100 operates in the sleep mode 201 , the voltage regulator 120 operates in the low power consumption mode 211 . In order to further reduce the power consumption of the sleep mode 201 of the electronic device 100 and reduce the load of the voltage regulator 120, the clock generator 130 stops generating the clock signal CLK between the first time T1 and the second time T2. In other words, between the first time T1 and the second time T2, there is no clock signal CLK, so that the digital circuit 140 also stops working.

根據本發明之另一實施例,當電源管理單元110於第二時間T2接收到喚醒指令INS時,代表電子裝置100進入喚醒模式202且電壓調節器120進入轉換模式212。由於電壓調節器120自低功耗模式211恢復至高效能模式213需要一段喚醒時間,因此第二時間T2至第三時間T3可為電壓調節器120之喚醒時間。According to another embodiment of the present invention, when the power management unit 110 receives the wake-up command INS at the second time T2 , it means that the electronic device 100 enters the wake-up mode 202 and the voltage regulator 120 enters the conversion mode 212 . Since the voltage regulator 120 needs a period of wake-up time to recover from the low-power consumption mode 211 to the high-performance mode 213 , the second time T2 to the third time T3 may be the wake-up time of the voltage regulator 120 .

如第2圖所示,當電壓調節器120進入轉換模式212時,時脈產生器130隨即開始產生具有第一頻率F1之時脈信號CLK,並且於第三時間T3(即,電子裝置100進入高效能模式203之前)時脈信號CLK之頻率上升至第二頻率F2,其中第二頻率F2係大於第一頻率F1。As shown in FIG. 2, when the voltage regulator 120 enters the conversion mode 212, the clock generator 130 immediately starts to generate the clock signal CLK with the first frequency F1, and at the third time T3 (ie, the electronic device 100 enters the clock signal CLK) Before the high-efficiency mode 203), the frequency of the clock signal CLK rises to a second frequency F2, wherein the second frequency F2 is greater than the first frequency F1.

根據本發明之一實施例,時脈信號CLK之頻率於第二時間T2以及第三時間T3內,自第一頻率F1逐漸上升至第二頻率F2。根據本發明之另一實施例,時脈信號CLK之頻率於第二時間T2時係為第一頻率F1,在第三時間T3時係為第二頻率F2。換句話說,當電壓調節器120於第三時間T3進入高效能模式213時,時脈信號CLK之頻率隨即自第一頻率F1改變為第二頻率F2。According to an embodiment of the present invention, the frequency of the clock signal CLK gradually increases from the first frequency F1 to the second frequency F2 during the second time T2 and the third time T3. According to another embodiment of the present invention, the frequency of the clock signal CLK is the first frequency F1 at the second time T2 and the second frequency F2 at the third time T3. In other words, when the voltage regulator 120 enters the high-efficiency mode 213 at the third time T3, the frequency of the clock signal CLK changes from the first frequency F1 to the second frequency F2.

根據本發明之一實施例,當電壓調節器120操作於高效能模式213時,數位電路140係根據為第二頻率F2之時脈信號CLK進行操作。當電壓調節器120操作於轉換模式212時,數位電路140係根據頻率小於第二頻率F2之時脈信號CLK進行喚醒。According to an embodiment of the present invention, when the voltage regulator 120 operates in the high-efficiency mode 213, the digital circuit 140 operates according to the clock signal CLK of the second frequency F2. When the voltage regulator 120 operates in the conversion mode 212, the digital circuit 140 wakes up according to the clock signal CLK whose frequency is lower than the second frequency F2.

換句話說,當電壓調節器120操作於轉換模式212時,數位電路140係根據降頻之時脈信號CLK而恢復至正常工作,且當電壓調節器120操作於高效能模式213時,數位電路140可以採用最高的第二頻率F2進行工作。In other words, when the voltage regulator 120 operates in the conversion mode 212 , the digital circuit 140 returns to normal operation according to the down-converted clock signal CLK, and when the voltage regulator 120 operates in the high-efficiency mode 213 , the digital circuit 140 returns to normal operation. 140 can operate with the highest second frequency F2.

第3圖係顯示根據本發明之另一實施例所述之電子裝置之時序圖。如第3圖所示,時脈產生器130所產生之時脈信號CLK係如第二時序320所示,並且時脈產生器130係於第三時間T3才開始產生時脈信號CLK。換句話說,在第3圖中,時脈產生器130於電壓調節器120進入高效能模式213時,才開始產生時脈信號CLK。FIG. 3 is a timing diagram of an electronic device according to another embodiment of the present invention. As shown in FIG. 3 , the clock signal CLK generated by the clock generator 130 is shown as the second timing 320 , and the clock generator 130 does not start to generate the clock signal CLK until the third time T3 . In other words, in FIG. 3 , the clock generator 130 starts to generate the clock signal CLK when the voltage regulator 120 enters the high-efficiency mode 213 .

將第3圖之第二時序320與第2圖之第一時序220相比,可看出第2圖之第一時序220較第3圖之第二時序320更早產生。由於數位電路140恢復至正常工作所需之時間係為固定,更早開始進行喚醒有利於數位電路140提早開始正常工作。Comparing the second sequence 320 of FIG. 3 with the first sequence 220 of FIG. 2 , it can be seen that the first sequence 220 of FIG. 2 is generated earlier than the second sequence 320 of FIG. 3 . Since the time required for the digital circuit 140 to recover to normal operation is fixed, starting the wake-up earlier is beneficial for the digital circuit 140 to start normal operation earlier.

換句話說,由於在第2圖中,時脈產生器130係於電壓調節器120進入轉換模式212之第二時間T2即產生時脈信號CLK,而非等待電壓調節器120進入高效能模式213之第三時間T3才開始產生時脈信號CLK,因此數位電路140亦可於第二時間T2至第三時間T3內進行喚醒的動作,使得數位電路140得以與電壓調節器120同時進行喚醒過程,進而加快電子裝置100之喚醒速度。In other words, because in FIG. 2 , the clock generator 130 generates the clock signal CLK at the second time T2 when the voltage regulator 120 enters the conversion mode 212 , instead of waiting for the voltage regulator 120 to enter the high-efficiency mode 213 The clock signal CLK is not generated until the third time T3, so the digital circuit 140 can also perform the wake-up operation during the second time T2 to the third time T3, so that the digital circuit 140 and the voltage regulator 120 can perform the wake-up process at the same time. Thus, the wake-up speed of the electronic device 100 is accelerated.

第4圖係顯示根據本發明之一實施例所述之供電方法之流程圖。以下針對第4圖之流程圖之敘述,將搭配第1圖之方塊圖,以例詳細說明。FIG. 4 is a flowchart showing a power supply method according to an embodiment of the present invention. The following description of the flowchart of FIG. 4 will be combined with the block diagram of FIG. 1 to illustrate in detail by way of example.

首先,電源管理單元110接收喚醒指令INS(步驟S41),而電壓調節器120以及時脈產生器130根據喚醒指令INS,而分別產生供應電壓VS以及時脈信號CLK(步驟S42)。根據本發明之一實施例,時脈信號CLK之頻率係於既定時間(即,第二時間T2至第三時間T3)內,自第一頻率F1改變為第二頻率F2,其中第一頻率F1係小於第二頻率F2。First, the power management unit 110 receives the wake-up command INS (step S41 ), and the voltage regulator 120 and the clock generator 130 respectively generate the supply voltage VS and the clock signal CLK according to the wake-up command INS (step S42 ). According to an embodiment of the present invention, the frequency of the clock signal CLK is changed from the first frequency F1 to the second frequency F2 within a predetermined time (ie, the second time T2 to the third time T3 ), wherein the first frequency F1 is less than the second frequency F2.

根據本發明之一實施例,時脈信號CLK之頻率係於既定時間內,自第一頻率F1逐漸升至第二頻率F2。根據本發明之另一實施例,當為第一頻率F1之時脈信號CLK產生後經既定時間,自第一頻率F1改變為第二頻率F2。According to an embodiment of the present invention, the frequency of the clock signal CLK gradually increases from the first frequency F1 to the second frequency F2 within a predetermined time. According to another embodiment of the present invention, the clock signal CLK of the first frequency F1 is changed from the first frequency F1 to the second frequency F2 after a predetermined time has elapsed.

接著,將供應電壓VS以及時脈信號CLK提供至數位電路140(步驟S43),使得數位電路140以供應電壓VS進行供電,且根據時脈信號CLK進行操作。Next, the supply voltage VS and the clock signal CLK are provided to the digital circuit 140 (step S43 ), so that the digital circuit 140 is powered by the supply voltage VS and operates according to the clock signal CLK.

雖然本揭露的實施例及其優點已揭露如上,但應該瞭解的是,任何所屬技術領域中具有通常知識者,在不脫離本揭露之精神和範圍內,當可作更動、替代與潤飾。此外,本揭露之保護範圍並未侷限於說明書內所述特定實施例中的製程、機器、製造、物質組成、裝置、方法及步驟,任何所屬技術領域中具有通常知識者可從本揭露一些實施例之揭示內容中理解現行或未來所發展出的製程、機器、製造、物質組成、裝置、方法及步驟,只要可以在此處所述實施例中實施大抵相同功能或獲得大抵相同結果皆可根據本揭露一些實施例使用。因此,本揭露之保護範圍包括上述製程、機器、製造、物質組成、裝置、方法及步驟。另外,每一申請專利範圍構成個別的實施例,且本揭露之保護範圍也包括各個申請專利範圍及實施例的組合。Although the embodiments of the present disclosure and their advantages have been disclosed above, it should be understood that those skilled in the art can make changes, substitutions and modifications without departing from the spirit and scope of the present disclosure. In addition, the protection scope of the present disclosure is not limited to the process, machine, manufacture, material composition, device, method, and steps in the specific embodiments described in the specification. Anyone with ordinary knowledge in the technical field can learn some implementations from the present disclosure. In the disclosure of the examples, it is understood that processes, machines, manufactures, compositions of matter, devices, methods and steps developed in the present or in the future, as long as substantially the same functions can be implemented or substantially the same results can be obtained in the embodiments described herein. Some embodiments of the present disclosure are used. Therefore, the protection scope of the present disclosure includes the above-mentioned processes, machines, manufactures, compositions of matter, devices, methods and steps. In addition, each claimed scope constitutes a separate embodiment, and the protection scope of the present disclosure also includes the combination of each claimed scope and the embodiments.

100:電子裝置 110:電源管理單元 120:電壓調節器 130:時脈產生器 140:數位電路 201:休眠模式 202:喚醒模式 203:正常工作模式 211:低功耗模式 212:轉換模式 213:高效能模式 220:第一時序 320:第二時序 INS:喚醒指令 SC1:第一控制信號 SC2:第二控制信號 VS:供應電壓 CLK:時脈信號 F1:第一頻率 F2:第二頻率 T1:第一時間 T2:第二時間 T3:第三時間 T4:第四時間 S41~S43:步驟流程 100: Electronics 110: Power Management Unit 120: Voltage regulator 130: Clock generator 140: Digital Circuits 201: Sleep Mode 202: wakeup mode 203: normal working mode 211: Low power mode 212: Convert mode 213: High Performance Mode 220: First Timing 320: Second Timing INS: wake-up command SC1: the first control signal SC2: The second control signal VS: Supply voltage CLK: clock signal F1: first frequency F2: Second frequency T1: The first time T2: Second time T3: The third time T4: Fourth time S41~S43: Step flow

第1圖係顯示根據本發明之一實施例所述之電子裝置之方塊圖; 第2圖係顯示根據本發明之一實施例所述之電子裝置之時序圖; 第3圖係顯示根據本發明之另一實施例所述之電子裝置之時序圖;以及 第4圖係顯示根據本發明之一實施例所述之供電方法之流程圖。 FIG. 1 shows a block diagram of an electronic device according to an embodiment of the present invention; FIG. 2 shows a timing diagram of an electronic device according to an embodiment of the present invention; FIG. 3 is a timing diagram showing an electronic device according to another embodiment of the present invention; and FIG. 4 is a flowchart showing a power supply method according to an embodiment of the present invention.

100:電子裝置 100: Electronics

110:電源管理單元 110: Power Management Unit

120:電壓調節器 120: Voltage regulator

130:時脈產生器 130: Clock generator

140:數位電路 140: Digital Circuits

INS:喚醒指令 INS: wake-up command

SC1:第一控制信號 SC1: the first control signal

SC2:第二控制信號 SC2: The second control signal

VS:供應電壓 VS: Supply voltage

CLK:時脈信號 CLK: clock signal

Claims (10)

一種電子裝置,包括:一電源管理單元,接收一喚醒指令而產生一第一控制信號以及以一第二控制信號;一電壓調節器,根據上述第一控制信號而產生一供應電壓;一時脈產生器,根據上述第二控制信號而產生具有一第一頻率之一時脈信號,且於產生上述時脈信號後之一既定時間,上述時脈信號具有一第二頻率;以及一數位電路,接收上述供應電壓進行供電,且根據上述時脈信號進行操作。 An electronic device, comprising: a power management unit, which receives a wake-up command to generate a first control signal and a second control signal; a voltage regulator, which generates a supply voltage according to the first control signal; a clock generator a device that generates a clock signal with a first frequency according to the second control signal, and a predetermined time after generating the clock signal, the clock signal has a second frequency; and a digital circuit for receiving the The supply voltage provides power and operates according to the above-mentioned clock signal. 如請求項1之電子裝置,其中上述第一頻率係小於上述第二頻率,其中當上述時脈產生器根據上述第一控制信號而產生上述時脈信號時,上述時脈信號具有上述第一頻率,其中在上述時脈信號產生後經上述既定時間,上述時脈信號自上述第一頻率逐漸上升至上述第二頻率。 The electronic device of claim 1, wherein the first frequency is lower than the second frequency, and when the clock generator generates the clock signal according to the first control signal, the clock signal has the first frequency , wherein after the above-mentioned clock signal is generated, the above-mentioned clock signal gradually rises from the above-mentioned first frequency to the above-mentioned second frequency after the above-mentioned predetermined time. 如請求項1之電子裝置,其中當上述電源管理單元接收到上述喚醒指令時,上述電子裝置係自一低功耗模式恢復至一正常操作模式,其中上述電源管理單元利用上述第一控制信號,而將上述電壓調節器喚醒至一高效能模式。 The electronic device of claim 1, wherein when the power management unit receives the wake-up command, the electronic device recovers from a low power consumption mode to a normal operation mode, wherein the power management unit uses the first control signal, And wake up the voltage regulator to a high performance mode. 如請求項3之電子裝置,其中當上述電子裝置操作於上述低功耗模式時,上述時脈產生器停止產生上述時脈信號。 The electronic device of claim 3, wherein when the electronic device operates in the low power consumption mode, the clock generator stops generating the clock signal. 如請求項1之電子裝置,其中上述數位電路包括一中央處理器以及一週邊裝置。 The electronic device of claim 1, wherein the digital circuit includes a central processing unit and a peripheral device. 一種供電方法,用以對一數位電路進行供電,包括: 接收一喚醒指令; 根據上述喚醒指令,產生一供應電壓以及一時脈信號,其中上述時脈信號係於一既定時間,自一第一頻率改變為一第二頻率;以及 將上述供應電壓以及上述時脈信號提供至上述數位電路,使得上述數位電路以上述供應電壓進行供電,且根據上述時脈信號進行操作。 A power supply method for powering a digital circuit, comprising: receive a wake-up command; generating a supply voltage and a clock signal according to the wake-up command, wherein the clock signal changes from a first frequency to a second frequency at a predetermined time; and The supply voltage and the clock signal are provided to the digital circuit, so that the digital circuit is powered by the supply voltage and operates according to the clock signal. 如請求項6之供電方法,其中上述第一頻率係小於上述第二頻率,其中在上述既定時間內,上述時脈信號自上述第一頻率逐漸上升至上述第二頻率。The power supply method of claim 6, wherein the first frequency is lower than the second frequency, and within the predetermined time, the clock signal gradually increases from the first frequency to the second frequency. 如請求項6之供電方法,其中上述第一頻率係小於上述第二頻率,其中當上述時脈產生器根據上述第一控制信號而產生上述時脈信號時,上述時脈信號具有上述第一頻率,其中在上述時脈信號產生後經上述既定時間,上述時脈信號自上述第一頻率改變為上述第二頻率。The power supply method of claim 6, wherein the first frequency is lower than the second frequency, and when the clock generator generates the clock signal according to the first control signal, the clock signal has the first frequency , wherein the above-mentioned clock signal changes from the above-mentioned first frequency to the above-mentioned second frequency after the above-mentioned predetermined time after the above-mentioned clock signal is generated. 如請求項6之供電方法,其中在上述接收上述喚醒指令之步驟之前,不產生上述時脈信號。The power supply method of claim 6, wherein before the step of receiving the wake-up command, the clock signal is not generated. 如請求項6之供電方法,其中上述數位電路包括一中央處理器以及一週邊裝置。The power supply method of claim 6, wherein the digital circuit includes a central processing unit and a peripheral device.
TW109146778A 2020-12-30 2020-12-30 Electronic device and powering method thereof TWI766514B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW109146778A TWI766514B (en) 2020-12-30 2020-12-30 Electronic device and powering method thereof
CN202111540941.0A CN114690845B (en) 2020-12-30 2021-12-16 Electronic device and power supply method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109146778A TWI766514B (en) 2020-12-30 2020-12-30 Electronic device and powering method thereof

Publications (2)

Publication Number Publication Date
TWI766514B true TWI766514B (en) 2022-06-01
TW202225909A TW202225909A (en) 2022-07-01

Family

ID=82136326

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109146778A TWI766514B (en) 2020-12-30 2020-12-30 Electronic device and powering method thereof

Country Status (2)

Country Link
CN (1) CN114690845B (en)
TW (1) TWI766514B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI387866B (en) * 2008-10-27 2013-03-01 Tatung Co Method for adjusting frequency and electronic apparatus and computer program product using the method
US20190391635A1 (en) * 2017-02-27 2019-12-26 Ubilite, Inc. Systems and methods for power management in low power communication device and system
TWI690844B (en) * 2019-02-01 2020-04-11 新唐科技股份有限公司 Electronic device and device wake-up method
TWI697841B (en) * 2018-12-18 2020-07-01 新唐科技股份有限公司 Control circuit and method for fast setting power mode

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7539878B2 (en) * 2001-09-19 2009-05-26 Freescale Semiconductor, Inc. CPU powerdown method and apparatus therefor
KR101851614B1 (en) * 2011-12-12 2018-06-12 삼성전자주식회사 Method of clock control of system on chip including functional block, system on chip of the same and semicondutor system including the same
CN104516296B (en) * 2014-12-26 2017-05-31 北京兆易创新科技股份有限公司 A kind of awakening method and peripheral module of the micro controller system based on peripheral module
KR102301639B1 (en) * 2015-01-23 2021-09-14 삼성전자주식회사 SoC, METHOD FOR MANAGING POWER OF THEREOF AND ELECTRONIC DEVICE
CN110502065A (en) * 2018-05-17 2019-11-26 瑞昱半导体股份有限公司 Clock management circuits and clock management method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI387866B (en) * 2008-10-27 2013-03-01 Tatung Co Method for adjusting frequency and electronic apparatus and computer program product using the method
US20190391635A1 (en) * 2017-02-27 2019-12-26 Ubilite, Inc. Systems and methods for power management in low power communication device and system
TWI697841B (en) * 2018-12-18 2020-07-01 新唐科技股份有限公司 Control circuit and method for fast setting power mode
TWI690844B (en) * 2019-02-01 2020-04-11 新唐科技股份有限公司 Electronic device and device wake-up method

Also Published As

Publication number Publication date
CN114690845A (en) 2022-07-01
TW202225909A (en) 2022-07-01
CN114690845B (en) 2024-04-09

Similar Documents

Publication Publication Date Title
US11237620B2 (en) Hierarchical power management unit for low power and low duty cycle devices
JP3510884B2 (en) Selective power down system for microelectronic devices
CN100442204C (en) System-on-chip chip and its power consumption control method
TWI417710B (en) Computer system for saving power consumption of a stand-by/power-off state and method thereof
JP2009134577A (en) Power source control device and system lsi having power source control device
Cai et al. A fast-transient-response fully-integrated digital LDO with adaptive current step size control
JPWO2003085501A1 (en) Multi-power supply semiconductor integrated circuit
JPH08250983A (en) Feedback latch and its method
CN116700412A (en) Low-power consumption system, microcontroller, chip and control method
US8190929B2 (en) Computer system
JP4960179B2 (en) Data processing apparatus, power supply voltage generation circuit, and power supply voltage generation method thereof
TWI766514B (en) Electronic device and powering method thereof
CN219574672U (en) Low-power consumption system, microcontroller and chip
CN112235850B (en) Low-power-consumption system and method of Internet of things chip
CN105320211B (en) Burr-free switching clock management circuit considering clock oscillation stop condition
US20210344266A1 (en) Ultra-low-power mode control circuit for power converter
CN113054966A (en) Low-power consumption state control circuit
KR101850123B1 (en) Pipeline power gating
JP2016062348A (en) Electronic device
TWI783163B (en) Power control device, computer system and related power control method
US10659012B1 (en) Oscillator and method for operating an oscillator
CN109683975B (en) Circuit and method for waking up processor
CN112579182B (en) Chip wake-up control system and method and dormancy control system and method
CN109753313B (en) Device and method for waking up processor
CN212749586U (en) Circuit for realizing edge-triggered wake-up conversion in NB-IOT system