TWI414134B - Control circuit and method for determining supply mode of power, and power supply circuit - Google Patents

Control circuit and method for determining supply mode of power, and power supply circuit Download PDF

Info

Publication number
TWI414134B
TWI414134B TW099127209A TW99127209A TWI414134B TW I414134 B TWI414134 B TW I414134B TW 099127209 A TW099127209 A TW 099127209A TW 99127209 A TW99127209 A TW 99127209A TW I414134 B TWI414134 B TW I414134B
Authority
TW
Taiwan
Prior art keywords
power
power consumption
power supply
consumption parameter
circuit
Prior art date
Application number
TW099127209A
Other languages
Chinese (zh)
Other versions
TW201208240A (en
Inventor
Yen Lung Lin
Owen Hsieh
Original Assignee
Qisda Corp
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 Qisda Corp filed Critical Qisda Corp
Priority to TW099127209A priority Critical patent/TWI414134B/en
Publication of TW201208240A publication Critical patent/TW201208240A/en
Application granted granted Critical
Publication of TWI414134B publication Critical patent/TWI414134B/en

Links

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
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B70/00Technologies for an efficient end-user side electric power management and consumption
    • Y02B70/10Technologies improving the efficiency by using switched-mode power supplies [SMPS], i.e. efficient power electronics conversion e.g. power factor correction or reduction of losses in power supplies or efficient standby modes

Landscapes

  • Dc-Dc Converters (AREA)
  • Power Sources (AREA)

Abstract

A control circuit is adapted for determining supply mode of power provided to an electronic device. The power is provided by a first supply mode or a second supply mode. The electronic device has a plurality of functions. The control circuit includes a storing module, a detection module, a calculation module, and a control module. The storing module is for storing a level and a power parameter corresponding to each function during operation. The detection module is for detecting whether each function is operating, and outputting a corresponding detection result. The calculation module is for receiving the detection result, and calculating an operation power parameter according to the detection result. The control module is for determining the power provided to the electronic device is in the first supply mode or the second supply mode according to the operation power parameter.

Description

電源供應模式控制電路、電源供應電路及電源供應模式控制方法Power supply mode control circuit, power supply circuit, and power supply mode control method

本發明係有關一種電源供應模式控制電路、電源供應電路及電源供應模式控制方法,尤指一種能夠自動切換脈衝寬度及脈衝頻率調變模式的電源供應模式控制電路、電源供應電路及電源供應模式控制方法。The invention relates to a power supply mode control circuit, a power supply circuit and a power supply mode control method, in particular to a power supply mode control circuit, a power supply circuit and a power supply mode control capable of automatically switching a pulse width and a pulse frequency modulation mode. method.

隨著電子技術的蓬勃發展,電子產品已被人們廣為使用,從而使得電子產品的電力供應問題成為非常重要的課題。目前,電子產品普遍使用開關電源供應模式來實現電力的供應。開關電源通常有脈衝寬度調變(Pulse Width Modulation,PWM)和脈衝頻率調變(Pulse Frequency Modulation,PFM)兩種模式。With the rapid development of electronic technology, electronic products have been widely used, making the power supply problem of electronic products a very important issue. At present, electronic products generally use a switching power supply mode to achieve power supply. Switching power supplies usually have two modes: Pulse Width Modulation (PWM) and Pulse Frequency Modulation (PFM).

上述脈衝寬度調變與脈衝頻率調變兩種模式的切換,大都先透過結構複雜的電子裝置電壓偵測電路及電子裝置電流偵測電路以計算出電子裝置的消耗功率,再根據此消耗功率以決定要將開關電源切換至脈衝寬度調變模式或脈衝頻率調變模式。當電子產品在消耗功率較高的條件下進行工作時,開關電源切換至脈衝寬度調變模式;相反的,當電子產品在消耗功率較低的條件下進行工作時,開關電源則切換至脈衝頻率調變模式。由於偵測電子裝置的電壓及電流的電路的設計過程較為複雜,電路元件較多,因此使得此電路設計的成本較高。並且偵測電子裝置的電壓及電流的電路還需佔用較大的印刷電路板面積,不能夠滿足現代電子設備的小型化趨勢的發展要求。The switching between the pulse width modulation and the pulse frequency modulation mode is mostly performed by using a complicated electronic device voltage detecting circuit and an electronic device current detecting circuit to calculate the power consumption of the electronic device, and then according to the power consumption. Decided to switch the switching power supply to pulse width modulation mode or pulse frequency modulation mode. When the electronic product operates under high power consumption conditions, the switching power supply switches to the pulse width modulation mode; conversely, when the electronic product operates under low power consumption, the switching power supply switches to the pulse frequency. Modulation mode. Since the design process of the circuit for detecting the voltage and current of the electronic device is complicated and there are many circuit components, the cost of the circuit design is high. Moreover, the circuit for detecting the voltage and current of the electronic device also needs to occupy a large printed circuit board area, and cannot meet the development requirements of the miniaturization trend of modern electronic equipment.

為降低成本、減小印刷電路板的使用面積,本發明提供具有較佳架構的電源供應模式控制電路、電源供應電路及電源供應模式控制方法。In order to reduce the cost and reduce the use area of the printed circuit board, the present invention provides a power supply mode control circuit, a power supply circuit, and a power supply mode control method having a better architecture.

本發明的目的之一是提供一種電源供應電路,連接至具有多個功能的電子裝置。此電源供應電路包括電源、脈衝寬度調變電路、脈衝頻率調變電路及電源供應模式控制電路。電源用以產生電力。脈衝寬度調變電路電性耦接至電源及電子裝置,並在被致能時將電源產生的電力以脈衝寬度調變模式輸出給電子裝置。脈衝頻率調變電路電性耦接至電源及電子裝置,並在被致能時將電源產生的電力以脈衝頻率調變模式輸出給電子裝置。電源供應模式控制電路電性耦接至脈衝寬度調變電路與脈衝頻率調變電路。此電源供應模式控制電路包括儲存模組、檢測模組、計算模組及控制模組。其中,儲存模組用以儲存一準位以及對應每一功能運作時的功耗參數。檢測模組檢測每一功能是否正在運作,並輸出相對應的運作檢測結果。計算模組電性耦接至儲存模組與檢測模組以接收運作檢測結果,並根據運作檢測結果計算運作功耗參數。控制模組電性耦接至計算模組以接收運作功耗參數,並根據運作功耗參數與準位以決定致能脈衝寬度調變電路或脈衝頻率調變電路。One of the objects of the present invention is to provide a power supply circuit that is connected to an electronic device having a plurality of functions. The power supply circuit includes a power supply, a pulse width modulation circuit, a pulse frequency modulation circuit, and a power supply mode control circuit. The power source is used to generate electricity. The pulse width modulation circuit is electrically coupled to the power source and the electronic device, and outputs the power generated by the power source to the electronic device in a pulse width modulation mode when enabled. The pulse frequency modulation circuit is electrically coupled to the power source and the electronic device, and outputs the power generated by the power source to the electronic device in a pulse frequency modulation mode when enabled. The power supply mode control circuit is electrically coupled to the pulse width modulation circuit and the pulse frequency modulation circuit. The power supply mode control circuit includes a storage module, a detection module, a calculation module and a control module. The storage module is configured to store a level and a power consumption parameter corresponding to each function operation. The detection module detects whether each function is operating and outputs a corresponding operational test result. The computing module is electrically coupled to the storage module and the detection module to receive the operation detection result, and calculates the operation power consumption parameter according to the operation detection result. The control module is electrically coupled to the computing module to receive the operating power consumption parameter, and determines the enabling pulse width modulation circuit or the pulse frequency modulation circuit according to the operating power consumption parameter and the level.

在本發明的一實施例中,當運作功耗參數大於準位時,控制模組致能脈衝寬度調變電路。當運作功耗參數小於準位時,控制模組致能脈衝頻率調變電路。In an embodiment of the invention, when the operating power consumption parameter is greater than the level, the control module enables the pulse width modulation circuit. When the operating power consumption parameter is less than the level, the control module enables the pulse frequency modulation circuit.

本發明的再一目的是提供一種電源供應模式控制電路,適於控制提供至電子裝置的電源,電源以第一供應模式或第二供應模式提供,電子裝置具有多個功能。此控制電路包括:儲存模組、檢測模組、計算模組及控制模組。儲存模組儲存一準位以及對應每一功能運作時的功耗參數。檢測模組檢測每一功能是否正在運作,並輸出相對應的運作檢測結果。計算模組電性耦接至儲存模組與檢測模組以接收運作檢測結果,並根據運作檢測結果計算運作功耗參數。控制模組電性耦接至計算模組以接收運作功耗參數,並根據運作功耗參數與準位以決定以第一供應模式或第二供應模式提供電源至電子裝置。It is still another object of the present invention to provide a power supply mode control circuit adapted to control a power supply to an electronic device that is provided in a first supply mode or a second supply mode, the electronic device having a plurality of functions. The control circuit comprises: a storage module, a detection module, a calculation module and a control module. The storage module stores a level and a power consumption parameter corresponding to each function. The detection module detects whether each function is operating and outputs a corresponding operational test result. The computing module is electrically coupled to the storage module and the detection module to receive the operation detection result, and calculates the operation power consumption parameter according to the operation detection result. The control module is electrically coupled to the computing module to receive the operating power consumption parameter, and determines to provide power to the electronic device in the first supply mode or the second supply mode according to the operating power consumption parameter and the level.

在本發明的一實施例中,當運作功耗參數大於準位時,控制模組決定以第一供應模式提供電源至電子裝置。當運作功耗參數小於準位時,控制模組決定以第二供應模式提供電源至電子裝置。In an embodiment of the invention, when the operating power consumption parameter is greater than the level, the control module determines to provide power to the electronic device in the first supply mode. When the operating power consumption parameter is less than the level, the control module determines to provide power to the electronic device in the second supply mode.

在本發明的一實施例中,上述的第一供應模式為脈衝寬度調變模式,第二供應模式為脈衝頻率調變模式。In an embodiment of the invention, the first supply mode is a pulse width modulation mode, and the second supply mode is a pulse frequency modulation mode.

本發明的又一目的是提供一種電源供應模式控制方法,用以控制電源的輸出模式,電源供應電力至具有多個功能的電子裝置。此電源供應模式控制方法包括步驟:設定對應每一功能運作時的功耗參數;檢測這些功能是否正在運作以得相對應的運作檢測結果;根據運作檢測結果計算相對應的運作功耗參數;以及根據運作功耗參數與一準位來控制電源的輸出模式。It is still another object of the present invention to provide a power supply mode control method for controlling an output mode of a power source that supplies power to an electronic device having a plurality of functions. The power supply mode control method includes the steps of: setting a power consumption parameter corresponding to each function operation; detecting whether the function is operating to obtain a corresponding operation detection result; and calculating a corresponding operation power consumption parameter according to the operation detection result; The output mode of the power supply is controlled according to the operating power consumption parameter and a level.

在本發明的一實施例中,上述的運作功耗參數為正在運作的功能的功耗參數的總和,功耗參數為功能運作時所耗的功率與所有功能運作時所耗的總功率間的預定比率,上述的準位介於15%與25%之間。In an embodiment of the invention, the operating power consumption parameter is a sum of power consumption parameters of the function being operated, and the power consumption parameter is between the power consumed by the function operation and the total power consumed by all functions. The predetermined ratio, the above-mentioned level is between 15% and 25%.

本發明之電源供應電路、電源供應模式控制電路及控制方法不需要設置偵測電子裝置的電壓及電流的電路,可透過運作功耗參數與預先設定的準位之間的比較結果來決定以脈衝寬度調變模式或脈衝頻率調變模式提供電源至電子裝置,實現脈衝寬度調變模式與脈衝頻率調變模式的自動切換,從而節省成本、減小佔用印刷電路板的面積。The power supply circuit, the power supply mode control circuit and the control method of the present invention do not need to provide a circuit for detecting the voltage and current of the electronic device, and can determine the pulse by comparing the operating power consumption parameter with a preset level. The width modulation mode or the pulse frequency modulation mode provides power to the electronic device, and realizes automatic switching of the pulse width modulation mode and the pulse frequency modulation mode, thereby saving cost and reducing the area occupied by the printed circuit board.

為了使貴審查委員能更進一步瞭解本發明特徵及技術內容,請參閱以下有關本發明的詳細說明與附圖,然而所附圖式僅提供參考與說明,並非用來對本發明加以限制。The detailed description of the present invention and the accompanying drawings are to be understood by the claims

請參閱圖1,圖1是根據本發明一實施例的電源供應電路的電路方塊圖。在此實施例中,電源供應電路包括電源20、脈衝寬度調變電路10、脈衝頻率調變電路40以及電源供應模式控制電路30。Please refer to FIG. 1. FIG. 1 is a circuit block diagram of a power supply circuit according to an embodiment of the present invention. In this embodiment, the power supply circuit includes a power source 20, a pulse width modulation circuit 10, a pulse frequency modulation circuit 40, and a power supply mode control circuit 30.

如圖所示,電源20電性耦接至脈衝寬度調變電路10與脈衝頻率調變電路40以產生電力。電源供應模式控制電路30,電性耦接至脈衝寬度調變電路10與脈衝頻率調變電路40,以決定致能脈衝寬度調變電路10或脈衝頻率調變電路40。在本實施方式中,電源供應模式控制電路30可為中央處理器(Central Processing Unit,CPU)或微處理器(Microprocessor)。As shown, the power source 20 is electrically coupled to the pulse width modulation circuit 10 and the pulse frequency modulation circuit 40 to generate power. The power supply mode control circuit 30 is electrically coupled to the pulse width modulation circuit 10 and the pulse frequency modulation circuit 40 to determine the enable pulse width modulation circuit 10 or the pulse frequency modulation circuit 40. In the present embodiment, the power supply mode control circuit 30 can be a central processing unit (CPU) or a microprocessor (Microprocessor).

再者,脈衝寬度調變電路10電性耦接至電子裝置50,脈衝寬度調變電路10在被電源供應模式控制電路30致能時會將電源20產生的電力以脈衝寬度調變模式輸出給電子裝置50。脈衝頻率調變電路40電性耦接至電子裝置50,脈衝頻率調變電路40在被電源供應模式控制電路30致能時會將電源20產生的電力以脈衝頻率調變模式輸出給電子裝置50。Furthermore, the pulse width modulation circuit 10 is electrically coupled to the electronic device 50. When the power supply mode control circuit 30 is enabled, the pulse width modulation circuit 10 converts the power generated by the power source 20 into a pulse width modulation mode. Output to the electronic device 50. The pulse frequency modulation circuit 40 is electrically coupled to the electronic device 50. When the power supply mode control circuit 30 is enabled, the pulse frequency modulation circuit 40 outputs the power generated by the power source 20 to the electronic device in a pulse frequency modulation mode. Device 50.

請參閱圖2,圖2是根據本發明一實施例的電源供應模式控制電路的電路方塊圖。其中,電源供應模式控制電路30適於控制提供至電子裝置50的電源,電源以第一供應模式(如脈衝寬度調變模式)或第二供應模式(如脈衝頻率調變模式)提供電力,電子裝置50具有多個功能。例如,當電子裝置50為手機時,這些功能可包括資訊、通訊錄、設置、多媒體等功能。資訊功能供使用者收發資訊。通訊錄功能供用戶記錄聯繫人的姓名、電話號碼、單位電話、行動電話等內容。多媒體功能則供用戶聽音樂、進行視頻播放等。Please refer to FIG. 2. FIG. 2 is a circuit block diagram of a power supply mode control circuit according to an embodiment of the invention. Wherein, the power supply mode control circuit 30 is adapted to control the power supplied to the electronic device 50, and the power supply provides power in a first supply mode (such as a pulse width modulation mode) or a second supply mode (such as a pulse frequency modulation mode), the electronic Device 50 has multiple functions. For example, when the electronic device 50 is a mobile phone, these functions may include functions such as information, address book, settings, multimedia, and the like. Information function for users to send and receive information. The address book function allows the user to record the contact's name, phone number, unit phone, mobile phone, and so on. The multimedia function allows the user to listen to music, play video, and the like.

在本實施例中,電源供應模式控制電路30包括儲存模組302、檢測模組304、計算模組306及控制模組308。其中,儲存模組302用以儲存一個預設的準位以及對應前述的每一個功能運作時的功耗參數。此處所提及的功耗參數為各功能運作時所耗的功率與所有功能運作時所耗的總功率間的預定比率。在本實施方式中是以單一功能運作時所耗的功率占所有功能運作時所耗的總功率的百分比做為功耗參數。具體地,例如當電子裝置50為手機時,假設資訊、通訊錄、多媒體等功能運作時所耗的功率分別為0.5瓦特、0.6瓦特、0.8瓦特,而電子裝置50所有的功能運作時所耗的總功率為10瓦特,則資訊、通訊錄、多媒體功能運作時的功耗參數分別為5%、6%及8%。但並不以此為限,功耗參數也可為其它計算方式。前述各功能運作時所耗的功率可於電子裝置50運作時藉由量測儀器實際量測而得,亦可根據電子裝置50之電路圖進行估算。此外,本實施例中儲存於儲存模組302中的準位介於15%與25%之間,但具體準位數值也可根據實際需要進行設置。In this embodiment, the power supply mode control circuit 30 includes a storage module 302, a detection module 304, a calculation module 306, and a control module 308. The storage module 302 is configured to store a preset level and a power consumption parameter corresponding to each of the foregoing functions. The power consumption parameters mentioned here are a predetermined ratio between the power consumed by each function and the total power consumed by all functions. In the present embodiment, the power consumed when operating as a single function accounts for a percentage of the total power consumed by all functions as a power consumption parameter. Specifically, for example, when the electronic device 50 is a mobile phone, it is assumed that the power consumed by the functions of the information, the address book, the multimedia, and the like are 0.5 watts, 0.6 watts, and 0.8 watts, respectively, and all the functions of the electronic device 50 are consumed. The total power is 10 watts, and the power consumption parameters of the information, address book, and multimedia functions are 5%, 6%, and 8%, respectively. However, it is not limited to this, and the power consumption parameter can also be other calculation methods. The power consumed by the foregoing functions may be obtained by actual measurement of the measuring instrument when the electronic device 50 is in operation, or may be estimated according to the circuit diagram of the electronic device 50. In addition, the level stored in the storage module 302 in this embodiment is between 15% and 25%, but the specific level value can also be set according to actual needs.

請繼續參閱圖2。在本實施例中,檢測模組304用以檢測每一功能是否正在運作,並輸出相對應的運作檢測結果。計算模組306電性耦接至儲存模組302與檢測模組304以接收運作檢測結果,並根據運作檢測結果計算相對應的運作功耗參數。此處所提的運作功耗參數為正在運作的功能的功耗參數的總和。例如,當電子裝置50為手機時,假設資訊、通訊錄、多媒體功能運作時的功耗參數分別為5%、6%及8%,而此時正在運作的功能有資訊功能與多媒體功能,則運作功耗參數為5%加上8%,亦即為13%。Please continue to see Figure 2. In this embodiment, the detecting module 304 is configured to detect whether each function is operating, and output a corresponding operational detection result. The computing module 306 is electrically coupled to the storage module 302 and the detection module 304 to receive the operational detection result, and calculates a corresponding operational power consumption parameter according to the operational detection result. The operational power consumption parameters mentioned here are the sum of the power consumption parameters of the function being operated. For example, when the electronic device 50 is a mobile phone, it is assumed that the power consumption parameters of the information, the address book, and the multimedia function are 5%, 6%, and 8%, respectively, and the function being operated at this time has information function and multimedia function, The operating power consumption parameter is 5% plus 8%, which is 13%.

再者,如圖所示,控制模組308電性耦接至計算模組306以接收前述的運作功耗參數,並根據此運作功耗參數與儲存於儲存模組302中的準位來決定以第一供應模式或第二供應模式提供電源20所產生的電力至電子裝置50。具體地,在本實施例中,當運作功耗參數大於準位時,控制模組308就會致能(enable)脈衝寬度調變電路10並禁能(disable)脈衝頻率調變電路40,藉此以脈衝寬度調變模式提供電源20所產生的電力至電子裝置50;相對的,當運作功耗參數小於準位時,控制模組308就會致能脈衝頻率調變電路40並禁能(disable)脈衝寬度調變電路10,藉此以脈衝頻率調變模式提供電源20所產生的電力至電子裝置50。Moreover, as shown, the control module 308 is electrically coupled to the computing module 306 to receive the aforementioned operational power consumption parameter, and is determined according to the operating power consumption parameter and the level stored in the storage module 302. The power generated by the power source 20 is supplied to the electronic device 50 in the first supply mode or the second supply mode. Specifically, in this embodiment, when the operating power consumption parameter is greater than the level, the control module 308 enables the pulse width modulation circuit 10 and disables the pulse frequency modulation circuit 40. Thereby, the power generated by the power source 20 is supplied to the electronic device 50 in a pulse width modulation mode; in contrast, when the operating power consumption parameter is less than the level, the control module 308 enables the pulse frequency modulation circuit 40 and The pulse width modulation circuit 10 is disabled, whereby the power generated by the power source 20 is supplied to the electronic device 50 in a pulse frequency modulation mode.

接下來請參閱圖3,圖3是根據本發明一實施例的電源供應模式控制方法的流程圖。此電源供應模式控制方法包括下列步驟:Next, please refer to FIG. 3. FIG. 3 is a flowchart of a power supply mode control method according to an embodiment of the present invention. This power supply mode control method includes the following steps:

步驟S300,設定對應每一功能運作時的功耗參數。此功耗參數為各功能運作時所耗的功率與所有些功能運作時所耗的總功率間的預定比率。在本實施方式中,功耗參數為功能運作時所耗的功率占所有些功能運作時所耗的總功率的百分比,但並不以此為限,功耗參數也可為其它計算方式。In step S300, a power consumption parameter corresponding to each function operation is set. This power consumption parameter is a predetermined ratio between the power consumed by each function and the total power consumed by some functions. In this embodiment, the power consumption parameter is a percentage of the total power consumed by the function when the function is operated, but is not limited thereto, and the power consumption parameter may also be other calculation modes.

步驟S302,檢測每個功能是否正在運作以得到相對應的運作檢測結果。Step S302, detecting whether each function is operating to obtain a corresponding operation detection result.

步驟S304,根據運作檢測結果計算相對應的運作功耗參數。此運作功耗參數為正在運作的功能的功耗參數的總和。Step S304, calculating a corresponding operational power consumption parameter according to the operation detection result. This operational power consumption parameter is the sum of the power consumption parameters of the function being operated.

步驟S306,根據運作功耗參數與準位來控制電源的輸出模式。具體地,當運作功耗參數大於準位時,控制電源的輸出模式為脈衝寬度調變模式;相對的,當運作功耗參數小於準位時,控制電源的輸出模式為脈衝頻率調變模式。Step S306, controlling the output mode of the power source according to the operating power consumption parameter and the level. Specifically, when the operating power consumption parameter is greater than the level, the output mode of the control power source is a pulse width modulation mode; in contrast, when the operating power consumption parameter is less than the level, the output mode of the control power source is a pulse frequency modulation mode.

下面配合圖2與圖3舉一實例詳細說明本發明電源供應模式控制方法的工作過程。假設某一個電子裝置包含有5個功能,此些功能分別為第一功能、第二功能、第三功能、第四功能及第五功能,並假設第一功能、第二功能、第三功能、第四功能及第五功能運作時的功耗參數分別為10%、15%、20%、25%及30%。滿載時,即所有功能運作時的功耗參數為100%,設定準位為25%(步驟S300)。檢測模組304檢測正在運作的功能,例如檢測到僅有第一功能正在運作,並將這個檢測到的運作檢測結果輸出給計算模組306(步驟S302)。計算模組306根據運作檢測結果而從儲存模組302取得先前設定好的功耗參數(對應於第一功能的功耗參數為10%),並將所有的功耗參數相加以得到運作功耗參數(在此因為只有第一功能在運作,所以運作功耗參數等同於第一功能的功耗參數10%)。(步驟S304)。控制模組308比較運作功耗參數與準位之後發現運作功耗參數(10%)小於先前設定的準位(25%),因此控制模組308就控制電源20的輸出模式為脈衝頻率調變模式(致能圖1所示的PFM電路40並禁能PWM電路10)(步驟S306)。The working process of the power supply mode control method of the present invention will be described in detail below with reference to FIG. 2 and FIG. It is assumed that an electronic device includes five functions, which are a first function, a second function, a third function, a fourth function, and a fifth function, respectively, and assumes a first function, a second function, a third function, The power consumption parameters of the fourth function and the fifth function are 10%, 15%, 20%, 25%, and 30%, respectively. At full load, that is, the power consumption parameter of all functions is 100%, and the setting level is 25% (step S300). The detection module 304 detects the function being operated, for example, detecting that only the first function is operating, and outputs the detected operation detection result to the calculation module 306 (step S302). The calculation module 306 obtains the previously set power consumption parameter from the storage module 302 according to the operation detection result (corresponding to the power consumption parameter of the first function is 10%), and adds all the power consumption parameters to obtain the operating power consumption. The parameter (because only the first function is operating, the operating power consumption parameter is equivalent to 10% of the power consumption parameter of the first function). (Step S304). After the control module 308 compares the operating power consumption parameters and the level, the operating power consumption parameter (10%) is found to be smaller than the previously set level (25%), so the control module 308 controls the output mode of the power source 20 to be pulse frequency modulation. The mode (the PFM circuit 40 shown in FIG. 1 is enabled and the PWM circuit 10 is disabled) (step S306).

假若當步驟S302中,檢測模組304檢測到第一功能、第二功能及第三功能同時運作,那麼在步驟S304中,計算模組306將從儲存模組302中取得先前設定好的功耗參數(對應於第一功能的功耗參數為10%、對應於第二功能的功耗參數為15%與對應於第三功能的功耗參數為20%),並計算出此時的運作功耗參數為45%(10%+15%+20%)。在此狀況下,控制模組308因為在步驟S306中比較得知運作功耗參數大於準位25%,所以控制電源20的輸出模式為脈衝寬度調變模式(致能圖1所示的PWM電路10並禁能PFM電路40)。If the detection module 304 detects that the first function, the second function, and the third function are simultaneously operated in step S302, then in step S304, the calculation module 306 will obtain the previously set power consumption from the storage module 302. The parameter (corresponding to the power consumption parameter of the first function is 10%, the power consumption parameter corresponding to the second function is 15%, and the power consumption parameter corresponding to the third function is 20%), and the operation work at this time is calculated. The consumption parameter is 45% (10% + 15% + 20%). In this case, because the control module 308 knows that the operating power consumption parameter is greater than the standard 25% in step S306, the output mode of the control power source 20 is the pulse width modulation mode (the PWM circuit shown in FIG. 1 is enabled). 10 and disable the PFM circuit 40).

總結來說,相較於習知技術,本發明之電源供應電路、電源供應模式控制電路及控制方法不需要設置偵測電子裝置的電壓及電流的電路,而是透過預先儲存準位以及對應每一些功能運作時的功耗參數,再檢測每一些功能是否正在運作,並輸出相對應的運作檢測結果,又根據運作檢測結果計算相對應的運作功耗參數,並根據運作功耗參數與準位以決定以脈衝寬度調變模式或脈衝頻率調變模式提供電源至電子裝置50,藉此實現脈衝寬度調變模式與脈衝頻率調變模式的自動切換,從而節省成本、減小佔用印刷電路板的面積。In summary, the power supply circuit, the power supply mode control circuit, and the control method of the present invention do not need to be provided with a circuit for detecting the voltage and current of the electronic device, but by pre-storing the level and corresponding to each other. The power consumption parameters of some functions are operated, and then each function is detected to be running, and the corresponding operation detection result is output, and the corresponding operation power consumption parameter is calculated according to the operation detection result, and according to the operation power consumption parameter and the level The power supply to the electronic device 50 is provided in a pulse width modulation mode or a pulse frequency modulation mode, thereby realizing automatic switching between the pulse width modulation mode and the pulse frequency modulation mode, thereby saving cost and reducing occupation of the printed circuit board. area.

綜上所述,雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作各種更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。In the above, although the present invention has been disclosed in the above preferred embodiments, it is not intended to limit the present invention, and various modifications and refinements can be made without departing from the spirit and scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims.

10...PWM電路10. . . PWM circuit

20...電源20. . . power supply

30...電源供應模式控制電路30. . . Power supply mode control circuit

40...PFM電路40. . . PFM circuit

50...電子裝置50. . . Electronic device

302...儲存模組302. . . Storage module

304...檢測模組304. . . Detection module

306...計算模組306. . . Computing module

308...控制模組308. . . Control module

S300~S306...本發明一實施例的施行步驟S300~S306. . . Implementation steps of an embodiment of the present invention

圖1是根據本發明一實施例的電源供應電路的電路方塊圖。1 is a circuit block diagram of a power supply circuit in accordance with an embodiment of the present invention.

圖2是根據本發明一實施例的電源供應模式控制電路的電路方塊圖。2 is a circuit block diagram of a power supply mode control circuit in accordance with an embodiment of the present invention.

圖3是根據本發明一實施例的電源供應模式控制方法的施行步驟流程圖。3 is a flow chart showing the steps of the power supply mode control method according to an embodiment of the invention.

10...PWM電路10. . . PWM circuit

20...電源20. . . power supply

30...電源供應模式控制電路30. . . Power supply mode control circuit

40...PFM電路40. . . PFM circuit

50...電子裝置50. . . Electronic device

Claims (16)

一種電源供應模式控制電路,適於控制提供至一電子裝置的一電源,該電源以一第一供應模式與一第二供應模式其中之一提供,該電子裝置具有複數個功能,該控制電路包括:一儲存模組,儲存一準位以及對應每一該些功能運作時的一功耗參數;一檢測模組,檢測每一該些功能是否正在運作,並輸出相對應的一運作檢測結果;一計算模組,電性耦接至該儲存模組與該檢測模組以接收該運作檢測結果,並根據該運作檢測結果計算一運作功耗參數;以及一控制模組,電性耦接至該計算模組以接收該運作功耗參數,並根據該運作功耗參數與該準位以決定以該第一供應模式與該第二供應模式其中之一提供該電源至該電子裝置。A power supply mode control circuit is adapted to control a power supply to an electronic device, the power supply being provided in one of a first supply mode and a second supply mode, the electronic device having a plurality of functions, the control circuit comprising a storage module storing a level and a power consumption parameter corresponding to each of the functions; a detection module detecting whether each of the functions is operating, and outputting a corresponding operation detection result; a computing module electrically coupled to the storage module and the detection module to receive the operational detection result, and calculating an operational power consumption parameter according to the operational detection result; and a control module electrically coupled to the The computing module receives the operating power consumption parameter and determines, according to the operating power consumption parameter and the level, the power supply to the electronic device in one of the first supply mode and the second supply mode. 如申請專利範圍第1項所述的電源供應模式控制電路,其中當該運作功耗參數大於該準位時,該控制模組決定以該第一供應模式提供該電源至該電子裝置。The power supply mode control circuit of claim 1, wherein when the operating power consumption parameter is greater than the level, the control module determines to provide the power to the electronic device in the first supply mode. 如申請專利範圍第1項所述的電源供應模式控制電路,其中當該運作功耗參數小於該準位時,該控制模組決定以該第二供應模式提供該電源至該電子裝置。The power supply mode control circuit of claim 1, wherein when the operating power consumption parameter is less than the level, the control module determines to provide the power to the electronic device in the second supply mode. 如申請專利範圍第1項所述的電源供應模式控制電路,其中該運作功耗參數為正在運作的該(些)功能的該(些)功耗參數的一總和,該功耗參數為該功能運作時所耗的一功率與所有該些功能運作時所耗的一總功率間的一預定比率。The power supply mode control circuit of claim 1, wherein the operating power consumption parameter is a sum of the power consumption parameters of the function(s) being operated, the power consumption parameter being the function A predetermined ratio of the power consumed during operation to a total power consumed by all of the functions. 如申請專利範圍第4項所述的電源供應模式控制電路,其中該準位介於15%與25%之間。The power supply mode control circuit of claim 4, wherein the level is between 15% and 25%. 如申請專利範圍第1項所述的電源供應模式控制電路,其中該第一供應模式為一脈衝寬度調變模式,該第二供應模式為一脈衝頻率調變模式。The power supply mode control circuit of claim 1, wherein the first supply mode is a pulse width modulation mode, and the second supply mode is a pulse frequency modulation mode. 一種電源供應電路,連接至具有複數個功能的一電子裝置,該電源供應電路包括:一電源,產生一電力;一脈衝寬度調變電路,電性耦接至該電源及該電子裝置,該脈衝寬度調變電路在被致能時將該電源產生的該電力以一脈衝寬度調變模式輸出給該電子裝置;一脈衝頻率調變電路,電性耦接至該電源及該電子裝置,該脈衝頻率調變電路在被致能時將該電源產生的該電力以一脈衝頻率調變模式輸出給該電子裝置;以及一電源供應模式控制電路,電性耦接至該脈衝寬度調變電路與該脈衝頻率調變電路,該電源供應模式控制電路包括:一儲存模組,儲存一準位以及對應每一該些功能運作時的一功耗參數;一檢測模組,檢測每一該些功能是否正在運作,並輸出相對應的一運作檢測結果;一計算模組,電性耦接至該儲存模組與該檢測模組以接收該運作檢測結果,並根據該運作檢測結果計算一運作功耗參數;以及一控制模組,電性耦接至該計算模組以接收該運作功耗參數,並根據該運作功耗參數與該準位以決定致能該脈衝寬度調變電路或該脈衝頻率調變電路。A power supply circuit is connected to an electronic device having a plurality of functions, the power supply circuit includes: a power source for generating a power; a pulse width modulation circuit electrically coupled to the power source and the electronic device, The pulse width modulation circuit outputs the power generated by the power source to the electronic device in a pulse width modulation mode when being enabled; a pulse frequency modulation circuit electrically coupled to the power source and the electronic device The pulse frequency modulation circuit outputs the power generated by the power source to the electronic device in a pulse frequency modulation mode when enabled; and a power supply mode control circuit electrically coupled to the pulse width modulation The variable circuit and the pulse frequency modulation circuit, the power supply mode control circuit includes: a storage module, storing a level and a power consumption parameter corresponding to each of the functions; a detection module, detecting Each of the functions is in operation and outputs a corresponding operational detection result; a computing module is electrically coupled to the storage module and the detection module to receive the operational detection node And calculating an operating power consumption parameter according to the operation detection result; and a control module electrically coupled to the computing module to receive the operating power consumption parameter, and determining according to the operating power consumption parameter and the level The pulse width modulation circuit or the pulse frequency modulation circuit is enabled. 如申請專利範圍第7項所述的電源供應電路,其中當該運作功耗參數大於該準位時,該控制模組致能該脈衝寬度調變電路。The power supply circuit of claim 7, wherein the control module enables the pulse width modulation circuit when the operating power consumption parameter is greater than the level. 如申請專利範圍第7項所述的電源供應電路,其中當該運作功耗參數小於該準位時,該控制模組致能該脈衝頻率調變電路。The power supply circuit of claim 7, wherein the control module enables the pulse frequency modulation circuit when the operating power consumption parameter is less than the level. 如申請專利範圍第7項所述的電源供應電路,其中該運作功耗參數為正在運作的該(些)功能的該(些)功耗參數的一總和,該功耗參數為該功能運作時所耗的一功率與所有該些功能運作時所耗的一總功率間的一預定比率。The power supply circuit of claim 7, wherein the operational power consumption parameter is a sum of the power consumption parameters of the function(s) being operated, the power consumption parameter being when the function is operated. A predetermined ratio of one power consumed to a total power consumed by all of the functions. 如申請專利範圍第10項所述的電源供應電路,其中該準位介於15%與25%之間。The power supply circuit of claim 10, wherein the level is between 15% and 25%. 一種電源供應模式控制方法,用以控制一電源的一輸出模式,該電源供應一電力至具有複數個功能的一電子裝置,該電源供應模式控制方法包括步驟:設定對應每一該些功能運作時的一功耗參數;檢測該些功能是否正在運作以得相對應的一運作檢測結果;根據該運作檢測結果計算相對應的一運作功耗參數;以及根據該運作功耗參數與一準位來控制該電源的該輸出模式。A power supply mode control method for controlling an output mode of a power source that supplies a power to an electronic device having a plurality of functions, the power supply mode control method comprising the steps of: setting a function corresponding to each of the functions a power consumption parameter; detecting whether the functions are operating to obtain a corresponding operation detection result; calculating a corresponding operation power consumption parameter according to the operation detection result; and according to the operation power consumption parameter and a level Controls the output mode of the power supply. 如申請專利範圍第12項所述之電源供應模式控制方法,其中當該運作功耗參數大於該準位時,控制該電源的該輸出模式為一脈衝寬度調變模式。The power supply mode control method according to claim 12, wherein when the operating power consumption parameter is greater than the level, the output mode of the power source is controlled to be a pulse width modulation mode. 如申請專利範圍第12項所述之電源供應模式控制方法,其中當該運作功耗參數小於該準位時,控制該電源的該輸出模式為一脈衝頻率調變模式。The power supply mode control method according to claim 12, wherein when the operating power consumption parameter is less than the level, the output mode of the power source is controlled to be a pulse frequency modulation mode. 如申請專利範圍第12項所述之電源供應模式控制方法,其中該運作功耗參數為正在運作的該(些)功能的該(些)功耗參數的一總和,該功耗參數為該功能運作時所耗的一功率與所有該些功能運作時所耗的一總功率間的一預定比率。The power supply mode control method of claim 12, wherein the operating power consumption parameter is a sum of the power consumption parameters of the function(s) being operated, the power consumption parameter being the function A predetermined ratio of the power consumed during operation to a total power consumed by all of the functions. 如申請專利範圍第15項所述之電源供應模式控制方法,其中該準位介於15%與25%之間。The method of controlling a power supply mode as described in claim 15 wherein the level is between 15% and 25%.
TW099127209A 2010-08-13 2010-08-13 Control circuit and method for determining supply mode of power, and power supply circuit TWI414134B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW099127209A TWI414134B (en) 2010-08-13 2010-08-13 Control circuit and method for determining supply mode of power, and power supply circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW099127209A TWI414134B (en) 2010-08-13 2010-08-13 Control circuit and method for determining supply mode of power, and power supply circuit

Publications (2)

Publication Number Publication Date
TW201208240A TW201208240A (en) 2012-02-16
TWI414134B true TWI414134B (en) 2013-11-01

Family

ID=46762436

Family Applications (1)

Application Number Title Priority Date Filing Date
TW099127209A TWI414134B (en) 2010-08-13 2010-08-13 Control circuit and method for determining supply mode of power, and power supply circuit

Country Status (1)

Country Link
TW (1) TWI414134B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW501337B (en) * 2000-02-03 2002-09-01 Sumitomo Electric Industries Power system stabilization system and method employing a rechargeable battery system
TW200836461A (en) * 2006-09-13 2008-09-01 O2Micro Inc Adapter, adapter controller, power supply topology, and electronic device with power allocation control
WO2009042704A1 (en) * 2007-09-26 2009-04-02 Qualcomm Incorporated Switch mode power supply (smps) and methods thereof
CN101414194A (en) * 2008-11-25 2009-04-22 天水电气传动研究所有限责任公司 High precision digital power supply control regulating apparatus
US20100073176A1 (en) * 2008-09-23 2010-03-25 Po-Hsine Li Method for Detecting Operations of a Power Storage Device and Related Power Storage Device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW501337B (en) * 2000-02-03 2002-09-01 Sumitomo Electric Industries Power system stabilization system and method employing a rechargeable battery system
TW200836461A (en) * 2006-09-13 2008-09-01 O2Micro Inc Adapter, adapter controller, power supply topology, and electronic device with power allocation control
WO2009042704A1 (en) * 2007-09-26 2009-04-02 Qualcomm Incorporated Switch mode power supply (smps) and methods thereof
US20100073176A1 (en) * 2008-09-23 2010-03-25 Po-Hsine Li Method for Detecting Operations of a Power Storage Device and Related Power Storage Device
CN101414194A (en) * 2008-11-25 2009-04-22 天水电气传动研究所有限责任公司 High precision digital power supply control regulating apparatus

Also Published As

Publication number Publication date
TW201208240A (en) 2012-02-16

Similar Documents

Publication Publication Date Title
JP4980911B2 (en) Power system
US10042801B2 (en) System for detecting universal serial bus (USB) device and method thereof
CN107833568B (en) Screen brightness adjusting method and device and display terminal
US20160062441A1 (en) Power managing method and power supplying system applying the power managing method
TWI394344B (en) Portable computer system and related power supply device and charging method
TWI352888B (en) Device and method for detecting one or more curren
US20170357307A1 (en) Method for performing system power budgeting within an electronic device, and associated apparatus
CN112114652B (en) Voltage control method and device, electronic equipment and readable storage medium
KR20080067310A (en) A power factor correction circuit
JP2010019840A (en) Measuring device, testing device, measuring method
US20140375280A1 (en) Method for charging battery and electronic device thereof
WO2012000378A1 (en) Method and apparatus for generating test circuit and power source testing system
WO2013060802A1 (en) Battery-operated electronic device and method
CN110989818A (en) PSU power supply method, system, equipment and computer readable storage medium
US20130085623A1 (en) Power supply device and control method therefor
JP4881940B2 (en) DC power supply
JP2023101509A (en) Semiconductor device and method for detecting remaining amount of battery
US20130205140A1 (en) Electronic apparatus and driving control method thereof
CN111475008A (en) Control method for working mode of power supply module
JP2013182539A (en) Method and electronic apparatus for controlling operation of processor
TWI414134B (en) Control circuit and method for determining supply mode of power, and power supply circuit
CN101917113B (en) Power supply circuit, power supply mode control circuit and control method
CN105916267A (en) Flashlight illumination brightness adjusting method, flashlight illumination brightness adjusting device and mobile terminal
TWI548193B (en) Power saving method and related power saving circuit
TWI529521B (en) Method for managing power and portable electronic device using the same

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees