JP2015144358A - communication device - Google Patents

communication device Download PDF

Info

Publication number
JP2015144358A
JP2015144358A JP2014017029A JP2014017029A JP2015144358A JP 2015144358 A JP2015144358 A JP 2015144358A JP 2014017029 A JP2014017029 A JP 2014017029A JP 2014017029 A JP2014017029 A JP 2014017029A JP 2015144358 A JP2015144358 A JP 2015144358A
Authority
JP
Japan
Prior art keywords
power supply
communication
supply voltage
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.)
Granted
Application number
JP2014017029A
Other languages
Japanese (ja)
Other versions
JP6248657B2 (en
Inventor
健太郎 青山
Kentaro Aoyama
健太郎 青山
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 JP2014017029A priority Critical patent/JP6248657B2/en
Publication of JP2015144358A publication Critical patent/JP2015144358A/en
Application granted granted Critical
Publication of JP6248657B2 publication Critical patent/JP6248657B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Circuits Of Receivers In General (AREA)
  • Power Sources (AREA)
  • Transmitters (AREA)

Abstract

PROBLEM TO BE SOLVED: To suppress an adverse effect upon a communication device, even if during the operation of the communication device by receiving non-contact power supply, the non-contact power supply is intercepted.SOLUTION: A communication control unit 21, if being in a power supply OFF state in which a first power voltage Vcc is not supplied thereto, is activated by a second power voltage Va when the second power voltage Va is generated in a power supply circuit 24 from reception power from an external device 100 in a non-contact manner. The communication control unit 21, after the activation, determines processing to be executed on the basis of the non-contact communication with the external device 100, so as to switch on a power changeover switch 10 if the processing to be executed is specific processing. When the power changeover switch 10 is switched on, a third power supply voltage Vb is supplied from a backup power supply 6 to the communication control unit 21. This enables the communication control unit 21 to continue operation by the third power supply voltage Vb if the power reception from the external device 100 is intercepted.

Description

本発明は、外部装置との間で非接触通信が可能な通信装置に関する。   The present invention relates to a communication device capable of contactless communication with an external device.

外部装置との間で非接触通信が可能な各種の通信装置が提供されている。非接触通信を用いることで、例えば、外部装置から通信装置内のメモリにアクセスしてデータの読み書きを行ったり、外部装置から通信装置に対して機能実行を指示したりすることが可能となる。なお、非接触通信方式としては、例えばNFC(Near Field Communication;近距離無線通信)が知られている。   Various communication devices capable of non-contact communication with external devices are provided. By using non-contact communication, for example, it is possible to access a memory in the communication device from an external device to read / write data, or to instruct the communication device to execute a function from the external device. For example, NFC (Near Field Communication) is known as a non-contact communication method.

このような通信装置においては、たとえ電源がオフされていたり電源コンセントが抜かれていたりするなどして通常動作を停止している状態であっても、必要に応じて外部装置との非接触通信を実行して、メモリアクセスや機能実行指示などを行うことができると便利である。   In such a communication device, contactless communication with an external device is performed as necessary even if the normal operation is stopped, for example, when the power is turned off or the power outlet is disconnected. It is convenient to execute memory access and function execution instructions.

特許文献1には、電池が装着されていない端末装置に対して外部装置から非接触給電を行うことによって、その給電電力により端末装置を通常通り起動させて必要な処理を実行させる技術が記載されている。   Patent Document 1 describes a technique for performing non-contact power supply from an external device to a terminal device to which a battery is not attached, thereby starting the terminal device as usual with the supplied power and executing necessary processing. ing.

特開2012−14422号公報JP 2012-14422 A

特許文献1に記載の技術を用いることで、通信装置の電源がオフされていても、外部装置からの非接触給電によって通信装置が動作可能となり、外部装置と通信装置との間で非接触通信が可能となる。   By using the technique described in Patent Document 1, the communication device can operate by non-contact power supply from the external device even when the power of the communication device is turned off, and non-contact communication between the external device and the communication device Is possible.

しかし、本体電源がオフされている通信装置が外部装置からの非接触給電を受けて動作しているときに、外部装置が通信装置から離されると、外部装置から通信装置への給電が途絶えて、通信装置の動作が強制的に停止されてしまうおそれがある。動作中に電源供給が途絶えて動作が停止されてしまうと、動作の内容によっては、通信装置内のハードウェア或いはソフトウェアに悪影響を及ぼしてしまうおそれがある。   However, when the communication device with the main power turned off is operating with contactless power supply from the external device, if the external device is separated from the communication device, the power supply from the external device to the communication device is interrupted. The operation of the communication device may be forcibly stopped. If the power supply is interrupted and the operation is stopped during the operation, the hardware or software in the communication apparatus may be adversely affected depending on the contents of the operation.

本発明は上記課題に鑑みなされたものであり、装置本体の電源がオフされていても外部装置からの非接触給電を受けて動作可能な通信装置において、非接触給電による動作中にその非接触給電が途絶えたとしても、それによって通信装置に悪影響が及ぶのを抑止できるようにすることを目的とする。   The present invention has been made in view of the above problems, and in a communication device operable by receiving non-contact power supply from an external device even when the power of the device main body is turned off, the non-contact power supply is in operation during the operation by non-contact power supply. It is an object of the present invention to prevent a communication device from being adversely affected even when power supply is interrupted.

上記課題を解決するためになされた本発明は、通信装置であって、第1電源部と、アンテナと、第2電源部と、第3電源部と、通信制御部と、電源供給部と、を備える。
第1電源部は、当該通信装置を動作させるための第1電源電圧を生成する。アンテナは、外部装置と非接触通信を行うために備えられている。第2電源部は、アンテナにより外部装置から受電された電力を元に第2電源電圧を生成する。第3電源部は、第1電源部の動作状態にかかわらず第3電源電圧を生成可能である。通信制御部は、第1電源電圧、第2電源電圧、及び第3電源電圧の何れかにより動作可能であって、外部装置との非接触通信を制御する。電源供給部は、通信制御部に対し、第1電源電圧、第2電源電圧、及び第3電源電圧の何れかを供給可能である。
The present invention made to solve the above-described problems is a communication device, and includes a first power supply unit, an antenna, a second power supply unit, a third power supply unit, a communication control unit, a power supply unit, Is provided.
The first power supply unit generates a first power supply voltage for operating the communication device. The antenna is provided for performing contactless communication with an external device. The second power supply unit generates a second power supply voltage based on the power received from the external device by the antenna. The third power supply unit can generate the third power supply voltage regardless of the operating state of the first power supply unit. The communication control unit is operable by any one of the first power supply voltage, the second power supply voltage, and the third power supply voltage, and controls non-contact communication with an external device. The power supply unit can supply any one of the first power supply voltage, the second power supply voltage, and the third power supply voltage to the communication control unit.

電源供給部は、第1電源部で第1電源電圧が生成されているときは通信制御部へ第1電源電圧を供給し、第1電源部で第1電源電圧が生成されていない電源オフ状態のときに第2電源部で第2電源電圧が生成された場合はその第2電源電圧を通信制御部へ供給する。   The power supply unit supplies the first power supply voltage to the communication control unit when the first power supply unit generates the first power supply voltage, and the power supply off state in which the first power supply unit does not generate the first power supply voltage At this time, if the second power supply voltage is generated by the second power supply unit, the second power supply voltage is supplied to the communication control unit.

通信制御部は、第2電源電圧の供給を受けて起動した場合、外部装置との非接触通信に基づいて、実行すべき処理を判断し、その処理が特定処理である場合は、電源供給部に対して第3電源電圧の供給を指示する。電源供給部は、通信制御部から第3電源電圧の供給の指示を受けた場合は、通信制御部へ第3電源電圧を供給する。   When the communication control unit is activated by receiving the supply of the second power supply voltage, the communication control unit determines a process to be executed based on the non-contact communication with the external device, and when the process is a specific process, the power supply unit Is instructed to supply the third power supply voltage. The power supply unit supplies the third power supply voltage to the communication control unit when receiving an instruction to supply the third power supply voltage from the communication control unit.

本発明の通信装置では、通信制御部が、第2電源電圧により起動(即ち外部装置からの受電電力により起動)した場合、どのような処理を実行すべきかを、外部装置との非接触通信の内容に基づいて判断する。そして、実行すべき処理が特定処理であった場合、電源供給部から通信制御部へ第3電源電圧を供給させる。   In the communication device of the present invention, when the communication control unit is activated by the second power supply voltage (that is, activated by the received power from the external device), it determines what processing should be executed in the non-contact communication with the external device. Judge based on the content. When the process to be executed is a specific process, the third power supply voltage is supplied from the power supply unit to the communication control unit.

従って、本発明の通信装置によれば、外部装置との非接触通信に基づいて特定処理を実行している間に、外部装置が離されるなどして外部装置から受電できなくなったとしても、第3電源部からの第3電源電圧によって特定処理を継続して実行でき、通信装置に悪影響が及ぶのを抑止できる。   Therefore, according to the communication device of the present invention, even if the external device is disconnected and cannot receive power from the external device while executing the specific process based on the non-contact communication with the external device, The specific process can be continuously executed by the third power supply voltage from the three power supply units, and adverse effects on the communication device can be suppressed.

実施形態の複合機1の概略構成を示す説明図である。It is explanatory drawing which shows schematic structure of the multifunctional device 1 of embodiment. NFC−IC3の詳細構成(特に給電回路24の詳細構成)を示す説明図である。It is explanatory drawing which shows the detailed structure (especially detailed structure of the electric power feeding circuit 24) of NFC-IC3. スマートフォン100から要求される可能性のある処理(シリアル通信を伴う処理)の種類毎にその処理に関する情報が対応付けられたテーブルを示す説明図である。It is explanatory drawing which shows the table with which the information regarding the process was matched for every kind of process (process with serial communication) which may be requested | required from the smart phone. オフモード中にスマートフォン100がかざされたときの複合機1の動作例を示す説明図である。FIG. 10 is an explanatory diagram illustrating an operation example of the multifunction machine 1 when the smartphone 100 is held over during the off mode. 実施形態のNFC制御処理を示すフローチャートである。It is a flowchart which shows the NFC control process of embodiment. 図5のNFC制御処理における、S140の要求コマンド対応処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the request command response process of S140 in the NFC control process of FIG. 図6の要求コマンド対応処理における、S230のバックアップ電力要否判断処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the backup power necessity judgment process of S230 in the request command corresponding | compatible process of FIG.

以下に、本発明の好適な実施形態を図面に基づいて説明する。
(1)複合機1の構成
図1に示す本実施形態の複合機1は、プリンタ機能、電話機能などの複数の機能を有する多機能周辺装置である。複合機1は、NFCによる無線通信(以下「NFC通信」という)の機能を備えている。NFC通信は、通信可能距離が約10cm程度に限定された近距離無線通信(非接触通信)であり、例えば13.56MHzの周波数帯域の電波が用いられる。
Preferred embodiments of the present invention will be described below with reference to the drawings.
(1) Configuration of Multifunction Device 1 A multifunction device 1 according to this embodiment shown in FIG. 1 is a multifunction peripheral device having a plurality of functions such as a printer function and a telephone function. The multifunction device 1 has a function of wireless communication by NFC (hereinafter referred to as “NFC communication”). NFC communication is short-range wireless communication (non-contact communication) in which a communicable distance is limited to about 10 cm, and for example, radio waves in a 13.56 MHz frequency band are used.

複合機1は、NFC通信機能を持った外部の通信機器との間でNFC通信が可能である。本実施形態では、NFC通信が可能な外部の通信機器の一例として、図1に示すスマートフォン100を例に挙げて説明する。なお、複合機1は、NFC通信のほか、例えば無線LANや有線LANなどによる通信機能も備えている。   The multifunction device 1 can perform NFC communication with an external communication device having an NFC communication function. In the present embodiment, a smartphone 100 shown in FIG. 1 will be described as an example of an external communication device capable of NFC communication. In addition to NFC communication, the multifunction device 1 also has a communication function using, for example, a wireless LAN or a wired LAN.

複合機1は、図1に示すように、制御回路2、NFC−IC3、EEPROM4、フラッシュROM5、バックアップキャパシタ6、通信回線接続回路7、RTC回路8、電源回路9、電源切替スイッチ10、及びRAM20を備えている。なお、図1には直接示されていないが、通信回線接続回路7及びRTC回路8は、制御回路2と接続されており、制御回路2と相互に信号やデータを送受可能となっている。   As shown in FIG. 1, the multi function device 1 includes a control circuit 2, an NFC-IC 3, an EEPROM 4, a flash ROM 5, a backup capacitor 6, a communication line connection circuit 7, an RTC circuit 8, a power circuit 9, a power switch 10, and a RAM 20. It has. Although not shown directly in FIG. 1, the communication line connection circuit 7 and the RTC circuit 8 are connected to the control circuit 2 and can transmit and receive signals and data to and from the control circuit 2.

電源回路9は、複合機1の外部から入力される電力(例えば商用AC100Vの電力)を整流・変圧等して、複合機1を動作させるための主電源である第1電源電圧Vccを生成する。電源回路9で生成された第1電源電圧Vccは、制御回路2、NFC−IC3、EEPROM4、フラッシュROM5、バックアップキャパシタ6、通信回線接続回路7、RTC8、RAM20などの、複合機1内の各部に供給される。   The power supply circuit 9 rectifies and transforms electric power (for example, commercial AC 100 V power) input from the outside of the multifunction device 1 to generate a first power supply voltage Vcc that is a main power source for operating the multifunction device 1. . The first power supply voltage Vcc generated by the power supply circuit 9 is supplied to each part in the multifunction device 1 such as the control circuit 2, NFC-IC 3, EEPROM 4, flash ROM 5, backup capacitor 6, communication line connection circuit 7, RTC 8, and RAM 20. Supplied.

RAM20は、制御回路2が各種制御処理を実行する際に、実行対象のプログラムを展開したり、各種データや演算結果などを一時記憶させたりするために用いられる。
制御回路2は、複合機1が有する各種機能を制御する。制御回路2は、メイン制御部11と、シリアル通信I/F(インタフェース)12とを備えている。また、制御回路2は、電力や信号が入力又は出力されるポートとして、シリアルポート13、主電源入力ポート14、及びRAMポート15を備えている。
The RAM 20 is used for expanding a program to be executed and temporarily storing various data and calculation results when the control circuit 2 executes various control processes.
The control circuit 2 controls various functions that the multifunction device 1 has. The control circuit 2 includes a main control unit 11 and a serial communication I / F (interface) 12. The control circuit 2 includes a serial port 13, a main power input port 14, and a RAM port 15 as ports to which power and signals are input or output.

シリアルポート13には、シリアル通信の通信バスであるシリアルラインLが接続されている。主電源入力ポート14には、電源回路9から第1電源電圧Vccが入力される。制御回路2は、電源回路9から第1電源電圧Vccが入力されているときに、その第1電源電圧Vccを電源として動作する。RAMポート15は、RAM20に接続されている。制御回路2からRAM20へのアクセスは、RAMポート15を介して行われる。   A serial line L which is a communication bus for serial communication is connected to the serial port 13. The first power supply voltage Vcc is input from the power supply circuit 9 to the main power supply input port 14. When the first power supply voltage Vcc is input from the power supply circuit 9, the control circuit 2 operates using the first power supply voltage Vcc as a power supply. The RAM port 15 is connected to the RAM 20. Access from the control circuit 2 to the RAM 20 is performed via the RAM port 15.

制御回路2において、シリアル通信I/F12は、NFC−IC3やその他の通信対象の通信ノードとのシリアル通信によるデータ通信を行うための通信インタフェースであり、シリアルポート13に接続されている。シリアル通信のデータは、シリアル通信I/F12及びシリアルポート13を介して送受信される。なお、本明細書において通信ノードとは、シリアルラインLに接続されてシリアル通信可能なユニットのうち、NFC−IC3及び制御回路2を除くユニット(EEPROM4やフラッシュROM5など)を示す。   In the control circuit 2, the serial communication I / F 12 is a communication interface for performing data communication by serial communication with the NFC-IC 3 and other communication target communication nodes, and is connected to the serial port 13. Serial communication data is transmitted and received via the serial communication I / F 12 and the serial port 13. In this specification, a communication node refers to a unit (such as EEPROM 4 or flash ROM 5) excluding the NFC-IC 3 and the control circuit 2 among units connected to the serial line L and capable of serial communication.

制御回路2は、シリアルラインLによって、NFC−IC3、EEPROM4、及びフラッシュROM5を含む複数のデータ通信対象と相互に接続されている。そのため、制御回路2は、それら複数のデータ通信対象とシリアルラインLを通じて相互にシリアル通信可能である。   The control circuit 2 is connected to a plurality of data communication objects including the NFC-IC 3, the EEPROM 4, and the flash ROM 5 by a serial line L. Therefore, the control circuit 2 can perform serial communication with the plurality of data communication targets through the serial line L.

本実施形態のシリアル通信は、マスタースレーブ方式のシリアル通信である。制御回路2は、マスタースレーブ方式のシリアル通信において、マスターとして動作する。これに対し、NFC−IC3以外の各通信ノード(EEPROM4,フラッシュROM5など)は、スレーブとして動作する。NFC−IC3は、通常はスレーブとして動作するが、特定の場合においては、マスターとして動作する。つまり、NFC−IC3は、シリアル通信において、マスターとしてもスレーブとしても動作可能である。なお、マスタースレーブ方式の通信方式には、例えばI2C(Inter-Integrated Circuit)、USB(Universal Serial Bus)、SDIO(Secure Digital Input/Output Card)、SPI(Serial Peripheral Interface)などの、種々の規格がある。   The serial communication of this embodiment is a master-slave type serial communication. The control circuit 2 operates as a master in the master-slave type serial communication. On the other hand, each communication node (EEPROM4, flash ROM5, etc.) other than NFC-IC3 operates as a slave. The NFC-IC 3 normally operates as a slave, but in a specific case, operates as a master. That is, the NFC-IC 3 can operate as a master and a slave in serial communication. The master-slave communication method includes various standards such as I2C (Inter-Integrated Circuit), USB (Universal Serial Bus), SDIO (Secure Digital Input / Output Card), SPI (Serial Peripheral Interface), and the like. is there.

制御回路2において、メイン制御部11は、CPUやメモリ等を有するマイクロコンピュータを少なくとも含む。メイン制御部11は、起動すると、フラッシュROM5やEEPROM4から必要なデータやプログラムを読み込んでRAM20に展開し、通常動作に必要な起動処理を適宜実行する。この起動処理が完了すると、メイン制御部11による各種機能の実行が可能な状態となる。   In the control circuit 2, the main control unit 11 includes at least a microcomputer having a CPU, a memory, and the like. When activated, the main control unit 11 reads necessary data and programs from the flash ROM 5 and the EEPROM 4 and expands them in the RAM 20, and appropriately executes activation processing necessary for normal operation. When this activation process is completed, the main control unit 11 can execute various functions.

メイン制御部11は、起動後、起動処理を終えて通常動作を開始すると、シリアル通信I/F12を介したシリアル通信の制御や、通信回線接続回路7の制御、無線LAN通信機能やプリンタ機能などの各種機能を実現するための各種機能回路(図示略)の制御などを行う。メイン制御部11は、必要に応じて、RTC8から現在時刻情報を取得する。   When the main control unit 11 finishes the startup process and starts normal operation after startup, the main control unit 11 controls serial communication via the serial communication I / F 12, control of the communication line connection circuit 7, wireless LAN communication function, printer function, etc. Control of various functional circuits (not shown) for realizing the various functions is performed. The main control unit 11 acquires current time information from the RTC 8 as necessary.

通信回線接続回路7は、外部の通信回線に接続され、電話やファクシミリ等の通信を実行する。RTC(Real Time Clock )回路8は、現在日時や時刻を保持・出力する。
ここで、複合機1の動作モードについて説明する。本実施形態の複合機1は、動作モードとして、通常モードとオフモードを有している。
The communication line connection circuit 7 is connected to an external communication line and executes communication such as telephone and facsimile. An RTC (Real Time Clock) circuit 8 holds and outputs the current date and time.
Here, the operation mode of the multifunction machine 1 will be described. The multifunction device 1 of the present embodiment has a normal mode and an off mode as operation modes.

通常モードは、電源回路9から第1電源電圧Vccが供給されて複合機1内の各部が動作可能となる動作モードである。動作停止中(オフモード中)に例えばユーザが電源スイッチ(不図示)を押し操作すると、電源回路9から第1電源電圧Vccが出力されて、動作モードが通常モードに移行する。   The normal mode is an operation mode in which the first power supply voltage Vcc is supplied from the power supply circuit 9 so that each unit in the multi function device 1 can operate. When the user presses a power switch (not shown) while the operation is stopped (during the off mode), for example, the first power supply voltage Vcc is output from the power supply circuit 9, and the operation mode shifts to the normal mode.

オフモードは、複合機1が一定時間使用されていない待機時や、通常モード中にユーザが電源スイッチを押し操作した場合などに設定される動作モードであって、電源回路9が動作を停止して第1電源電圧Vccの供給が停止される動作モードである。   The off mode is an operation mode that is set when the multifunction device 1 is not used for a certain period of time or when the user presses the power switch during the normal mode, and the power supply circuit 9 stops operating. This is an operation mode in which the supply of the first power supply voltage Vcc is stopped.

制御回路2のメイン制御部11は、通常モード時に常時、動作モードをオフモードへ切り替えるべきオフモード切替条件が成立したか否かを判断している。オフモード切替条件としては、例えば、複合機1が一定時間使用されていないことや、電源スイッチが押し操作されたことなどが設定されている。メイン制御部11は、RTC回路8の時刻情報や電源スイッチの操作情報などの各種情報を取得して、オフモード切替条件が成立したかどうか判断する。メイン制御部11は、オフモード切替条件が成立した場合は、電源回路9の動作を停止させて、動作モードを通常モードからオフモードに切り替える。   The main control unit 11 of the control circuit 2 always determines whether or not an off mode switching condition for switching the operation mode to the off mode is satisfied in the normal mode. As the off-mode switching condition, for example, that the multifunction device 1 has not been used for a certain period of time or that the power switch has been pressed is set. The main control unit 11 acquires various information such as time information of the RTC circuit 8 and operation information of the power switch, and determines whether or not the off mode switching condition is satisfied. When the off mode switching condition is satisfied, the main control unit 11 stops the operation of the power supply circuit 9 and switches the operation mode from the normal mode to the off mode.

オフモード中は、第1電源電圧Vccの供給が停止されるため、複合機1内のほとんどの回路は、電力供給が途絶えて停止する。ただし、オフモード中であっても維持させるべき機能(以下「最低基本機能」ともいう)がいくつかある。例えば、RTC回路8、電源スイッチの操作有無検知、通信回線接続回路7による電話やファクシミリの着信検知、オフモードから通常モードに復帰させる復帰条件を検出するための復帰条件検知機能、オフモード解除の際に電源回路9を起動させるための起動信号を出力する機能などが、最低基本機能の一例である。   During the off mode, the supply of the first power supply voltage Vcc is stopped, so that most of the circuits in the multi-function device 1 stop supplying power. However, there are some functions (hereinafter also referred to as “minimum basic functions”) that should be maintained even in the off mode. For example, RTC circuit 8, detection of operation of power switch, detection of incoming call or facsimile by communication line connection circuit 7, return condition detection function for detecting return condition for returning from off mode to normal mode, release of off mode A function of outputting a start signal for starting the power supply circuit 9 at this time is an example of the lowest basic function.

そこで本実施形態の複合機1は、オフモード中であってもこれら最低基本機能を維持させるためのバックアップ電源として、バックアップキャパシタ6を搭載している。バックアップキャパシタ6は、静電容量の大きい静電容量素子(キャパシタ)である。   Therefore, the multi-function device 1 of this embodiment is equipped with a backup capacitor 6 as a backup power source for maintaining these minimum basic functions even in the off mode. The backup capacitor 6 is a capacitance element (capacitor) having a large capacitance.

バックアップキャパシタ6には、通常モード中、電源回路9から、ダイオードD3及び抵抗R1を介して第1電源電圧Vccが供給され、これにより第1電源電圧Vccと略同じ電圧に充電される。バックアップキャパシタ6は、抵抗R1を介して、通信回線接続回路7やRTC回路8などの、最低基本機能を実現するための各種回路に接続されている。これらの回路に対しては、ダイオードD3を介して第1電源電圧Vccが供給可能であると共に、バックアップキャパシタ6の充電電圧である第3電源電圧Vbも供給可能である。   During the normal mode, the backup capacitor 6 is supplied with the first power supply voltage Vcc from the power supply circuit 9 via the diode D3 and the resistor R1, and is thereby charged to a voltage substantially equal to the first power supply voltage Vcc. The backup capacitor 6 is connected to various circuits for realizing the lowest basic function, such as the communication line connection circuit 7 and the RTC circuit 8, via the resistor R1. The first power supply voltage Vcc can be supplied to these circuits via the diode D3, and the third power supply voltage Vb that is the charging voltage of the backup capacitor 6 can also be supplied.

そのため、オフモードになって第1電源電圧Vccの供給が途絶えても、通信回線接続回路7やRTC回路8は、バックアップキャパシタ6からの第3電源電圧Vbの供給を受けて動作可能である。   Therefore, even if the supply of the first power supply voltage Vcc is interrupted due to the off mode, the communication line connection circuit 7 and the RTC circuit 8 can operate by receiving the supply of the third power supply voltage Vb from the backup capacitor 6.

動作モードをオフモードから通常モードへ復帰させるための復帰条件として、本実施形態では、例えば、電源スイッチが押し操作されたことや、バックアップキャパシタ6の充電電圧が特定の電圧閾値以下になったこと、オフモードが一定時間継続していること、複合機1が備える開閉カバー(不図示)が開閉操作されたこと、などが設定されている。そのため、オフモード中にバックアップキャパシタ6の充電電圧が低下して電圧閾値以下になると、一時的に通常モードに復帰され、その間、電源回路9からバックアップキャパシタ6への充電が行われる。この場合に通常モードに復帰される時間は、バックアップキャパシタ6の充電電圧を上記電圧閾値よりも高い電圧(例えば第1電源電圧Vccと同じ値かそれよりも高い特定の値)に上昇させることができて且つ十分な電力を充電させることが可能な時間である。なお、電圧閾値は、例えば、最低基本機能の維持(動作)のために最低限必要な電圧よりも所定値高い電圧に設定されている。   As return conditions for returning the operation mode from the off mode to the normal mode, in the present embodiment, for example, the power switch is pressed, or the charging voltage of the backup capacitor 6 is below a specific voltage threshold. In addition, it is set that the off mode has continued for a certain period of time, and an opening / closing cover (not shown) provided in the multifunction device 1 has been opened / closed. For this reason, when the charging voltage of the backup capacitor 6 decreases during the off mode and falls below the voltage threshold value, the normal mode is temporarily restored, and during this time, the power supply circuit 9 charges the backup capacitor 6. In this case, the time for returning to the normal mode is to increase the charging voltage of the backup capacitor 6 to a voltage higher than the voltage threshold (for example, the same value as the first power supply voltage Vcc or a specific value higher than that). It is a time that can be charged and sufficient power can be charged. The voltage threshold value is set to a voltage that is higher by a predetermined value than the minimum voltage required for maintaining (operation) the minimum basic function, for example.

電源切替スイッチ10は、バックアップキャパシタ6からNFC−ICへの第3電源電圧Vbの供給路に設けられ、この供給路を導通・遮断するためのスイッチである。電源切替スイッチ10は、NFC−IC3からの電源切替信号Enに従ってオン・オフされ、オフ時は上記供給路が遮断され、オン時に上記供給路が導通される。電源切替スイッチ10がオンされると、バックアップキャパシタ6からの第3電源電圧Vbが、電源切替スイッチ10及びダイオードD2を介してNFC−IC3の電源入力ポート25に入力される。   The power supply changeover switch 10 is provided in a supply path of the third power supply voltage Vb from the backup capacitor 6 to the NFC-IC, and is a switch for conducting / cutting off this supply path. The power supply switch 10 is turned on / off in accordance with a power supply switching signal En from the NFC-IC 3, the supply path is cut off when the switch is turned off, and the supply path is turned on when the switch is turned on. When the power switch 10 is turned on, the third power voltage Vb from the backup capacitor 6 is input to the power input port 25 of the NFC-IC 3 via the power switch 10 and the diode D2.

NFC−IC3は、NFC通信可能な他の通信機器とNFC通信を行うための無線通信モジュールである。NFC−IC3は、複合機1の内部における上部側に搭載され、NFC通信用のループアンテナ3aが接続されている。スマートフォン100をループアンテナ3aの上部近傍の所定領域内に近接させる(かざす)と、複合機1とスマートフォン100とのNFC通信が可能となり、特定の通信手順で無線通信が行われる。   The NFC-IC 3 is a wireless communication module for performing NFC communication with other communication devices capable of NFC communication. The NFC-IC 3 is mounted on the upper side inside the multifunction device 1 and is connected to a loop antenna 3a for NFC communication. When the smartphone 100 is brought close to (holds over) a predetermined area near the upper portion of the loop antenna 3a, NFC communication between the multifunction device 1 and the smartphone 100 becomes possible, and wireless communication is performed according to a specific communication procedure.

なお、本明細書において、スマートフォン100について、複合機1に対して「近接させる」あるいは「かざす」などというときは、特に断りのない限り、スマートフォン100と複合機1とが相互にNFC通信可能となるような位置関係にされることを意味するものとする。   In this specification, when the smartphone 100 is “closed” or “holds” the multifunction device 1, unless otherwise specified, the smartphone 100 and the multifunction device 1 can perform NFC communication with each other. It means that the positional relationship is as follows.

NFC−IC3は、通信制御部21と、NFCI/F22と、シリアル通信I/F23と、給電回路24とを備えている。また、NFC−IC3は、電力や信号が入力又は出力されるポートとして、電源入力ポート25、シリアルポート26、電源切替ポート27、及び少なくとも2つの給電ポート31,32を備えている。   The NFC-IC 3 includes a communication control unit 21, an NFC I / F 22, a serial communication I / F 23, and a power feeding circuit 24. The NFC-IC 3 includes a power input port 25, a serial port 26, a power switching port 27, and at least two power feeding ports 31 and 32 as ports through which power and signals are input or output.

電源入力ポート25には、電源回路9からの電源供給路が接続されており、電源回路9からダイオードD1を介して第1電源電圧Vccが入力される。また、電源入力ポート25には、既述の通り、バックアップキャパシタ6からの第3電源電圧Vbが、電源切替スイッチ10及びダイオードD2を介して入力される。NFC−IC3は、電源回路9からの第1電源電圧Vcc及びバックアップキャパシタ6からの第3電源電圧Vbの少なくとも一方が入力されると動作可能となる。   A power supply path from the power supply circuit 9 is connected to the power input port 25, and the first power supply voltage Vcc is input from the power supply circuit 9 through the diode D1. Further, as described above, the third power supply voltage Vb from the backup capacitor 6 is input to the power supply input port 25 via the power supply switch 10 and the diode D2. The NFC-IC 3 becomes operable when at least one of the first power supply voltage Vcc from the power supply circuit 9 and the third power supply voltage Vb from the backup capacitor 6 is input.

シリアルポート26には、シリアルラインLが接続されている。電源切替ポート27からは、電源切替信号Enが出力される。通信制御部21は、特定のタイミング(詳細は後述)で、電源切替信号Enを出力する。2つの給電ポート31,32からは、オフ時動作用電圧Vn(詳細は後述)が出力される。   A serial line L is connected to the serial port 26. A power supply switching signal En is output from the power supply switching port 27. The communication control unit 21 outputs the power switching signal En at a specific timing (details will be described later). An off-time operation voltage Vn (details will be described later) is output from the two power supply ports 31 and 32.

シリアル通信I/F23は、制御回路2やその他のシリアル通信によるデータ通信を行うための通信インタフェースであり、シリアルポート26に接続されている。シリアル通信のデータは、シリアル通信I/F12及びシリアルポート26を介して送受信される。NFCI/F22は、スマートフォン100とNFC通信を行うための無線通信インタフェースであり、ループアンテナ3aが接続されている。   The serial communication I / F 23 is a communication interface for performing data communication by the control circuit 2 or other serial communication, and is connected to the serial port 26. Serial communication data is transmitted and received via the serial communication I / F 12 and the serial port 26. The NFC I / F 22 is a wireless communication interface for performing NFC communication with the smartphone 100, and is connected to the loop antenna 3a.

給電回路24は、スマートフォン100が複合機1にかざされることによってループアンテナ3aに誘起される誘導起電力(つまりスマートフォン100から受電された電力)をもとに、直流の第2電源電圧Vaを生成可能である。   The power feeding circuit 24 generates a second DC power supply voltage Va based on an induced electromotive force induced in the loop antenna 3a (that is, power received from the smartphone 100) when the smartphone 100 is held over the multifunction device 1. Is possible.

給電回路24のより詳細な構成は、図2に示す通りである。図2に示すように、給電回路24は、電源生成部35と、第1給電スイッチ36と、第2給電スイッチ37とを備えている。電源生成部35は、ループアンテナ3aに誘起される誘導起電力をもとに第2電源電圧Vaを生成する。第2電源電圧Vaは、ダイオードD4を介して通信制御部21に供給される。そのため、複合機1にスマートフォン100がかざされて第2電源電圧Vaが生成されると、その第2電源電圧Vaにより通信制御部21が動作可能となる。なお、第2電源電圧Vaの値は、本実施形態では、電源回路9が生成する第1電源電圧Vccと同じ値である。   A more detailed configuration of the power feeding circuit 24 is as shown in FIG. As shown in FIG. 2, the power supply circuit 24 includes a power supply generation unit 35, a first power supply switch 36, and a second power supply switch 37. The power supply generation unit 35 generates the second power supply voltage Va based on the induced electromotive force induced in the loop antenna 3a. The second power supply voltage Va is supplied to the communication control unit 21 via the diode D4. Therefore, when the smartphone 100 is held over the multifunction device 1 and the second power supply voltage Va is generated, the communication control unit 21 can be operated by the second power supply voltage Va. In the present embodiment, the value of the second power supply voltage Va is the same value as the first power supply voltage Vcc generated by the power supply circuit 9.

図2に示すように、NFC−IC3内において、電源入力ポート25は通信制御部21に接続されている。電源回路9から電源入力ポート25へ第1電源電圧Vccが供給されるか、又はバックアップキャパシタ6から電源切替スイッチ10を介して電源入力ポート25へ第3電源電圧Vbが供給されると、その供給電圧が通信制御部21に供給され、これにより通信制御部21が動作可能となる。電源生成部35からの第2電源電圧Vaの出力ラインは、ダイオードD4を介して、電源入力ポート25と通信制御部21との接続ライン(電源供給ライン)に接続されている。   As shown in FIG. 2, the power input port 25 is connected to the communication control unit 21 in the NFC-IC 3. When the first power supply voltage Vcc is supplied from the power supply circuit 9 to the power supply input port 25 or when the third power supply voltage Vb is supplied from the backup capacitor 6 to the power supply input port 25 via the power supply changeover switch 10 The voltage is supplied to the communication control unit 21, thereby enabling the communication control unit 21 to operate. The output line of the second power supply voltage Va from the power generation unit 35 is connected to a connection line (power supply line) between the power input port 25 and the communication control unit 21 via the diode D4.

このような構成により、通信制御部21は、第1電源電圧Vcc、第2電源電圧Va、及び第3電源電圧Vbがそれぞれ入力可能に構成されていて、それら三者のうち何れか1つでも入力されると動作する。なお、図2に示すように、電源切替スイッチ10は、本実施形態では、バイポーラトランジスタを用いて構成されている。   With such a configuration, the communication control unit 21 is configured to be able to input the first power supply voltage Vcc, the second power supply voltage Va, and the third power supply voltage Vb, respectively, and any one of these three can be input. Operates when input. In addition, as shown in FIG. 2, the power supply changeover switch 10 is comprised using the bipolar transistor in this embodiment.

また、給電回路24において、電源供給ラインは、第1給電スイッチ36及び第2給電スイッチ37の一端に接続されている。第1給電スイッチ36の他端は第1給電ポート31に接続され、第2給電スイッチ37の他端は第2給電ポート32に接続されている。各給電スイッチ36,37は、通信制御部21によって個別にオン・オフ制御される。   In the power supply circuit 24, the power supply line is connected to one end of the first power supply switch 36 and the second power supply switch 37. The other end of the first power supply switch 36 is connected to the first power supply port 31, and the other end of the second power supply switch 37 is connected to the second power supply port 32. The power supply switches 36 and 37 are individually turned on / off by the communication control unit 21.

第1給電スイッチ36がオンすると、電源供給ラインと第1給電ポート31とが導通する。これにより、電源生成部35で第2電源電圧Vaが生成されている場合にはその第2電源電圧Vaが第1給電スイッチ36を介して第1給電ポート31から出力される。電源切替スイッチ10がオンされている場合には、バックアップキャパシタ6の充電電圧(第3電源電圧Vb)が電源入力ポート25から入力され、その入力された第3電源電圧Vbが第1給電スイッチ36を介して第1給電ポート31から出力される。   When the first power supply switch 36 is turned on, the power supply line and the first power supply port 31 become conductive. Thereby, when the second power supply voltage Va is generated by the power generation unit 35, the second power supply voltage Va is output from the first power supply port 31 via the first power supply switch 36. When the power switch 10 is turned on, the charging voltage (third power voltage Vb) of the backup capacitor 6 is input from the power input port 25, and the input third power voltage Vb is the first power supply switch 36. From the first power supply port 31.

第2給電スイッチ37がオンすると、電源供給ラインと第2給電ポート32とが導通する。これにより、電源生成部35で第2電源電圧Vaが生成されている場合にはその第2電源電圧Vaが第2給電スイッチ37を介して第2給電ポート32から出力される。電源切替スイッチ10がオンされている場合には、バックアップキャパシタ6の充電電圧(第3電源電圧Vb)が電源入力ポート25から入力され、その入力された第3電源電圧Vbが第2給電スイッチ37を介して第2給電ポート32から出力される。   When the second power supply switch 37 is turned on, the power supply line and the second power supply port 32 become conductive. Thereby, when the second power supply voltage Va is generated by the power generation unit 35, the second power supply voltage Va is output from the second power supply port 32 via the second power supply switch 37. When the power switch 10 is turned on, the charging voltage (third power voltage Vb) of the backup capacitor 6 is input from the power input port 25, and the input third power voltage Vb is the second power supply switch 37. From the second power feeding port 32.

本実施形態では、各給電スイッチ36,37がオンされるのは、基本的には、電源回路9から第1電源電圧Vccが供給されないオフモード時である。そのため、第1給電スイッチ36及び第2給電スイッチ37を介して各給電ポート31,32から出力される電圧を、オフ時動作用電源Vnと称する。   In the present embodiment, the power supply switches 36 and 37 are basically turned on in the off mode when the first power supply voltage Vcc is not supplied from the power supply circuit 9. Therefore, the voltage output from each of the power supply ports 31 and 32 via the first power supply switch 36 and the second power supply switch 37 is referred to as an off-time operation power supply Vn.

図1に示すように、第1給電ポート31は、第1ダイオードD21を介してEEPROM4の電源入力ポート42に接続されている。オフ時動作用電源Vnが第1給電ポート31から出力されると、EEPROM4にそのオフ時動作用電源Vnが供給される。   As shown in FIG. 1, the first power supply port 31 is connected to the power input port 42 of the EEPROM 4 via the first diode D21. When the off-time power supply Vn is output from the first power supply port 31, the off-time power supply Vn is supplied to the EEPROM 4.

第2給電ポート32は、第2ダイオードD22を介してフラッシュROM5の電源入力ポート52に接続されている。オフ時動作用電源Vnが第2給電ポート32から出力されると、フラッシュROM5にそのオフ時動作用電源Vnが供給される。   The second power supply port 32 is connected to the power input port 52 of the flash ROM 5 via the second diode D22. When the off-time power supply Vn is output from the second power supply port 32, the off-time power supply Vn is supplied to the flash ROM 5.

通信制御部21は、CPU21aやメモリ21b等を有するマイクロコンピュータを少なくとも含む。通信制御部21は、メモリ21bに記憶されている各種プログラムやデータをもとに、シリアル通信I/F23を介したシリアル通信の制御や、NFCI/F22を介したNFC通信の制御、給電回路24の制御(主に各給電スイッチ36,37の制御)を行うことが可能である。   The communication control unit 21 includes at least a microcomputer having a CPU 21a, a memory 21b, and the like. The communication control unit 21 controls serial communication via the serial communication I / F 23, NFC communication control via the NFC I / F 22, and power supply circuit 24 based on various programs and data stored in the memory 21b. (Mainly control of the power supply switches 36 and 37) can be performed.

通信制御部21は、シリアル通信の制御において、通常は自身をスレーブとして動作させるが、特定の状態では、自身をマスターに設定してマスターとして動作させる。具体的には、通信制御部21は、電源回路9から第1電源電圧Vccが供給されている通常モードであるか否かを確認し、通常モードである場合は自身をスレーブに設定する。通信制御部21は、オフモードの場合、即ち第2電源電圧Va又は第3電源電圧Vbにより動作している場合は、自身をマスターに設定する。オフモード中、マスターとして実際にシリアル通信を実行しているときに、動作モードが通常モードに移行した場合は、少なくともその実行中のシリアル通信が終了するまでは、マスターとしての動作を継続する。   The communication control unit 21 normally operates as a slave in the control of serial communication, but in a specific state, sets itself as a master and operates as a master. Specifically, the communication control unit 21 checks whether or not the normal mode in which the first power supply voltage Vcc is supplied from the power supply circuit 9 and sets itself as a slave in the normal mode. The communication control unit 21 sets itself as a master in the off mode, that is, when operating by the second power supply voltage Va or the third power supply voltage Vb. In the off mode, when the serial communication is actually executed as the master and the operation mode shifts to the normal mode, the operation as the master is continued at least until the serial communication being executed is completed.

なお、電源切替スイッチ10は、通常はオフの状態に維持されており、バックアップキャパシタ6からNFC−IC3へ第3電源電圧Vbを供給すべき特定のタイミングで、NFC−IC3によってオンされる。給電回路24内の第1給電スイッチ36及び第2給電スイッチ37も、通常はオフの状態に維持されており、EEPROM4やフラッシュROM5へオフ時動作用電圧Vnを供給すべき特定のタイミングで、通信制御部21によりオンされる。   Note that the power supply switch 10 is normally maintained in an off state, and is turned on by the NFC-IC 3 at a specific timing at which the third power supply voltage Vb is to be supplied from the backup capacitor 6 to the NFC-IC 3. The first power supply switch 36 and the second power supply switch 37 in the power supply circuit 24 are also normally maintained in an off state, and communication is performed at a specific timing at which the off-time operation voltage Vn should be supplied to the EEPROM 4 and the flash ROM 5. Turned on by the control unit 21.

EEPROM4は、記憶内容を電気的に書き換え可能な不揮発性のメモリである。本実施形態では、EEPROM4には、制御回路2のメイン制御部11が各種機能の実行を制御するために必要な情報や、メイン制御部11が各種機能の実行を制御することにより生じた情報などの、各種の情報が記憶される。EEPROM4に記憶される情報の具体例としては、例えば、電話帳情報、製品設定情報、故障時のエラー情報、アクセスポイントとの接続情報、純正カートリッジの使用履歴、プリンタ機能で用いられる罫線調整・色補正情報、などが挙げられる。   The EEPROM 4 is a nonvolatile memory capable of electrically rewriting stored contents. In the present embodiment, the EEPROM 4 includes information necessary for the main control unit 11 of the control circuit 2 to control the execution of various functions, information generated by the main control unit 11 controlling the execution of various functions, and the like. Various kinds of information are stored. Specific examples of information stored in the EEPROM 4 include, for example, phone book information, product setting information, error information at the time of failure, access point connection information, use history of genuine cartridges, ruled line adjustment / color used in the printer function Correction information, and the like.

EEPROM4は、電源入力ポート42を備えている。電源入力ポート42は、ダイオードD11を介して電源回路9に接続されていると共に、第1ダイオードD21を介してNFC−IC3の第1給電ポート31に接続されている。つまり、EEPROM4の電源入力ポート42には、ダイオードD11を介して電源回路9から第1電源電圧Vccが供給可能であり、且つ、第1ダイオードD21を介してNFC−IC3からオフ時動作用電圧Vnが供給可能である。そのため、EEPROM4は、第1電源電圧Vcc及びオフ時動作用電圧Vnのうち少なくとも一方が供給されると動作を開始する。   The EEPROM 4 has a power input port 42. The power input port 42 is connected to the power supply circuit 9 via the diode D11, and is connected to the first power supply port 31 of the NFC-IC 3 via the first diode D21. In other words, the power supply input port 42 of the EEPROM 4 can be supplied with the first power supply voltage Vcc from the power supply circuit 9 through the diode D11, and the off-time operation voltage Vn from the NFC-IC 3 through the first diode D21. Can be supplied. Therefore, the EEPROM 4 starts operating when at least one of the first power supply voltage Vcc and the off-time operation voltage Vn is supplied.

EEPROM4に対する各種情報の読み出しや書き込みは、通常モード時は、主に制御回路2のメイン制御部11が行う。但し本実施形態では、オフモード時であっても、NFC−IC3からオフ時動作用電圧Vnが供給されると動作する。そのため、EEPROM4は、オフモード時に、NFC−IC3の通信制御部21によって情報の読み書きが行われることがある。   Reading and writing various information to and from the EEPROM 4 is mainly performed by the main control unit 11 of the control circuit 2 in the normal mode. However, in the present embodiment, even in the off mode, the operation is performed when the off-time operation voltage Vn is supplied from the NFC-IC 3. Therefore, the EEPROM 4 may be read / written by the communication control unit 21 of the NFC-IC 3 in the off mode.

EEPROM4は、シリアル通信の通信ノードとして動作可能である。即ち、EEPROM4は、シリアルポート41を備えている。このシリアルポート41には、シリアルラインLが接続されている。そのため、EEPROM4は、シリアルポート41を介して、制御回路2やNFC−IC3などとシリアル通信を行うことができる。EEPROM4は、シリアル通信においてスレーブとして動作する。EEPROM4に対する各種情報の書き込みや読み出しは、シリアル通信によって(つまりシリアルラインLを通じて)行われる。   The EEPROM 4 can operate as a communication node for serial communication. That is, the EEPROM 4 includes a serial port 41. A serial line L is connected to the serial port 41. Therefore, the EEPROM 4 can perform serial communication with the control circuit 2, the NFC-IC 3, and the like via the serial port 41. The EEPROM 4 operates as a slave in serial communication. Various information is written to and read from the EEPROM 4 by serial communication (that is, through the serial line L).

フラッシュROM5は、電気的にデータの書き換えが可能な不揮発性のメモリ(フラッシュメモリ)である。フラッシュROM5には、ファームウェアやその他各種プログラム、データなどが記憶されている。フラッシュROM5に記憶されているプログラムやデータ等の具体例としては、例えば、受信FAXデータ、留守録データ、製品(当該複合機1)のファームウェアなどが挙げられる。   The flash ROM 5 is a nonvolatile memory (flash memory) that can electrically rewrite data. The flash ROM 5 stores firmware, various other programs, data, and the like. Specific examples of programs and data stored in the flash ROM 5 include, for example, received FAX data, answering machine data, firmware of the product (the multifunction device 1), and the like.

フラッシュROM5は、シリアル通信の通信ノードとして動作可能である。即ち、フラッシュROM5は、シリアルポート51を備えている。このシリアルポート51には、シリアルラインLが接続されている。そのため、フラッシュROM5は、シリアルポート51を介して、制御回路2やNFC−IC3などとシリアル通信を行うことができる。フラッシュROM5は、シリアル通信においてスレーブとして動作する。フラッシュROM5に対する各種情報の書き込みや読み出しは、シリアル通信によって(つまりシリアルラインLを通じて)行われる。   The flash ROM 5 can operate as a communication node for serial communication. That is, the flash ROM 5 includes a serial port 51. A serial line L is connected to the serial port 51. Therefore, the flash ROM 5 can perform serial communication with the control circuit 2, the NFC-IC 3, and the like via the serial port 51. The flash ROM 5 operates as a slave in serial communication. Various information is written to and read from the flash ROM 5 by serial communication (that is, through the serial line L).

フラッシュROM5は、電源入力ポート52を備えている。電源入力ポート52は、ダイオードD12を介して電源回路9に接続されていると共に、第2ダイオードD22を介してNFC−IC3の第2給電ポート32に接続されている。つまり、フラッシュROM5の電源入力ポート52には、ダイオードD12を介して電源回路9から第1電源電圧Vccが供給可能であり、且つ、第2ダイオードD22を介してNFC−IC3からオフ時動作用電圧Vnが供給可能である。そのため、フラッシュROM5は、第1電源電圧Vcc及びオフ時動作用電圧Vnのうち少なくとも一方が供給されると動作を開始する。   The flash ROM 5 includes a power input port 52. The power input port 52 is connected to the power supply circuit 9 via the diode D12, and is connected to the second power supply port 32 of the NFC-IC 3 via the second diode D22. That is, the power supply input port 52 of the flash ROM 5 can be supplied with the first power supply voltage Vcc from the power supply circuit 9 through the diode D12, and is also operated with the off-time operation voltage from the NFC-IC3 through the second diode D22. Vn can be supplied. Therefore, the flash ROM 5 starts operating when at least one of the first power supply voltage Vcc and the off-time operation voltage Vn is supplied.

なお、制御回路2、NFC−IC3、EEPROM4、フラッシュROM5は、いずれも、パッケージ化された半導体集積回路(IC)により構成されている。
(2)スマートフォン100の概略構成
スマートフォン100は、携帯電話やメール機能などの一般的な携帯電話が備えている機能に加えて、インターネット接続機能を備え、さらに各種アプリケーションソフト(以下「アプリ」と略す)のインストールにより各種の機能を付加可能な、多機能携帯通信端末である。
The control circuit 2, the NFC-IC 3, the EEPROM 4, and the flash ROM 5 are all configured by a packaged semiconductor integrated circuit (IC).
(2) Schematic Configuration of Smartphone 100 The smartphone 100 has an Internet connection function in addition to the functions of a general mobile phone such as a mobile phone and a mail function, and various application software (hereinafter abbreviated as “app”). ) Is a multi-function mobile communication terminal to which various functions can be added.

スマートフォン100は、無線LAN通信及びNFC通信が可能である。そのため、スマートフォン100は、複合機1との間でNFC通信により相互に通信可能である。また、スマートフォン100は、他の通信機器と無線LAN通信が可能である。   The smartphone 100 can perform wireless LAN communication and NFC communication. Therefore, the smartphone 100 can communicate with the multifunction device 1 by NFC communication. The smartphone 100 can perform wireless LAN communication with other communication devices.

本実施形態では、複合機1が電源オフ状態(第1電源電圧Vccが供給されていないオフモードの状態)でも、スマートフォン100を複合機1にかざすと、スマートフォン100からの非接触給電により複合機1のNFC−IC3内で第2電源電圧Vaが生成される。そのため、複合機1が電源オフ状態でも、スマートフォン100を複合機1にかざしてスマートフォン100と複合機1とのNFC通信を行い、複合機1に対するデータ送信や複合機1からのデータ取得などを行うことができる。   In the present embodiment, even when the multifunction device 1 is in a power-off state (a state of an off mode in which the first power supply voltage Vcc is not supplied), when the smartphone 100 is held over the multifunction device 1, the multifunction device is contactlessly fed by the smartphone 100. The second power supply voltage Va is generated in one NFC-IC 3. Therefore, even when the multifunction device 1 is in the power-off state, the smartphone 100 is held over the multifunction device 1 to perform NFC communication between the smartphone 100 and the multifunction device 1, and data transmission to the multifunction device 1 or data acquisition from the multifunction device 1 is performed. be able to.

複合機1が電源オフ状態であってもスマートフォン100が複合機1に対して実行させることが可能な処理は種々ある。例えば、NFC−IC3のみの動作で足りる処理もあれば、NFC−IC3と他の通信ノードとのシリアル通信を要する処理もある。シリアル通信を要する処理の具体例を、図3のテーブルを用いて説明する。   There are various processes that the smartphone 100 can cause the multifunction device 1 to execute even when the multifunction device 1 is in the power-off state. For example, there are processes that require only the operation of the NFC-IC 3, and there are processes that require serial communication between the NFC-IC 3 and another communication node. A specific example of processing that requires serial communication will be described with reference to the table of FIG.

図3に示すように、スマートフォン100は、NFC通信により、EEPROM4に記憶されている電話帳情報を取得したり、EEPROM4へ電話帳情報を移管(送信及び書き込み)したりすることができる。そのため、例えば、故障して電源が入らなくなった複合機1から、スマートフォン100を用いて電話帳情報を取得し、その取得した電話帳情報を別の新しい複合機1に移管することができる。   As shown in FIG. 3, the smartphone 100 can acquire the phone book information stored in the EEPROM 4 or transfer (send and write) the phone book information to the EEPROM 4 by NFC communication. Therefore, for example, the phone book information can be acquired using the smartphone 100 from the multifunction device 1 that has failed and cannot be turned on, and the acquired phone book information can be transferred to another new multifunction device 1.

スマートフォン100を用いて複合機1に実行させることが可能な処理のうち、EEPROM4とのシリアル通信を要する処理としては、他にも、図3に示すように種々の処理がある。   Among the processes that can be executed by the multifunction device 1 using the smartphone 100, there are various other processes that require serial communication with the EEPROM 4, as shown in FIG.

また、スマートフォン100を用いて複合機1に実行させることが可能な処理のうち、フラッシュROM5とのシリアル通信を要する処理としては、図3に示すように、受信FAXデータや留守録データの吸い出し(取得)、製品のファームウェアのダウンロードなどがある。なお、ここでいうファームウェアのダウンロードとは、スマートフォン100から複合機1へNFC通信にてファームウェアを送信して、そのファームウェアを複合機1にインストール(既存のファームウェアの更新を含む)させる(フラッシュROM5に記憶させる)処理を意味する。   Of the processes that can be executed by the multifunction device 1 using the smartphone 100, as a process that requires serial communication with the flash ROM 5, as shown in FIG. Acquisition), and downloading product firmware. The firmware download here refers to transmitting firmware from the smartphone 100 to the multifunction device 1 by NFC communication and installing the firmware in the multifunction device 1 (including updating of existing firmware) (in the flash ROM 5). Process).

その他、スマートフォン100を用いて複合機1に実行させることが可能な処理としては、カートリッジICからの情報取得がある。カートリッジICは、図1では図示を省略したが、インクカートリッジに搭載されているICであり、シリアル通信可能な通信ノードの1つとしてシリアルラインLに接続されている。また、他の通信ノード4,5と同様、第1電源電圧Vcc及びオフ時動作用電圧Vnの供給を受けて動作可能である。そのため、NFC−IC3には、実際には、カートリッジICに対応した給電ポート及び給電スイッチも設けられている。つまり、NFC−IC3には、実際には、オフ時動作用電圧Vnを供給すべき全ての通信ノード毎に、個別に、給電ポート及び給電スイッチが設けられている。ただし、本実施形態では、説明の簡素化のために、複数の通信ノードのうちEEPROM4及びフラッシュROM5以外の他の通信ノードについては、図示及び説明を省略している。   Other processes that can be executed by the multifunction device 1 using the smartphone 100 include information acquisition from the cartridge IC. Although not shown in FIG. 1, the cartridge IC is an IC mounted on the ink cartridge, and is connected to the serial line L as one of communication nodes capable of serial communication. Further, like the other communication nodes 4 and 5, the first power supply voltage Vcc and the off-time operation voltage Vn can be supplied for operation. Therefore, the NFC-IC 3 is actually provided with a power supply port and a power supply switch corresponding to the cartridge IC. That is, the NFC-IC 3 is actually provided with a power supply port and a power supply switch individually for every communication node to which the off-time operation voltage Vn is to be supplied. However, in the present embodiment, for simplification of description, illustration and description of communication nodes other than the EEPROM 4 and the flash ROM 5 among the plurality of communication nodes are omitted.

(3)複合機1の動作例
オフモード中の複合機1にスマートフォン100がかざされることによりNFC−IC3が起動して動作する場合の動作例を、図4を用いて説明する。なお、前提として、スマートフォン100では、複合機1に実行させたい処理に対応したアプリが起動されており、且つその実行させたい処理はスマートフォン100から特定の情報を送信してEEPROM4又はフラッシュROM5に書き込ませる処理であるものとする。
(3) Operation Example of Multifunction Device 1 An operation example when the NFC-IC 3 is activated and operated by holding the smartphone 100 over the multifunction device 1 in the off mode will be described with reference to FIG. As a premise, in the smartphone 100, an application corresponding to the process to be executed by the multifunction device 1 is activated, and the process to be executed is transmitted to the EEPROM 4 or the flash ROM 5 by transmitting specific information from the smartphone 100. It is assumed that the process is

図4に示すように、オフモード中の複合機1にスマートフォン100がかざされると、複合機1のループアンテナ3aに受電され、その受電電力をもとにNFC−IC3内で第2電源電圧Vaが生成されて、NFC−IC3が起動する。NFC−IC3は、起動すると、スマートフォン100がかざされているか否かを確認する。この確認方法は種々考えられ、例えば、NFC−IC3が動作時に定期的に送信するビーコン信号に対して応答があった場合に、スマートフォン100がかざされていることを確認する。   As shown in FIG. 4, when the smartphone 100 is held over the multifunction device 1 in the off mode, power is received by the loop antenna 3a of the multifunction device 1, and the second power supply voltage Va is generated in the NFC-IC 3 based on the received power. Is generated and the NFC-IC 3 is activated. When the NFC-IC 3 is activated, the NFC-IC 3 checks whether the smartphone 100 is held over. Various confirmation methods are conceivable. For example, when there is a response to a beacon signal periodically transmitted by the NFC-IC 3 during operation, it is confirmed that the smartphone 100 is held over.

NFC−IC3は、スマートフォン100を確認すると、スマートフォン100へNFC通信にてデータ要求を行う。このデータ要求に対し、スマートフォン100は、NFC通信にて複合機1へ要求コマンドを送信する。この要求コマンドは、NFC−IC3に対して実行させたい処理の実行を要求するコマンドである。NFC−IC3は、要求コマンドに基づいて、実行すべき処理の内容を(シリアル通信が必要な場合にはその通信対象も)判断することができる。   When the NFC-IC 3 confirms the smartphone 100, the NFC-IC 3 makes a data request to the smartphone 100 through NFC communication. In response to this data request, the smartphone 100 transmits a request command to the multifunction device 1 by NFC communication. This request command is a command for requesting the NFC-IC 3 to execute a process desired to be executed. Based on the request command, the NFC-IC 3 can determine the content of the process to be executed (if serial communication is necessary, the communication target is also).

NFC−IC3は、スマートフォン100から要求コマンドを受信すると、バックアップ電力(第3電源電圧Vb)の供給が必要か否かを判断する。この判断は、まず、シリアル通信対象が特定通信ノードであるか否かに基づいて行う。本実施形態では、NFC−IC3がシリアル通信可能な各通信ノードのうち、フラッシュROM5が、特定通信ノードとして予め設定されている。EEPROM4は、特定通信ノードには設定されていない。通信ノード毎の、特定通信ノードであるか否かを示す情報は、通信制御部21のメモリ21bに予め記憶されている。   When the NFC-IC 3 receives the request command from the smartphone 100, the NFC-IC 3 determines whether it is necessary to supply backup power (third power supply voltage Vb). This determination is first made based on whether the serial communication target is a specific communication node. In the present embodiment, the flash ROM 5 is preset as a specific communication node among the communication nodes with which the NFC-IC 3 can perform serial communication. The EEPROM 4 is not set as a specific communication node. Information indicating whether or not each communication node is a specific communication node is stored in advance in the memory 21b of the communication control unit 21.

本実施形態において、特定通信ノードとは、シリアル通信の実行中に電源が遮断されてその動作が強制的に停止されてしまうとハード的或いはソフト的に何らかの不具合が生じるおそれの高い通信ノードを示す。ただし、各通信ノードのうちどれを特定通信ノードに設定すべきかについては適宜決めることができる。例えば、EEPROM4についても特定通信ノードに設定してもよい。   In the present embodiment, the specific communication node refers to a communication node that is highly likely to cause some trouble in hardware or software if the operation is forcibly stopped when the power is cut off during execution of serial communication. . However, which of the communication nodes should be set as the specific communication node can be determined as appropriate. For example, the EEPROM 4 may be set as a specific communication node.

NFC−IC3は、シリアル通信対象が特定通信ノードならば、バックアップ電力の供給が必要と判断する。シリアル通信対象が特定通信ノードでなかった場合は、さらに、実行すべき処理の所要時間に基づいて、バックアップ電力の供給が必要か否か判断する。この判断は、通信制御部21のメモリ21bに記憶されているテーブルを参照して行う。通信制御部21のメモリ21bには、図3に示すテーブルが予め記憶されている。このテーブルには、図3に示す通り、複数種類の処理(シリアル通信を要する処理)毎に、処理所要時間を示す情報と、処理種別を示す情報と、入出力有無を示す情報とが登録されている。   If the serial communication target is a specific communication node, the NFC-IC 3 determines that backup power needs to be supplied. If the serial communication target is not a specific communication node, it is further determined whether or not it is necessary to supply backup power based on the time required for the process to be executed. This determination is made with reference to a table stored in the memory 21b of the communication control unit 21. A table shown in FIG. 3 is stored in the memory 21b of the communication control unit 21 in advance. In this table, as shown in FIG. 3, for each of a plurality of types of processing (processing that requires serial communication), information indicating a processing time, information indicating a processing type, and information indicating the presence / absence of input / output are registered. ing.

処理所要時間とは、実行すべき処理に要する時間であり、テーブルには、その所要時間が長いかそれとも短いかを示す情報が登録されている。この所要時間は、実行すべき処理全体のうちシリアル通信の開始から終了までの時間であってもよいし、実行すべき処理全体に要する時間であってもよい。   The required processing time is the time required for the processing to be executed, and information indicating whether the required time is long or short is registered in the table. This required time may be the time from the start to the end of serial communication in the entire process to be executed, or may be the time required for the entire process to be executed.

何を基準に所要時間の長短を設定するかについては種々考えられる。本実施形態では、特定の時間閾値を基準として所要時間の長短が設定されている。具体的には、所要時間が時間閾値よりも長いか或いは長くなることが予想される場合は所要時間が長い処理とし、所要時間が時間閾値以下で済むか或いは時間閾値以下で済むことが予想される場合は所要時間が短い処理として設定され、テーブルに登録されている。なお、テーブル中、入出力有無を示す情報は、その処理において、シリアル通信対象からのデータ出力及びシリアル通信対象へのデータ入力のうちどちらが行われるのかを示す情報である。   There are various ways to set the length of the required time based on what. In the present embodiment, the length of the required time is set based on a specific time threshold. Specifically, if the required time is expected to be longer or longer than the time threshold, it is assumed that the required time is long, and the required time is less than the time threshold or less than the time threshold. Is set as a process with a short required time, and is registered in the table. In the table, information indicating the presence / absence of input / output is information indicating which of data output from the serial communication target and data input to the serial communication target is performed in the processing.

NFC−IC3は、図3に示すテーブルを参照して、実行すべき処理の所要時間の長短を判断し、所要時間が短い場合は、バックアップ電力は不要と判断し、所要時間が長い場合は、バックアップ電力が必要と判断する。   The NFC-IC 3 refers to the table shown in FIG. 3 to determine the length of the time required for the process to be executed. If the time required is short, the NFC-IC 3 determines that the backup power is unnecessary, and if the time required is long, Judge that backup power is required.

NFC−IC3は、バックアップ電力は不要と判断した場合は、シリアル通信対象へ電源を供給する。具体的には、給電回路24内の各給電スイッチ36,37のうち、シリアル通信対象に接続されている給電スイッチをオンさせることにより、そのシリアル通信対象へオフ時動作用電圧Vnを供給する。シリアル通信対象にオフ時動作用電圧Vnが供給されると、シリアル通信対象が起動する。   If the NFC-IC 3 determines that backup power is not required, it supplies power to the serial communication target. Specifically, by turning on the power supply switch connected to the serial communication target among the power supply switches 36 and 37 in the power supply circuit 24, the off-time operation voltage Vn is supplied to the serial communication target. When the off-time operation voltage Vn is supplied to the serial communication target, the serial communication target is activated.

オフ時動作用電圧Vnの供給後、NFC−IC3は、シリアル通信対象とのアクセスを開始し、要求コマンドに従ってデータの送受信を行う。必要なデータ送受信が終了すると、シリアル通信対象とのアクセスを終了する。シリアル通信対象も、起動後、NFC−IC3からのアクセスに応じて、NFC−IC3とのアクセス(データ送受信)を行う。   After supplying the off-time operation voltage Vn, the NFC-IC 3 starts access to the serial communication target, and transmits and receives data according to the request command. When necessary data transmission / reception ends, access to the serial communication target ends. The serial communication target also performs access (data transmission / reception) to / from the NFC-IC 3 in response to access from the NFC-IC 3 after startup.

NFC−IC3は、シリアル通信対象とのアクセスを終了して、実行すべき処理が終了すると、シリアル通信対象への電源を遮断する。具体的には、オフ時動作用電圧Vnを供給するためにオンさせている給電スイッチをオフさせることで、オフ時動作用電圧Vnの供給を遮断する。これにより、オフ時動作用電源Vnによって起動していたシリアル通信は動作を停止する。   The NFC-IC 3 ends the access to the serial communication target, and when the process to be executed is completed, the NFC-IC 3 shuts off the power to the serial communication target. Specifically, the supply of the off-time operation voltage Vn is cut off by turning off the power supply switch that is turned on to supply the off-time operation voltage Vn. Thereby, the operation of the serial communication activated by the off-time operation power supply Vn stops.

シリアル通信対象への電源の遮断後、NFC−IC3は、スマートフォン100へ、処理完了通知を送信する。スマートフォン100は、複合機1から処理完了通知を受信すると、スマートフォン100が備えるディスプレイに、複合機1に要求した処理が完了したことを示すメッセージを表示する。   After the power supply to the serial communication target is shut off, the NFC-IC 3 transmits a process completion notification to the smartphone 100. When the smartphone 100 receives the process completion notification from the multifunction device 1, the smartphone 100 displays a message indicating that the processing requested of the multifunction device 1 is completed on the display included in the smartphone 100.

一方、NFC−IC3は、バックアップ電力が必要と判断した場合は、電源切替スイッチ10をオンする。即ち、電源切替スイッチ10へHレベルの電源切替信号Enを出力することで、電源切替スイッチ10をオンさせ、バックアップキャパシタ6からNFC−IC3へ第3電源電圧Vbが供給されるようにする。   On the other hand, when the NFC-IC 3 determines that the backup power is necessary, the NFC-IC 3 turns on the power switch 10. That is, by outputting the H level power supply switching signal En to the power supply switching switch 10, the power supply switching switch 10 is turned on so that the third power supply voltage Vb is supplied from the backup capacitor 6 to the NFC-IC 3.

NFC−IC3は、電源切替スイッチ10をオンした後は、シリアル通信対象への電源供給、シリアル通信対象とのアクセス(開始から終了まで)、及びシリアル通信対象への電源遮断を行う。シリアル通信対象への電源遮断後は、電源切替スイッチ10をオフして、スマートフォン100へ処理完了通知を送信する。電源切替スイッチ10のオフは、電源切替信号EnをLレベルに戻すことにより行う。電源切替スイッチ10をオフすることで、バックアップキャパシタ6からNFC−IC3への第3電源電圧Vbの供給は遮断される。   After the power switch 10 is turned on, the NFC-IC 3 supplies power to the serial communication target, accesses the serial communication target (from the start to the end), and shuts off the power to the serial communication target. After the power supply to the serial communication target is cut off, the power supply switch 10 is turned off, and a process completion notification is transmitted to the smartphone 100. The power switch 10 is turned off by returning the power switch signal En to the L level. By turning off the power switch 10, the supply of the third power supply voltage Vb from the backup capacitor 6 to the NFC-IC 3 is cut off.

(4)NFC−IC3で実行されるNFC制御処理
NFC−IC3の通信制御部21が実行するNFC制御処理について、図5を用いて説明する。NFC−IC3の通信制御部21に第1電源電圧Vcc又は第2電源電圧Vaが供給されると、CPU21aが起動する。CPU21aは、起動すると、メモリ21bから図5のNFC制御処理のプログラムを読み込んで繰り返し実行する。
(4) NFC control process performed by NFC-IC3 The NFC control process which the communication control part 21 of NFC-IC3 performs is demonstrated using FIG. When the first power supply voltage Vcc or the second power supply voltage Va is supplied to the communication control unit 21 of the NFC-IC 3, the CPU 21a is activated. When activated, the CPU 21a reads the program of the NFC control process of FIG. 5 from the memory 21b and repeatedly executes it.

通信制御部21のCPU21aは、図5のNFC制御処理を開始すると、S110で、スマートフォン100が複合機1にかざされているか否かを判断する。スマートフォン100がかざされるまではS110の判断を繰り返す。スマートフォン100がかざされた場合は(S110:YES)、S120で、スマートフォン100へNFC通信にてデータ要求を行う。   When starting the NFC control process of FIG. 5, the CPU 21 a of the communication control unit 21 determines whether or not the smartphone 100 is held over the multifunction device 1 in S <b> 110. The determination of S110 is repeated until the smartphone 100 is held over. When the smartphone 100 is held over (S110: YES), a data request is made to the smartphone 100 by NFC communication in S120.

S130では、S120のデータ要求に対してスマートフォン100からNFC通信にて要求コマンドを受信したか否か判断する。要求コマンドが受信されるまではS130の判断を繰り返す。要求コマンドを受信した場合は(S130:YES)、S140で、要求コマンド対応処理を実行する。この要求コマンド対応処理は、要求コマンドによってスマートフォン100から要求されている処理(実行すべき処理)を実行する処理であり、詳細は後述する。要求コマンド対応処理により実行すべき処理を終了したら、S150で、その処理結果をスマートフォン100へ送信する。S160では、スマートフォン100へ、処理完了通知を送信する。   In S130, it is determined whether a request command is received from the smartphone 100 by NFC communication in response to the data request in S120. Until the request command is received, the determination in S130 is repeated. If a request command is received (S130: YES), a request command response process is executed in S140. This request command handling process is a process for executing a process (process to be executed) requested from the smartphone 100 by the request command, and will be described in detail later. When the process to be executed by the request command handling process is completed, the process result is transmitted to the smartphone 100 in S150. In S <b> 160, a process completion notification is transmitted to the smartphone 100.

S140の要求コマンド対応処理の詳細を、図6に示す。図6に示すように、要求コマンド対応処理に移行すると、S210で、本体電源オンであるか否か判断する。本体電源オンの場合(即ち通常モードで動作中の場合)は(S210:YES)、S220で、要求コマンドに基づく処理を実行する。つまり、本体電源オンの場合は、電源回路9から第1電源電圧Vccが供給されているため、電源切替スイッチ10をオンする必要はなく、またオフ時動作用電圧Vnを供給する必要もない。   Details of the request command handling process of S140 are shown in FIG. As shown in FIG. 6, when the process proceeds to the request command response process, it is determined in S210 whether the main body power is on. When the main body is turned on (that is, when operating in the normal mode) (S210: YES), processing based on the request command is executed in S220. That is, when the main body power is on, the first power supply voltage Vcc is supplied from the power supply circuit 9, so that it is not necessary to turn on the power supply switch 10 and it is not necessary to supply the off-time operation voltage Vn.

本体電源オンではない場合(即ちオフモードの場合)は(S210:NO)、S230で、バックアップ電力要否判断処理を実行する。このバックアップ電力要否判断処理の詳細は図7に示す通りである。図7に示すように、バックアップ電力要否判断処理に移行すると、S410で、通信ノードとのシリアル通信が必要か否かを判断する。つまり、要求コマンドによって要求されている処理(実行すべき処理)が、通信ノードとのシリアル通信を含む(シリアル通信を要する)処理であるか否かを判断する。   If the main body is not turned on (that is, in the off mode) (S210: NO), a backup power necessity determination process is executed in S230. Details of the backup power necessity determination process are as shown in FIG. As shown in FIG. 7, when the process proceeds to backup power necessity determination processing, it is determined in S410 whether serial communication with the communication node is necessary. That is, it is determined whether the process requested by the request command (process to be executed) is a process including serial communication with the communication node (requires serial communication).

シリアル通信が必要である場合は(S410:YES)、S450で、そのシリアル通信の通信対象が特定通信ノードであるか否か判断する。既述の通り、本実施形態では、フラッシュROM5が特定通信ノードである。シリアル通信対象が特定通信ノードである場合は(S450:YES)、S480で、バックアップ電力(バックアップキャパシタ6からの第3電源電圧Vb)の供給が必要と判断して、S240(図6)に進む。   If serial communication is necessary (S410: YES), it is determined in S450 whether the communication target of the serial communication is a specific communication node. As described above, in this embodiment, the flash ROM 5 is a specific communication node. If the serial communication target is the specific communication node (S450: YES), it is determined in S480 that the backup power (the third power supply voltage Vb from the backup capacitor 6) needs to be supplied, and the process proceeds to S240 (FIG. 6). .

S450で、シリアル通信対象が特定通信ノードではない場合は(S450:NO)、S460で、実行すべき処理に要する時間が長いか否かを判断する。この判断は、既述の通り、図3のテーブルにおける、処理所要時間に関する情報を参照して行う。実行すべき処理の所要時間が長い場合は(S460:YES)、S480に進み、バックアップ電力の供給が必要と判断する。実行すべき処理の所要時間が短い場合は(S460:NO)、S470に進み、バックアップ電力の供給は不要と判断して、S240(図6)に進む。   If the target of serial communication is not a specific communication node in S450 (S450: NO), it is determined in S460 whether the time required for the process to be executed is long. As described above, this determination is made with reference to the information related to the required processing time in the table of FIG. When the time required for the process to be executed is long (S460: YES), the process proceeds to S480, and it is determined that the backup power needs to be supplied. When the time required for the process to be executed is short (S460: NO), the process proceeds to S470, it is determined that the backup power supply is unnecessary, and the process proceeds to S240 (FIG. 6).

S410で、シリアル通信が必要ではないと判断した場合は(S410:NO)、S420で、実行すべき処理に要する時間が長いか否か判断する。この判断の具体的方法は種々考えられ、例えば、シリアル通信を要しない各種処理について、図3と同様のテーブルを予め用意しておいて、そのテーブルを参照して判断するようにしてもよい。   If it is determined in S410 that serial communication is not necessary (S410: NO), it is determined in S420 whether the time required for the process to be executed is long. Various specific methods for this determination are conceivable. For example, for various processes that do not require serial communication, a table similar to that shown in FIG. 3 may be prepared in advance, and the determination may be made with reference to the table.

実行すべき処理の所要時間が長い場合は(S420:YES)、S440に進み、バックアップ電力の供給が必要と判断して、S240(図6)に進む。実行すべき処理の所要時間が短い場合は(S420:NO)、S430に進み、バックアップ電力の供給は不要と判断して、S240(図6)に進む。   When the time required for the process to be executed is long (S420: YES), the process proceeds to S440, determines that the backup power needs to be supplied, and proceeds to S240 (FIG. 6). When the time required for the process to be executed is short (S420: NO), the process proceeds to S430, determines that the backup power supply is unnecessary, and proceeds to S240 (FIG. 6).

図6に戻って説明を続ける。S230のバックアップ電力要否判断処理の実行後、S240で、S230の処理結果に基づき、バックアップ電力が必要か否か判断する。バックアップ電力が不要の場合は(S240:NO)、S250で、通信ノードとのシリアル通信が必要か否か判断する。シリアル通信が不要の場合は(S250:NO)、S260で、要求コマンドに基づく処理を実行して、S150(図5)へ進む。   Returning to FIG. 6, the description will be continued. After executing the backup power necessity determination process in S230, it is determined in S240 whether backup power is necessary based on the processing result in S230. If backup power is not required (S240: NO), it is determined in S250 whether serial communication with the communication node is necessary. If serial communication is not required (S250: NO), processing based on the request command is executed in S260, and the process proceeds to S150 (FIG. 5).

S250で、シリアル通信が必要と判断した場合は(S250:YES)、S270で、シリアル通信対象へ電源を供給する。具体的には、給電回路24内の各給電スイッチ36,37のうち、シリアル通信対象に接続されている給電スイッチをオンさせることにより、そのシリアル通信対象へオフ時動作用電圧Vnを供給する。   If it is determined in S250 that serial communication is necessary (S250: YES), power is supplied to the serial communication target in S270. Specifically, by turning on the power supply switch connected to the serial communication target among the power supply switches 36 and 37 in the power supply circuit 24, the off-time operation voltage Vn is supplied to the serial communication target.

シリアル通信対象へのオフ時動作用電圧Vnの供給後、S280で、要求コマンドに基づく処理を実行する。即ち、シリアル通信対象へのアクセス(データ送受信)を含む、要求コマンドによって要求されている一連の処理を実行する。実行すべき処理を終了したら、S290で、シリアル通信対象への電源を遮断(オンさせていた給電スイッチをオフ)して、S150(図5)へ進む。   After supplying the off-time operation voltage Vn to the serial communication target, processing based on the request command is executed in S280. That is, a series of processes requested by the request command including access to the serial communication target (data transmission / reception) is executed. When the process to be executed is completed, the power to the serial communication target is shut off (the power supply switch that was turned on is turned off) in S290, and the process proceeds to S150 (FIG. 5).

S240で、バックアップ電力が必要と判断した場合は(S240:YES)、S300で、電源切替スイッチ10をオンする。即ち、電源切替スイッチ10へHレベルの電源切替信号Enを出力することで、電源切替スイッチ10をオンさせ、バックアップキャパシタ6からNFC−IC3へ第3電源電圧Vbが供給されるようにする。S310では、通信ノードとのシリアル通信が必要か否か判断する。シリアル通信が不要の場合は(S310:NO)、S320で、要求コマンドに基づく処理を実行して、S330に進む。   If it is determined in S240 that backup power is required (S240: YES), the power supply switch 10 is turned on in S300. That is, by outputting the H level power supply switching signal En to the power supply switching switch 10, the power supply switching switch 10 is turned on so that the third power supply voltage Vb is supplied from the backup capacitor 6 to the NFC-IC 3. In S310, it is determined whether serial communication with the communication node is necessary. If serial communication is not required (S310: NO), processing based on the request command is executed in S320, and the process proceeds to S330.

S330では、電源切替スイッチ10をオフする。即ち、電源切替信号EnをLレベルに戻すことで、電源切替スイッチ10をオフさせ、これによりバックアップキャパシタ6からNFC−IC3への第3電源電圧Vbの供給が遮断されるようにする。S330の処理後は、S150(図5)へ進む。   In S330, the power switch 10 is turned off. That is, by returning the power switch signal En to the L level, the power switch 10 is turned off, and thereby the supply of the third power voltage Vb from the backup capacitor 6 to the NFC-IC 3 is cut off. After the process of S330, the process proceeds to S150 (FIG. 5).

S310で、シリアル通信が必要と判断した場合は(S310:YES)、S340で、S270と同様にシリアル通信対象へ電源を供給する。S350では、S280と同様、要求コマンドに基づく処理を実行する。実行すべき処理を終了したら、S360で、S290と同様にシリアル通信対象への電源を遮断して、S330へ進む。   If it is determined in S310 that serial communication is necessary (S310: YES), in S340, power is supplied to the serial communication target in the same manner as in S270. In S350, similar to S280, processing based on the request command is executed. When the process to be executed is completed, the power supply to the serial communication target is shut off in S360, and the process proceeds to S330.

(5)実施形態の効果
以上説明したように、本実施形態の複合機1では、NFC−IC3の通信制御部21が、第2電源電圧Vaにより起動(即ちスマートフォン100からの受電電力により起動)した場合、どのような処理を実行すべきかを、スマートフォン100とのNFC通信の内容に基づいて判断する。そして、実行すべき処理が特定処理であった場合、電源切替スイッチ10をオンさせてバックアップキャパシタ6から第3電源電圧Vbを供給させる。
(5) Effects of the Embodiment As described above, in the multifunction device 1 of the present embodiment, the communication control unit 21 of the NFC-IC 3 is activated by the second power supply voltage Va (that is, activated by the received power from the smartphone 100). In such a case, it is determined based on the content of NFC communication with the smartphone 100 what processing should be performed. If the process to be executed is a specific process, the power switch 10 is turned on to supply the third power supply voltage Vb from the backup capacitor 6.

特定処理は、本実施形態では、特定通信ノードとのシリアル通信を要する処理、又は処理の所要時間(シリアル通信を要する処理の場合は、処理全体の所要時間又は処理全体のうちシリアル通信の開始から終了までの所要時間)が長い処理である。   In this embodiment, the specific process is a process that requires serial communication with a specific communication node, or a time required for the process (in the case of a process that requires serial communication, the time required for the entire process or the start of serial communication in the entire process) This process takes a long time to complete.

従って本実施形態の複合機1によれば、スマートフォン100との非接触通信に基づいて特定処理を実行している間に、スマートフォン100が離されるなどしてスマートフォン100から受電できなくなったとしても、バックアップキャパシタ6からの第3電源電圧Vbによって特定処理を継続して実行できる。そのため、特定処理の実行中にスマートフォン100から受電できなることによる、実行中のシリアル通信への悪影響、或いは通信制御部21や特定通信ノードの個々に対する悪影響を抑止できる。   Therefore, according to the multifunction device 1 of the present embodiment, even when the smartphone 100 is released while the specific process is being performed based on the non-contact communication with the smartphone 100, the smartphone 100 can no longer receive power. The specific process can be continuously executed by the third power supply voltage Vb from the backup capacitor 6. Therefore, it is possible to suppress an adverse effect on the serial communication being executed due to being able to receive power from the smartphone 100 during the execution of the specific process, or an adverse effect on each of the communication control unit 21 and the specific communication node.

通信制御部21は、スマートフォン100から要求コマンドを受信すると、その受信した要求コマンドに基づいて、実行すべき処理が特定処理であるか否かを判断する。より具体的には、要求コマンドに基づいて、実行すべき処理を判断し、その処理が特定処理であるか否かを、特定通信ノードとのシリアル通信の要否や処理時間に基づいて判断する。そのため、実行すべき処理が特定処理であるか否かの判断(換言すれば、第3電源電圧Vbの供給が必要か否かの判断)を容易且つ適切に行うことができる。   When the communication control unit 21 receives a request command from the smartphone 100, the communication control unit 21 determines whether the process to be executed is a specific process based on the received request command. More specifically, the process to be executed is determined based on the request command, and whether or not the process is a specific process is determined based on the necessity of serial communication with the specific communication node and the processing time. Therefore, it is possible to easily and appropriately determine whether or not the process to be executed is a specific process (in other words, whether or not the supply of the third power supply voltage Vb is necessary).

通信制御部21は、実行すべき処理が特定処理であるか否かを処理の所要時間に基づいて判断する際、所要時間が長いか短いかの二択に基づいて行う。より具体的には、時間閾値を基準として所要時間が長いか短いかを図3に示すテーブルに登録しておき、そのテーブルを参照して、処理時間の長短の判断を行う。そのため、所要時間に基づく特定処理か否かの判断を、容易且つ適切に行うことができる。   When the communication control unit 21 determines whether or not the process to be executed is a specific process based on the required time for the process, the communication control unit 21 performs based on two choices of whether the required time is long or short. More specifically, whether the required time is long or short with reference to the time threshold is registered in the table shown in FIG. 3, and the length of the processing time is determined with reference to the table. Therefore, it is possible to easily and appropriately determine whether or not the specific process is based on the required time.

通信制御部21は、通信ノードへオフ時動作用電圧Vnを供給する必要がある場合、各給電スイッチ36,37を個別に制御することで、シリアル通信を行う必要のある通信ノードに対してのみオフ時動作用電圧Vnを供給する。つまり、シリアル通信を行わない通信ノードに対してはオフ時動作用電圧Vnを供給しない。そのため、電源オフ状態での電力消費量を低減でき、第2電源電圧Vaの消費量(スマートフォン100からの受電電力量)あるいは第3電源電圧Vbの消費量を抑制することができる。   When it is necessary to supply the off-time operation voltage Vn to the communication node, the communication control unit 21 individually controls each of the power supply switches 36 and 37 so that only the communication node that needs to perform serial communication. An off-time operation voltage Vn is supplied. That is, the off-time operation voltage Vn is not supplied to a communication node that does not perform serial communication. Therefore, the power consumption in the power-off state can be reduced, and the consumption of the second power supply voltage Va (the amount of power received from the smartphone 100) or the consumption of the third power supply voltage Vb can be suppressed.

バックアップキャパシタ6からNFC−IC3への第3電源電圧Vnは、電源切替スイッチ10によって供給又は遮断される。即ち、通信制御部21は、電源切替スイッチ10を制御することで、NFC−IC3への第3電源電圧Vnの供給を制御できる。そのため、NFC−IC3への第3電源電圧Vnの供給の制御を、簡素な構成で容易に実現することができる。   The third power supply voltage Vn from the backup capacitor 6 to the NFC-IC 3 is supplied or cut off by the power supply changeover switch 10. That is, the communication control unit 21 can control the supply of the third power supply voltage Vn to the NFC-IC 3 by controlling the power supply switch 10. Therefore, the control of the supply of the third power supply voltage Vn to the NFC-IC 3 can be easily realized with a simple configuration.

また、第3電源電圧Vbを供給するバックアップ電源として、本実施形態では、バックアップキャパシタ6を用いている。バックアップキャパシタ6は、オフモード中の最低基本機能を維持するための電源として設けられており、本実施形態では、そのバックアップキャパシタ6を利用して、NFC−IC3へバックアップ電力を供給できるようにしている。   In this embodiment, the backup capacitor 6 is used as a backup power supply for supplying the third power supply voltage Vb. The backup capacitor 6 is provided as a power source for maintaining the lowest basic function during the off mode. In this embodiment, the backup capacitor 6 can be used to supply backup power to the NFC-IC 3. Yes.

通信制御部21は、スマートフォン100からの要求コマンドに従って処理を実行する場合、その処理の実行後に、スマートフォン100へ処理完了通知を送信する。これにより、スマートフォン100のユーザに対し、処理完了通知が送信されるまではスマートフォン100を複合機1から離さないように促すことができる。つまり、処理完了通知は、スマートフォン100のユーザに対して、処理終了まではスマートフォン100を複合機1にかざし続けさせる(スマートフォン100から受電可能な状態を維持させる)ための通知である。   When executing the process according to the request command from the smartphone 100, the communication control unit 21 transmits a process completion notification to the smartphone 100 after executing the process. Thereby, it is possible to prompt the user of the smartphone 100 not to separate the smartphone 100 from the multifunction device 1 until a process completion notification is transmitted. That is, the process completion notification is a notification for allowing the user of the smartphone 100 to keep the smartphone 100 over the multifunction device 1 until the process ends (maintaining a state in which power can be received from the smartphone 100).

[他の実施形態]
(1)上記実施形態では、NFC−IC3は、第1電源電圧Vcc、第2電源電圧Va、及び第3電源電圧Vbの3つの電源電圧を共通の電源供給ラインに入力させてその電源供給ラインから各部へ電源電圧が供給されるよう構成されていたが、このような構成は必須ではない。例えば、3つの電源電圧のうち少なくとも1つについては、他の電源電圧とは分離して供給・遮断できるようにしてもよい。
[Other Embodiments]
(1) In the above embodiment, the NFC-IC 3 causes the three power supply voltages, that is, the first power supply voltage Vcc, the second power supply voltage Va, and the third power supply voltage Vb, to be input to the common power supply line. However, such a configuration is not essential. For example, at least one of the three power supply voltages may be supplied / shut off separately from the other power supply voltages.

また例えば、第2電源電圧Vaを生成する電源生成部35とダイオードD4との間にスイッチを設け、バックアップキャパシタ6からバックアップ電力を供給させる場合にはそのスイッチをオフさせるようにしてもよい。つまり、バックアップキャパシタ6からバックアップ電力が供給されている間は第2電源電圧Vaが消費されないようにしてもよい。   Further, for example, a switch may be provided between the power supply generation unit 35 that generates the second power supply voltage Va and the diode D4, and when backup power is supplied from the backup capacitor 6, the switch may be turned off. That is, the second power supply voltage Va may not be consumed while the backup power is supplied from the backup capacitor 6.

(2)バックアップキャパシタ6からのバックアップ電力の供給の要否を判断する方法は、上記実施形態で説明した方法に限定されない。
例えば、処理の所要時間に基づいて判断する方法のみを採用してもよいし、シリアル通信対象が特定通信ノードであるか否かに基づいて判断する方法のみを採用してもよい。後者の場合、実行すべき処理の中にシリアル通信が含まれていない場合(シリアル通信を必要としない場合)は、バックアップキャパシタ6からの給電を行わないようにしてもよい。
(2) The method for determining whether or not it is necessary to supply the backup power from the backup capacitor 6 is not limited to the method described in the above embodiment.
For example, only the method of determining based on the time required for processing may be employed, or only the method of determining based on whether the serial communication target is a specific communication node may be employed. In the latter case, when serial communication is not included in the process to be executed (when serial communication is not required), power supply from the backup capacitor 6 may not be performed.

また例えば、図3のテーブルを参照して、シリアル通信の内容が、通信対象の通信ノードからのデータ出力のみなのか、通信ノードへのデータ入力のみなのか、データ入力及びデータ出力の双方を含むのか、に応じて判断するようにしてもよい。一般に、通信ノードからのデータ出力処理は、通信ノードへのデータ入力処理に比べて、処理中に通信ノードの電源が急断されたとしても通信ノードに与える影響が比較的少ない。そのため、例えば、通信ノードからデータ出力のみ行われる場合はバックアップキャパシタ6からの電力供給を不要とし、通信ノードへのデータ入力を含む場合はバックアップキャパシタ6から電力供給可能とするようにしてもよい。   Further, for example, referring to the table of FIG. 3, whether the content of serial communication is only data output from the communication node to be communicated or only data input to the communication node includes both data input and data output. It may be determined according to whether or not. In general, the data output process from the communication node has a relatively small influence on the communication node even when the power supply of the communication node is suddenly cut off during the process, compared to the data input process to the communication node. Therefore, for example, when only data output from the communication node is performed, power supply from the backup capacitor 6 is not required, and when data input to the communication node is included, power supply from the backup capacitor 6 may be enabled.

上述した各種の判断方法以外の他の判断方法を用いてもよいし、上述した各種の判断方法とそれ以外の他の判断方法を組み合わせて判断するようにしてもよい。
(3)バックアップ電源として、バックアップキャパシタ6とは別に、もう一つバックアップキャパシタを設け、NFC−IC3や他の通信ノードに対してはその別のバックアップキャパシタからバックアップ電力を供給するようにしてもよい。
Other determination methods other than the above-described various determination methods may be used, and the above-described various determination methods may be combined with other determination methods.
(3) Another backup capacitor may be provided as a backup power supply in addition to the backup capacitor 6, and backup power may be supplied from the other backup capacitor to the NFC-IC 3 and other communication nodes. .

(4)バックアップ電源としてバックアップキャパシタ6を用いることは一例であり、キャパシタ以外の他の蓄電素子或いは蓄電装置を用いてもよい。例えば、一次電池を用いてもよいし、繰り返し充電可能な二次電池を用いてもよい。二次電池を用いる場合、第1電源電圧Vccによって充電できるようにしてもよいし、第1電源電圧Vcc以外の他の電源によって充電できるようにしてもよい。   (4) The use of the backup capacitor 6 as a backup power supply is merely an example, and other power storage elements or power storage devices other than the capacitor may be used. For example, a primary battery may be used, or a secondary battery that can be repeatedly charged may be used. In the case of using a secondary battery, the battery may be charged with the first power supply voltage Vcc, or may be charged with a power supply other than the first power supply voltage Vcc.

(5)電源切替スイッチ10は、バイポーラトランジスタ以外の他のスイッチング素子や回路等を用いて構成してもよい。例えば、バイポーラトランジスタに代えてMOSFETを用いてもよい。   (5) The power supply changeover switch 10 may be configured using a switching element or circuit other than the bipolar transistor. For example, a MOSFET may be used instead of the bipolar transistor.

(6)NFC−IC3から通信ノードへの電力供給(オフ時電源電圧Vnの供給)は、各通信ノードへ個別に供給可能とすることは必須ではない。何れか複数の通信ノード、或いは供給可能な全ての通信ノードに対して、共通の電源供給ラインで一括して供給する構成としてもよい。   (6) It is not essential that the power supply from the NFC-IC 3 to the communication node (supply of the off-time power supply voltage Vn) can be individually supplied to each communication node. A configuration may be adopted in which a plurality of communication nodes, or all communication nodes that can be supplied, are collectively supplied through a common power supply line.

(7)スマートフォン100からの要求コマンドに従って処理を実行する場合、上記の処理完了通知以外の種々の方法で、その処理が終了するまではスマートフォン100を複合機1から離さないように促すことができる。例えば、処理実行の際、特定のタイミング(例えば処理開始直前)で、スマートフォン100へ処理開始通知を送信することで、スマートフォン100に、複合機1で処理が開始されること(ひいてはスマートフォン100を離さないようにすべきであること)を表示させてもよい。その場合、処理終了後に、上記実施形態と同様に処理完了通知を送信することで、スマートフォン100のユーザに、複合機1で処理が終了したこと(ひいてはスマートフォン100を離しても良いこと)を表示させてもよい。   (7) When processing is executed in accordance with a request command from the smartphone 100, it is possible to urge the smartphone 100 not to be separated from the multifunction device 1 until the processing is completed by various methods other than the processing completion notification described above. . For example, when a process is executed, a process start notification is transmitted to the smartphone 100 at a specific timing (for example, immediately before the start of the process), whereby the process is started by the multifunction device 1 to the smartphone 100 (and thus the smartphone 100 is released). May be displayed). In this case, after the process is completed, the process completion notification is transmitted in the same manner as in the above embodiment, thereby displaying to the user of the smartphone 100 that the process has been completed by the multifunction device 1 (and thus the smartphone 100 may be released). You may let them.

(8)NFC−IC3以外の、スレーブとして動作する通信ノードとして、EEPROM4及びフラッシュROM5を示したが、これらはあくまでも一例であり、通信ノードの種類や数は特に限定されるものではない。   (8) Although the EEPROM 4 and the flash ROM 5 are shown as communication nodes that operate as slaves other than the NFC-IC 3, these are merely examples, and the type and number of communication nodes are not particularly limited.

(9)通信ノード間のデータ通信方式として、上記実施形態では、マスタースレーブ方式のシリアル通信を例示したが、本発明の適用は、マスタースレーブ方式に限定されるものではなく、また、シリアル通信に限定されるものでもない。   (9) In the above embodiment, the master-slave type serial communication is exemplified as the data communication method between the communication nodes. However, the application of the present invention is not limited to the master-slave method. It is not limited.

(10)上記実施形態では、複合機1とNFC通信可能な外部装置として、スマートフォン100を例示したが、スマートフォン100以外の他の外部装置(ただしNFC通信機能を有する外部装置)であっても、スマートフォン100と同様に複合機1とNFC通信を行うことができる。   (10) In the above embodiment, the smartphone 100 is illustrated as an external device capable of NFC communication with the multifunction device 1, but even if it is an external device other than the smartphone 100 (however, an external device having an NFC communication function) NFC communication with the multifunction device 1 can be performed in the same manner as the smartphone 100.

(11)その他、本発明は、上記の実施形態に示された具体的手段や構造等に限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の形態を採り得る。例えば、上記の実施形態の構成の一部を、同様の機能を有する公知の構成に置き換えたり、他の実施形態の構成に対して付加、置換等したり、課題を解決できる限りにおいて省略したりしてもよい。また、上記の複数の実施形態を適宜組み合わせて構成してもよい。   (11) In addition, the present invention is not limited to the specific means and structure shown in the above embodiment, and can take various forms without departing from the gist of the present invention. For example, a part of the configuration of the above embodiment is replaced with a known configuration having the same function, added to or replaced with the configuration of another embodiment, or omitted as long as the problem can be solved. May be. Moreover, you may comprise combining several said embodiment suitably.

1…複合機、2…制御回路、3…NFC−IC、3a…ループアンテナ、4…EEPROM、5…フラッシュROM、6…バックアップキャパシタ、7…通信回線接続回路、8…RTC回路、9…電源回路、10…電源切替スイッチ、11…メイン制御部、12,23…シリアル通信I/F、13,26,41,51…シリアルポート、14…主電源入力ポート、15…RAMポート、20…RAM、21…通信制御部、21a…CPU、21b…メモリ、22…NFCI/F、24…給電回路、25,42,52…電源入力ポート、27…電源切替ポート、31…第1給電ポート、32…第2給電ポート、35…電源生成部、36…第1給電スイッチ、37…第2給電スイッチ、100…スマートフォン、D1,D2,D3,D4,D11,D12…ダイオード、D21…第1ダイオード、D22…第2ダイオード、L…シリアルライン、R1…抵抗。   DESCRIPTION OF SYMBOLS 1 ... MFP, 2 ... Control circuit, 3 ... NFC-IC, 3a ... Loop antenna, 4 ... EEPROM, 5 ... Flash ROM, 6 ... Backup capacitor, 7 ... Communication line connection circuit, 8 ... RTC circuit, 9 ... Power supply Circuit 10, power supply switch 11, main control unit 12, 23 serial communication I / F 13, 26, 41, 51 serial port 14 main power input port 15 RAM port 20 RAM 21 ... Communication control unit, 21a ... CPU, 21b ... Memory, 22 ... NFFC I / F, 24 ... Power feeding circuit, 25, 42, 52 ... Power input port, 27 ... Power switching port, 31 ... First power feeding port, 32 ... 2nd power supply port, 35 ... Power supply generation part, 36 ... 1st power supply switch, 37 ... 2nd power supply switch, 100 ... Smartphone, D1, D2, D3, D4, D11 D12 ... diodes, D21 ... first diode, D22 ... second diode, L ... serial line, R1 ... resistance.

Claims (12)

通信装置であって、
当該通信装置を動作させるための第1電源電圧を生成する第1電源部と、
外部装置と非接触通信を行うためのアンテナと、
前記アンテナにより前記外部装置から受電された電力を元に第2電源電圧を生成する第2電源部と、
前記第1電源部の動作状態にかかわらず第3電源電圧を生成可能な第3電源部と、
前記第1電源電圧、前記第2電源電圧、及び前記第3電源電圧の何れかにより動作可能であって前記外部装置との非接触通信を制御する通信制御部と、
前記通信制御部に対し、前記第1電源電圧、前記第2電源電圧、及び前記第3電源電圧の何れかを供給可能な電源供給部と、
を備え、
前記電源供給部は、前記第1電源部で前記第1電源電圧が生成されているときは前記通信制御部へ前記第1電源電圧を供給し、前記第1電源部で前記第1電源電圧が生成されていない電源オフ状態のときに前記第2電源部で前記第2電源電圧が生成された場合はその第2電源電圧を前記通信制御部へ供給し、
前記通信制御部は、前記第2電源電圧の供給を受けて起動した場合、前記外部装置との非接触通信に基づいて、実行すべき処理を判断し、その処理が特定処理である場合は、前記電源供給部に対して前記第3電源電圧の供給を指示し、
前記電源供給部は、前記通信制御部から前記第3電源電圧の供給の指示を受けた場合は、前記通信制御部へ前記第3電源電圧を供給する
ことを特徴とする通信装置。
A communication device,
A first power supply unit that generates a first power supply voltage for operating the communication device;
An antenna for non-contact communication with an external device;
A second power supply unit that generates a second power supply voltage based on the power received from the external device by the antenna;
A third power supply unit capable of generating a third power supply voltage regardless of the operating state of the first power supply unit;
A communication control unit operable by any one of the first power supply voltage, the second power supply voltage, and the third power supply voltage to control non-contact communication with the external device;
A power supply unit capable of supplying any one of the first power supply voltage, the second power supply voltage, and the third power supply voltage to the communication control unit;
With
The power supply unit supplies the first power supply voltage to the communication control unit when the first power supply voltage is generated by the first power supply unit, and the first power supply voltage is supplied from the first power supply unit. If the second power supply voltage is generated by the second power supply unit when the power supply is not generated, the second power supply voltage is supplied to the communication control unit,
The communication control unit, when activated by receiving the supply of the second power supply voltage, determines a process to be executed based on non-contact communication with the external device, and when the process is a specific process, Instructing the power supply unit to supply the third power supply voltage;
The power supply unit supplies the third power supply voltage to the communication control unit when receiving an instruction to supply the third power supply voltage from the communication control unit.
請求項1に記載の通信装置であって、
前記通信制御部は、前記第2電源電圧の供給を受けて起動した場合、前記外部装置と非接触通信によって特定の通信を行うことにより、前記外部装置から処理の実行要求を示すコマンドを受信し、その受信したコマンドに基づいて実行すべき処理を判断して、その実行すべき処理が前記特定処理であるか否か判断する
ことを特徴とする通信装置。
The communication device according to claim 1,
The communication control unit receives a command indicating a processing execution request from the external device by performing specific communication with the external device by non-contact communication when activated by receiving the supply of the second power supply voltage. A communication apparatus that determines a process to be executed based on the received command and determines whether the process to be executed is the specific process.
請求項2に記載の通信装置であって、
前記第1電源電圧、前記第2電源電圧、及び前記第3電源電圧の何れかにより動作可能であって、特定のデータ通信方式にて他のデータ通信対象とデータ通信が可能に構成された、少なくとも1つの通信ノードを備え、
前記通信制御部は、前記通信ノードと前記データ通信方式にてデータ通信可能であり、前記コマンドに基づいて実行すべきと判断した処理が特定の前記通信ノードである特定通信ノードとのデータ通信を含む場合、その処理が前記特定処理であると判断して、前記電源供給部に対し、前記特定通信ノードへ前記第3電源電圧を供給させるための通信ノード供給指示を行い、
前記電源供給部は、前記第2電源部で生成された前記第2電源電圧及び前記第3電源部で生成された前記第3電源電圧を前記通信ノードへ供給可能であって、前記通信制御部から前記通信ノード供給指示を受けた場合は、前記特定通信ノードへ少なくとも前記第3電源電圧を供給する
ことを特徴とする通信装置。
The communication device according to claim 2,
It can be operated by any one of the first power supply voltage, the second power supply voltage, and the third power supply voltage, and is configured to be able to perform data communication with another data communication target in a specific data communication method. Comprising at least one communication node;
The communication control unit is capable of data communication with the communication node by the data communication method, and performs data communication with a specific communication node that is a specific communication node that is determined to be executed based on the command. If included, it is determined that the process is the specific process, and the power supply unit is instructed to supply a communication node to supply the third power supply voltage to the specific communication node.
The power supply unit can supply the second power supply voltage generated by the second power supply unit and the third power supply voltage generated by the third power supply unit to the communication node, and the communication control unit When the communication node supply instruction is received from the communication node, at least the third power supply voltage is supplied to the specific communication node.
請求項2又は請求項3に記載の通信装置であって、
前記第1電源電圧、前記第2電源電圧、及び前記第3電源電圧の何れかにより動作可能であって、特定のデータ通信方式にて他のデータ通信対象とデータ通信が可能に構成された、少なくとも1つの通信ノードを備え、
前記通信制御部は、前記通信ノードと前記データ通信方式にてデータ通信可能であり、前記コマンドに基づいて実行すべきと判断した処理が前記通信ノードとのデータ通信を含む場合、そのデータ通信の所要時間に基づいてその処理が前記特定処理であるか否か判断して、前記特定処理であった場合は、前記電源供給部に対し、データ通信対象の前記通信ノードへ前記第3電源電圧を供給させるための通信ノード供給指示を行い、
前記電源供給部は、前記第2電源部で生成された前記第2電源電圧及び前記第3電源部で生成された前記第3電源電圧を前記通信ノードへ供給可能であって、前記通信制御部から前記通信ノード供給指示を受けた場合は、供給対象の前記通信ノードへ少なくとも前記第3電源電圧を供給する
ことを特徴とする通信装置。
The communication device according to claim 2 or 3, wherein
It can be operated by any one of the first power supply voltage, the second power supply voltage, and the third power supply voltage, and is configured to be able to perform data communication with another data communication target in a specific data communication method. Comprising at least one communication node;
The communication control unit is capable of data communication with the communication node by the data communication method, and when the process determined to be executed based on the command includes data communication with the communication node, the communication control unit Based on the required time, it is determined whether the process is the specific process. If the process is the specific process, the third power supply voltage is supplied to the communication node that is a data communication target to the power supply unit. Instruct communication node supply to supply,
The power supply unit can supply the second power supply voltage generated by the second power supply unit and the third power supply voltage generated by the third power supply unit to the communication node, and the communication control unit When the communication node supply instruction is received from the communication node, at least the third power supply voltage is supplied to the communication node to be supplied.
請求項4に記載の通信装置であって、
前記通信制御部は、前記コマンドに基づいて実行すべきと判断した処理が前記通信ノードとのデータ通信を含む場合、そのデータ通信の所要時間が予め決められた時間閾値よりも長い場合に、その実行すべき処理が前記特定処理であると判断する
ことを特徴とする通信装置。
The communication device according to claim 4,
When the process determined to be executed based on the command includes data communication with the communication node, when the time required for the data communication is longer than a predetermined time threshold, the communication control unit It is determined that the process to be executed is the specific process.
請求項3〜請求項5の何れか1項に記載の通信装置であって、
前記通信制御部は、前記第2電源電圧の供給を受けて起動した場合に、実行すべき処理が前記通信ノードとのデータ通信を含む場合は、前記電源供給部に対し、そのデータ通信対象の前記通信ノードにのみ電力を供給させる
ことを特徴とする通信装置。
The communication device according to any one of claims 3 to 5,
When the process to be executed includes data communication with the communication node when the communication control unit is activated by receiving the supply of the second power supply voltage, the communication control unit A communication apparatus, wherein power is supplied only to the communication node.
請求項2〜請求項6の何れか1項に記載の通信装置であって、
前記通信制御部は、記憶部を備え、
前記記憶部には、前記コマンドによって実行要求される可能性のある処理毎に、その処理が前記特定処理であるか否かを判断可能な判断情報が記憶されており、
前記通信制御部は、前記コマンドに基づいて実行すべき処理が前記特定処理であるか否かを、前記記憶部に記憶されている判断情報に基づいて判断する
ことを特徴とする通信装置。
The communication device according to any one of claims 2 to 6,
The communication control unit includes a storage unit,
In the storage unit, for each process that may be requested to be executed by the command, determination information that can determine whether the process is the specific process is stored.
The communication control unit determines whether or not a process to be executed based on the command is the specific process based on determination information stored in the storage unit.
請求項3〜請求項6の何れか1項に記載の通信装置であって、
前記コマンドによって実行要求される可能性のある処理のうち前記通信ノードとのデータ通信を含む処理として、少なくとも、当該通信装置の状態を示す情報及び当該通信装置の動作に必要な設定情報のうち少なくとも1つを、その情報を保持している前記通信ノードから取得又は前記通信ノードへ送信する、情報送受処理があり、
前記情報送受処理は、情報の種類毎、及び情報送受対象の前記通信ノード毎に、個別に設定されており、
前記通信制御部は、記憶部を備え、
前記記憶部には、前記情報送受処理毎に、その情報送受処理が前記特定処理であるか否かを判断可能な判断情報が記憶されており、
前記通信制御部は、前記コマンドに基づいて実行すべき処理が前記情報送受処理である場合に、その情報送受処理が前記特定処理であるか否かを、前記記憶部に記憶されている判断情報に基づいて判断する
ことを特徴とする通信装置。
The communication device according to any one of claims 3 to 6,
Among the processes that may be requested to be executed by the command, the process including the data communication with the communication node is at least the information indicating the state of the communication apparatus and the setting information necessary for the operation of the communication apparatus. There is an information transmission / reception process in which one is acquired from the communication node holding the information or transmitted to the communication node,
The information transmission / reception process is individually set for each type of information and for each communication node to be transmitted / received.
The communication control unit includes a storage unit,
In the storage unit, for each information transmission / reception process, determination information capable of determining whether the information transmission / reception process is the specific process is stored.
When the process to be executed based on the command is the information transmission / reception process, the communication control unit determines whether the information transmission / reception process is the specific process or not. A communication device characterized in that a determination is made based on
請求項3〜請求項8の何れか1項に記載の通信装置であって、
前記通信ノードとして、EEPROM及びフラッシュROMの少なくとも一方が備えられている
ことを特徴とする通信装置。
The communication device according to any one of claims 3 to 8,
A communication device comprising at least one of an EEPROM and a flash ROM as the communication node.
請求項1〜請求項9の何れか1項に記載の通信装置であって、
前記電源供給部は、前記第3電源部から当該電源供給部への前記第3電源電圧の入力をオン・オフさせるためのスイッチ部であって、前記通信制御部から前記第3電源電圧の供給の指示を受けた場合にオンされるスイッチ部を備え、前記スイッチ部がオンされているときに前記第3電源電圧が入力されてその第3電源電圧を供給対象へ供給可能となるように構成されている
ことを特徴とする通信装置。
The communication device according to any one of claims 1 to 9,
The power supply unit is a switch unit for turning on / off the input of the third power supply voltage from the third power supply unit to the power supply unit, and the supply of the third power supply voltage from the communication control unit When the switch unit is turned on, the third power supply voltage is input and the third power supply voltage can be supplied to the supply target. A communication device characterized by the above.
請求項1〜請求項10の何れか1項に記載の通信装置であって、
前記第3電源部は、前記第1電源部で生成された前記第1電源電圧によって充電可能な静電容量素子を有し、その静電容量素子の充電電力に基づいて前記第3電源電圧を生成する
ことを特徴とする通信装置。
The communication device according to any one of claims 1 to 10,
The third power supply unit includes a capacitive element that can be charged by the first power supply voltage generated by the first power supply unit, and the third power supply voltage is calculated based on a charging power of the capacitive element. A communication device characterized by generating.
請求項1〜請求項11の何れか1項に記載の通信装置であって、
前記通信制御部は、前記第2電源電圧の供給を受けて起動した場合に、実行すべき処理が前記特定処理である場合は、特定のタイミングで、前記非接触通信により前記外部装置へ、前記特定処理が終了するまで前記外部装置から電力を受電可能な状態に維持させるための通知を送信する
ことを特徴とする通信装置。
The communication device according to any one of claims 1 to 11,
When the communication control unit is activated by receiving the supply of the second power supply voltage and the process to be executed is the specific process, the communication control unit is configured to perform the contactless communication with the external device at a specific timing. A communication apparatus that transmits a notification for maintaining power in a state in which power can be received from the external apparatus until a specific process is completed.
JP2014017029A 2014-01-31 2014-01-31 Communication device Active JP6248657B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014017029A JP6248657B2 (en) 2014-01-31 2014-01-31 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014017029A JP6248657B2 (en) 2014-01-31 2014-01-31 Communication device

Publications (2)

Publication Number Publication Date
JP2015144358A true JP2015144358A (en) 2015-08-06
JP6248657B2 JP6248657B2 (en) 2017-12-20

Family

ID=53889149

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014017029A Active JP6248657B2 (en) 2014-01-31 2014-01-31 Communication device

Country Status (1)

Country Link
JP (1) JP6248657B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018124291A1 (en) * 2016-12-28 2018-07-05 三菱ケミカル・クリンスイ株式会社 Water purifier, water purifier system, water purifier management system, and method for detecting water purifier usage state
JP2020195234A (en) * 2019-05-29 2020-12-03 ローム株式会社 Capacitance measuring circuit, capacitance measuring method, a power supply circuit, data storage unit, and control circuit
WO2023022190A1 (en) * 2021-08-20 2023-02-23 ローム株式会社 Power supply management circuit and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012050308A (en) * 2010-08-30 2012-03-08 Fujitsu Ltd Electronic device
JP2013165584A (en) * 2012-02-10 2013-08-22 Canon Inc Electronic apparatus
JP2015125507A (en) * 2013-12-25 2015-07-06 キヤノン株式会社 Communication device, method of controlling communication device, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012050308A (en) * 2010-08-30 2012-03-08 Fujitsu Ltd Electronic device
JP2013165584A (en) * 2012-02-10 2013-08-22 Canon Inc Electronic apparatus
JP2015125507A (en) * 2013-12-25 2015-07-06 キヤノン株式会社 Communication device, method of controlling communication device, and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018124291A1 (en) * 2016-12-28 2018-07-05 三菱ケミカル・クリンスイ株式会社 Water purifier, water purifier system, water purifier management system, and method for detecting water purifier usage state
JPWO2018124291A1 (en) * 2016-12-28 2019-12-12 三菱ケミカル・クリンスイ株式会社 Water purifier, water purifier system, water purifier management system, and water purifier usage status detection method
JP2021181090A (en) * 2016-12-28 2021-11-25 三菱ケミカル・クリンスイ株式会社 Water purifier system, water purifier management system, and water purifier usage detection method
JP7104839B2 (en) 2016-12-28 2022-07-21 三菱ケミカル・クリンスイ株式会社 Water purifier system, water purifier management system and water purifier usage status detection method
JP2020195234A (en) * 2019-05-29 2020-12-03 ローム株式会社 Capacitance measuring circuit, capacitance measuring method, a power supply circuit, data storage unit, and control circuit
JP7303021B2 (en) 2019-05-29 2023-07-04 ローム株式会社 capacitance measurement circuit, capacitance measurement method, power supply circuit, data storage device, power management circuit
WO2023022190A1 (en) * 2021-08-20 2023-02-23 ローム株式会社 Power supply management circuit and electronic device

Also Published As

Publication number Publication date
JP6248657B2 (en) 2017-12-20

Similar Documents

Publication Publication Date Title
US11316988B2 (en) Communication apparatus using an advertising signal, method of controlling the same, and storage medium
JP6241279B2 (en) Communication device
US9665150B2 (en) Electronic device with a control circuit to detect and establish a connection to host device
US9648190B2 (en) Image forming apparatus that performs user authentication by wireless communication, method of controlling the same, and storage medium
JP2015174375A (en) Image forming device and control method for the same, and program
JP6248657B2 (en) Communication device
EP2889721B1 (en) Communication Apparatus
US11394225B2 (en) Method and apparatus for changing impedance of terminal included in connector
JP6307878B2 (en) Communication device
JP6260270B2 (en) Communication device
JP6277866B2 (en) Charging device and electronic device
US9282208B2 (en) Facsimile device, option unit, and control device
US9722461B2 (en) Printing apparatus, method for controlling the same, and program
JP6161376B2 (en) apparatus
JP6364991B2 (en) Electronics
US10235311B2 (en) Data acquisition system, electronic device, and data acquisition terminal
JP6239640B2 (en) Electronics
JP2017212857A (en) Terminal device, electronic apparatus, power feeding method to electronic apparatus, program
JP2015154115A (en) Facsimile apparatus, option unit, and controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161202

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171018

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: 20171024

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171106

R150 Certificate of patent or registration of utility model

Ref document number: 6248657

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150