JP6160822B2 - I / O expansion device group and I / O expansion device - Google Patents

I / O expansion device group and I / O expansion device Download PDF

Info

Publication number
JP6160822B2
JP6160822B2 JP2013166797A JP2013166797A JP6160822B2 JP 6160822 B2 JP6160822 B2 JP 6160822B2 JP 2013166797 A JP2013166797 A JP 2013166797A JP 2013166797 A JP2013166797 A JP 2013166797A JP 6160822 B2 JP6160822 B2 JP 6160822B2
Authority
JP
Japan
Prior art keywords
expansion device
state
cpu
signal
input
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.)
Active
Application number
JP2013166797A
Other languages
Japanese (ja)
Other versions
JP2015035177A (en
Inventor
秀太 斎藤
秀太 斎藤
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2013166797A priority Critical patent/JP6160822B2/en
Publication of JP2015035177A publication Critical patent/JP2015035177A/en
Application granted granted Critical
Publication of JP6160822B2 publication Critical patent/JP6160822B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、CPUに接続されて、CPUの外部インターフェイスを拡張するI/O拡張デバイスに関する。   The present invention relates to an I / O expansion device that is connected to a CPU and expands an external interface of the CPU.

CPUで直接制御できるI/O(input/output)信号の数は限られており、入出力可能な信号数を増やすために、I/O拡張デバイスが使用される。   The number of I / O (input / output) signals that can be directly controlled by the CPU is limited, and an I / O expansion device is used to increase the number of signals that can be input and output.

たとえば、特許文献1には、レジスタのbit毎に入力機能と出力機能のいずれで使用するかを設定することのできるI/O拡張デバイスが開示されている。また、特許文献2には、CPUの持つシリアル信号の出力ポートに複数のシフトレジスタをカスケード接続してシリアル/パラレル変換を行うことで、1つのシリアル信号の出力ポートを用いて複数の出力信号をパラレルに出力可能にする技術が開示されている。   For example, Patent Document 1 discloses an I / O expansion device that can set whether to use an input function or an output function for each bit of a register. Further, in Patent Document 2, a plurality of shift registers are cascade-connected to a serial signal output port of a CPU and serial / parallel conversion is performed, whereby a plurality of output signals are output using one serial signal output port. A technique for enabling output in parallel is disclosed.

ところで、制御すべきI/Oの数が増えた場合、1つのI/O拡張デバイスで対応することが難しくなる。この場合に、より入出力ピンの多いI/O拡張デバイスに変更することも考えられるが、コストが増加する。   By the way, when the number of I / Os to be controlled increases, it becomes difficult to cope with one I / O expansion device. In this case, it may be possible to change to an I / O expansion device with more input / output pins, but the cost increases.

このような問題に対処する技術として、特許文献3には、CPUに接続したマスターモードのI/O拡張デバイスの配下にスレーブモードのI/O拡張デバイスを複数接続することで、出力可能な信号数を増加させる技術が開示されている。   As a technique for coping with such a problem, Patent Document 3 discloses a signal that can be output by connecting a plurality of slave mode I / O expansion devices under a master mode I / O expansion device connected to a CPU. A technique for increasing the number is disclosed.

特開平7−319592号公報Japanese Patent Laid-Open No. 7-319592 特開2011−197981号公報JP 2011-197981 A 特開2009−123141号公報JP 2009-123141 A

近年の省エネルギー規格への対応のために、装置の電源は入っているがCPUの電源をオフにする状態(省電力状態)が存在する。そのため、CPUの電源がオフの間に、I/O拡張デバイスが、CPUの介在なしにI/O制御を行ったり、入力信号の変化を検出してCPUの電源をオンにして通常状態へ遷移させる等の制御を行ったりする必要がある。   In order to comply with recent energy saving standards, there is a state (power saving state) in which the power of the apparatus is turned on but the power of the CPU is turned off. Therefore, while the CPU power is off, the I / O expansion device performs I / O control without the intervention of the CPU, detects a change in the input signal, turns on the CPU power, and transitions to the normal state. It is necessary to perform control such as

たとえば、CPUの電源がオフしている省電力状態において、I/O拡張デバイスに外部デバイスから所定のトリガ信号が入力されたとき、I/O拡張デバイスは、現在の状態と入力されたトリガ信号の種類とから通常状態へ遷移させるか否かを判定し、通常状態へ遷移させると判定した場合に、I/O拡張デバイスから他の外部デバイスに対して起動信号を出力したり、電源制御部へ制御信号を出力してCPUの電源をオンにしたりするといった制御を行う。   For example, when a predetermined trigger signal is input from an external device to the I / O expansion device in a power saving state in which the power of the CPU is off, the I / O expansion device displays the current state and the input trigger signal. Whether the transition to the normal state is determined from the type of the I / O, when the transition to the normal state is determined, the I / O expansion device outputs a start signal to another external device, or the power control unit A control signal is output to the CPU to turn on the CPU.

入出信号数の増加に対処するために、複数のI/O拡張デバイスを使用すると、各I/O拡張デバイスはそれぞれ別の外部デバイスのI/O制御を行うため、一のI/O拡張デバイスが外部デバイスからのトリガ信号を受けて通常状態に遷移すると判定して状態を遷移させても、他のI/O拡張デバイスは元の状態のままの動作を継続してしまい、複数のI/O拡張デバイスで同じ状態に対応する整合した動作(同期した動作)を行うことができないという問題がある。   When a plurality of I / O expansion devices are used in order to cope with an increase in the number of input / output signals, each I / O expansion device performs I / O control of a different external device. Even if it is determined that the device transitions to the normal state in response to the trigger signal from the external device, the other I / O expansion devices continue to operate in the original state, and a plurality of I / O There is a problem that it is impossible to perform a consistent operation (synchronized operation) corresponding to the same state in the O expansion device.

たとえば、CPUの電源がオフの状態で所定のトリガ信号が変化した場合に、I/O拡張デバイスからCPU以外の所定の外部デバイスに対して起動信号を出力し、その外部デバイスが起動した後、CPUの電源をオンするといったシーケンス制御を行う必要があるものとする。そして、たとえば、入力信号の変化に基づいて状態遷移を判定する処理とCPUの電源をオンにする処理を一のI/O拡張デバイスで行い、他のI/O拡張デバイスでCPU以外の所定の外部デバイスに対して起動信号を出力するように機能を分担させているとする。   For example, when a predetermined trigger signal changes while the power of the CPU is off, a start signal is output from the I / O expansion device to a predetermined external device other than the CPU, and the external device is started. Assume that it is necessary to perform sequence control such as turning on the power of the CPU. Then, for example, the process of determining the state transition based on the change of the input signal and the process of turning on the power of the CPU are performed by one I / O expansion device, and the other I / O expansion device performs a predetermined process other than the CPU. Assume that the function is shared so that a start signal is output to an external device.

この構成では、一のI/O拡張デバイスが、トリガ信号の変化に基づいて通常状態へ状態遷移させると判定し、CPUを起動しても、他のI/O拡張デバイスは上記の状態遷移を認識していないので外部デバイスを起動しない。このため、電源がオンにされて起動したCPUが、起動していない外部デバイスの出力値を誤って読み込んでしまうといった事態が生じてしまう。   In this configuration, even if one I / O expansion device determines that the state transition is made to the normal state based on the change of the trigger signal and the CPU is activated, the other I / O expansion device performs the above state transition. The external device is not started because it is not recognized. For this reason, a situation occurs in which the CPU that is activated with the power turned on erroneously reads the output value of the external device that is not activated.

本発明は、上記の問題を解決しようとするものであり、CPUの介在なしに複数のI/O拡張デバイスの状態を同期させることのできるI/O拡張デバイス群およびI/O拡張デバイスを提供することを目的としている。   The present invention is intended to solve the above problems, and provides an I / O expansion device group and an I / O expansion device that can synchronize the states of a plurality of I / O expansion devices without intervention of a CPU. The purpose is to do.

かかる目的を達成するための本発明の要旨とするところは、次の各項の発明に存する。   The gist of the present invention for achieving the object lies in the inventions of the following items.

[1]所定の装置の動作を制御するCPUに接続され、前記装置の所定の部品から入力される入力信号の値を前記CPUが読み取り可能な入力レジスタに設定する入力機能を有する第1のI/O拡張デバイスと、前記CPUに接続され、前記CPUによって出力レジスタに設定された値に応じた出力信号を前記装置の所定の部品へ出力する出力機能を有する第2のI/O拡張デバイスとを含むI/O拡張デバイス群であって、
前記第1のI/O拡張デバイスは、入力信号の値が変化したとき、該変化に基づいて前記装置の状態を遷移させるか否かを判定し、遷移させると判定した場合は、遷移先の状態を示す状態通知信号を前記第2のI/O拡張デバイスに出力し、
前記状態通知信号を受けた前記第2のI/O拡張デバイスは、前記状態通知信号で通知された前記遷移先の状態に応じて前記出力信号の値を変更し、
前記第2のI/O拡張デバイスは、前記第1のI/O拡張デバイスから受けた前記状態通知信号に含まれるノイズを除去するノイズフィルタ回路を有し、
前記第1のI/O拡張デバイスは、前記状態通知信号を出力してから前記ノイズフィルタ回路で生じる遅延時間と等しい遅延時間が経過したときに、自デバイスの内部状態を前記状態通知信号で通知した前記遷移先の状態に遷移させる
ことを特徴とするI/O拡張デバイス群。
[1] A first I which is connected to a CPU for controlling the operation of a predetermined device and has an input function for setting an input signal value input from a predetermined component of the device in an input register readable by the CPU. A second I / O expansion device connected to the CPU and having an output function for outputting an output signal corresponding to a value set in an output register by the CPU to a predetermined component of the apparatus; An I / O expansion device group including:
When the value of the input signal changes, the first I / O expansion device determines whether to change the state of the device based on the change. Outputting a status notification signal indicating a status to the second I / O expansion device;
The second I / O expansion device that has received the state notification signal changes the value of the output signal according to the state of the transition destination notified by the state notification signal ,
The second I / O expansion device has a noise filter circuit that removes noise included in the state notification signal received from the first I / O expansion device;
The first I / O expansion device notifies the internal state of the device by the state notification signal when a delay time equal to the delay time generated in the noise filter circuit has elapsed since the output of the state notification signal. A group of I / O expansion devices , wherein a transition is made to the transition destination state .

上記発明では、入力機能を担う第1のI/O拡張デバイスは、入力信号の変化を検出した場合に、この変化によって状態遷移が生じるか否かを判定し、状態遷移が生じる場合には、出力機能を担う第2のI/O拡張デバイスに、遷移後の状態を通知する。これにより、第1のI/O拡張デバイスと第2のI/O拡張デバイスの状態を一致させてこれらの動作を整合(同期)させることができる。
また、状態通知信号は基板上の配線を通じて伝播されるので、受け側のI/O拡張デバイスでノイズを除去して、誤動作を防止する。そして、状態通知信号を出力する側のI/O拡張デバイスは、状態通知信号を受ける側のI/O拡張デバイスのノイズフィルタ回路で生じる遅延時間に等しい遅延時間が経過したときに、内部状態を状態通知信号が示す状態に遷移させる。これにより、状態通知信号に基づいて状態遷移するタイミングを双方のI/O拡張デバイスで一致させることができる。
In the above invention, when the first I / O expansion device responsible for the input function detects a change in the input signal, the first I / O expansion device determines whether the change causes a state transition. The second I / O expansion device responsible for the output function is notified of the state after the transition. Thereby, the states of the first I / O expansion device and the second I / O expansion device can be matched to match (synchronize) these operations.
Further, since the status notification signal is propagated through the wiring on the substrate, noise is removed by the receiving I / O expansion device to prevent malfunction. When the delay time equal to the delay time generated in the noise filter circuit of the I / O expansion device receiving the status notification signal has passed, the I / O expansion device on the side outputting the status notification signal changes the internal state. Transition to the state indicated by the state notification signal. Thereby, the timing of state transition based on the state notification signal can be matched between both I / O expansion devices.

[2]前記状態通知信号は、前記装置の電源状態を通知し、
前記第1のI/O拡張デバイスと前記第2のI/O拡張デバイスとの間で前記状態通知信号の伝送に使用される信号線の数は、前記CPUが動作を停止させているときに前記装置が取り得る省電力状態の種類の数に応じた最小数にされる
ことを特徴とする[1]に記載のI/O拡張デバイス群。
[2] The status notification signal notifies the power status of the device,
The number of signal lines used for transmitting the status notification signal between the first I / O expansion device and the second I / O expansion device is determined when the CPU stops operating. The I / O expansion device group according to [1], wherein the number is set to a minimum number according to the number of types of power saving states that the apparatus can take.

上記発明および下記[]に記載の発明では、状態通知信号のために使用される信号線の本数は、必要最小本数にされる。 In the above-described invention and the invention described in [ 6 ] below, the number of signal lines used for the status notification signal is set to the minimum necessary number.

[3]前記第2のI/O拡張デバイスは、前記遷移先の状態が、前記CPUが停止状態から復旧して動作する通常状態である場合には、前記第のI/O拡張デバイスから受けた前記状態通知信号に従って出力信号の値を変更する際に、前記CPU以外の所定の部品に対する出力信号を通常状態時の値に変更した後に、前記CPUを前記通常状態に復旧させるための出力信号の値を変更する
ことを特徴とする[1]または[2]に記載のI/O拡張デバイス群。
[3] the second I / O expansion device, the destination state is wherein when the CPU is in the normal state of operation to recover from the stop state, from the first I / O expansion devices When changing the value of the output signal according to the received state notification signal, the output for restoring the CPU to the normal state after changing the output signal for a predetermined component other than the CPU to the value in the normal state The value of a signal is changed. The I / O expansion device group according to [1] or [2].

上記発明では、CPUを停止状態から通常状態へ復旧させる場合には、CPU以外の他の部品を通常状態に復旧させてから、CPUが通常状態に復旧するように出力信号の変更シーケンスが制御される。 In the above onset bright, when to recover the CPU from the stopped state to the normal state, since by recovering the other components other than the CPU to the normal state, the change sequence of the output signal so CPU is restored to the normal state Be controlled.

]前記第1のI/O拡張デバイスと前記第2のI/O拡張デバイスは、出力レジスタおよび入力レジスタの構成は同一であり、それぞれの役割に合わせて、出力レジスタと出力端子を接続する接続回路および入力端子と入力レジスタを接続する接続回路が構成されている
ことを特徴とする[1]乃至[]のいずれか1つに記載のI/O拡張デバイス群。
[ 4 ] The first I / O expansion device and the second I / O expansion device have the same configuration of the output register and the input register, and connect the output register and the output terminal according to their roles. The I / O expansion device group according to any one of [1] to [ 3 ], wherein a connection circuit that connects the input terminal and the input register is configured.

上記発明および下記[]に記載の発明では、各I/O拡張デバイスのレジスタ構成は同一であり、レジスタと入出力端子を接続する接続回路の構成の違いにより、各I/O拡張デバイスの役割の違いが実現される。 In the above invention and the invention described in [ 7 ] below, the register configuration of each I / O expansion device is the same, and the configuration of each I / O expansion device depends on the configuration of the connection circuit that connects the register and the input / output terminal. Role differences are realized.

]所定の装置の動作を制御するCPUによって出力レジスタに設定された値に応じた出力信号を前記装置の所定の部品へ出力する出力機能を有する他のI/O拡張デバイスと共に前記CPUに接続されるI/O拡張デバイスであって、
前記装置の所定の部品から入力される入力信号の値を前記CPUが読み取り可能な入力レジスタに設定する入力機能を有し、
入力信号の値が変化したとき、該変化に基づいて前記装置の状態を遷移させるか否かを判定し、遷移させると判定した場合は、遷移先の状態を示す状態通知信号を前記他のI/O拡張デバイスに出力すると共に、該状態通知信号を出力してから、前記状態通知信号に含まれるノイズを除去するために前記他のI/O拡張デバイスが有するノイズフィルタ回路で生じる遅延時間と等しい遅延時間が経過したときに、自デバイスの内部状態を前記状態通知信号で通知した前記遷移先の状態に変更し、
前記状態通知信号を受けた前記他のI/O拡張デバイスでは、前記状態通知信号で通知された状態に応じて前記出力信号の値が変更される
ことを特徴とするI/O拡張デバイス。
[ 5 ] To the CPU together with other I / O expansion devices having an output function for outputting an output signal corresponding to a value set in the output register by the CPU controlling the operation of the predetermined device to a predetermined component of the device. An I / O expansion device to be connected,
An input function for setting the value of an input signal input from a predetermined part of the device in an input register readable by the CPU;
When the value of the input signal changes, it is determined whether or not to change the state of the device based on the change, and when it is determined that the state is to be changed, a state notification signal indicating the state of the transition destination is sent to the other I A delay time generated in a noise filter circuit included in the other I / O expansion device in order to remove noise included in the state notification signal after outputting the state notification signal. When an equal delay time has elapsed, the internal state of the device is changed to the state of the transition destination notified by the state notification signal,
In the other I / O expansion device that has received the state notification signal, the value of the output signal is changed according to the state notified by the state notification signal.

上記発明は、[1]に記載のI/O拡張デバイス群における第1のI/O拡張デバイスに相当する。   The above invention corresponds to the first I / O expansion device in the I / O expansion device group described in [1].

]前記状態通知信号は、前記装置の電源状態を通知し、
前記I/O拡張デバイスと前記他のI/O拡張デバイスとの間で前記状態通知信号の伝送に使用される信号線の数は、前記CPUが動作を停止させているときに前記装置が取り得る省電力状態の種類の数に応じた最小数にされる
ことを特徴とする[5]に記載のI/O拡張デバイス。
[ 6 ] The status notification signal notifies the power status of the device,
The number of signal lines used for transmission of the status notification signal between the I / O expansion device and the other I / O expansion device is determined by the apparatus when the CPU stops operating. The I / O expansion device according to [ 5] , wherein the minimum number is set according to the number of types of power saving states to be obtained.

[7]前記I/O拡張デバイスと前記他のI/O拡張デバイスは、出力レジスタおよび入力レジスタの構成は同一であり、それぞれの役割に合わせて、出力レジスタと出力端子を接続する接続回路および入力端子と入力レジスタを接続する接続回路が構成されている
ことを特徴とする[5]または[6]に記載のI/O拡張デバイス。
[7] The I / O expansion device and the other I / O expansion device have the same configuration of the output register and the input register, and according to their roles, a connection circuit for connecting the output register and the output terminal, and The I / O expansion device according to [5] or [6] , wherein a connection circuit for connecting the input terminal and the input register is configured.

本発明に係るI/O拡張デバイス群およびI/O拡張デバイスによれば、CPUの介在なしに複数のI/O拡張デバイスの状態を一致させて複数のI/O拡張デバイスの動作を整合させることができる。   According to the I / O expansion device group and the I / O expansion device according to the present invention, the states of the plurality of I / O expansion devices are matched by matching the states of the plurality of I / O expansion devices without intervention of the CPU. be able to.

本発明の実施の形態に係るI/O拡張デバイス群を使用した画像形成装置の構成例を示すブロック図である。1 is a block diagram illustrating a configuration example of an image forming apparatus using an I / O expansion device group according to an embodiment of the present invention. CPUがI/O拡張デバイスにライトアクセスする場合の信号線等を示す図である。FIG. 3 is a diagram illustrating signal lines and the like when a CPU performs write access to an I / O expansion device. CPUがI/O拡張デバイスにリードアクセスする場合の信号線等を示す図である。It is a figure which shows a signal line etc. in case a CPU performs read access to an I / O expansion device. 第1のI/O拡張デバイスと第2のI/O拡張デバイスの概略の内部構成を示すブロック図である。FIG. 3 is a block diagram showing a schematic internal configuration of a first I / O expansion device and a second I / O expansion device. 第1のI/O拡張デバイスと第2のI/O拡張デバイスの入出力信号を示す図である。It is a figure which shows the input / output signal of a 1st I / O expansion device and a 2nd I / O expansion device. I/O拡張デバイスのレジスタ構成を示す図である。It is a figure which shows the register structure of an I / O expansion device. 省電力状態から通常状態へ復帰する際の動作を示す流れ図である。It is a flowchart which shows the operation | movement at the time of returning from a power saving state to a normal state. 省電力状態から通常状態へ復帰する際の動作を示すシーケンス図である。It is a sequence diagram which shows the operation | movement at the time of returning from a power saving state to a normal state.

以下、図面に基づき本発明の実施の形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の実施の形態に係るI/O拡張デバイスを適用した装置としての画像形成装置10の概略構成を示している。画像形成装置10は、原稿を光学的に読み取ってその複製画像を記録紙に印刷するコピー機能、読み取った原稿の画像データをファイルにして保存したり外部端末へネットワークを通じて送信したりするスキャン機能、PCなどからネットワークを通じて受信した印刷データに係る画像を記録紙上に形成して印刷出力するプリンタ機能、ファクシミリ手順に従って画像データを送受信するファクシミリ機能などを備えた、複合機(MFP;Multi Function Peripheral)である。   FIG. 1 shows a schematic configuration of an image forming apparatus 10 as an apparatus to which an I / O expansion device according to an embodiment of the present invention is applied. The image forming apparatus 10 includes a copy function that optically reads a document and prints a duplicate image on a recording sheet, a scan function that stores image data of the read document as a file, and transmits the file to an external terminal via a network, A multi-function peripheral (MFP) equipped with a printer function that forms an image of print data received over a network from a PC or the like on a recording paper and prints it out, and a facsimile function that transmits and receives image data according to a facsimile procedure. is there.

画像形成装置10は、当該画像形成装置10の動作を統括的に制御する制御部としてのCPU(Central Processing Unit)11を有している。CPU11にはバスを通じて第1の不揮発メモリ12、第2の不揮発メモリ13、RAM(Random Access Memory)14、ハードディスク装置15、自動原稿搬送部(ADF:Auto Document Feeder)16、画像読取部17、操作パネル18、画像処理部19、プリンタ部21、ネットワーク通信部22、ファクシミリ通信部23、第1のI/O拡張デバイス30、第2のI/O拡張デバイス50などが接続されている。また、画像形成装置10は、各部への電源供給を個別にオンオフ可能な電源制御部24を備えている。なお、図1では、CPUバスを1本のように記載してあるが、実際には、ブリッジを介した複数のバスで構成される。   The image forming apparatus 10 includes a CPU (Central Processing Unit) 11 as a control unit that comprehensively controls the operation of the image forming apparatus 10. The CPU 11 has a first nonvolatile memory 12, a second nonvolatile memory 13, a RAM (Random Access Memory) 14, a hard disk device 15, an automatic document feeder (ADF) 16, an image reading unit 17, and an operation through a bus. A panel 18, an image processing unit 19, a printer unit 21, a network communication unit 22, a facsimile communication unit 23, a first I / O expansion device 30, a second I / O expansion device 50, and the like are connected. Further, the image forming apparatus 10 includes a power control unit 24 that can individually turn on / off power supply to each unit. In FIG. 1, the CPU bus is described as one, but actually, it is configured by a plurality of buses via bridges.

CPU11は、OS(Operating System)プログラムをベースとし、その上で、ミドルウェアやアプリケーションプログラムなどを実行する。   The CPU 11 is based on an OS (Operating System) program, and executes middleware, application programs, and the like.

第1の不揮発メモリ12および第2の不揮発メモリ13は、電源をオフにしても記憶内容が破壊されないメモリ(フラッシュメモリ)である。第1の不揮発メモリ12にはブート用データが記憶されており、第2の不揮発メモリ13には、ブート用データ以外の各種のファームウェア(プログラム)が記憶されている。   The first nonvolatile memory 12 and the second nonvolatile memory 13 are memories (flash memories) whose stored contents are not destroyed even when the power is turned off. The first nonvolatile memory 12 stores boot data, and the second nonvolatile memory 13 stores various types of firmware (programs) other than the boot data.

CPU11は第1の不揮発メモリ12に格納されているブート用データにしたがって立ち上がり、その後は第2の不揮発メモリ13に格納されているファームウェアにしたがって各種処理を実行する。また、ハードディスク装置15には各種のアプリケーションプログラムが記憶されており、CPU11は、これをRAM14にロードして実行する。CPU11が各種のプログラムを実行することで、画像形成装置10としての各種の機能が実現される。   The CPU 11 rises according to the boot data stored in the first nonvolatile memory 12, and thereafter executes various processes according to the firmware stored in the second nonvolatile memory 13. In addition, various application programs are stored in the hard disk device 15, and the CPU 11 loads the program into the RAM 14 and executes it. Various functions as the image forming apparatus 10 are realized by the CPU 11 executing various programs.

RAM14は、CPU11が処理を実行する際に各種のデータを一時的に格納するワークメモリや画像データを格納する画像メモリなどとして使用される。   The RAM 14 is used as a work memory that temporarily stores various data when the CPU 11 executes processing, an image memory that stores image data, and the like.

ハードディスク装置15は大容量不揮発の記憶装置であり、印刷データや画像ファイルなど各種のデータやアプリケーションプログラムが記憶される。   The hard disk device 15 is a large-capacity nonvolatile storage device, and stores various data such as print data and image files and application programs.

画像読取部17は、原稿を光学的に読み取って画像データを取得する機能を果たす。画像読取部17は、例えば、原稿に光を照射する光源と、その反射光を受けて原稿を幅方向に1ライン分読み取るラインイメージセンサと、ライン単位の読取位置を原稿の長さ方向に順次移動させる移動ユニットと、原稿からの反射光をラインイメージセンサに導いて結像させるレンズやミラーなどからなる光学経路と、ラインイメージセンサの出力するアナログ画像信号をデジタルの画像データに変換する変換部などを備えて構成される。   The image reading unit 17 performs a function of optically reading a document and acquiring image data. The image reading unit 17 sequentially, for example, a light source that irradiates light on the document, a line image sensor that receives the reflected light for one line in the width direction, and a line-by-line reading position in the length direction of the document. An optical path composed of a moving unit for moving, a lens, a mirror, and the like for guiding reflected light from the document to the line image sensor to form an image, and a conversion unit for converting an analog image signal output from the line image sensor into digital image data And so on.

自動原稿搬送部16は、原稿台にセットされた原稿をその最上のものから1枚ずつ順に繰り出して搬送し、画像読取部17の読み取り位置を通過させて所定の排紙位置へ排紙する機能を果たす。画像読取部17は、プラテンガラス上に載置された原稿を読み取る機能と、自動原稿搬送部16によって搬送される原稿を順次読み取る機能を備えている。   The automatic document feeder 16 feeds a document set on the platen one by one from the top one by one in order, passes the reading position of the image reading unit 17 and discharges it to a predetermined discharge position. Fulfill. The image reading unit 17 has a function of reading a document placed on the platen glass and a function of sequentially reading a document conveyed by the automatic document conveyance unit 16.

操作パネル18は、各種の操作画面、設定画面等を表示する機能およびユーザからジョブの投入など各種の操作を受け付ける機能を果たす。操作パネル18は、液晶ディスプレイ(LCD…Liquid Crystal Display)などの表示部、スタート釦やテンキーなどの各種ハードキーと表示部の表示面上に設けられたタッチパネルなどを備えている。   The operation panel 18 has a function of displaying various operation screens, setting screens, and the like and a function of accepting various operations such as job submission from the user. The operation panel 18 includes a display unit such as a liquid crystal display (LCD), various hard keys such as a start button and a numeric keypad, and a touch panel provided on the display surface of the display unit.

画像処理部19は、画像の拡大縮小、回転などの処理のほか、印刷データをイメージデータに変換するラスタライズ処理、画像データの圧縮、伸張処理などを行う。   The image processing unit 19 performs rasterization processing for converting print data into image data, image data compression and expansion processing, in addition to processing such as image enlargement / reduction and rotation.

プリンタ部21は、画像データに応じた画像を記録紙上に画像形成する機能を果たす。ここでは、プリンタ部21は、記録紙の搬送装置と、感光体ドラムと、帯電装置と、レーザーユニットと、現像装置と、転写分離装置と、クリーニング装置と、定着装置とを有し、電子写真プロセスによって画像形成を行う、所謂、レーザープリンタとして構成されている。画像形成は他の方式でもかまわない。   The printer unit 21 has a function of forming an image corresponding to image data on a recording sheet. Here, the printer unit 21 includes a recording paper transport device, a photosensitive drum, a charging device, a laser unit, a developing device, a transfer separation device, a cleaning device, and a fixing device. It is configured as a so-called laser printer that forms an image by a process. Other methods may be used for image formation.

ネットワーク通信部22は、外部の装置(たとえば、PC、サーバ)と通信する機能を果たす。ネットワーク通信部22は、有線通信と無線通信の双方可能に構成されてもよいし、いずれか一方のみ可能に構成されてもよい。   The network communication unit 22 has a function of communicating with an external device (for example, a PC or a server). The network communication unit 22 may be configured to be capable of both wired communication and wireless communication, or may be configured to be capable of only one of them.

ファクシミリ通信部23は、ファクシミリ機能を備えた外部装置と電話回線を通じて画像データを送受信する機能を果たす。   The facsimile communication unit 23 performs a function of transmitting / receiving image data to / from an external apparatus having a facsimile function through a telephone line.

第1のI/O拡張デバイス30および第2のI/O拡張デバイス50は、CPU11に接続可能なI/Oを拡張する機能を果たす。ここでは、第1のI/O拡張デバイス30は、画像形成装置10の各部(たとえば、センサなど)からの入力信号を入力してその値をCPUが読み取り可能なレジスタに設定する入力機能を担う。第2のI/O拡張デバイス50は、CPU11によってレジスタに設定された値に対応する出力信号を画像形成装置10の各部(たとえば、電源制御部24)へ出力する出力機能を担う。第1のI/O拡張デバイス30および第2のI/O拡張デバイス50の詳細は後述する。   The first I / O expansion device 30 and the second I / O expansion device 50 function to expand I / O that can be connected to the CPU 11. Here, the first I / O expansion device 30 has an input function of inputting an input signal from each unit (for example, a sensor) of the image forming apparatus 10 and setting the value in a register readable by the CPU. . The second I / O expansion device 50 has an output function of outputting an output signal corresponding to a value set in the register by the CPU 11 to each unit (for example, the power supply control unit 24) of the image forming apparatus 10. Details of the first I / O expansion device 30 and the second I / O expansion device 50 will be described later.

電源制御部24は、画像形成装置10の各部への電源供給を制御する。ここでは、CPU11への電源、画像処理部19などのASIC(application specific integrated circuit)への電源、操作パネル18への電源、ネットワーク通信部22への電源、ファクシミリ通信部23への電源、図示省略したタイマーICへの電源などを制御する。なお、第2のI/O拡張デバイス50は、上記の各電源のオンオフを指示する制御信号を電源制御部24に対して出力する。   The power control unit 24 controls power supply to each unit of the image forming apparatus 10. Here, a power source for the CPU 11, a power source for an application specific integrated circuit (ASIC) such as the image processing unit 19, a power source for the operation panel 18, a power source for the network communication unit 22, a power source for the facsimile communication unit 23, not shown. Control the power supply to the timer IC. The second I / O expansion device 50 outputs a control signal for instructing on / off of each power supply to the power supply control unit 24.

図2、図3は、CPU11が有する外部インターフェイス用のチャンネルに接続されたデバイスを示している。図2は、ライト時を、図3はリード時を示している。   2 and 3 show devices connected to channels for external interfaces of the CPU 11. FIG. 2 shows the time of writing, and FIG. 3 shows the time of reading.

CPU11は、外部インターフェイス機能を有する、SoC(System-on-a-Chip)方式の半導体チップである。CPU11は、外部インターフェイス用のチャンネルとしてch1、ch2、ch3を備えている。ch1には、第1の不揮発メモリ12が接続され、ch2には、第2の不揮発メモリ13が接続されている。   The CPU 11 is a SoC (System-on-a-Chip) type semiconductor chip having an external interface function. The CPU 11 includes ch1, ch2, and ch3 as external interface channels. A first nonvolatile memory 12 is connected to ch1, and a second nonvolatile memory 13 is connected to ch2.

ch3には、第1のI/O拡張デバイス30と第2のI/O拡張デバイス50が接続される。1つのチェンネルに複数のI/O拡張デバイス30、50を接続しているが、リードアクセスにて、複数のI/O拡張デバイスからデータが出力されないように構成してあるので、データが衝突する問題は生じない。ここでは、第1のI/O拡張デバイス30を入力機能専用、第2のI/O拡張デバイス50を出力機能専用として機能分担してある。そのため、CPU11は第1のI/O拡張デバイス30のレジスタをリードできれば足り、リード信号は第1のI/O拡張デバイス30にのみ接続してある。   The first I / O expansion device 30 and the second I / O expansion device 50 are connected to ch3. A plurality of I / O expansion devices 30 and 50 are connected to one channel. However, since data is not output from a plurality of I / O expansion devices by read access, data collides. There is no problem. Here, the first I / O expansion device 30 is dedicated to the input function, and the second I / O expansion device 50 is dedicated to the output function. Therefore, the CPU 11 only needs to read the register of the first I / O expansion device 30, and the read signal is connected only to the first I / O expansion device 30.

詳細には、第1のI/O拡張デバイス30には、CPU11のデバイスバスに接続するために、ch3のセレクト信号、ライト信号、リード信号、8bitのデータバス信号、3bitのアドレス信号が接続される。第2のI/O拡張デバイス50には、ch3のセレクト信号、ライト信号、8bitのデータバス信号、3bitのアドレス信号が接続される。第2のI/O拡張デバイス50は、出力機能専用なのでリード信号は接続されず、そのための端子もない。   Specifically, the ch1 select signal, write signal, read signal, 8-bit data bus signal, and 3-bit address signal are connected to the first I / O expansion device 30 for connection to the device bus of the CPU 11. The The second I / O expansion device 50 is connected to a ch3 select signal, a write signal, an 8-bit data bus signal, and a 3-bit address signal. Since the second I / O expansion device 50 is dedicated to the output function, the read signal is not connected and there is no terminal for that purpose.

アドレス信号が3bitの場合、I/O拡張デバイス30、50は各アドレスに対応させて最大で8個のレジスタを持つことができる。ch3のライトアクセスにおいては、図2に示すように、第1のI/O拡張デバイス30と第2のI/O拡張デバイス50の同じアドレスのレジスタに同じ値が書き込まれる。ch3のリードアクセスにおいては、リード信号が第1のI/O拡張デバイス30にのみ入力され、第2のI/O拡張デバイス50にはリード信号が入力されていないので、図3に示すように、各アドレスにおいて第1のI/O拡張デバイス30のみがCPUバスにデータを出力する。   When the address signal is 3 bits, the I / O expansion devices 30 and 50 can have a maximum of 8 registers corresponding to each address. In the ch3 write access, the same value is written to the register at the same address in the first I / O expansion device 30 and the second I / O expansion device 50, as shown in FIG. In the ch3 read access, the read signal is input only to the first I / O expansion device 30 and the read signal is not input to the second I / O expansion device 50, as shown in FIG. At each address, only the first I / O expansion device 30 outputs data to the CPU bus.

なお、リード信号を第1のI/O拡張デバイス30と第2のI/O拡張デバイス50の双方に入力し、第1のI/O拡張デバイス30側と第2のI/O拡張デバイス50側のいずれがCPUバスにデータを出力するかをアドレスにより排他的に割り振るようにしてもよい。たとえば、リードアクセス時の3bitのアドレスが(000)、(001)の場合は第1のI/O拡張デバイス30がデータを出力し、リードアクセス時の3bitのアドレスが(010)、(011)の場合は第2のI/O拡張デバイス50がデータを出力するというように構成してもよい。   The read signal is input to both the first I / O expansion device 30 and the second I / O expansion device 50, and the first I / O expansion device 30 side and the second I / O expansion device 50 are input. Which side outputs data to the CPU bus may be exclusively assigned by address. For example, when the 3-bit address at the time of read access is (000) or (001), the first I / O expansion device 30 outputs data, and the 3-bit address at the time of read access is (010), (011) In this case, the second I / O expansion device 50 may be configured to output data.

なお、本実施の形態では8bitのデータバス信号としているが、8bitに限定されるものではない。また3bitのアドレス信号としているが、3bitに限定されるものではない。   In this embodiment, an 8-bit data bus signal is used, but the present invention is not limited to 8 bits. Although the address signal is 3 bits, it is not limited to 3 bits.

図4は、第1のI/O拡張デバイス30および第2のI/O拡張デバイス50の概略の内部構成を示している。第1のI/O拡張デバイス30は、CPU11のバスに接続されてデータを入出力するためのバスインターフェイス部31と、入力制御レジスタ32と、出力制御レジスタ33と、復帰条件判定部34と、遅延回路35と、シーケンス制御部36とを備えている。   FIG. 4 shows a schematic internal configuration of the first I / O expansion device 30 and the second I / O expansion device 50. The first I / O expansion device 30 is connected to the bus of the CPU 11 to input / output data, a bus interface unit 31, an input control register 32, an output control register 33, a return condition determination unit 34, A delay circuit 35 and a sequence control unit 36 are provided.

第2のI/O拡張デバイス50は、バスインターフェイス部51と、入力制御レジスタ52と、出力制御レジスタ53と、復帰条件判定部54と、ノイズフィルタ回路55と、シーケンス制御部56とを備えている。   The second I / O expansion device 50 includes a bus interface unit 51, an input control register 52, an output control register 53, a return condition determination unit 54, a noise filter circuit 55, and a sequence control unit 56. Yes.

入力制御レジスタ32、52は、CPU11が読み取り可能なレジスタであり、各bitに外部からの入力信号がそれぞれ割り当てられており、各bitに入力信号の値が反映される。出力制御レジスタ33、53は、CPU11が各bitの値を設定可能なレジスタであり、設定された値に応じた出力信号が外部へ出力される。   The input control registers 32 and 52 are registers that can be read by the CPU 11. An input signal from the outside is assigned to each bit, and the value of the input signal is reflected in each bit. The output control registers 33 and 53 are registers in which the CPU 11 can set the value of each bit, and an output signal corresponding to the set value is output to the outside.

復帰条件判定部34、54は、入力信号の値が変化した際に、その変化後の入力信号の値と、現在の状態(ここでは、画像形成装置10の省電力に関する状態)とから、状態遷移が必要か否かを判定し、状態遷移すると判定した場合に、遷移先の状態を示す状態通知信号を出力する機能を果たす。   When the input signal value changes, the return condition determination units 34 and 54 determine the state from the changed input signal value and the current state (here, the state relating to power saving of the image forming apparatus 10). It determines whether or not a transition is necessary, and outputs a state notification signal indicating a transition destination state when it is determined that a state transition is to occur.

シーケンス制御部36、56は、出力制御レジスタ33、53に設定された値を出力信号として出力する際の出力シーケンス(出力順序や遅延時間など)を制御する。   The sequence controllers 36 and 56 control the output sequence (output order, delay time, etc.) when outputting the values set in the output control registers 33 and 53 as output signals.

ノイズフィルタ回路55は、第1のI/O拡張デバイス30から入力される状態通知信号のノイズを除去する回路である。状態通知信号は、基板上のパターンを経由して第1のI/O拡張デバイス30から第2のI/O拡張デバイス50へ伝搬されるので、受け取る側の第2のI/O拡張デバイス50はノイズ除去のために内部のノイズフィルタ回路55を経由させて状態通知信号を受け取る。   The noise filter circuit 55 is a circuit that removes noise from the state notification signal input from the first I / O expansion device 30. Since the status notification signal is propagated from the first I / O expansion device 30 to the second I / O expansion device 50 via the pattern on the board, the receiving side second I / O expansion device 50 is received. Receives a state notification signal via an internal noise filter circuit 55 for noise removal.

ノイズフィルタ回路55は公知の任意の回路でよいが、ここでは、多段のシフトレジスタ構成とし、全bitが”1”となった時、次段の回路へ状態通知信号を渡すように動作する。このため、第2のI/O拡張デバイス50では、状態通知信号で通知された遷移先の状態が内部に反映されるタイミングが、ノイズフィルタ回路55を構成するシフトレジスタの段数分だけ遅延する。   The noise filter circuit 55 may be any known circuit, but here it has a multi-stage shift register configuration and operates to pass a status notification signal to the next-stage circuit when all bits are “1”. For this reason, in the second I / O expansion device 50, the timing at which the state of the transition destination notified by the state notification signal is reflected inside is delayed by the number of stages of the shift register constituting the noise filter circuit 55.

第1のI/O拡張デバイス30の遅延回路35は、復帰条件判定部34の出力した状態通知信号を、第2のI/O拡張デバイス50が有するノイズフィルタ回路55の遅延時間と等しい時間だけ遅延させる回路である。復帰条件判定部34の出力した状態通知信号は、遅延回路35で遅延されて第1のI/O拡張デバイス30の各部(出力制御レジスタ33やシーケンス制御部36など)に入力される。これにより、状態通知信号の示す遷移先の状態へ移行するタイミングが第1のI/O拡張デバイス30と第2のI/O拡張デバイス50で一致する。   The delay circuit 35 of the first I / O expansion device 30 outputs the state notification signal output from the return condition determination unit 34 for a time equal to the delay time of the noise filter circuit 55 included in the second I / O expansion device 50. This is a delay circuit. The status notification signal output from the return condition determination unit 34 is delayed by the delay circuit 35 and input to each unit (such as the output control register 33 and the sequence control unit 36) of the first I / O expansion device 30. As a result, the first I / O expansion device 30 and the second I / O expansion device 50 have the same timing for transition to the transition destination state indicated by the state notification signal.

このほか、第1のI/O拡張デバイス30、第2のI/O拡張デバイス50は、内部の動作を制御する図示省略の制御部を備えている。制御部は、出力制御レジスタ33、53の設定値を、状態通知信号が示す遷移先の状態に対応した値に書き換える機能などを果たす。   In addition, the first I / O expansion device 30 and the second I / O expansion device 50 include a control unit (not shown) that controls internal operations. The control unit functions to rewrite the set values of the output control registers 33 and 53 to values corresponding to the transition destination state indicated by the state notification signal.

ここでは、第1のI/O拡張デバイス30および第2のI/O拡張デバイス50は、CPLD(Complex Programmable Logic Device)で構成される。第1のI/O拡張デバイス30と第2のI/O拡張デバイス50は、基本的に共通の回路(RTL(Register transfer level)で記述された回路)で構成されている。詳細には、第1のI/O拡張デバイス30のバスインターフェイス部31、入力制御レジスタ32、出力制御レジスタ33、復帰条件判定部34、シーケンス制御部36はそれぞれ、第2のI/O拡張デバイス50のバスインターフェイス部51、入力制御レジスタ52、出力制御レジスタ53、復帰条件判定部54、シーケンス制御部56と同一の回路で構成される。   Here, the 1st I / O expansion device 30 and the 2nd I / O expansion device 50 are comprised by CPLD (Complex Programmable Logic Device). The first I / O expansion device 30 and the second I / O expansion device 50 are basically composed of a common circuit (a circuit described in RTL (Register Transfer Level)). Specifically, the bus interface unit 31, the input control register 32, the output control register 33, the return condition determination unit 34, and the sequence control unit 36 of the first I / O expansion device 30 are each a second I / O expansion device. 50 bus interface unit 51, input control register 52, output control register 53, return condition determination unit 54, and sequence control unit 56 are configured in the same circuit.

ただし、第1のI/O拡張デバイス30と第2のI/O拡張デバイス50のそれぞれが担う機能に応じて、回路間の接続や、レジスタ32、33、52、53とチップの端子との接続回路を相違させてある。たとえば、出力機能を担う第2のI/O拡張デバイス50では、内部でリード信号を非アクティブな論理・レベルに固定してある。これにより第2のI/O拡張デバイス50は、リードアクセスに応答しない。また、第2のI/O拡張デバイス50では入力機能は不要なので、入力制御レジスタ52への入力値を、非アクティブな論理・レベルに固定してある。一方、入力機能を担う第1のI/O拡張デバイス30においては、出力制御レジスタ33の出力をチップの端子に接続していない。   However, depending on the function of each of the first I / O expansion device 30 and the second I / O expansion device 50, the connection between the circuits, the registers 32, 33, 52, 53 and the terminals of the chip The connection circuit is different. For example, in the second I / O expansion device 50 responsible for the output function, the read signal is internally fixed at an inactive logic level. As a result, the second I / O expansion device 50 does not respond to the read access. Since the second I / O expansion device 50 does not require an input function, the input value to the input control register 52 is fixed to an inactive logic level. On the other hand, in the first I / O expansion device 30 having the input function, the output of the output control register 33 is not connected to the terminal of the chip.

入力機能を果たす第1のI/O拡張デバイス30の入力制御レジスタ32は、CPU11によって読み取られる。一般的なデバイスバスではホストであるCPUが一定周期でI/O拡張デバイスの入力制御レジスタに対してリードアクセスを行うことでそのI/O拡張デバイスに入力されている各入力信号(センサからの信号など)の状態を認識している。   The input control register 32 of the first I / O expansion device 30 that performs the input function is read by the CPU 11. In a general device bus, the host CPU performs read access to the input control register of the I / O expansion device at regular intervals, so that each input signal (from the sensor) is input to the I / O expansion device. Signal).

この方式はポーリングと呼ばれる。ポーリング方式の場合、CPUが一定周期でリードアクセスを行う必要があるため、CPUの負荷が増大してしまう。   This method is called polling. In the case of the polling method, since the CPU needs to perform read access at a constant cycle, the load on the CPU increases.

ポーリング方式とは別の方式として割り込み方式がある。割り込み方式では、I/O拡張デバイスが各入力信号の変化を検出して割り込み信号をCPUに出力する。CPUは割り込み信号が入力された場合にI/O拡張デバイスの入力制御レジスタに対してリードアクセスを行う。   There is an interrupt method as a method different from the polling method. In the interrupt method, the I / O expansion device detects a change in each input signal and outputs an interrupt signal to the CPU. When an interrupt signal is input, the CPU performs read access to the input control register of the I / O expansion device.

このように、割り込み方式ではCPUの負荷が軽減されるので、本実施の形態にかかわる第1のI/O拡張デバイス30では、割り込み方式を採用している。第1のI/O拡張デバイス30は、複数の入力信号に係る割り込みの通知を1本の割り込み信号で行っている。このような割り込みは、集合割り込みと呼ばれる。第1のI/O拡張デバイス30は、どの入力信号が変化したかを示すための割り込み要因レジスタと、割り込み要因レジスタをクリアするための割り込み要因クリアレジスタを備えている。   Thus, since the CPU load is reduced in the interrupt method, the interrupt method is employed in the first I / O expansion device 30 according to the present embodiment. The first I / O expansion device 30 performs notification of interrupts related to a plurality of input signals with one interrupt signal. Such an interrupt is called a collective interrupt. The first I / O expansion device 30 includes an interrupt factor register for indicating which input signal has changed, and an interrupt factor clear register for clearing the interrupt factor register.

CPU11は、集合割り込みを受け取ると、第1のI/O拡張デバイス30の割り込み要因レジスタをリードして、どの入力信号に変化があったかを認識する。CPU11が、割り込み要因クリアレジスタの該当bitに”1”をライトすると、割り込み要因レジスタの対応するビットが”0”にクリアされる。   When the CPU 11 receives the collective interrupt, it reads the interrupt factor register of the first I / O expansion device 30 and recognizes which input signal has changed. When the CPU 11 writes “1” to the corresponding bit of the interrupt factor clear register, the corresponding bit of the interrupt factor register is cleared to “0”.

次に、第1のI/O拡張デバイス30と第2のI/O拡張デバイス50の端子の割り当てについて説明する。   Next, terminal assignment of the first I / O expansion device 30 and the second I / O expansion device 50 will be described.

第1のI/O拡張デバイス30と第2のI/O拡張デバイス50は同一のパッケージのCPDLである。第1のI/O拡張デバイス30、第2のI/O拡張デバイス50は共に、電源、GND、クロックなどの入力が必須であり、ユーザが任意に割り当て可能な端子数は、いずれも27本であるものとする。   The first I / O expansion device 30 and the second I / O expansion device 50 are CPDLs of the same package. Both the first I / O expansion device 30 and the second I / O expansion device 50 require inputs such as a power supply, a GND, and a clock, and the number of terminals that can be arbitrarily assigned by the user is 27 in any case. Suppose that

図5は、第1のI/O拡張デバイス30と第2のI/O拡張デバイス50での上記27本の端子に割り当てた信号を示している。   FIG. 5 shows signals assigned to the 27 terminals in the first I / O expansion device 30 and the second I / O expansion device 50.

第1のI/O拡張デバイス30においては、ch3のセレクト信号、ライト信号、リード信号、8bitのデータバス信号、3bitのアドレス信号、集合割り込み信号で合計15本となり、2本を第2のI/O拡張デバイス50への状態通知信号用として使用する。そして、残り10本を、入力機能に係る入力信号の入力端子として使用する。   In the first I / O expansion device 30, a total of 15 signals are selected for the ch3 select signal, write signal, read signal, 8-bit data bus signal, 3-bit address signal, and collective interrupt signal. / O Used as a status notification signal to the expansion device 50. The remaining 10 are used as input terminals for input signals related to the input function.

第2のI/O拡張デバイス50においては、ch3のセレクト信号、ライト信号、8bitのデータバス信号、3bitのアドレス信号で合計13本となり、2本を第1のI/O拡張デバイス30からの状態通知信号の受け取り用として使用する。そして、残り12本を出力機能に係る出力信号の出力端子として使用する。   In the second I / O expansion device 50, a total of 13 signals are selected from the ch3 select signal, the write signal, the 8-bit data bus signal, and the 3-bit address signal, and two of them are sent from the first I / O expansion device 30. Used for receiving status notification signals. The remaining 12 lines are used as output terminals for output signals related to the output function.

2本の状態通知信号は、画像形成装置10においてCPU11が動作を停止しているときに取り得る省電力状態を示す。具体的には、スリープ状態を示すスリープ通知信号と、ErP状態を表すErP通知信号である。状態通知信号に使われる信号線の本数は、CPU11が動作を停止する際に取り得る省電力状態の数に対応した最小数にされている。ここでは、スリープ状態とErP状態が省電力状態であり、これに通常状態を加えた、3状態を通知する必要があるため、2本の信号線を使用している。   The two status notification signals indicate power saving states that can be taken when the CPU 11 stops operating in the image forming apparatus 10. Specifically, a sleep notification signal indicating a sleep state and an ErP notification signal indicating an ErP state. The number of signal lines used for the state notification signal is set to the minimum number corresponding to the number of power saving states that can be taken when the CPU 11 stops the operation. Here, since the sleep state and the ErP state are power saving states, and it is necessary to notify the three states including the normal state, two signal lines are used.

スリープ状態とは、CPU11やASICなどの電源を落とし、センサ等の電源のみがオンにされている状態である。ErP状態とは、スリープ状態よりもさらに電力消費の少ない状態であり、スリープ状態で電源がオンされていたセンサのうちの一部のセンサのみの電源しかオンされない状態である。たとえば、どちらの状態もCPU11や画像処理用のASICや画像形成装置10の機械部分(画像読取部17やプリンタ部21)の制御部の電源はオフになっているが、スリープ状態は操作パネル18、ファクシミリ通信部23、フロントカバーセンサ、スキャナカバーセンサ、原稿検知センサ、無線LANデバイス、タイマーICの全ての電源が入ったままであり、ErP状態は操作パネル18、タイマーのみ電源が入っている。   The sleep state is a state in which the CPU 11 and the ASIC are turned off, and only the sensor and the like are turned on. The ErP state is a state that consumes less power than the sleep state, and is a state in which only the power of only some of the sensors that have been turned on in the sleep state is turned on. For example, in both states, the CPU 11, the ASIC for image processing, and the control unit of the mechanical part (the image reading unit 17 and the printer unit 21) of the image forming apparatus 10 are turned off, but the operation panel 18 is in the sleep state. The facsimile communication unit 23, the front cover sensor, the scanner cover sensor, the document detection sensor, the wireless LAN device, and the timer IC are all turned on. In the ErP state, only the operation panel 18 and the timer are turned on.

通常時は2本の状態通知信号が共に“0”となる。画像形成装置10がスリープ状態になったときは、スリープ通知信号が“1”かつErP通知信号が“0”となる。ErP状態になったときはスリープ通知信号が“0”かつErP通知信号が“1”となる。通常状態とは、CPU11やその他の各部に電源が供給された状態であり、画像形成装置10がジョブを実行可能な状態である。   In normal times, the two status notification signals are both “0”. When the image forming apparatus 10 enters the sleep state, the sleep notification signal is “1” and the ErP notification signal is “0”. When the ErP state is entered, the sleep notification signal is “0” and the ErP notification signal is “1”. The normal state is a state in which power is supplied to the CPU 11 and other units, and the image forming apparatus 10 can execute a job.

図6は、第1のI/O拡張デバイス30、第2のI/O拡張デバイス50が有するレジスタの一覧を示している。第1のI/O拡張デバイス30と第2のI/O拡張デバイス50のレジスタ構成は同一であり、いずれも8つのレジスタを備えている。図6の一覧では、アドレスと、レジスタ名と、可能なアクセスの種類とを対応付けて示してある。   FIG. 6 shows a list of registers included in the first I / O expansion device 30 and the second I / O expansion device 50. The register configuration of the first I / O expansion device 30 and the second I / O expansion device 50 is the same, and each includes eight registers. In the list of FIG. 6, addresses, register names, and possible access types are associated with each other.

第1のI/O拡張デバイス30および第2のI/O拡張デバイス50は、それぞれ、出力制御レジスタ33として、第1出力制御レジスタと第2出力制御レジスタを備え、入力制御レジスタ32として、第1入力制御レジスタと第2入力制御レジスタを備えている。また第1入力制御レジスタ、第2入力制御レジスタに対応して、第1割り込み要因レジスタ、第2割り込み要因レジスタ、および、第1割り込み要因クリアレジスタ、第2割り込み要因クリアレジスタを備えている。   Each of the first I / O expansion device 30 and the second I / O expansion device 50 includes a first output control register and a second output control register as the output control register 33, and the first control register 32 as the input control register 32. A 1-input control register and a second input control register are provided. Corresponding to the first input control register and the second input control register, a first interrupt factor register, a second interrupt factor register, a first interrupt factor clear register, and a second interrupt factor clear register are provided.

第1出力制御レジスタは、アドレス(000)に割り当てられた8bitのリードライト可能なレジスタである。各bitは、第2のI/O拡張デバイス50の出力0〜出力7の出力信号と対応しており、CPU11は各bitを書き換えることで対応する出力信号を制御できる。   The first output control register is an 8-bit readable / writable register assigned to the address (000). Each bit corresponds to the output signal of output 0 to output 7 of the second I / O expansion device 50, and the CPU 11 can control the corresponding output signal by rewriting each bit.

第2出力制御レジスタは、アドレス(001)に割り当てられた8bitのリードライト可能なレジスタである。各bitは、第2のI/O拡張デバイス50の出力8から出力11の出力信号と対応しており、CPU11は各bitを書き換えることで対応する出力信号を制御できる。第2出力制御レジスタは8bitであるが、出力端子の数の制限から、実際に使用するのは下位4bitのみである。   The second output control register is an 8-bit readable / writable register assigned to the address (001). Each bit corresponds to the output signal from the output 8 to the output 11 of the second I / O expansion device 50, and the CPU 11 can control the corresponding output signal by rewriting each bit. The second output control register is 8 bits, but only the lower 4 bits are actually used due to the limitation of the number of output terminals.

第1出力制御レジスタおよび第2出力制御レジスタで制御する対象は、CPU11の電源、画像処理部19などのASICの電源、操作パネル18の電源、ネットワーク通信部22の電源、ファクシミリ通信部23の電源、図示省略したタイマーICの電源、リセット信号などである。   The objects controlled by the first output control register and the second output control register are the power source of the CPU 11, the power source of the ASIC such as the image processing unit 19, the power source of the operation panel 18, the power source of the network communication unit 22, and the power source of the facsimile communication unit 23. These are the power supply and reset signal of the timer IC (not shown).

第1入力制御レジスタは、アドレス(010)に割り当てられた8bitのリードのみ可能なレジスタである。各bitは第1のI/O拡張デバイス30の入力0〜入力7に対応しており、CPU11は各bitを読みだすことで第1のI/O拡張デバイス30の入力0〜入力7に入力されている入力信号の値を知ることができる。   The first input control register is an 8-bit read-only register assigned to the address (010). Each bit corresponds to input 0 to input 7 of the first I / O expansion device 30, and the CPU 11 reads each bit and inputs to input 0 to input 7 of the first I / O expansion device 30. It is possible to know the value of the input signal.

第2入力制御レジスタは、アドレス(011)に割り当てられた8bitのリードのみ可能なレジスタである。下位の2bitは第1のI/O拡張デバイス30の入力8、入力9に対応しており、CPU11はそれぞれのbitを読みだすことで第1のI/O拡張デバイス30の入力8、入力9に入力されている入力信号の値を知ることができる。第2出力制御レジスタは8bitであるが、入力端子の数の制限から、実際に使用するのは下位2bitのみである。   The second input control register is an 8-bit read-only register assigned to the address (011). The lower 2 bits correspond to the input 8 and the input 9 of the first I / O expansion device 30, and the CPU 11 reads the respective bits to input the input 8 and the input 9 of the first I / O expansion device 30. It is possible to know the value of the input signal input to the. Although the second output control register is 8 bits, only the lower 2 bits are actually used due to the limitation of the number of input terminals.

第1入力制御レジスタ、第2入力制御レジスタに取り込む信号は、操作パネルスイッチ信号、FAX着呼信号、カバーセンサ信号、原稿センサ信号、無線LAN受信信号、タイマー信号などである。   The signals fetched into the first input control register and the second input control register are an operation panel switch signal, FAX incoming call signal, cover sensor signal, document sensor signal, wireless LAN reception signal, timer signal, and the like.

第1割り込み要因レジスタは、アドレス(100)に割り当てられた8bitのリードのみ可能なレジスタである。第1入力制御レジスタに反映される第1のI/O拡張デバイス30の入力0〜入力7のうちのいずれかの入力信号の状態が変化した際に対応するbitが”1”にセットされる。第1割り込み要因レジスタと後述の第2割り込み要因レジスタのいずれかのbitが”1”である場合に、第1のI/O拡張デバイス30はCPU11に対して集合割り込み信号を出力する。第1のI/O拡張デバイス30はCPU11からアドレス(100)に対するリード要求を受けると第1割り込み要因レジスタの値を返す。   The first interrupt factor register is an 8-bit read-only register assigned to the address (100). The corresponding bit is set to “1” when the state of any of the input signals 0 to 7 of the first I / O expansion device 30 reflected in the first input control register changes. . The first I / O expansion device 30 outputs a collective interrupt signal to the CPU 11 when any one of the first interrupt factor register and the second interrupt factor register described later is “1”. When the first I / O expansion device 30 receives a read request for the address (100) from the CPU 11, it returns the value of the first interrupt factor register.

第2割り込み要因レジスタは、アドレス(101)に割り当てられた8bitのリードのみ可能なレジスタである。第2入力制御レジスタに反映される第1のI/O拡張デバイス30の入力8、入力9のいずれかの入力信号の状態が変化した際に対応するbitが”1”にセットされる。前述した第1割り込み要因レジスタと第2割り込み要因レジスタのいずれかのbitが”1”である場合に、第1のI/O拡張デバイス30はCPU11に対して集合割り込み信号を出力する。第1のI/O拡張デバイス30はCPU11からアドレス(101)に対するリード要求を受けると第2割り込み要因レジスタの値を返す。   The second interrupt factor register is a register capable of only 8-bit reading assigned to the address (101). When the state of the input signal of either the input 8 or the input 9 of the first I / O expansion device 30 reflected in the second input control register is changed, the corresponding bit is set to “1”. The first I / O expansion device 30 outputs a collective interrupt signal to the CPU 11 when one of the bits of the first interrupt factor register and the second interrupt factor register described above is “1”. When the first I / O expansion device 30 receives a read request for the address (101) from the CPU 11, it returns the value of the second interrupt factor register.

第1割り込み要因クリアレジスタは、アドレス(110)に割り当てられた8bitのライトのみ可能なレジスタである。第1割り込み要因クリアレジスタは上記第1割り込み要因レジスタと対応しており、第1割り込み要因クリアレジスタの各bitに”1”がライトされたとき、対応する第1割り込み要因レジスタのbitが”0”にクリアされる。   The first interrupt factor clear register is a register capable of only 8-bit writing assigned to the address (110). The first interrupt factor clear register corresponds to the first interrupt factor register, and when “1” is written to each bit of the first interrupt factor clear register, the corresponding bit of the first interrupt factor register is “0”. Cleared to "".

第2割り込み要因クリアレジスタは、アドレス(111)に割り当てられた8bitのライトのみ可能なレジスタである。第2割り込み要因クリアレジスタは上記第2割り込み要因レジスタと対応しており、第2割り込み要因クリアレジスタの各bitに”1”がライトされたとき、対応する第2割り込み要因レジスタのbitが”0”にクリアされる。   The second interrupt factor clear register is a register capable of only 8-bit writing assigned to the address (111). The second interrupt factor clear register corresponds to the second interrupt factor register, and when “1” is written to each bit of the second interrupt factor clear register, the corresponding bit of the second interrupt factor register is “0”. Cleared to "".

次に、第1のI/O拡張デバイス30および第2のI/O拡張デバイス50の動作について説明する。   Next, operations of the first I / O expansion device 30 and the second I / O expansion device 50 will be described.

まず、画像形成装置10が通常状態からスリープ状態またはErP状態へ移行する場合について述べる。通常状態ではCPU11が第1のI/O拡張デバイス30と第2のI/O拡張デバイス50にライトアクセスできるため、スリープ状態・ErP状態の電源状態に合わせてCPU11が出力制御レジスタ33、53の各bitを書き換える。CPU11の電源制御用のbitを“0”にするとCPU11の電源がオフになるため、CPU11はこのbitを最後に“0”にして状態移行を完了させる。なお、第1のI/O拡張デバイス30、第2のI/O拡張デバイス50は、出力制御レジスタ33、53にCPU11がセットした値に基づいて装置の状態を認識する。   First, the case where the image forming apparatus 10 shifts from the normal state to the sleep state or the ErP state will be described. In the normal state, the CPU 11 can write-access the first I / O expansion device 30 and the second I / O expansion device 50. Therefore, the CPU 11 sets the output control registers 33 and 53 in accordance with the power state of the sleep state / ErP state. Rewrite each bit. When the power control bit of the CPU 11 is set to “0”, the power of the CPU 11 is turned off. Therefore, the CPU 11 finally sets this bit to “0” to complete the state transition. The first I / O expansion device 30 and the second I / O expansion device 50 recognize the state of the device based on the values set by the CPU 11 in the output control registers 33 and 53.

次に、スリープ状態・ErP状態時の動作および通常状態へ復帰する際の動作について説明する。   Next, the operation in the sleep state / ErP state and the operation in returning to the normal state will be described.

図7は、スリープ状態・ErP状態から通常状態へ状態遷移する場合の動作を示す流れ図であり、図8はそのときの動作シーケンスを示している。   FIG. 7 is a flowchart showing an operation when a state transition is made from the sleep state / ErP state to the normal state, and FIG. 8 shows an operation sequence at that time.

CPUが動作を停止させているスリープ状態またはErP状態において、第1のI/O拡張デバイス30に入力されているいずれかの入力信号の値が変化すると(図7;ステップS101、図8:P001)、第1のI/O拡張デバイス30の復帰条件判定部34は、この入力信号の変化によって画像形成装置10を通常状態に遷移させるか否かを判定する(図7;ステップS102、図8:P002)。   When the value of any input signal input to the first I / O expansion device 30 changes in the sleep state or ErP state in which the CPU stops operating (FIG. 7; step S101, FIG. 8: P001) ), The return condition determination unit 34 of the first I / O expansion device 30 determines whether or not to change the image forming apparatus 10 to the normal state by the change of the input signal (FIG. 7; Steps S102 and FIG. 8). : P002).

復帰条件判定部34は、現在の状態と変化した入力信号との組み合わせが、予め設定された組み合わせに該当するか否かを調べ、該当する場合は通常状態へ遷移すると判定する。   The return condition determination unit 34 checks whether or not the combination of the current state and the changed input signal corresponds to a preset combination, and determines that the state transitions to the normal state if applicable.

たとえば、画像形成装置10で用いている割り込み信号の中で、操作パネルスイッチ信号、FAX着呼信号、フロントカバーセンサ、スキャナカバーセンサ、原稿検知センサ、無線LAN受信信号、タイマー割り込み信号等が第1のI/O拡張デバイス30へ入力信号として入力されているものとする。各入力信号の値は第1のI/O拡張デバイス30の入力制御レジスタ32に反映される。   For example, among the interrupt signals used in the image forming apparatus 10, the operation panel switch signal, FAX incoming call signal, front cover sensor, scanner cover sensor, document detection sensor, wireless LAN reception signal, timer interrupt signal, etc. are the first. The I / O expansion device 30 is input as an input signal. The value of each input signal is reflected in the input control register 32 of the first I / O expansion device 30.

復帰条件判定部34は、どの状態のときにどの入力信号が状態遷移の起因として有効になるかを示す判定テーブルを持っている。復帰条件判定部34は、この判定テーブルから現在の状態で有効にされる入力信号を認識し、有効にされている入力信号の値が所定値に変化したとき、通常状態への状態遷移が必要と判定する。判定テーブルは、電源を落とされる前にCPU11が第1のI/O拡張デバイス30へ設定してもよいし、第1のI/O拡張デバイス30が予め固定値として保持してもよい。   The return condition determination unit 34 has a determination table indicating which input signal is valid as a cause of the state transition in which state. The return condition determination unit 34 recognizes an input signal that is enabled in the current state from the determination table, and when the value of the input signal that is enabled changes to a predetermined value, state transition to the normal state is necessary. Is determined. The CPU 11 may set the determination table in the first I / O expansion device 30 before the power is turned off, or the first I / O expansion device 30 may hold the fixed value in advance.

センサの電源がオフになると、センサからの信号は”0”(Low)となり、Lowアクティブな信号であった場合には、アクティブとなってしまう。そのため、復帰条件判定部34は、判定テーブルを参照して、有効なものを選別する。判定テーブルはスリープ状態とErP状態で異なる。たとえば、スリープ状態では、操作パネルスイッチ信号、FAX着呼信号、フロントカバーセンサ、スキャナカバーセンサ、原稿検知センサ、無線LAN受信信号、タイマー割り込み信号が有効にされ、ErP状態では、操作パネル18、タイマー割り込み信号のみが有効にされる。   When the sensor power is turned off, the signal from the sensor becomes “0” (Low), and when it is a low active signal, it becomes active. Therefore, the return condition determination unit 34 refers to the determination table and selects an effective one. The determination table is different between the sleep state and the ErP state. For example, in the sleep state, the operation panel switch signal, FAX incoming call signal, front cover sensor, scanner cover sensor, document detection sensor, wireless LAN reception signal, and timer interrupt signal are enabled. In the ErP state, the operation panel 18, timer Only interrupt signals are enabled.

復帰条件判定部34は、判定結果が、状態遷移ありの場合は(図7;ステップS102;Yes)、割り込み要因レジスタの中の、該判定結果の起因になった入力信号に対応するbitを”1”(アクティブな値)にセットする。これにより、第1のI/O拡張デバイス30からCPU11に対して集合割り込み信号が出力される(図7;ステップS103、図8;P003)。   When the determination result indicates that there is a state transition (FIG. 7; Step S102; Yes), the return condition determination unit 34 sets the bit corresponding to the input signal that caused the determination result in the interrupt factor register. Set to 1 ”(active value). As a result, a collective interrupt signal is output from the first I / O expansion device 30 to the CPU 11 (FIG. 7; step S103, FIG. 8; P003).

これと同時に、第1のI/O拡張デバイス30の復帰条件判定部34は、通常状態への状態遷移を示す状態通知信号を出力する(図7;ステップS104、図8;P004)。第2のI/O拡張デバイス50は、第1のI/O拡張デバイス30から到来する状態通知信号をノイズフィルタ回路55によってノイズを除去して受領する(図8;P101)。第1のI/O拡張デバイス30は、復帰条件判定部34から出力された状態通知信号を遅延回路35で遅延させた後、内部の各所(出力制御レジスタ33やシーケンス制御部36)に到達させる(図8;P005)。   At the same time, the return condition determination unit 34 of the first I / O expansion device 30 outputs a state notification signal indicating a state transition to the normal state (FIG. 7; step S104, FIG. 8; P004). The second I / O expansion device 50 receives the state notification signal arriving from the first I / O expansion device 30 by removing noise by the noise filter circuit 55 (FIG. 8; P101). The first I / O expansion device 30 causes the state notification signal output from the return condition determination unit 34 to be delayed by the delay circuit 35, and then reaches each internal location (the output control register 33 and the sequence control unit 36). (FIG. 8; P005).

これにより、第1のI/O拡張デバイス30と第2のI/O拡張デバイス50は同じタイミングで、遷移後の状態(ここでは、通常状態)に対応する動作を開始する。具体的には、第1のI/O拡張デバイス30、第2のI/O拡張デバイス50のそれぞれにおいて、出力制御レジスタ33、53の値を通常状態時の値に自律的に書き換える(図7;ステップS105、図8;P006、P102)。   Thereby, the first I / O expansion device 30 and the second I / O expansion device 50 start the operation corresponding to the state after the transition (here, the normal state) at the same timing. Specifically, in each of the first I / O expansion device 30 and the second I / O expansion device 50, the values of the output control registers 33 and 53 are autonomously rewritten to values in the normal state (FIG. 7). Step S105, FIG. 8; P006, P102).

第1のI/O拡張デバイス30は出力機能を持たないので、出力制御レジスタ33の値が書き換えられるのみである。一方、第2のI/O拡張デバイス50は、出力制御レジスタ53の値が通常状態の値に書き換えられると、それに伴って出力信号の値を変更する。この際、第2のI/O拡張デバイス50のシーケンス制御部56は、出力信号を変化させるタイミングや順序を制御する(図7;ステップS106)。   Since the first I / O expansion device 30 has no output function, only the value of the output control register 33 is rewritten. On the other hand, when the value of the output control register 53 is rewritten to the value in the normal state, the second I / O expansion device 50 changes the value of the output signal accordingly. At this time, the sequence control unit 56 of the second I / O expansion device 50 controls the timing and order of changing the output signal (FIG. 7; step S106).

具体的には、まず、CPU11以外のデバイスの電源をオンにするように該当の出力信号の値を変化させ(図8;P103)、その後、所定時間が経過し、それらのデバイスが立ち上がった後に、CPU11がオンするように、CPU11の電源制御用の出力信号の値を変化させる(図8;P104)。なお、CPU11の電源も他のデバイスと同時に立ち上げておき、他のデバイスの立ち上げが完了してから、CPU11のリセット信号を解除するように制御してもよい。すなわち、周辺デバイスが通常状態に立ち上がってからCPU11が動作するようになればよい。   Specifically, first, the value of the corresponding output signal is changed so as to turn on the power of devices other than the CPU 11 (FIG. 8; P103), and then after a predetermined time has elapsed and those devices have started up. Then, the value of the output signal for power control of the CPU 11 is changed so that the CPU 11 is turned on (FIG. 8; P104). Note that the CPU 11 may be controlled so that the power source of the CPU 11 is also started at the same time as another device, and the reset signal of the CPU 11 is canceled after the startup of the other device is completed. That is, the CPU 11 only needs to operate after the peripheral device has started up in the normal state.

動作を開始したCPU11は、集合割り込み信号を検知する(図7;ステップS107、図8;P201)。そして、CPU11は、第1のI/O拡張デバイス30の割り込み要因レジスタをリードする(図7;ステップS108、図8;P202、P007)。   The CPU 11 that has started the operation detects the collective interrupt signal (FIG. 7; step S107, FIG. 8; P201). Then, the CPU 11 reads the interrupt factor register of the first I / O expansion device 30 (FIG. 7; step S108, FIG. 8; P202, P007).

CPU11は、割り込み要因レジスタのいずれかのビットが”1”(アクティブ)か否かを判断し(図7;ステップS109)、いずれかのビットが”1”ならば(ステップS109;Yes)、該”1”になっているビットから割り込み要因を特定する。   The CPU 11 determines whether any bit of the interrupt factor register is “1” (active) (FIG. 7; step S109). If any bit is “1” (step S109; Yes), the CPU 11 The interrupt factor is identified from the bit that is “1”.

次に、CPU11は第1のI/O拡張デバイス30の入力制御レジスタ32の値をリードする(図7;ステップS110、図8;P203、P008)。そして、リードした入力制御レジスタ32の値に対応した処理を実行した後、対応する割り込み要因クリアレジスタに”1”を書き込んで、割り込み要因レジスタを”0”にクリアする(図7;ステップS111、図8;P204、P205、P009)。   Next, the CPU 11 reads the value of the input control register 32 of the first I / O expansion device 30 (FIG. 7; step S110, FIG. 8; P203, P008). Then, after executing the processing corresponding to the read value of the input control register 32, “1” is written to the corresponding interrupt factor clear register and the interrupt factor register is cleared to “0” (FIG. 7; step S111, FIG. 8; P204, P205, P009).

前述したようにCPU11以外の周辺デバイスはCPU11より先に立ち上がっているので、CPU11が入力制御レジスタ32の値をリードするときには、周辺デバイスは立ち上がっており、周辺デバイスが有するセンサ等の値を正しく入力することができる。たとえば、センサが立ち上がる前にCPU11が入力制御レジスタ32の値をリードした場合、その入力値は誤った値になってしまう。しかし、前述したシーケンスで立ち上げることにより、そのような誤入力は回避される。   As described above, since the peripheral devices other than the CPU 11 have risen before the CPU 11, when the CPU 11 reads the value of the input control register 32, the peripheral device has risen and correctly inputs the values of the sensors and the like possessed by the peripheral device. can do. For example, if the CPU 11 reads the value of the input control register 32 before the sensor starts up, the input value becomes an incorrect value. However, such erroneous input is avoided by starting up with the sequence described above.

なお、図6に示すレジスタ構成では、第1割り込み要因レジスタと第2割り込み要因レジスタの2つがあるので、それぞれの割り込み要因レジスタについて、図7のステップS109からS111の処理(図8のP202からP205、P007からP009)を実行する。   In the register configuration shown in FIG. 6, since there are two interrupt factor registers, the first interrupt factor register and the second interrupt factor register, the processing of steps S109 to S111 in FIG. 7 (P202 to P205 in FIG. 8) is performed for each interrupt factor register. , P007 to P009).

具体例を示す。図5に示した、図7のステップS101において、第1のI/O拡張デバイス30の入力4の入力信号の状態が変化したとする。ここで入力4の入力信号は画像形成装置10のフロントカバーの開閉を検知するセンサからの検出信号とする。   A specific example is shown. Assume that the state of the input signal at the input 4 of the first I / O expansion device 30 has changed in step S101 of FIG. 7 shown in FIG. Here, the input signal of input 4 is a detection signal from a sensor that detects opening and closing of the front cover of the image forming apparatus 10.

入力4の入力信号の状態が変化すると、割り込み要因レジスタ1のbit4が”1”になり、CPU11に対して集合割り込みが出力される(ステップS103)。また、第2のI/O拡張デバイス50への状態通知信号が通常状態を表す値(スリープ通知信号”0”、ErP通知信号”0”)に変更される。   When the state of the input signal of the input 4 changes, the bit 4 of the interrupt factor register 1 becomes “1”, and a collective interrupt is output to the CPU 11 (step S103). In addition, the state notification signal to the second I / O expansion device 50 is changed to a value indicating the normal state (sleep notification signal “0”, ErP notification signal “0”).

第2のI/O拡張デバイス50は、状態通知信号が通常状態を示したことを受け、出力制御レジスタ53の値を通常状態時の値に書き換え、シーケンス制御部56によってタイミングを制御しながら、出力制御レジスタ53の値に対応する出力信号を出力して、各デバイスの電源をオンにする。値を書き換えるシーケンスは、各デバイスに規定された順番や待ち合わせ時間を満たすように行う。どのデバイスの電源をオンにするか(通常状態時に対応する出力制御レジスタ33の値)は、予め第2のI/O拡張デバイス50の内部に初期値として保存されていても良いし、CPU11が電源オフされる直前の各デバイスの電源状態を表すレジスタ値を保持しておいても良い。   The second I / O expansion device 50 receives the fact that the state notification signal indicates the normal state, rewrites the value of the output control register 53 to the value in the normal state, and controls the timing by the sequence control unit 56. An output signal corresponding to the value of the output control register 53 is output to turn on the power of each device. The sequence for rewriting values is performed so as to satisfy the order and waiting time defined for each device. Which device is turned on (the value of the output control register 33 corresponding to the normal state) may be stored in advance in the second I / O expansion device 50 as an initial value, or the CPU 11 A register value representing the power state of each device immediately before the power is turned off may be held.

電源がオンにされたCPU11は、集合割り込みを検出すると、第1割り込み要因レジスタおよび第2割り込み要因レジスタのリードを行い、どの入力信号が変化したかを特定する。ここでは、入力4の入力信号を特定する。特定後、該入力4に対応する第1入力制御レジスタをリードして、現時点で、入力4の入力信号が”0”と”1”のどちらの状態にあるかを確認する。確認後、対応した処理を行い、最後に第1割り込み要因クリアレジスタのbit4に”1”をライトすることによって割り込み要因をクリアする。この例の場合、フロントカバー開閉センサが割り込み要因であったので、CPU11は、操作パネル18に「フロントカバーが開いています」といった表示を行う。   When the power source is turned on, the CPU 11, when detecting the collective interrupt, reads the first interrupt factor register and the second interrupt factor register to identify which input signal has changed. Here, the input signal of the input 4 is specified. After the specification, the first input control register corresponding to the input 4 is read to check whether the input signal of the input 4 is currently in the “0” or “1” state. After confirmation, the corresponding processing is performed, and finally the interrupt factor is cleared by writing “1” to bit 4 of the first interrupt factor clear register. In this example, since the front cover opening / closing sensor is an interrupt factor, the CPU 11 displays on the operation panel 18 “front cover is open”.

このように、CPU11が停止中に生じた状態の変化を状態通知信号によって一のI/O拡張デバイス30から他のI/O拡張デバイス50に通知するので、各I/O拡張デバイス30、50で管理している状態を、CPU11の介在なしに一致させ、これら複数のI/O拡張デバイス30、50の動作をCPU11の介在なしに整合させることができる。   As described above, since the change in state that occurs while the CPU 11 is stopped is notified from one I / O expansion device 30 to another I / O expansion device 50 by the state notification signal, each I / O expansion device 30, 50 is notified. The states managed in (1) can be matched without the intervention of the CPU 11, and the operations of the plurality of I / O expansion devices 30, 50 can be matched without the intervention of the CPU 11.

また、状態通知信号として使用する信号線の本数を必要最小本数としているので、実際のI/O拡張のために使用可能な端子数の減少を最小限にすることができる。   In addition, since the number of signal lines used as the status notification signal is set to the minimum necessary number, a decrease in the number of terminals that can be used for actual I / O expansion can be minimized.

CPU11を通常状態へ復帰させる際に、CPU以外の周辺デバイスを通常状態に復帰させてから、CPU11が動作するようにしたので、立ち上がった直後のCPU11が未通電のセンサの値を誤入力するといった事態が回避される。   When the CPU 11 is returned to the normal state, the peripheral device other than the CPU is returned to the normal state and then the CPU 11 is operated. Therefore, the CPU 11 immediately after starting up erroneously inputs the value of the non-energized sensor. The situation is avoided.

また、第2のI/O拡張デバイス50は、ノイズフィルタ回路55を通じて状態通知信号のノイズを除去するので、基板上のノイズで誤動作することがない。さらに、第1のI/O拡張デバイス30は、第2のI/O拡張デバイス50のノイズフィルタ回路55で生じる遅延時間と同じ遅延時間の遅延回路35を通じて状態通知信号を自デバイス内の各部へ通知するので、遷移後の状態に対応した動作の実行を開始するタイミングを、第1のI/O拡張デバイス30と第2のI/O拡張デバイス50で一致させることができる。   Further, since the second I / O expansion device 50 removes the noise of the status notification signal through the noise filter circuit 55, it does not malfunction due to noise on the substrate. Further, the first I / O expansion device 30 sends the status notification signal to each part in the device through the delay circuit 35 having the same delay time as the delay time generated in the noise filter circuit 55 of the second I / O expansion device 50. Therefore, the first I / O expansion device 30 and the second I / O expansion device 50 can coincide with each other at the timing of starting the execution of the operation corresponding to the state after the transition.

また、第1のI/O拡張デバイス30と第2のI/O拡張デバイス50のレジスタ構成を共通とし、第1のI/O拡張デバイス30と第2のI/O拡張デバイス50の機能に応じて、レジスタと入出力端子とを接続する接続回路を相違させたので、第1のI/O拡張デバイス30および第2のI/O拡張デバイス50の設計工数が削減される。   Further, the register configuration of the first I / O expansion device 30 and the second I / O expansion device 50 is made common, and the functions of the first I / O expansion device 30 and the second I / O expansion device 50 are used. Accordingly, since the connection circuit for connecting the register and the input / output terminal is made different, the design man-hours of the first I / O expansion device 30 and the second I / O expansion device 50 are reduced.

また、CPU11からのリードアクセスに対しては入力機能を割り当てられた第1のI/O拡張デバイス30のみが応答を返すようにしたので、CPU11からは見掛け上1つのデバイスのみが接続されている状態と等価になり、バスアクセスの整合性を保つことができる。   Further, only the first I / O expansion device 30 to which the input function is assigned returns a response to the read access from the CPU 11, so that only one device apparently is connected from the CPU 11. This is equivalent to a state, and consistency of bus access can be maintained.

以上、本発明の実施の形態を図面によって説明してきたが、具体的な構成は実施の形態に示したものに限られるものではなく、本発明の要旨を逸脱しない範囲における変更や追加があっても本発明に含まれる。   The embodiment of the present invention has been described with reference to the drawings. However, the specific configuration is not limited to that shown in the embodiment, and there are changes and additions within the scope of the present invention. Are also included in the present invention.

実施の形態では、I/O拡張デバイス群が、第1のI/O拡張デバイス30と第2のI/O拡張デバイス50で構成される例を示したが、3以上のI/O拡張デバイスで構成されてもかまわない。   In the embodiment, the example in which the I / O expansion device group includes the first I / O expansion device 30 and the second I / O expansion device 50 has been described. However, three or more I / O expansion devices are included. It may be composed of

また、複数のI/O拡張デバイスが入力機能を担う、あるいは、複数のI/O拡張デバイスが出力機能を担うように構成されてもよい。さらには、I/O拡張デバイス群を構成する中の一のI/O拡張デバイスが入力機能と出力機能の双方を備えてもよい。入力機能が複数のI/O拡張デバイスに分散される場合、いずれのデバイスがCPUバスにデータを出力するかをアドレス毎に排他的に割り振るようにすればよい。   Further, a plurality of I / O expansion devices may be configured to have an input function, or a plurality of I / O expansion devices may be configured to have an output function. Furthermore, one I / O expansion device in the I / O expansion device group may have both an input function and an output function. When the input function is distributed to a plurality of I / O expansion devices, it is sufficient to exclusively allocate which device outputs data to the CPU bus for each address.

さらには、CPU11の1つのチャンネルに複数のI/O拡張デバイスを接続する例を示したが、複数のI/O拡張デバイスの接続に複数のチャンネルを使用する構成についても本発明は適用される。すなわち、複数のチャンネルを使用する場合でも、状態通知信号によってCPUの介在なしに状態を一致させることは、複数のI/O拡張デバイスを使用する場合に有効である。   Furthermore, although the example which connects a some I / O expansion device to one channel of CPU11 was shown, this invention is applied also to the structure which uses a some channel for the connection of a some I / O expansion device. . That is, even when a plurality of channels are used, it is effective to match the states without intervention of the CPU by the state notification signal when using a plurality of I / O expansion devices.

実施の形態では、I/O拡張デバイスをCPDLで作成した例を示したが、これに限定されるものではない。また、I/O拡張デバイスの使用される装置は画像形成装置10に限定されない。また、状態は、装置の電源状態に限定されるものではない。   In the embodiment, the example in which the I / O expansion device is created by CPDL is shown, but the present invention is not limited to this. Further, the apparatus in which the I / O expansion device is used is not limited to the image forming apparatus 10. Further, the state is not limited to the power state of the apparatus.

実施の形態では、スリープ状態、ErP状態から通常状態へ状態遷移する場合を例示したが、復帰条件判定部34が判定する状態遷移の遷移先は、通常状態に限定されるものではない。   In the embodiment, the case where the state transition is performed from the sleep state and the ErP state to the normal state is illustrated, but the transition destination of the state transition determined by the return condition determination unit 34 is not limited to the normal state.

10…画像形成装置
11…CPU
12…第1の不揮発メモリ
13…第2の不揮発メモリ
14…RAM
15…ハードディスク装置
16…自動原稿搬送部
17…画像読取部
18…操作パネル
19…画像処理部
21…プリンタ部
22…ネットワーク通信部
23…ファクシミリ通信部
24…電源制御部
30…第1のI/O拡張デバイス
31…バスインターフェイス部
32…入力制御レジスタ
33…出力制御レジスタ
34…復帰条件判定部
35…遅延回路
36…シーケンス制御部
50…第2のI/O拡張デバイス
51…バスインターフェイス部
52…入力制御レジスタ
53…出力制御レジスタ
54…復帰条件判定部
55…ノイズフィルタ回路
56…シーケンス制御部
DESCRIPTION OF SYMBOLS 10 ... Image forming apparatus 11 ... CPU
DESCRIPTION OF SYMBOLS 12 ... 1st non-volatile memory 13 ... 2nd non-volatile memory 14 ... RAM
DESCRIPTION OF SYMBOLS 15 ... Hard disk apparatus 16 ... Automatic document conveyance part 17 ... Image reading part 18 ... Operation panel 19 ... Image processing part 21 ... Printer part 22 ... Network communication part 23 ... Facsimile communication part 24 ... Power supply control part 30 ... 1st I / O expansion device 31 ... bus interface unit 32 ... input control register 33 ... output control register 34 ... return condition determination unit 35 ... delay circuit 36 ... sequence control unit 50 ... second I / O expansion device 51 ... bus interface unit 52 ... Input control register 53 ... Output control register 54 ... Return condition determination unit 55 ... Noise filter circuit 56 ... Sequence control unit

Claims (7)

所定の装置の動作を制御するCPUに接続され、前記装置の所定の部品から入力される入力信号の値を前記CPUが読み取り可能な入力レジスタに設定する入力機能を有する第1のI/O拡張デバイスと、前記CPUに接続され、前記CPUによって出力レジスタに設定された値に応じた出力信号を前記装置の所定の部品へ出力する出力機能を有する第2のI/O拡張デバイスとを含むI/O拡張デバイス群であって、
前記第1のI/O拡張デバイスは、入力信号の値が変化したとき、該変化に基づいて前記装置の状態を遷移させるか否かを判定し、遷移させると判定した場合は、遷移先の状態を示す状態通知信号を前記第2のI/O拡張デバイスに出力し、
前記状態通知信号を受けた前記第2のI/O拡張デバイスは、前記状態通知信号で通知された前記遷移先の状態に応じて前記出力信号の値を変更し、
前記第2のI/O拡張デバイスは、前記第1のI/O拡張デバイスから受けた前記状態通知信号に含まれるノイズを除去するノイズフィルタ回路を有し、
前記第1のI/O拡張デバイスは、前記状態通知信号を出力してから前記ノイズフィルタ回路で生じる遅延時間と等しい遅延時間が経過したときに、自デバイスの内部状態を前記状態通知信号で通知した前記遷移先の状態に遷移させる
ことを特徴とするI/O拡張デバイス群。
A first I / O extension connected to a CPU for controlling the operation of a predetermined device and having an input function for setting an input signal value input from a predetermined component of the device in an input register readable by the CPU An I / O expansion device including a device and a second I / O expansion device connected to the CPU and having an output function for outputting an output signal corresponding to a value set in an output register by the CPU to a predetermined component of the device; / O expansion device group,
When the value of the input signal changes, the first I / O expansion device determines whether to change the state of the device based on the change. Outputting a status notification signal indicating a status to the second I / O expansion device;
The second I / O expansion device that has received the state notification signal changes the value of the output signal according to the state of the transition destination notified by the state notification signal ,
The second I / O expansion device has a noise filter circuit that removes noise included in the state notification signal received from the first I / O expansion device;
The first I / O expansion device notifies the internal state of the device by the state notification signal when a delay time equal to the delay time generated in the noise filter circuit has elapsed since the output of the state notification signal. A group of I / O expansion devices , wherein a transition is made to the transition destination state .
前記状態通知信号は、前記装置の電源状態を通知し、
前記第1のI/O拡張デバイスと前記第2のI/O拡張デバイスとの間で前記状態通知信号の伝送に使用される信号線の数は、前記CPUが動作を停止させているときに前記装置が取り得る省電力状態の種類の数に応じた最小数にされる
ことを特徴とする請求項1に記載のI/O拡張デバイス群。
The status notification signal notifies the power status of the device,
The number of signal lines used for transmitting the status notification signal between the first I / O expansion device and the second I / O expansion device is determined when the CPU stops operating. The I / O expansion device group according to claim 1, wherein the number of I / O expansion devices is set to a minimum number corresponding to the number of types of power saving states that can be taken by the apparatus.
前記第2のI/O拡張デバイスは、前記遷移先の状態が、前記CPUが停止状態から復旧して動作する通常状態である場合には、前記第のI/O拡張デバイスから受けた前記状態通知信号に従って出力信号の値を変更する際に、前記CPU以外の所定の部品に対する出力信号を通常状態時の値に変更した後に、前記CPUを前記通常状態に復旧させるための出力信号の値を変更する
ことを特徴とする請求項1または2に記載のI/O拡張デバイス群。
The second I / O expansion device receives the first I / O expansion device received from the first I / O expansion device when the state of the transition destination is a normal state in which the CPU recovers from the stopped state and operates. When changing the value of the output signal in accordance with the state notification signal, the value of the output signal for restoring the CPU to the normal state after changing the output signal for a predetermined component other than the CPU to the value in the normal state The I / O expansion device group according to claim 1, wherein the I / O expansion device group is changed.
前記第1のI/O拡張デバイスと前記第2のI/O拡張デバイスは、出力レジスタおよび入力レジスタの構成は同一であり、それぞれの役割に合わせて、出力レジスタと出力端子を接続する接続回路および入力端子と入力レジスタを接続する接続回路が構成されている
ことを特徴とする請求項1乃至のいずれか1つに記載のI/O拡張デバイス群。
The first I / O expansion device and the second I / O expansion device have the same configuration of the output register and the input register, and a connection circuit that connects the output register and the output terminal according to their roles The I / O expansion device group according to any one of claims 1 to 3 , wherein a connection circuit that connects the input terminal and the input register is configured.
所定の装置の動作を制御するCPUによって出力レジスタに設定された値に応じた出力信号を前記装置の所定の部品へ出力する出力機能を有する他のI/O拡張デバイスと共に前記CPUに接続されるI/O拡張デバイスであって、
前記装置の所定の部品から入力される入力信号の値を前記CPUが読み取り可能な入力レジスタに設定する入力機能を有し、
入力信号の値が変化したとき、該変化に基づいて前記装置の状態を遷移させるか否かを判定し、遷移させると判定した場合は、遷移先の状態を示す状態通知信号を前記他のI/O拡張デバイスに出力すると共に、該状態通知信号を出力してから、前記状態通知信号に含まれるノイズを除去するために前記他のI/O拡張デバイスが有するノイズフィルタ回路で生じる遅延時間と等しい遅延時間が経過したときに、自デバイスの内部状態を前記状態通知信号で通知した前記遷移先の状態に変更し、
前記状態通知信号を受けた前記他のI/O拡張デバイスでは、前記状態通知信号で通知された状態に応じて前記出力信号の値が変更される
ことを特徴とするI/O拡張デバイス。
Connected to the CPU together with another I / O expansion device having an output function for outputting an output signal corresponding to a value set in an output register by a CPU that controls the operation of the predetermined device to a predetermined component of the device An I / O expansion device,
An input function for setting the value of an input signal input from a predetermined part of the device in an input register readable by the CPU;
When the value of the input signal changes, it is determined whether or not to change the state of the device based on the change, and when it is determined that the state is to be changed, a state notification signal indicating the state of the transition destination is sent to the other I A delay time generated in a noise filter circuit included in the other I / O expansion device in order to remove noise included in the state notification signal after outputting the state notification signal. When an equal delay time has elapsed, the internal state of the device is changed to the state of the transition destination notified by the state notification signal,
In the other I / O expansion device that has received the state notification signal, the value of the output signal is changed according to the state notified by the state notification signal.
前記状態通知信号は、前記装置の電源状態を通知し、
前記I/O拡張デバイスと前記他のI/O拡張デバイスとの間で前記状態通知信号の伝送に使用される信号線の数は、前記CPUが動作を停止させているときに前記装置が取り得る省電力状態の種類の数に応じた最小数にされる
ことを特徴とする請求項5に記載のI/O拡張デバイス。
The status notification signal notifies the power status of the device,
The number of signal lines used for transmission of the status notification signal between the I / O expansion device and the other I / O expansion device is determined by the apparatus when the CPU stops operating. The I / O expansion device according to claim 5, wherein the I / O expansion device is set to a minimum number corresponding to the number of types of power saving states to be obtained.
前記I/O拡張デバイスと前記他のI/O拡張デバイスは、出力レジスタおよび入力レジスタの構成は同一であり、それぞれの役割に合わせて、出力レジスタと出力端子を接続する接続回路および入力端子と入力レジスタを接続する接続回路が構成されている
ことを特徴とする請求項5または6に記載のI/O拡張デバイス。
The I / O expansion device and the other I / O expansion device have the same configuration of the output register and the input register, and according to their roles, a connection circuit and an input terminal for connecting the output register and the output terminal, The I / O expansion device according to claim 5 or 6 , wherein a connection circuit for connecting the input register is configured.
JP2013166797A 2013-08-09 2013-08-09 I / O expansion device group and I / O expansion device Active JP6160822B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013166797A JP6160822B2 (en) 2013-08-09 2013-08-09 I / O expansion device group and I / O expansion device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013166797A JP6160822B2 (en) 2013-08-09 2013-08-09 I / O expansion device group and I / O expansion device

Publications (2)

Publication Number Publication Date
JP2015035177A JP2015035177A (en) 2015-02-19
JP6160822B2 true JP6160822B2 (en) 2017-07-12

Family

ID=52543632

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013166797A Active JP6160822B2 (en) 2013-08-09 2013-08-09 I / O expansion device group and I / O expansion device

Country Status (1)

Country Link
JP (1) JP6160822B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11345191A (en) * 1998-06-01 1999-12-14 Mitsubishi Electric Corp Device for inputting and outputting data and method therefor
JP3583683B2 (en) * 2000-03-23 2004-11-04 株式会社東芝 Micro control unit and control method thereof
JP3983026B2 (en) * 2001-10-22 2007-09-26 シャープ株式会社 Information processing device
JP2003188793A (en) * 2001-12-14 2003-07-04 Toshiba Corp System lsi and mobile communication terminal
JP2003241862A (en) * 2002-02-21 2003-08-29 Toshiba Corp Information processing system and its state transition control method
JP5324340B2 (en) * 2009-06-29 2013-10-23 ルネサスエレクトロニクス株式会社 Microcomputer
JP5834438B2 (en) * 2011-03-24 2015-12-24 富士通株式会社 Printer and power supply control method thereof
JP6112412B2 (en) * 2013-07-11 2017-04-12 コニカミノルタ株式会社 I / O control circuit and synchronization control method in I / O control circuit

Also Published As

Publication number Publication date
JP2015035177A (en) 2015-02-19

Similar Documents

Publication Publication Date Title
NL2007975C2 (en) Information processing apparatus capable of appropriately executing shutdown processing, method of controlling the information processing apparatus, and storage medium.
JP4841533B2 (en) Image reading device
US20170336852A1 (en) Image forming apparatus, control method of image forming apparatus, and program
JP2012155533A (en) Information processing apparatus, control method thereof, and control program
US20150262050A1 (en) Image forming apparatus, control method of the same, and storage medium
CN109905561B (en) Information processing apparatus, control method for information processing apparatus, and storage medium
KR101596095B1 (en) Printing apparatus and recording medium
US20160006895A1 (en) Image forming apparatus, control method for the image forming apparatus and medium
JP2014138342A (en) Image forming device
JP6160822B2 (en) I / O expansion device group and I / O expansion device
US10747163B2 (en) Printing apparatus, method for controlling same, and storage medium
JP2012051246A (en) Image processor, control method of image processor, control program of image processor, and recording medium
US20060215213A1 (en) Printing device and print control method
US20180120925A1 (en) Data processing apparatus, method of controlling data processing apparatus, and recording medium
US11435949B2 (en) Information processing apparatus and method for calculating a data size estimated to be written to a storage based on a write data size
JP5335469B2 (en) Image forming apparatus and control method thereof
US11327769B2 (en) Control device, image forming apparatus, and start-up method thereof
US10956090B2 (en) Memory system and electronic apparatus
JP2017068790A (en) Control device and control method
JP7404932B2 (en) Information processing device and program
JP2006325260A (en) Image forming system
JP2012098794A (en) Storage device and image formation device
JP5793986B2 (en) Image forming apparatus and information processing apparatus
JP6699428B2 (en) Electronic device and image processing device
US20110075169A1 (en) Printing apparatus, printing apparatus control method, and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160419

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170308

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170428

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170530

R150 Certificate of patent or registration of utility model

Ref document number: 6160822

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150