本發明是關於電源控制技術,特別是一種不斷電的電源控制方法以及具不斷電之電源的電子裝置。The present invention relates to power control techniques, and more particularly to an uninterruptible power supply control method and an electronic device having an uninterruptible power supply.
隨著科技之進步與發展,電子裝置已日漸普及,且多已朝向重量輕、體積小、便於攜帶等特性做設計,以使使用者不需再侷限於固定地點使用電子裝置。With the advancement and development of technology, electronic devices have become increasingly popular, and many have been designed to be lightweight, small in size, and easy to carry, so that users do not need to be limited to fixed locations to use electronic devices.
然而,可攜式電子裝置之便攜性反而使得其發生落摔之機率大幅提高。在可攜式電子裝置的使用狀態(常態)下,倘若不慎發生可攜式電子裝置之替換式電池自可攜式電子裝置中脫出的不幸事件時,例如,可攜式電子裝置落摔墜地而受到衝擊且衝擊力道過大致使替換式電池自可攜式電子裝置中脫出時,可攜式電子裝置將因突瞬間失去電力而關機,並導致可攜式電子裝置中未儲存或暫存的資訊丟失以及後續恐出現系統異常、損壞等問題,進而造成使用者極大困擾。However, the portability of portable electronic devices has led to a significant increase in the probability of falling. In the state of use of the portable electronic device (normal state), if an unfortunate event occurs in which the replacement battery of the portable electronic device comes out of the portable electronic device, for example, the portable electronic device falls When the ground is impacted and the impact force passes, the portable battery will be disconnected from the portable electronic device, and the portable electronic device will be shut down due to sudden loss of power, and the portable electronic device is not stored or temporarily stored. The loss of information and the subsequent system abnormalities, damages, etc., cause users to be greatly troubled.
在一實施例中,一種不斷電的電源控制方法,包含讀取電子裝置之移動感測器的偵測結果、判斷偵測結果是否符合移動條件,以以及當偵測結果符合移動條件時,開啟電子裝置之子電池模組的供電路徑。其中,電子裝置在常態時由主電池模組供電,且子電池模組是內建於電子裝置中。In an embodiment, an uninterruptible power supply control method includes: reading a detection result of a mobile sensor of the electronic device, determining whether the detection result meets a moving condition, and when the detection result meets a moving condition, Turn on the power supply path of the sub-battery module of the electronic device. Wherein, the electronic device is powered by the main battery module in a normal state, and the sub-battery module is built in the electronic device.
在一實施例中,一種具不斷電之電源的電子裝置,包含電力輸入端、子電池模組、開關模組、移動感測器以及控制單元。電子裝置於常態時是由主電池模組經由電力輸入端供電。開關模組耦接於電力輸入端與子電池模組之間。移動感測器用以感測電子裝置的移動並產生對應之偵測結果。控制單元用以判斷偵測結果是否符合移動條件,且控制單元於判斷偵測結果符合移動條件時,產生開啟訊號來導通開關模組,以開啟子電池模組的供電路徑。In one embodiment, an electronic device having an uninterruptible power supply includes a power input terminal, a sub-battery module, a switch module, a motion sensor, and a control unit. When the electronic device is in a normal state, it is powered by the main battery module via the power input terminal. The switch module is coupled between the power input end and the sub-battery module. The motion sensor is configured to sense the movement of the electronic device and generate a corresponding detection result. The control unit is configured to determine whether the detection result meets the moving condition, and when the control unit determines that the detection result meets the moving condition, the control unit generates an activation signal to turn on the switch module to open the power supply path of the sub-battery module.
綜上所述, 本發明實施例之不斷電的電源控制方法及具不斷電之電源的電子裝置,可於判斷移動感測器之偵測結果符合移動條件時開啟子電池模組的供電路徑,而使得電子裝置即便於不安全狀態發生(例如,扔擲、落摔等)所造成接收不到由主電池模組所供應之電力時,仍可經由子電池模組的供電路接收所需電力,來維持電子裝置正常運作,進而改善後續之資訊丟失以及異常、損壞等問題。In summary, the uninterruptible power supply control method and the electronic device with the uninterruptible power supply can open the power supply of the sub-battery module when the detection result of the mobile sensor meets the moving condition. The path, so that the electronic device can receive the power through the sub-battery module even if the electronic device does not receive the power supplied by the main battery module in an unsafe state (for example, throwing, falling, etc.) Electricity is needed to maintain the normal operation of the electronic device, thereby improving subsequent information loss and abnormality and damage.
以下在實施方式中詳細敘述本發明之詳細特徵及優點,其內容足以使任何熟習相關技藝者瞭解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。The detailed features and advantages of the present invention are described in detail in the embodiments of the present invention. The objects and advantages associated with the present invention can be readily understood by those skilled in the art.
圖1為本發明一實施例之具不斷電之電源的電子裝置的方塊示意圖。請參閱圖1,一種具不斷電之電源的電子裝置100包含電力輸入端110、子電池模組120、開關模組130、移動感測器140以及控制單元150。控制單元150耦接至開關模組130與移動感測器140,且開關模組130耦接於子電池模組120與電力輸入端110之間。1 is a block diagram of an electronic device with an uninterruptible power supply according to an embodiment of the invention. Referring to FIG. 1 , an electronic device 100 with an uninterruptible power supply includes a power input terminal 110 , a sub-battery module 120 , a switch module 130 , a motion sensor 140 , and a control unit 150 . The control unit 150 is coupled to the switch module 130 and the mobile sensor 140 , and the switch module 130 is coupled between the sub-battery module 120 and the power input terminal 110 .
在一些實施例中,電子裝置100可為筆記型電腦、平板電腦或行動電話等便於使用者攜帶之可攜式電子裝置,然而本發明並不以此為限。In some embodiments, the electronic device 100 can be a portable electronic device that is convenient for a user to carry, such as a notebook computer, a tablet computer, or a mobile phone. However, the present invention is not limited thereto.
電力輸入端110可用以接收一電力,以維持電子裝置100的運作。一般而言,電子裝置100在一般使用狀態(常態)下是由主電池模組200所提供之電力來維持運作。其中,主電池模組200可透過其供電電極(圖未示)與電力輸入端110之間的接觸而將所儲存之電力經由電力輸入端110提供給電子裝置100以維持電子裝置的運作。於此,電子裝置100設置有電池置放部(圖未示),並且主電池模組200是可分離地結合於電子裝置100的電池置放部(圖未示)中,以方便使用者更換主電池模組200。The power input 110 can be used to receive a power to maintain operation of the electronic device 100. In general, the electronic device 100 is operated by the power provided by the main battery module 200 in a normal use state (normal state). The main battery module 200 can supply the stored power to the electronic device 100 via the power input terminal 110 through the contact between the power supply electrode (not shown) and the power input terminal 110 to maintain the operation of the electronic device. The electronic device 100 is provided with a battery receiving portion (not shown), and the main battery module 200 is detachably coupled to the battery receiving portion (not shown) of the electronic device 100 for convenient replacement by the user. Main battery module 200.
在一些實施例中,主電池模組200可為鋰電池或可重複充電之鋰離子電池等,但本發明並非僅限於此。In some embodiments, the main battery module 200 may be a lithium battery or a rechargeable lithium ion battery or the like, but the invention is not limited thereto.
子電池模組120用以儲存備用電力。於此,子電池模組120可於開關模組130導通時,經由開關模組130電性連接電力輸入端110,以致於當主電池模組200無法提供電力給電子裝置100時,子電池模組120可經由電力輸入端110提供電力給電子裝置100以維持電子裝置的運作。其中,子電池模組120經由開關模組130至電力輸入端110之間的線路即為子電池模組120的供電路徑。於此,子電池模組120之供電路徑的可藉由開關模組130的導通來建立,且藉由斷開開關模組130而切斷。換言之,當子電池模組120之供電路徑建立時,子電池模組120可提供所儲存的電力給電子裝置100。當子電池模組120之供電路徑切斷時,子電池模組120所儲存的電力則停止輸出給電子裝置100。於此,子電池模組120可為獨立設置之電池,並內建於電子裝置100之中,例如,安裝位於電子裝置100內部的電路板上。The sub-battery module 120 is used to store backup power. The sub-battery module 120 can be electrically connected to the power input terminal 110 via the switch module 130 when the switch module 130 is turned on, so that when the main battery module 200 cannot supply power to the electronic device 100, the sub-battery module Group 120 can provide power to electronic device 100 via power input 110 to maintain operation of the electronic device. The line between the switch module 130 and the power input terminal 110 of the sub-battery module 120 is the power supply path of the sub-battery module 120. The power supply path of the sub-battery module 120 can be established by turning on the switch module 130 and being cut off by opening the switch module 130. In other words, when the power supply path of the sub-battery module 120 is established, the sub-battery module 120 can provide the stored power to the electronic device 100. When the power supply path of the sub-battery module 120 is cut off, the power stored in the sub-battery module 120 is stopped and output to the electronic device 100. The sub-battery module 120 can be an independently disposed battery and built in the electronic device 100 , for example, mounted on a circuit board inside the electronic device 100 .
一般而言,為避免電子裝置100之重量過重,內建於電子裝置100中之子電池模組120的體積不可過大。因此,子電池模組120的電容量小於主電池模組200的電容量。在一些實施例中,子電池模組120可為水銀電池或電容模組,但本發明並非僅限於此。Generally, in order to avoid the weight of the electronic device 100, the volume of the sub-battery module 120 built in the electronic device 100 cannot be excessive. Therefore, the capacitance of the sub-battery module 120 is smaller than the capacitance of the main battery module 200. In some embodiments, the sub-battery module 120 can be a mercury battery or a capacitor module, but the invention is not limited thereto.
移動感測器140用以感測電子裝置100的移動並產生對應的偵測結果D1。在一些實施例中,移動感測器140可為重力感測單元(G-sensor)、陀螺儀(gyroscope)或其組合,且偵測結果D1可為電子裝置100的重力資訊、姿態資訊或其組合。其中,重力資訊可涵蓋電子裝置100之重力加速度值(即,G值)、移動速度和位移等訊息,而姿態資訊則可涵蓋電子裝置100之方位角和/或角速度等訊息,但本發明並非以此為限。The motion sensor 140 is configured to sense the movement of the electronic device 100 and generate a corresponding detection result D1. In some embodiments, the motion sensor 140 may be a G-sensor, a gyroscope, or a combination thereof, and the detection result D1 may be gravity information, posture information of the electronic device 100 or combination. The gravity information may cover information such as the gravitational acceleration value (ie, G value), the moving speed, and the displacement of the electronic device 100, and the attitude information may cover information such as the azimuth and/or angular velocity of the electronic device 100, but the present invention is not This is limited to this.
控制單元150用以讀取移動感測器140所產生的偵測結果D1,並將偵測結果D1和預設之移動條件進行比對,以判斷偵測結果D1是否符合移動條件。在一些實施例中,移動條件可為偵測結果D1大於對應閥值(如,G值大於0.2及/或X軸、Y軸、Z軸中之任一軸的角速度大於5°/秒等),或偵測結果D1超出對應範圍內,但本發明並非僅限於此,移動條件可視使用者需求自行預先設定。The control unit 150 is configured to read the detection result D1 generated by the motion sensor 140, and compare the detection result D1 with the preset movement condition to determine whether the detection result D1 meets the movement condition. In some embodiments, the moving condition may be that the detection result D1 is greater than a corresponding threshold (eg, the G value is greater than 0.2 and/or the angular velocity of any one of the X axis, the Y axis, and the Z axis is greater than 5°/second, etc.), Or the detection result D1 is out of the corresponding range, but the present invention is not limited to this, and the moving condition can be preset by the user's needs.
當控制單元150判定偵測結果D1符合移動條件(如,偵測結果D1大於對應閥值)時,控制單元150判定此時電子裝置100是處於不安全狀態,如處於扔擲、落摔等急速、猛烈之移動時狀態,並且控制單元150產生一開啟訊號S1導通開關模組130,以開啟子電池模組120之供電路徑。因此,即便電子裝置100於不安全狀態(如扔擲、落摔等)發生所造成主電池模組200自電池置放部中脫出時,電子裝置100仍可藉由子電池模組120所提供之電力來維持運作而不會瞬間關機。反之,當控制單元150判定偵測結果D1不符合移動條件時,表示控制單元150判定此時電子裝置100是處於安全狀態,則控制單元150不產生開啟訊號S1。When the control unit 150 determines that the detection result D1 meets the moving condition (for example, the detection result D1 is greater than the corresponding threshold), the control unit 150 determines that the electronic device 100 is in an unsafe state at this time, such as being thrown, falling, and the like. The violent state of movement, and the control unit 150 generates an open signal S1 to turn on the switch module 130 to open the power supply path of the sub-battery module 120. Therefore, even if the main battery module 200 is removed from the battery placement portion caused by the unsafe state (such as throwing, falling, etc.), the electronic device 100 can still be provided by the sub-battery module 120. The power is maintained to operate without instantaneous shutdown. On the other hand, when the control unit 150 determines that the detection result D1 does not meet the movement condition, it indicates that the control unit 150 determines that the electronic device 100 is in a safe state at this time, the control unit 150 does not generate the activation signal S1.
由於移動感測器140可持續對電子裝置100進行感測,例如每隔1秒重新感測,並於每一次感測後產生對應的偵測結果D1。因此,控制單元150可依序根據移動感測器140所產生之每一偵測結果D1判斷是否符合移動條件。當控制單元150在產生開啟訊號S1導通開關模組130後,又根據移動感測器140所產生之下一個偵測結果D1判定不符合移動條件時,即表示控制單元150判定此時電子裝置100已從不安全狀態轉變至安全狀態,因此,此時控制單元150可產生一關閉訊號S2斷開開關模組130,藉以切斷子電池模組120至電力輸入端110的供電路徑。Since the mobile sensor 140 can continuously sense the electronic device 100, for example, re-sensing every 1 second, and generating a corresponding detection result D1 after each sensing. Therefore, the control unit 150 can sequentially determine whether the mobile condition is met according to each detection result D1 generated by the motion sensor 140. When the control unit 150 determines that the non-compliant movement condition is determined according to the next detection result D1 generated by the movement sensor 140 after the activation signal S1 is turned on, the control unit 150 determines that the electronic device 100 determines the electronic device 100 at this time. The control unit 150 can generate a shutdown signal S2 to open the switch module 130, thereby cutting off the power supply path of the sub-battery module 120 to the power input terminal 110.
在一實施例中,控制單元150可於判定不符合移動條件時立即輸出關閉訊號S2以斷開開關模組130來切斷子電池模組120之供電路徑。在另一實施例中,控制單元150則可延遲一預定時間,如30秒或一分鐘後,再產生關閉訊號S2斷開開關模組130來切斷子電池模組120之供電路徑,以使得在發生主電池模組200自電子裝置100脫出時,使用者只要可在此預定時間內將主電池模組200重新組裝至電子裝置100之電池置放部中時,電子裝置100便不會有瞬間關機之情況發生。In an embodiment, the control unit 150 may output the shutdown signal S2 to disconnect the switch module 130 to cut off the power supply path of the sub-battery module 120 when it is determined that the mobile condition is not met. In another embodiment, the control unit 150 may delay the predetermined time, for example, 30 seconds or one minute, and then generate the shutdown signal S2 to open the switch module 130 to cut off the power supply path of the sub-battery module 120, so that When the main battery module 200 is removed from the electronic device 100, the electronic device 100 does not need to reassemble the main battery module 200 into the battery placement portion of the electronic device 100 within the predetermined time. There is a momentary shutdown.
在一些實施例中,控制單元150可為嵌入式控制器(EC)、SoC(System on a Chip)晶片、中央處理器(CPU)或微控制器(MCU)等,但本發明並非僅限於此。In some embodiments, the control unit 150 can be an embedded controller (EC), a SoC (System on a Chip) chip, a central processing unit (CPU), or a microcontroller (MCU), etc., but the invention is not limited thereto. .
圖2為本發明另一實施例之具不斷電之電源的電子裝置的方塊示意圖。請參閱圖2,具不斷電之電源的電子裝置100更可包含供電偵測單元160,且供電偵測單元160耦接至電力輸入端110與控制單元150。2 is a block diagram of an electronic device with an uninterruptible power supply according to another embodiment of the present invention. Referring to FIG. 2 , the electronic device 100 with the uninterruptible power supply further includes a power detecting unit 160 , and the power detecting unit 160 is coupled to the power input terminal 110 and the control unit 150 .
供電偵測單元160可用以偵測電力輸入端110是否有收到主電池模組200所供給的電力,並且供電偵測單元160可在偵測到電力輸入端110有接收到主電池模組200所供給的電力時,立即產生關閉訊號S2斷開開關模組130,以切斷子電池模組120的供電路徑。反之,當供電偵測單元160未偵測到電力輸入端110有接收到主電池模組200所供給的電力時,則供電偵測單元160不產生關閉訊號S2。The power detecting unit 160 can be used to detect whether the power input terminal 110 receives the power supplied by the main battery module 200, and the power detecting unit 160 can detect that the power input terminal 110 receives the main battery module 200. When the supplied power is generated, the shutdown signal S2 is immediately turned off to open the switch module 130 to cut off the power supply path of the sub-battery module 120. On the other hand, when the power detecting unit 160 does not detect that the power input terminal 110 receives the power supplied by the main battery module 200, the power detecting unit 160 does not generate the closing signal S2.
在一實施例中,供電偵測單元160可在偵測到電力輸入端110有接收到主電池模組200所供給的電力時,延遲一預定時間,如30秒或一分鐘後,再產生關閉訊號S2斷開開關模組130,以切斷子電池模組120的供電路徑。此舉是為了避免電子裝置100在符合移動條件後且主電池模組200尚未自電子裝置100脫出前(如電子裝置100尚處於落摔狀態中且尚未發生碰撞之前),子電池模組120的供電路徑便已被切斷,進而致使後續電子裝置100將於主電池模組200脫出時(如電子裝置100因發生碰撞而使得主電池模組200脫出)而發生瞬間關機之情況。如此一來,只要電子裝置100之主電池模組200在此預定時間結束後有繼續供電(如電子裝置100在此預定時間內已結束不安全狀態且脫出之主電池模組200已安裝回電子裝置100,或電子裝置100在此預定時間內已結束不安全狀態且電池模組200並未脫出),電子裝置100都不會有瞬間關機之情況發生。In an embodiment, the power detecting unit 160 may delay the transmission of the power supplied by the main battery module 200 by a predetermined time, such as 30 seconds or one minute, and then generate a shutdown. The signal S2 disconnects the switch module 130 to cut off the power supply path of the sub-battery module 120. This is to prevent the electronic device 100 from being in compliance with the moving condition and before the main battery module 200 has not come out of the electronic device 100 (such as before the electronic device 100 is still in the falling state and has not collided), the sub-battery module 120 The power supply path has been cut off, thereby causing the subsequent electronic device 100 to instantaneously shut down when the main battery module 200 is released (for example, the electronic device 100 is caused to collide with the main battery module 200). In this way, as long as the main battery module 200 of the electronic device 100 continues to supply power after the predetermined time is over (for example, the electronic device 100 has ended the unsafe state within the predetermined time and the main battery module 200 that has been removed is installed back. The electronic device 100, or the electronic device 100 has ended the unsafe state within the predetermined time and the battery module 200 has not come out, and the electronic device 100 does not have an instantaneous shutdown.
在一實施例中,供電偵測單元160於產生關閉訊號S2後,可將關閉訊號S2輸出至控制單元150,以致使控制單元150可根據此關閉訊號S2斷開開關模組130。換言之,此時開關模組130之控制主要由控制單元150主管,而供電偵測單元160所產生之關閉訊號S2可用以觸發控制單元150對開關模組130進行相應之控制。然而,本發明並非以此為限。In an embodiment, after the power-off detection unit 160 generates the shutdown signal S2, the power-off detection unit 160 can output the shutdown signal S2 to the control unit 150, so that the control unit 150 can turn off the switch module 130 according to the shutdown signal S2. In other words, the control of the switch module 130 is mainly controlled by the control unit 150, and the shutdown signal S2 generated by the power detecting unit 160 can be used to trigger the control unit 150 to perform corresponding control on the switch module 130. However, the invention is not limited thereto.
在另一實施例中,供電偵測單元160所產生的關閉訊號S2則可直接輸出至開關模組130以切斷子電池模組120至電力輸入端110的供電路徑。換言之,此時開關模組130之控制是由控制單元150與供電偵測單元160共同管理,且開關模組130可對應所接收到之開啟訊號S1和關閉訊號S2進行相應動作。In another embodiment, the shutdown signal S2 generated by the power detecting unit 160 can be directly output to the switch module 130 to cut off the power supply path of the sub-battery module 120 to the power input terminal 110. In other words, the control of the switch module 130 is jointly managed by the control unit 150 and the power detecting unit 160, and the switch module 130 can perform corresponding actions corresponding to the received open signal S1 and the closed signal S2.
在一些實施例中,供電偵測模組160是在控制單元150產生開啟訊號S1導通開關模組130後才開始進行偵測,但本發明並非以此為限。在另一些實施例中,供電偵測模組160則是在控制單元150根據偵測結果D1判定電子裝置100符合移動條件,且控制單元150之後又根據另一個根據偵測結果D1判定電子裝置100已不符合移動條件時才開始進行偵測。In some embodiments, the power detecting module 160 starts detecting after the control unit 150 generates the turn-on signal S1 to turn on the switch module 130, but the invention is not limited thereto. In other embodiments, the power detecting module 160 determines that the electronic device 100 meets the moving condition according to the detection result D1, and the control unit 150 determines the electronic device 100 according to the detection result D1. Detection is not started when the mobile condition is not met.
圖3為本發明一實施例之不斷電的電源控制方法的流程圖。請參閱圖1與圖3,在一實施例中,控制單元150可讀取電子裝置100之移動感測器140的偵測結果D1(步驟S11)。之後,控制單元150可判斷偵測結果D1是否符合移動條件(步驟S12)。若控制單元150判定偵測結果D1符合移動條件時,控制單元150可開啟電子裝置100之子電池模組120的供電路徑(步驟S13a)。反之,若控制單元150判定偵測結果D1不符合移動條件時,控制單元150則可關閉電子裝置100之子電池模組120的供電路徑(步驟S13b)。3 is a flow chart of a power supply control method for an uninterrupted power according to an embodiment of the present invention. Referring to FIG. 1 and FIG. 3, in an embodiment, the control unit 150 can read the detection result D1 of the motion sensor 140 of the electronic device 100 (step S11). Thereafter, the control unit 150 may determine whether the detection result D1 meets the movement condition (step S12). If the control unit 150 determines that the detection result D1 meets the moving condition, the control unit 150 may turn on the power supply path of the sub-battery module 120 of the electronic device 100 (step S13a). On the other hand, if the control unit 150 determines that the detection result D1 does not meet the moving condition, the control unit 150 may turn off the power supply path of the sub-battery module 120 of the electronic device 100 (step S13b).
於此,電子裝置100在使用狀態(常態)下是由可組裝於其電池置放部的主電池模組200供電。子電池模組120是內建於電子裝置100中,且可經由開關模組130與主電池模組200並聯。於此,子電池模組120經由開關模組130至電力輸入端110之間的線路即為子電池模組120的供電路徑。Here, in the use state (normal state), the electronic device 100 is powered by the main battery module 200 that can be assembled to the battery placement portion thereof. The sub-battery module 120 is built in the electronic device 100 and can be connected in parallel with the main battery module 200 via the switch module 130. Here, the line between the switch module 130 and the power input terminal 110 of the sub-battery module 120 is the power supply path of the sub-battery module 120.
在步驟S11之一實施例中,移動感測器140可持續對電子裝置100進行感測或間隔一預設時間後再進行感測,並產生對應的偵測結果D1。控制單元150可持續依序讀取移動感測器140所產生的每一偵測結果D1,或每次間隔一處理時間後再讀取移動感測器140所產生的偵測結果D1。In an embodiment of step S11, the mobile sensor 140 can continue to sense the electronic device 100 or perform a sensing after a predetermined time interval, and generate a corresponding detection result D1. The control unit 150 can sequentially read each detection result D1 generated by the motion sensor 140, or read the detection result D1 generated by the motion sensor 140 after each processing time.
在步驟S12之一實施例中,控制單元150可將讀取到之偵測結果D1依序和預設的移動條件進行比對,並據此判斷偵測結果D1是否和移動條件相符。在一些實施例中,移動條件可為偵測結果D1大於對應閥值,例如,G值大於0.2及/或X軸、Y軸、Z軸中之任一軸的角速度大於5°/秒等。控制單元150可根據偵測結果D1和移動條件的比對結果來判定電子裝置100此時是否處於不安全狀態,即是否處於扔擲、落摔等急速、猛烈之移動時狀態。In an embodiment of step S12, the control unit 150 may compare the read detection result D1 with the preset movement condition sequentially, and determine whether the detection result D1 matches the movement condition. In some embodiments, the moving condition may be that the detection result D1 is greater than a corresponding threshold, for example, the G value is greater than 0.2 and/or the angular velocity of any one of the X axis, the Y axis, and the Z axis is greater than 5°/second. The control unit 150 can determine whether the electronic device 100 is in an unsafe state at this time according to the comparison result of the detection result D1 and the moving condition, that is, whether it is in a state of rapid and violent movement such as throwing, falling, and the like.
當控制單元150判定偵測結果D1和移動條件相符時,表示控制單元150判定此時電子裝置100是處於不安全狀態,為避免發生主電池模組200自電子裝置100脫出時所造成之電子裝置200瞬間關機的情況,可接續執行步驟S13a,以開啟子電池模組120之供電路徑來維持電子裝置100的運作。此時控制單元150產生開啟訊號S1導通開關模組130,以開啟子電池模組120之供電路徑。When the control unit 150 determines that the detection result D1 and the moving condition are consistent, it indicates that the control unit 150 determines that the electronic device 100 is in an unsafe state at this time, in order to avoid the occurrence of the electronic battery 200 from the electronic device 100. When the device 200 is turned off instantaneously, step S13a may be continuously performed to open the power supply path of the sub-battery module 120 to maintain the operation of the electronic device 100. At this time, the control unit 150 generates the turn-on signal S1 to turn on the switch module 130 to turn on the power supply path of the sub-battery module 120.
反之,當控制單元150判定偵測結果D1和移動條件並不相符時,表示此時控制單元150判定電子裝置100是處於安全狀態,而無需開啟子電池模組120之供電路徑,故可接續執行步驟S13b。此時控制單元150產生關閉訊號S2斷開開關模組130,以切斷子電池模組120至電力輸入端110的供電路徑。換言之,當控制單元150判定偵測結果D1和移動條件並不相符時,此時子電池模組120不輸出電力。On the other hand, when the control unit 150 determines that the detection result D1 and the movement condition do not match, it indicates that the control unit 150 determines that the electronic device 100 is in a safe state, and does not need to open the power supply path of the sub-battery module 120, so that the control unit can continue to execute. Step S13b. At this time, the control unit 150 generates the shutdown signal S2 to open the switch module 130 to cut off the power supply path of the sub-battery module 120 to the power input terminal 110. In other words, when the control unit 150 determines that the detection result D1 does not match the movement condition, the sub-battery module 120 does not output power at this time.
在步驟S13b之一實施例中,若開關模組130原先已呈斷開之狀態時,控制單元150則可無需再產生關閉訊號S2至開關模組130。反之,若開關模組130原先是呈導通狀態時(即,於前一輪之電源控制的過程中有執行了步驟S13a而開啟了子電池模組120的供電路徑),控制單元150便需產生關閉訊號S2斷開開關模組130,以切斷子電池模組120的供電路徑。In an embodiment of step S13b, if the switch module 130 is previously in the disconnected state, the control unit 150 may not need to generate the off signal S2 to the switch module 130. On the other hand, if the switch module 130 is in the on state (ie, the power supply path of the sub-battery module 120 is turned on during the power control of the previous round), the control unit 150 needs to generate a shutdown. The signal S2 disconnects the switch module 130 to cut off the power supply path of the sub-battery module 120.
在一實施例中,控制單元150可延遲一預定時間後再產生關閉訊號S2。而在另一實施例中,控制單元150可於判定偵測結果D1和移動條件並不相符時便產生關閉訊號S2。於步驟S13a或步驟S13b完成後,皆可回到步驟S11重新進行另一輪之電源控制。In an embodiment, the control unit 150 may generate the shutdown signal S2 after a predetermined time delay. In another embodiment, the control unit 150 may generate the shutdown signal S2 when it is determined that the detection result D1 and the movement condition do not match. After the completion of step S13a or step S13b, the process returns to step S11 to perform another round of power control.
圖4為本發明另一實施例之不斷電的電源控制方法的流程圖。請參閱圖2與圖4,在一實施例中,控制單元150可讀取電子裝置100之移動感測器140的偵測結果D1(步驟S21)。之後,控制單元150可判斷偵測結果D1是否符合移動條件(步驟S22)。若控制單元150判定偵測結果D1不符合移動條件時,則控制單元150可關閉電子裝置100之子電池模組120的供電路徑(步驟S23b)。反之,若控制單元150判定偵測結果D1符合移動條件時,控制單元150可開啟電子裝置100之子電池模組120的供電路徑(步驟S23a),並且供電偵測單元160可開始偵測主電池模組200是否供電(步驟S24)。當供電偵測單元160偵測到主電池模組200有供電時,供電偵測單元160可產生關閉訊號S2,並接續執行步驟S23b,以關閉子電池模組120的供電路徑。反之,當供電偵測單元160偵測到主電池模組200未供電時,則重複執行步驟S24直至供電偵測單元160偵測到主電池模組200有供電且產生關閉訊號S2後,供電偵測單元160才停止偵測。4 is a flow chart of a power supply control method for an uninterrupted power according to another embodiment of the present invention. Referring to FIG. 2 and FIG. 4, in an embodiment, the control unit 150 can read the detection result D1 of the motion sensor 140 of the electronic device 100 (step S21). Thereafter, the control unit 150 may determine whether the detection result D1 meets the movement condition (step S22). If the control unit 150 determines that the detection result D1 does not meet the moving condition, the control unit 150 may turn off the power supply path of the sub-battery module 120 of the electronic device 100 (step S23b). On the other hand, if the control unit 150 determines that the detection result D1 meets the moving condition, the control unit 150 can turn on the power supply path of the sub-battery module 120 of the electronic device 100 (step S23a), and the power detecting unit 160 can start detecting the main battery mode. Whether the group 200 is powered (step S24). When the power detecting unit 160 detects that the main battery module 200 is powered, the power detecting unit 160 can generate the turn-off signal S2, and then perform step S23b to turn off the power supply path of the sub-battery module 120. On the other hand, when the power detecting unit 160 detects that the main battery module 200 is not powered, step S24 is repeatedly executed until the power detecting unit 160 detects that the main battery module 200 is powered and generates the shutdown signal S2. The measuring unit 160 stops detecting.
於此,步驟S21、步驟S22、步驟S23a與步驟S23b大致上和步驟S11、步驟S12、步驟S13a與步驟S13b相同,故於此不再贅述。Here, the steps S21, S22, S23, and S23b are substantially the same as the steps S11, S12, S13, and S13b, and thus will not be described again.
綜上所述,本發明一實施例之不斷電的電源控制方法及具有不斷電之電源的電子裝置,可於判斷移動感測器之偵測結果符合移動條件時開啟子電池模組的供電路徑,而使得電子裝置即便於不安全狀態發生(例如,扔擲、落摔等)所造成接收不到由主電池模組所供應之電力時,仍可經由子電池模組的供電路接收所需電力,來維持電子裝置正常運作,進而改善後續之資訊丟失以及異常、損壞等問題。In summary, the uninterruptible power supply control method and the electronic device having the uninterruptible power supply according to an embodiment of the present invention can open the sub-battery module when determining that the detection result of the mobile sensor conforms to the moving condition. The power supply path enables the electronic device to receive through the power supply circuit of the sub-battery module even if the electronic device does not receive the power supplied by the main battery module in an unsafe state (for example, throwing, falling, etc.) The power required to maintain the normal operation of the electronic device, thereby improving subsequent information loss and abnormality and damage.
本發明之技術內容已以較佳實施例揭示如上述,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神所做些許之更動與潤飾,皆應涵蓋於本發明之範疇內,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。The technical contents of the present invention have been disclosed in the preferred embodiments as described above, and are not intended to limit the present invention. Any modifications and refinements made by those skilled in the art without departing from the spirit of the present invention should be The scope of the invention is therefore defined by the scope of the appended claims.
100‧‧‧電子裝置
110‧‧‧電力輸入端
120‧‧‧子電池模組
130‧‧‧開關模組
140‧‧‧移動感測器
150‧‧‧控制單元
160‧‧‧供電偵測單元
200‧‧‧主電池模組
D1‧‧‧偵測結果
S1‧‧‧開啟訊號
S2‧‧‧關閉訊號
步驟S11‧‧‧讀取電子裝置之移動感測器的偵測結果
步驟S12‧‧‧判斷偵測結果是否符合移動條件
步驟S13a‧‧‧開啟電子裝置之子電池模組的供電路徑
步驟S13b‧‧‧關閉電子裝置之子電池模組的供電路徑
步驟S21‧‧‧讀取電子裝置之移動感測器的偵測結果
步驟S22‧‧‧判斷偵測結果是否符合移動條件
步驟S23a‧‧‧開啟電子裝置之子電池模組的供電路徑
步驟S23b‧‧‧關閉電子裝置之子電池模組的供電路徑
步驟S24‧‧‧偵測主電池模組是否供電100‧‧‧Electronic devices
110‧‧‧Power input
120‧‧‧Sub Battery Module
130‧‧‧Switch Module
140‧‧‧Mobile Sensor
150‧‧‧Control unit
160‧‧‧Power detection unit
200‧‧‧Main battery module
D1‧‧‧Detection results
S1‧‧‧Open signal
S2‧‧‧Turn off the signal Step S11‧‧‧Read the detection result of the mobile sensor of the electronic device Step S12‧‧‧Review whether the detection result meets the moving condition Step S13a‧‧‧ Turn on the sub-battery module of the electronic device Power supply path step S13b‧‧‧ Turn off the power supply path of the sub-battery module of the electronic device Step S21‧‧‧ Read the detection result of the mobile sensor of the electronic device Step S22‧‧‧ Determine whether the detection result meets the moving condition Step S23a ‧‧‧Entry the power supply path of the sub-battery module of the electronic device Step S23b‧‧‧ Turn off the power supply path of the sub-battery module of the electronic device Step S24‧‧‧Detect whether the main battery module is powered
[圖1]為本發明一實施例之具不斷電的電源之電子裝置的方塊示意圖。 [圖2]為本發明另一實施例之具不斷電的電源之電子裝置的方塊示意圖。 [圖3]為本發明一實施例之不斷電的電源控制方法的流程圖。 [圖4]為本發明另一實施例之不斷電的電源控制方法的流程圖。1 is a block diagram of an electronic device with an uninterruptible power supply according to an embodiment of the present invention. 2 is a block diagram of an electronic device with an uninterruptible power supply according to another embodiment of the present invention. FIG. 3 is a flow chart of a power supply control method for an uninterrupted power according to an embodiment of the present invention. 4 is a flow chart of a power supply control method for an uninterrupted power according to another embodiment of the present invention.
步驟S11‧‧‧讀取電子裝置之移動感測器的偵測結果Step S11‧‧‧Read the detection result of the mobile sensor of the electronic device
步驟S12‧‧‧判斷偵測結果是否符合移動條件Step S12‧‧‧Review whether the detection result meets the moving condition
步驟S13a‧‧‧開啟電子裝置之子電池模組的供電路徑Step S13a‧‧‧ Turn on the power supply path of the sub-battery module of the electronic device
步驟S13b‧‧‧關閉電子裝置之子電池模組的供電路徑Step S13b‧‧‧ Turn off the power supply path of the sub-battery module of the electronic device
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW105122516ATWI614970B (en) | 2016-07-15 | 2016-07-15 | Uninterruptible Power Control Method and Electronic Device With Uninterruptible Power Supply |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW105122516ATWI614970B (en) | 2016-07-15 | 2016-07-15 | Uninterruptible Power Control Method and Electronic Device With Uninterruptible Power Supply |
| Publication Number | Publication Date |
|---|---|
| TW201803247Atrue TW201803247A (en) | 2018-01-16 |
| TWI614970B TWI614970B (en) | 2018-02-11 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW105122516ATWI614970B (en) | 2016-07-15 | 2016-07-15 | Uninterruptible Power Control Method and Electronic Device With Uninterruptible Power Supply |
| Country | Link |
|---|---|
| TW (1) | TWI614970B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI813057B (en)* | 2021-05-20 | 2023-08-21 | 碩天科技股份有限公司 | Uninterruptible power system and operation method thereof |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI760046B (en) | 2021-01-05 | 2022-04-01 | 和碩聯合科技股份有限公司 | Hot plugging type power module |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWM418840U (en)* | 2011-08-02 | 2011-12-21 | Create Electronic Optical Co Ltd | Traffic recorder for bicycle or tricycle |
| CN204242371U (en)* | 2014-07-24 | 2015-04-01 | 沈理 | Wearable electronic and the on-site supervision end being applied to supervisory system |
| TWM500052U (en)* | 2014-10-16 | 2015-05-01 | Holy Stone Entpr Co Ltd | Vehicle parking power-off device |
| TWM522458U (en)* | 2015-12-29 | 2016-05-21 | Jarvish Inc | Automatic power management switching system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI813057B (en)* | 2021-05-20 | 2023-08-21 | 碩天科技股份有限公司 | Uninterruptible power system and operation method thereof |
| Publication number | Publication date |
|---|---|
| TWI614970B (en) | 2018-02-11 |
| Publication | Publication Date | Title |
|---|---|---|
| US20230275441A1 (en) | Battery protection circuit, battery pack and electronic device | |
| US9846472B2 (en) | Firmware update method and power system thereof | |
| EP3100133B1 (en) | Buttonless display activation | |
| US8212422B2 (en) | Hand-held electronic device and method for preventing fall of the same | |
| CN112039153B (en) | A system-on-chip, battery assembly and electronic device | |
| EP2808755B1 (en) | Method and apparatus for handling a charging state in a mobile electronic device | |
| CN104935024B (en) | Rechargeable battery assembly and terminal equipment | |
| JP2009139361A (en) | Apparatus and method for correcting residual capacity measurement of battery pack | |
| WO2015058510A1 (en) | Battery, battery protection method, device and system | |
| CN102055839A (en) | Handheld electronic device and its drop protection method | |
| JPH09215213A (en) | Over-discharge prevention device | |
| US8836275B2 (en) | Charging and discharging management apparatus and mobile terminal | |
| WO2019104956A1 (en) | Shake-to-start starting type battery, application device, and server | |
| TWI614970B (en) | Uninterruptible Power Control Method and Electronic Device With Uninterruptible Power Supply | |
| WO2011079750A1 (en) | Battery management device and portable computer | |
| US10153659B2 (en) | Uninterruptible power control method and electronic device with uninterruptible power supply based on detected motion of the electronic device | |
| CN108810284A (en) | A kind of mode switching method and electronic equipment of camera | |
| CN107645202A (en) | The electronic installation for the power supply that the power control method and tool not powered off do not power off | |
| CN105094266B (en) | Battery protection system and battery protection method | |
| EP3280028B1 (en) | Uninterruptible power control method and electronic device with uninterruptible power supply | |
| CN106469835B (en) | Electricity storage device | |
| US10680450B2 (en) | Devices and methods to discharge battery | |
| CN110888748A (en) | Method for preventing data loss after free falling and handheld device thereof | |
| CN109445566B (en) | OTG (on-the-go) power-saving processing method and system, storage medium and mobile terminal | |
| CA2609097C (en) | System and method for power delivery to computing terminals |