JP2015126512A - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
JP2015126512A
JP2015126512A JP2013271980A JP2013271980A JP2015126512A JP 2015126512 A JP2015126512 A JP 2015126512A JP 2013271980 A JP2013271980 A JP 2013271980A JP 2013271980 A JP2013271980 A JP 2013271980A JP 2015126512 A JP2015126512 A JP 2015126512A
Authority
JP
Japan
Prior art keywords
communication
power supply
control unit
unit
supply voltage
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
JP2013271980A
Other languages
Japanese (ja)
Other versions
JP6260270B2 (en
Inventor
和仁 三角
Kazuhito Misumi
和仁 三角
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 JP2013271980A priority Critical patent/JP6260270B2/en
Publication of JP2015126512A publication Critical patent/JP2015126512A/en
Application granted granted Critical
Publication of JP6260270B2 publication Critical patent/JP6260270B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a communication device capable of excellent non-contact communication with an external device on the basis of non-contact power supply from the external device and restraining the amount of power supply even while it is stopping normal operation.SOLUTION: A communication device 1 comprises: a communication control unit 21 for controlling non-contact communication with an external device 100; a main control unit 11 for controlling execution of various functions; and communication nodes 4, 5. These three kinds of components are able to operate by first power supply voltage Vcc which is a main power supply, and are capable of data communication with each other. The communication device 1 comprises a power supply circuit 24 for generating second power supply voltage Vn based on power received from the external device 100, and the communication control unit 21 and the communication nodes 4, 5 are able to operate by the second power supply voltage Vn too. If the communication control unit 21 is performing data communication at a time of start of the main control unit 11, the main control unit 11 cuts off data communication between the main control unit 11 and another data communication object by a switch unit 10 provided on a communication line L.

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 be able to do it.

特許文献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に記載の技術では、端末装置を通常動作時と同じように起動・動作させるのに必要な電力を、非接触給電によって外部装置から供給する必要がある。
そのため、電力供給源となる外部装置が例えば携帯電話やスマートフォンなどの電力供給能力の低い装置であったり、電力供給対象の装置が携帯電話のような小型の端末装置ではなく比較的大きな通信装置であってその通常動作に多くの電力を必要としたりする場合は、電力供給対象に対してその通常動作に必要な電力を十分に供給できない可能性がある。
However, in the technique described in Patent Document 1, it is necessary to supply power necessary for starting and operating the terminal device from the external device by non-contact power supply in the same manner as during normal operation.
For this reason, an external device serving as a power supply source is a device having a low power supply capability such as a mobile phone or a smartphone, or a power supply target device is not a small terminal device such as a mobile phone but a relatively large communication device. When a large amount of power is required for the normal operation, there is a possibility that the power required for the normal operation cannot be sufficiently supplied to the power supply target.

本発明は上記課題に鑑みなされたものであり、通常動作の停止中であっても、外部装置からの非接触給電を元に、その給電量を抑えつつ、その外部装置との非接触通信を良好に行うことが可能な通信装置を提供することを目的とする。   The present invention has been made in view of the above-described problems, and can perform non-contact communication with an external device while suppressing the power supply amount based on the non-contact power supply from the external device even when the normal operation is stopped. It is an object of the present invention to provide a communication device that can perform well.

上記課題を解決するためになされた本発明は、通信装置であって、第1電源部と、アンテナと、第2電源部と、通信制御部と、主制御部と、通信ノードと、通信ラインと、スイッチ部と、スイッチ制御部とを備える。   The present invention made in order to solve the above-mentioned problems is a communication device, which is a first power supply unit, an antenna, a second power supply unit, a communication control unit, a main control unit, a communication node, and a communication line. And a switch unit and a switch control unit.

第1電源部は、当該通信装置を動作させるための第1電源電圧を生成する。アンテナは、外部装置と非接触通信を行うために備えられている。第2電源部は、アンテナにより外部装置から受電された電力を元に第2電源電圧を生成する。通信制御部は、第2電源電圧又は第1電源電圧の供給を受けて動作する。通信制御部は、アンテナを介した外部装置との非接触通信を制御し、且つ特定のデータ通信方式にて他のデータ通信対象とデータ通信が可能に構成されている。主制御部は、第1電源電圧の供給を受けて動作する。主制御部
は、当該通信装置が備える機能の実行を制御し、且つ上記特定のデータ通信方式にて他のデータ通信対象とデータ通信が可能に構成されている。通信ノードは、第1電源電圧又は第2電源電圧により動作可能であって、上記特定のデータ通信方式にて他のデータ通信対象とデータ通信が可能に構成されている。通信ラインは、通信制御部、主制御部、及び通信ノードが相互に上記特定のデータ通信方式にてデータ通信可能となるようにこれらを相互に接続するために備えられている。スイッチ部は、通信ラインにおいて、主制御部と他のデータ通信対象との間のデータ通信を遮断するために設けられている。スイッチ制御部は、第1電源電圧の供給を受けて動作し、スイッチ部を制御する。
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 communication control unit operates upon receiving the second power supply voltage or the first power supply voltage. The communication control unit is configured to control non-contact communication with an external device via an antenna and to perform data communication with another data communication target using a specific data communication method. The main controller operates upon receiving the first power supply voltage. The main control unit is configured to control execution of functions provided in the communication device and to perform data communication with other data communication targets using the specific data communication method. The communication node is operable by the first power supply voltage or the second power supply voltage, and is configured to be able to perform data communication with other data communication targets using the specific data communication method. The communication line is provided to connect the communication control unit, the main control unit, and the communication node to each other so that data communication is possible with the specific data communication method. The switch unit is provided in the communication line to block data communication between the main control unit and another data communication target. The switch control unit operates by receiving the first power supply voltage and controls the switch unit.

第2電源部は、アンテナにより外部装置から電力が受電された場合、第2電源電圧を通信制御部及び通信ノードへ供給可能に構成されている。スイッチ制御部は、主制御部の起動時に通信制御部と通信ノードとの間でデータ通信が実行されている場合、スイッチ部により通信ラインを遮断させる。   The second power supply unit is configured to be able to supply the second power supply voltage to the communication control unit and the communication node when power is received from the external device by the antenna. When data communication is being performed between the communication control unit and the communication node when the main control unit is activated, the switch control unit causes the switch unit to block the communication line.

本発明の通信装置によれば、第1電源部が動作停止中であっても、外部装置との非接触通信を実行できる。しかも、外部装置からの受電電力は、通信ノードを動作可能とするために通信ノードには供給されるが、少なくとも主制御部には供給されない。つまり、第2電源電圧の供給対象は、第1電源電圧の供給対象の全てではなく、第1電源電圧の供給対象よりも限定的である。そのため、外部装置からの受電量を抑えつつ、通信ノードを動作させることができる。これにより、第1電源部の動作停止中であっても、外部装置から当該通信装置へ非接触通信により良好にアクセス(特に通信ノードへのアクセス)することができる。   According to the communication device of the present invention, contactless communication with an external device can be performed even when the operation of the first power supply unit is stopped. Moreover, the received power from the external device is supplied to the communication node to enable the communication node to operate, but is not supplied to at least the main control unit. That is, the supply target of the second power supply voltage is not limited to all of the supply targets of the first power supply voltage, but is more limited than the supply target of the first power supply voltage. Therefore, it is possible to operate the communication node while suppressing the amount of power received from the external device. Thereby, even when the operation of the first power supply unit is stopped, it is possible to satisfactorily access (especially access to the communication node) from the external device to the communication device by contactless communication.

しかも、外部装置との非接触通信中に第1電源部から第1電源電圧が供給されて主制御部が起動した場合は、スイッチ部により通信ラインが遮断されて主制御部から他のデータ通信対象へのアクセスが遮断される。これにより、既に実行中のデータ通信と起動した主制御部からのデータとの衝突が抑止され、既に実行中のデータ通信を良好に維持できる。   In addition, when the first power supply voltage is supplied from the first power supply unit during the non-contact communication with the external device and the main control unit is activated, the communication line is interrupted by the switch unit and another data communication is performed from the main control unit. Access to the target is blocked. Thereby, the collision between the data communication already being executed and the data from the activated main control unit is suppressed, and the data communication already being executed can be favorably maintained.

実施形態の複合機1の概略構成を示す説明図である。It is explanatory drawing which shows schematic structure of the multifunctional device 1 of embodiment. 複合機1の動作例を示す説明図である。6 is an explanatory diagram illustrating an operation example of the multi function device. FIG. メイン制御処理を示すフローチャートである。It is a flowchart which shows a main control process. NFC制御処理を示すフローチャートである。It is a flowchart which shows a NFC control process. NFC制御処理の他の実施例を示すフローチャートである。It is a flowchart which shows the other Example of NFC control processing.

以下に、本発明の好適な実施形態を図面に基づいて説明する。
(1)複合機1の構成
図1に示す本実施形態の複合機1は、プリンタ機能、電話機能などの複数の機能を有する多機能周辺装置である。複合機1は、無線LAN及びNFCの2種類の無線通信方式による無線通信機能を備えている。無線LANは、例えばIEEE802.11a/b/g/nの規格で定められる通信方式等であり、2.4GHz帯又は5GHz帯の周波数帯域の電波が用いられる。NFCは、通信可能距離が約10cm程度に限定された近距離無線通信(非接触通信)であり、例えば13.56MHzの周波数帯域の電波が用いられる。複合機1は、NFCによる無線通信(以下「NFC通信」という)の機能を持った外部の通信機器との間で、NFC通信が可能である。本実施形態では、NFC通信が可能な通信機器の一例として、図1に示すスマートフォン100を例に挙げて説明する。
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 multi-function device 1 has a wireless communication function using two types of wireless communication methods, wireless LAN and NFC. The wireless LAN is, for example, a communication method defined by the IEEE802.11a / b / g / n standard, and uses a radio wave in a frequency band of 2.4 GHz band or 5 GHz band. NFC is a short-range wireless communication (non-contact communication) in which a communicable distance is limited to about 10 cm. For example, radio waves in a frequency band of 13.56 MHz are used. The multi-function device 1 can perform NFC communication with an external communication device having a function of NFC wireless communication (hereinafter referred to as “NFC communication”). In the present embodiment, a smartphone 100 shown in FIG. 1 will be described as an example of a communication device capable of NFC communication.

複合機1は、より具体的には、図1に示すように、制御回路2、NFC通信部3、EEPROM4、カートリッジIC5、無線LAN通信部6、プリンタ部7、通信回線接続部
8、電源回路9、及びシリアルライン遮断スイッチ(以下「遮断スイッチ」と略す)10を備えている。
More specifically, as shown in FIG. 1, the multi-function device 1 includes a control circuit 2, an NFC communication unit 3, an EEPROM 4, a cartridge IC 5, a wireless LAN communication unit 6, a printer unit 7, a communication line connection unit 8, and a power circuit. 9 and a serial line cutoff switch (hereinafter abbreviated as “cutoff switch”) 10.

電源回路9は、外部から入力される電力(例えば商用AC100Vの電力)を整流・変圧等して、複合機1を動作させるための主電源である第1電源電圧Vccを生成する。電源回路9で生成された第1電源電圧Vccは、制御回路2やNFC通信部3、EEPROM4、カートリッジIC5などの、複合機1内の各部に供給される。   The power supply circuit 9 generates a first power supply voltage Vcc that is a main power supply for operating the multi-function device 1 by rectifying and transforming externally input electric power (for example, commercial AC 100 V electric power). The first power supply voltage Vcc generated by the power supply circuit 9 is supplied to each part in the multifunction machine 1 such as the control circuit 2, the NFC communication unit 3, the EEPROM 4, and the cartridge IC 5.

制御回路2は、複合機1が有する各種機能を制御する。制御回路2は、メイン制御部11と、シリアル通信I/F(インタフェース)12とを備えている。また、制御回路2は、電力や信号が入力又は出力されるポートとして、シリアルポート13、主電源入力ポート14、割込ポート15、及びスイッチ制御ポート16を備えている。   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, an interrupt port 15, and a switch control port 16 as ports through which power and signals are input or output.

シリアルポート13には、シリアル通信の通信バスであるシリアルラインLが接続されている。主電源入力ポート14には、電源回路9から第1電源電圧Vccが入力される。制御回路2は、電源回路9から第1電源電圧Vccが入力されているときに、その第1電源電圧Vccを電源として動作する。   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.

割込ポート15には、NFC通信部3からの割り込みが入力される。NFC通信部3から割込ポート15に入力される割り込みは、実際は、H(High)レベル又はL(Low)レベルのステート通知信号Stである。割り込みが入力されるとは、ステート通知信号StがHレベルになることを意味する。   An interrupt from the NFC communication unit 3 is input to the interrupt port 15. The interrupt input from the NFC communication unit 3 to the interrupt port 15 is actually a state notification signal St of H (High) level or L (Low) level. The input of an interrupt means that the state notification signal St becomes H level.

スイッチ制御ポート16からは、遮断スイッチ10へスイッチ制御信号Ssが出力される。スイッチ制御信号Ssは、Hレベル又はLレベルの二値信号である。
制御回路2において、シリアル通信I/F12は、NFC通信部3やその他の通信対象の通信ノードとのシリアル通信によるデータ通信を行うための通信インタフェースであり、シリアルポート13に接続されている。シリアル通信のデータは、シリアル通信I/F12及びシリアルポート13を介して送受信される。
A switch control signal Ss is output from the switch control port 16 to the cutoff switch 10. The switch control signal Ss is a binary signal of H level or L level.
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 communication unit 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.

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

本実施形態のシリアル通信は、マスタースレーブ方式のシリアル通信である。制御回路2は、マスタースレーブ方式のシリアル通信において、マスターとして動作する。これに対し、他の各通信ノードは、スレーブとして動作する。但し、NFC通信部3は、通常はスレーブとして動作するが、特定の場合においては、マスターとして動作する。つまり、NFC通信部3は、シリアル通信において、マスターとしてもスレーブとしても動作可能である。なお、マスタースレーブ方式の通信方式には、例えば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 other communication node operates as a slave. However, the NFC communication unit 3 normally operates as a slave, but in a specific case, operates as a master. That is, the NFC communication unit 3 can operate as a master and a slave in serial communication. The master-slave communication method includes, for example, I2C (Inter-Integrated).
There are various standards such as Circuit (USB), Universal Serial Bus (USB), Secure Digital Input / Output Card (SDIO), and Serial Peripheral Interface (SPI).

制御回路2において、メイン制御部11は、CPUやメモリ等を有するマイクロコンピュータを少なくとも含む。メイン制御部11は、シリアル通信I/F12を介したシリアル通信の制御や、無線LAN通信部6の制御、プリンタ部7の制御、通信回線接続部8の制御などを行う。また、メイン制御部11は、NFC通信部3から入力される割り込み(ステート通知信号St)に基づく各種制御や、スイッチ制御信号Ssの出力制御なども行う。   In the control circuit 2, the main control unit 11 includes at least a microcomputer having a CPU, a memory, and the like. The main control unit 11 performs control of serial communication via the serial communication I / F 12, control of the wireless LAN communication unit 6, control of the printer unit 7, control of the communication line connection unit 8, and the like. The main control unit 11 also performs various controls based on an interrupt (state notification signal St) input from the NFC communication unit 3 and output control of the switch control signal Ss.

無線LAN通信部6は、無線LANによる外部通信機器との通信を実行する。プリンタ部7は、各種の被記録媒体に画像を形成(印刷)する。通信回線接続部8は、外部の通信回線に接続され、電話やファクシミリ等の通信を実行する。   The wireless LAN communication unit 6 executes communication with an external communication device using a wireless LAN. The printer unit 7 forms (prints) images on various recording media. The communication line connection unit 8 is connected to an external communication line and executes communication such as telephone and facsimile.

NFC通信部3は、スマートフォン100とNFC通信を行うための無線通信モジュールである。NFC通信部3は、複合機1の内部における上部側に搭載され、NFC通信用のループアンテナ3aが接続されている。スマートフォン100をループアンテナ3aの上部近傍の所定領域内に近接させる(かざす)と、複合機1とスマートフォン100とのNFC通信が可能となり、特定の通信手順で無線通信が行われる。   The NFC communication unit 3 is a wireless communication module for performing NFC communication with the smartphone 100. The NFC communication unit 3 is mounted on the upper side inside the multifunction machine 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に対して「近接させる」あるいは「かざす」などというときは、特に断りのない限り、通信機器と複合機1とが相互にNFC通信可能となるような位置関係にされることを意味するものとする。   In this specification, when the smartphone 100 is “closed” or “holds” the multifunction device 1, the communication device and the multifunction device 1 can perform NFC communication with each other unless otherwise specified. It means that the positional relationship is as follows.

NFC通信部3は、通信制御部21と、NFCI/F22と、シリアル通信I/F23と、給電回路24とを備えている。また、NFC通信部3は、電力や信号が入力又は出力されるポートとして、シリアルポート25、主電源入力ポート26、給電ポート27、及びステート通知ポート28を備えている。   The NFC communication unit 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 communication unit 3 includes a serial port 25, a main power input port 26, a power supply port 27, and a state notification port 28 as ports to which power and signals are input or output.

シリアルポート25には、シリアルラインLが接続されている。主電源入力ポート26には、電源回路9からの電源供給路が接続されており、電源回路9から第1電源電圧Vccが入力される。NFC通信部3は、電源回路9から第1電源電圧Vccが入力されると、その第1電源電圧Vccを電源として動作する。給電ポート27からは、給電回路24で生成された第2電源電圧Vn(詳細は後述)が出力される。ステート通知ポート28からは、制御回路2へ割り込み(ステート通知信号St)が発行(出力)される。   A serial line L is connected to the serial port 25. A power supply path from the power supply circuit 9 is connected to the main power supply input port 26, and the first power supply voltage Vcc is input from the power supply circuit 9. When the first power supply voltage Vcc is input from the power supply circuit 9, the NFC communication unit 3 operates using the first power supply voltage Vcc as a power supply. The power supply port 27 outputs the second power supply voltage Vn (details will be described later) generated by the power supply circuit 24. An interrupt (state notification signal St) is issued (output) from the state notification port 28 to the control circuit 2.

通信制御部21は、スマートフォン100がかざされると、シリアル通信の実行の可能性があるため、制御回路2へ割り込みを発行する(ステート通知信号StをHレベルとする)。   When the smartphone 100 is held over, the communication control unit 21 issues an interrupt to the control circuit 2 because the serial communication may be executed (the state notification signal St is set to H level).

NFC通信部3において、シリアル通信I/F23は、制御回路2やその他のシリアル通信によるデータ通信を行うための通信インタフェースであり、シリアルポート25に接続されている。シリアル通信のデータは、シリアル通信I/F12及びシリアルポート25を介して送受信される。NFCI/F22は、スマートフォン100とNFC通信を行うための無線通信インタフェースであり、ループアンテナ3aが接続されている。   In the NFC communication unit 3, 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 25. Serial communication data is transmitted and received via the serial communication I / F 12 and the serial port 25. 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に誘起される誘導起電力(つまり通信機器から受電された電力)をもとに、直流の第2電源電圧Vnを生成する。第2電源電圧Vnの値は、本実施形態では、電源回路9が生成する第1電源電圧Vccと同じ値である。ただし、第2電源電圧Vnの値は、その供給対象であるEEPROM4やカートリッジIC5などのシリアル通信の通信ノードが動作可能な電圧である限り、適宜決めることができる。   The power feeding circuit 24 generates the second DC power supply voltage Vn based on the induced electromotive force (that is, the power received from the communication device) induced in the loop antenna 3a when the smartphone 100 is held over the multifunction device 1. To do. In the present embodiment, the value of the second power supply voltage Vn is the same value as the first power supply voltage Vcc generated by the power supply circuit 9. However, the value of the second power supply voltage Vn can be appropriately determined as long as it is a voltage at which a serial communication node such as the EEPROM 4 or the cartridge IC 5 to be supplied can operate.

ループアンテナ3aによりスマートフォン100から電力が受電された場合、給電回路24は、第2電源電圧Vnを生成して通信制御部21や各I/F22,23などのNFC通信部3内の各部へ供給する。そのため、NFC通信部3に電源回路9から第1電源電圧Vccが供給されていなくても、スマートフォン100がかざされて第2電源電圧Vnが生成されれば、通信制御部21が動作を開始する。   When power is received from the smartphone 100 by the loop antenna 3a, the power supply circuit 24 generates the second power supply voltage Vn and supplies the second power supply voltage Vn to each unit in the NFC communication unit 3 such as the communication control unit 21 or each I / F 22, 23. To do. Therefore, even if the first power supply voltage Vcc is not supplied from the power supply circuit 9 to the NFC communication unit 3, if the smartphone 100 is held over and the second power supply voltage Vn is generated, the communication control unit 21 starts operating. .

給電回路24が生成した第2電源電圧Vnは、給電ポート27から外部(複合機1内におけるNFC通信部3の外部)へ出力可能である。本実施形態では、給電回路24から外部への第2電源電圧Vnの出力は、通信制御部21により制御される。給電ポート27は、第2ダイオードD2を介してEEPROM4やカートリッジIC5などの通信ノードの各電源入力ポート32,42に接続されている。第2電源電圧Vnが給電ポート27から出力されると、EEPROM4やカートリッジIC5などの通信ノードにその第2電源電圧Vnが供給される。   The second power supply voltage Vn generated by the power supply circuit 24 can be output from the power supply port 27 to the outside (outside of the NFC communication unit 3 in the multifunction machine 1). In the present embodiment, the output of the second power supply voltage Vn from the power feeding circuit 24 to the outside is controlled by the communication control unit 21. The power supply port 27 is connected to the power input ports 32 and 42 of the communication node such as the EEPROM 4 and the cartridge IC 5 through the second diode D2. When the second power supply voltage Vn is output from the power supply port 27, the second power supply voltage Vn is supplied to a communication node such as the EEPROM 4 or the cartridge IC5.

通信制御部21は、CPUやメモリ等を有するマイクロコンピュータを少なくとも含む。通信制御部21は、シリアル通信I/F23を介したシリアル通信の制御や、NFCI/F22を介したNFC通信の制御、給電回路24の制御(例えば第2電源電圧Vnの外部への出力制御)を行う。通信制御部21は、シリアル通信の制御において、通常は自身をスレーブとして動作させるが、特定の状態では、自身をマスターに設定してマスターとして動作させる。通信制御部21は、スマートフォン100の近接有無に基づく、ステート通知信号Stの制御も行う。   The communication control unit 21 includes at least a microcomputer having a CPU, a memory, and the like. The communication control unit 21 controls serial communication via the serial communication I / F 23, controls NFC communication via the NFC I / F 22, and controls the power supply circuit 24 (for example, output control of the second power supply voltage Vn to the outside). I do. 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. The communication control unit 21 also controls the state notification signal St based on the proximity of the smartphone 100.

EEPROM4は、記憶内容を電気的に書き換え可能な不揮発性のメモリである。本実施形態では、EEPROM4には、制御回路2のメイン制御部11が各種機能の実行を制御するために必要な制御情報や、メイン制御部11が各種機能の実行を制御することにより生じた機能実行情報などの、各種の情報が記憶される。   The EEPROM 4 is a nonvolatile memory capable of electrically rewriting stored contents. In the present embodiment, the EEPROM 4 includes control information necessary for the main control unit 11 of the control circuit 2 to control the execution of various functions, and functions generated by the main control unit 11 controlling the execution of various functions. Various information such as execution information is stored.

制御情報としては、例えば、製品設定情報、無線LAN通信における中継装置であるアクセスポイント(図示略)との接続情報、罫線調整・色補正情報などが挙げられる。機能実行情報としては、例えば、電話帳情報、故障時のエラー情報、純正カートリッジの使用履歴などが挙げられる。   Examples of the control information include product setting information, connection information with an access point (not shown) that is a relay device in wireless LAN communication, ruled line adjustment / color correction information, and the like. The function execution information includes, for example, telephone directory information, error information at the time of failure, use history of genuine cartridges, and the like.

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

EEPROM4は、電源入力ポート32を備えている。電源入力ポート32は、第1ダイオードD1を介して電源回路9に接続されていると共に、第2ダイオードD2を介してNFC通信部3の給電ポート27に接続されている。つまり、EEPROM4の電源入力ポート32には、第1ダイオードD1を介して電源回路9から第1電源電圧Vccが供給可能であり、且つ、第2ダイオードD2を介してNFC通信部3から第2電源電圧Vnが供給可能である。そのため、EEPROM4は、第1電源電圧Vcc及び第2電源電圧Vnのうち少なくとも一方が供給されると動作を開始し、これにより上述のシリアル通信が可能な状態となる。   The EEPROM 4 includes a power input port 32. The power input port 32 is connected to the power supply circuit 9 via the first diode D1 and is connected to the power supply port 27 of the NFC communication unit 3 via the second diode D2. That is, the power supply input port 32 of the EEPROM 4 can be supplied with the first power supply voltage Vcc from the power supply circuit 9 through the first diode D1, and the second power supply from the NFC communication unit 3 through the second diode D2. The voltage Vn can be supplied. For this reason, the EEPROM 4 starts operating when at least one of the first power supply voltage Vcc and the second power supply voltage Vn is supplied, thereby enabling the serial communication described above.

カートリッジIC5は、プリンタ部7が印刷の際に用いるインク(又はトナー)カートリッジに搭載されている。なお、プリンタ部7がカラー印刷機能を備えておらず白黒印刷機能のみ備えている場合は、通常、インクカートリッジは1つであるため、カートリッジICも1つである。一方、プリンタ部7がカラー印刷機能を備えている場合は、通常、インクカートリッジは複数あるため、カートリッジICもその複数のインクカートリッジ毎に複数ある。本実施形態のプリンタ部7は、一例として、白黒印刷機能のみ備えているものとして説明する。   The cartridge IC 5 is mounted on an ink (or toner) cartridge used by the printer unit 7 for printing. If the printer unit 7 does not have a color printing function but only a monochrome printing function, there is usually only one ink cartridge, and therefore one cartridge IC. On the other hand, when the printer unit 7 has a color printing function, since there are usually a plurality of ink cartridges, there are a plurality of cartridge ICs for each of the plurality of ink cartridges. As an example, the printer unit 7 of this embodiment will be described as having only a monochrome printing function.

カートリッジIC5は、情報を記憶可能なメモリを有しており、自身が搭載されているインクカートリッジに関する種々の情報をそのメモリに記憶させる。カートリッジIC5のメモリに記憶される情報としては、例えば、インクカートリッジの型番情報やインク残量情報などがある。   The cartridge IC 5 has a memory capable of storing information, and stores various information related to the ink cartridge in which the cartridge IC 5 is mounted in the memory. The information stored in the memory of the cartridge IC 5 includes, for example, model number information of the ink cartridge and remaining ink information.

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

カートリッジIC5は、電源入力ポート42を備えている。電源入力ポート42は、第1ダイオードD1を介して電源回路9に接続されていると共に、第2ダイオードD2を介してNFC通信部3の給電ポート27に接続されている。つまり、カートリッジIC5の電源入力ポート42には、第1ダイオードD1を介して電源回路9から第1電源電圧Vccが供給可能であり、且つ、第2ダイオードD2を介してNFC通信部3から第2電源電圧Vnが供給可能である。そのため、カートリッジIC5は、第1電源電圧Vcc及び第2電源電圧Vnのうち少なくとも一方が供給されると動作を開始し、これにより上述のシリアル通信が可能な状態となる。   The cartridge IC 5 includes a power input port 42. The power input port 42 is connected to the power supply circuit 9 via the first diode D1, and is connected to the power supply port 27 of the NFC communication unit 3 via the second diode D2. That is, the power supply input port 42 of the cartridge IC 5 can be supplied with the first power supply voltage Vcc from the power supply circuit 9 through the first diode D1, and the second power supply voltage Vcc from the NFC communication unit 3 through the second diode D2. The power supply voltage Vn can be supplied. For this reason, the cartridge IC 5 starts operating when at least one of the first power supply voltage Vcc and the second power supply voltage Vn is supplied, thereby enabling the above-described serial communication.

なお、第1ダイオードD1は、NFC通信部3の給電ポート27から出力される第2電源電圧Vnが、本来の供給対象であるEEPROM4やカートリッジIC5などの通信ノード以外の、他の第1電源電圧Vccの供給対象へ、第1電源電圧Vccの供給路を通じて供給されるのを遮断するために設けられている。   In the first diode D1, the second power supply voltage Vn output from the power supply port 27 of the NFC communication unit 3 is other first power supply voltage other than the communication node such as the EEPROM 4 and the cartridge IC5 that are originally supplied. It is provided to block the supply of Vcc from being supplied through the supply path of the first power supply voltage Vcc.

第2ダイオードD2は、電源回路9から出力される第1電源電圧Vccが、第2電源電圧Vnの供給路を介してNFC通信部3の給電ポート27に入力される(逆流する)のを遮断するために設けられている。   The second diode D2 blocks the first power supply voltage Vcc output from the power supply circuit 9 from being input to the power supply port 27 of the NFC communication unit 3 via the supply path of the second power supply voltage Vn. Is provided to do.

シリアルラインLには、制御回路2と他の通信ノードとの接続を遮断するための遮断スイッチ10が設けられている。即ち、遮断スイッチ10の一端側は制御回路2のシリアルポート13に接続され、遮断スイッチ10の他端側は、NFC通信部3及び各通信ノード4,5のシリアルポートに接続されている。   The serial line L is provided with a cutoff switch 10 for cutting off the connection between the control circuit 2 and another communication node. That is, one end of the cutoff switch 10 is connected to the serial port 13 of the control circuit 2, and the other end of the cutoff switch 10 is connected to the NFC communication unit 3 and the serial ports of the communication nodes 4 and 5.

そのため、遮断スイッチ10がオンされている間は、制御回路2が他の通信ノードと接続されて相互にシリアル通信が可能であるが、遮断スイッチ10がオフされている間は、制御回路2と他の通信ノードとの接続が遮断されて、制御回路2は他の通信ノードとのシリアル通信ができない。   Therefore, while the cut-off switch 10 is on, the control circuit 2 is connected to other communication nodes and can perform serial communication with each other. However, while the cut-off switch 10 is off, the control circuit 2 Since the connection with the other communication node is cut off, the control circuit 2 cannot perform serial communication with the other communication node.

遮断スイッチ10のオン・オフは、制御回路2からのスイッチ制御信号Ssによって制御される。スイッチ制御信号SsがLレベルの間は、遮断スイッチ10はオフ状態となって、シリアルラインLが遮断される。スイッチ制御信号SsがHレベルの間は、遮断スイッチ10はオン状態となり、制御回路2が他の通信ノードとシリアル通信可能となる。   On / off of the cutoff switch 10 is controlled by a switch control signal Ss from the control circuit 2. While the switch control signal Ss is at the L level, the cutoff switch 10 is turned off and the serial line L is cut off. While the switch control signal Ss is at the H level, the cutoff switch 10 is turned on, and the control circuit 2 can serially communicate with other communication nodes.

遮断スイッチ10は、本実施形態では、いわゆるノーマリーオープンタイプのスイッチである。そのため、制御回路2に第1電源電圧Vccが供給されずに制御回路2が動作を停止している間(即ちスイッチ制御信号SsがLレベルの間)はオフ状態となり、シリア
ルラインLの遮断状態が維持される。
In the present embodiment, the cutoff switch 10 is a so-called normally open type switch. For this reason, while the first power supply voltage Vcc is not supplied to the control circuit 2 and the operation of the control circuit 2 is stopped (that is, while the switch control signal Ss is at the L level), the serial line L is cut off. Is maintained.

制御回路2のメイン制御部11は、起動時に、NFC通信部3から割り込みが発行されている場合は、遮断スイッチ10のオフ状態を維持させる。そして、起動後、割り込みが解除された場合に、遮断スイッチ10をオンさせる。制御回路2のメイン制御部11は、起動時にNFC通信部3から割り込みが発行されていない場合は、遮断スイッチ10をオンさせる。起動後、遮断スイッチ10をオンさせた後は、再び割り込みが発行されたとしても遮断スイッチ10のオン状態を継続させる。   The main control unit 11 of the control circuit 2 maintains the cutoff switch 10 in the off state when an interrupt is issued from the NFC communication unit 3 at the time of activation. Then, after the activation, when the interrupt is canceled, the cutoff switch 10 is turned on. The main control unit 11 of the control circuit 2 turns on the cutoff switch 10 when no interrupt is issued from the NFC communication unit 3 at the time of activation. After the start-up, after the shut-off switch 10 is turned on, even if an interrupt is issued again, the shut-off switch 10 is kept on.

なお、制御回路2、NFC通信部3、EEPROM4、カートリッジIC5は、いずれも、パッケージ化された半導体集積回路により構成されている。
(2)スマートフォン100の概略構成
スマートフォン100は、携帯電話やメール機能などの一般的な携帯電話が備えている機能に加えて、インターネット接続機能を備え、さらに各種アプリケーションソフト(以下「アプリ」と略す)のインストールにより各種の機能を付加可能な、多機能携帯通信端末である。
The control circuit 2, the NFC communication unit 3, the EEPROM 4, and the cartridge IC 5 are all configured by a packaged semiconductor integrated circuit.
(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.

スマートフォン100が有するアプリには、複合機1内のEEPROM4やカートリッジIC5などに記憶されている各種情報をNFC通信を介して取得できるアプリ(以下「情報取得アプリ」ともいう)や、複合機1内のEEPROM4やカートリッジIC5などへNFC通信を介して情報を書き込むことができるアプリ(以下「情報書込アプリ」ともいう)などが含まれる。これら各アプリを用いることで、例えば、複合機1から所望の情報を読み取って他の複合機へ書き込んだり、逆に他の複合機から読み取った情報を複合機1へ書き込んだりすることができる。しかも、本実施形態では、複合機1の主電源がオフ(つまり第1電源電圧Vccが供給されていない)状態でも、スマートフォン100を複合機1にかざすと、スマートフォン100からの非接触給電により複合機1のNFC通信部3内で第2電源電圧Vnが生成される。そのため、複合機1の主電源がオフ状態のまま、上記各アプリを使用することができる。   The applications that the smartphone 100 has include an application (hereinafter also referred to as “information acquisition application”) that can acquire various information stored in the EEPROM 4 and the cartridge IC 5 in the multifunction device 1 through NFC communication, An application that can write information to the EEPROM 4 or the cartridge IC 5 via NFC communication (hereinafter also referred to as “information writing application”) is included. By using each of these applications, for example, desired information can be read from the multifunction device 1 and written to another multifunction device, or information read from another multifunction device can be written to the multifunction device 1. Moreover, in this embodiment, even when the main power supply of the multifunction device 1 is off (that is, when the first power supply voltage Vcc is not supplied), the smartphone 100 is combined with the contactless power feeding from the smartphone 100 when the smartphone 100 is held over the multifunction device 1. A second power supply voltage Vn is generated in the NFC communication unit 3 of the machine 1. Therefore, each application can be used while the main power supply of the multifunction device 1 is in the off state.

(3)複合機1の動作例
図2を用いて、複合機1の動作例を説明する。なお、図2では、説明の簡略化のため、複合機1が備える各構成要素のうち、動作例の説明に必要な構成要素を簡潔に図示している。
(3) Operation Example of Multifunction Device 1 An operation example of the multifunction device 1 will be described with reference to FIG. In FIG. 2, for simplification of explanation, among the constituent elements included in the multi function device 1, constituent elements necessary for explanation of the operation example are simply illustrated.

複合機1の電源コンセントが抜かれていて且つスマートフォン100がかざされていないときは(図2(a)参照)、第1電源電圧Vcc及び第2電源電圧Vnは何れも生成されず、制御回路2及びNFC通信部3はいずれも動作を停止している。図2(a)は、その状態をイメージ的に示している。電源コンセントは挿入されているもののスイッチによって主電源がオフされている場合も、第1電源電圧Vccは生成されない。   When the MFP 1 is unplugged and the smartphone 100 is not held up (see FIG. 2A), neither the first power supply voltage Vcc nor the second power supply voltage Vn is generated, and the control circuit 2 And the NFC communication part 3 has stopped operation | movement. FIG. 2A shows the state conceptually. Even when the power outlet is inserted, the first power supply voltage Vcc is not generated even when the main power supply is turned off by the switch.

なお、本実施形態の複合機1は、動作モードとして、オフモードを備えている。具体的には、起動後、特定のオフモード条件が成立した場合に、電源回路9からの第1電源電圧Vccの供給を完全に停止させることで、オフモードに移行する。ただし、オフモードでは、電源スイッチのオン・オフ検知やオフモード解除条件検知などの必要最小限の機能のみ、別途、二次電池やスーパーキャパシタなどのバックアップ電源(図示略)によって動作が継続される。そのため、オフモード中に電源スイッチがオンされたり、例えば電話や
ファクシミリの着信が発生するなどのオフモード解除条件が成立した場合は、オフモードが解除され、電源回路9が起動して通常動作に移行する。
Note that the multifunction device 1 of the present embodiment includes an off mode as an operation mode. Specifically, after the start-up, when a specific off-mode condition is satisfied, the supply of the first power supply voltage Vcc from the power supply circuit 9 is completely stopped to shift to the off-mode. However, in the off mode, only the minimum necessary functions such as on / off detection of the power switch and off mode release condition detection are continued by a backup power source (not shown) such as a secondary battery or a super capacitor. . For this reason, when the power switch is turned on during the off mode, or when an off mode release condition such as an incoming call or facsimile is established, the off mode is released and the power supply circuit 9 is activated for normal operation. Transition.

各電源Vcc、Vnが生成されずに複合機1の動作が停止している状態では、割り込みは発行されておらず(つまりステート通知信号StはLレベル)、スイッチ制御信号SsはLレベルで遮断スイッチ10はオフされている。   In a state where the operation of the multi-function device 1 is stopped without generating the power sources Vcc and Vn, no interrupt is issued (that is, the state notification signal St is L level), and the switch control signal Ss is cut off at the L level. The switch 10 is turned off.

このように複合機1の動作が停止している状態で、例えばスマートフォン100が複合機1にかざされると、図2(b)に示すように、NFC通信部3において第2電源電圧Vnが生成されることによりNFC通信部3が起動する。NFC通信部3が起動すると、NFC通信部3からEEPROM4やカートリッジIC5などの通信ノードへ第2電源電圧Vnが供給され、これによりNFC通信部3と通信ノードとのシリアル通信が可能となり、ひいてはスマートフォン100と通信ノードとの間のNFC通信部3を介した通信が可能となる。この場合のシリアル通信では、NFC通信部3は、マスターとして動作する。また、NFC通信部3は、起動時、スマートフォン100がかざされていることを検知すると、制御回路2へ割り込みを発行(ステート通知信号StをHレベル)する。   When the operation of the multifunction device 1 is stopped as described above, for example, when the smartphone 100 is held over the multifunction device 1, the second power supply voltage Vn is generated in the NFC communication unit 3 as shown in FIG. As a result, the NFC communication unit 3 is activated. When the NFC communication unit 3 is activated, the second power supply voltage Vn is supplied from the NFC communication unit 3 to a communication node such as the EEPROM 4 or the cartridge IC 5, thereby enabling serial communication between the NFC communication unit 3 and the communication node. Communication between the communication node 100 and the communication node via the NFC communication unit 3 becomes possible. In the serial communication in this case, the NFC communication unit 3 operates as a master. In addition, when the NFC communication unit 3 detects that the smartphone 100 is held over at the time of activation, the NFC communication unit 3 issues an interrupt to the control circuit 2 (the state notification signal St is at H level).

図2(b)に示す状態で、電源スイッチがオンされたりオフモード解除条件が成立したりすることで電源回路9が起動すると、図2(c)に示すように、電源回路9から第1電源電圧Vccが出力される。これにより制御回路2が起動する。制御回路2は、起動時、割り込みが発行されていることを検知すると、スイッチ制御信号SsをLレベルに維持して、遮断スイッチ10をオフ状態に維持させる。   In the state shown in FIG. 2B, when the power supply circuit 9 is activated by turning on the power switch or satisfying the off-mode release condition, as shown in FIG. A power supply voltage Vcc is output. As a result, the control circuit 2 is activated. When the control circuit 2 detects that an interrupt is issued at the time of activation, the control circuit 2 maintains the switch control signal Ss at the L level and maintains the cutoff switch 10 in the OFF state.

その後、スマートフォン100が複合機1から離されて、NFC通信およびNFC通信部3をマスターとするシリアル通信が行われなくなると、図2(d)に示すように、NFC通信部3は、割り込みを解除(ステート通知信号StをLレベル)する。この割り込み解除により、制御回路2は、スイッチ制御信号SsをHレベルにして遮断スイッチ10をオンさせる。   After that, when the smartphone 100 is separated from the multifunction device 1 and serial communication with the NFC communication and the NFC communication unit 3 as a master is not performed, the NFC communication unit 3 interrupts as shown in FIG. Release (state notification signal St at L level). By releasing this interrupt, the control circuit 2 sets the switch control signal Ss to H level to turn on the cutoff switch 10.

NFC通信部3は、割り込みを解除すると、シリアル通信においてスレーブとしての動作を開始する。これにより、制御回路2、NFC通信部3、及びEEPROM4は、互いにシリアル通信が可能となる。電源回路9の起動後にスマートフォン100が複合機1から離されて第2電源電圧Vnが生成されなくなっても、複合機1内の各部は、第1電源電圧Vccにより引き続き通常動作可能である。   When canceling the interrupt, the NFC communication unit 3 starts an operation as a slave in serial communication. Thereby, the control circuit 2, the NFC communication unit 3, and the EEPROM 4 can serially communicate with each other. Even if the smartphone 100 is separated from the multi-function device 1 after the power supply circuit 9 is activated and the second power supply voltage Vn is not generated, each unit in the multi-function device 1 can continue to operate normally by the first power supply voltage Vcc.

(4)複合機1で実行される各種制御処理
複合機1において、制御回路2のメイン制御部11が実行するメイン制御処理、及びNFC通信部3の通信制御部21が実行するNFC制御処理について、図3及び図4を用いて説明する。
(4) Various control processes executed by the multifunction device 1 In the multifunction device 1, the main control processing executed by the main control unit 11 of the control circuit 2 and the NFC control processing executed by the communication control unit 21 of the NFC communication unit 3 This will be described with reference to FIGS.

(4−1)メイン制御処理
制御回路2のメイン制御部11が実行するメイン制御処理について、図3を用いて説明する。メイン制御部11では、第1電源電圧Vccにより起動すると、CPUがメモリから図3のメイン制御処理のプログラムを読み込んで実行する。
(4-1) Main Control Processing Main control processing executed by the main control unit 11 of the control circuit 2 will be described with reference to FIG. When the main control unit 11 is activated by the first power supply voltage Vcc, the CPU reads the program of the main control process of FIG. 3 from the memory and executes it.

メイン制御部11のCPUは、図3のメイン制御処理を開始すると、S110で、NFC通信部3から割り込みが入力されているか否か、即ちステート通知信号StがHレベルになっているか否か判断する。   When the CPU of the main control unit 11 starts the main control process of FIG. 3, in S110, it is determined whether an interrupt is input from the NFC communication unit 3, that is, whether the state notification signal St is at the H level. To do.

S110で、割り込みが入力されている場合は(S110:YES)、S120で、ス
イッチ制御信号SsのLレベル状態を維持させることで、遮断スイッチ10のオフ状態を維持させる。S120の処理後はS110に戻る。つまり、遮断スイッチ10は、メイン制御部11の起動時に割り込みが入力されていた場合は、その割り込みが解除されるまではオフ状態が維持される。S110で、割り込みが入力されていない場合は(S110:NO)、S130で、スイッチ制御信号SsをHレベルにすることにより遮断スイッチ10をオンさせ、S140に進む。
If an interrupt is input in S110 (S110: YES), the OFF state of the cutoff switch 10 is maintained by maintaining the L level state of the switch control signal Ss in S120. After the process of S120, the process returns to S110. That is, when an interrupt is input when the main control unit 11 is activated, the cutoff switch 10 is maintained in an off state until the interrupt is canceled. If no interrupt is input in S110 (S110: NO), the switch 10 is turned on by setting the switch control signal Ss to H level in S130, and the process proceeds to S140.

S140では、NFC通信部3から割り込みが入力されているか否か判断する。割り込みが入力されていない場合は(S140:NO)、S170で、他の処理(他の各種機能に関する処理。詳細は省略。)を実行して、S140に戻る。S140で、割り込みが入力されている場合は(S140:YES)、S150で、割り込みに対するNFC通信部3への返信をシリアル通信にて行う。S160では、NFC通信部3とのデータ通信(シリアル通信)を実行して、S140に戻る。   In S140, it is determined whether or not an interrupt is input from the NFC communication unit 3. If no interrupt has been input (S140: NO), in S170, other processing (processing related to other various functions; details are omitted) is executed, and the processing returns to S140. If an interrupt is input in S140 (S140: YES), a reply to the NFC communication unit 3 in response to the interrupt is performed by serial communication in S150. In S160, data communication (serial communication) with the NFC communication unit 3 is executed, and the process returns to S140.

(4−2)NFC制御処理
NFC通信部3の通信制御部21が実行するNFC制御処理について、図4を用いて説明する。通信制御部21では、第1電源電圧Vcc又は第2電源電圧Vnにより起動すると、CPUがメモリから図4のNFC制御処理のプログラムを読み込んで実行する。
(4-2) NFC Control Processing The NFC control processing executed by the communication control unit 21 of the NFC communication unit 3 will be described with reference to FIG. When the communication control unit 21 is activated by the first power supply voltage Vcc or the second power supply voltage Vn, the CPU reads the program of the NFC control process of FIG. 4 from the memory and executes it.

通信制御部21のCPUは、図4のNFC制御処理を開始すると、S210で、シリアル通信における動作モードをスレーブに設定する。S220では、スマートフォンが近接されたか否か判断し、近接されたら(S220:YES)、S230で、制御回路2へ割り込みを発行する。つまり、ステート通知信号StをHレベルにする。   When starting the NFC control process of FIG. 4, the CPU of the communication control unit 21 sets the operation mode in serial communication to slave in S210. In S220, it is determined whether or not the smartphone is approached. If the smartphone is approached (S220: YES), an interrupt is issued to the control circuit 2 in S230. That is, the state notification signal St is set to the H level.

S240では、割り込み発行に対して制御回路2から返信があったか否か判断する。制御回路2から返信があった場合は(S240:YES)、S250で、スマートフォンとのNFC通信を開始したか否か判断する。スマートフォンとのNFC通信が開始されていない場合は(S250:NO)、S270に進む。スマートフォンとのNFC通信が開始された場合は(S250:YES)、S260で、第1通信処理を実行する。第1通信処理は、スマートフォンとのNFC通信処理、及びそのNFC通信に伴って生じる制御回路2とのシリアル通信処理を含む。 S270では、スマートフォンが複合機1から離されたか否か判断する。この判断は、例えば、第2電源電圧Vnが生成可能であるか否か、あるいはNFC通信が可能な状態であるか否か、などに基づいて行うことができる。スマートフォンが離されていない場合(即ちまだかざされている場合)は、S250に戻る。スマートフォンが離された場合は(S270:YES)、S280で、制御回路2への割り込みを解除する。つまり、ステート通知信号StをLレベルにする。S280の処理の後は、S220に戻る。   In S240, it is determined whether or not there is a reply from the control circuit 2 for the interrupt issue. If there is a reply from the control circuit 2 (S240: YES), in S250, it is determined whether NFC communication with the smartphone has started. If NFC communication with the smartphone has not been started (S250: NO), the process proceeds to S270. When NFC communication with the smartphone is started (S250: YES), the first communication process is executed in S260. The first communication process includes an NFC communication process with the smartphone and a serial communication process with the control circuit 2 that occurs along with the NFC communication. In S <b> 270, it is determined whether the smartphone has been released from the multifunction device 1. This determination can be made based on, for example, whether or not the second power supply voltage Vn can be generated or whether or not NFC communication is possible. If the smartphone is not released (that is, if it is still held over), the process returns to S250. When the smartphone is released (S270: YES), the interrupt to the control circuit 2 is canceled in S280. That is, the state notification signal St is set to L level. After the process of S280, the process returns to S220.

S240で、割り込み発行に対する制御回路2からの返信がない場合は(S240:NO)、S290で、シリアル通信における動作モードをマスターに設定する。S300では、スマートフォンとのNFC通信を開始したか否か判断する。スマートフォンとのNFC通信が開始されていない場合は(S300:NO)、S340に進む。スマートフォンとのNFC通信が開始された場合は(S300:YES)、S310で、給電回路24を制御することにより給電回路24で生成されている第2電源電圧Vnを給電ポート27から出力させる。つまり、第2電源電圧VnをNFC通信部3の外部に供給する。スマートフォンとのNFC通信が開始されたということは、EEPROM4やカートリッジIC5などの通信ノードとのシリアル通信が必要となる可能性があるため、第2電源電圧Vnの外部供給を開始するのである。   If there is no response from the control circuit 2 for interrupt issuance in S240 (S240: NO), the operation mode in serial communication is set to master in S290. In S300, it is determined whether or not NFC communication with the smartphone is started. If NFC communication with the smartphone has not been started (S300: NO), the process proceeds to S340. When the NFC communication with the smartphone is started (S300: YES), the power supply circuit 24 is controlled to output the second power supply voltage Vn generated by the power supply circuit 24 from the power supply port 27 in S310. That is, the second power supply voltage Vn is supplied to the outside of the NFC communication unit 3. The fact that the NFC communication with the smartphone is started means that serial communication with a communication node such as the EEPROM 4 or the cartridge IC 5 may be necessary, and therefore the external supply of the second power supply voltage Vn is started.

S320では、第2通信処理を実行する。第2通信処理は、スマートフォンとのNFC
通信処理、及びそのNFC通信に伴って生じる、EEPROM4やカートリッジIC5などの通信ノードとのシリアル通信処理を含む。S330では、第2電源電圧Vnの外部供給を終了する。
In S320, the second communication process is executed. The second communication process is NFC with the smartphone
This includes communication processing and serial communication processing with a communication node such as the EEPROM 4 or the cartridge IC 5 that occurs in association with the NFC communication. In S330, the external supply of the second power supply voltage Vn is terminated.

S340では、S270と同様、スマートフォンが複合機1から離されたか否か判断する。スマートフォンが離されていない場合は、S300に戻る。スマートフォンが離された場合は(S340:YES)、S350に進む。S350では、制御回路2への割り込みを解除する。S350の処理の後は、S210に戻る。   In S340, as in S270, it is determined whether or not the smartphone is released from the multifunction device 1. If the smartphone is not released, the process returns to S300. When the smartphone is released (S340: YES), the process proceeds to S350. In S350, the interrupt to the control circuit 2 is canceled. After the process of S350, the process returns to S210.

(5)実施形態の効果
以上説明した本実施形態の複合機1によれば、主電源がオフされたりオフモードであったりすること等により電源回路9が動作を停止していて第1電源電圧Vccが生成されていない状態(以下「本体電源オフ状態」ともいう)であっても、スマートフォン100とNFC通信が可能である。また、本体電源オフ状態であっても、外部の通信機器がかざされて電力が受電されると、第2電源電圧Vnが通信ノードに供給される。そのため、NFC通信部3は、本体電源オフ状態であっても、外部通信機器とのNFC通信及び他の通信ノードとのシリアル通信が可能である。
(5) Effects of the Embodiment According to the multifunction device 1 of the present embodiment described above, the power supply circuit 9 stops operating due to the main power being turned off or in the off mode, etc. Even in a state where Vcc is not generated (hereinafter also referred to as “main body power-off state”), NFC communication with the smartphone 100 is possible. Even when the main body power is off, the second power supply voltage Vn is supplied to the communication node when power is received by holding an external communication device. Therefore, the NFC communication unit 3 can perform NFC communication with an external communication device and serial communication with another communication node even when the main body is turned off.

このような構成により、例えば、複合機1から電源コンセントが抜かれていたり、複合機1がオフモードになっていたり、複合機1が故障して制御回路2が動作できなくなっていたりしても、スマートフォン100をかざすことで、EEPROM4やカートリッジIC5などの通信ノードとの間で情報の読み書きを行うことができる。   With such a configuration, for example, when the power outlet is disconnected from the multifunction device 1, the multifunction device 1 is in the off mode, or the multifunction device 1 breaks down and the control circuit 2 cannot operate. By holding the smartphone 100, information can be read from and written to a communication node such as the EEPROM 4 or the cartridge IC 5.

しかも、スマートフォン100とのNFC通信中に電源回路9が起動して第1電源電圧Vccが供給され、制御回路2のメイン制御部11が起動した場合は、遮断スイッチ10のオフ状態が維持され、制御回路2から他のシリアル通信対象へのシリアルラインLを通じたアクセスは遮断される。   In addition, when the power supply circuit 9 is activated during the NFC communication with the smartphone 100 and the first power supply voltage Vcc is supplied and the main control unit 11 of the control circuit 2 is activated, the cutoff switch 10 is maintained in the off state, Access from the control circuit 2 to another serial communication target through the serial line L is blocked.

仮に、遮断スイッチ10がないとすると、制御回路2が動作停止中も、NFC通信部3と他の通信ノードとのシリアル通信のデータが制御回路2のシリアルポート13に入力される(即ち、シリアルラインLの電気的変化が入力される)。動作停止中であるにもかかわらずシリアルポート13の電位が変化すると、制御回路2の内部回路に悪影響を及ぼすおそれがある。また、NFC通信部3が他の通信ノードとシリアル通信実行中に制御回路2が起動した場合、マスターが複数存在することになり、マスター同士のデータの衝突が生じてしまう。   If the cutoff switch 10 is not provided, serial communication data between the NFC communication unit 3 and another communication node is input to the serial port 13 of the control circuit 2 even when the operation of the control circuit 2 is stopped (that is, serial communication). The electrical change of line L is input). If the potential of the serial port 13 changes despite the operation being stopped, the internal circuit of the control circuit 2 may be adversely affected. Further, when the control circuit 2 is activated while the NFC communication unit 3 is executing serial communication with another communication node, a plurality of masters exist, and data collision between the masters occurs.

これに対し、本実施形態の複合機1は、シリアルラインL上に遮断スイッチ10を備え、制御回路2がこの遮断スイッチ10のオン・オフを適切に制御する。しかも本実施形態の遮断スイッチ10は、ノーマリーオープンタイプのスイッチである。そのため、上記問題の発生を抑制することができる。   On the other hand, the multi function device 1 according to the present embodiment includes the cutoff switch 10 on the serial line L, and the control circuit 2 appropriately controls on / off of the cutoff switch 10. Moreover, the cutoff switch 10 of the present embodiment is a normally open type switch. Therefore, occurrence of the above problem can be suppressed.

したがって、本実施形態の複合機1によれば、電源回路9が動作停止中であっても、スマートフォン100からの給電量を抑えつつ、外部の通信機器から複合機1へNFC通信により良好にアクセス(特にEEPROM4やカートリッジIC5等の通信ノードへアクセス)できる。そして、NFC通信実行中に電源回路9が起動されても、少なくともその実行中は遮断スイッチ10がオフに維持されるため、NFC通信部3は実行中のNFC通信を引き続き良好に実行することができる。   Therefore, according to the multifunction device 1 of the present embodiment, even when the operation of the power supply circuit 9 is stopped, the external communication device can access the multifunction device 1 satisfactorily by NFC communication while suppressing the amount of power supplied from the smartphone 100. (In particular, it is possible to access communication nodes such as the EEPROM 4 and the cartridge IC 5). Even if the power supply circuit 9 is activated during NFC communication execution, the cutoff switch 10 is kept off at least during the execution. Therefore, the NFC communication unit 3 can continue to execute the NFC communication being executed satisfactorily. it can.

制御回路2の起動時に遮断スイッチ10のオフ状態が維持されても、スマートフォン100が複合機1から離されたら、遮断スイッチ10はオンされ、NFC通信部3はスレー
ブに切り替わる。そのため、遮断スイッチ10のオフ状態を維持する必要がなくなり次第、制御回路2は、迅速に他の通信ノードとのシリアル通信を開始することができる。
Even if the off state of the cutoff switch 10 is maintained when the control circuit 2 is activated, when the smartphone 100 is separated from the multifunction device 1, the cutoff switch 10 is turned on and the NFC communication unit 3 is switched to a slave. Therefore, as soon as it becomes unnecessary to maintain the cutoff switch 10 in the OFF state, the control circuit 2 can quickly start serial communication with another communication node.

また、NFC通信部3は、複合機1にスマートフォン100がかざされている間は、制御回路2に対して割り込みを発生させ続けるようにしている。これにより、制御回路2は、自身の起動時に、NFC通信部3がNFC通信を実行中あるいは実行する可能性がある状態であるかどうかを容易且つ適切に判断することができる。そして、その判断結果に基づいて遮断スイッチ10を適切に制御することができる。   Further, the NFC communication unit 3 continues to generate an interrupt to the control circuit 2 while the smartphone 100 is held over the multifunction device 1. Thereby, the control circuit 2 can easily and appropriately determine whether or not the NFC communication unit 3 is executing or is likely to execute the NFC communication when the control circuit 2 starts up. Then, the cutoff switch 10 can be appropriately controlled based on the determination result.

なお、本実施形態において、電源回路9は本発明の第1電源部の一例に相当し、給電回路24は本発明の第2電源部の一例に相当し、メイン制御部11は本発明の主制御部及びスイッチ制御部の一例に相当し、EEPROM4及びカートリッジIC5は本発明の通信ノードの一例に相当し、遮断スイッチ10は本発明のスイッチ部の一例に相当し、Hレベルのステート通知信号St(つまり割り込み発行)は本発明の通信中情報の一例に相当する。   In the present embodiment, the power supply circuit 9 corresponds to an example of the first power supply unit of the present invention, the power supply circuit 24 corresponds to an example of the second power supply unit of the present invention, and the main control unit 11 corresponds to the main power supply unit of the present invention. The EEPROM 4 and the cartridge IC 5 correspond to an example of a communication node according to the present invention, the cutoff switch 10 corresponds to an example of a switch unit according to the present invention, and an H level state notification signal St. (In other words, interrupt issuance) corresponds to an example of communication information in the present invention.

[他の実施形態]
(1)NFC通信部3の通信制御部21が実行するNFC制御処理としては、図4に示した処理内容以外にも種々の処理内容が考えられ、例えば図5に示すような処理内容を採用することもできる。図5のNFC制御処理について説明する。
[Other Embodiments]
(1) As the NFC control process executed by the communication control unit 21 of the NFC communication unit 3, various process contents other than the process contents shown in FIG. 4 can be considered. For example, the process contents shown in FIG. 5 are adopted. You can also The NFC control process in FIG. 5 will be described.

通信制御部21のCPUは、図5のNFC制御処理を開始すると、S410で、電源回路9から第1電源電圧Vccが供給されているか否か判断する。第1電源電圧Vccが供給されている場合は(S410:YES)、S420で、シリアル通信における動作モードをスレーブに設定する。S430では、スマートフォンが近接されたか否か判断し、近接されたら(S430:YES)、S440で、スマートフォンとのNFC通信を開始したか否か判断する。スマートフォンとのNFC通信が開始されていない場合は(S440:NO)、S460に進む。スマートフォンとのNFC通信が開始された場合は(S440:YES)、S450で、第1通信処理を実行する。   When starting the NFC control process of FIG. 5, the CPU of the communication control unit 21 determines whether or not the first power supply voltage Vcc is supplied from the power supply circuit 9 in S410. If the first power supply voltage Vcc is supplied (S410: YES), the operation mode in serial communication is set to slave in S420. In S430, it is determined whether or not the smartphone is approached. If the smartphone is approached (S430: YES), it is determined in S440 whether or not NFC communication with the smartphone is started. If NFC communication with the smartphone has not been started (S440: NO), the process proceeds to S460. When NFC communication with the smartphone is started (S440: YES), the first communication process is executed in S450.

S460では、スマートフォンが複合機1から離されたか否か判断する。スマートフォンが離されていない場合は、S440に戻る。スマートフォンが離された場合は(S460:YES)、S430に戻る。   In S460, it is determined whether the smartphone has been released from the multifunction device 1. If the smartphone is not released, the process returns to S440. When the smartphone is released (S460: YES), the process returns to S430.

S410で、第1電源電圧Vccが供給されていない場合(S410:NO)、即ち第2電源電圧Vnにより通信制御部21が起動された場合は、S470で、シリアル通信における動作モードをマスターに設定する。S480では、制御回路2へ割り込みを発行する。S490では、給電回路24で生成されている第2電源電圧Vnを給電ポート27から出力させる。   If the first power supply voltage Vcc is not supplied in S410 (S410: NO), that is, if the communication control unit 21 is activated by the second power supply voltage Vn, the operation mode in serial communication is set to the master in S470. To do. In S480, an interrupt is issued to the control circuit 2. In S490, the second power supply voltage Vn generated by the power supply circuit 24 is output from the power supply port 27.

S500では、スマートフォンとのNFC通信を開始したか否か判断する。スマートフォンとのNFC通信が開始されていない場合は(S500:NO)、S520に進む。スマートフォンとのNFC通信が開始された場合は(S500:YES)、S510で、第2通信処理を実行する。   In S500, it is determined whether NFC communication with the smartphone is started. If NFC communication with the smartphone has not been started (S500: NO), the process proceeds to S520. When the NFC communication with the smartphone is started (S500: YES), the second communication process is executed in S510.

S520では、スマートフォンが複合機1から離されたか否か判断する。スマートフォンが離されていない場合は、S500に戻る。スマートフォンが離された場合は(S520:YES)、S530に進む。   In S520, it is determined whether the smartphone has been released from the multifunction device 1. If the smartphone is not released, the process returns to S500. When the smartphone is released (S520: YES), the process proceeds to S530.

S530では、第2電源電圧Vnの外部供給を終了する。S540では、制御回路2へ
の割り込みを解除する。S540の処理の後は、S410に戻る。
図5のNFC制御処理によっても、図4のNFC制御処理と同等の作用効果を得ることができる。
In S530, the external supply of the second power supply voltage Vn is terminated. In S540, the interrupt to the control circuit 2 is canceled. After S540, the process returns to S410.
Also by the NFC control process of FIG. 5, the same effect as the NFC control process of FIG. 4 can be obtained.

(2)スマートフォン100がかざされているか否かを制御回路2に通知する方法としてステート通知信号Stを用いることや、遮断スイッチ10の制御方法として制御回路2からのスイッチ制御信号Ssを用いることは、あくまでも一例である。これら各信号St、Ssを用いる方法以外の他の方法で、同等の機能を実現するようにしてもよい。   (2) Using the state notification signal St as a method of notifying the control circuit 2 whether or not the smartphone 100 is held over, or using the switch control signal Ss from the control circuit 2 as a control method of the cutoff switch 10 This is just an example. You may make it implement | achieve an equivalent function by methods other than the method of using each of these signals St and Ss.

(3)遮断スイッチ10の制御を、制御回路2からではなく、NFC通信部3から行うようにしてもよい。例えば、NFC通信部3は、第2電源電圧Vnの供給により動作していてNFC通信やシリアル通信を実行中、遮断スイッチ10へスイッチ制御信号を出力してオフ状態に制御するようにしてもよい。   (3) The cutoff switch 10 may be controlled not from the control circuit 2 but from the NFC communication unit 3. For example, the NFC communication unit 3 may be operated by supplying the second power supply voltage Vn, and while performing NFC communication or serial communication, may output a switch control signal to the cutoff switch 10 to control it in the off state. .

(4)NFC通信部3から制御回路2への割り込みの発行は、実際にスマートフォン100とのNFC通信が開始されてから終了するまでの期間に行うようにしてもよい。或いは、スマートフォン100とのNFC通信の開始後、EEPROM4やカートリッジIC5などの通信ノードとのシリアル通信が必要と判断した場合に、その判断時から少なくともそのシリアル通信が不要となるまでの期間に行うようにしてもよい。少なくとも、NFC通信部3と通信ノードとのシリアル通信が実行されている間には割り込みを発行するようにしてもよい。そして、そのシリアル通信の終了後は割り込みを解除するようにしてもよい。   (4) The issuance of an interrupt from the NFC communication unit 3 to the control circuit 2 may be performed during a period from when the NFC communication with the smartphone 100 is actually started until it is ended. Alternatively, when it is determined that serial communication with a communication node such as the EEPROM 4 or the cartridge IC 5 is necessary after the start of NFC communication with the smartphone 100, it is performed at least during the period from the determination until the serial communication is no longer necessary. It may be. An interrupt may be issued at least during serial communication between the NFC communication unit 3 and the communication node. Then, the interrupt may be canceled after the end of the serial communication.

(5)給電回路24の第2電源電圧Vnを外部に供給する期間や、NFC通信部3をマスターに設定するタイミング(及びスレーブに戻すタイミング)についても、上述した、割り込みを発行する期間と同様、NFC通信の実行状況やシリアル通信の必要性、実行状況等に応じて適宜決めることができる。   (5) The period for supplying the second power supply voltage Vn of the power supply circuit 24 to the outside and the timing for setting the NFC communication unit 3 to the master (and the timing for returning to the slave) are the same as the period for issuing the interrupt described above. The NFC communication execution status, the necessity for serial communication, the execution status, and the like can be determined as appropriate.

第2電源電圧Vnは、給電回路24で生成されている期間中は常に外部へ供給するようにしてもよい。電源回路9から第1電源電圧Vccが供給されている場合に第2電源電圧Vnを生成したり外部出力したりするか否かについては、適宜決めることができる。   The second power supply voltage Vn may be always supplied to the outside during the period in which the power supply circuit 24 is generating. Whether the second power supply voltage Vn is generated or externally output when the first power supply voltage Vcc is supplied from the power supply circuit 9 can be determined as appropriate.

図4に示したNFC制御処理において、S240で否定判定された場合に、マスター及びスレーブの切り替えや、第2電源電圧Vnの外部供給の実行及び停止などを、どのタイミングで行うかについては、適宜決めることができる。   In the NFC control process shown in FIG. 4, when a negative determination is made in S240, the timing at which the master and slave are switched and the execution and stop of the external supply of the second power supply voltage Vn are performed as appropriate. I can decide.

(6)NFC通信部3以外の、スレーブとして動作する通信ノードとして、EEPROM4及びカートリッジIC5を示したが、これらはあくまでも一例であり、通信ノードの種類や数は特に限定されるものではない。また、これら通信ノードの全てに第2電源電圧Vnを供給できるようにする必要は必ずしもない。例えば、本体電源オフ状態のときでもシリアル通信を行う必要性がある通信ノードに対しては第2電源電圧Vnの供給を可能とし、本体電源オフ状態のときにシリアル通信を行う必要性がない通信ノードに対しては第2電源電圧Vnを供給しないようにしてもよい。   (6) Although the EEPROM 4 and the cartridge IC 5 are shown as communication nodes that operate as slaves other than the NFC communication unit 3, these are merely examples, and the type and number of communication nodes are not particularly limited. Further, it is not always necessary to be able to supply the second power supply voltage Vn to all of these communication nodes. For example, the second power supply voltage Vn can be supplied to a communication node that needs to perform serial communication even when the main body power is off, and there is no need to perform serial communication when the main body power is off. The second power supply voltage Vn may not be supplied to the node.

(7)通信ノード間のデータ通信方式として、上記実施形態では、マスタースレーブ方式のシリアル通信を例示したが、本発明の適用は、マスタースレーブ方式に限定されるものではなく、また、シリアル通信に限定されるものでもない。   (7) 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.

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

(9)その他、本発明は、上記の実施形態に示された具体的手段や構造等に限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の形態を採り得る。例えば、上記の実施形態の構成の一部を、同様の機能を有する公知の構成に置き換えたり、他の実施形態の構成に対して付加、置換等したり、課題を解決できる限りにおいて省略したりしてもよい。また、上記の複数の実施形態を適宜組み合わせて構成してもよい。   (9) 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通信部、3a…ループアンテナ、4…EEPROM、5…カートリッジIC、6…無線LAN通信部、7…プリンタ部、8…通信回線接続部、9…電源回路、10…遮断スイッチ、11…メイン制御部、12,23…シリアル通信I/F、13,25,31,41…シリアルポート、14,26…主電源入力ポート、15…割込ポート、16…スイッチ制御ポート、21…通信制御部、22…NFCI/F、24…給電回路、27…給電ポート、28…ステート通知ポート、32,42…電源入力ポート、100…スマートフォン、D1…第1ダイオード、D2…第2ダイオード、L…シリアルライン。   DESCRIPTION OF SYMBOLS 1 ... MFP, 2 ... Control circuit, 3 ... NFC communication part, 3a ... Loop antenna, 4 ... EEPROM, 5 ... Cartridge IC, 6 ... Wireless LAN communication part, 7 ... Printer part, 8 ... Communication line connection part, 9 ... Power circuit, 10 ... Cut-off switch, 11 ... Main control unit, 12, 23 ... Serial communication I / F, 13, 25, 31, 41 ... Serial port, 14, 26 ... Main power input port, 15 ... Interrupt port , 16 ... switch control port, 21 ... communication control unit, 22 ... NFC I / F, 24 ... power supply circuit, 27 ... power supply port, 28 ... state notification port, 32, 42 ... power input port, 100 ... smartphone, D1 ... first 1 diode, D2 ... second diode, L ... serial line.

Claims (6)

通信装置であって、
当該通信装置を動作させるための第1電源電圧を生成する第1電源部と、
外部装置と非接触通信を行うためのアンテナと、
前記アンテナにより前記外部装置から受電された電力を元に第2電源電圧を生成する第2電源部と、
前記第2電源電圧又は前記第1電源電圧の供給を受けて動作し、前記アンテナを介した外部装置との非接触通信を制御し、且つ特定のデータ通信方式にて他のデータ通信対象とデータ通信が可能に構成された通信制御部と、
前記第1電源電圧の供給を受けて動作し、当該通信装置が備える機能の実行を制御し、且つ前記特定のデータ通信方式にて他のデータ通信対象とデータ通信が可能に構成された主制御部と、
前記第1電源電圧又は前記第2電源電圧により動作可能であって、前記特定のデータ通信方式にて他のデータ通信対象とデータ通信が可能に構成された通信ノードと、
前記通信制御部、前記主制御部、及び前記通信ノードが相互に前記特定のデータ通信方式にてデータ通信可能となるようにこれらを相互に接続する通信ラインと、
前記通信ラインに設けられ、前記主制御部と他のデータ通信対象との間のデータ通信を遮断するためのスイッチ部と、
前記第1電源電圧の供給を受けて動作し、前記スイッチ部を制御するスイッチ制御部と、
を備え、
前記第2電源部は、前記アンテナにより前記外部装置から電力が受電された場合、前記第2電源電圧を前記通信制御部及び前記通信ノードへ供給可能に構成されており、
前記スイッチ制御部は、前記主制御部の起動時に前記通信制御部と前記通信ノードとの間でデータ通信が実行されている場合、前記スイッチ部により前記通信ラインを遮断させる
ことを特徴とする通信装置。
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;
Operates in response to the supply of the second power supply voltage or the first power supply voltage, controls non-contact communication with an external device via the antenna, and performs data communication with other data communication targets in a specific data communication method. A communication control unit configured to enable communication;
A main control configured to operate in response to the supply of the first power supply voltage, to control execution of a function included in the communication device, and to perform data communication with another data communication target using the specific data communication method. And
A communication node that is operable by the first power supply voltage or the second power supply voltage and configured to allow data communication with another data communication target in the specific data communication method;
A communication line that connects the communication control unit, the main control unit, and the communication node to each other so that data communication is possible with the specific data communication method;
A switch unit provided in the communication line, for blocking data communication between the main control unit and another data communication target;
A switch control unit that operates in response to the supply of the first power supply voltage and controls the switch unit;
With
The second power supply unit is configured to be able to supply the second power supply voltage to the communication control unit and the communication node when power is received from the external device by the antenna.
The switch control unit causes the switch unit to block the communication line when data communication is being performed between the communication control unit and the communication node when the main control unit is activated. apparatus.
請求項1に記載の通信装置であって、
前記スイッチ制御部は、前記主制御部の起動時に前記通信制御部と前記通信ノードとの間でデータ通信が実行されていたことにより前記スイッチ部により前記通信ラインを遮断させた場合、前記通信制御部と前記通信ノードとのデータ通信が終了した後に、前記スイッチ部による前記通信ラインの遮断状態を解除させる
ことを特徴とする通信装置。
The communication device according to claim 1,
The switch control unit is configured to control the communication control when the switch unit cuts off the communication line due to data communication being performed between the communication control unit and the communication node when the main control unit is activated. After the data communication between the communication unit and the communication node ends, the communication line is disconnected from the communication unit by the switch unit.
請求項1又は請求項2に記載の通信装置であって、
前記スイッチ部は、前記主制御部が前記第1電源電圧の供給を受けずに動作を停止している間は前記通信ラインを遮断した状態に維持されるよう構成されている
ことを特徴とする通信装置。
The communication device according to claim 1 or 2,
The switch unit is configured to be maintained in a state in which the communication line is cut off while the main control unit stops operating without receiving the supply of the first power supply voltage. Communication device.
請求項1〜請求項3の何れか1項に記載の通信装置であって、
前記通信制御部は、前記通信ノードと前記特定のデータ通信方式によるデータ通信を実行している間、データ通信を実行中であることを示す通信中情報を出力し、
前記スイッチ制御部は、前記主制御部の起動時に前記通信制御部から前記通信中情報が出力されている場合に、前記スイッチ部により前記通信ラインを遮断させる
ことを特徴とする通信装置。
The communication device according to any one of claims 1 to 3,
The communication control unit outputs in-communication information indicating that data communication is being performed while performing data communication with the communication node and the specific data communication method,
The switch control unit cuts off the communication line by the switch unit when the communication information is output from the communication control unit when the main control unit is activated.
請求項1〜請求項4の何れか1項に記載の通信装置であって、
前記特定のデータ通信方式は、マスタースレーブ方式のデータ通信方式であり、
前記通信制御部は、前記第1電源電圧の供給を受けて動作している場合にデータ通信を開始する際は、前記特定のデータ通信方式においてスレーブとして動作し、前記第1電源電圧が供給されずに前記第2電源電圧の供給を受けて動作している場合にデータ通信を開始する際は、前記特定のデータ通信方式においてマスターとして動作する
ことを特徴とする通信装置。
The communication device according to any one of claims 1 to 4,
The specific data communication method is a master-slave data communication method,
The communication control unit operates as a slave in the specific data communication method when the data communication is started when operating by receiving the supply of the first power supply voltage, and the first power supply voltage is supplied. When the data communication is started when operating with the supply of the second power supply voltage, the communication apparatus operates as a master in the specific data communication method.
請求項1〜請求項5の何れか1項に記載の通信装置であって、
前記通信ノードは、データを記憶可能な記憶部を備え、
前記記憶部には、前記主制御部が当該通信装置が備える機能の実行を制御するために必要なデータ、及び前記主制御部が当該通信装置が備える機能の実行を制御することにより生じたデータ、のうち少なくとも一方が記憶されており、
前記第1電源部が前記第1電源電圧を生成していないときに前記第2電源部から前記第2電源電圧が前記通信制御部及び前記通信ノードに供給された場合、前記通信制御部は、前記外部装置との前記非接触通信の内容に基づいて、前記通信ノードとデータ通信を行うことにより前記記憶部に記憶されているデータの読み出し及び前記記憶部へのデータの書き込みのうち少なくとも一方を実行可能である
ことを特徴とする通信装置。
The communication device according to any one of claims 1 to 5,
The communication node includes a storage unit capable of storing data,
The storage unit includes data necessary for the main control unit to control the execution of the function included in the communication device, and data generated by the main control unit controlling the execution of the function included in the communication device. , At least one of them is remembered,
When the second power supply voltage is supplied from the second power supply unit to the communication control unit and the communication node when the first power supply unit does not generate the first power supply voltage, the communication control unit Based on the content of the non-contact communication with the external device, at least one of reading data stored in the storage unit and writing data to the storage unit by performing data communication with the communication node A communication device characterized by being executable.
JP2013271980A 2013-12-27 2013-12-27 Communication device Active JP6260270B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013271980A JP6260270B2 (en) 2013-12-27 2013-12-27 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013271980A JP6260270B2 (en) 2013-12-27 2013-12-27 Communication device

Publications (2)

Publication Number Publication Date
JP2015126512A true JP2015126512A (en) 2015-07-06
JP6260270B2 JP6260270B2 (en) 2018-01-17

Family

ID=53536886

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013271980A Active JP6260270B2 (en) 2013-12-27 2013-12-27 Communication device

Country Status (1)

Country Link
JP (1) JP6260270B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006093913A (en) * 2004-09-22 2006-04-06 Casio Hitachi Mobile Communications Co Ltd Mobile communication apparatus with contactless ic card function and program
JP2011060121A (en) * 2009-09-11 2011-03-24 Jr East Mechatronics Co Ltd Non-contact ic card and non-contact communication device
JP2012100307A (en) * 2010-07-07 2012-05-24 Panasonic Corp Communication device
JP2013182401A (en) * 2012-03-01 2013-09-12 Nec Computertechno Ltd Information processor and information output method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006093913A (en) * 2004-09-22 2006-04-06 Casio Hitachi Mobile Communications Co Ltd Mobile communication apparatus with contactless ic card function and program
JP2011060121A (en) * 2009-09-11 2011-03-24 Jr East Mechatronics Co Ltd Non-contact ic card and non-contact communication device
JP2012100307A (en) * 2010-07-07 2012-05-24 Panasonic Corp Communication device
JP2013182401A (en) * 2012-03-01 2013-09-12 Nec Computertechno Ltd Information processor and information output method

Also Published As

Publication number Publication date
JP6260270B2 (en) 2018-01-17

Similar Documents

Publication Publication Date Title
JP6241279B2 (en) Communication device
US20160234784A1 (en) Communication apparatus, control method for communication apparatus, communication system, and program
US20160344886A1 (en) Image forming apparatus that performs user authentication by wireless communication, method of controlling the same, and storage medium
US9681383B2 (en) Information processing apparatus, method for controlling information processing apparatus, and storage medium
US20130235406A1 (en) Image forming apparatus, method for controlling the same, and storage medium
JP6291840B2 (en) Communication device
KR20160011603A (en) Information processing apparatus, control method for information processing apparatus, and storage medium
JP6248657B2 (en) Communication device
JP2012244606A (en) Image formation device
JP6260270B2 (en) Communication device
JP6307878B2 (en) Communication device
CN107526426B (en) Information processing apparatus, control method thereof, and storage medium
US9018920B2 (en) Information processing apparatus, and control method and storage medium therefor
US20130159736A1 (en) Electronic apparatus with low power consumption, and control method and storage medium therefor
US9392133B2 (en) Information processing apparatus and image forming apparatus
JP2014104654A (en) Image forming apparatus and control method of the same
JP2015080333A (en) Power reception device, power reception method and program
JP6040952B2 (en) Communication system, electronic control device
JP5468061B2 (en) Electronic device system and electronic device
JP2009301124A (en) Equipment with memory device and method for protecting memory device
JP2016111447A (en) Function control device, information processing device, image processing device, and communication establishing method
US11515720B2 (en) Information processing apparatus and charging method therefor
US20240100826A1 (en) Power supply control apparatus, method and recording apparatus
US9807545B2 (en) Communication apparatus controlling close proximity wireless communication unit, control method thereof and storage medium
JP2016036116A (en) Communication apparatus, control method of the same, and program

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

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170829

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171025

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171127

R150 Certificate of patent or registration of utility model

Ref document number: 6260270

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150