JP2019047592A - Electronic apparatus - Google Patents

Electronic apparatus Download PDF

Info

Publication number
JP2019047592A
JP2019047592A JP2017166977A JP2017166977A JP2019047592A JP 2019047592 A JP2019047592 A JP 2019047592A JP 2017166977 A JP2017166977 A JP 2017166977A JP 2017166977 A JP2017166977 A JP 2017166977A JP 2019047592 A JP2019047592 A JP 2019047592A
Authority
JP
Japan
Prior art keywords
power supply
control unit
power
external device
mode
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.)
Granted
Application number
JP2017166977A
Other languages
Japanese (ja)
Other versions
JP7006026B2 (en
Inventor
雅樹 大竹
Masaki Otake
雅樹 大竹
宇佐美 元
Hajime Usami
元 宇佐美
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2017166977A priority Critical patent/JP7006026B2/en
Publication of JP2019047592A publication Critical patent/JP2019047592A/en
Application granted granted Critical
Publication of JP7006026B2 publication Critical patent/JP7006026B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide an electronic apparatus capable of appropriately setting whether to transit from a first power supply mode to a second power supply mode or to supply electric power to an external apparatus while remaining in the first power supply mode when the external apparatus is connected to an interface at a time of the first power supply mode.SOLUTION: When a controller 15 receives information that an external device 2 is a host apparatus from the external device 2 via a USB interface 13 or information that the external device 2 is a non-battery drive type function apparatus at a time of a first power supply mode, the controller is shifted from the first power supply mode to a second power supply mode. When the controller 15 receives information via the USB interface 13 that the external device 2 is a battery drive type function apparatus at a time of the first power supply mode, electric power is supplied to the external device 2 via the USB interface 13 in accordance with a power supply request from the external device 2 while remaining in the first power supply mode.SELECTED DRAWING: Figure 1

Description

本発明は、電子機器に関する。   The present invention relates to an electronic device.

MFP(Multi-Function Peripheral)などの電子機器には、外部機器とのインタフェースとして、USB(Universal Serial Bus)インタフェースが備えられている。USBインタフェースに外部機器が接続されることにより、機器間のデータ通信のみだけでなく、電子機器から外部機器への電力供給が可能になる。   An electronic device such as MFP (Multi-Function Peripheral) is provided with a USB (Universal Serial Bus) interface as an interface with an external device. By connecting an external device to the USB interface, power can be supplied from the electronic device to the external device as well as data communication between the devices.

USBインタフェースに外部機器が接続されたときに、電力供給のホストとなる電子機器の各部に電力が供給される通常モードであれば、USBインタフェースを介して外部機器に直ちに電力が供給される。ところが、少なくとも一部に電力が供給されていない省電力モードである場合に、USBインタフェースに接続された外部機器への給電のためだけに、省電力モードを解除して通常モードに切り替えなければならないのであれば、それは無駄な電力の消費となる。   When an external device is connected to the USB interface, power is immediately supplied to the external device through the USB interface in the normal mode in which power is supplied to each part of the electronic device serving as a host of power supply. However, in the power saving mode where power is not supplied to at least part of the power saving mode, the power saving mode must be canceled and switched to the normal mode only for supplying power to the external device connected to the USB interface. If so, that would be wasted power consumption.

そこで、省電力モードでUSBインタフェースに外部機器が接続された場合に、省電力モードのまま外部機器への電力の供給を可能とする構成が提案されている。   Therefore, when an external device is connected to the USB interface in the power saving mode, a configuration has been proposed that enables power supply to the external device in the power saving mode.

特開2012−120433号公報JP 2012-120433 A 特開2014−68526号公報JP, 2014-68526, A

しかしながら、省電力モードでUSBインタフェースに外部機器が接続された場合に、省電力モードのまま外部機器に電力を供給することが望ましい場合もあれば、省電力モードを解除して外部機器に電力を供給することが望ましい場合もある。   However, when an external device is connected to the USB interface in the power saving mode, it may be desirable to supply power to the external device in the power saving mode, the power saving mode may be canceled and power may be output to the external device. It may be desirable to supply.

本発明の目的は、省電力モードである第1給電モード時に外部機器がインタフェースに接続された場合に、第1給電モードから第2給電モードに移行するか、または、第1給電モードのままインタフェース経由で外部機器に電力を供給するかを適切に設定することができる、電子機器を提供することである。   An object of the present invention is to transition from the first power supply mode to the second power supply mode when the external device is connected to the interface in the first power supply mode which is a power saving mode, or to maintain the first power supply mode in the interface It is an object of the present invention to provide an electronic device capable of appropriately setting whether to supply power to an external device via the device.

前記の目的を達成するため、本発明に係る電子機器は、電源と、電源からの給電により動作する動作部と、外部機器が接続され、その接続された外部機器に給電可能なインタフェースとを備え、動作部は、インタフェースと信号線を介して接続された制御部を含み、制御部が電源を制御するモードとして、少なくとも制御部に給電される第1給電モードと、動作部に供給される電力が第1給電モードよりも多い第2給電モードとが設定されており、制御部は、第1給電モード時にインタフェースへの外部機器の接続を検出した後、インタフェース経由で第1情報を受信したことに応じて、第1給電モードから第2給電モードに移行し、インタフェース経由で第2情報を受信したことに応じて、インタフェース経由で外部機器への給電を開始する。   In order to achieve the above object, an electronic device according to the present invention includes a power supply, an operation unit operated by power supply from the power supply, and an interface connected to an external device and capable of supplying power to the connected external device. The operating unit includes a control unit connected to the interface via the signal line, and the control unit controls at least the first power supply mode for supplying power to the control unit, and the power supplied to the operating unit as a mode for controlling the power supply. That the second power supply mode is set to be more than the first power supply mode, and the control unit detects the connection of the external device to the interface in the first power supply mode, and then receives the first information via the interface Transition from the first power supply mode to the second power supply mode, and starts power supply to the external device through the interface in response to the reception of the second information through the interface. .

この構成によれば、第1給電モードでは、少なくとも制御部に電力が供給される。第2給電モードでは、動作部に供給される電力が第1給電モードよりも多い。第1給電モード時に外部機器がインタフェースに接続されて、制御部がインタフェース経由で第1情報を受信した場合、第1給電モードから第2給電モードに移行する。また、第1給電モード時に外部機器がインタフェースに接続されて、制御部がインタフェース経由で第2情報を受信した場合には、第1給電モードのまま、インタフェース経由で外部機器に電力が供給される。   According to this configuration, power is supplied to at least the control unit in the first power feeding mode. In the second feeding mode, the power supplied to the operating unit is larger than that in the first feeding mode. When the external device is connected to the interface in the first power feeding mode and the control unit receives the first information via the interface, the first power feeding mode is shifted to the second power feeding mode. Also, when the external device is connected to the interface in the first power supply mode and the control unit receives the second information via the interface, power is supplied to the external device via the interface while the first power supply mode is maintained. .

よって、制御部が外部機器から第1情報を受信するか第2情報を受信するかに応じて、第1給電モードから第2給電モードに移行するか、または、第1給電モードのまま外部機器に電力を供給するかを適切に設定することができる。   Therefore, depending on whether the control unit receives the first information or the second information from the external device, transition from the first power feeding mode to the second power feeding mode, or the external device remains in the first power feeding mode. It is possible to properly set whether to supply power to the

本発明によれば、第1給電モード時に外部機器がインタフェースに接続された場合に、第1給電モードから第2給電モードに移行するか、または、第1給電モードのままインタフェース経由で外部機器に電力を供給するかを適切に設定することができる。   According to the present invention, when the external device is connected to the interface in the first power feeding mode, the first power feeding mode is shifted to the second power feeding mode, or the external power device is switched to the external device via the interface while the first power feeding mode remains. It can be set appropriately whether to supply power.

本発明の一実施形態に係るプリンタの電気的構成を示すブロック図である。FIG. 1 is a block diagram showing an electrical configuration of a printer according to an embodiment of the present invention. メイン処理(その1)の流れを示すフローチャートである。It is a flowchart which shows the flow of main processing (the 1). 第1処理(その1)の流れを示すフローチャートである。It is a flowchart which shows the flow of a 1st process (the 1). 第2処理(その1)の流れを示すフローチャートである。It is a flowchart which shows the flow of 2nd process (the 1). 第3処理(その1)の流れを示すフローチャートである。It is a flowchart which shows the flow of 3rd processing (the 1). 本発明の他の実施形態に係るプリンタの電気的構成を示すブロック図である。FIG. 7 is a block diagram showing an electrical configuration of a printer according to another embodiment of the present invention. メイン処理(その2)の流れを示すフローチャートである。It is a flowchart which shows the flow of main processing (the 2). 第1処理(その2)の流れを示すフローチャートである。It is a flowchart which shows the flow of 1st process (the 2). 第2処理(その2)の流れを示すフローチャートである。It is a flowchart which shows the flow of 2nd processing (the 2). 第3処理(その2)の流れを示すフローチャートである。It is a flowchart which shows the flow of 3rd process (the 2). 第1処理(その3)の流れを示すフローチャートである。It is a flowchart which shows the flow of 1st process (the 3). 第2処理(その3)の流れを示すフローチャートである。It is a flowchart which shows the flow of 2nd processing (the 3). 第3処理(その3)の流れを示すフローチャートである。It is a flowchart which shows the flow of 3rd process (the 3).

以下では、本発明の実施の形態について、添付図面を参照しつつ詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the attached drawings.

<プリンタの電気的構成>
図1に示されるプリンタ1は、電子機器の一例であり、画像形成部11、表示操作パネル12、USB(Universal Serial Bus)インタフェース(I/F)13および電源14を備えている。
<Electric Configuration of Printer>
The printer 1 illustrated in FIG. 1 is an example of an electronic device, and includes an image forming unit 11, a display operation panel 12, a USB (Universal Serial Bus) interface (I / F) 13, and a power supply 14.

画像形成部11は、動作部の一例であり、プリンタ1内の搬送路を1枚ずつ搬送されるプリント用紙などのシートに対して画像データに係るカラー画像またはモノクロ画像を形成する。画像形成の方式は、電子写真方式であってもよいし、インクジェット方式であってもよい。   The image forming unit 11 is an example of an operation unit, and forms a color image or a monochrome image according to image data on a sheet such as a print sheet which is conveyed one by one on the conveyance path in the printer 1. The image forming method may be an electrophotographic method or an inkjet method.

表示操作パネル12は、動作部の一例であり、たとえば、液晶タッチパネルからなり、各種の情報を表示する表示部および表示部へのタッチ操作に応じた信号を出力する出力部を有している。   The display operation panel 12 is an example of an operation unit, and includes, for example, a liquid crystal touch panel, and has a display unit that displays various types of information and an output unit that outputs a signal according to a touch operation on the display unit.

USBインタフェース13は、インタフェースの一例であり、外部機器2とのUSB接続のためのインタフェースである。USBインタフェース13には、外部機器2に接続されるUSBケーブルのコネクタまたは外部機器2に設けられたUSBコネクタを差し込むためのUSBポートP1,P2が設けられている。USBポートP1は、たとえば、タイプAのUSBポートである。USBポートP1に接続される外部機器2は、プリンタ1に対して受動的に動作するファンクション機器であり、プリンタ1は、外部機器2に対して能動的に動作するホスト機器となる。USBポートP2は、たとえば、タイプBのUSBポートである。USBポートP2に接続される外部機器2は、プリンタ1に対して能動的に動作するホスト機器であり、プリンタ1は、外部機器2に対して受動的に動作するファンクション機器となる。   The USB interface 13 is an example of an interface, and is an interface for USB connection with the external device 2. The USB interface 13 is provided with USB ports P1, P2 for inserting a connector of a USB cable connected to the external device 2 or a USB connector provided in the external device 2. The USB port P1 is, for example, a type A USB port. The external device 2 connected to the USB port P1 is a function device that operates passively to the printer 1, and the printer 1 is a host device that operates actively to the external device 2. The USB port P2 is, for example, a type B USB port. The external device 2 connected to the USB port P2 is a host device that operates actively with respect to the printer 1, and the printer 1 is a function device that operates passively with respect to the external device 2.

電源14は、商用交流電源に接続されて、商用交流電源から供給される電力を各部に適した電力に変換して各部に供給する。   The power supply 14 is connected to a commercial AC power supply, converts power supplied from the commercial AC power supply into power suitable for each component, and supplies the power to each component.

また、プリンタ1には、制御部15が設けられている。制御部15は、CPUを内蔵するASIC(Application Specific Integrated Circuit)、ROMおよびRAMなどを備えている。制御部15には、画像形成部11、表示操作パネル12、USBインタフェース13および電源14が接続されている。CPUは、制御部15に入力される信号などに基づいて、ROMに記憶されているプログラムを実行することにより、画像形成部11、表示操作パネル12および電源14の動作を制御する。また、制御部15は、USBポートP1,P2に接続された外部機器2との間でUSB−PD(Power Delivery)プロトコルによる通信を行う。CPUによる制御(プログラム)の実行時、RAMがワークエリアとして使用される。RAMには、NVRAM(Non Volatile RAM)などの不揮発性メモリが含まれている。   In addition, the control unit 15 is provided in the printer 1. The control unit 15 includes an application specific integrated circuit (ASIC) incorporating a CPU, a ROM, a RAM, and the like. An image forming unit 11, a display operation panel 12, a USB interface 13, and a power supply 14 are connected to the control unit 15. The CPU controls the operation of the image forming unit 11, the display operation panel 12, and the power supply 14 by executing a program stored in the ROM based on a signal input to the control unit 15. Further, the control unit 15 communicates with the external device 2 connected to the USB ports P1 and P2 according to the USB-PD (Power Delivery) protocol. The RAM is used as a work area when executing control (program) by the CPU. The RAM includes nonvolatile memory such as NVRAM (Non Volatile RAM).

<メイン処理>
制御部15のCPUは、図2に示されるメイン処理を実行する。
<Main processing>
The CPU of the control unit 15 executes the main processing shown in FIG.

メイン処理では、CPUは、USBポートP1,P2に外部機器2が接続されたか否かを判別する(S1)。   In the main process, the CPU determines whether the external device 2 is connected to the USB ports P1 and P2 (S1).

USBポートP1,P2のいずれにも、通信ライン(D+,D−)、電源ライン(VBUS)およびグランドライン(GND)が設けられている。   Communication lines (D +, D-), a power supply line (VBUS), and a ground line (GND) are provided in both of the USB ports P1 and P2.

USBポートP1に外部機器2のコネクタまたは外部機器2に接続されているUSBケーブルのコネクタが差し込まれた時点で、電源ラインを通してファンクション機器となる外部機器2に端子電圧が加えられる。外部機器2の制御部は、その端子電圧を検出し、ホスト機器であるプリンタ1の制御部15へ通信ラインを介して信号を送信する。かかる通信により、プリンタ1の制御部15は、プリンタ1がホスト機器であり、外部機器2がファンクション機器であるという情報をUSBインタフェース13経由で受信する。   When the connector of the external device 2 or the connector of the USB cable connected to the external device 2 is inserted into the USB port P1, a terminal voltage is applied to the external device 2 serving as a function device through the power supply line. The control unit of the external device 2 detects the terminal voltage and transmits a signal to the control unit 15 of the printer 1 as the host device via the communication line. Through this communication, the control unit 15 of the printer 1 receives, via the USB interface 13, information that the printer 1 is a host device and the external device 2 is a function device.

また、USBポートP2に外部機器2のコネクタまたは外部機器2に接続されているUSBケーブルのコネクタが差し込まれた時点で、電源ラインを通してファンクション機器となるプリンタ1に端子電圧が加えられる。プリンタ1の制御部15は、その端子電圧を検出し、ホスト機器である外部機器2の制御部へ通信ラインを介して信号を送信する。かかる通信により、プリンタ1の制御部15は、プリンタ1がファンクション機器であり、外部機器2がホスト機器であるという情報をUSBインタフェース13経由で受信する。   Further, when the connector of the external device 2 or the connector of the USB cable connected to the external device 2 is inserted into the USB port P2, a terminal voltage is applied to the printer 1 as a function device through the power supply line. The control unit 15 of the printer 1 detects the terminal voltage and transmits a signal to the control unit of the external device 2 as the host device via the communication line. Through this communication, the control unit 15 of the printer 1 receives, via the USB interface 13, information that the printer 1 is a function device and the external device 2 is a host device.

USBポートP1またはUSBポートP2に外部機器2が接続されると(S1:YES)、メイン処理が進行する。CPUは、USBポートP1に外部機器2が接続された場合、外部機器2がファンクション機器であると認識し、USBポートP2に外部機器2が接続された場合、外部機器2がホスト機器であると認識する。   When the external device 2 is connected to the USB port P1 or the USB port P2 (S1: YES), the main processing proceeds. The CPU recognizes that the external device 2 is a function device when the external device 2 is connected to the USB port P1, and the external device 2 is a host device when the external device 2 is connected to the USB port P2. recognize.

外部機器2がホスト機器である場合(S2:YES)、CPUは、第1処理を実行する(S3)。第1処理については後述する。   If the external device 2 is a host device (S2: YES), the CPU executes the first process (S3). The first process will be described later.

外部機器2がホスト機器でない場合、つまり外部機器2がファンクション機器である場合(S2:NO)、CPUは、外部機器2から受信する情報に基づき、外部機器2が内蔵バッテリの電力で動作するバッテリ駆動型の機器であるか否かを判別する(S4)。   When the external device 2 is not the host device, that is, when the external device 2 is the function device (S2: NO), the CPU operates a battery in which the external device 2 operates with the power of the built-in battery based on the information received from the external device 2. It is determined whether it is a drive type device (S4).

外部機器2がバッテリ駆動型のファンクション機器である場合(S4:YES)、CPUは、第2処理を実行する(S5)。第2処理については後述する。   If the external device 2 is a battery-driven function device (S4: YES), the CPU executes a second process (S5). The second process will be described later.

外部機器2がバッテリを内蔵していない非バッテリ駆動型のファンクション機器である場合(S4:NO)、CPUは、第3処理を実行する(S6)。第3処理については後述する。   If the external device 2 is a non-battery-driven function device not incorporating a battery (S4: NO), the CPU executes the third process (S6). The third process will be described later.

<第1処理>
メイン処理のステップS3で実行される第1処理の流れは、図3に示されている。前述したように、第1処理は、USBポートP2に外部機器2が接続された場合、つまり外部機器2がホスト機器である場合に実行される処理である。
<First processing>
The flow of the first process executed in step S3 of the main process is shown in FIG. As described above, the first process is a process that is executed when the external device 2 is connected to the USB port P2, that is, when the external device 2 is the host device.

第1処理では、CPUは、給電モードを第1給電モードから第2給電モードに切り替える(S301)。   In the first process, the CPU switches the power supply mode from the first power supply mode to the second power supply mode (S301).

第1給電モードは、画像形成部11および表示操作パネル12への給電を停止するモードであり、相対的に消費電力の小さいモードである。第2給電モードは、電源14から画像形成部11および表示操作パネル12への給電が行われるモードであり、相対的に消費電力の大きいモードである。たとえば、画像形成部11が電子写真方式により画像を形成するものである場合、画像形成部11への給電により、現像器でトナーが撹拌されたり、定着器がヒータにより加熱されたりする。表示操作パネル12への給電により、表示操作パネル12にメニュー画面が表示され、そのメニュー画面でのタッチ操作が有効になる。第1給電モードおよび第2給電モードのいずれでも、電源14から制御部15への給電は行われる。   The first power feeding mode is a mode in which power feeding to the image forming unit 11 and the display operation panel 12 is stopped, and is a mode in which power consumption is relatively small. The second power feeding mode is a mode in which power feeding from the power supply 14 to the image forming unit 11 and the display operation panel 12 is performed, and is a mode in which power consumption is relatively large. For example, in the case where the image forming unit 11 forms an image by an electrophotographic method, when power is supplied to the image forming unit 11, the toner is agitated by the developing device or the fixing device is heated by the heater. By supplying power to the display operation panel 12, a menu screen is displayed on the display operation panel 12, and the touch operation on the menu screen is enabled. Power is supplied from the power source 14 to the control unit 15 in any of the first power feeding mode and the second power feeding mode.

次に、CPUは、外部機器2から給電要求を受けたか否かを判別する(S302)。   Next, the CPU determines whether a power supply request has been received from the external device 2 (S302).

給電要求を受けた場合(S302:YES)、CPUは、USBポートP2から外部機器2への給電を開始する(S303)。   When the power supply request is received (S302: YES), the CPU starts power supply from the USB port P2 to the external device 2 (S303).

外部機器2への給電は、外部機器2から給電停止要求が出されるまで続けられる(S304:NO)。   Power supply to the external device 2 is continued until a power supply stop request is issued from the external device 2 (S304: NO).

CPUは、外部機器2からの給電停止要求を受けた場合(S304:YES)、外部機器2への給電を停止する(S305)。   When the CPU receives a power supply stop request from the external device 2 (S304: YES), the CPU stops power supply to the external device 2 (S305).

外部機器2への給電開始後、CPUは、外部機器2からの給電停止要求を受けるまでの間、表示操作パネル12のタッチ操作による各種指示の入力または画像形成部11によるシートへの画像の形成のジョブ、つまり画像データを含む印刷ジョブの入力の有無を判別する(S306)。また、外部機器2からの給電要求がない場合(S302:NO)および外部機器2への給電の停止後にも、CPUは、タッチ操作または印刷ジョブの入力の有無を判別する(S306)。   After power supply to external device 2 is started, the CPU inputs various instructions by touch operation on display operation panel 12 or forms an image on a sheet by image forming unit 11 until power supply stop request from external device 2 is received. In step S306, it is determined whether there is an input of a print job including the image data. Further, when there is no power supply request from the external device 2 (S302: NO) and after the power supply to the external device 2 is stopped, the CPU determines the presence or absence of the touch operation or the input of the print job (S306).

タッチ操作または印刷ジョブの入力があった場合(S306:YES)、CPUは、外部機器2から給電要求を受けたか否かを再び判別する(S302)。   If there is a touch operation or a print job input (S306: YES), the CPU determines again whether a power supply request has been received from the external device 2 (S302).

タッチ操作または印刷ジョブの入力のない状態で一定時間が経過するまでの間、CPUは、外部機器2から給電要求を受けたか否かの判別(S302)およびタッチ操作または印刷ジョブの入力の有無の判別を繰り返す(S307:NO)。   The CPU determines whether or not the power supply request has been received from the external device 2 (S302) and the presence or absence of the input of the touch operation or the print job until a predetermined time elapses without a touch operation or an input of the print job. The determination is repeated (S307: NO).

タッチ操作または印刷ジョブの入力がない状態が一定時間続くと(S307:YES)、CPUは、給電モードを第2給電モードから第1給電モードに戻す(S308)。   If a state in which there is no touch operation or no print job input continues for a fixed time (S307: YES), the CPU returns the power supply mode from the second power supply mode to the first power supply mode (S308).

その後、CPUは、外部機器2への給電中であるか否かを判別する(S309)。   Thereafter, the CPU determines whether power is being supplied to the external device 2 (S309).

外部機器2への給電が行われていない場合(S309:NO)、CPUは、第1処理を終了する。   When the power supply to the external device 2 is not performed (S309: NO), the CPU ends the first process.

外部機器2への給電中である場合(S309:YES)、CPUは、外部機器2から給電停止要求を受けるか、または、外部機器2がUSBポートP2から外されて、外部機器2のUSB接続が解除されるまで、外部機器2への給電を継続する(S310,S311:NO)。   When power is being supplied to the external device 2 (S309: YES), the CPU receives a power supply stop request from the external device 2 or the external device 2 is disconnected from the USB port P2, and the USB connection of the external device 2 is made. The power supply to the external device 2 is continued until the key is released (S310, S311: NO).

そして、外部機器2からの給電停止要求があるか(S210:YES)、または、外部機器2のUSB接続が解除されると(S311:YES)、CPUは、外部機器2への給電を停止して(S312)、第1処理を終了する。   Then, if there is a power supply stop request from the external device 2 (S210: YES), or if the USB connection of the external device 2 is released (S311: YES), the CPU stops the power supply to the external device 2. Then (S312), the first process ends.

<第2処理>
メイン処理のステップS3で実行される第1処理の流れは、図4に示されている。前述したように、第2処理は、USBポートP1に外部機器2が接続された場合であって、外部機器2がバッテリ駆動型のファンクション機器である場合に実行される処理である。
<Second processing>
The flow of the first process executed in step S3 of the main process is shown in FIG. As described above, the second process is a process executed when the external device 2 is connected to the USB port P1 and the external device 2 is a battery-driven function device.

第2処理では、給電モードが第1給電モードのままにされる。   In the second process, the feed mode is kept in the first feed mode.

CPUは、外部機器2から給電要求を受けたか否かを判別する(S51)。   The CPU determines whether a power supply request has been received from the external device 2 (S51).

CPUは、外部機器2から給電要求を受けた場合(S51:YES)、USBポートP1から外部機器2への給電を開始する(S52)。   When the CPU receives a power supply request from the external device 2 (S51: YES), the CPU starts power supply from the USB port P1 to the external device 2 (S52).

外部機器2への給電は、外部機器2から給電停止要求を受けるか、または、外部機器2がUSBポートP1から外されて、外部機器2のUSB接続が解除されるまで続けられる。   Power supply to the external device 2 is continued until a power supply stop request is received from the external device 2 or the external device 2 is disconnected from the USB port P1 and the USB connection of the external device 2 is released.

外部機器2からの給電停止要求があるか(S53:YES)、または、外部機器2のUSB接続が解除されると(S54:YES)、CPUは、外部機器2への給電を停止して(S55)、第2処理を終了する。   If there is a power supply stop request from the external device 2 (S53: YES), or if the USB connection of the external device 2 is released (S54: YES), the CPU stops the power supply to the external device 2 ( S55), end the second processing.

CPUは、外部機器2から給電要求を受けるまでの間(S51:NO)、外部機器2のUSB接続が解除されたか否かを判別する(S56)。   The CPU determines whether or not the USB connection of the external device 2 is released (S56) until the power supply request is received from the external device 2 (S51: NO).

外部機器2のUSB接続が解除されていなければ(S56:NO)、CPUは、外部機器2から給電要求を受けたか否かを再び判別する(S51)。   If the USB connection of the external device 2 is not released (S56: NO), the CPU determines again whether or not the power supply request has been received from the external device 2 (S51).

外部機器2からの給電要求がないまま、外部機器2のUSB接続が解除された場合(S56:YES)、CPUは、第2処理を終了する。   When the USB connection of the external device 2 is released without the power supply request from the external device 2 (S56: YES), the CPU ends the second process.

<第3処理>
メイン処理のステップS6で実行される第3処理の流れは、図5に示されている。前述したように、第3処理は、USBポートP1に外部機器2が接続された場合であって、外部機器2がバッテリを内蔵していない非バッテリ駆動型のファンクション機器、言い換えれば、外部電源型のファンクション機器である場合に実行される処理である。
<Third processing>
The flow of the third process performed in step S6 of the main process is shown in FIG. As described above, the third process is the case where the external device 2 is connected to the USB port P1 and the external device 2 does not have a built-in battery, in other words, an external power type It is a process performed when it is a functional device of

第3処理では、CPUは、給電モードを第1給電モードから第2給電モードに切り替える(S61)。   In the third process, the CPU switches the power supply mode from the first power supply mode to the second power supply mode (S61).

その後、CPUは、表示操作パネル12のタッチ操作または画像形成部11によるシートへの画像の形成のジョブ、つまり印刷ジョブの入力の有無を判別する(S62)。   Thereafter, the CPU determines whether there is a touch operation of the display operation panel 12 or a job of forming an image on a sheet by the image forming unit 11, that is, the presence or absence of an input of a print job (S62).

タッチ操作または印刷ジョブの入力があった場合(S62:YES)、そのタッチ操作または印刷ジョブの入力がなくなり(S62:NO)、タッチ操作または印刷ジョブの入力がなくなってから一定時間が経過するまで、CPUは、処理を次に進めない(S63:NO)。   When the touch operation or the print job is input (S62: YES), the touch operation or the print job is not input (S62: NO), and a predetermined time elapses after the touch operation or the print job is not input. , CPU does not advance the process next (S63: NO).

そして、タッチ操作または印刷ジョブの入力がない状態が一定時間続くと(S63:YES)、CPUは、給電モードを第2給電モードから第1給電モードに戻して(S64)、第3処理を終了する。   Then, if there is no touch operation or no print job input for a certain period of time (S63: YES), the CPU returns the power supply mode from the second power supply mode to the first power supply mode (S64), and ends the third processing. Do.

<作用効果>
以上のように、第1給電モードでは、制御部15に電力が供給される。第2給電モードでは、画像形成部11および表示操作パネル12に供給される電力が第1給電モードよりも多い。第1給電モード時に外部機器2がUSBインタフェース13に接続されて、制御部15が外部機器2からUSBインタフェース13経由で外部機器2がホスト機器であるという情報または外部機器2が非バッテリ駆動型のファンクション機器であるという情報を受信した場合、第1給電モードから第2給電モードに移行される。
<Function effect>
As described above, in the first power feeding mode, power is supplied to the control unit 15. In the second power feeding mode, the power supplied to the image forming unit 11 and the display operation panel 12 is larger than that in the first power feeding mode. In the first power feeding mode, the external device 2 is connected to the USB interface 13 and the information that the external device 2 is the host device from the external device 2 via the USB interface 13 from the external device 2 or the external device 2 is non-battery driven type When the information indicating that it is a function device is received, the first power feeding mode is shifted to the second power feeding mode.

また、第1給電モード時に外部機器2がUSBインタフェース13に接続されて、制御部15がUSBインタフェース13経由で外部機器2がバッテリ駆動型のファンクション機器であるという情報を受信した場合には、第1給電モードのまま、外部機器2からの給電要求に応じて、USBインタフェース13経由で外部機器2に電力が供給される。   When the external device 2 is connected to the USB interface 13 in the first power feeding mode, and the control unit 15 receives the information that the external device 2 is the battery-driven function device via the USB interface 13, Power is supplied to the external device 2 through the USB interface 13 according to the power supply request from the external device 2 while in the 1 power feeding mode.

よって、制御部15が外部機器2から受信する情報に応じて、第1給電モードから第2給電モードに移行するか、または、第1給電モードのまま外部機器2に電力を供給するかを適切に設定することができる。   Therefore, according to the information that the control unit 15 receives from the external device 2, it is appropriate to shift from the first power feeding mode to the second power feeding mode or to supply power to the external device 2 in the first power feeding mode. It can be set to

第1給電モードでは、電源14から表示操作パネル12への給電が行われない。そのため、第1給電モードでの電力消費を抑えることができる。第1給電モードから第2給電モードへの移行に応じて、電源14から表示操作パネル12への給電が開始される。これにより、表示操作パネル12にメニュー画面を表示させることができ、そのメニュー画面でのタッチ操作を有効にすることができる。   In the first power feeding mode, power feeding from the power supply 14 to the display operation panel 12 is not performed. Therefore, power consumption in the first power feeding mode can be suppressed. In response to the transition from the first power supply mode to the second power supply mode, power supply from the power supply 14 to the display operation panel 12 is started. Thereby, the menu screen can be displayed on the display operation panel 12, and the touch operation on the menu screen can be enabled.

また、第1給電モードでは、電源14から画像形成部11への給電が行われない。そのため、第1給電モードでの電力消費を抑えることができる。第1給電モードから第2給電モードへの移行に応じて、電源14から画像形成部11への給電が開始される。これにより、画像形成部11によるシートへの画像の形成が可能となる。   Further, in the first power feeding mode, power feeding from the power supply 14 to the image forming unit 11 is not performed. Therefore, power consumption in the first power feeding mode can be suppressed. Power feeding from the power supply 14 to the image forming unit 11 is started in response to the transition from the first power feeding mode to the second power feeding mode. This enables the image forming unit 11 to form an image on a sheet.

第2給電モード時に表示操作パネル12にタッチ操作による指示の入力および画像データを含む印刷ジョブの入力がなされずに一定時間が経過したことに応じて、第2給電モードから第1給電モードに移行される。これにより、電力消費をさらに抑制することができる。   In the second power feeding mode, transition from the second power feeding mode to the first power feeding mode in response to the elapse of a predetermined time without input of an instruction by a touch operation on the display operation panel 12 and input of a print job including image data. Be done. Thereby, power consumption can be further suppressed.

また、外部機器2への給電の開始後、外部機器2から給電停止要求が出されるか、または、USBインタフェース13のUSBポートP1,P2と外部機器2との接続が解除されたことに応じて、外部機器2への給電が停止されるので、外部機器2への無駄な給電を抑制することができる。   Also, after power feeding to the external device 2 is started, the power feeding stop request is issued from the external device 2 or the connection between the USB ports P1 and P2 of the USB interface 13 and the external device 2 is released. Since power feeding to the external device 2 is stopped, wasteful power feeding to the external device 2 can be suppressed.

<第2実施形態>
第2実施形態に係るプリンタ51には、図6に示されるように、第1制御部52および第2制御部53が設けられている。
Second Embodiment
The printer 51 according to the second embodiment is provided with a first control unit 52 and a second control unit 53, as shown in FIG.

第1制御部52は、CPU、ROMおよびRAMを備えている。   The first control unit 52 includes a CPU, a ROM, and a RAM.

第2制御部53は、CPUを内蔵するASIC(Application Specific Integrated Circuit)、ROMおよびRAMなどを備えており、第1制御部52よりも消費電力が大きい。   The second control unit 53 includes an application specific integrated circuit (ASIC) incorporating a CPU, a ROM, a RAM, and the like, and consumes more power than the first control unit 52.

第1制御部52のCPUおよび第2制御部53のCPUは、単独または協働により、画像形成部11、表示操作パネル12および電源14の動作を制御し、USBポートP1,P2に接続された外部機器2との間でUSB−PD(Power Delivery)プロトコルによる通信を行う。第1制御部52のCPUによる制御(プログラム)の実行時には、第1制御部52のRAMがワークエリアとして使用される。第2制御部53のCPUによる制御の実行時には、第2制御部53のRAMがワークエリアとして使用される。   The CPU of the first control unit 52 and the CPU of the second control unit 53 individually or jointly control the operations of the image forming unit 11, the display operation panel 12, and the power supply 14, and are connected to the USB ports P1 and P2. Communication with the external device 2 is performed by the USB-PD (Power Delivery) protocol. At the time of execution of control (program) by the CPU of the first control unit 52, the RAM of the first control unit 52 is used as a work area. At the time of execution of control by the CPU of the second control unit 53, the RAM of the second control unit 53 is used as a work area.

なお、図6において、図1に示される各部に相当する部分には、それらの各部と同一の参照符号が付されている。また、その同一の参照符号が付された部分の説明を省略する。<メイン処理>
図7に示されるメイン処理の開始時は、電源14から第1制御部52への給電が行われており、第2制御部53への給電が停止されている。
In FIG. 6, parts corresponding to the parts shown in FIG. 1 are denoted by the same reference numerals as those parts. Moreover, the description of the part to which the same referential mark is attached is omitted. <Main processing>
At the start of the main process shown in FIG. 7, power supply from the power supply 14 to the first control unit 52 is performed, and power supply to the second control unit 53 is stopped.

メイン処理では、第1制御部52のCPUは、USBポートP1,P2に外部機器2が接続されたか否かを判別する(S11)。   In the main process, the CPU of the first control unit 52 determines whether the external device 2 is connected to the USB ports P1 and P2 (S11).

USBインタフェース13のUSBポートP1またはUSBポートP2に外部機器2が接続されると(S11:YES)、メイン処理が進行し、第1制御部52のCPUは、電源14を制御して、第2制御部53への給電を開始させる(S12)。   When the external device 2 is connected to the USB port P1 or the USB port P2 of the USB interface 13 (S11: YES), the main processing proceeds, and the CPU of the first control unit 52 controls the power supply 14 to Power supply to the control unit 53 is started (S12).

その後、第2制御部53のCPUは、第1制御部52への給電を停止する(S13)。   Thereafter, the CPU of the second control unit 53 stops the power supply to the first control unit 52 (S13).

そして、第2制御部53のCPUは、USBインタフェース13に接続された外部機器2がホスト機器である場合、つまりUSBポートP2に外部機器2が接続された場合(S14:YES)、第2制御部53のCPUは、第1処理を実行する(S15)。第1処理については後述する。   When the external device 2 connected to the USB interface 13 is the host device, that is, when the external device 2 is connected to the USB port P2 (S14: YES), the CPU of the second control unit 53 performs the second control. The CPU of the unit 53 executes the first process (S15). The first process will be described later.

USBインタフェース13に接続された外部機器2がホスト機器でない場合、つまり外部機器2がファンクション機器である場合(S14:NO)、第2制御部53のCPUは、外部機器2から受信する情報に基づき、外部機器2が内蔵バッテリの電力で動作するバッテリ駆動型の機器であるか否かを判別する(S16)。   If the external device 2 connected to the USB interface 13 is not a host device, that is, if the external device 2 is a function device (S14: NO), the CPU of the second control unit 53 determines the information received from the external device 2 Then, it is determined whether the external device 2 is a battery-powered device that operates with the power of the built-in battery (S16).

外部機器2がバッテリ駆動型のファンクション機器である場合(S16:YES)、第2制御部53のCPUは、第2処理を実行する(S17)。第2処理については後述する。   If the external device 2 is a battery-driven function device (S16: YES), the CPU of the second control unit 53 executes the second process (S17). The second process will be described later.

外部機器2がバッテリを内蔵していない非バッテリ駆動型のファンクション機器である場合(S17:NO)、第2制御部53のCPUは、第3処理を実行する(S18)。第3処理については後述する。   If the external device 2 is a non-battery-driven function device not having a built-in battery (S17: NO), the CPU of the second control unit 53 executes the third process (S18). The third process will be described later.

<第1処理>
メイン処理のステップS15で実行される第1処理の流れは、図8に示されている。前述したように、第1処理は、USBポートP2に外部機器2が接続された場合、つまり外部機器2がホスト機器である場合に実行される処理である。
<First processing>
The flow of the first process executed in step S15 of the main process is shown in FIG. As described above, the first process is a process that is executed when the external device 2 is connected to the USB port P2, that is, when the external device 2 is the host device.

第1処理では、第2制御部53のCPUは、画像形成部11および表示操作パネル12への給電のモードを第1給電モードから第2給電モードに切り替える(S1501)。   In the first process, the CPU of the second control unit 53 switches the mode of power supply to the image forming unit 11 and the display operation panel 12 from the first power supply mode to the second power supply mode (S1501).

次に、第2制御部53のCPUは、外部機器2から給電要求を受けたか否かを判別する(S1502)。   Next, the CPU of the second control unit 53 determines whether a power supply request has been received from the external device 2 (S1502).

給電要求を受けた場合(S1502:YES)、第2制御部53のCPUは、USBポートP2から外部機器2への給電を開始する(S1503)。   When the power supply request is received (S1502: YES), the CPU of the second control unit 53 starts power supply from the USB port P2 to the external device 2 (S1503).

外部機器2への給電は、外部機器2から給電停止要求が出されるまで続けられる(S1504:NO)。   Power supply to the external device 2 is continued until a power supply stop request is issued from the external device 2 (S1504: NO).

第2制御部53のCPUは、外部機器2からの給電停止要求を受けた場合(S1504:YES)、外部機器2への給電を停止する(S1505)。   When the CPU of the second control unit 53 receives a power supply stop request from the external device 2 (S1504: YES), the CPU stops power supply to the external device 2 (S1505).

外部機器2への給電開始後、第2制御部53のCPUは、外部機器2からの給電停止要求を受けるまでの間、表示操作パネル12のタッチ操作による各種指示の入力または画像形成部11によるシートへの画像の形成のジョブ、つまり画像データを含む印刷ジョブの入力の有無を判別する(S1506)。また、外部機器2からの給電要求がない場合(S1502:NO)および外部機器2への給電の停止後にも、第2制御部53のCPUは、タッチ操作または印刷ジョブの入力の有無を判別する(S1506)。   After the start of power feeding to the external device 2, the CPU of the second control unit 53 inputs various instructions by the touch operation of the display operation panel 12 or the image forming portion 11 until the power feeding stop request from the external device 2 is received. A job for forming an image on a sheet, that is, the presence or absence of an input of a print job including image data is determined (S1506). In addition, even when there is no power supply request from the external device 2 (S1502: NO) and after the power supply to the external device 2 is stopped, the CPU of the second control unit 53 determines the presence or absence of the touch operation or the print job input. (S1506).

タッチ操作または印刷ジョブの入力があった場合(S1506:YES)、第2制御部53のCPUは、外部機器2から給電要求を受けたか否かを再び判別する(S1502)。   If there is a touch operation or a print job input (S1506: YES), the CPU of the second control unit 53 determines again whether a power supply request has been received from the external device 2 (S1502).

タッチ操作または印刷ジョブの入力のない状態で一定時間が経過するまでの間、第2制御部53のCPUは、外部機器2から給電要求を受けたか否かの判別(S1502)およびタッチ操作または印刷ジョブの入力の有無の判別を繰り返す(S1507:NO)。   Until a predetermined time elapses in a state where there is no touch operation or print job input, the CPU of the second control unit 53 determines whether a power supply request has been received from the external device 2 (S1502) and the touch operation or printing The determination of the presence or absence of the input of the job is repeated (S1507: NO).

タッチ操作または印刷ジョブの入力がない状態が一定時間続くと(S1507:YES)、第2制御部53のCPUは、給電モードを第2給電モードから第1給電モードに戻す(S1508)。   If a state in which there is no touch operation or no print job input continues for a predetermined time (S1507: YES), the CPU of the second control unit 53 returns the power supply mode from the second power supply mode to the first power supply mode (S1508).

その後、第2制御部53のCPUは、外部機器2への給電中であるか否かを判別する(S1509)。   Thereafter, the CPU of the second control unit 53 determines whether or not power is being supplied to the external device 2 (S1509).

外部機器2への給電中である場合(S1509:YES)、第2制御部53のCPUは、外部機器2から給電停止要求を受けるか、または、外部機器2がUSBポートP2から外されて、外部機器2のUSB接続が解除されるまで、外部機器2への給電を継続する(S1510,S1511:NO)。   When power is being supplied to the external device 2 (S1509: YES), the CPU of the second control unit 53 receives a power supply stop request from the external device 2, or the external device 2 is disconnected from the USB port P2, Power supply to the external device 2 is continued until the USB connection of the external device 2 is released (S1510, S1511: NO).

そして、外部機器2からの給電停止要求があるか(S1510:YES)、または、外部機器2のUSB接続が解除されると(S1511:YES)、第2制御部53のCPUは、外部機器2への給電を停止する(S1512)。   Then, whether there is a power supply stop request from the external device 2 (S1510: YES), or when the USB connection of the external device 2 is released (S1511: YES), the CPU of the second control unit 53 selects the external device 2 Power supply to the power supply is stopped (S1512).

その後、第2制御部53のCPUは、電源14を制御して、第1制御部52への給電を開始させる(S1513)。   Thereafter, the CPU of the second control unit 53 controls the power supply 14 to start power supply to the first control unit 52 (S1513).

そして、第1制御部52のCPUは、第2制御部53への給電を停止して(S1514)、第1処理を終了する。   Then, the CPU of the first control unit 52 stops the power supply to the second control unit 53 (S1514), and ends the first process.

また、第2給電モードから第1給電モードに戻された時点で外部機器2への給電が行われていない場合(S1509:NO)、第2制御部53のCPUは、電源14を制御して、第1制御部52への給電を開始させる(S1513)。   In addition, when power is not supplied to the external device 2 when the second power feeding mode is returned to the first power feeding mode (S1509: NO), the CPU of the second control unit 53 controls the power supply 14 , And the power supply to the first control unit 52 is started (S1513).

その後、第1制御部52のCPUは、第2制御部53への給電を停止して(S1514)、第1処理を終了する。   Thereafter, the CPU of the first control unit 52 stops the power supply to the second control unit 53 (S1514), and ends the first process.

<第2処理>
メイン処理のステップS17で実行される第1処理の流れは、図9に示されている。前述したように、第2処理は、USBポートP1に外部機器2が接続された場合であって、外部機器2がバッテリ駆動型のファンクション機器である場合に実行される処理である。
<Second processing>
The flow of the first process executed in step S17 of the main process is shown in FIG. As described above, the second process is a process executed when the external device 2 is connected to the USB port P1 and the external device 2 is a battery-driven function device.

第2処理では、給電モードが第1給電モードのままにされる。   In the second process, the feed mode is kept in the first feed mode.

第2制御部53のCPUは、外部機器2から給電要求を受けたか否かを判別する(S171)。   The CPU of the second control unit 53 determines whether a power supply request has been received from the external device 2 (S171).

第2制御部53のCPUは、外部機器2から給電要求を受けた場合(S171:YES)、USBポートP1から外部機器2への給電を開始する(S172)。   When the CPU of the second control unit 53 receives a power supply request from the external device 2 (S171: YES), power supply from the USB port P1 to the external device 2 is started (S172).

外部機器2への給電は、外部機器2から給電停止要求を受けるか、または、外部機器2がUSBポートP1から外されて、外部機器2のUSB接続が解除されるまで続けられる。   Power supply to the external device 2 is continued until a power supply stop request is received from the external device 2 or the external device 2 is disconnected from the USB port P1 and the USB connection of the external device 2 is released.

外部機器2からの給電停止要求があるか(S173:YES)、または、外部機器2のUSB接続が解除されると(S174:YES)、第2制御部53のCPUは、外部機器2への給電を停止する(S175)。   If there is a power supply stop request from the external device 2 (S173: YES), or if the USB connection of the external device 2 is released (S174: YES), the CPU of the second control unit 53 sends the external device 2 to Power supply is stopped (S175).

その後、第2制御部53のCPUは、電源14を制御して、第1制御部52への給電を開始させる(S177)。   Thereafter, the CPU of the second control unit 53 controls the power supply 14 to start power supply to the first control unit 52 (S177).

そして、第1制御部52のCPUは、第2制御部53への給電を停止して(S178)、第2処理を終了する。   Then, the CPU of the first control unit 52 stops the power supply to the second control unit 53 (S178), and ends the second process.

また、第2制御部53のCPUは、外部機器2から給電要求を受けるまでの間(S171:NO)、外部機器2のUSB接続が解除されたか否かを判別する(S176)。   Further, the CPU of the second control unit 53 determines whether the USB connection of the external device 2 is released (S176) until the power supply request is received from the external device 2 (S171: NO).

外部機器2のUSB接続が解除されていなければ(S176:NO)、第2制御部53のCPUは、外部機器2から給電要求を受けたか否かを再び判別する(S171)。   If the USB connection of the external device 2 is not released (S176: NO), the CPU of the second control unit 53 determines again whether or not the power supply request has been received from the external device 2 (S171).

外部機器2からの給電要求がないまま、一定時間が経過するか、または、外部機器2のUSB接続が解除された場合(S176:YES)、第2制御部53のCPUは、電源14を制御して、第1制御部52への給電を開始させる(S177)。   When a predetermined time elapses without a request for power supply from the external device 2 or the USB connection of the external device 2 is released (S 176: YES), the CPU of the second control unit 53 controls the power supply 14 Then, the power supply to the first control unit 52 is started (S177).

そして、第1制御部52のCPUは、第2制御部53への給電を停止して(S178)、第2処理を終了する。   Then, the CPU of the first control unit 52 stops the power supply to the second control unit 53 (S178), and ends the second process.

<第3処理>
メイン処理のステップS18で実行される第3処理の流れは、図10に示されている。前述したように、第3処理は、USBポートP1に外部機器2が接続された場合であって、外部機器2がバッテリを内蔵していない非バッテリ駆動型のファンクション機器、言い換えれば、外部電源型のファンクション機器である場合に実行される処理である。
<Third processing>
The flow of the third process performed in step S18 of the main process is shown in FIG. As described above, the third process is the case where the external device 2 is connected to the USB port P1 and the external device 2 does not have a built-in battery, in other words, an external power type It is a process performed when it is a functional device of

第3処理では、第2制御部53のCPUは、画像形成部11および表示操作パネル12への給電のモードを第1給電モードから第2給電モードに切り替える(S181)。   In the third process, the CPU of the second control unit 53 switches the mode of power supply to the image forming unit 11 and the display operation panel 12 from the first power supply mode to the second power supply mode (S181).

その後、第2制御部53のCPUは、表示操作パネル12のタッチ操作または画像形成部11によるシートへの画像の形成のジョブ、つまり印刷ジョブの入力の有無を判別する(S182)。   Thereafter, the CPU of the second control unit 53 determines whether there is a touch operation of the display operation panel 12 or a job of forming an image on a sheet by the image forming unit 11, that is, the presence or absence of an input of a print job (S182).

タッチ操作または印刷ジョブの入力があった場合(S182:YES)、そのタッチ操作または印刷ジョブの入力がなくなり(S182:NO)、タッチ操作または印刷ジョブの入力がなくなってから一定時間が経過するまで、第2制御部53のCPUは、処理を次に進めない(S183:NO)。   If there is a touch operation or print job input (S182: YES), the touch operation or print job is not input (S182: NO), and a predetermined time elapses after the touch operation or print job is not input. The CPU of the second control unit 53 can not proceed to the next process (S183: NO).

そして、タッチ操作または印刷ジョブの入力がない状態が一定時間続くと(S183:YES)、第2制御部53のCPUは、給電モードを第2給電モードから第1給電モードに戻す(S184)。   Then, if a state in which there is no touch operation or no print job input continues for a fixed time (S183: YES), the CPU of the second control unit 53 returns the power supply mode from the second power supply mode to the first power supply mode (S184).

その後、第2制御部53のCPUは、電源14を制御して、第1制御部52への給電を開始させる(S185)。   Thereafter, the CPU of the second control unit 53 controls the power supply 14 to start power supply to the first control unit 52 (S185).

そして、第1制御部52のCPUは、第2制御部53への給電を停止して(S186)、第3処理を終了する。   Then, the CPU of the first control unit 52 stops the power supply to the second control unit 53 (S186), and ends the third process.

<作用効果>
以上のように、第2実施形態に係るプリンタ51においても、第1実施形態に係るプリンタ1と同様の効果を奏することができる。
<Function effect>
As described above, also in the printer 51 according to the second embodiment, the same effect as the printer 1 according to the first embodiment can be obtained.

また、第1給電モードでは、第1制御部52が電源14からの給電を受けて、第1制御部52のCPUにより、第2制御部53への給電が行われないように電源14が制御される。第2制御部53は、第1制御部52よりも消費電力が大きいので、第2制御部53への給電が行われないことにより、電力消費を抑えることができる。   Further, in the first power feeding mode, the first control unit 52 receives power feeding from the power supply 14, and the CPU of the first control unit 52 controls the power source 14 so that power feeding to the second control unit 53 is not performed. Be done. The power consumption of the second control unit 53 is larger than that of the first control unit 52. Therefore, the power consumption can be suppressed because the power supply to the second control unit 53 is not performed.

第1給電モード時に外部機器2がUSBインタフェース13に接続されたことに応じて、給電モードが第1給電モードから第3給電モードに移行される。第3給電モードでは、第2制御部53への給電が開始されるとともに、画像形成部11および表示操作パネル12への給電のモードが第2給電モードとされる。これにより、第2制御部53のCPUによる制御を開始することができる。   In response to the external device 2 being connected to the USB interface 13 in the first power feeding mode, the power feeding mode is shifted from the first power feeding mode to the third power feeding mode. In the third feeding mode, feeding to the second control unit 53 is started, and the feeding mode to the image forming unit 11 and the display operation panel 12 is set to the second feeding mode. Thereby, control by the CPU of the second control unit 53 can be started.

そして、第2制御部53への給電が開始されると、第1制御部52への給電が停止される。これにより、第1制御部52による無駄な電力消費を抑制することができる。   Then, when the power supply to the second control unit 53 is started, the power supply to the first control unit 52 is stopped. Thus, unnecessary power consumption by the first control unit 52 can be suppressed.

また、第2処理では、外部機器2から給電要求を受信せずに一定時間が経過したことに応じて、画像形成部11および表示操作パネル12への給電のモードが第2給電モードから第1給電モードに移行されて、第2制御部53への給電が停止される。これにより、無駄な電力消費を一層抑制することができる。   In the second process, the mode of power supply to the image forming unit 11 and the display operation panel 12 is the second power supply mode from the second power supply mode in response to the elapse of a predetermined time without receiving the power supply request from the external device 2. The mode is shifted to the power feeding mode, and power feeding to the second control unit 53 is stopped. As a result, unnecessary power consumption can be further suppressed.

また、外部機器2への給電の開始後、外部機器2から給電停止要求が出されるか、または、USBインタフェース13のUSBポートP1,P2と外部機器2との接続が解除されたことに応じて、外部機器2への給電が停止されるので、外部機器2への無駄な給電を抑制することができる。   Also, after power feeding to the external device 2 is started, the power feeding stop request is issued from the external device 2 or the connection between the USB ports P1 and P2 of the USB interface 13 and the external device 2 is released. Since power feeding to the external device 2 is stopped, wasteful power feeding to the external device 2 can be suppressed.

<第3実施形態>
図6に示されるプリンタ51では、図7に示されるメイン処理に代えて、第1制御部52のCPUにより、図2に示されるメイン処理が実行されてもよい。
Third Embodiment
In the printer 51 shown in FIG. 6, the main processing shown in FIG. 2 may be executed by the CPU of the first control unit 52 instead of the main processing shown in FIG. 7.

<第1処理>
第1制御部52のCPUは、図2に示されるメイン処理を実行する場合、メイン処理のステップS3では、図11に示す第1処理を実行する。
<First processing>
When executing the main process shown in FIG. 2, the CPU of the first control unit 52 executes the first process shown in FIG. 11 in step S3 of the main process.

第1処理では、第1制御部52のCPUは、画像形成部11および表示操作パネル12への給電のモードを第1給電モードから第2給電モードに切り替える(S321)。   In the first process, the CPU of the first control unit 52 switches the power supply mode to the image forming unit 11 and the display operation panel 12 from the first power supply mode to the second power supply mode (S321).

その後、第1制御部52のCPUは、電源14を制御して、第2制御部53への給電を開始させる(S322)。   Thereafter, the CPU of the first control unit 52 controls the power supply 14 to start power supply to the second control unit 53 (S322).

そして、第2制御部53のCPUは、電源14を制御して、第1制御部52への給電を停止させる(S323)。   Then, the CPU of the second control unit 53 controls the power supply 14 to stop the power supply to the first control unit 52 (S323).

次に、第2制御部53のCPUは、外部機器2から給電要求を受けたか否かを判別する(S324)。   Next, the CPU of the second control unit 53 determines whether a power supply request has been received from the external device 2 (S324).

給電要求を受けた場合(S324:YES)、第2制御部53のCPUは、USBポートP2から外部機器2への給電を開始する(S325)。   When the power supply request is received (S324: YES), the CPU of the second control unit 53 starts power supply from the USB port P2 to the external device 2 (S325).

外部機器2への給電は、外部機器2から給電停止要求が出されるまで続けられる(S326:NO)。   Power supply to the external device 2 is continued until a power supply stop request is issued from the external device 2 (S326: NO).

第2制御部53のCPUは、外部機器2からの給電停止要求を受けた場合(S326:YES)、外部機器2への給電を停止する(S327)。   When the CPU of the second control unit 53 receives the power supply stop request from the external device 2 (S326: YES), the CPU stops power supply to the external device 2 (S327).

外部機器2への給電開始後、第2制御部53のCPUは、外部機器2からの給電停止要求を受けるまでの間、表示操作パネル12のタッチ操作による各種指示の入力または画像形成部11によるシートへの画像の形成のジョブ、つまり画像データを含む印刷ジョブの入力の有無を判別する(S328)。また、外部機器2からの給電要求がない場合(S324:NO)および外部機器2への給電の停止後にも、第2制御部53のCPUは、タッチ操作または印刷ジョブの入力の有無を判別する(S328)。   After the start of power feeding to the external device 2, the CPU of the second control unit 53 inputs various instructions by the touch operation of the display operation panel 12 or the image forming portion 11 until the power feeding stop request from the external device 2 is received. A job for forming an image on a sheet, that is, the presence or absence of an input of a print job including image data is determined (S328). In addition, even when there is no power supply request from the external device 2 (S324: NO) and after stopping the power supply to the external device 2, the CPU of the second control unit 53 determines the presence or absence of the touch operation or the input of the print job. (S328).

タッチ操作または印刷ジョブの入力があった場合(S328:YES)、第2制御部53のCPUは、外部機器2から給電要求を受けたか否かを再び判別する(S324)。   If there is a touch operation or a print job input (S328: YES), the CPU of the second control unit 53 determines again whether a power supply request has been received from the external device 2 (S324).

タッチ操作または印刷ジョブの入力のない状態で一定時間が経過するまでの間、第2制御部53のCPUは、外部機器2から給電要求を受けたか否かの判別(S324)およびタッチ操作または印刷ジョブの入力の有無の判別を繰り返す(S329:NO)。   The CPU of the second control unit 53 determines whether or not the power supply request has been received from the external device 2 (S324), and the touch operation or printing is performed until a predetermined time elapses in a state where there is no touch operation or print job input. The determination of the presence or absence of the input of the job is repeated (S 329: NO).

タッチ操作または印刷ジョブの入力がない状態が一定時間続くと(S329:YES)、第2制御部53のCPUは、給電モードを第2給電モードから第1給電モードに戻す(S330)。   If a state in which there is no touch operation or no print job input continues for a certain period of time (S329: YES), the CPU of the second control unit 53 returns the power supply mode from the second power supply mode to the first power supply mode (S330).

その後、第2制御部53のCPUは、外部機器2への給電中であるか否かを判別する(S331)。   Thereafter, the CPU of the second control unit 53 determines whether or not power is being supplied to the external device 2 (S331).

外部機器2への給電中である場合(S331:YES)、第2制御部53のCPUは、外部機器2から給電停止要求を受けるか、または、外部機器2がUSBポートP2から外されて、外部機器2のUSB接続が解除されるまで、外部機器2への給電を継続する(S332,S333:NO)。   When power is being supplied to the external device 2 (S331: YES), the CPU of the second control unit 53 receives a power supply stop request from the external device 2, or the external device 2 is disconnected from the USB port P2, Power supply to the external device 2 is continued until the USB connection of the external device 2 is released (S332, S333: NO).

そして、外部機器2からの給電停止要求があるか(S332:YES)、または、外部機器2のUSB接続が解除されると(S333:YES)、第2制御部53のCPUは、外部機器2への給電を停止する(S334)。   Then, if there is a power supply stop request from the external device 2 (S332: YES), or if the USB connection of the external device 2 is released (S333: YES), the CPU of the second control unit 53 selects the external device 2 Power supply to the power supply is stopped (S334).

その後、第2制御部53のCPUは、電源14を制御して、第1制御部52への給電を開始させる(S335)。   Thereafter, the CPU of the second control unit 53 controls the power supply 14 to start power supply to the first control unit 52 (S335).

そして、第1制御部52のCPUは、第2制御部53への給電を停止して(S336)、第1処理を終了する。   Then, the CPU of the first control unit 52 stops the power supply to the second control unit 53 (S336), and ends the first process.

また、第2給電モードから第1給電モードに戻された時点で外部機器2への給電が行われていない場合(S331:NO)、第2制御部53のCPUは、電源14を制御して、第1制御部52への給電を開始させる(S335)。   In addition, when power is not supplied to the external device 2 when the second power feeding mode is returned to the first power feeding mode (S331: NO), the CPU of the second control unit 53 controls the power supply 14 , And supply of power to the first control unit 52 (S335).

その後、第1制御部52のCPUは、第2制御部53への給電を停止して(S336)、第1処理を終了する。   Thereafter, the CPU of the first control unit 52 stops the power supply to the second control unit 53 (S336), and ends the first process.

<第2処理>
第1制御部52のCPUは、図2に示されるメイン処理を実行する場合、メイン処理のステップS5では、図12に示す第2処理を実行する。
<Second processing>
When executing the main process shown in FIG. 2, the CPU of the first control unit 52 executes the second process shown in FIG. 12 in step S5 of the main process.

第2処理では、給電モードが第1給電モードのままにされる。   In the second process, the feed mode is kept in the first feed mode.

第1制御部52のCPUは、外部機器2から給電要求を受けたか否かを判別する(S501)。   The CPU of the first control unit 52 determines whether a power supply request has been received from the external device 2 (S501).

第1制御部52のCPUは、外部機器2から給電要求を受けた場合(S501:YES)、USBポートP1から外部機器2への給電を開始する(S502)。   When the CPU of the first control unit 52 receives a power supply request from the external device 2 (S501: YES), power supply from the USB port P1 to the external device 2 is started (S502).

外部機器2への給電は、外部機器2から給電停止要求を受けるか、または、外部機器2がUSBポートP1から外されて、外部機器2のUSB接続が解除されるまで続けられる。   Power supply to the external device 2 is continued until a power supply stop request is received from the external device 2 or the external device 2 is disconnected from the USB port P1 and the USB connection of the external device 2 is released.

外部機器2からの給電停止要求があるか(S503:YES)、または、外部機器2のUSB接続が解除されると(S504:YES)、第1制御部52のCPUは、外部機器2への給電を停止して(S505)、第2処理を終了する。   If there is a power supply stop request from the external device 2 (S503: YES), or if the USB connection of the external device 2 is released (S504: YES), the CPU of the first control unit 52 sends the external device 2 to Power feeding is stopped (S505), and the second process is ended.

また、第1制御部52のCPUは、外部機器2から給電要求を受けるまでの間(S501:NO)、外部機器2のUSB接続が解除されたか否かを判別する(S506)。   Further, the CPU of the first control unit 52 determines whether or not the USB connection of the external device 2 is released (S506) until the power supply request is received from the external device 2 (S501: NO).

外部機器2のUSB接続が解除されていなければ(S506:NO)、第1制御部52のCPUは、外部機器2から給電要求を受けたか否かを再び判別する(S501)。   If the USB connection of the external device 2 is not released (S506: NO), the CPU of the first control unit 52 determines again whether or not the power supply request has been received from the external device 2 (S501).

外部機器2からの給電要求がないまま、一定時間が経過するか、または、外部機器2のUSB接続が解除された場合(S506:YES)、第1制御部52のCPUは、第2処理を終了する。   When a predetermined time elapses without the power supply request from the external device 2 or the USB connection of the external device 2 is released (S506: YES), the CPU of the first control unit 52 performs the second process. finish.

<第3処理>
第1制御部52のCPUは、図2に示されるメイン処理を実行する場合、メイン処理のステップS6では、図13に示す第3処理を実行する。
<Third processing>
When executing the main process shown in FIG. 2, the CPU of the first control unit 52 executes the third process shown in FIG. 13 in step S6 of the main process.

第3処理では、第1制御部52のCPUは、画像形成部11および表示操作パネル12への給電のモードを第1給電モードから第2給電モードに切り替える(S601)。   In the third process, the CPU of the first control unit 52 switches the power supply mode for the image forming unit 11 and the display operation panel 12 from the first power supply mode to the second power supply mode (S601).

その後、第1制御部52のCPUは、電源14を制御して、第2制御部53への給電を開始させる(S602)。   Thereafter, the CPU of the first control unit 52 controls the power supply 14 to start power feeding to the second control unit 53 (S602).

そして、第2制御部53のCPUは、電源14を制御して、第1制御部52への給電を停止させる(S603)。   Then, the CPU of the second control unit 53 controls the power supply 14 to stop power supply to the first control unit 52 (S603).

その後、第2制御部53のCPUは、表示操作パネル12のタッチ操作または画像形成部11によるシートへの画像の形成のジョブ、つまり印刷ジョブの入力の有無を判別する(S604)。   Thereafter, the CPU of the second control unit 53 determines whether there is a touch operation of the display operation panel 12 or a job of forming an image on a sheet by the image forming unit 11, that is, the presence or absence of input of a print job (S604).

タッチ操作または印刷ジョブの入力があった場合(S604:YES)、そのタッチ操作または印刷ジョブの入力がなくなり(S604:NO)、タッチ操作または印刷ジョブの入力がなくなってから一定時間が経過するまで、第2制御部53のCPUは、処理を次に進めない(S605:NO)。   If a touch operation or print job is input (S604: YES), the touch operation or print job is not input (S604: NO), and a predetermined time elapses after the touch operation or print job is not input. The CPU of the second control unit 53 can not proceed to the next process (S605: NO).

そして、タッチ操作または印刷ジョブの入力がない状態が一定時間続くと(S605:YES)、第2制御部53のCPUは、給電モードを第2給電モードから第1給電モードに戻す(S606)。   Then, when a state in which there is no touch operation or no print job input continues for a predetermined time (S605: YES), the CPU of the second control unit 53 returns the power supply mode from the second power supply mode to the first power supply mode (S606).

その後、第2制御部53のCPUは、電源14を制御して、第1制御部52への給電を開始させる(S607)。   Thereafter, the CPU of the second control unit 53 controls the power supply 14 to start power supply to the first control unit 52 (S607).

そして、第1制御部52のCPUは、第2制御部53への給電を停止して(S608)、第3処理を終了する。   Then, the CPU of the first control unit 52 stops the power supply to the second control unit 53 (S608), and ends the third process.

<作用効果>
以上のように、第3実施形態においても、第2実施形態と同様の効果を奏することができる。
<Function effect>
As described above, also in the third embodiment, the same effect as that of the second embodiment can be obtained.

そのうえ、第3実施形態では、第2実施形態と比較して、第2制御部53よりも消費電力の小さい第1制御部52のCPUによる制御が行われる時間が長く確保されるので、電力消費を一層抑えることができる。   Moreover, in the third embodiment, compared to the second embodiment, a longer time is maintained for the control by the CPU of the first control unit 52 which consumes less power than the second control unit 53, so that the power consumption is reduced. Can be further suppressed.

<変形例>
以上、本発明の3つの実施形態について説明したが、本発明は、さらに他の形態で実施することもできる。
<Modification>
As mentioned above, although three embodiment of this invention was described, this invention can also be implemented with another form.

たとえば、前述の実施形態では、電子機器の一例として、プリンタ1,51を取り上げたが、本発明は、プリンタ1,51に限らず、プリント用紙などのシートに画像を形成する画像形成機能に加えて、原稿の画像を読み取る画像読取機能などの機能を併せて有する複合機に適用されてもよい。また、画像読取機能を単独で有するスキャナなどに適用されてもよく、外部機器に電力を供給可能なインタフェースを備える電子機器に広く適用することができる。   For example, in the above-described embodiment, the printer 1 or 51 is taken as an example of the electronic device, but the present invention is not limited to the printer 1 or 51, and in addition to the image forming function of forming an image on a sheet such as printing paper The present invention may be applied to a multifunction peripheral having a function such as an image reading function for reading an image of a document. Further, the present invention may be applied to a scanner having an image reading function alone, and can be widely applied to an electronic device provided with an interface capable of supplying power to an external device.

その他、前述の構成には、特許請求の範囲に記載された事項の範囲で種々の設計変更を施すことが可能である。   In addition, various design changes can be made to the above-described configuration within the scope of the matters described in the claims.

1,51:プリンタ
2:外部機器
11:画像形成部
12:表示操作パネル
13:USBインタフェース
14:電源
15:制御部
52:第1制御部
53:第2制御部
1, 51: printer 2: external device 11: image forming unit 12: display operation panel 13: USB interface 14: power supply 15: control unit 52: first control unit 53: second control unit

Claims (16)

電源と、
前記電源からの給電により動作する動作部と、
外部機器が接続され、その接続された前記外部機器に給電可能なインタフェースと
を備え、
前記動作部は、前記インタフェースと信号線を介して接続された制御部を含み、
前記制御部が前記電源を制御するモードとして、少なくとも前記制御部に給電される第1給電モードと、前記動作部に供給される電力が前記第1給電モードよりも多い第2給電モードとが設定されており、
前記制御部は、
前記第1給電モード時に前記インタフェースへの前記外部機器の接続を検出した後、
前記インタフェース経由で第1情報を受信したことに応じて、前記第1給電モードから前記第2給電モードに移行し、
前記インタフェース経由で第2情報を受信したことに応じて、前記インタフェース経由で前記外部機器への給電を開始する、電子機器。
Power supply,
An operating unit operated by power supply from the power supply;
An external device connected, and an interface capable of supplying power to the connected external device;
The operation unit includes a control unit connected to the interface via a signal line,
As a mode in which the control unit controls the power supply, at least a first feeding mode for feeding power to the control unit and a second feeding mode in which the power supplied to the operation unit is more than the first feeding mode are set. Has been
The control unit
After detecting the connection of the external device to the interface in the first feeding mode,
In response to receiving the first information via the interface, transition from the first feeding mode to the second feeding mode,
An electronic device, which starts power feeding to the external device via the interface in response to receiving the second information via the interface.
請求項1に記載の電子機器であって、
前記インタフェースは、USB(Universal Serial Bus)インタフェースであり、
前記制御部は、前記外部機器との間でUSB−PD(Power Delivery)プロトコルによる通信を行う、電子機器。
The electronic device according to claim 1,
The interface is a USB (Universal Serial Bus) interface,
The control unit performs electronic device communication with the external device according to a USB-PD (Power Delivery) protocol.
請求項2に記載の電子機器であって、
前記第1情報は、前記外部機器が前記電子機器に対して能動的に動作するホスト機器であるという情報を含む、電子機器。
The electronic device according to claim 2, wherein
Electronic device, wherein the first information includes information that the external device is a host device that operates actively with respect to the electronic device.
請求項2または3に記載の電子機器であって、
前記第1情報は、前記外部機器が前記電子機器に対して受動的に動作するファンクション機器であり、かつ、バッテリを内蔵していない非バッテリ駆動型のデバイスであるという情報を含む、電子機器。
The electronic device according to claim 2 or 3, wherein
The electronic device according to claim 1, wherein the first information is information indicating that the external device is a function device that operates passively with respect to the electronic device and is a non-battery-driven device that does not incorporate a battery.
請求項1〜4のいずれか一項に記載の電子機器であって、
前記動作部は、情報を表示かつ指示を受け付ける表示受付部を含み、
前記制御部は、前記第1給電モードでは、前記電源から前記表示受付部への給電が行われず、前記第1給電モードから前記第2給電モードへの移行に応じて、前記電源から前記表示受付部への給電が開始されるように、前記電源を制御する、電子機器。
The electronic device according to any one of claims 1 to 4, wherein
The operation unit includes a display receiving unit that displays information and receives an instruction;
In the first power feeding mode, the control unit does not perform power feeding from the power supply to the display receiving unit, and receives the display from the power source in response to the transition from the first power feeding mode to the second power feeding mode. Electronic equipment which controls the said power supply so that the electric power feeding to a part may be started.
請求項1〜5のいずれか一項に記載の電子機器であって、
前記動作部は、シートに画像を形成する画像形成部を含み、
前記制御部は、前記第1給電モードでは、前記電源から前記画像形成部への給電が行われず、前記第1給電モードから前記第2給電モードへの移行に応じて、前記電源から前記画像形成部への給電が開始されるように、前記電源を制御する、電子機器。
The electronic device according to any one of claims 1 to 5, wherein
The operation unit includes an image forming unit that forms an image on a sheet,
In the first feeding mode, the control unit does not feed power from the power supply to the image forming unit, and in response to the transition from the first feeding mode to the second feeding mode, the power supply forms the image from the power supply Electronic equipment which controls the said power supply so that the electric power feeding to a part may be started.
請求項5に記載の電子機器であって、
前記制御部は、前記第2給電モード時に前記表示受付部に指示が受け付けられずに一定時間が経過したことに応じて、前記第2給電モードから前記第1給電モードに移行する、電子機器。
The electronic device according to claim 5, wherein
The electronic device, wherein the control unit shifts from the second power supply mode to the first power supply mode in response to an elapse of a predetermined time without receiving an instruction from the display reception unit in the second power supply mode.
請求項6に記載の電子機器であって、
前記制御部は、前記第2給電モード時に前記画像形成部によりシートに形成される画像のデータを前記外部機器から前記インタフェース経由で受信せずに一定時間が経過したことに応じて、前記第2給電モードから前記第1給電モードに移行する、電子機器。
The electronic device according to claim 6, wherein
The control unit is configured to receive the data of the image formed on the sheet by the image forming unit from the external device via the interface during the second power feeding mode, and the second control unit is configured to receive the second time. Electronic equipment which shifts to a said 1st feed mode from a feed mode.
請求項1〜8のいずれか一項に記載の電子機器であって、
前記制御部は、前記外部機器への給電の開始後、前記インタフェース経由で給電停止要求を受信するか、または、前記インタフェースと前記外部機器との接続が解除されたことに応じて、前記外部機器への給電を停止する、電子機器。
The electronic device according to any one of claims 1 to 8, wherein
The control unit receives the power supply stop request via the interface after starting power supply to the external device, or the external device in response to the connection between the interface and the external device being released. Electronic equipment to stop power supply to.
請求項1〜9のいずれか一項に記載の電子機器であって、
前記制御部は、第1制御部と、前記第1制御部より消費電力が多い第2制御部とを含み、
前記第1制御部は、
前記第1給電モードでは、前記電源からの給電を受けて、前記第2制御部への給電が行われないように、前記電源を制御し、
前記第1給電モード時に前記インタフェースへの前記外部機器の接続を検出したことに応じて、前記第1給電モードから第3給電モードに移行し、前記第2制御部への給電が開始されるように、前記電源を制御し、
前記第2制御部は、前記第3給電モード時に前記インタフェース経由で情報を受信する、電子機器。
The electronic device according to any one of claims 1 to 9, wherein
The control unit includes a first control unit and a second control unit that consumes more power than the first control unit.
The first control unit is
In the first power feeding mode, the power source is controlled to receive power feeding from the power source so that power feeding to the second control unit is not performed.
In response to detection of connection of the external device to the interface in the first power supply mode, transition from the first power supply mode to the third power supply mode is performed, and power supply to the second control unit is started. Control the power supply,
The electronic device according to claim 1, wherein the second control unit receives information via the interface in the third power supply mode.
請求項10に記載の電子機器であって、
前記第2制御部は、前記第3給電モードでは、前記第1制御部への給電が停止されるように、前記電源を制御する、電子機器。
The electronic device according to claim 10, wherein
The electronic device according to claim 1, wherein the second control unit controls the power supply such that power supply to the first control unit is stopped in the third power feeding mode.
請求項10または11に記載の電子機器であって、
前記第2制御部は、前記第3給電モード時に前記第2情報を受信せずに一定時間が経過したことに応じて、前記第3給電モードから前記第1給電モードに移行し、前記第2制御部への給電が停止されるように、前記電源を制御する、電子機器。
It is the electronic device according to claim 10 or 11,
The second control unit shifts from the third power feeding mode to the first power feeding mode in response to the elapse of a predetermined time without receiving the second information in the third power feeding mode, and the second control section Electronic equipment which controls the said power supply so that the electric power feeding to a control part is stopped.
請求項10〜12のいずれか一項に記載の電子機器であって、
前記第2制御部は、
前記第3給電モード時に、前記インタフェース経由で前記第2情報を受信したことに応じて、前記インタフェース経由で前記外部機器に給電し、
前記外部機器への給電の開始後、前記インタフェース経由で給電停止要求を受信するか、または、前記インタフェースと前記外部機器との接続が解除されたことに応じて、前記外部機器への給電を停止する、電子機器。
The electronic device according to any one of claims 10 to 12, wherein
The second control unit is
In the third power feeding mode, in response to receiving the second information via the interface, power is supplied to the external device via the interface;
After the start of power supply to the external device, the power supply stop request is received via the interface, or the power supply to the external device is stopped in response to the connection between the interface and the external device being released. To do, electronic equipment.
請求項1〜9のいずれか一項に記載の電子機器であって、
前記制御部は、第1制御部と、前記第1制御部より消費電力が多い第2制御部とを含み、
前記第1制御部は、
前記第1給電モードにおいて、
前記電源からの給電を受けて、前記第2制御部への給電が行われないように、前記電源を制御し、
前記第1給電モード時に前記インタフェースへの前記外部機器の接続を検出し、
前記インタフェース経由で情報を受信する、電子機器。
The electronic device according to any one of claims 1 to 9, wherein
The control unit includes a first control unit and a second control unit that consumes more power than the first control unit.
The first control unit is
In the first feeding mode,
Controlling the power supply so that power is not supplied to the second control unit by receiving power supply from the power supply;
Detecting the connection of the external device to the interface in the first feeding mode;
An electronic device that receives information via the interface.
請求項14に記載の電子機器であって、
前記動作部は、情報を表示かつ指示を受け付ける表示受付部を含み、
前記第1制御部は、
前記第1給電モードでは、前記電源から前記表示受付部への給電が行われないように、前記電源を制御し、
前記第1給電モード時に前記インタフェース経由で第1情報を受信したことに応じて、前記第1給電モードから前記第2給電モードに移行し、前記第2制御部への給電が開始されるように、前記電源を制御し、
前記第2制御部は、
前記第1給電モードから前記第2給電モードへの移行に応じて、前記電源から前記表示受付部への給電が開始されるように、前記電源を制御し、
前記第2給電モード時に前記表示受付部に指示が受け付けられずに一定時間が経過したことに応じて、前記第2給電モードから前記第1給電モードに移行する、電子機器。
An electronic device according to claim 14, wherein
The operation unit includes a display receiving unit that displays information and receives an instruction;
The first control unit is
In the first power feeding mode, the power source is controlled such that power feeding from the power source to the display receiving unit is not performed,
In response to the reception of the first information via the interface in the first feeding mode, the first feeding mode is shifted to the second feeding mode so that feeding to the second control unit is started. , Control the power supply,
The second control unit is
The power supply is controlled such that power supply from the power supply to the display receiving unit is started in response to the transition from the first power supply mode to the second power supply mode,
The electronic device transitions from the second power feeding mode to the first power feeding mode in response to a predetermined time elapsed without receiving an instruction from the display reception unit in the second power feeding mode.
請求項14に記載の電子機器であって、
前記動作部は、シートに画像を形成する画像形成部を含み、
前記第1制御部は、
前記第1給電モードでは、前記電源から前記画像形成部への給電が行われないように、前記電源を制御し、
前記第1給電モード時に前記インタフェース経由で第1情報を受信したことに応じて、前記第1給電モードから前記第2給電モードに移行し、前記第2制御部への給電が開始されるように、前記電源を制御し、
前記第2制御部は、
前記第1給電モードから前記第2給電モードへの移行に応じて、前記電源から前記画像形成部への給電が開始されるように、前記電源を制御し、
前記第2給電モード時に前記画像形成部によりシートに形成される画像のデータを前記外部機器から前記インタフェース経由で受信せずに一定時間が経過したことに応じて、前記第2給電モードから前記第1給電モードに移行する、電子機器。
An electronic device according to claim 14, wherein
The operation unit includes an image forming unit that forms an image on a sheet,
The first control unit is
In the first power feeding mode, the power source is controlled such that power feeding from the power source to the image forming unit is not performed;
In response to the reception of the first information via the interface in the first feeding mode, the first feeding mode is shifted to the second feeding mode so that feeding to the second control unit is started. , Control the power supply,
The second control unit is
Controlling the power supply so that power supply from the power supply to the image forming unit is started in response to transition from the first power supply mode to the second power supply mode;
The second power feeding mode is started from the second power feeding mode in response to the elapse of a predetermined time without receiving data of an image formed on the sheet by the image forming unit from the external device via the interface in the second power feeding mode. 1 Electronic equipment to shift to the power supply mode.
JP2017166977A 2017-08-31 2017-08-31 Electronics Active JP7006026B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017166977A JP7006026B2 (en) 2017-08-31 2017-08-31 Electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017166977A JP7006026B2 (en) 2017-08-31 2017-08-31 Electronics

Publications (2)

Publication Number Publication Date
JP2019047592A true JP2019047592A (en) 2019-03-22
JP7006026B2 JP7006026B2 (en) 2022-01-24

Family

ID=65816679

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017166977A Active JP7006026B2 (en) 2017-08-31 2017-08-31 Electronics

Country Status (1)

Country Link
JP (1) JP7006026B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114987050A (en) * 2021-03-01 2022-09-02 精工爱普生株式会社 Printing device
US11579821B2 (en) 2021-03-02 2023-02-14 Seiko Epson Corporation Printing apparatus

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003044177A (en) * 2001-07-12 2003-02-14 Internatl Business Mach Corp <Ibm> Computer system, power supply controller and method or managing power supply
JP2004127188A (en) * 2002-10-07 2004-04-22 Canon Inc Information processing system
JP2009302831A (en) * 2008-06-12 2009-12-24 Canon Inc Information processing apparatus, control method, and program
JP2010108423A (en) * 2008-10-31 2010-05-13 Toshiba Corp Information processor
JP2012171220A (en) * 2011-02-22 2012-09-10 Konica Minolta Business Technologies Inc Image forming apparatus
JP2014059631A (en) * 2012-09-14 2014-04-03 Canon Inc Power source control device
JP2016181088A (en) * 2015-03-24 2016-10-13 セイコーエプソン株式会社 Power supply device, printing device, and power supply device control method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003044177A (en) * 2001-07-12 2003-02-14 Internatl Business Mach Corp <Ibm> Computer system, power supply controller and method or managing power supply
JP2004127188A (en) * 2002-10-07 2004-04-22 Canon Inc Information processing system
JP2009302831A (en) * 2008-06-12 2009-12-24 Canon Inc Information processing apparatus, control method, and program
JP2010108423A (en) * 2008-10-31 2010-05-13 Toshiba Corp Information processor
JP2012171220A (en) * 2011-02-22 2012-09-10 Konica Minolta Business Technologies Inc Image forming apparatus
JP2014059631A (en) * 2012-09-14 2014-04-03 Canon Inc Power source control device
JP2016181088A (en) * 2015-03-24 2016-10-13 セイコーエプソン株式会社 Power supply device, printing device, and power supply device control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114987050A (en) * 2021-03-01 2022-09-02 精工爱普生株式会社 Printing device
CN114987050B (en) * 2021-03-01 2024-03-12 精工爱普生株式会社 Printing device
US11579821B2 (en) 2021-03-02 2023-02-14 Seiko Epson Corporation Printing apparatus

Also Published As

Publication number Publication date
JP7006026B2 (en) 2022-01-24

Similar Documents

Publication Publication Date Title
JP2015174375A (en) Image forming device and control method for the same, and program
US20100260506A1 (en) Image forming apparatus
US10194044B2 (en) System and method for shifting electric power modes in an image forming system
US9104422B2 (en) Image processing apparatus and method of image processing
JP7006026B2 (en) Electronics
JP2010076355A (en) Printing apparatus, program, and printer driver
JP6672001B2 (en) Image forming apparatus, communication control method, program, and printing apparatus
JP2014079991A (en) Electronic apparatus and control method thereof, and program
US20150062603A1 (en) Image forming system and information processing apparatus
JP6494461B2 (en) Power supply apparatus, control method, and program
CN110445946B (en) Communication system capable of reducing power consumption, image forming apparatus, and control method thereof
JP6185901B2 (en) Image forming apparatus
JP2010162792A (en) Image forming apparatus and program
JP2010217983A (en) Image forming system, image forming apparatus, and instruction generating device
JP2010056601A (en) Image forming device, control device, and program
JP6414490B2 (en) Image forming system
JP2013003418A (en) Image forming apparatus, image forming method, program, and a computer-readable recording medium
JP2010123080A (en) Image formation system, printer apparatus, and instruction transmitter
JP2010062901A (en) Image forming system, image forming apparatus, and program
JP2015002434A (en) Image forming apparatus, control method for image forming apparatus, and program
JP6402669B2 (en) Image processing device
JP2010146168A (en) Image forming system, image forming apparatus, and command transmission device
JP2010165182A (en) Image forming system, management device, image forming apparatus, and program
JP2005315923A (en) Image forming apparatus
JP2010211372A (en) Image forming system, printer device and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200818

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210621

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210706

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210816

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211005

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211119

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20211207

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211220

R150 Certificate of patent or registration of utility model

Ref document number: 7006026

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150