JP2015215643A - Electronic equipment and recovery control method from power saving state - Google Patents
Electronic equipment and recovery control method from power saving state Download PDFInfo
- Publication number
- JP2015215643A JP2015215643A JP2014096229A JP2014096229A JP2015215643A JP 2015215643 A JP2015215643 A JP 2015215643A JP 2014096229 A JP2014096229 A JP 2014096229A JP 2014096229 A JP2014096229 A JP 2014096229A JP 2015215643 A JP2015215643 A JP 2015215643A
- Authority
- JP
- Japan
- Prior art keywords
- usb
- state
- cpu
- control unit
- power
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Landscapes
- Control Or Security For Electrophotography (AREA)
- Power Sources (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
Description
本発明は、USBデバイスに接続される電子機器及び省電力状態からの復帰制御方法に関し、より詳しくは、電子機器がサスペンドモード(省電力状態)にあるときに、USBデバイスからの信号に基づき通常モード(通常電力状態)に復帰する電子機器及び省電力状態からの復帰制御方法に関する。 The present invention relates to an electronic device connected to a USB device and a return control method from a power saving state, and more specifically, based on a signal from a USB device when the electronic device is in a suspend mode (power saving state). The present invention relates to an electronic device that returns to a mode (normal power state) and a return control method from a power saving state.
USB(Universal Serial Bus)は、コンピュータ、画像形成装置等の電子機器(USBホスト)に、キーボード、マウス、デジタルカメラ等の周辺機器(USBデバイス)を接続するためのシリアルバス規格であり、USBホストとUSBデバイス間でのデータ通信を可能にする。
また、USBは、データ通信以外に、USBデバイスの駆動用の電源を、USBホストから供給することができる。
USB (Universal Serial Bus) is a serial bus standard for connecting peripheral devices (USB devices) such as keyboards, mice, and digital cameras to electronic devices (USB hosts) such as computers and image forming apparatuses. And data communication between USB devices.
In addition to data communication, USB can supply power for driving USB devices from a USB host.
USBホストとUSBデバイス間における省電力のための電源制御において、省電力に関係する機能として、リモートウェイクアップが知られている。
ここで、リモートウェイクアップとは、USBホストがサスペンドモードにあるときに、USBデバイスからのリモートウェイクアップ要求を表すリモートウェイクアップ信号をUSBホストに入力することで、USBホストをサスペンドモード(省電力モード)からノーマルモード(通常電力モード)へ復帰させる機能である。
In power control for power saving between a USB host and a USB device, remote wakeup is known as a function related to power saving.
Here, the remote wakeup refers to inputting a remote wakeup signal indicating a remote wakeup request from the USB device to the USB host when the USB host is in the suspend mode, so that the USB host is in the suspend mode (power saving mode). Mode) to return to normal mode (normal power mode).
一般に、USBホストとUSBデバイス間で通信がされていない状態(アイドル状態)が継続すると、USBホストは、消費電力を低減するために、サスペンドモードに移行する。USBホストがサスペンドモードに移行すると、USBデバイスとの通信に必要な電力が供給されなくなるため、USBデバイスは、USBホストに対して通信をすることができない。
そこで、USBデバイスは、USBホストをウェイクアップ(即ち、ノーマルモードに復帰)させるために、USBホストに対してリモートウェイクアップ信号を送信する。USBホストは、リモートウェイクアップ信号を検知すると、サスペンドモードから復帰し、USBデバイスとの通信を開始する。
Generally, when a state in which communication between the USB host and the USB device is not performed (idle state) continues, the USB host shifts to a suspend mode in order to reduce power consumption. When the USB host shifts to the suspend mode, the power necessary for communication with the USB device is not supplied, so the USB device cannot communicate with the USB host.
Therefore, the USB device transmits a remote wakeup signal to the USB host in order to wake up the USB host (that is, return to the normal mode). When the USB host detects the remote wake-up signal, the USB host returns from the suspend mode and starts communication with the USB device.
このようなリモートウェイクアップ機能を有するUSBホストとして、USBコネクタに接続されるUSBデバイスの種類によって、サスペンドモードへの移行有/無を制御する画像形成装置が知られている(特許文献1)。
特許文献1に記載された画像形成装置では、USBデバイスから送信されたリモートウェイクアップ信号を、内蔵するUSBコントローラにより検知し、リモートウェイクアップイベントが発生したことをCPU(Central Processing Unit)に通知して、CPUは画像形成装置の各構成要素をサスペンドモードから復帰させる。
As a USB host having such a remote wakeup function, there is known an image forming apparatus that controls whether or not to enter the suspend mode depending on the type of USB device connected to the USB connector (Patent Document 1).
In the image forming apparatus described in Patent Document 1, a remote wakeup signal transmitted from a USB device is detected by a built-in USB controller, and a CPU (Central Processing Unit) is notified that a remote wakeup event has occurred. Then, the CPU returns each component of the image forming apparatus from the suspend mode.
特許文献1に記載された画像形成装置では、内蔵するCPUに、リモートウェイクアップに対応する機能を持たせている。
しかし、画像形成装置を含む電子機器によっては、CPUにリモートウェイクアップに対応する機能を有していないものもある。その場合は、リモートウェイクアップ信号がUSBデバイスから送信され、USBコントローラで検知されても、電子機器はサスペンドモードから復帰することができない。
つまり、従来は、USBホストである電子機器がサスペンド状態にあるときに、接続されたUSBデバイスからのリモートウェイクアップ信号で電子機器をサスペンドモードから復帰させるためには、必ず、内蔵するCPUにリモートウェイクアップに対応する機能を持たせる必要があった。
In the image forming apparatus described in Patent Document 1, a built-in CPU has a function corresponding to remote wakeup.
However, some electronic devices including the image forming apparatus may not have a function corresponding to the remote wakeup in the CPU. In that case, even if a remote wakeup signal is transmitted from the USB device and detected by the USB controller, the electronic device cannot return from the suspend mode.
In other words, conventionally, when an electronic device that is a USB host is in a suspended state, in order to return the electronic device from the suspend mode with a remote wake-up signal from the connected USB device, the built-in CPU must be remotely connected. It was necessary to have a function to cope with wakeup.
本発明は、USBデバイスに接続される電子機器における前記従来の問題に鑑みてなされたものであって、その目的は、USBデバイスによるリモートウェイクアップ要求に対応する機能を、従来のようにCPUに持たせず、他の構成素子に持たせることでCPUの負荷を軽減し、電子機器の処理性能の低下を回避することである。 The present invention has been made in view of the above-described conventional problems in an electronic device connected to a USB device. The object of the present invention is to provide a function corresponding to a remote wake-up request by a USB device in a CPU as in the past. It is to reduce the load on the CPU by avoiding the deterioration of the processing performance of the electronic device by giving it to other constituent elements.
本発明は、USBデバイスを接続する接続手段と、前記USBデバイスとの通信を制御するUSBコントローラと、前記USBコントローラを制御する制御部と、を備えた電子機器であって、前記USBコントローラが、前記USBデバイスからのリモートウェイクアップ信号を検知するリモートウェイクアップ検知手段と、前記リモートウェイクアップ検知手段によりリモートウェイクアップ信号を検知したとき、前記USBコントローラを、省電力状態から通常電力状態に、電力状態を復帰させる状態復帰手段と、を有し、前記制御部が、前記USBコントローラの電力状態の変化に基づき、省電力状態から通常電力状態に、電力状態を遷移させる第1の状態遷移手段を有する電子機器に関する。 The present invention is an electronic device including a connection unit that connects a USB device, a USB controller that controls communication with the USB device, and a control unit that controls the USB controller, and the USB controller includes: A remote wakeup detection unit that detects a remote wakeup signal from the USB device; and when the remote wakeup signal is detected by the remote wakeup detection unit, the USB controller is switched from a power saving state to a normal power state. And a first state transition unit that transitions the power state from the power saving state to the normal power state based on a change in the power state of the USB controller. The present invention relates to an electronic device.
本発明によれば、電子機器において、USBデバイスによるリモートウェイクアップ要求に対応する機能をCPUより他の構成素子に持たせることでCPUの負荷を軽減し、電子機器の処理性能の低下を回避することができる。 According to the present invention, in an electronic device, a function corresponding to a remote wake-up request by a USB device is provided to other constituent elements than the CPU, thereby reducing the load on the CPU and avoiding a decrease in processing performance of the electronic device. be able to.
以下、本発明の実施形態について、図面を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(実施形態1)
図1は、本発明の実施形態1に係る電子機器のUSB制御部のブロック図である。
電子機器は、例えば、情報処理装置、画像形成装置等であり、ここではUSB制御部100Aを備える。USB制御部100Aには、USBデバイス200がUSBケーブル500等で接続される。
(Embodiment 1)
FIG. 1 is a block diagram of a USB control unit of an electronic device according to Embodiment 1 of the present invention.
The electronic device is, for example, an information processing apparatus or an image forming apparatus, and includes a
電子機器のUSB制御部(以下、単にUSB制御部という)100Aは、図1に示すように、主にCPU110A、USBコントローラ120、USBコネクタA130、USBコネクタB140、MPU(Micro Processing Unit)150、RAM(Random Access Memory)160等の各構成要素から構成される。
As shown in FIG. 1, a USB control unit (hereinafter simply referred to as a USB control unit) 100A of an electronic device mainly includes a
CPU110Aは、USB制御部100Aのコントローラ(制御部)として機能し、USB制御部100Aを制御する。
また、CPU110Aは、後述するMPU150のトリガ信号に基づき、USB制御部100Aの電力状態を遷移させる状態遷移手段(本発明における第2の状態遷移手段に対応する)を有する。
The
Further, the
USBコントローラ120には、USBデバイス200の接続を可能にする機能を有しており、USBコネクタA130及びUSBコネクタB140に接続されるUSBデバイス200との通信を制御する。
USBコントローラ120は、USBデバイス200からリモートウェイクアップ信号が送信されると、リモートウェイクアップ信号を検知し、サスペンドモードから復帰する。サスペンドモードからノーマルモードに復帰すると、USBコントローラ120は、ノーマルモードを示すステータス信号を、MPU150に送信する。
このように、USBコントローラ120は、リモートウェイクアップ信号を検知すると、USBコントローラ120の電力状態を、サスペンドモードからノーマルモードに復帰させる状態復帰手段を備えている。
The
When the remote wakeup signal is transmitted from the
As described above, when the
USBコネクタA130及びUSBコネクタB140は、USBインタフェース機能を有するコネクタであり、USB制御部100AとUSBデバイス200を接続するために用いられる。
The
MPU150は、USB制御部100Aの補助制御部であり、USB制御部100Aの各構成要素の状態(例えば、ノーマルモード、サスペンドモード等の状態)を監視し(具体的には、例えばUSB制御部100Aの各構成要素からステータス信号を受信し)、必要に応じて、CPU110Aに対してUSB制御部100Aの状態を制御する上で、制御のトリガとなる信号を送信する。
MPU150は、例えば、リモートウェイクアップを検知したUSBコントローラ120から(ノーマルモードを示す)ステータス信号を受信し、USBコントローラ120の状態が復帰したことを検知すると、CPU110Aをサスペンドモードからノーマルモードに復帰させるために、CPU110Aに復帰トリガ信号を送信する。
The MPU 150 is an auxiliary control unit of the
For example, when the MPU 150 receives a status signal (indicating the normal mode) from the
RAM160は、CPU110Aの各処理で生成されるデータを一時的に格納するための記憶装置である。
また、CPU110Aは、サスペンドモードに移行する前に、移行直前の作業状態(処理状態)をRAM160に記憶する。
The
In addition, the
USBデバイス200は、USB規格に準拠したハードウェアであり、本実施形態では、その近距離無線通信モジュール300をUSBコネクタA130にUSBケーブル500で接続し、またUSBメモリ400をUSBコネクタB140に挿入している。
なお、USBデバイス200は、リモートウェイクアップ信号の送信機能を有するUSBデバイス200であればよく、例えば、マウス、キーボード、トラックボール、タブレット、プリンタ、デジタルカメラ等であってもよい。
また、後述のフロー図を用いた説明では、近距離無線通信モジュール300を例に採って説明する。
The
The
Further, in the description using the flowchart described later, the short-range
USBケーブル500は、銅線等の金属導体、又は光ファイバ等の光導体から成り、USB制御部100AとUSBデバイス200の通信を可能とする。
本実施形態では、USBケーブル500として、USB制御部100AとUSBデバイス200を有線で接続しているが、無線(Wireless USB)を用いて接続し、通信することもできる。
The
In the present embodiment, the
図2は、図1のブロック構成に基づくUSB制御部100Aが、サスペンドモードに移行してから、ノーマルモードに復帰するまでの処理手順を示すフロー図である。
USB制御部100Aの電源がオンされると(S101)、CPU110AはMPU150よりサスペンド移行通知があるか確認する(S102)。
即ち、CPU110Aはサスペンド移行通知を待って(S102 No)、サスペンド移行通知がCPU110Aになされると(CPU110Aがサスペンド移行通知を確認すると)(S102 Yes)、CPU110Aは、USBコントローラ120、及び近距離無線通信モジュール300に対して、サスペンドモードに移行するように命令(制御)する(S103)。
FIG. 2 is a flowchart showing a processing procedure from when the
When the power source of the
That is, the
CPU110Aのサスペンドモード移行命令(S103)に従って、USBコントローラ120、及び近距離無線通信モジュール300がサスペンドモードに移行すると(S104)、CPU110Aは、USB制御部100Aの現在の処理状態(設定)をRAM160に保存し、サスペンドモードに移行する(STR:Suspend to RAM)(S105)。
When the
USB制御部100Aがサスペンドモードに移行した後、近距離無線通信モジュール300に、例えば、ICカードやスマートフォンよりアクセスがあると、近距離無線通信モジュール300は、USB制御部100Aにリモートウェイクアップイベントを発行する(即ち、リモートウェイクアップ信号を送信する)。
USBコントローラ120は、近距離無線通信モジュール300によりUSB制御部100Aに送信されたリモートウェイクアップ信号を検知すると(S106 Yes)、サスペンドモードからノーマルモードに復帰し、ステータス信号をMPU150に送信する(S107)。
After the
When the
MPU150は、USBコントローラ120よりステータス信号を受信し、USBコントローラ120の状態が遷移したことを検知すると、USB制御部100Aの状態をサスペンドモードからノーマルモードに復帰させるように、CPU110Aに対して復帰トリガ信号を送信する(S108)。
When the
CPU110Aは、MPU150より復帰トリガ信号を受信すると、サスペンドモードからノーマルモードに復帰する(S109)。
CPU110Aは、ノーマルモードに復帰すると(S109)、USB制御部100Aの各構成要素をサスペンドモードから復帰させ、リジューム(サスペンドモードに移行する直前に保存した処理状態を再現)する(S110)。
When the
When the
CPU110Aは、USB制御部100Aの各構成要素を復帰させると(S110)、近距離無線通信モジュール300からの応答があるか否か判定する(S111)。
CPU110Aは、近距離無線通信モジュール300から応答があると判定すると(S111 Yes)、この処理を終了して、近距離無線通信モジュール300との通信処理を継続する。
また、CPU110Aは、近距離無線通信モジュール300から応答がないと判定すると(S111 No)、近距離無線通信モジュール300に対してリセットして、再接続を行う(S112)。
When the
When determining that there is a response from the short-range wireless communication module 300 (S111 Yes), the
If the
(実施形態2)
図3は、本発明の実施形態2に係る電子機器のUSB制御部のブロック図である。
実施形態2では、実施形態1に係る電子機器のUSB制御部(USB制御部100A)を構成する各構成要素の状態を監視及び管理するMPU150をCPU110Bに実装させている。
そのため、実施形態2に係る電子機器のUSB制御部(以下、USB制御部100B)では、USBコントローラ120は、(MPU150を介することなく)バッファ170のみを介してCPU110Bに接続される。
なお、図3において、実施形態1と同じ機能(動作)を有する構成要素には、図1と同じ符号を付している。
また、CPU(110B)については、MPU150を内部に備えることから、実施形態1より符号を変更している。CPU110Bは、USBコントローラ120の電力状態の変化に基づき、USB制御部100Bの電力状態を遷移させる状態遷移手段(本発明の第1の状態遷移手段に対応する)を有する。
(Embodiment 2)
FIG. 3 is a block diagram of the USB control unit of the electronic apparatus according to the second embodiment of the present invention.
In the second embodiment, an
Therefore, in the USB control unit (hereinafter,
In FIG. 3, components having the same function (operation) as those in the first embodiment are denoted by the same reference numerals as those in FIG. 1.
Moreover, about CPU (110B), since MPU150 is provided inside, the code | symbol is changed from Embodiment 1. FIG. The
図4は、図3のブロック構成に基づくUSB制御部100Bが、サスペンドモードに移行してから、ノーマルモードに復帰するまでの処理手順を示すフロー図である。
USB制御部100Bの電源がオンされ(S201)、その後にUSB制御部100Bがアイドル状態になると、CPU110Bは、アイドル状態が所定の時間以上継続しているか否かを判定する(S202)。
FIG. 4 is a flowchart showing a processing procedure from when the
When the power source of the
CPU110Bは、USB制御部100Bのアイドル状態が所定の時間以上継続するまで待って(S202 No)、アイドル状態が所定の時間以上継続していると判定すると(S202 Yes)、CPU110Bは、USBコントローラ120、及び近距離無線通信モジュール300に対して、サスペンドモードに移行するように命令(制御)する(S203)。
When the
ステップS204において、CPU110Bのサスペンドモード移行命令(S203)に従って、USBコントローラ120、及び近距離無線通信モジュール300がサスペンドモードに移行すると(S204)、CPU110Bは、USB制御部100Bの現在の処理状態(設定)をRAM160に保存し、サスペンドモードに移行する(S205)。
In step S204, when the
USB制御部100Bがサスペンドモードに移行した後、近距離無線通信モジュール300に、例えば、ICカードやスマートフォンよりアクセスがあると、近距離無線通信モジュール300は、USB制御部100Bにリモートウェイクアップイベントを発行する(即ち、リモートウェイクアップ信号を送信する)。
USBコントローラ120は、近距離無線通信モジュール300によりUSB制御部100Bに送信されたリモートウェイクアップ信号を検知すると(S206 Yes)、サスペンドモードからノーマルモードに復帰し、ステータス信号をCPU110Bに送信する(S207)。
After the
When the
CPU110Bは、USBコントローラ120よりステータス信号を受信し、USBコントローラ120の状態が遷移したことを検知すると、サスペンドモードからノーマルモードに復帰する(S208)。
ステップS208で、CPU110Bは、ノーマルモードに復帰すると、USB制御部100Bの各構成要素をサスペンドモードから復帰させ、リジュームする(S209)。
When the
In step S208, when returning to the normal mode, the
CPU110Bは、USB制御部100Bの各構成要素を復帰させると(S209)、近距離無線通信モジュール300からの応答があるか否か判定する(S210)。
CPU110Bは、近距離無線通信モジュール300から応答があると判定すると(S210 Yes)、この処理を終了して、近距離無線通信モジュール300との通信処理を継続する。
また、CPU110Bは、近距離無線通信モジュール300から応答がないと判定すると(S210 No)、近距離無線通信モジュール300をリセットして、再接続を行う(S211)。
When the
When the
If the
(実施形態3)
図5は、図1のブロック構成に基づくUSB制御部100Aが、サスペンドモードに移行してから、ノーマルモードに復帰するまでの処理手順を示すフロー図であり、実施形態3(図5)では、USBコントローラ120、及び近距離無線通信モジュール300がサスペンドモードに移行した後、CPU110AのUSBの処理に関係する電源(以下、USB処理用電源)をオフする。
(Embodiment 3)
FIG. 5 is a flowchart showing a processing procedure from when the
USB制御部100Aの電源がオンされると(S301)、CPU110AはMPU150よりサスペンド移行通知があるか確認する(S302)。
即ち、CPU110Aはサスペンド移行通知を待って(S302 No)、サスペンド移行通知がCPU110Aになされると(CPU110Aがサスペンド移行通知を確認すると)(S302 Yes)、CPU110Aは、USBコントローラ120、及び近距離無線通信モジュール300に対して、サスペンドモードに移行するように命令(制御)する(S303)。
When the power source of the
That is, the
CPU110Aのサスペンドモード移行命令(S303)に従って、USBコントローラ120、及び近距離無線通信モジュール300がサスペンドモードに移行すると(S304)、CPU110Aは、USB処理用電源をオフする(S305)。
CPU110Aは、USB処理用電源をオフすると(S305)、USB制御部100Aの現在の処理状態(設定)をRAM160に保存し、サスペンドモードに移行する(S306)。
When the
When the CPU processing power is turned off (S305), the
USB制御部100Aがサスペンドモードに移行した後、近距離無線通信モジュール300に、例えば、ICカードやスマートフォンよりアクセスがあると、近距離無線通信モジュール300は、USB制御部100Aにリモートウェイクアップイベントを発行する(リモートウェイクアップ信号を送信する)。
USBコントローラ120は、近距離無線通信モジュール300によりUSB制御部100Aに送信されたリモートウェイクアップ信号を検知すると(S307 Yes)、サスペンドモードからノーマルモードに復帰し、ステータス信号をMPU150に送信する(S308)。
After the
When the
MPU150は、USBコントローラ120よりステータス信号を受信し、USBコントローラ120の状態が遷移したことを検知すると、USB制御部100Aの状態をサスペンドモードからノーマルモードに復帰させるように、CPU110Aに対して復帰トリガ信号を送信する(S309)。
When the
CPU110Aは、MPU150より復帰トリガ信号を受信すると、サスペンドモードからノーマルモードに復帰する(S310)。
CPU110Aは、ノーマルモードに復帰すると(S310)、USB処理用電源をオンする(S311)。
そして、USB処理用電源がオンされると(S311)、CPU110Aは、USB制御部100Aの各構成要素をサスペンドモードから復帰させ、リジュームする(S312)。
When the
When returning to the normal mode (S310), the
When the USB processing power is turned on (S311), the
CPU110Aは、USB制御部100Aの各構成要素を復帰させると(S312)、近距離無線通信モジュール300からの応答があるか否か判定する(S313)。
CPU110Aは、近距離無線通信モジュール300から応答があると判定すると(S313 Yes)、この処理を終了して、近距離無線通信モジュール300との通信処理を継続する。
また、CPU110Aは、近距離無線通信モジュール300から応答がないと判定すると(S313 No)、近距離無線通信モジュール300に対してリセットして、再接続を行う(S314)。
When the
When determining that there is a response from the short-range wireless communication module 300 (S313 Yes), the
If the
(実施形態4)
図6は、図3のブロック構成に基づくUSB制御部100Bが、サスペンドモードに移行してから、ノーマルモードに復帰するまでの処理手順を示すフロー図であり、実施形態4(図6)では、USBコントローラ120、及び近距離無線通信モジュール300がサスペンドモードに移行した後、CPU110BのUSB処理用電源をオフする。
USB制御部100Bの電源がオンされ(S401)、その後にUSB制御部100Bがアイドル状態になると、CPU110Bは、アイドル状態が所定の時間以上継続しているか否かを判定する(S402)。
(Embodiment 4)
FIG. 6 is a flowchart showing a processing procedure from when the
When the power source of the
CPU110Bは、USB制御部100Bのアイドル状態が所定の時間以上継続するまで待って(S402 No)、アイドル状態が所定の時間以上継続していると判定すると(S402 Yes)、CPU110Bは、USBコントローラ120、及び近距離無線通信モジュール300に対して、サスペンドモードに移行するように命令(制御)する(S403)。
When the
CPU110Bのサスペンドモード移行命令(S403)に従って、USBコントローラ120、及び近距離無線通信モジュール300がサスペンドモードに移行すると(S404)、CPU110Bは、USB処理用電源をオフする(S405)。
CPU110Bは、USB処理用電源をオフすると(S405)、USB制御部100Bの現在の処理状態(設定)をRAM160に保存し、サスペンドモードに移行する(S406)。
When the
When the CPU processing power is turned off (S405), the
USB制御部100Bがサスペンドモードに移行した後、近距離無線通信モジュール300に、例えば、ICカードやスマートフォンよりアクセスがあると、近距離無線通信モジュール300は、USB制御部100Bにリモートウェイクアップイベントを発行(即ち、リモートウェイクアップ信号を送信)する。
USBコントローラ120は、近距離無線通信モジュール300によりUSB制御部100Bに送信されたリモートウェイクアップ信号を検知すると(S407 Yes)、サスペンドモードからノーマルモードに復帰し、ステータス信号をCPU110Bに送信する(S408)。
After the
When the
CPU110Bは、USBコントローラ120よりステータス信号を受信し、USBコントローラ120の状態が遷移したことを検知すると、サスペンドモードからノーマルモードに復帰する(S409)。
CPU110Bは、ノーマルモードに復帰すると(S409)、USB処理用電源をオンする(S410)。
そして、USB処理用電源がオンされると(S410)、CPU110Bは、USB制御部100Bの各構成要素をサスペンドモードから復帰させ、リジュームする(S411)。
When the
When returning to the normal mode (S409), the
When the USB processing power supply is turned on (S410), the
CPU110Bは、USB制御部100Bの各構成要素を復帰させると(S411)、近距離無線通信モジュール300からの応答があるか否か判定する(S412)。
CPU110Bは、近距離無線通信モジュール300から応答があると判定すると(S412 Yes)、この処理を終了して、近距離無線通信モジュール300との通信処理を継続する。
また、CPU110Bは、近距離無線通信モジュール300から応答がないと判定すると(S412 No)、近距離無線通信モジュール300に対してリセットして、再接続を行う(S413)。
When the
If the
If the
以上、説明したように、本発明の実施形態に係る電子機器によれば、電子機器のCPUがリモートウェイクアップに対応する機能を有していなくても、リモートウェイクアップによりサスペンドモードから復帰させることができる。
即ち、USBコントローラは、USBデバイスからのリモートウェイクアップ信号を検知すると、サスペンドモードからノーマルモードに復帰し、ノーマルモードを示すステータス信号をMPU又はCPUに送信することで、USBホストをサスペンドモードから復帰させることができる。このように、リモートウェイクアップ要求に対応する機能をUSBコントローラに持たせることでCPUの負荷を軽減し、電子機器の処理性能の低下を回避することができる。
また、CPUは、USBコントローラ及び近距離無線通信モジュールをサスペンドモードに移行させた後、CPUのUSB処理用電源をオフすることで、消費電力を低減することができる。
As described above, according to the electronic device according to the embodiment of the present invention, even if the CPU of the electronic device does not have a function corresponding to the remote wakeup, the electronic device can be returned from the suspend mode by the remote wakeup. Can do.
That is, when the USB controller detects a remote wake-up signal from the USB device, it returns from the suspend mode to the normal mode, and sends a status signal indicating the normal mode to the MPU or CPU, thereby returning the USB host from the suspend mode. Can be made. As described above, by providing the USB controller with a function corresponding to the remote wake-up request, it is possible to reduce the load on the CPU and avoid the deterioration of the processing performance of the electronic device.
Further, the CPU can reduce power consumption by turning off the USB processing power of the CPU after the USB controller and the short-range wireless communication module are shifted to the suspend mode.
100A…USB制御部、110A…CPU、120…USBコントローラ、130…USBコネクタA、140…USBコネクタB、150…MPU、160…RAM、200…USBデバイス、300…近距離無線通信モジュール、400…USBメモリ、500…USBケーブル。
DESCRIPTION OF
Claims (6)
前記USBデバイスとの通信を制御するUSBコントローラと、
前記USBコントローラを制御する制御部と、
を備えた電子機器であって、
前記USBコントローラが、
前記USBデバイスからのリモートウェイクアップ信号を検知するリモートウェイクアップ検知手段と、
前記リモートウェイクアップ検知手段によりリモートウェイクアップ信号を検知したとき、前記USBコントローラを、省電力状態から通常電力状態に、電力状態を復帰させる状態復帰手段と、
を有し、
前記制御部が、
前記USBコントローラの電力状態の変化に基づき、省電力状態から通常電力状態に、電力状態を遷移させる第1の状態遷移手段
を有する電子機器。 A connection means for connecting a USB device;
A USB controller for controlling communication with the USB device;
A control unit for controlling the USB controller;
An electronic device comprising:
The USB controller is
Remote wakeup detection means for detecting a remote wakeup signal from the USB device;
A state returning means for returning the power state from the power saving state to the normal power state when a remote wakeup signal is detected by the remote wakeup detecting means;
Have
The control unit is
An electronic device comprising: first state transition means for transitioning the power state from the power saving state to the normal power state based on a change in the power state of the USB controller.
前記USBコントローラが、前記USBコントローラが省電力状態又は通常電力状態にあることを示す状態信号を出力する状態信号出力手段を有する電子機器。 The electronic device according to claim 1,
An electronic apparatus, wherein the USB controller includes a state signal output unit that outputs a state signal indicating that the USB controller is in a power saving state or a normal power state.
前記USBコントローラの電力状態の変化に基づき、状態遷移に関するトリガ信号を生成し、前記制御部に送信する補助制御部を有し、
前記制御部が、
前記補助制御部より送信される前記トリガ信号に基づき、省電力状態から通常電力状態に、電力状態を遷移させる第2の状態遷移手段
を有する電子機器。 In the electronic device according to claim 1 or 2,
Based on a change in the power state of the USB controller, an auxiliary control unit that generates a trigger signal related to state transition and transmits the trigger signal to the control unit;
The control unit is
An electronic apparatus comprising: a second state transition unit that transitions a power state from a power saving state to a normal power state based on the trigger signal transmitted from the auxiliary control unit.
前記制御部が、省電力状態から通常電力状態への復帰時に、前記USBデバイスに再接続するよう制御する電子機器。 The electronic device according to any one of claims 1 to 3,
An electronic device that controls the control unit to reconnect to the USB device when returning from a power saving state to a normal power state.
前記制御部が、通常電力状態から省電力状態に遷移する前に、USBの処理用電源をオフするよう制御する電子機器。 The electronic device according to any one of claims 1 to 4,
An electronic device that controls the USB processing power to be turned off before the control unit transitions from a normal power state to a power saving state.
前記USBデバイスからのリモートウェイクアップ信号を検知するリモートウェイクアップ検知工程と、
前記リモートウェイクアップ検知工程においてリモートウェイクアップ信号を検知したとき、前記USBコントローラを、省電力状態から通常電力状態に、電力状態を復帰させる状態復帰工程と、
前記状態復帰工程における、前記USBコントローラの電力状態の変化に基づき、省電力状態から通常電力状態に、電力状態を遷移させる状態遷移工程と、
を有する電子機器における省電力状態からの復帰制御方法。 A return control method from a power saving state in an electronic device comprising: a connection unit that connects a USB device; a USB controller that controls communication with the USB device; and a control unit that controls the USB controller,
A remote wakeup detection step of detecting a remote wakeup signal from the USB device;
A state returning step of returning the power state from the power saving state to the normal power state when a remote wakeup signal is detected in the remote wakeup detecting step;
A state transition step of transitioning the power state from the power saving state to the normal power state based on a change in the power state of the USB controller in the state return step;
Control method for returning from power saving state in electronic device having
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014096229A JP2015215643A (en) | 2014-05-07 | 2014-05-07 | Electronic equipment and recovery control method from power saving state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014096229A JP2015215643A (en) | 2014-05-07 | 2014-05-07 | Electronic equipment and recovery control method from power saving state |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2015215643A true JP2015215643A (en) | 2015-12-03 |
Family
ID=54752513
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014096229A Pending JP2015215643A (en) | 2014-05-07 | 2014-05-07 | Electronic equipment and recovery control method from power saving state |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2015215643A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020102857A (en) * | 2016-01-14 | 2020-07-02 | クゥアルコム・インコーポレイテッドQualcomm Incorporated | Wake-up detector |
CN112075943A (en) * | 2020-09-02 | 2020-12-15 | 北京华益精点生物技术有限公司 | Starting communication device and method for blood glucose meter |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11194847A (en) * | 1998-01-06 | 1999-07-21 | Toshiba Corp | Computer system and initialization controller |
JP2010086068A (en) * | 2008-09-29 | 2010-04-15 | Canon Inc | Information processing system and control method thereof, and computer program |
JP2010282607A (en) * | 2009-05-01 | 2010-12-16 | Ricoh Co Ltd | Communication device, method of controlling communication device, program, and storage medium |
JP2013020297A (en) * | 2011-07-07 | 2013-01-31 | Panasonic Corp | Integrated circuit device and control method thereof |
-
2014
- 2014-05-07 JP JP2014096229A patent/JP2015215643A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11194847A (en) * | 1998-01-06 | 1999-07-21 | Toshiba Corp | Computer system and initialization controller |
JP2010086068A (en) * | 2008-09-29 | 2010-04-15 | Canon Inc | Information processing system and control method thereof, and computer program |
JP2010282607A (en) * | 2009-05-01 | 2010-12-16 | Ricoh Co Ltd | Communication device, method of controlling communication device, program, and storage medium |
JP2013020297A (en) * | 2011-07-07 | 2013-01-31 | Panasonic Corp | Integrated circuit device and control method thereof |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020102857A (en) * | 2016-01-14 | 2020-07-02 | クゥアルコム・インコーポレイテッドQualcomm Incorporated | Wake-up detector |
CN112075943A (en) * | 2020-09-02 | 2020-12-15 | 北京华益精点生物技术有限公司 | Starting communication device and method for blood glucose meter |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI569151B (en) | Universal serial bus active cable assembly and power management system and method | |
CN107111588B (en) | Data transfer using PCIe protocol via USB port | |
JP2015174375A (en) | Image forming device and control method for the same, and program | |
EP2849078B1 (en) | Electronic device, control method of electronic device, and image forming apparatus | |
JP2008140311A (en) | Electronic apparatus and interface system | |
US10681236B2 (en) | Information processing apparatus that controls power supply to different destinations, method of controlling the same, and storage medium | |
JP2007072907A (en) | Control system, electronic device, and image forming device | |
US20130198535A1 (en) | Electronic device | |
US20150253842A1 (en) | Semiconductor device, and power control method for usbotg | |
KR101706906B1 (en) | Communication device and method | |
JP2006099354A (en) | Data transfer control device and data transfer control method | |
JP2019159921A (en) | System, electronic device, and connection control method | |
JP2013142908A (en) | Electronic apparatus | |
JP2005151326A (en) | Data transfer control device and electronic device | |
JP2015215643A (en) | Electronic equipment and recovery control method from power saving state | |
JP2018147123A (en) | Electronic apparatus and control method thereof | |
JP6014627B2 (en) | Electronic device power mode switching system | |
JP4514604B2 (en) | USB device system, digital printer and digital camera | |
JP2015052830A (en) | Printing system, information processing apparatus, program, and control method | |
EP2725811B1 (en) | Image output apparatus and corresponding control program | |
JP6642148B2 (en) | Power management system for power supply equipment | |
JP6938991B2 (en) | Information processing equipment, programs and information processing systems | |
JP2006085248A (en) | Portable apparatus having host function | |
JP6586832B2 (en) | Information processing device | |
JP7596131B2 (en) | Relay device, control method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170421 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20171228 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180116 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20180710 |