[go: up one dir, main page]

TW201619746A - Electronic apparatus and method for determining supply power of power adapter thereof - Google Patents

Electronic apparatus and method for determining supply power of power adapter thereof Download PDF

Info

Publication number
TW201619746A
TW201619746A TW103140454A TW103140454A TW201619746A TW 201619746 A TW201619746 A TW 201619746A TW 103140454 A TW103140454 A TW 103140454A TW 103140454 A TW103140454 A TW 103140454A TW 201619746 A TW201619746 A TW 201619746A
Authority
TW
Taiwan
Prior art keywords
electronic device
power
power adapter
power supply
detection signal
Prior art date
Application number
TW103140454A
Other languages
Chinese (zh)
Inventor
王士偉
郭俊志
蔡孟杰
Original Assignee
宏碁股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宏碁股份有限公司 filed Critical 宏碁股份有限公司
Priority to TW103140454A priority Critical patent/TW201619746A/en
Publication of TW201619746A publication Critical patent/TW201619746A/en

Links

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

An electronic apparatus and a method for determining a supply power of a power adapter thereof are provided. The method includes following steps. The power adapter is connected and a detecting signal is generated. The detecting signal and a threshold are compared to determine whether the supply power of the power adapter satisfies a power demand of the electronic apparatus. Herein, the threshold is determined by a curve of an input voltage and a load current of the electronic apparatus, and the curve is determined by a relationship of a plurality of powers corresponding to a plurality of load current values.

Description

電子裝置及其電源轉接器的供應電源的判斷方法 Method for judging power supply of electronic device and its power adapter

本發明是有關於一種電源管理技術,且特別是有關於一種電子裝置及其電源轉接器的供應電源的判斷方法。 The present invention relates to a power management technique, and more particularly to a method of determining a power supply of an electronic device and its power adapter.

電源轉接器(Power Adapter)可以將市電轉換為直流電,以對電子裝置提供電源並進行充電。一般而言,電源轉接器的額定輸出功率被設計為符合電子裝置內部負載的電力需求。 The Power Adapter converts utility power to DC power to power and charge the electronics. In general, the rated output power of the power adapter is designed to meet the power requirements of the internal load of the electronic device.

以目前的筆記型電腦來說,不同型號的筆記型電腦可能搭配不同額定輸出功率的電源轉接器。對於擁有多台筆記型電腦的使用者而言,當要使用電源轉接器對筆記型電腦進行充電時,使用者可能會不小心地將不適用的電源轉接器連接至筆記型電腦。特別是,當使用者將額定輸出功率小於筆記型電腦的電力需求的電源轉接器連接至筆記型電腦時,若筆記型電腦的系統處於重載,亦即系統所需負載電流較大的情況,儘管電源轉接器維持與筆記型電腦相連,但可能會因電源轉接器的額定輸出功率不足 以提供重載時所需的較大負載電流,而誤判為筆記型電腦未與電源轉接器連接,並將筆記型電腦的電源模式切換為電池的放電模式。至於當系統處於輕載(負載電流較小)時,則由於電源轉接器可供應系統所需的負載電流,故判定筆記型電腦與電源轉接器連接,並將電源模式切換為電池的充電模式。換言之,系統負載狀態的改變將可能導致充電迴路在充放電之間切換,使電池的充電時間變長。再者,當筆記型電腦未安裝電池卻因誤判而將電源模式切換為電池的放電模式時,甚至可能導致使用中的系統發生關閉(Shutdown)。 In the current notebook computer, different models of notebook computers may be equipped with power adapters of different rated output power. For users with multiple notebooks, when using the power adapter to charge the notebook, the user may accidentally connect the unsuitable power adapter to the notebook. In particular, when the user connects the power adapter whose rated output power is lower than the power demand of the notebook computer to the notebook computer, if the system of the notebook computer is under heavy load, that is, the load current required by the system is large. Although the power adapter is connected to the notebook, it may be insufficient due to the rated output power of the power adapter. In order to provide the large load current required for heavy load, it is misjudged that the notebook is not connected to the power adapter and the power mode of the notebook is switched to the discharge mode of the battery. As for when the system is under light load (low load current), since the power adapter can supply the load current required by the system, it is determined that the notebook is connected to the power adapter and the power mode is switched to the charging of the battery. mode. In other words, a change in the system load state may cause the charging circuit to switch between charging and discharging, making the charging time of the battery longer. Furthermore, when the notebook computer is not equipped with a battery but switches the power mode to the battery discharge mode due to a misjudgment, it may even cause the system in use to be shut down.

上述情況不只造成使用者在操作上的不便,更將影響電子裝置的使用觀感。因此,如何準確地判斷電源轉接器所提供的電源是否適用於電子裝置,已成為目前亟待解決的問題之一。 The above situation not only causes the user's inconvenience in operation, but also affects the use of the electronic device. Therefore, how to accurately determine whether the power supply provided by the power adapter is suitable for an electronic device has become one of the problems to be solved at present.

有鑑於此,本發明提供一種電子裝置及其電源轉接器的供應電源的判斷方法,可準確地判斷電源轉接器的供應電源是否滿足電子裝置的電力需求,以避免電子裝置的電源模式發生誤判。 In view of this, the present invention provides a method for determining the power supply of an electronic device and a power adapter thereof, which can accurately determine whether the power supply of the power adapter meets the power demand of the electronic device to avoid the power mode of the electronic device. Misjudgment.

本發明提出一種電子裝置。此電子裝置包括充電單元以及控制單元。充電單元連接電源轉接器並產生偵測訊號。控制單元耦接至充電單元,接收偵測訊號,並比較偵測訊號與門檻值以判斷電源轉接器所提供的供應電源是否滿足電子裝置的電力需求。其中,門檻值依據電子裝置的輸入電壓與負載電流的關係曲 線來決定,且關係曲線依據多數個負載電流值分別對應的多數個功率的關係來決定。 The present invention provides an electronic device. The electronic device includes a charging unit and a control unit. The charging unit is connected to the power adapter and generates a detection signal. The control unit is coupled to the charging unit, receives the detection signal, and compares the detection signal with the threshold value to determine whether the power supply provided by the power adapter meets the power requirement of the electronic device. Wherein, the threshold value is based on the relationship between the input voltage of the electronic device and the load current The line is determined, and the relationship curve is determined according to the relationship of a plurality of powers corresponding to a plurality of load current values.

本發明另提出一種電源轉接器的供應電源的判斷方法。此判斷方法包括下列步驟。連接電源轉接器並產生偵測訊號,並比較偵測訊號與門檻值,以判斷電源轉接器所提供的供應電源是否滿足電子裝置的電力需求。其中門檻值依據電子裝置的輸入電壓與負載電流的關係曲線來決定,且關係曲線依據多數個負載電流值分別對應的多數個功率的關係來決定。 The invention further provides a method for determining the power supply of the power adapter. This determination method includes the following steps. Connect the power adapter and generate a detection signal, and compare the detection signal with the threshold to determine whether the power supply provided by the power adapter meets the power requirements of the electronic device. The threshold value is determined according to the relationship between the input voltage of the electronic device and the load current, and the relationship curve is determined according to the relationship between the plurality of powers corresponding to the plurality of load current values.

基於上述,本發明實施例所提出的電子裝置及其電源轉接器的供應電源的判斷方法,其利用電子裝置的輸入電壓與負載電流的關係曲線以決定門檻值,並將連接電源轉接器所產生的偵測訊號與門檻值進行比較,從而判斷電源轉接器的供應電源是否滿足電子裝置的電力需求。藉此,可準確判斷電源轉接器的供應電源是否適用於電子裝置,避免電子裝置的電源模式誤判,並讓使用者能夠正常使用電子裝置,進而提昇使用觀感。 Based on the above, the method for determining the power supply of the electronic device and the power adapter thereof according to the embodiment of the present invention utilizes a relationship between an input voltage of the electronic device and a load current to determine a threshold value, and connects the power adapter The generated detection signal is compared with the threshold value to determine whether the power supply of the power adapter meets the power demand of the electronic device. Therefore, it is possible to accurately determine whether the power supply of the power adapter is suitable for the electronic device, avoid the misjudgment of the power mode of the electronic device, and enable the user to use the electronic device normally, thereby improving the sense of use.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the invention will be apparent from the following description.

10‧‧‧電子裝置 10‧‧‧Electronic devices

110‧‧‧充電單元 110‧‧‧Charging unit

120‧‧‧控制單元 120‧‧‧Control unit

130‧‧‧連接埠 130‧‧‧Connector

140‧‧‧電池 140‧‧‧Battery

20‧‧‧電源轉接器 20‧‧‧Power adapter

C1、C2、C3‧‧‧關係曲線 C1, C2, C3‧‧‧ relationship curves

P1、P2、P3‧‧‧電力需求 P1, P2, P3‧‧‧ power demand

IL‧‧‧電流值 IL‧‧‧ current value

VIN、VLOW‧‧‧電壓值 VIN, VLOW‧‧‧ voltage value

S202~S204、S402~S412‧‧‧步驟 S202~S204, S402~S412‧‧‧ steps

圖1是依照本發明一實施例所繪示的電子裝置的方塊示意圖。 FIG. 1 is a block diagram of an electronic device according to an embodiment of the invention.

圖2是依照本發明一實施例所繪示的電源轉接器的供應電源的判斷方法的流程圖。 2 is a flow chart of a method for determining a power supply of a power adapter according to an embodiment of the invention.

圖3是依照本發明的一實施例所繪示的電子裝置的輸入電壓與負載電流的關係曲線的範例。 FIG. 3 is a diagram showing an example of an input voltage versus a load current of an electronic device according to an embodiment of the invention.

圖4是依照本發明一實施例所繪示的電源轉接器的供應電源的判斷方法的流程圖。 4 is a flow chart of a method for determining a power supply of a power adapter according to an embodiment of the invention.

當使用者將電源轉接器連接至電子裝置時,電子裝置一般僅會偵測連結是否已經建立,而並沒有考慮電源轉接器所提供的電源是否能夠滿足電子裝置的電力需求。藉此,本發明實施例所提出的電子裝置及其電源轉接器的供應電源的判斷方法,其利用預先設置的電子裝置的輸入電壓與負載電流的關係曲線以取得門檻值,並可藉由充電積體電路(Charger Integrated Circuit,Charger IC)偵測電子裝置與電源轉接器的連接並產生偵測訊號。接著,對偵測訊號與門檻值進行判斷機制,以判斷電源轉接器的供應電源是否滿足電子裝置的電力需求。如此一來,可以準確地判斷電源轉接器的供應電源是否適用於電子裝置,並避免電子裝置的電源模式誤判,且在判定電源轉接器不適用時可發出警示。 When the user connects the power adapter to the electronic device, the electronic device generally only detects whether the link has been established, and does not consider whether the power provided by the power adapter can meet the power demand of the electronic device. Therefore, the method for determining the power supply of the electronic device and the power adapter thereof according to the embodiment of the present invention utilizes a relationship between an input voltage and a load current of the electronic device that is preset to obtain a threshold value, and A Charger Integrated Circuit (Charger IC) detects the connection between the electronic device and the power adapter and generates a detection signal. Then, the detection signal and the threshold value are judged to determine whether the power supply of the power adapter meets the power demand of the electronic device. In this way, it is possible to accurately determine whether the power supply of the power adapter is suitable for the electronic device, and avoid the power supply mode misjudgment of the electronic device, and can issue a warning when it is determined that the power adapter is not applicable.

圖1是依照本發明一實施例所繪示的電子裝置的方塊示意圖。請參照圖1,本實施例的電子裝置10例如是筆記型電腦、平板電腦或智慧型手機等,在此並不限制其種類。電子裝置10包 括充電單元110以及控制單元120,其功能分述如下。 FIG. 1 is a block diagram of an electronic device according to an embodiment of the invention. Referring to FIG. 1 , the electronic device 10 of the present embodiment is, for example, a notebook computer, a tablet computer, a smart phone, or the like, and the type thereof is not limited herein. Electronic device 10 pack The charging unit 110 and the control unit 120 are described, and their functions are described as follows.

充電單元110例如是充電積體電路(Charger IC)、通用匯流排充電積體電路(USB Charger Integrated Circuit,USB Charger IC)等電源控制電路,其可連接電源轉接器20並產生偵測訊號。 The charging unit 110 is, for example, a power supply control circuit such as a charge integrated circuit (Charger IC) or a universal charger integrated circuit (USB Charger IC), which can be connected to the power adapter 20 and generate a detection signal.

在本實施例中,充電單元110例如是經由連接埠130以連接電源轉接器20,藉以辨識電源轉接器20的裝置類型以及額定輸出電壓與額定輸出電流等供電資訊。電源轉接器20用以接收電源並將電源供應給電子裝置10。例如,電源轉接器20可透過電源線連接插座而接收交流電源,並在將交流電源轉換為直流電源後提供給電子裝置10。此外,充電單元110還可耦接至電池140。 當充電單元110連接電源轉接器20時,電源轉接器20可透過充電單元110而將電源供應給電池140以進行充電。換句話說,充電單元110可用以控制電子裝置10的電源管理,並可依據是否連接電源轉接器20而切換電子裝置10的電池140為充電或放電模式。 In the present embodiment, the charging unit 110 is connected to the power adapter 20 via the port 130, for example, to identify the device type of the power adapter 20 and the power supply information such as the rated output voltage and the rated output current. The power adapter 20 is for receiving power and supplying power to the electronic device 10. For example, the power adapter 20 can receive AC power through a power cord connection socket and provide the electronic device 10 after converting the AC power to DC power. In addition, the charging unit 110 can also be coupled to the battery 140. When the charging unit 110 is connected to the power adapter 20, the power adapter 20 can supply power to the battery 140 through the charging unit 110 for charging. In other words, the charging unit 110 can be used to control the power management of the electronic device 10, and can switch the battery 140 of the electronic device 10 to a charging or discharging mode depending on whether or not the power adapter 20 is connected.

需說明的是,上述的電池140可以省略,此時的充電單元110將決定由電源轉接器20提供電源給對電子裝置10。另外,對於充電單元110具備連接埠功能的情況,則連接埠130亦可省略。應用本實施例者可依其設計需求而調整連接埠130以及電池140的設置,本發明不加以限制。 It should be noted that the above-mentioned battery 140 can be omitted, and the charging unit 110 at this time will decide to supply power to the electronic device 10 by the power adapter 20 . In addition, when the charging unit 110 is provided with a connection port function, the port 130 may be omitted. The arrangement of the connection port 130 and the battery 140 can be adjusted according to the design requirements of the embodiment, and the invention is not limited.

控制單元120耦接至充電單元110。控制單元120例如是嵌入式控制器(Embedded Controller)、微處理器(Microprocessor) 等控制電路。在本實施例中,控制單元120依據所接收的偵測訊號,以判斷電源轉接器20的供應電源是否滿足電子裝置10的電力需求,從而提供判斷電源轉接器20是否適用的功能。 The control unit 120 is coupled to the charging unit 110. The control unit 120 is, for example, an embedded controller (Microprocessor). And other control circuits. In this embodiment, the control unit 120 determines whether the power supply of the power adapter 20 satisfies the power demand of the electronic device 10 according to the received detection signal, thereby providing a function of determining whether the power adapter 20 is applicable.

基於上述的系統架構,以下舉實施例詳細說明本發明實施例所提出的電源轉接器的供應電源的判斷方法。請參照圖2,圖2是依照本發明一實施例所繪示的一種電源轉接器的供應電源的判斷方法的流程圖,且適用於圖1的電子裝置10。以下即搭配圖1中的各項元件來說明本方法的詳細步驟。 Based on the system architecture described above, the following embodiments describe in detail the method for determining the power supply of the power adapter according to the embodiment of the present invention. Please refer to FIG. 2. FIG. 2 is a flowchart of a method for determining a power supply of a power adapter according to an embodiment of the invention, and is applicable to the electronic device 10 of FIG. The detailed steps of the method will be described below in conjunction with the various elements in FIG.

在步驟S202中,充電單元110連接電源轉接器20並產生偵測訊號。具體而言,在一實施例中,當充電單元110連接電源轉接器20或是透過連接埠130而連接電源轉接器20時,充電單元110可接收電源轉接器20所提供的外部直流電源,並對應地產生高電壓準位的偵測訊號。偵測訊號的電壓準位可與外部直流電源的電壓準位相等,或也可經過降壓處理,使得偵測訊號的電壓準位低於外部直流電源的電壓準位。換句話說,偵測訊號的電壓準位可由電源轉接器20的供應電源的輸出電壓值來決定。另一方面,當充電單元110未連接電源轉接器20時,充電單元110則例如產生低電壓準位的偵測訊號。 In step S202, the charging unit 110 is connected to the power adapter 20 and generates a detection signal. Specifically, in an embodiment, when the charging unit 110 is connected to the power adapter 20 or connected to the power adapter 20 through the connection port 130, the charging unit 110 can receive the external DC provided by the power adapter 20. The power supply, and correspondingly generates a high voltage level detection signal. The voltage level of the detection signal can be equal to the voltage level of the external DC power supply, or can be stepped down so that the voltage level of the detection signal is lower than the voltage level of the external DC power supply. In other words, the voltage level of the detection signal can be determined by the output voltage value of the power supply of the power adapter 20. On the other hand, when the charging unit 110 is not connected to the power adapter 20, the charging unit 110 generates a detection signal of a low voltage level, for example.

需說明的是,充電單元110例如是透過交流偵測腳位(AC Detection Pin)耦接控制單元120,以將偵測訊號傳送至控制單元120。在一實施例中,電子裝置10還可包括分壓電路,且此分壓電路耦接於充電單元110的交流偵測腳位與控制單元120之間, 以對充電單元110所產生的偵測訊號進行分壓,藉以調整偵測訊號的電壓準位,並將調整後的偵測訊號傳送至控制單元120。上述的分壓電路例如是由兩個電阻串聯所組成,或亦可透過其他元件的組合來實現。分壓電路的架構應為本領域所熟知的技術,在此不再贅述。 It should be noted that the charging unit 110 is coupled to the control unit 120 through an AC detection pin, for example, to transmit the detection signal to the control unit 120. In an embodiment, the electronic device 10 may further include a voltage dividing circuit, and the voltage dividing circuit is coupled between the AC detecting pin of the charging unit 110 and the control unit 120. The detection signal generated by the charging unit 110 is divided to adjust the voltage level of the detection signal, and the adjusted detection signal is transmitted to the control unit 120. The voltage dividing circuit described above is composed of, for example, two resistors connected in series, or may be realized by a combination of other components. The structure of the voltage dividing circuit should be a well-known technology in the art, and will not be described herein.

當控制單元120接收偵測訊號之後,在步驟S204中,控制單元120比較偵測訊號與門檻值以判斷電源轉接器20所提供的供應電源是否滿足電子裝置10的電力需求。其中,門檻值例如是依據電子裝置10的輸入電壓與負載電流的關係曲線來決定,且所述的關係曲線可依據多數個負載電流值分別對應的多數個功率的關係來決定。 After the control unit 120 receives the detection signal, in step S204, the control unit 120 compares the detection signal with the threshold value to determine whether the power supply provided by the power adapter 20 satisfies the power demand of the electronic device 10. The threshold value is determined according to, for example, a relationship between an input voltage of the electronic device 10 and a load current, and the relationship curve may be determined according to a relationship of a plurality of powers corresponding to a plurality of load current values.

詳細來說,在一實施例中,電子裝置10的輸入電壓與負載電流的關係曲線可藉由實驗量測所獲得的多個數據而得到。對於電子裝置10的一特定電力需求而言,依據系統所需的負載電流不同,系統所需的輸入電壓也將分別對應於不同的電壓值。或者,從另一角度而言,依據系統的電力需求及其所需的負載電流值,將會決定系統所需的輸入電壓。因此,本實施例可藉由設定電子裝置10的多組電力需求及負載電流,從而獲得在多種電力需求下的輸入電壓與負載電流的對應關係。在本實施例中,所述的對應關係可以關係曲線的形式來表示。 In detail, in an embodiment, the relationship between the input voltage and the load current of the electronic device 10 can be obtained by experimentally measuring a plurality of data obtained. For a particular power demand of the electronic device 10, depending on the load current required by the system, the input voltages required by the system will also correspond to different voltage values, respectively. Or, from another perspective, depending on the power requirements of the system and its required load current value, the input voltage required by the system will be determined. Therefore, in this embodiment, the correspondence between the input voltage and the load current under various power requirements can be obtained by setting multiple sets of power demand and load current of the electronic device 10. In this embodiment, the corresponding relationship may be expressed in the form of a relationship curve.

請參照圖3,圖3是依照本發明的一實施例所繪示的電子裝置10的輸入電壓與負載電流的關係曲線的範例。其繪示了電子 裝置10的電力需求P1(例如90瓦特)、P2(例如65瓦特)、P3(例如45瓦特)所分別對應的電子裝置10的輸入電壓與負載電流的關係曲線C1、C2、C3。這些關係曲線可預先建立並儲存在控制單元120、電源轉接器20、或暫存器等儲存單元中,以提供控制單元120對其存取。藉此,控制單元120可依據電子裝置10的電力需求,而由此電力需求所對應的關係曲線中獲得在一預設電流下所對應的電壓值。或者,控制單元120亦可以在上述的關係曲線中獲得在一預設電壓下所對應的電流值。 Please refer to FIG. 3. FIG. 3 is a diagram showing an example of an input voltage versus a load current of an electronic device 10 according to an embodiment of the invention. It shows the electron The power supply P1 (for example, 90 watts), P2 (for example, 65 watts), and P3 (for example, 45 watts) of the device 10 respectively correspond to the input voltages of the electronic devices 10 and the load currents C1, C2, and C3. These relationship curves may be pre-established and stored in a storage unit such as the control unit 120, the power adapter 20, or a register to provide access to the control unit 120. Thereby, the control unit 120 can obtain the voltage value corresponding to a preset current according to the power demand of the electronic device 10, and thus the relationship curve corresponding to the power demand. Alternatively, the control unit 120 may also obtain a current value corresponding to a preset voltage in the above relationship curve.

在此說明如何決定判斷機制中的門檻值。詳言之,在一實施例中,控制單元120可依據預設電流與關係曲線以決定預設電壓值,並計算預設電流與預設電壓值的乘積以決定門檻值。以圖3繪示的電力需求P1為例,當電子裝置10所需的負載電流為電流值IL時,控制單元120可依據關係曲線C1以及電流值IL,從而獲得電子裝置10所需的輸入電壓為電壓值VIN。控制單元120可計算電流值IL與電壓值VIN的乘積並將其作為門檻值。 Here is how to determine the threshold value in the judgment mechanism. In detail, in an embodiment, the control unit 120 may determine the preset voltage value according to the preset current and the relationship curve, and calculate a product of the preset current and the preset voltage value to determine the threshold value. Taking the power demand P1 shown in FIG. 3 as an example, when the load current required by the electronic device 10 is the current value IL, the control unit 120 can obtain the input voltage required by the electronic device 10 according to the relationship curve C1 and the current value IL. Is the voltage value VIN. The control unit 120 can calculate the product of the current value IL and the voltage value VIN as a threshold value.

在門檻值決定之後,控制單元120再依據電子裝置10的系統負載以設定預設電流,並可分析偵測訊號以獲得電源轉接器20的供應電源的輸出電壓值。如前所述,偵測訊號的電壓準位可取決於電源轉接器20的供應電源的輸出電壓值,因此,藉由分析偵測訊號的電壓準位,可以獲得電源轉接器20的供應電源的輸出電壓值。當預設電流與輸出電壓值的乘積低於門檻值時,控制單元120判定電源轉接器20的供應電源低於電子裝置10的電力需 求。 After the threshold value is determined, the control unit 120 further sets the preset current according to the system load of the electronic device 10, and can analyze the detection signal to obtain the output voltage value of the power supply of the power adapter 20. As described above, the voltage level of the detection signal may depend on the output voltage value of the power supply of the power adapter 20, and therefore, by analyzing the voltage level of the detection signal, the supply of the power adapter 20 can be obtained. The output voltage value of the power supply. When the product of the preset current and the output voltage value is lower than the threshold value, the control unit 120 determines that the power supply of the power adapter 20 is lower than the power of the electronic device 10 begging.

以下再以圖3中的關係曲線C1為例,當控制單元120設定預設電流為電流值IL時,其輸入電壓(即,電源轉接器20的輸出電壓)必須要大於或等於電壓值VIN,電源轉接器20的供應電源才能夠滿足電子裝置10的電力需求P1。因此,當控制單元120分析偵測訊號並獲得電源轉接器20的供應電源的輸出電壓值小於電壓值VIN(例如電壓值VLOW)時,控制單元將會判定電源轉接器20的供應電源低於電子裝置10的電力需求。 Taking the relationship curve C1 in FIG. 3 as an example, when the control unit 120 sets the preset current to the current value IL, the input voltage (ie, the output voltage of the power adapter 20) must be greater than or equal to the voltage value VIN. The power supply of the power adapter 20 can satisfy the power demand P1 of the electronic device 10. Therefore, when the control unit 120 analyzes the detection signal and obtains that the output voltage value of the power supply of the power adapter 20 is less than the voltage value VIN (for example, the voltage value VLOW), the control unit determines that the power supply of the power adapter 20 is low. The power demand of the electronic device 10.

從另一角度而言,若電子裝置10的電力需求不變,則控制單元120還可對於各個不同負載電流的情況,將電源轉接器20的供應電源與關係曲線C1進行比較。當電源轉接器20的供應電源位於圖3中關係曲線C1的下方時,控制單元120可判定電源轉接器20的供應電源低於電子裝置10的電力需求。 From another point of view, if the power demand of the electronic device 10 is constant, the control unit 120 can also compare the power supply of the power adapter 20 with the relationship curve C1 for each different load current. When the power supply of the power adapter 20 is located below the relationship curve C1 in FIG. 3, the control unit 120 may determine that the power supply of the power adapter 20 is lower than the power demand of the electronic device 10.

值得一提的是,在一實施例中,若電子裝置10的負載電流不變(例如電力需求P1並維持負載電流為電流值IL時),控制單元120也可直接對電源轉接器20所提供的電壓以及電壓值VIN進行比較,從而判斷電源轉接器20的供應電源是否適用於電子裝置10的電力需求。 It is worth mentioning that, in an embodiment, if the load current of the electronic device 10 is constant (for example, when the power demand P1 is maintained and the load current is the current value IL), the control unit 120 can also directly connect to the power adapter 20 The supplied voltage and voltage value VIN are compared to determine whether the power supply of the power adapter 20 is suitable for the power demand of the electronic device 10.

除了利用電子裝置10的輸入電壓與負載電流的關係曲線以獲得門檻值之外,在一實施例中,控制單元120也可藉由查找表或其它的數據表示方式,以獲得電子裝置10的輸入電壓與負載電流之間的對應關係,並據以計算門檻值。查找表亦可以預先建 立並儲存於控制單元120、電源轉接器20、或暫存器等其他儲存單元中,以供控制單元120進行存取。對於控制單元120如何預先儲存輸入電壓與負載電流之間的對應關係並用以取得門檻值的方式,本發明不加以限制。 In addition to utilizing the relationship between the input voltage and the load current of the electronic device 10 to obtain the threshold value, in an embodiment, the control unit 120 can also obtain the input of the electronic device 10 by means of a lookup table or other data representation. The correspondence between voltage and load current, and the threshold value is calculated accordingly. Lookup tables can also be pre-built And stored in the control unit 120, the power adapter 20, or other storage unit such as a register for access by the control unit 120. The method for how the control unit 120 pre-stores the correspondence between the input voltage and the load current and uses the threshold value to obtain the threshold value is not limited in the present invention.

圖4是依照本發明一實施例所繪示的電源轉接器的供應電源的判斷方法的流程圖。在本實施例中,考慮電子裝置10的負載狀態會改變而非總是處於重載的狀態,因此,還可藉由控制單元120對電源轉接器20的供應電源進行多次偵測,以提升判斷機制的準確度。以下搭配圖1中的各項元件來說明本方法的詳細步驟。 4 is a flow chart of a method for determining a power supply of a power adapter according to an embodiment of the invention. In this embodiment, it is considered that the load state of the electronic device 10 may change rather than being always in a heavy load state. Therefore, the power supply adapter 20 may be repeatedly detected by the control unit 120 to Improve the accuracy of the judgment mechanism. The detailed steps of the method are illustrated below in conjunction with the various elements in FIG.

在步驟S402中,充電單元110連接電源轉接器20並產生偵測訊號。此步驟與前述實施例的步驟S202類似,故請參考前述。接著,在步驟S404中,控制單元120在多數個時間區間中偵測預設電流與輸出電壓值的乘積是否低於門檻值。此處的預設電流與輸出電壓值的乘積可對應於電源轉接器20的供應電源。當判定預設電流與輸出電壓值的乘積低於門檻值時,在步驟S406中,控制單元120累計預設電流與輸出電壓值的乘積低於門檻值的次數,並在步驟S408中,當所累計的次數大於預設次數(例如3次)時,控制單元120判定電源轉接器20的供應電源低於電子裝置10的電力需求。另一方面,當控制單元120偵測預設電流與輸出電壓值的乘積未低於門檻值時,控制單元120則在步驟S410中判定電源轉接器20的供應電源滿足電子裝置10的電力需求,並可控 制電源轉接器20對電子裝置10進行充電。 In step S402, the charging unit 110 is connected to the power adapter 20 and generates a detection signal. This step is similar to step S202 of the previous embodiment, so please refer to the foregoing. Next, in step S404, the control unit 120 detects whether the product of the preset current and the output voltage value is lower than the threshold value in a plurality of time intervals. The product of the preset current and the output voltage value here may correspond to the power supply of the power adapter 20. When it is determined that the product of the preset current and the output voltage value is lower than the threshold value, in step S406, the control unit 120 accumulates the number of times the product of the preset current and the output voltage value is lower than the threshold value, and in step S408, When the accumulated number of times is greater than the preset number of times (for example, three times), the control unit 120 determines that the power supply of the power adapter 20 is lower than the power demand of the electronic device 10. On the other hand, when the control unit 120 detects that the product of the preset current and the output voltage value is not lower than the threshold value, the control unit 120 determines in step S410 that the power supply of the power adapter 20 satisfies the power demand of the electronic device 10. And controllable The power supply adapter 20 charges the electronic device 10.

值得一提的是,電子裝置10還可包括指示器,其用以指示電源轉接器20的供應電源低於電子裝置10的電力需求或滿足電子裝置10的電力需求。因此,在一實施例中,當控制單元120判定電源轉接器20的供應電源低於電子裝置10的電力需求時,控制單元120可更執行步驟S412以透過指示器發出蜂鳴聲,藉以警告使用者所連接的電源轉接器20並不適用於電子裝置10,並可提醒使用者更換為電子裝置10所適用的電源轉接器20以正常使用電子裝置10。 It is worth mentioning that the electronic device 10 may further include an indicator to indicate that the power supply of the power adapter 20 is lower than the power demand of the electronic device 10 or meet the power demand of the electronic device 10. Therefore, in an embodiment, when the control unit 120 determines that the power supply of the power adapter 20 is lower than the power demand of the electronic device 10, the control unit 120 may further perform step S412 to emit a beep through the indicator, thereby warning The power adapter 20 connected to the user is not suitable for the electronic device 10, and the user can be reminded to replace the power adapter 20 suitable for the electronic device 10 to use the electronic device 10 normally.

綜上所述,本發明實施例所提出的電子裝置及其電源轉接器的供應電源的判斷方法可利用預先設置的電子裝置的輸入電壓與負載電流的關係曲線以決定門檻值,並將偵測訊號與門檻值進行比較,從而判斷電源轉接器的供應電源是否滿足電子裝置的電力需求。如此一來,能夠準確判斷電源轉接器的供應電源是否適用於電子裝置,並可在電源轉接器不適用時發出警告,且可避免當電子裝置的系統負載改變時造成電源模式的誤判。 In summary, the method for determining the power supply of the electronic device and the power adapter thereof according to the embodiments of the present invention can use the relationship between the input voltage and the load current of the preset electronic device to determine the threshold value, and will detect The test signal is compared with the threshold value to determine whether the power supply of the power adapter meets the power demand of the electronic device. In this way, it is possible to accurately determine whether the power supply of the power adapter is suitable for the electronic device, and can issue a warning when the power adapter is not applicable, and can avoid misjudging the power mode when the system load of the electronic device changes.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.

S202~S204‧‧‧步驟 S202~S204‧‧‧Steps

Claims (10)

一種電子裝置,包括:一充電單元,連接一電源轉接器並產生一偵測訊號;以及一控制單元,耦接至該充電單元,接收該偵測訊號,並比較該偵測訊號與一門檻值以判斷該電源轉接器所提供的一供應電源是否滿足該電子裝置的電力需求,其中該門檻值依據該電子裝置的輸入電壓與負載電流的一關係曲線來決定,且該關係曲線依據多數個負載電流值分別對應的多數個功率的關係來決定。 An electronic device includes: a charging unit connected to a power adapter and generating a detection signal; and a control unit coupled to the charging unit to receive the detection signal and compare the detection signal with a threshold a value is used to determine whether a power supply provided by the power adapter meets a power requirement of the electronic device, wherein the threshold is determined according to a relationship between an input voltage of the electronic device and a load current, and the relationship is based on a majority The load current values are determined by the relationship of the majority of the powers. 如申請專利範圍第1項所述的電子裝置,其中該控制單元依據該電子裝置的系統負載以設定一預設電流,並分析該偵測訊號以獲得該電源轉接器的該供應電源的輸出電壓值,以及當該預設電流與該輸出電壓值的乘積低於該門檻值時,該控制單元判定該電源轉接器的該供應電源低於該電子裝置的電力需求。 The electronic device of claim 1, wherein the control unit sets a preset current according to a system load of the electronic device, and analyzes the detection signal to obtain an output of the power supply of the power adapter. The voltage value, and when the product of the preset current and the output voltage value is lower than the threshold, the control unit determines that the power supply of the power adapter is lower than the power demand of the electronic device. 如申請專利範圍第2項所述的電子裝置,其中該控制單元更包括在多數個時間區間中偵測該預設電流與該輸出電壓值的乘積是否低於該門檻值,並累計該預設電流與該輸出電壓值的乘積低於該門檻值的一次數,以及當該次數大於一預設次數時,該控制單元判定該電源轉接器的該供應電源低於該電子裝置的電力需求。 The electronic device of claim 2, wherein the control unit further comprises detecting, in a plurality of time intervals, whether a product of the preset current and the output voltage value is lower than the threshold, and accumulating the preset The product of the current and the output voltage value is lower than the threshold value, and when the number of times is greater than a predetermined number of times, the control unit determines that the power supply of the power adapter is lower than the power demand of the electronic device. 如申請專利範圍第2項所述的電子裝置,其中該控制單元依據該預設電流與該關係曲線以決定一預設電壓值,並計算該預 設電流與該預設電壓值的乘積以決定該門檻值。 The electronic device of claim 2, wherein the control unit determines a predetermined voltage value according to the preset current and the relationship curve, and calculates the preset The product of the current and the preset voltage value is set to determine the threshold value. 如申請專利範圍第1項所述的電子裝置,其中該電子裝置更包括一指示器,用以指示該電源轉接器的該供應電源低於該電子裝置的電力需求或滿足該電子裝置的電力需求。 The electronic device of claim 1, wherein the electronic device further comprises an indicator for indicating that the power supply of the power adapter is lower than the power demand of the electronic device or the power of the electronic device is satisfied. demand. 一種電源轉接器的供應電源的判斷方法,包括:連接一電源轉接器並產生一偵測訊號;以及比較該偵測訊號與一門檻值,以判斷該電源轉接器所提供的一供應電源是否滿足一電子裝置的電力需求,其中該門檻值依據該電子裝置的輸入電壓與負載電流的一關係曲線來決定,且該關係曲線依據多數個負載電流值分別對應的多數個功率的關係來決定。 A method for determining a power supply of a power adapter includes: connecting a power adapter and generating a detection signal; and comparing the detection signal with a threshold to determine a supply provided by the power adapter Whether the power supply meets the power demand of an electronic device, wherein the threshold value is determined according to a relationship between the input voltage of the electronic device and the load current, and the relationship curve is based on a relationship of a plurality of powers corresponding to a plurality of load current values respectively. Decide. 如申請專利範圍第6項所述的判斷方法,其中比較該偵測訊號與該門檻值,以判斷該電源轉接器所提供的該供應電源是否滿足該電子裝置的電力需求的步驟包括:依據該電子裝置的系統負載以設定一預設電流;分析該偵測訊號以獲得該電源轉接器的該供應電源的輸出電壓值;以及當該預設電流與該輸出電壓值的乘積低於該門檻值時,該控制單元判定該電源轉接器的該供應電源低於該電子裝置的電力需求。 The method of claim 6, wherein comparing the detection signal with the threshold to determine whether the power supply provided by the power adapter meets the power demand of the electronic device comprises: The system load of the electronic device is configured to set a preset current; analyzing the detection signal to obtain an output voltage value of the power supply of the power adapter; and when the product of the preset current and the output voltage value is lower than the When the threshold is negative, the control unit determines that the power supply of the power adapter is lower than the power demand of the electronic device. 如申請專利範圍第7項所述的判斷方法,其中比較該偵測訊號與該門檻值,以判斷該電源轉接器所提供的該供應電源是否 滿足該電子裝置的電力需求的步驟更包括:在多數個時間區間中偵測該預設電流與該輸出電壓值的乘積是否低於該門檻值;累計該預設電流與該輸出電壓值的乘積低於該門檻值的一次數;以及當該次數大於一預設次數時,判定該電源轉接器的該供應電源低於該電子裝置的電力需求。 The method for judging according to claim 7 , wherein comparing the detection signal with the threshold value to determine whether the power supply provided by the power adapter is The step of satisfying the power demand of the electronic device further includes: detecting, in a plurality of time intervals, whether a product of the preset current and the output voltage value is lower than the threshold; accumulating a product of the preset current and the output voltage value a number of times lower than the threshold value; and when the number of times is greater than a predetermined number of times, determining that the power supply of the power adapter is lower than a power demand of the electronic device. 如申請專利範圍第7項所述的判斷方法,其中比較該偵測訊號與該門檻值,以判斷該電源轉接器所提供的該供應電源是否滿足該電子裝置的電力需求的步驟包括:依據該預設電流與該關係曲線以決定一預設電壓值;以及計算該預設電流與該預設電壓值的乘積以決定該門檻值。 The method of claim 7, wherein the step of comparing the detection signal with the threshold to determine whether the power supply provided by the power adapter meets the power requirement of the electronic device comprises: The preset current and the relationship curve determine a preset voltage value; and calculate a product of the preset current and the preset voltage value to determine the threshold value. 如申請專利範圍第6項所述的判斷方法,其中該電子裝置更包括一指示器,且該判斷方法包括:透過該指示器指示該電源轉接器的該供應電源低於該電子裝置的電力需求或符合該電子裝置的電力需求。 The method of claim 6, wherein the electronic device further comprises an indicator, and the determining method comprises: indicating, by the indicator, that the power supply of the power adapter is lower than power of the electronic device The demand or meets the power requirements of the electronic device.
TW103140454A 2014-11-21 2014-11-21 Electronic apparatus and method for determining supply power of power adapter thereof TW201619746A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103140454A TW201619746A (en) 2014-11-21 2014-11-21 Electronic apparatus and method for determining supply power of power adapter thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103140454A TW201619746A (en) 2014-11-21 2014-11-21 Electronic apparatus and method for determining supply power of power adapter thereof

Publications (1)

Publication Number Publication Date
TW201619746A true TW201619746A (en) 2016-06-01

Family

ID=56754995

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103140454A TW201619746A (en) 2014-11-21 2014-11-21 Electronic apparatus and method for determining supply power of power adapter thereof

Country Status (1)

Country Link
TW (1) TW201619746A (en)

Similar Documents

Publication Publication Date Title
EP3043443B1 (en) Charge limit selection for variable power supply configuration
JP2023056524A (en) Fault detection for battery management systems
US7843171B2 (en) Method and apparatus for battery charging based on battery capacity and charging source constraints
TWI600245B (en) Power supplying circuit, power supplying system and power supplying method
US7917781B2 (en) Universal USB power supply
CN105794079B (en) Method and device for adjusting voltage threshold of battery
TWI481889B (en) Rechargeable battery temperature detection method, power management device and electronic system
EP3413426A1 (en) Hub
CN102299532B (en) Charging device
CN101800343A (en) Electronic device, secondary battery, and method of controlling charging and discharging of secondary battery
US20130257356A1 (en) Electronic device having charging current setting unit and charging method
CN103311986B (en) Charger, mobile terminal, charger detection system and detection method thereof
CN105322597B (en) A kind of charging circuit and mobile terminal
CN105098877A (en) Power management device and power management method
CN103326407A (en) Charging source detection switching device and method
US8286020B2 (en) Power supply and protection method thereof
TWI548178B (en) Charging device and charging method
US20160146894A1 (en) Method for measuring electric capacity of cell module
US20140042996A1 (en) Voltage Regulating Device
US9276490B2 (en) Voltage setting of adapter
KR101716942B1 (en) Charging a battery based on stored battery characteristics
TW201619746A (en) Electronic apparatus and method for determining supply power of power adapter thereof
TWI527339B (en) Charge device
CN206209003U (en) Testing device
CN109378868A (en) Electronic equipment power supply circuit and electronic equipment