TWI492043B - Anti-mistrigger method and dc power supply device using the same - Google Patents

Anti-mistrigger method and dc power supply device using the same Download PDF

Info

Publication number
TWI492043B
TWI492043B TW102122803A TW102122803A TWI492043B TW I492043 B TWI492043 B TW I492043B TW 102122803 A TW102122803 A TW 102122803A TW 102122803 A TW102122803 A TW 102122803A TW I492043 B TWI492043 B TW I492043B
Authority
TW
Taiwan
Prior art keywords
portable device
flag
power
coupled
power supply
Prior art date
Application number
TW102122803A
Other languages
Chinese (zh)
Other versions
TW201500909A (en
Inventor
Tsung Ping Weng
Original Assignee
Inventec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Corp filed Critical Inventec Corp
Priority to TW102122803A priority Critical patent/TWI492043B/en
Publication of TW201500909A publication Critical patent/TW201500909A/en
Application granted granted Critical
Publication of TWI492043B publication Critical patent/TWI492043B/en

Links

Landscapes

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

Description

防誤觸發方法及應用此方法之直流電源供應裝置Anti-false triggering method and DC power supply device applying the same

本發明係關於一種防誤觸發方法以及應用此方法之直流電源供應裝置,特別關於一種具有運輸節電機制之防誤觸發方法及直流電源供應裝置。The invention relates to an anti-false triggering method and a DC power supply device using the same, in particular to an anti-false triggering method with a power saving mechanism and a DC power supply device.

可攜式裝置,例如手機(cell phone)、平板電腦(tablet)、個人數位輔助裝置(personal digital assister,PDA)或筆記型電腦(notebook computer,NB),已經成為現代人的日常用品之一。可攜式裝置係使用直流電源供應裝置作為一電能來源。Portable devices, such as cell phones, tablets, personal digital assisters (PDAs) or notebook computers (NB), have become one of the everyday items of modern people. The portable device uses a DC power supply as a source of electrical energy.

目前可攜式裝置出貨時大部分都是機體與直流電源供應裝置分開包裝出貨,但少數系統廠之特定機種要求直流電源供應裝置需裝在機體上出貨,所以有些直流電源供應裝置提供運輸節電機制(ship mode/shipping mode)的功能。由一控制元件對直流電源供應裝置的暫存器發送特定指令以進入運輸節電機制。進入運輸節電機制後直流電源供應裝置會斷電不再提供電源。如此可確保使用者拿到可攜式裝置時, 直流電源供應裝置還能保有一定容量的電能。解除運輸節電機制的方式是對直流電源供應裝置充電即可恢復正常。At present, most of the portable devices are shipped separately from the DC power supply unit. However, the specific models of a few system factories require DC power supply devices to be shipped on the body, so some DC power supply devices are available. The function of the ship mode/shipping mode. A control unit sends a specific command to the register of the DC power supply device to enter the transportation power saving mechanism. After entering the transportation power saving mechanism, the DC power supply device will be powered off and no longer supply power. This ensures that when the user gets the portable device, The DC power supply unit can also retain a certain amount of power. The way to release the power saving mechanism is to restore the normality by charging the DC power supply.

然而,如果直流電源供應裝置製造業者的作業員在直流電源供應裝置進入運輸節電機制後,在直流電源供應裝置裝箱前不小心將直流電源供應裝置接上電源,或者在直流電源供應裝置連接於可攜式裝置後,不小心將可攜式裝置接上電源,則會導致直流電源供應裝置離開運輸節電機制。因此使用者在拿到可攜式裝置時有可能直流電源供應裝置之電能已經耗盡。However, if the DC power supply device manufacturer enters the transportation power saving mechanism after the DC power supply device enters the power supply device, the DC power supply device is accidentally connected to the power supply before the DC power supply device is packaged, or the DC power supply device is connected to the DC power supply device. After the portable device is inadvertently connected to the power supply, the DC power supply device will leave the transportation power saving mechanism. Therefore, when the user obtains the portable device, it is possible that the power of the DC power supply device has been exhausted.

本發明係揭露一種防誤觸發方法及應用此方法之直流電源供應裝置。藉由本發明之防誤觸發方法,直流電源供應裝置製造業者可將電池設置於運輸節電機制。並避免在裝置電池時,解除電池之運輸節電機制。The invention discloses an anti-false triggering method and a DC power supply device using the same. With the anti-false triggering method of the present invention, the DC power supply device manufacturer can set the battery to the transportation power saving mechanism. And to avoid the battery saving mechanism when the battery is installed.

本發明之一種防誤觸發方法,可用於直流電源供應裝置,前述直流電源供應裝置係用於可攜式裝置。防誤觸發方法將直流電源供應裝置設定於運輸節電機制。以及,在非揮發性記憶模組中設置旗標,其中非揮發性記憶模組位於直流電源供應裝置中。以及,當直流電源供應裝置被設定於運輸節電機制時,直流電源供應裝置停止供應電能。旗標係用以指示直流電源供應裝置是否被設定於運輸節電機制。The anti-false triggering method of the present invention can be applied to a DC power supply device, and the DC power supply device is used for a portable device. The anti-false trigger method sets the DC power supply device to the transportation power saving mechanism. And, setting a flag in the non-volatile memory module, wherein the non-volatile memory module is located in the DC power supply device. And, when the DC power supply device is set to the transportation power saving mechanism, the DC power supply device stops supplying power. The flag is used to indicate whether the DC power supply device is set to the transportation power saving mechanism.

於本發明之一實施例中,前述防誤觸發方法更偵 測前述旗標是否被清除。若旗標未被清除時,偵測前述可攜式裝置是否耦接於交流電源。若可攜式裝置耦接於交流電源時,偵測可攜式裝置是否接收啟動信號。若可攜式裝置接收啟動信號時,則清除旗標,並解除運輸節電機制。In an embodiment of the present invention, the foregoing anti-false triggering method is more detective Check if the aforementioned flag is cleared. If the flag is not cleared, detecting whether the portable device is coupled to the AC power source. If the portable device is coupled to the AC power source, detecting whether the portable device receives the startup signal. If the portable device receives the start signal, the flag is cleared and the power saving mechanism is released.

於本發明之一實施例中,前述防誤觸發方法更包括下列步驟。偵測前述可攜式裝置是否接收啟動信號。若可攜式裝置接收啟動信號時,偵測前述旗標是否被清除。若旗標未被清除,偵測可攜式裝置市否耦接於交流電源。若可攜式裝置耦接於交流電源時,清除旗標,並解除運輸節電機制。In an embodiment of the present invention, the foregoing error prevention triggering method further includes the following steps. Detecting whether the aforementioned portable device receives an activation signal. If the portable device receives the start signal, it detects whether the aforementioned flag is cleared. If the flag is not cleared, the portable device is detected to be coupled to the AC power source. If the portable device is coupled to the AC power source, the flag is cleared and the power saving mechanism is released.

於本發明之一實施例中,於偵測前述旗標是否被清除之步驟中,若旗標被清除,則解除運輸節電機制。並進一步偵測前述可攜式裝置是否耦接於前述交流電源。若可攜式裝置耦接於交流電源時,以交流電源供應電能給前述直流電源供應裝置及可攜式裝置。否則以直流電源供應裝置供應電能給可攜式裝置。In an embodiment of the present invention, in the step of detecting whether the flag is cleared, if the flag is cleared, the transportation power saving mechanism is cancelled. And further detecting whether the portable device is coupled to the foregoing AC power source. When the portable device is coupled to the AC power source, the AC power source supplies power to the DC power supply device and the portable device. Otherwise, the DC power supply unit supplies power to the portable device.

於本發明之一實施例中,前述防誤觸發方法更包括下列步驟。偵測前述可攜式裝置是否耦接於交流電源。若可攜式裝置耦接於交流電源時,偵測前述旗標是否被清除。若旗標未被清除,偵測可攜式裝置是否接收啟動信號。若可攜式裝置接收啟動信號時,清除旗標,並解除運輸節電機制。In an embodiment of the present invention, the foregoing error prevention triggering method further includes the following steps. Detect whether the portable device is coupled to an AC power source. If the portable device is coupled to the AC power source, it is detected whether the flag is cleared. If the flag is not cleared, it is detected whether the portable device receives the start signal. If the portable device receives the start signal, the flag is cleared and the power saving mechanism is released.

本發明之一種具有防誤觸發功能之直流電源供應裝置,可插拔地連接於可攜式裝置。直流電源供應裝置包 括非揮發性記憶模組,電池模組,以及控制模組。控制模組係用以判斷非揮發性記憶模組中是否存有旗標,並據以選擇性地控制電池模組供應電能給可攜式裝置。旗標係用以指示直流電源供應裝置是否被設定於運輸節電機制。The DC power supply device with the anti-false trigger function of the present invention is pluggably connected to the portable device. DC power supply package Includes non-volatile memory modules, battery modules, and control modules. The control module is configured to determine whether a flag is stored in the non-volatile memory module, and accordingly selectively control the battery module to supply power to the portable device. The flag is used to indicate whether the DC power supply device is set to the transportation power saving mechanism.

本發明所揭露之防誤觸發方法及應用此方法之直流電源供應裝置,可以確保前述直流電源供應裝置不會因為可攜式裝置被誤接至交流電源而被解除運輸節電機制。從而保證當使用者取得可攜式裝置時,連接於可攜式裝置的直流電源供應裝置中尚有殘餘電能。The anti-false triggering method disclosed in the present invention and the DC power supply device using the same can ensure that the DC power supply device is not released from the transportation power saving mechanism because the portable device is misconnected to the AC power source. Therefore, when the user obtains the portable device, the residual power is still present in the DC power supply device connected to the portable device.

為使上述及本發明其他目的、手段及功效易於理解,以下以圖示搭配相關實施例作詳細解說。In order to make the above and other objects, means and effects of the present invention easier to understand, the following detailed description will be made in conjunction with the related embodiments.

10‧‧‧直流電源供應裝置10‧‧‧DC power supply unit

110‧‧‧非揮發性記憶模組110‧‧‧Non-volatile memory module

120‧‧‧電池模組120‧‧‧Battery module

130‧‧‧控制模組130‧‧‧Control Module

第1圖係根據本發明一實施例中的直流電源供應裝置功能方塊圖。1 is a functional block diagram of a DC power supply device in accordance with an embodiment of the present invention.

第2圖係根據本發明一實施例之防誤觸發方法流程圖。2 is a flow chart of a method for preventing false triggering according to an embodiment of the present invention.

第3圖係根據本發明另一實施例之防誤觸發方法流程圖。3 is a flow chart of a method for preventing false triggering according to another embodiment of the present invention.

第4圖係根據本發明再一實施例之防誤觸發方法流程圖。Figure 4 is a flow chart of a method for preventing false triggering according to still another embodiment of the present invention.

以下在實施例中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技術者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專 利範圍及圖式,任何熟習相關技術者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。The detailed features and advantages of the present invention are described in detail in the following examples, which are sufficient to enable the skilled person to understand the technical contents of the present invention and to implement them according to the contents disclosed herein. The objects and advantages associated with the present invention are readily understood by those skilled in the art. The following examples are intended to describe the present invention in further detail, but are not intended to limit the scope of the invention.

請參照第1圖,其係根據本發明一實施例中的直流電源供應裝置的功能方塊圖。直流電源供應裝置10包含非揮發性記憶模組110、電池模組120以及控制模組130。其中控制模組130電性耦接於揮發性記憶模組110以及電池模組120。Please refer to FIG. 1, which is a functional block diagram of a DC power supply device according to an embodiment of the present invention. The DC power supply device 10 includes a non-volatile memory module 110, a battery module 120, and a control module 130. The control module 130 is electrically coupled to the volatile memory module 110 and the battery module 120.

於一個例子中,直流電源供應裝置10可插拔地連接於可攜式裝置(未繪示於圖式),並用以提供電能給可攜式裝置,然而本實施例並不以此為限。舉例來說,於其他應用中,直流電源供應裝置10亦可以固接於前述可攜式裝置,於所屬技術領域具有通常知識者可視需要自由設計。In one example, the DC power supply device 10 is detachably connected to a portable device (not shown) and used to provide power to the portable device. However, the embodiment is not limited thereto. For example, in other applications, the DC power supply device 10 can also be affixed to the portable device described above, and can be freely designed by those skilled in the art as needed.

非揮發性記憶模組110係用以儲存資訊。非揮發性記憶模組110例如為快閃式記憶體(flash memory)、硬碟、電子抹除式可複寫唯讀記憶體(electrically-erasable programmable read-only memory,EEPROM)、或其他無須電能即能儲存資料且可以抹除儲存的資料的裝置,並不以此實施例為限。The non-volatile memory module 110 is used to store information. The non-volatile memory module 110 is, for example, a flash memory, a hard disk, an electrically-erasable programmable read-only memory (EEPROM), or other unnecessary power. A device capable of storing data and erasing stored data is not limited to this embodiment.

電池模組120係用以儲存以及供應電能。當電池模組120被電性耦接至前述可攜式裝置時,電池模組120供應電能給可攜式裝置。同時,若可攜式裝置被連接於交流電源(未 繪示於圖式)時,電池模組120可由交流電源補充電能。電池模組120可包含,舉例來說,鋰離子電池、鎳氫電池、鎳鎘電池、鎳鐵電池、或其他可用以重複地將電能以化學能的方式儲存的裝置,並不以此實施例為限。The battery module 120 is used to store and supply electrical energy. When the battery module 120 is electrically coupled to the portable device, the battery module 120 supplies power to the portable device. At the same time, if the portable device is connected to AC power (not When illustrated in the drawings, the battery module 120 can be supplemented with electrical energy by an alternating current source. The battery module 120 may include, for example, a lithium ion battery, a nickel hydrogen battery, a nickel cadmium battery, a nickel iron battery, or other device that can be used to repeatedly store electrical energy in a chemical energy manner, without this embodiment. Limited.

控制模組130電性耦接至非揮發性記憶模組110及電池模組120。控制模組130係用以判斷非揮發性記憶模組110中是否儲存旗標,並據以決定電池模組120是否供應電能給前述可攜式裝置。控制模組130亦用以清除非揮發性記憶模組110或將資訊寫入非揮發性記憶模組110。控制模組110可以是特殊應用積體電路(application-specific integrated circuit,ASIC)、進階精簡指令集機器(advanced RISC machine,ARM)、中央處理單元(central processing unit,CPU)、單晶片控制器或其他適於執行運算及控制指令的設備,本實施例在此不加以限制。The control module 130 is electrically coupled to the non-volatile memory module 110 and the battery module 120. The control module 130 is configured to determine whether the flag is stored in the non-volatile memory module 110, and accordingly determine whether the battery module 120 supplies power to the portable device. The control module 130 is also used to clear the non-volatile memory module 110 or write information to the non-volatile memory module 110. The control module 110 can be an application-specific integrated circuit (ASIC), an advanced RISC machine (ARM), a central processing unit (CPU), a single-chip controller. Or other devices suitable for performing the operation and control instructions, the embodiment is not limited herein.

當直流電源供應裝置10被組裝完成後,可藉由控制模組130對非揮發性記憶模組110寫入一個旗標。當直流電源供應裝置10被連接於前述可攜式裝置時,若前述旗標仍然存在於非揮發性記憶模組110中,則控制模組130不把電池模組120電性耦接至前述可攜式裝置,此即為運輸節電機制(battery ship mode)。反之,若非揮發性記憶模組110中並不存在前述旗標,亦即,前述旗標被清除,則控制模組130把電池模組120電性耦接至前述可攜式裝置。此時,電池模組120 供應電能給前述可攜式裝置。亦即,前述旗標可用以指示直流電源供應裝置10是否被設定於運輸節電機制。After the DC power supply device 10 is assembled, a flag can be written to the non-volatile memory module 110 by the control module 130. When the DC power supply device 10 is connected to the portable device, if the flag is still present in the non-volatile memory module 110, the control module 130 does not electrically couple the battery module 120 to the foregoing Portable device, this is the transportation ship mode. On the other hand, if the flag is not present in the non-volatile memory module 110, that is, the flag is cleared, the control module 130 electrically couples the battery module 120 to the portable device. At this time, the battery module 120 Supplying electrical energy to the aforementioned portable device. That is, the aforementioned flag can be used to indicate whether the DC power supply device 10 is set to the transportation power saving mechanism.

關於運行於控制模組130之防誤觸發方法,詳述如下列數種用以舉例說明之實施方式。Regarding the anti-false triggering method running on the control module 130, the following embodiments are exemplified for illustration.

為了使所屬技術領域具有通常知識者更能瞭解本案揭露的內容,以下搭配本發明的防誤觸發方法做更詳細的說明。請一併參照第1、2圖,第2圖其係根據本發明一實施例之防誤觸發方法流程圖。In order to make the subject matter of the present disclosure more familiar to those skilled in the art, the following is a more detailed description of the anti-false triggering method of the present invention. Please refer to FIG. 1 and FIG. 2 together. FIG. 2 is a flow chart of the method for preventing false triggering according to an embodiment of the present invention.

於此流程中,控制模組130執行下列步驟:於步驟S201中,將直流電源供應裝置10設定於運輸節電機制。直流電源供應裝置10可插拔地連接於一個可攜式裝置。此時,控制電池模組120不供應電能給可攜式裝置。於步驟S202中,於非揮發性記憶模組110中設置旗標。於步驟S203中,偵測旗標是否被清除。若旗標未被清除,則執行步驟S204。若旗標被清除,則執行步驟S207。於步驟S204中,偵測可攜式裝置是否耦接於交流電源。若可攜式裝置耦接於交流電源則執行步驟S205,反之則回到步驟S203。於步驟S205中,偵測可攜式裝置是否接收啟動信號。若可攜式裝置接收啟動信號,則執行步驟S206,反之則回到步驟S203。於步驟S206中,清除旗標,並解除運輸節電機制。當執行至此一步驟時,直流電源供應裝置10可供應電能給可攜式裝置。於步驟S207中,由於旗標已經被清除,因此解除運輸節電機制。於步驟 S208中,偵測可攜式裝置是否耦接於交流電源。若可攜式裝置耦接於交流電源,則執行步驟S209,以交流電源供應電能給電池模組120及可攜式裝置。若可攜式裝置未耦接於交流電源,則執行步驟S210,以電池模組120供應電能給可攜式裝置。In this process, the control module 130 performs the following steps: In step S201, the DC power supply device 10 is set to a transportation power saving mechanism. The DC power supply unit 10 is pluggably connected to a portable device. At this time, the control battery module 120 does not supply power to the portable device. In step S202, a flag is set in the non-volatile memory module 110. In step S203, it is detected whether the flag is cleared. If the flag is not cleared, step S204 is performed. If the flag is cleared, step S207 is performed. In step S204, it is detected whether the portable device is coupled to the AC power source. If the portable device is coupled to the AC power supply, step S205 is performed; otherwise, the process returns to step S203. In step S205, it is detected whether the portable device receives the startup signal. If the portable device receives the activation signal, step S206 is performed, otherwise, the process returns to step S203. In step S206, the flag is cleared, and the transportation power saving mechanism is released. When performing this step, the DC power supply device 10 can supply power to the portable device. In step S207, since the flag has been cleared, the transportation power saving mechanism is released. In the steps In S208, it is detected whether the portable device is coupled to the AC power source. If the portable device is coupled to the AC power source, step S209 is performed to supply power to the battery module 120 and the portable device. If the portable device is not coupled to the AC power source, step S210 is performed to supply the battery module 120 with power to the portable device.

於上述流程中,在步驟S204進行判斷時,若判斷結果為否,則也可以重新執行步驟S204的判斷,不必然回到步驟S203。同樣地,在步驟S205進行判斷時,若判斷結果為否,則也可以重新執行步驟S204或步驟S205的判斷,不必然回到步驟S203。In the above-described flow, when the determination is made in step S204, if the determination result is negative, the determination in step S204 may be re-executed, and it is not necessary to return to step S203. Similarly, when the determination is made in step S205, if the determination result is negative, the determination in step S204 or step S205 may be re-executed, and it is not necessary to return to step S203.

於本發明之一實施例中,請一併參照第1圖及第3圖,第3圖係根據本發明另一實施例之防誤觸發方法流程圖。In one embodiment of the present invention, please refer to FIG. 1 and FIG. 3 together. FIG. 3 is a flowchart of a method for preventing false triggering according to another embodiment of the present invention.

於此流程中,控制模組130執行下列步驟:於步驟S301中,將直流電源供應裝置10設定於運輸節電機制。直流電源供應裝置10可插拔地連接於一個可攜式裝置。於步驟S302中,於非揮發性記憶模組110中設置旗標。於步驟S303中,偵測可攜式裝置是否接收啟動信號。若可攜式裝置接收啟動信號存在時,則執行步驟S304。若可攜式裝置未接收啟動信號時,則重複執行步驟S303。於步驟S304中,偵測旗標是否被清除。若旗標未被清除則執行步驟S305,若旗標被清除則執行步驟S307。於步驟S305中,偵測可攜式裝置是否耦接於交流電源。若可攜式裝置耦接於交流電源,則執行步驟 S306,反之則回到步驟S303。於步驟S306中,清除旗標,並解除運輸節電機制。當執行至此一步驟時,直流電源供應裝置10可供應電能給可攜式裝置。於步驟S307中,由於旗標已經被清除,因此解除運輸節電機制。於步驟S308中,偵測可攜式裝置是否耦接於交流電源。若可攜式裝置耦接於交流電源,則執行步驟S309,以交流電源供應電能給電池模組120及可攜式裝置。若可攜式裝置未耦接於交流電源,則執行步驟S310,以電池模組120供應電能給可攜式裝置。In this process, the control module 130 performs the following steps: In step S301, the DC power supply device 10 is set to a transportation power saving mechanism. The DC power supply unit 10 is pluggably connected to a portable device. In step S302, a flag is set in the non-volatile memory module 110. In step S303, it is detected whether the portable device receives the activation signal. If the portable device receives the start signal, step S304 is performed. If the portable device does not receive the activation signal, step S303 is repeatedly performed. In step S304, it is detected whether the flag is cleared. If the flag is not cleared, step S305 is performed, and if the flag is cleared, step S307 is performed. In step S305, it is detected whether the portable device is coupled to the AC power source. If the portable device is coupled to the AC power source, perform the steps. S306, otherwise, return to step S303. In step S306, the flag is cleared, and the transportation power saving mechanism is released. When performing this step, the DC power supply device 10 can supply power to the portable device. In step S307, since the flag has been cleared, the transportation power saving mechanism is released. In step S308, it is detected whether the portable device is coupled to the AC power source. If the portable device is coupled to the AC power source, step S309 is performed to supply power to the battery module 120 and the portable device. If the portable device is not coupled to the AC power source, step S310 is performed to supply power to the portable device by the battery module 120.

於上述流程中,在步驟S305進行判斷時,若判斷的結果為否,則也可以回到步驟S304或者重複執行步驟S305,不必然回到步驟S303。In the above-described flow, when the determination is made in step S305, if the result of the determination is negative, the process may return to step S304 or repeat step S305, and does not necessarily return to step S303.

於本發明之再一實施例中,請一併參照第1圖及第4圖,第4圖係根據本發明再一實施例之防誤觸發方法流程圖。In still another embodiment of the present invention, please refer to FIG. 1 and FIG. 4 together. FIG. 4 is a flow chart of a method for preventing false triggering according to still another embodiment of the present invention.

於此流程中,控制模組130執行下列步驟:於步驟S401中,將直流電源供應裝置10設定於運輸節電機制。直流電源供應裝置10可插拔地連接於一個可攜式裝置。於步驟S402中,於非揮發性記憶模組110中設置旗標。於步驟S403中,偵測可攜式裝置是否耦接於交流電源。若可攜式裝置耦接於交流電源,則執行步驟S404。若可攜式裝置未耦接於交流電源時,則重複執行步驟S403。於步驟S404中,偵測旗標是否被清除。若旗標未被清除則執行步驟S405,若旗標被清 除則執行步驟S407。於步驟S405中,偵測可攜式裝置是否接收啟動信號。若可攜式裝置接收啟動信號,則執行步驟S406,反之則回到步驟S403。於步驟S406中,清除旗標,並解除運輸節電機制。當執行至此一步驟時,直流電源供應裝置10可供應電能給可攜式裝置。於步驟S407中,由於旗標已經被清除,因此解除運輸節電機制。In this process, the control module 130 performs the following steps: In step S401, the DC power supply device 10 is set to a transportation power saving mechanism. The DC power supply unit 10 is pluggably connected to a portable device. In step S402, a flag is set in the non-volatile memory module 110. In step S403, it is detected whether the portable device is coupled to the AC power source. If the portable device is coupled to the AC power source, step S404 is performed. If the portable device is not coupled to the AC power source, step S403 is repeatedly performed. In step S404, it is detected whether the flag is cleared. If the flag is not cleared, step S405 is performed, if the flag is cleared In addition, step S407 is performed. In step S405, it is detected whether the portable device receives the activation signal. If the portable device receives the activation signal, step S406 is performed, otherwise, the process returns to step S403. In step S406, the flag is cleared, and the transportation power saving mechanism is released. When performing this step, the DC power supply device 10 can supply power to the portable device. In step S407, since the flag has been cleared, the transportation power saving mechanism is released.

於上述流程中,在步驟S405進行判斷時,若判斷的結果為否,則也可以回到步驟S404或者重複執行步驟S405,不必然回到步驟S403。In the above-described flow, when the determination is made in step S405, if the result of the determination is negative, the process may return to step S404 or repeat step S405, without necessarily returning to step S403.

於本發明之一實施例中,藉由判斷在非揮發性記憶模組110中是否存在旗標,控制模組130可以明確地辨識直流電源供應裝置10是否被設定於運輸節電模式。若非揮發性記憶模組110中存在旗標,則僅有當直流電源供應裝置10被連接至可攜式裝置,而可攜式裝置被連接至一交流電源,且可攜式裝置接收到一啟動信號時,控制模組130才會清除非揮發性記憶模組110中之旗標。當旗標被清除或非揮發性記憶模組110中不存在旗標時,直流電源供應裝置10即被解除運輸節電機制,而電池模組120被控制模組130電性耦接至可攜式裝置以供應電能。In an embodiment of the present invention, by determining whether a flag is present in the non-volatile memory module 110, the control module 130 can explicitly identify whether the DC power supply device 10 is set in the transport power saving mode. If there is a flag in the non-volatile memory module 110, only when the DC power supply device 10 is connected to the portable device, and the portable device is connected to an AC power source, and the portable device receives a start-up When the signal is received, the control module 130 clears the flag in the non-volatile memory module 110. When the flag is cleared or the flag is not present in the non-volatile memory module 110, the DC power supply device 10 is released from the power saving mechanism, and the battery module 120 is electrically coupled to the portable module 130. The device supplies electrical energy.

綜上所述,本發明所揭露之防誤觸發方法及應用此方法之直流電源供應裝置,當直流電源供應裝置第一次被裝置於一可攜式裝置時,前述直流電源供應裝置並不會因為 前述可攜式裝置被連接至一交流電源而解除運輸節電機制。因此,因為一作業員操作失誤而造成當電池模組送至使用者時已經耗盡電能之機率可大幅降低。In summary, the anti-false triggering method disclosed in the present invention and the DC power supply device using the same method, when the DC power supply device is first installed in a portable device, the DC power supply device does not because The portable device is connected to an AC power source to release the transportation power saving mechanism. Therefore, the probability that the battery module has been exhausted when the battery module is delivered to the user can be greatly reduced because of an operator's operation error.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明,任何熟習相像技術者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。While the present invention has been described above in the foregoing embodiments, it is not intended to limit the invention, and the invention may be modified and modified without departing from the spirit and scope of the invention. The scope of patent protection shall be subject to the definition of the scope of the patent application attached to this specification.

Claims (8)

一種防誤觸發方法,用於一直流電源供應裝置,該直流電源供應裝置可插拔地連接於一可攜式裝置,該方法包括:將該直流電源供應裝置設定於一運輸節電機制;於一非揮發性記憶模組中設置一旗標;偵測該旗標是否被清除;偵測該可攜式裝置是否耦接於一交流電源;判斷該可攜式裝置是否接收一啟動信號;以及若該旗標未被清除,該可攜式裝置耦接於該交流電源,且該可攜式裝置接收該啟動信號時,清除該旗標並解除該運輸節電機制,其中該非揮發性記憶模組位於該直流電源供應裝置中,當該直流電源供應裝置被設定於該運輸節電機制時,該直流電源供應裝置停止供應電能,該旗標係用以指示該直流電源供應裝置是否被設定於該運輸節電機制。 An anti-false triggering method for a DC power supply device, the DC power supply device is pluggably connected to a portable device, the method comprising: setting the DC power supply device to a transportation power saving mechanism; Setting a flag in the non-volatile memory module; detecting whether the flag is cleared; detecting whether the portable device is coupled to an AC power source; determining whether the portable device receives a start signal; The portable device is coupled to the AC power source, and when the portable device receives the activation signal, the flag is cleared and the transportation power saving mechanism is released, wherein the non-volatile memory module is located In the DC power supply device, when the DC power supply device is set in the transportation power saving mechanism, the DC power supply device stops supplying power, and the flag is used to indicate whether the DC power supply device is set to the transportation power saving mechanism. 如請求項1所述之防誤觸發方法,其中係依序執行偵測該旗標是否被清除的步驟、偵測該可攜式裝置是否耦接於該交流電源的步驟與判斷該可攜式裝置是否接收該啟動信號的步驟,並且:於偵測該旗標是否被清除的步驟中,若該旗標被清除,則解除該運輸節電機制,若該旗標未被清除時,判斷該可攜式裝置是否耦接於一交流電源;若該可攜式裝置耦接於該交流電源時,判斷該可攜式裝置是否接收一啟動信號;以及若該可攜式裝置接收該啟動信號時,清除該旗標,並解除該運輸節電機制。 The anti-false triggering method of claim 1, wherein the step of detecting whether the flag is cleared is performed, the step of detecting whether the portable device is coupled to the AC power source, and the determining the portable type Whether the device receives the activation signal, and in the step of detecting whether the flag is cleared, if the flag is cleared, the transportation power saving mechanism is released, and if the flag is not cleared, determining the Whether the portable device is coupled to an AC power source; if the portable device is coupled to the AC power source, determining whether the portable device receives an activation signal; and if the portable device receives the activation signal, Clear the flag and release the transportation power saving mechanism. 如請求項2所述之防誤觸發方法,在該旗標被清除而解除該運輸節電機制的步驟中,更包括:偵測該可攜式裝置是否耦接於該交流電源;若該可攜式裝置耦接於該交流電源時,以該交流電源供應電能給該直流電源供應裝置及該可攜式裝置;以及若該可攜式裝置未耦接於該交流電源時,以該直流電源供應裝置供應電能給該可攜式裝置。 The method of claim 2, wherein the step of removing the flag to remove the transport power saving mechanism further comprises: detecting whether the portable device is coupled to the AC power source; When the device is coupled to the AC power source, the AC power source supplies power to the DC power supply device and the portable device; and if the portable device is not coupled to the AC power source, the DC power supply is provided The device supplies electrical energy to the portable device. 如請求項1所述之防誤觸發方法,其中係依序執行判斷該可攜式裝置是否接收該啟動信號的步驟、偵測該旗標是否被清除的步驟與偵測該可攜式裝置是否耦接於該交流電源的步驟,並且:於偵測該可攜式裝置是否接收該啟動信號的步驟中,若該可攜式裝置接收該啟動信號時,偵測該旗標是否被清除;若該旗標被清除,則解除該運輸節電機制;若該旗標未被清除,偵測該可攜式裝置是否耦接於一交流電源;以及若該可攜式裝置耦接於該交流電源存在時,清除該旗標,並解除該運輸節電機制。 The anti-false triggering method of claim 1, wherein the step of determining whether the portable device receives the activation signal, the step of detecting whether the flag is cleared, and detecting whether the portable device is detected are performed in sequence The step of being coupled to the AC power source, and detecting whether the portable device receives the activation signal, and detecting whether the flag is cleared when the portable device receives the activation signal; If the flag is cleared, the transportation power saving mechanism is released; if the flag is not cleared, detecting whether the portable device is coupled to an AC power source; and if the portable device is coupled to the AC power source When the flag is cleared, the transportation power saving mechanism is released. 如請求項4所述之防誤觸發方法,在該旗標被清除而解除該運輸節電機制的步驟中,更包括:偵測該可攜式裝置是否耦接於該交流電源;若該可攜式裝置耦接於該交流電源時,以該交流電源供應電能給該直流電源供應裝置及該可攜式裝置;以及若該可攜式裝置未耦接於該交流電源時,以該電直流電源供應裝置供應電能給該可攜式裝置。 The method of claim 4, wherein the step of removing the flag to remove the transport power saving mechanism further comprises: detecting whether the portable device is coupled to the AC power source; When the device is coupled to the AC power source, the AC power source supplies power to the DC power supply device and the portable device; and if the portable device is not coupled to the AC power source, the DC power source is The supply device supplies electrical energy to the portable device. 如請求項1所述之防誤觸發方法,其中係依序執行偵測該可攜式裝置是否耦接於該交流電源的步驟、偵測該旗標是否被清除的步驟與判斷該可攜式裝置是否接收該啟動信號的步驟,並且:於偵測該可攜式裝置是否耦接於該交流電源的步驟中,若該可攜式裝置耦接於該交流電源時,偵測該旗標是否被清除;若該旗標被清除,則解除該運輸節電機制;若該旗標未被清除,偵測該可攜式裝置是否接收一啟動信號;以及若該可攜式裝置接收該啟動信號時,清除該旗標,並解除該運輸節電機制。 The anti-false triggering method of claim 1, wherein the step of detecting whether the portable device is coupled to the AC power source, detecting whether the flag is cleared, and determining the portable type are performed. Whether the device receives the activation signal, and detects whether the portable device is coupled to the AC power source, and if the portable device is coupled to the AC power source, detecting whether the flag is Is cleared; if the flag is cleared, the transportation power saving mechanism is released; if the flag is not cleared, detecting whether the portable device receives an activation signal; and if the portable device receives the activation signal , clear the flag and lift the transportation power saving mechanism. 一種具防誤觸發功能之直流電源供應裝置,可插拔地連接於一可攜式裝置,該直流電源供應裝置包括:一非揮發性記憶模組;一電池模組;以及一控制模組,耦接於該非揮發性記憶模組以及該電池模組,用以判斷該非揮發性記憶模組中是否存有一旗標,並據以選擇性地控制該電池模組供應電能給該可攜式裝置,該旗標係用以指示該直流電源供應裝置是否被設定於一運輸節電機制;其中當該可攜式裝置連接至一交流電源,且該可攜式裝置接收到一啟動信號時,該控制模組清除該非揮發性記憶模組中已儲存之該旗標。 A DC power supply device with an anti-false trigger function is pluggably connected to a portable device, the DC power supply device includes: a non-volatile memory module; a battery module; and a control module. The non-volatile memory module and the battery module are coupled to determine whether a flag is stored in the non-volatile memory module, and the battery module is selectively controlled to supply power to the portable device. The flag is used to indicate whether the DC power supply device is set in a transportation power saving mechanism; wherein when the portable device is connected to an AC power source and the portable device receives a start signal, the flag is controlled. The module clears the flag that has been stored in the non-volatile memory module. 如請求項7所述之直流電源供應裝置,其中當該控制模組判斷該非揮發性記憶模組中儲存有該旗標時,該控制模組控制該電池模組停止供應電能給該可攜式裝置,當該非揮 發性記憶模組中不儲存有該旗標時,該控制模組控制該電池模組供應電能給該可攜式裝置。The DC power supply device of claim 7, wherein when the control module determines that the flag is stored in the non-volatile memory module, the control module controls the battery module to stop supplying power to the portable device. Device, when the non-swing When the flag is not stored in the memory module, the control module controls the battery module to supply power to the portable device.
TW102122803A 2013-06-26 2013-06-26 Anti-mistrigger method and dc power supply device using the same TWI492043B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102122803A TWI492043B (en) 2013-06-26 2013-06-26 Anti-mistrigger method and dc power supply device using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102122803A TWI492043B (en) 2013-06-26 2013-06-26 Anti-mistrigger method and dc power supply device using the same

Publications (2)

Publication Number Publication Date
TW201500909A TW201500909A (en) 2015-01-01
TWI492043B true TWI492043B (en) 2015-07-11

Family

ID=52717929

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102122803A TWI492043B (en) 2013-06-26 2013-06-26 Anti-mistrigger method and dc power supply device using the same

Country Status (1)

Country Link
TW (1) TWI492043B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI749728B (en) * 2020-08-24 2021-12-11 和碩聯合科技股份有限公司 Portable electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW424178B (en) * 1996-03-07 2001-03-01 Acer Inc Device and method for control power arbitration of data process system
US20030214674A1 (en) * 2002-05-14 2003-11-20 Canon Kabushiki Kaisha Information processing apparatus and memory update method in the apparatus
US20130042130A1 (en) * 2011-08-09 2013-02-14 Guoxing Li Circuits and methods for controlling battery management systems
US8473153B1 (en) * 2011-12-22 2013-06-25 Honda Motor Co., Ltd. Key fob battery life preservation system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW424178B (en) * 1996-03-07 2001-03-01 Acer Inc Device and method for control power arbitration of data process system
US20030214674A1 (en) * 2002-05-14 2003-11-20 Canon Kabushiki Kaisha Information processing apparatus and memory update method in the apparatus
US20130042130A1 (en) * 2011-08-09 2013-02-14 Guoxing Li Circuits and methods for controlling battery management systems
US8473153B1 (en) * 2011-12-22 2013-06-25 Honda Motor Co., Ltd. Key fob battery life preservation system and method

Also Published As

Publication number Publication date
TW201500909A (en) 2015-01-01

Similar Documents

Publication Publication Date Title
TWI505282B (en) Power shutdown prediction for non-volatile storage devices
US9304818B2 (en) Control apparatus, control method, computer program product, and semiconductor device
EP2824895B1 (en) Information backup method and apparatus, mobile terminal
US9350190B2 (en) Information processing apparatus and battery charging method of information processing apparatus
US7786695B2 (en) Configurable battery management system with embedded SRAM in chip architecture
TW201351117A (en) State control device, information processing device, computer program product, and semiconductor device
US20140143562A1 (en) Information processing apparatus
JP2012128860A5 (en)
TWI492043B (en) Anti-mistrigger method and dc power supply device using the same
US10838562B2 (en) Electronic device, tablet terminal, input control method, and program
TW201626237A (en) Server node shutdown
KR102498254B1 (en) Method for reducing standby-power and electronic device thereof
US9990025B2 (en) Power control methods and electronic devices capable of dynamically distributing power
WO2015002300A1 (en) Portable terminal and control method
US20150268305A1 (en) Electronic device and method for monitoring battery module of the same
CN104216297A (en) False triggering prevention method and direct-current power supply unit applying same
US10680452B2 (en) Zero-power mode
TWI488032B (en) Electronic device and power supplying control method thereof
TW201508768A (en) Electronic device
US10564887B2 (en) Control device and data writing method thereof
TWI545863B (en) Battery protection system and battery protection method
CN111373368B (en) Nonvolatile memory updating apparatus and method
JP4751898B2 (en) Information processing apparatus and terminal
Lim et al. User-aware power management for mobile devices
JP2019053414A (en) Information processing apparatus

Legal Events

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