1294702 « 九、發明說明: 【發明所屬之技術領域】 本發明係關於省電系統及方法,特別係一種電池省電 系統及方法。 【先前技術】 便攜式電子裝置如媒體播放器(MP3)、電子書等需要電 池供電,隨著電池電量的逐漸消耗直至自動關閉電子裝 ~ 置,而其在一定程度上無法延長電子裝置的使用時間,保 馨證其基本功能的正常實現。為了克服該不足,需要提供一 種電池省電系統及方法,其可實現當電子裝置的電池電量 不足時,降低背光燈的亮度,並使主機儘快進入睡眠模式, 從而降低電量消耗,達到省電且延長電子裝置使用時間的 目的。 【發明内容】 本發明提供一電池省電系統,該系統包括一主機部分 及一顯示裝置部分。該主機部分包括:一電池,用於給主 •機供電,一電量偵測器,用於偵測電池之電量,並當電池 電量小於一預定值時,發送一省電控制訊號;一記憶體, 用於存儲控制程式;一電源偵測器,用於偵測是否有一電 ^ 源插入,並當有一電源插入時,發送一供電恢復訊號;一 計時器,用於計算主機進入睡眠模式的時間;及一控制單 元,用於根據該省電控制訊號,藉由上述控制程式控制主 機進入省電模式,並根據該供電恢復訊號控制主機恢復初 始設定,其中,所述之省電模式包括降低背光燈亮度及根 1294702 據省電控制訊號減小主機進 計時器所計之時間等於該減目民模式之預定時間,並當 入睡眠模式。該顯示裳置部分4預疋時間時’控制主機進 根據控制單元所發送之控制 括月光驅動模組,用於 燈之亮度、及一顯示單元。3令調節供電電壓,改變背光 本發明還提供一電池省 驟:_測電池電量;(b)當方法曰’該方法包括如下步 發送-省電控制訊號;(c)根插^電1小於一預定值時,則 入省電模式,其巾,所述之=電㈣訊餘制主機進 及根據省電控制訊號減小主機低背光燈亮度 並當計時器所計之時間等於該減小定時間, 機進入睡眠模式;_測是否有—電源二才曰日守’控制主 源插入’則發送—供電恢復訊號;⑹=#果有一電 控制主機恢復初始設定,其中,所述據供電恢復訊號 恢復背光燈正常亮度及控制主機離開睡目^:始叹疋/包括 機進入睡眠模式之預定時間為原預定時間“ ’並恢復主 利用本發明實現當電子裝置的電池♦旦 背光燈的亮度,並使主機儘快進入睡目民:里不足時’降低 量消耗,延長電子裝置的使用時間。 式彳之而降低電 【實施方式】 一 請參閱第一圖,係為電池省電系絲 系統可用於媒體播放器、電子書,在本體木構圖。本 子書為例。該系統包括一主機部分及方式中’以電 _示裝詈立β八 甘 中,主機部分包括一電池1、一電量僧 。刀。八 則,U 2、—控制單元 8 1294702 3、一記憶體4、一計時器5及一電源偵測器6。記憶體4, 用於存儲控制程式,並存儲一電池電量預定值及一進入睡 眠模式之預定時間T1。計時器5用於計算主機進入睡眠模 式的時間。電池1用於給主機供電。電量偵測器2,用於 偵測電池1之電量,並當電池1之電量等於記憶體4所存 、 儲之電量預定值時,發送一省電控制訊號。控制單元3, 用於根據該省電控制訊號,藉由記憶體4中所存儲之控制 程式控制主機進入省電模式。其中^所述之省電模式包括 ® 降低背光燈亮度及/或減小主機進入睡眠模式之預定時間 T1,並當計時器5所計之時間等於該減小後之進入睡眠模 式預定時間T1時,控制主機進入睡眠模式。電源偵測器6 用於偵測是否有一電源插入,並當有一電源插入時,發送 一供電恢復訊號,控制單元3可根據該供電恢復訊號控制 主機恢復初始設定,其中,該恢復初始設定包括恢復背光 燈正常亮度及控制主機離開睡眠模式進入喚醒模式。——音 φ 頻放大器7用於控制揚聲器8所輸出音量之大小,其中, 當主機進入睡眠模式時,音頻放大器7減小揚聲器8所輸 , 出音量;當電源偵測器6偵測有一電源插入時,主機從睡 眠模式進入喚醒模式,音頻放大器7增大揚聲器8所輸出 之音量。 該顯示裝置部分包括一背光驅動模組9及一顯示單元 10。該背光驅動模組9用於根據控制單元3所發送之控制 指令調節供電電壓,改變背光燈之亮度,其中,所述之控 制指令係控制單元3根據所接收之相應控制訊號所生成。 1294702 請參閱第二圖,係為電池省電方法之作業流程圖。首 先,電量偵測器2偵測電池1之電量(步驟S200),並判斷 電池1電量是否大於一記憶體4中所存儲之預定值(步驟 5201) 。如果電池1之電量大於該預定值,則繼續偵測電池 1之電量;如果電池1之電量等於或小於該預定值,則電 量偵測器2發送一省電控制訊號至控制單元3(步驟 5202) 。控制單元3根據該省電控制訊號控制背光驅動模組 9降低背光燈之亮度(步驟S203),控制單元3還根據該省 電控制訊號控制主機儘快進入睡眠模式(步驟S204)。電源 偵測器6偵測電源插入狀態(步驟S205),並判斷是否有一 電源插入(步驟S206),如果未有一電源插入,則返回步驟 S205 ;如果有一電源插入,則恢復電源供電(步驟S207)。 背光驅動模組9恢復背光燈正常亮度(步驟S208),控制單 元3控制主機離開睡眠模式,進入喚醒模式(步驟S209)。 請參閱第三圖,係為電池省電方法之根據省電控制訊 號控制背光驅動模組降低背光燈亮度之作業流程圖。首 先,控制單元3根據省電控制訊號發送一控制指令至背光 驅動模組9(步驟S300),背光驅動模組9根據該控制指令 降低供電電壓(步驟S301)。接著,降低背光燈亮度(步驟 S302) 〇 請參閱第四圖,係為電池省電方法之根據省電控制訊 號控制主機儘快進入睡眠模式之作業流程圖。控制單元3 根據省電控制訊號減小進入睡眠模式之預定時間T1(步驟 S400),啟動計時器5開始計時(步驟S401)。判斷計時器5 1294702 所計時間是否小於減小後之預定時間ΤΙ(步驟S402).,如果 所計時間小於該減小後之預定時間Τ1,則計時器5繼續計 時(步驟S403);如果所計時間等於或大於該減小後之預定 時間Τ1,則控制單元3控制主機進入睡眠模式(步驟S404)。 本發明雖以較佳實施例揭露如上,然其並非用以限定 、 本發明。任何熟悉此項技藝者,在不脫離本發明之精神和 ^ 範圍内,當可做更動與潤飾,因此本發明之保護範圍當視 後附之申請專利範圍所界定者為準。 •【圖式簡單說明】 第一圖係為電池省電系統之硬體架構圖。 第二圖係為電池省電方法之作業流程圖。 第三圖係為電池省電方法之根據省電控制訊號控制背 光驅動模組降低背光燈亮度之作業流程圖。 第四圖係為電池省電方法之根據省電控制訊號控制主 機儘快進入睡眠模式之作業流程圖。 【主要元件符號說明】 電池 1 電量偵測器 2 控制單元 3 記憶體 4 計時器 5 電源偵測器 6 音頻放大器 7 揚聲器 8 11 1294702 背光驅動模組 顯示單元1294702 « IX. INSTRUCTIONS: TECHNICAL FIELD OF THE INVENTION The present invention relates to a power saving system and method, and more particularly to a battery power saving system and method. [Prior Art] Portable electronic devices such as media players (MP3), e-books, etc. require battery power, and as the battery power is gradually consumed until the electronic device is automatically turned off, it cannot extend the use time of the electronic device to some extent. , Bao Xin card the normal realization of its basic functions. In order to overcome the deficiencies, it is desirable to provide a battery power saving system and method, which can reduce the brightness of the backlight when the battery power of the electronic device is insufficient, and enable the host to enter the sleep mode as soon as possible, thereby reducing power consumption and achieving power saving. Extend the use time of electronic devices. SUMMARY OF THE INVENTION The present invention provides a battery power saving system including a host portion and a display device portion. The host part includes: a battery for powering the main machine, a power detector for detecting the battery power, and transmitting a power-saving control signal when the battery power is less than a predetermined value; For storing a control program; a power detector for detecting whether a power source is inserted, and transmitting a power recovery signal when a power source is inserted; and a timer for calculating a time when the host enters a sleep mode And a control unit for controlling the host to enter the power saving mode according to the power control control signal, and controlling the host to restore the initial setting according to the power recovery signal, wherein the power saving mode includes reducing the backlight The brightness and root of the light 1274702 according to the power-saving control signal reduces the time taken by the host-in timer to be equal to the predetermined time of the mode-reduction mode, and enters the sleep mode. The control panel 4 is controlled by the control unit. The control unit sends a control according to the control unit to include a moonlight driving module for the brightness of the lamp and a display unit. 3 to adjust the power supply voltage, change the backlight The present invention also provides a battery saver: _ test battery power; (b) when the method 曰 'this method includes the following steps to send - power-saving control signal; (c) root plug ^ power 1 is less than one When the predetermined value is entered, the power saving mode is entered, and the towel is said to be electrically (four), and the main body of the signal is reduced according to the power saving control signal to reduce the brightness of the low backlight of the host and the time counted by the timer is equal to the reduction. Time, the machine enters the sleep mode; _ test whether there is - the power supply is only ' 曰 ' 'Control main source insert' then send - power recovery signal; (6) = # fruit has an electric control host to restore the initial settings, wherein the power supply recovery The signal restores the normal brightness of the backlight and controls the host to leave the sleep. ^: The initial time of the sigh/including the machine entering the sleep mode is the original predetermined time "' and restores the brightness of the battery of the electronic device when the main device is used by the present invention. And let the host enter the sleeping population as soon as possible: when the shortage is insufficient, the consumption of the electronic device is reduced, and the use time of the electronic device is prolonged. The electric device is reduced. [Embodiment] Please refer to the first figure for the battery. The electric wire system can be used for a media player, an e-book, and a wood composition in a body. This book is an example. The system includes a host part and a mode in which the battery unit includes a battery. 1. One battery 僧. Knife. Eight, U 2, - Control unit 8 1294702 3, a memory 4, a timer 5 and a power detector 6. Memory 4, for storing control programs, and storing a battery power predetermined value and a predetermined time T1 when entering the sleep mode. The timer 5 is used to calculate the time when the host enters the sleep mode. The battery 1 is used to supply power to the host. The power detector 2 is used to detect the battery 1 power. And sending a power-saving control signal when the power of the battery 1 is equal to a predetermined value of the stored and stored power of the memory 4. The control unit 3 is configured to control the memory stored in the memory 4 according to the power-saving control signal The program control host enters a power saving mode, wherein the power saving mode includes: reducing the brightness of the backlight and/or reducing the predetermined time T1 when the host enters the sleep mode, and when the time counted by the timer 5 is equal to the reduction Advance When the sleep mode is scheduled to be time T1, the control host enters a sleep mode. The power detector 6 is configured to detect whether a power source is inserted, and when a power source is inserted, a power recovery signal is sent, and the control unit 3 can control according to the power supply recovery signal. The host restores the initial setting, wherein the initial setting of the recovery includes restoring the normal brightness of the backlight and controlling the host to leave the sleep mode to enter the awake mode. - The sound φ frequency amplifier 7 is used to control the volume of the output of the speaker 8, wherein, when the host enters In the sleep mode, the audio amplifier 7 reduces the volume of the speaker 8 output; when the power detector 6 detects that a power source is inserted, the host enters the awake mode from the sleep mode, and the audio amplifier 7 increases the volume output by the speaker 8. The display device portion includes a backlight driving module 9 and a display unit 10. The backlight driving module 9 is configured to adjust the power supply voltage according to a control command sent by the control unit 3 to change the brightness of the backlight. The control command is generated by the control unit 3 according to the received corresponding control signal. 1294702 Please refer to the second figure, which is the operation flow chart of the battery saving method. First, the power detector 2 detects the amount of power of the battery 1 (step S200), and determines whether the battery 1 power is greater than a predetermined value stored in a memory 4 (step 5201). If the battery 1 is greater than the predetermined value, the battery 1 continues to be detected; if the battery 1 is equal to or less than the predetermined value, the battery detector 2 sends a power-saving control signal to the control unit 3 (step 5202). ). The control unit 3 controls the backlight driving module 9 to reduce the brightness of the backlight according to the power saving control signal (step S203), and the control unit 3 also controls the host to enter the sleep mode as soon as possible according to the power saving control signal (step S204). The power detector 6 detects the power insertion state (step S205), and determines whether there is a power supply insertion (step S206). If there is no power supply inserted, the process returns to step S205; if there is a power supply insertion, the power supply is restored (step S207). . The backlight driving module 9 restores the normal brightness of the backlight (step S208), and the control unit 3 controls the host to leave the sleep mode and enter the awake mode (step S209). Please refer to the third figure, which is a flow chart of the battery saving method based on the power saving control signal to control the backlight driving module to reduce the brightness of the backlight. First, the control unit 3 sends a control command to the backlight driving module 9 according to the power saving control signal (step S300), and the backlight driving module 9 lowers the power supply voltage according to the control command (step S301). Then, the backlight brightness is lowered (step S302). 第四 Refer to the fourth figure, which is a flow chart of the battery saving method according to the power saving control signal control host to enter the sleep mode as soon as possible. The control unit 3 reduces the predetermined time T1 to enter the sleep mode in accordance with the power saving control signal (step S400), and starts the timer 5 to start counting (step S401). Determining whether the time counted by the timer 5 1294702 is less than the predetermined time 减小 after the decrease (step S402). If the calculated time is less than the predetermined time Τ1 after the decrease, the timer 5 continues to count (step S403); The counting time is equal to or greater than the predetermined time Τ1 after the reduction, and the control unit 3 controls the host to enter the sleep mode (step S404). The present invention has been described above in terms of preferred embodiments, and is not intended to limit the invention. The scope of the present invention is defined by the scope of the appended claims, unless otherwise claimed. • [Simple diagram of the diagram] The first diagram is a hardware architecture diagram of the battery power-saving system. The second figure is a flow chart of the operation of the battery saving method. The third figure is a flow chart of the battery saving method according to the power saving control signal control backlight driving module to reduce the brightness of the backlight. The fourth figure is a flow chart of the operation of the battery saving method according to the power saving control signal control host to enter the sleep mode as soon as possible. [Main component symbol description] Battery 1 Battery detector 2 Control unit 3 Memory 4 Timer 5 Power detector 6 Audio amplifier 7 Speaker 8 11 1294702 Backlight driver module Display unit