TWI417708B - Electronic apparatus with a sleep mode and method for waking up electronic apparatus - Google Patents

Electronic apparatus with a sleep mode and method for waking up electronic apparatus Download PDF

Info

Publication number
TWI417708B
TWI417708B TW099128992A TW99128992A TWI417708B TW I417708 B TWI417708 B TW I417708B TW 099128992 A TW099128992 A TW 099128992A TW 99128992 A TW99128992 A TW 99128992A TW I417708 B TWI417708 B TW I417708B
Authority
TW
Taiwan
Prior art keywords
electronic device
parameter
battery
interval
preset parameter
Prior art date
Application number
TW099128992A
Other languages
Chinese (zh)
Other versions
TW201209566A (en
Inventor
yan-xiang Huang
Sha-Sha Hu
yu-liang Yang
Hsien Chung Shih
Bo Ching Lin
Original Assignee
Hon Hai Prec Ind Co Ltd
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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW099128992A priority Critical patent/TWI417708B/en
Publication of TW201209566A publication Critical patent/TW201209566A/en
Application granted granted Critical
Publication of TWI417708B publication Critical patent/TWI417708B/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
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Description

具有睡眠功能的電子裝置及喚醒電子裝置的方法 Electronic device with sleep function and method for waking up electronic device

本發明涉及一種具有睡眠功能的電子裝置,尤其涉及一種在睡眠模式下能即時偵測電池狀態的電子裝置及喚醒該電子裝置的方法。 The present invention relates to an electronic device having a sleep function, and more particularly to an electronic device capable of instantly detecting a battery state in a sleep mode and a method of waking up the electronic device.

為了節約能源,電子裝置一般設置工作模式和睡眠模式兩種工作狀態。電子裝置處於工作模式時,當前供電電池的相關參數(如電量,溫度等)由中央處理器即時偵測。當中央處理器偵測發現電池當前的相關參數出現異常時,中央處理器控制關閉電子裝置或執行其他相應的保護措施。但是,當電子裝置處於睡眠模式時,即中央處理器處於睡眠或關閉狀態,中央處理器無法即時偵測電池狀態。因此當電池出現異常狀況時,中央處理器無法及時察覺以保存資料並立即關機或執行其他的保護措施。 In order to save energy, the electronic device generally sets two working states: a working mode and a sleep mode. When the electronic device is in the working mode, the relevant parameters (such as power, temperature, etc.) of the currently powered battery are instantly detected by the central processing unit. When the central processor detects that an abnormality occurs in the current relevant parameters of the battery, the central processor controls to turn off the electronic device or perform other corresponding protection measures. However, when the electronic device is in sleep mode, that is, the central processing unit is in a sleep or off state, the central processing unit cannot immediately detect the battery status. Therefore, when the battery is abnormal, the central processor cannot detect it in time to save the data and immediately shut down or perform other protection measures.

有鑒於此,有必要提供一種可在睡眠模式下即時偵測電池狀態的電子裝置。 In view of this, it is necessary to provide an electronic device that can instantly detect the state of the battery in the sleep mode.

本發明還提供一種喚醒具有睡眠功能的電子裝置的方法。 The present invention also provides a method of waking up an electronic device having a sleep function.

一種具有睡眠功能的電子裝置,用於及時發現其供電電池異常狀態並喚醒或重啟所述電子裝置的中央處理器。所述電子裝置包括一中央處理器和一監控單元。所述監控單元包括:偵測模組,用於偵測所述電子裝置供電電池的相關參數;比較判斷模組,用於將所述相關參數與預設參數區間進行比較並判斷所述相關參數是否屬於預設參數區間內;存儲模組,用於預存儲所述預設參數區間;訊號產生模組,用於當判斷相關參數不屬於預設參數區間內時產生一控制訊號以喚醒或重啟中央處理器。其中,中央處理器被喚醒或重啟而處於工作狀態後,執行電池異常狀態保護功能。 An electronic device with a sleep function for detecting a power battery abnormal state in time and waking up or restarting a central processor of the electronic device. The electronic device includes a central processing unit and a monitoring unit. The monitoring unit includes: a detecting module, configured to detect related parameters of the power supply battery of the electronic device; and a comparison determining module, configured to compare the related parameter with a preset parameter interval and determine the related parameter Whether it belongs to the preset parameter interval; the storage module is configured to pre-store the preset parameter interval; the signal generating module is configured to generate a control signal to wake up or restart when determining that the relevant parameter does not belong to the preset parameter interval CPU. The battery abnormal state protection function is executed after the central processor is awake or restarted and is in a working state.

一種喚醒具有睡眠功能的電子裝置的方法,所述電子裝置包括中央處理器和監控單元;其方法包括如下步驟:偵測電子裝置供電電池當前的相關參數;比較所述相關參數與預設參數區間並判斷所述相關參數是否屬於預設參數區間內;產生一控制訊號以喚醒或重啟所述中央處理器;及所述中央處理器執行電池異常狀態保護功能。 A method for waking up an electronic device having a sleep function, the electronic device comprising a central processing unit and a monitoring unit; the method comprising the steps of: detecting a current relevant parameter of the power supply battery of the electronic device; comparing the relevant parameter with a preset parameter interval And determining whether the relevant parameter belongs to a preset parameter interval; generating a control signal to wake up or restart the central processor; and the central processor performing a battery abnormal state protection function.

與現有技術相比,當電子裝置處於睡眠模式時,即其中央處理器處於睡眠或關閉狀態。通過監控單元即時偵測電池相關參數,及時當發現電池參數異常時及時喚醒或重啟中央處理器,以便立即執行關機或其他相應的保護措施。 Compared to the prior art, when the electronic device is in the sleep mode, its central processor is in a sleep or off state. Instantly detect battery-related parameters through the monitoring unit, and wake up or restart the central processor in time when the battery parameters are abnormal, so as to immediately perform shutdown or other corresponding protection measures.

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

21‧‧‧中央處理器 21‧‧‧Central Processing Unit

23‧‧‧監控單元 23‧‧‧Monitoring unit

231‧‧‧偵測模組 231‧‧‧Detection module

232‧‧‧比較判斷單元 232‧‧‧Comparative judgment unit

233‧‧‧存儲模組 233‧‧‧ Storage Module

234‧‧‧訊號產生單元 234‧‧‧Signal generating unit

S31-S36‧‧‧步驟 S31-S36‧‧‧Steps

圖1為本發明一實施方式的在睡眠模式下即時偵測電池狀態的電 子裝置框圖。 1 is an embodiment of the present invention for instantly detecting battery status in a sleep mode according to an embodiment of the present invention; Sub-device block diagram.

圖2為本發明一實施方式喚醒處於睡眠模式下的電子裝置方法流程圖。 2 is a flow chart of a method for waking up an electronic device in a sleep mode according to an embodiment of the present invention.

下面結合實施例和附圖,對本發明進行詳細說明。 The present invention will be described in detail below with reference to the embodiments and the accompanying drawings.

請參閱圖1,電子裝置10包括中央處理器21和用於監控電池狀態的監控單元23。當電子裝置10進入睡眠模式時,監控單元23偵測電子裝置10的供電電池(圖中未示)的相關參數。如果監控單元23偵測發現電池相關參數出現異常時,監控單元23產生一控制訊號以喚醒或重啟所述中央處理器21,及時採取如關機或切斷電池向電子裝置10供電等相應的保護措施。在本實施方式中,所述相關參數是指電池溫度、電池當前輸出電壓值或電流值等參數。 Referring to FIG. 1, the electronic device 10 includes a central processing unit 21 and a monitoring unit 23 for monitoring battery status. When the electronic device 10 enters the sleep mode, the monitoring unit 23 detects relevant parameters of the power supply battery (not shown) of the electronic device 10. If the monitoring unit 23 detects that an abnormality occurs in the battery related parameter, the monitoring unit 23 generates a control signal to wake up or restart the central processing unit 21, and timely takes corresponding protection measures such as shutting down or cutting off the battery to supply power to the electronic device 10. . In the present embodiment, the relevant parameter refers to a parameter such as a battery temperature, a current output voltage value of the battery, or a current value.

所述監控單元23包括偵測模組231、比較判斷模組231、存儲模組233及訊號產生模組234。 The monitoring unit 23 includes a detection module 231, a comparison determination module 231, a storage module 233, and a signal generation module 234.

偵測模組231用於偵測電子裝置10供電電池的相關參數。在本實施方式中,所述偵測模組231包括至少一種感測器用於相應地偵測電池相關參數,如溫度感測器、電壓感測器及電流感測器等。 The detecting module 231 is configured to detect related parameters of the power supply battery of the electronic device 10. In this embodiment, the detection module 231 includes at least one sensor for detecting battery related parameters, such as a temperature sensor, a voltage sensor, a current sensor, and the like.

比較判斷模組231用於將所述相關參數與預設參數區間進行比較並判斷所述相關參數是否屬於預設參數區間內。所述預設參數區間包括溫度幅值區間、電池電壓幅值區間或電流幅值區間。 The comparison determining module 231 is configured to compare the related parameter with a preset parameter interval and determine whether the related parameter belongs to a preset parameter interval. The preset parameter interval includes a temperature amplitude interval, a battery voltage amplitude interval, or a current amplitude interval.

存儲模組233用於存儲所述預設參數區間。在本實施方式中,如,存儲模組233存儲有允許的最大溫度值、最小溫度值及位於最 大溫度值與最小溫度值之間的一或多個溫度數值,該一或多個溫度數值將最大溫度值與最小溫度值之間的範圍劃分為多個溫度幅值區間。其中所述預設參數區間由電子裝置的製造商預先設置于所述存儲模組233中。 The storage module 233 is configured to store the preset parameter interval. In this embodiment, for example, the storage module 233 stores the maximum allowable temperature value, the minimum temperature value, and the most One or more temperature values between the large temperature value and the minimum temperature value, the one or more temperature values dividing the range between the maximum temperature value and the minimum temperature value into a plurality of temperature amplitude intervals. The preset parameter interval is preset in the storage module 233 by a manufacturer of the electronic device.

訊號產生模組234用於當判斷相關參數不屬於預設參數區間內時產生一控制訊號以喚醒或重啟中央處理器21。中央處理器21喚醒或重啟而處於工作狀態後,執行電池過溫、過壓等保護措施,例如發出報警提示或控制電子裝置10關機,或發出報警提示後控制電子裝置10關機。在本實施方式中,當中央處理器21被喚醒或重啟之後,中央處理器21還將電池電壓與電子裝置10的開機電壓進行比較。當中央處理器21判斷電池電壓低於開機電壓則立即關閉電子裝置10。 The signal generation module 234 is configured to generate a control signal to wake up or restart the central processing unit 21 when it is determined that the relevant parameter does not belong to the preset parameter interval. After the central processor 21 wakes up or restarts and is in the working state, performs protection measures such as battery over temperature and overvoltage, such as issuing an alarm prompt or controlling the electronic device 10 to shut down, or controlling the electronic device 10 to shut down after issuing an alarm prompt. In the present embodiment, after the central processing unit 21 is woken up or restarted, the central processing unit 21 also compares the battery voltage with the power-on voltage of the electronic device 10. When the central processing unit 21 determines that the battery voltage is lower than the startup voltage, the electronic device 10 is immediately turned off.

請參閱圖2,為本發明電子裝置10偵測電池參數及喚醒電子裝置10的方法。所述電子裝置包括一中央處理器21和一監控單元23。 Please refer to FIG. 2 , which illustrates the method for detecting the battery parameters and waking up the electronic device 10 by the electronic device 10 of the present invention. The electronic device includes a central processing unit 21 and a monitoring unit 23.

S31步驟,偵測電子裝置供電電池當前的相關參數。 In step S31, the current relevant parameters of the power supply battery of the electronic device are detected.

S32步驟,比較所述相關參數與預設參數區間並判斷所述相關參數是否屬於預設參數區間內?若是,則持續執行S21步驟;若否,則進入下一個步驟。 In step S32, comparing the relevant parameter with the preset parameter interval and determining whether the related parameter belongs to the preset parameter interval. If yes, the process of step S21 is continuously performed; if not, the process proceeds to the next step.

S33步驟,產生一控制訊號以喚醒或重啟所述中央處理器。 In step S33, a control signal is generated to wake up or restart the central processor.

S34步驟,所述中央處理器執行電池異常保護功能。在本實施方式中,中央處理器21執行電池過溫、過壓等保護措施,例如發出報警提示或控制電子裝置10關機,或發出報警提示後控制電子裝 置10關機。 In step S34, the central processor performs a battery abnormality protection function. In this embodiment, the central processing unit 21 performs protection measures such as battery over temperature and overvoltage, such as issuing an alarm prompt or controlling the electronic device 10 to shut down, or issuing an alarm prompt to control the electronic device. Set 10 to shut down.

S35步驟,判斷電池電壓是否小於開機電壓?若否,則不動作;若是,則進入下一個步驟。 Step S35, determining whether the battery voltage is less than the startup voltage? If no, it will not work; if yes, proceed to the next step.

S36步驟,控制關閉電子裝置。 In step S36, the control turns off the electronic device.

通過使用上述偵測電池參數的電子裝置或方法,當電子裝置10處於睡眠模式時,即其中央處理器21處於睡眠會關閉狀態。通過監控單元23即時偵測電池相關參數,當發現電池參數異常時及時喚醒或重啟中央處理器21,以便及時採取相應的保護措施。同時,當電子裝置10處於工作模式,中央處理器21也不需要去監控其供電電池的狀況,從而節約了中央處理器21的資源利用率。 By using the above-described electronic device or method for detecting battery parameters, when the electronic device 10 is in the sleep mode, that is, its central processing unit 21 is in a sleep-off state. The monitoring unit 23 detects the battery related parameters in real time, and wakes up or restarts the central processing unit 21 when the battery parameters are abnormal, so that corresponding protection measures can be taken in time. At the same time, when the electronic device 10 is in the working mode, the central processing unit 21 does not need to monitor the condition of its power supply battery, thereby saving the resource utilization of the central processing unit 21.

本技術領域的普通技術人員應當認識到,以上的實施方式僅是用來說明本發明,而並非用作為對本發明的限定,只要在本發明的實質精神範圍之內,對以上實施方式所作的適當改變和變化都落在本發明要求保護的範圍之內。 It should be understood by those skilled in the art that the above embodiments are only intended to illustrate the invention, and are not intended to limit the invention, as long as it is within the spirit of the invention. Changes and modifications are intended to fall within the scope of the invention.

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

21‧‧‧中央處理器 21‧‧‧Central Processing Unit

23‧‧‧監控單元 23‧‧‧Monitoring unit

231‧‧‧偵測模組 231‧‧‧Detection module

232‧‧‧比較判斷單元 232‧‧‧Comparative judgment unit

233‧‧‧存儲模組 233‧‧‧ Storage Module

234‧‧‧訊號產生單元 234‧‧‧Signal generating unit

Claims (9)

一種具有睡眠功能的電子裝置,用於及時發現供電電池異常狀態並喚醒或重啟所述電子裝置;所述電子裝置包括一中央處理器和一監控單元,其改良在於,所述監控單元包括:偵測模組,用於偵測所述電子裝置供電電池的相關參數;比較判斷模組,用於將所述相關參數與預設參數區間進行比較並判斷所述相關參數是否屬於預設參數區間內;存儲模組,用於預存儲所述預設參數區間;訊號產生模組,用於當判斷相關參數不屬於預設參數區間內時產生一控制訊號以喚醒或重啟中央處理器;其中,中央處理器被喚醒或重啟而處於工作狀態後,執行電池異常狀態保護功能,該電池異常狀態保護功能為發出報警提示及控制電子裝置關機中的至少一種。 An electronic device having a sleep function for detecting an abnormal state of a power supply battery and awakening or restarting the electronic device; the electronic device includes a central processing unit and a monitoring unit, wherein the monitoring unit comprises: a measuring module, configured to detect a related parameter of the power supply battery of the electronic device; a comparison determining module, configured to compare the related parameter with a preset parameter interval, and determine whether the related parameter belongs to a preset parameter interval a storage module, configured to pre-store the preset parameter interval; a signal generating module, configured to generate a control signal to wake up or restart the central processor when determining that the relevant parameter does not belong to the preset parameter interval; wherein, the central After the processor is woken up or restarted and is in the working state, the battery abnormal state protection function is performed, and the battery abnormal state protection function is at least one of issuing an alarm prompt and controlling the electronic device to shut down. 如申請專利範圍第1項所述之電子裝置,其中,該相關參數包括溫度參數、電池輸出電壓及電流參數中的至少一種。 The electronic device of claim 1, wherein the relevant parameter comprises at least one of a temperature parameter, a battery output voltage, and a current parameter. 如申請專利範圍第2項所述之電子裝置,其中,該偵測模組包括溫度感測器、電壓感測器及電流感測器中的至少一種。 The electronic device of claim 2, wherein the detection module comprises at least one of a temperature sensor, a voltage sensor, and a current sensor. 如申請專利範圍第1項所述之電子裝置,其中,該預設參數區間包括溫度幅值區間、電池電壓幅值區間及電流幅值區間中的至少一種。 The electronic device of claim 1, wherein the preset parameter interval comprises at least one of a temperature amplitude interval, a battery voltage amplitude interval, and a current amplitude interval. 一種喚醒具有睡眠功能的電子裝置的方法,所述電子裝置包括中央處理器和一監控單元,其改良在於,包括如下步驟: 偵測電子裝置供電電池當前的相關參數;比較所述相關參數與預設參數區間並判斷所述相關參數是否屬於預設參數區間內;當所述相關參數不屬於所述預設參數區間時,產生一控制訊號以喚醒或重啟所述中央處理器;及所述中央處理器執行電池異常狀態保護功能。 A method of waking up an electronic device having a sleep function, the electronic device comprising a central processing unit and a monitoring unit, the improvement comprising the steps of: Detecting current relevant parameters of the power supply battery of the electronic device; comparing the related parameter with the preset parameter interval and determining whether the related parameter belongs to the preset parameter interval; when the related parameter does not belong to the preset parameter interval, Generating a control signal to wake up or restart the central processor; and the central processor performs a battery abnormal state protection function. 如申請專利範圍第5項所述之方法,其中,當喚醒或重啟中央處理器後,所述方法還包括如下步驟:判斷電池電壓是否小於開機電壓;及關閉電子裝置。 The method of claim 5, wherein, after waking up or restarting the central processing unit, the method further comprises the steps of: determining whether the battery voltage is less than a startup voltage; and turning off the electronic device. 如申請專利範圍第5項所述之方法,其中,該相關參數包括溫度參數、電池輸出電壓及電流參數中的至少一種。 The method of claim 5, wherein the relevant parameter comprises at least one of a temperature parameter, a battery output voltage, and a current parameter. 如申請專利範圍第5項所述之方法,其中,該預設參數區間包括溫度幅值區間、電池電壓幅值區間及電流幅值區間中的至少一種。 The method of claim 5, wherein the preset parameter interval comprises at least one of a temperature amplitude interval, a battery voltage amplitude interval, and a current amplitude interval. 如申請專利範圍第5項所述之方法,其中,所述步驟“中央處理器執行電池異常狀態保護功能”包括:發出報警提示或控制電子裝置關機。 The method of claim 5, wherein the step "the central processor performs the battery abnormal state protection function" comprises: issuing an alarm prompt or controlling the electronic device to shut down.
TW099128992A 2010-08-27 2010-08-27 Electronic apparatus with a sleep mode and method for waking up electronic apparatus TWI417708B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW099128992A TWI417708B (en) 2010-08-27 2010-08-27 Electronic apparatus with a sleep mode and method for waking up electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW099128992A TWI417708B (en) 2010-08-27 2010-08-27 Electronic apparatus with a sleep mode and method for waking up electronic apparatus

Publications (2)

Publication Number Publication Date
TW201209566A TW201209566A (en) 2012-03-01
TWI417708B true TWI417708B (en) 2013-12-01

Family

ID=46763664

Family Applications (1)

Application Number Title Priority Date Filing Date
TW099128992A TWI417708B (en) 2010-08-27 2010-08-27 Electronic apparatus with a sleep mode and method for waking up electronic apparatus

Country Status (1)

Country Link
TW (1) TWI417708B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6084522A (en) * 1999-03-29 2000-07-04 Pittway Corp. Temperature sensing wireless smoke detector
TW200849766A (en) * 2007-04-24 2008-12-16 O2Micro Inc Battery cell monitoring circuit and electronic device thereof
TWI322275B (en) * 2006-03-06 2010-03-21 Sony Corp

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6084522A (en) * 1999-03-29 2000-07-04 Pittway Corp. Temperature sensing wireless smoke detector
TWI322275B (en) * 2006-03-06 2010-03-21 Sony Corp
TW200849766A (en) * 2007-04-24 2008-12-16 O2Micro Inc Battery cell monitoring circuit and electronic device thereof

Also Published As

Publication number Publication date
TW201209566A (en) 2012-03-01

Similar Documents

Publication Publication Date Title
CN101943942B (en) Electronic device with sleep function and method for wakening same
TWI475373B (en) Control device, control method, computer program product, and electronic device
US8874839B2 (en) Electronic system and method and apparatus for saving data thereof
US8645729B2 (en) External device power control during low power sleep mode without central processing unit intervention
CN111913114A (en) Battery thermal runaway detection method and device, storage medium and electronic equipment
CN205354006U (en) Self -detecting computer system
CN104239079A (en) Electronic device operating system automatic awakening method and system
WO2010069142A1 (en) Method for reducing standby power consumption of power source system and power source system
TW201312966A (en) Network wakeup system with protection function
CN105472165B (en) The control method and control device of mobile terminal
JP2016505936A (en) Variable touch screen scan rate based on user presence detection
CN203397351U (en) Computer part monitoring module
CN110174211A (en) A kind of gas cylinder air pressure detection method, device, electronic equipment and the medium of low-power consumption
US9612652B2 (en) Controlling power consumption by power management link
CN106711933B (en) A kind of equipment abnormal electrical power supply processing method, device and video camera
CN103629080A (en) Control method and device for oil heater and air conditioner
TW201336194A (en) Electronic device and power-fail protection apparatus and method used in the electronic device
TWI417708B (en) Electronic apparatus with a sleep mode and method for waking up electronic apparatus
US20130219209A1 (en) Electronic device with an overclocking mode and method
CN206236064U (en) A kind of computer glitch detection means
CN105547491A (en) Automatic energy-saving method of telescope type laser range finding thermal imaging system
WO2017076230A1 (en) Helmet-type virtual reality equipment and power saving method for same
TW201426292A (en) Server and protect methods for fan failure thereof
CN107980125B (en) Temperature monitoring method and device and user equipment
CN103902398A (en) Server and fan fault protecting method thereof

Legal Events

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