TWI641944B - Electronic device having an auxiliary device for waking and an auxiliar method for waking applied therein - Google Patents
Electronic device having an auxiliary device for waking and an auxiliar method for waking applied therein Download PDFInfo
- Publication number
- TWI641944B TWI641944B TW106115810A TW106115810A TWI641944B TW I641944 B TWI641944 B TW I641944B TW 106115810 A TW106115810 A TW 106115810A TW 106115810 A TW106115810 A TW 106115810A TW I641944 B TWI641944 B TW I641944B
- Authority
- TW
- Taiwan
- Prior art keywords
- control unit
- wake
- packet
- main control
- electrical connection
- Prior art date
Links
Landscapes
- Information Transfer Systems (AREA)
Abstract
本案係關於一種具有喚醒輔助裝置之電子系統,包括:一主控制單元;一微控制單元;以及一通用串列匯流排,電連接於該主控制單元與該微控制單元,該通用串列匯流排用以接收來自一USB週邊裝置的一觸發封包;其中,該微控制單元因應該觸發封包而產生一喚醒信號給處於一非資料傳輸模式之該主控制單元;本案亦係關於一種應用於電子系統的喚醒輔助方法,用以喚醒一主控制單元,該方法包括:提供一第一電連接路徑電連接於一微控制單元和一通用串列匯流排;提供一第二電連接路徑電連接於該微控制單元和該主控制單元;以及使該微控制單元經由該第一電連接路徑接收該觸發封包,並因應該觸發封包而產生一喚醒信號,且經由該第二電連接路徑傳送給該主控制單元。 The present invention relates to an electronic system having a wake-up assisting device, comprising: a main control unit; a micro control unit; and a universal serial bus bar electrically connected to the main control unit and the micro control unit, the universal serial confluence The row is configured to receive a trigger packet from a USB peripheral device; wherein the micro control unit generates a wake-up signal to the main control unit in a non-data transmission mode because the packet should be triggered; the case is also related to an application to the electronic A wake-up assisting method for waking up a main control unit, the method comprising: providing a first electrical connection path electrically connected to a micro control unit and a universal serial bus; providing a second electrical connection path electrically connected The micro control unit and the main control unit; and causing the micro control unit to receive the trigger packet via the first electrical connection path, and generate a wakeup signal according to the triggering of the packet, and transmit the signal to the second electrical connection path Main control unit.
Description
本案涉及一種電子系統的輔助運作領域,特別是輔助電子系統判斷是否可被週邊裝置喚醒而回到正常的資料傳輸模式的輔助運作領域。 The present invention relates to an auxiliary operation field of an electronic system, in particular, an auxiliary electronic system that determines whether it can be awakened by a peripheral device to return to a normal operation mode of a data transmission mode.
將處於待機或休眠狀態的電子系統喚醒,是現今普遍應用於電子系統與其週邊裝置間的控制技術。舉例而言,遠端喚醒(Wake On Lan,WOL)是利用網路卡以不斷偵測外界傳來的訊號的方式,偵測到外界傳送特定的封包訊號時,例如由遠端軟體以廣播的方式發送的包含一組神奇封包(magic package)的訊號時,發出一開機訊號給主機板,主機板便可於主動偵測得致此項開機訊號後,即重新被喚醒並進行啟動程序。 Awakening an electronic system in standby or hibernation is a control technology commonly used today between electronic systems and their peripheral devices. For example, Wake On Lan (WOL) uses a network card to continuously detect signals sent from the outside world. When detecting a specific packet transmission signal, for example, it is broadcast by a remote software. When the signal sent by the method includes a set of magic package, a power-on signal is sent to the motherboard, and the motherboard can automatically wake up and start the program after actively detecting the boot signal.
除了遠端喚醒之外,使用者直接按下電子系統內建或整合的特定控制鈕也是喚醒電子系統的方式之一,然此種方式一樣是會涉及到仍需由電子系統的主控制單元(例如,主控制微處理晶片)不斷地進行主動偵測 和執行喚醒功能。 In addition to remote wake-up, the user directly presses a specific control button built into or integrated in the electronic system, which is one of the ways to wake up the electronic system. However, this method is related to the main control unit still required by the electronic system ( For example, the main control microprocessor chip is constantly actively detecting And perform wake-up functions.
為進一步說明習知技術的運作原理,請參考圖1所示習知電子系統與其週邊裝置間的架構方塊示意圖;於其中,習知電子系統10(例如,可為各式電腦設備、POS裝置或手持電子裝置等等)至少包括一主控制單元11,並透過一電連接路徑L11而與一通用串列匯流排(Universal Series Bus,USB)101相互電連接;同時,主控制單元11亦藉由通用串列匯流排101而與位於外部的通用串列匯流排週邊裝置(亦可稱之為USB週邊裝置)40相互電連接。 To further illustrate the operation of the prior art, please refer to the architectural block diagram of the conventional electronic system shown in FIG. 1 and its peripheral devices. Among them, the conventional electronic system 10 (for example, various computer devices, POS devices, or The handheld electronic device or the like includes at least one main control unit 11 and is electrically connected to a universal serial bus (USB) 101 through an electrical connection path L11. Meanwhile, the main control unit 11 also The universal serial bus bar 101 is electrically connected to a universal serial busbar peripheral device (also referred to as a USB peripheral device) 40 located outside.
然而,上述習知作法存在一項問題,即當運作於其中的作業系統(Opration System,OS)希望主控制單元11進入所謂睡眠或待機模式(或可稱為一非資料傳輸模式)時,主控制單元11事實上仍持續地消耗一定的能源以主動偵測USB週邊裝置40是否有傳來觸發封包P11,俾以了解外界是否有透過USB週邊裝置40進行一喚醒動作;再者,如果主控制單元11有偵測到來自USB週邊裝置40的觸發封包P11時,其即可被喚醒而切換回到正常的工作模式(或可稱為一資料傳輸模式),以與USB週邊裝置40間重新進行一般資料封包P12的接收與傳送。 However, the above conventional practice has a problem in that when the operating system (OS) operating therein wants the main control unit 11 to enter a so-called sleep or standby mode (or may be referred to as a non-data transmission mode), the main The control unit 11 actually consumes a certain amount of energy continuously to actively detect whether the USB peripheral device 40 has transmitted a packet to trigger the packet P11 to know whether the external device performs a wake-up operation through the USB peripheral device 40. Furthermore, if the main control is performed When the unit 11 detects the trigger packet P11 from the USB peripheral device 40, it can be woken up and switched back to the normal working mode (or can be referred to as a data transmission mode) to re-run with the USB peripheral device 40. Reception and transmission of general data packet P12.
至此可知,習知電子系統10顯仍持續消耗一定的能源才能進行主動偵測外界喚醒訊號的工作;相反地,如為能更進一步達到節省電子系統10的電源消耗,並藉由作業系統使主控制單元11進入真正的睡眠或待機模式(即,不再負擔主動偵測外界的喚醒功能)的話,則此時使用者顯又會面臨無法透過與習知電子系統10電連接的USB週邊裝置40來快速地喚醒習知電子系統10,以致使設計者陷入須在追求更為省電,抑或提供使用者 更好的操作便利性等兩面向須擇一處理的兩難局面。 At this point, it can be seen that the conventional electronic system 10 still consumes a certain amount of energy to actively detect the external wake-up signal; on the contrary, if the power consumption of the electronic system 10 is further saved, and the operating system makes the main When the control unit 11 enters a true sleep or standby mode (ie, no longer burdens the active detection of the external wake-up function), the user sometimes faces a USB peripheral device 40 that cannot be electrically connected to the conventional electronic system 10. To quickly wake up the electronic system 10 so that the designer is caught in the pursuit of more power, or provide users Better operational convenience and other two dilemmas facing the need for a treatment.
為解決前述習知技術缺失,本案發明的主要目的之一,是提供一種應用於電子系統的喚醒輔助裝置和方法,其中喚醒輔助裝置至少包括一微控制單元,其電連接至電子系統中的通用串列匯流排,並藉由喚醒輔助裝置作為電子系統的輔助偵測裝置,以於電子系統進入完全睡眠或待機模式(即,不再負擔主動偵測外界的喚醒功能)時,改由喚醒輔助裝置負責主動偵測來自外部USB週邊裝置並係經由通用串列匯流排所傳送而來的觸發封包,並於喚醒輔助裝置收到觸發封包後,再進行喚醒電子系統的動作,以祈同時達到使電子系統真正做到休眠節能,並提供使用者可經由USB週邊裝置隨時且迅速地喚醒電子系統的操作便利性之雙重目的。 In order to solve the aforementioned prior art deficiencies, one of the main purposes of the present invention is to provide a wake-up assisting device and method for an electronic system, wherein the wake-up assisting device includes at least a micro control unit electrically connected to the universal in the electronic system. Serial bus and wake-up auxiliary device as auxiliary detection device of electronic system, when the electronic system enters full sleep or standby mode (ie, no longer burdens the active detection of external wake-up function) The device is responsible for actively detecting the trigger packet transmitted from the external USB peripheral device and passing through the universal serial bus, and after the wake-up auxiliary device receives the trigger packet, the wake-up electronic system is further activated to simultaneously achieve The electronic system is truly dormant and energy efficient, and provides the dual purpose of the user to wake up the electronic system at any time and quickly via the USB peripheral device.
一較佳作法,本案係關於一種具有喚醒輔助裝置之電子系統,包括:一主控制單元;一通用串列匯流排(Universal Series Bus,USB),電連接於該主控制單元以及一USB週邊裝置之間;以及一微控制單元(Micro Control Unit),以一第一電連接路徑電連接於該通用串列匯流排,且以一第二電連接路徑電連接於該主控制單元;其中,該微控制單元經由該第一電連接路徑以偵測來自該USB週邊裝置且通過該通用串列匯流排的一觸發封包,並依據該觸發封包而因應產生一喚醒信號,再經由該第二電連接路徑以傳送該喚醒信號給處於一非資料傳輸模式之該主控制單元。 In a preferred embodiment, the present invention relates to an electronic system having a wake-up assisting device, comprising: a main control unit; a universal serial bus (USB), electrically connected to the main control unit and a USB peripheral device And a micro control unit (Micro Control Unit) electrically connected to the universal serial bus bar by a first electrical connection path, and electrically connected to the main control unit by a second electrical connection path; wherein The micro control unit detects a trigger packet from the USB peripheral device and passes through the universal serial bus bar via the first electrical connection path, and generates a wakeup signal according to the trigger packet, and then connects to the second electrical connection according to the trigger packet. The path transmits the wake-up signal to the main control unit in a non-data transfer mode.
於上述較佳實施例中,其中,該第一電連接路徑包括一封 包偵測元件,用以於接收到該觸發封包時導通該第一電連接路徑,以使該微控制單元可接收該觸發封包,並因應產生該喚醒信號。 In the above preferred embodiment, the first electrical connection path includes a The packet detecting component is configured to turn on the first electrical connection path when the trigger packet is received, so that the micro control unit can receive the trigger packet, and generate the wake-up signal accordingly.
於上述較佳實施例中,其中,該封包偵測元件係為一二極體元件。 In the above preferred embodiment, the packet detecting component is a diode component.
於上述較佳實施例中,其中,該二極體元件的順向導通偏壓為至少0.7伏特,該觸發封包的工作電壓為3.3伏特至5伏特。 In the above preferred embodiment, wherein the diode element has a forward bias voltage of at least 0.7 volts, and the trigger package has an operating voltage of 3.3 volts to 5 volts.
於上述較佳實施例中,其中,於該電子系統進入該非資料傳輸模式下時,該主控制單元啟動該微控制單元,用以偵測該觸發封包 In the above preferred embodiment, the main control unit activates the micro control unit to detect the trigger packet when the electronic system enters the non-data transmission mode.
於上述較佳實施例中,其中,於該主控制單元進入一資料傳輸模式時,經由電連接於該通用串列匯流排之一第三電連接路徑,該主控制單元用以與該USB週邊裝置之間進行傳送或接收一資料傳輸封包。 In the above preferred embodiment, when the main control unit enters a data transmission mode, the main control unit is used to communicate with the USB peripheral via a third electrical connection path electrically connected to the universal serial bus. A data transmission packet is transmitted or received between the devices.
於上述較佳實施例中,其中,該資料傳輸封包的工作電壓等於或小於0.5伏特。 In the above preferred embodiment, the data transmission packet has an operating voltage equal to or less than 0.5 volts.
另一較佳作法,本案係關於一種具有喚醒輔助裝置的電子系統,包括:一主控制單元;一通用串列匯流排,電連接於該主控制單元,該通用串列匯流排用以接收來自一USB週邊裝置的一觸發封包;以及一喚醒輔助裝置,其與該主控制單元和該通用串列匯流排電連接;其中,該喚醒輔助裝置因應該觸發封包而產生一喚醒信號給處於一非資料傳輸模式之該主控制單元。 In another preferred embodiment, the present invention relates to an electronic system having a wake-up assisting device, comprising: a main control unit; a universal serial bus bar electrically connected to the main control unit, the universal serial bus bar for receiving from a triggering packet of a USB peripheral device; and a wake-up assisting device electrically connected to the main control unit and the universal serial busbar; wherein the wake-up assisting device generates a wake-up signal to be in a non- The main control unit of the data transmission mode.
於上述較佳實施例中,其中,該喚醒輔助裝置至少包括一微控制單元(Micro Control Unit),該微控制單元以一第一電連接路徑電 連接於該通用串列匯流排,且以一第二電連接路徑電連接於該主控制單元。 In the above preferred embodiment, the wake-up assisting device includes at least one Micro Control Unit, and the micro control unit is electrically connected by a first electrical connection path. Connected to the universal serial bus and electrically connected to the main control unit by a second electrical connection path.
於上述較佳實施例中,其中,該喚醒輔助裝置更包括設置於該第一電連接路徑上之一封包偵測元件,其用以偵測該通用串列匯流排出現該觸發封包時,導通該第一電連接路徑,以供該微控制單元接收該觸發封包,並因應產生該喚醒信號。 In the above preferred embodiment, the wake-up assisting device further includes a packet detecting component disposed on the first electrical connection path for detecting that the triggering packet is present when the universal serial busbar is turned on. The first electrical connection path is for the micro control unit to receive the trigger packet, and the wake-up signal is generated accordingly.
又一較佳作法,本案係關於一種具有喚醒輔助裝置之電子系統,包括:一主控制單元;一通用串列匯流排,電連接於該主控制單元以及一USB週邊裝置之間;以及一微控制單元,以具有一封包偵測元件之一第一電連接路徑電連接於該通用串列匯流排,且以一第二電連接路徑電連接於該主控制單元;其中,該微控制單元藉由該封包偵測元件以偵測來自該USB週邊裝置且通過該通用串列匯流排上的一觸發封包,並依據該觸發封包而因應產生一喚醒信號,再經由該第二電連接路徑以傳送該喚醒信號給處於一非資料傳輸模式下之該主控制單元。 In another preferred embodiment, the present invention relates to an electronic system having a wake-up assisting device, comprising: a main control unit; a universal serial bus bar electrically connected between the main control unit and a USB peripheral device; and a micro The control unit is electrically connected to the universal serial bus with a first electrical connection path having a packet detecting component, and is electrically connected to the main control unit by a second electrical connection path; wherein the micro control unit borrows The packet detecting component detects a trigger packet from the USB peripheral device and passes through the universal serial bus, and generates a wake-up signal according to the trigger packet, and transmits the second electrical connection path according to the trigger packet. The wake-up signal is given to the main control unit in a non-data transmission mode.
於上述較佳實施例中,其中,該封包偵測元件係為一二極體元件。 In the above preferred embodiment, the packet detecting component is a diode component.
於上述較佳實施例中,其中,該二極體元件的順向導通偏壓為至少0.7伏特,該觸發封包的工作電壓為3.3伏特至5伏特。 In the above preferred embodiment, wherein the diode element has a forward bias voltage of at least 0.7 volts, and the trigger package has an operating voltage of 3.3 volts to 5 volts.
再一較佳作法,本案係關於一種應用於電子系統的喚醒輔助方法,用以喚醒一主控制單元,該方法包括:提供一第一電連接路徑電連接於一微控制單元和一通用串列匯流排;提供一第二電連接路徑電連接於該微控制單元和該主控制單元;偵測來自一USB週邊裝置且位於 該通用串列匯流排上的一觸發封包,且於該觸發封包使該第一電連接路徑導通時,該微控制單元接收該觸發封包;以及因應該觸發封包,該微控制單元產生一喚醒信號給該主控制單元。 In a preferred embodiment, the present invention relates to a wake-up assist method for an electronic system for waking up a main control unit, the method comprising: providing a first electrical connection path electrically connected to a micro control unit and a universal serial a busbar; providing a second electrical connection path electrically connected to the micro control unit and the main control unit; detecting from a USB peripheral device and located a trigger packet on the universal serial bus, and when the trigger packet causes the first electrical connection path to be turned on, the micro control unit receives the trigger packet; and the micro control unit generates a wakeup signal because the packet should be triggered Give the main control unit.
於上述較佳實施例中,其中,該第一電連接路徑包括一封包偵測元件,用以於接收到該觸發封包時導通該第一電連接路徑,以使該微控制單元可接收該觸發封包,並因應產生該喚醒信號 In the above preferred embodiment, the first electrical connection path includes a packet detecting component for turning on the first electrical connection path when the triggering packet is received, so that the micro control unit can receive the trigger. Packet and respond to the wake-up signal
於上述較佳實施例中,其中,該封包偵測元件係為一二極體元件。 In the above preferred embodiment, the packet detecting component is a diode component.
於上述較佳實施例中,其中,該二極體元件的順向導通偏壓為至少0.7伏特,該觸發封包的工作電壓為3.3伏特至5伏特。 In the above preferred embodiment, wherein the diode element has a forward bias voltage of at least 0.7 volts, and the trigger package has an operating voltage of 3.3 volts to 5 volts.
於上述較佳實施例中,其中,於該微控制單元接收該觸發封包之前,更包括下列步驟:由處於一非資料傳輸模式的該主控制單元啟動該微控制單元去偵測該觸發封包。 In the above preferred embodiment, before the micro control unit receives the trigger packet, the method further includes the step of: initiating the micro control unit by the main control unit in a non-data transmission mode to detect the trigger packet.
於上述較佳實施例中,其中,於該主控制單元接收到該喚醒信號之後,更包括下列步驟:進入一資料傳輸模式且該主控制單元經由電連接於該通用串列匯流排之一第三電連接路徑,以與該USB週邊裝置之間進行傳送或接收一資料傳輸封包。 In the above preferred embodiment, after the main control unit receives the wake-up signal, the method further includes the steps of: entering a data transmission mode and the main control unit is electrically connected to the universal serial bus The three electrical connection path is for transmitting or receiving a data transmission packet with the USB peripheral device.
於上述較佳實施例中,其中,該資料傳輸封包的工作電壓等於或小於0.5伏特。 In the above preferred embodiment, the data transmission packet has an operating voltage equal to or less than 0.5 volts.
10、20、30‧‧‧電子系統 10, 20, 30‧‧‧ Electronic systems
11、21、31‧‧‧主控制單元 11, 21, 31‧‧‧ main control unit
22、32‧‧‧喚醒輔助裝置 22, 32‧‧‧Wake-up aids
221、321‧‧‧微控制單元 221, 321‧‧‧ micro control unit
222‧‧‧封包偵測元件 222‧‧‧Packet detection component
101、201、301‧‧‧通用串列匯流排 101, 201, 301‧‧‧ universal serial bus
40‧‧‧通用串列匯流排週邊裝置 40‧‧‧Common serial busbar peripherals
L11‧‧‧電連接路徑 L11‧‧‧Electrical connection path
L21、L31‧‧‧第一電連接路徑 L21, L31‧‧‧ first electrical connection path
L22、L32‧‧‧第二電連接路徑 L22, L32‧‧‧ second electrical connection path
L23、L33‧‧‧第三電連接路徑 L23, L33‧‧‧ third electrical connection path
P11、P21、P31‧‧‧觸發封包 P11, P21, P31‧‧‧ trigger packets
P12、P22、P32‧‧‧資料傳輸封包 P12, P22, P32‧‧‧ data transmission package
S21、S31‧‧‧喚醒信號 S21, S31‧‧‧ wake-up signal
S40~S48‧‧‧步驟 S40~S48‧‧‧Steps
圖1所示習知電子系統與其週邊裝置間的架構方塊示意圖。 FIG. 1 is a block diagram showing the architecture of a conventional electronic system and its peripheral devices.
圖2為本案具有喚醒輔助裝置之電子系統與其週邊裝置間的一第一較佳實施架構方塊示意圖。 FIG. 2 is a block diagram showing a first preferred embodiment of the electronic system with the wake-up assisting device and its peripheral devices.
圖3為本案具有喚醒輔助裝置之電子系統與其週邊裝置間的一第二較佳實施架構方塊示意圖。 FIG. 3 is a block diagram showing a second preferred embodiment of the electronic system having the wake-up assisting device and its peripheral devices.
圖4為本案應用於電子系統中之喚醒輔助方法的一較佳實施概念的流程示意圖。 FIG. 4 is a schematic flow chart of a preferred implementation concept of a wake-up assist method applied to an electronic system.
本案以下所稱的電子系統,係具有通用串列匯流排(Universal Series Bus,USB),且透過其將電信號傳遞於電子系統和USB週邊裝置之間。故,本案的電子系統,舉例但不限地,可以應用於POS裝置、桌上型或行動電腦、平板電腦、穿戴式電子系統或智慧型手機等。 The electronic system referred to in the present invention has a universal serial bus (USB) through which electrical signals are transmitted between the electronic system and the USB peripheral device. Therefore, the electronic system of the present case can be applied to a POS device, a desktop or mobile computer, a tablet computer, a wearable electronic system, or a smart phone, for example, but not limited to.
其次,本案以下所稱的非資料傳輸模式,是指電子系統中的作業系統(Operation System,OS)使主控制單元處於待命、休眠或是關機的模式。一般來說,電子系統在工作模式(或稱為資料傳輸模式)下可存取在通用串列匯流排傳送的資料傳輸封包,且此種資料傳輸封包的工作電壓等於或小於0.5伏特。 Secondly, the non-data transmission mode referred to in the present invention refers to the operation system (OS) in the electronic system that causes the main control unit to be in standby, hibernation or shutdown mode. Generally, an electronic system can access a data transmission packet transmitted in a universal serial bus in an operating mode (or referred to as a data transmission mode), and the data transmission packet has an operating voltage equal to or less than 0.5 volts.
再者,USB週邊裝置可和電子系統通信,其可傳送資料或指令給電子系統,或是接受來自電子系統的資料或指令。本案的USB週邊裝置,可以透過本身的一部分對接電子系統的通用串列匯流排埠,以進行有線通信,抑或是透過對接在通用串列匯流排埠上的傳輸器,以進行無線通信。是以,本案以下所稱的USB(通用串列匯流排)週邊裝置,可以是指 USB週邊裝置本身,抑或是與USB週邊裝置無線連接的傳輸器(dongle);且,本案USB週邊裝置例如可為觸控板(touch pad)、觸控筆或手套式輸入裝置等等。 Furthermore, the USB peripheral device can communicate with an electronic system that can transmit data or instructions to the electronic system or accept data or instructions from the electronic system. The USB peripheral device of the present invention can communicate with the universal serial busbar of the electronic system through a part of itself, for wired communication, or through a transmitter connected to the universal serial busbar for wireless communication. Therefore, the USB (Universal Serial Bus) peripheral device referred to in the following case may refer to The USB peripheral device itself is a transmitter that is wirelessly connected to the USB peripheral device; and the USB peripheral device in this case may be, for example, a touch pad, a stylus or a glove input device or the like.
請參閱圖2,其係為本案具有喚醒輔助裝置之電子系統與其週邊裝置間的一第一較佳實施架構方塊示意圖;於其中,電子系統20包括:主控制單元21、喚醒輔助裝置22;且,主控制單元21以第三電連接路徑L23電連接於通用串列匯流排201,並進而電連接於USB週邊裝置40。 Referring to FIG. 2, it is a block diagram of a first preferred implementation architecture between the electronic system having the wake-up assisting device and the peripheral device thereof; wherein the electronic system 20 includes: a main control unit 21 and a wake-up assisting device 22; The main control unit 21 is electrically connected to the universal serial bus bar 201 by a third electrical connection path L23, and is further electrically connected to the USB peripheral device 40.
再者,本案的喚醒輔助裝置22包括微控制單元221以及封包偵測元件222;其中,微控制單元221以第一電連接路徑L21電連接於通用串列匯流排201,且以第二電連接路徑L22電連接於主控制單元21;其中,封包偵測元件222之一較佳作法,係可為順向導通偏壓為至少0.7伏特的二極體元件,並設置於第一電連接路徑L21上。 Furthermore, the wake-up assisting device 22 of the present invention includes a micro control unit 221 and a packet detecting component 222; wherein the micro control unit 221 is electrically connected to the universal serial busbar 201 with a first electrical connection path L21, and is connected by a second electrical connection. The path L22 is electrically connected to the main control unit 21; wherein one of the packet detecting elements 222 is preferably a diode element having a forward bias voltage of at least 0.7 volts and disposed on the first electrical connection path L21 on.
基此,以下進一步說明本案第一較佳實施例的工作原理:當運作於電子系統20中的作業系統(Opration System,OS)使主控制單元21進入所謂睡眠或待機模式(或可稱為一非資料傳輸模式)的節能情境時,處於非資料傳輸模式的主控制單元21便會啟動喚醒輔助裝置22中的微控制單元221去偵測是否有觸發封包P21被接收進來;其中,由於二極體元件222係被設置於第一電連接路徑L21上,且觸發封包P21的工作電壓係為3.3伏特至5伏特,因此,一旦USB週邊裝置40因應使用者的啟動而產生輸出觸發封包P21至通用串列匯流排201上時,二極體元件222顯然會被導通而使得微控制單元221可以接收觸發封包P21。 Based on the following, the working principle of the first preferred embodiment of the present invention is further explained: when the operating system (OS) operating in the electronic system 20 causes the main control unit 21 to enter a so-called sleep or standby mode (or may be referred to as a In the case of the non-data transmission mode, the main control unit 21 in the non-data transmission mode activates the micro control unit 221 in the wake-up assistant 22 to detect whether or not the trigger packet P21 is received; The body element 222 is disposed on the first electrical connection path L21, and the operating voltage of the trigger packet P21 is 3.3 volts to 5 volts. Therefore, once the USB peripheral device 40 responds to the user's activation, the output trigger packet P21 is generated. When on the bus bar 201, the diode element 222 will obviously be turned on so that the micro control unit 221 can receive the trigger packet P21.
再則,當微控制單元21接收到觸發封包P21後,便會依據觸發封包P21而因應產生喚醒信號S21,再經由第二電連接路徑L22以傳給處於一非資料傳輸模式下之主控制單元21,如此一來,主控制單元21便可重新進入正常工作的一資料傳輸模式,且主控制單元21經由電連接於通用串列匯流排201之第三電連接路徑L23,以與USB週邊裝置40之間進行傳送或接收資料傳輸封包P22。 In addition, when the micro control unit 21 receives the trigger packet P21, it generates a wake-up signal S21 according to the trigger packet P21, and transmits it to the main control unit in a non-data transmission mode via the second electrical connection path L22. 21, in this way, the main control unit 21 can re-enter a data transmission mode of normal operation, and the main control unit 21 is electrically connected to the third electrical connection path L23 of the universal serial busbar 201 to communicate with the USB peripheral device. The data transmission packet P22 is transmitted or received between 40.
其中,由於資料傳輸封包P22的工作電壓等於或小於0.5伏特,因此,資料傳輸封包P22並無法使前述二極體元件222被導通(亦即,此時二極體元件222處於關閉斷路狀態),也就是說,在主控制單元21與USB週邊裝置40之間進行傳送或接收資料傳輸封包P22的正常工作期間,微控制單元21並不會受到資料傳輸封包P22的干擾,也就不會產生誤動作。從另一個角度來說,微控制單元21即可使用比較低階的微控制器來據以實施,且保證不會有誤動作產生之虞,以進一步降低電子系統的生產成本。 Wherein, since the working voltage of the data transmission packet P22 is equal to or less than 0.5 volt, the data transmission packet P22 cannot make the diode element 222 be turned on (that is, the diode element 222 is in a closed state). That is to say, during the normal operation of transmitting or receiving the data transmission packet P22 between the main control unit 21 and the USB peripheral device 40, the micro control unit 21 is not interfered by the data transmission packet P22, and no malfunction occurs. . From another point of view, the micro control unit 21 can be implemented using a relatively low-order microcontroller, and it is guaranteed that no malfunction occurs, so as to further reduce the production cost of the electronic system.
由上可知,以圖2所示的較佳實施架構,於電子系統20進入完全睡眠或待機模式(即,不再負擔主動偵測外界的喚醒功能)時,即改由喚醒輔助裝置22負責主動偵測來自外部USB週邊裝置40並經由通用串列匯流排201所傳送而來的觸發封包P22,並於喚醒輔助裝置22收到觸發封包P22後,再進行喚醒電子系統20的動作,以祈同時達到使電子系統20真正做到休眠節能,並提供使用者可經由USB週邊裝置40隨時且迅速地喚醒電子系統20的操作便利性。 As can be seen from the above, in the preferred implementation architecture shown in FIG. 2, when the electronic system 20 enters a full sleep or standby mode (ie, no longer burdens the active detection of the external wake-up function), the wake-up assisting device 22 is responsible for the initiative. The trigger packet P22 transmitted from the external USB peripheral device 40 via the universal serial bus bar 201 is detected, and after the wake-up assistant device 22 receives the trigger packet P22, the wake-up electronic system 20 is further activated to simultaneously The electronic system 20 is truly dormant and energy efficient, and provides the user with the convenience of waking up the electronic system 20 at any time and quickly via the USB peripheral device 40.
當然,本案亦提出另一種實施方式,可供設計者選擇使 用比較高階的微控制器來據以實施前述喚醒輔助裝置中的微控制單元;申言之,有關本案另一種較佳實施架構,請參閱圖3所示,其為本案具有喚醒輔助裝置之電子系統與其週邊裝置間的一第二較佳實施架構方塊示意圖。 Of course, this case also proposes another implementation that can be chosen by the designer. A higher-order microcontroller is used to implement the micro-control unit in the foregoing wake-up auxiliary device. According to another preferred implementation structure of the present invention, please refer to FIG. 3, which is an electronic device with a wake-up auxiliary device. A block diagram of a second preferred embodiment of the system and its peripheral devices.
圖3中的電子系統30包括:以第三電連接路徑L33電連接於通用串列匯流排301並進而電連接於USB週邊裝置40的主控制單元31,類似圖2中具有類似功能的元件與架構,於此即不再贅述。 The electronic system 30 of FIG. 3 includes a main control unit 31 electrically connected to the universal serial bus bar 301 and thus electrically connected to the USB peripheral device 40 in a third electrical connection path L33, similar to the components having similar functions in FIG. The architecture is not repeated here.
圖3所示實施例與圖2所示實施例間的差異之處在於,電子系統30所包括的喚醒輔助裝置32,可以僅使用較高階(例如,具有較複雜的邏輯指令判斷能力)的微控制單元321來實施即可,且微控制單元321同樣分別以第一電連接路徑L31電連接於通用串列匯流排301,且以第二電連接路徑L32電連接於主控制單元31;如此一來,微控制單元321便要負擔起判斷其自通用串列匯流排301中所收到的封包,究竟是屬於微控制單元321要用以進一步因應產生並輸出喚醒信號S31給主控制單元31的觸發封包P31,還是僅屬於主控制單元31與USB週邊裝置40之間進行正常傳送或接收時的資料傳輸封包P32。當然,以圖3所示另一較佳實施例,亦可達到改善習知技術的目的。 The difference between the embodiment shown in FIG. 3 and the embodiment shown in FIG. 2 is that the wake-up assisting device 32 included in the electronic system 30 can use only a higher order (for example, a more complex logic command judgment capability). The control unit 321 can be implemented, and the micro control unit 321 is also electrically connected to the universal serial bus bar 301 by the first electrical connection path L31, and is electrically connected to the main control unit 31 by the second electrical connection path L32; Therefore, the micro control unit 321 has to bear the judgment of the packet received from the universal serial bus 301, which belongs to the micro control unit 321 to further generate and output the wakeup signal S31 to the main control unit 31. Whether the packet P31 is triggered or only belongs to the data transmission packet P32 when the main control unit 31 and the USB peripheral device 40 perform normal transmission or reception. Of course, in another preferred embodiment shown in FIG. 3, the object of improving the prior art can also be achieved.
當然,從另一角度而言,本案亦包括揭露可應用於前述各實施例中電子系統的喚醒輔助方法,用以喚醒前述各實施例中的主控制單元;其中,圖4為本案的一較佳實施概念的流程示意圖,且並不以此為限:步驟S40:開始; 步驟S41:提供第一電連接路徑電連接於喚醒輔助裝置中的微控制單元和通用串列匯流排;步驟S42:提供第二電連接路徑電連接於微控制單元和主控制單元;步驟S43:判斷運作於電子系統中的作業系統(OS)是否使主控制單元進入一非資料傳輸模式;如是則執行下一步驟S44,如否則回到前述步驟S43;步驟S44:當運作於電子系統中的作業系統使主控制單元進入非資料傳輸模式時,處於非資料傳輸模式的主控制單元同步啟動微控制單元去偵測通用串列匯流排;步驟S45:判斷是否有觸發封包經由第一電連接路徑被微控制單元接收進來;如是則執行下一步驟S46,如否則回到前述步驟S45;步驟S46:當微控制單元接收到觸發封包時,微控制單元因應觸發封包以產生喚醒信號,並經由第二電連接路徑傳輸給主控制單元;步驟S47:當前述主控制單元接收到喚醒信號時,主控制單元重新進入一資料傳輸模式,且主控制單元經由電連接於通用串列匯流排之第三電連接路徑,以與USB週邊裝置之間進行傳送或接收資料傳輸封包;以及步驟S48:結束。 Of course, the present invention also includes a wake-up assistance method that can be applied to the electronic system in the foregoing embodiments to wake up the main control unit in the foregoing embodiments. FIG. 4 is a comparison of the present embodiment. A schematic diagram of the flow of the implementation concept, and is not limited thereto: Step S40: Start; Step S41: providing a first electrical connection path electrically connected to the micro control unit and the universal serial bus in the wake-up auxiliary device; step S42: providing a second electrical connection path electrically connected to the micro control unit and the main control unit; step S43: Determining whether the operating system (OS) operating in the electronic system causes the main control unit to enter a non-data transmission mode; if yes, proceeding to the next step S44, if otherwise returning to the foregoing step S43; and step S44: when operating in the electronic system When the operating system causes the main control unit to enter the non-data transmission mode, the main control unit in the non-data transmission mode synchronously starts the micro control unit to detect the universal serial bus; step S45: determining whether there is a trigger packet via the first electrical connection path Receiving by the micro control unit; if yes, proceeding to the next step S46, if otherwise, returning to the foregoing step S45; step S46: when the micro control unit receives the trigger packet, the micro control unit triggers the packet to generate a wakeup signal, and The second electrical connection path is transmitted to the main control unit; step S47: when the foregoing main control unit receives the wake-up signal, the main The control unit re-enters a data transmission mode, and the main control unit electrically connects to the third electrical connection path of the universal serial bus to transmit or receive the data transmission packet with the USB peripheral device; and step S48: ends.
綜合言之,透過本案所揭露之具有喚醒輔助裝置之電子系統,與應用於其中之喚醒輔助方法,確實可同時達到使電子系統真正做到休眠節能,並提供使用者可經由USB週邊裝置隨時且迅速地喚醒電子系統的操作便利性;是以,本案實為一極具產業價值之作。 In summary, the electronic system with the wake-up assist device disclosed in the present application and the wake-up assisting method applied thereto can simultaneously achieve the true dormancy and energy saving of the electronic system, and provide the user with the USB peripheral device at any time. Quickly awaken the operational convenience of the electronic system; therefore, the case is a very industrial value.
以上所述僅為本案之較佳實施例,並非用以限定本案之申請專利範圍,因此凡其它未脫離本案所揭示之精神下所完成之等效改變或修飾,均應包含於本案之申請專利範圍內。 The above is only the preferred embodiment of the present invention, and is not intended to limit the scope of the patent application in this case. Therefore, any equivalent changes or modifications made without departing from the spirit of the present disclosure should be included in the patent application in this case. Within the scope.
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106115810A TWI641944B (en) | 2017-05-12 | 2017-05-12 | Electronic device having an auxiliary device for waking and an auxiliar method for waking applied therein |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106115810A TWI641944B (en) | 2017-05-12 | 2017-05-12 | Electronic device having an auxiliary device for waking and an auxiliar method for waking applied therein |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI641944B true TWI641944B (en) | 2018-11-21 |
TW201901352A TW201901352A (en) | 2019-01-01 |
Family
ID=65034633
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW106115810A TWI641944B (en) | 2017-05-12 | 2017-05-12 | Electronic device having an auxiliary device for waking and an auxiliar method for waking applied therein |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI641944B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114780480A (en) * | 2022-06-20 | 2022-07-22 | 龙旗电子(惠州)有限公司 | Data transmission method, device and equipment |
CN117997333A (en) * | 2024-04-03 | 2024-05-07 | 宁波均联智行科技股份有限公司 | Control signal transmission circuit, vehicle-mounted electronic equipment and vehicle |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120198248A1 (en) * | 2008-03-31 | 2012-08-02 | Jeyaseelan Jaya L | Platform power management based on latency guidance |
US20140132083A1 (en) * | 2012-11-14 | 2014-05-15 | Thomson Licensing | Usb peripheral device detection on an unpowered bus |
CN103853682A (en) * | 2012-12-03 | 2014-06-11 | 三星电子株式会社 | Method of sensing connection of USB device in power save mode and image forming apparatus thereof |
TW201614512A (en) * | 2012-06-30 | 2016-04-16 | Intel Corp | A computing device, a universal serial bus port, and a method of operating a universal serial bus |
TW201617914A (en) * | 2014-08-20 | 2016-05-16 | 微晶片科技公司 | Low power connection detect method and system for USB charging |
-
2017
- 2017-05-12 TW TW106115810A patent/TWI641944B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120198248A1 (en) * | 2008-03-31 | 2012-08-02 | Jeyaseelan Jaya L | Platform power management based on latency guidance |
TW201614512A (en) * | 2012-06-30 | 2016-04-16 | Intel Corp | A computing device, a universal serial bus port, and a method of operating a universal serial bus |
US20140132083A1 (en) * | 2012-11-14 | 2014-05-15 | Thomson Licensing | Usb peripheral device detection on an unpowered bus |
CN103853682A (en) * | 2012-12-03 | 2014-06-11 | 三星电子株式会社 | Method of sensing connection of USB device in power save mode and image forming apparatus thereof |
TW201617914A (en) * | 2014-08-20 | 2016-05-16 | 微晶片科技公司 | Low power connection detect method and system for USB charging |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114780480A (en) * | 2022-06-20 | 2022-07-22 | 龙旗电子(惠州)有限公司 | Data transmission method, device and equipment |
CN114780480B (en) * | 2022-06-20 | 2023-01-24 | 龙旗电子(惠州)有限公司 | Data transmission method, device and equipment |
CN117997333A (en) * | 2024-04-03 | 2024-05-07 | 宁波均联智行科技股份有限公司 | Control signal transmission circuit, vehicle-mounted electronic equipment and vehicle |
Also Published As
Publication number | Publication date |
---|---|
TW201901352A (en) | 2019-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11009933B2 (en) | Apparatus and method for waking up a processor | |
US9310838B2 (en) | Power management method for switching power mode of a computer system based on detection of a human interface device | |
TWI464571B (en) | A power saving electronic device for a computer motherboard in a standby dormant state and a computer motherboard | |
CN102150102B (en) | There is the circuit of low-power mode | |
JP6446548B2 (en) | Main MCU wake-up circuit, method and apparatus | |
TWI225982B (en) | Power shutdown method of wireless peripheral device | |
KR20150087668A (en) | Device for routing wakeup signal using physical layer for low power, method thereof, and data processing system having same | |
US11016548B2 (en) | Single chip system and reset method for single chip system | |
TWI482012B (en) | Computer and waking method thereof | |
WO2016004773A1 (en) | Full-touch system activation method and system thereof | |
WO2012027991A1 (en) | Method, device and system for bidirectional wake-up based on universal serial bus | |
CN202758480U (en) | Power-saving remote control | |
US9804660B2 (en) | Data storage device, method thereof, and data processing system including the same | |
CN105120314A (en) | Energy-saving method of touchpad remote controller | |
TWI641944B (en) | Electronic device having an auxiliary device for waking and an auxiliar method for waking applied therein | |
CN101387896B (en) | Method and device for implementing system-on-chip wake and sleep function in SOC | |
CN104484029A (en) | Electronic device and power-saving management method thereof | |
TW201237612A (en) | Computer system and operation method applicable thereto | |
WO2019128977A1 (en) | Terminal device and control method applied to terminal device | |
TW202008109A (en) | Computer wake-up method and computer power saving method | |
TWI397807B (en) | Energy-efficient touch panel device and related method | |
CN113741634A (en) | State control method based on wearable device and wearable device | |
TWI420287B (en) | Power control system, power control method, and computer system having the same | |
WO2014127690A1 (en) | Method for waking pos machine up using bluetooth | |
US20140115349A1 (en) | Computer apparatus and wake-up method thereof |