JP2013242811A - Information processing apparatus, and abnormality processing method - Google Patents

Information processing apparatus, and abnormality processing method Download PDF

Info

Publication number
JP2013242811A
JP2013242811A JP2012116991A JP2012116991A JP2013242811A JP 2013242811 A JP2013242811 A JP 2013242811A JP 2012116991 A JP2012116991 A JP 2012116991A JP 2012116991 A JP2012116991 A JP 2012116991A JP 2013242811 A JP2013242811 A JP 2013242811A
Authority
JP
Japan
Prior art keywords
information processing
abnormality
unit
control unit
processing unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2012116991A
Other languages
Japanese (ja)
Inventor
Masayuki Yabuuchi
雅征 薮内
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2012116991A priority Critical patent/JP2013242811A/en
Publication of JP2013242811A publication Critical patent/JP2013242811A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an image forming apparatus capable of reducing down time of the entire system when abnormality is detected in any of a plurality of CPUs.SOLUTION: An information processing apparatus comprises a plurality of information processing units, and includes: a processor; a detection unit that detects abnormality of software; a restarting unit that restarts a processor that executes the software whose abnormality was detected; an error notification unit that notifies, when abnormality of the software is detected, other information processing apparatuses of the occurrence of abnormality; an error measurement unit that measures abnormality determination value indicating the degree of abnormality of the software; a determination value acquisition unit that acquires an abnormality determination value measured in the information processing unit whose abnormality was detected; a restoration determination unit that determines whether or not to restore the information processing unit whose abnormality was detected by comparing the acquired abnormality determination value with a predetermined threshold value; and a restart instruction unit that instructs, when the information processing unit is determined to be restored, a restart unit of the information processing unit whose abnormality was detected to restart the processor.

Description

本発明は、ソフトウェアの暴走を検出することが可能な複数の情報処理部を有する情報処理装置に関する。   The present invention relates to an information processing apparatus having a plurality of information processing units capable of detecting software runaway.

最近の画像形成装置においては、1つの機器に複数のCPUが搭載され、各CPUが制御対象の各機能を他のCPUと協調しながら制御することで機器全体の性能の向上を図るマルチプロセッサ技術が採用されている。各CPUは、それぞれ特定の処理を受け持ち、統合管理用のCPUとデータ通信することで全体的な制御構成が実現されている(例えば、特許文献1参照。)。   In recent image forming apparatuses, a multi-processor technology in which a plurality of CPUs are mounted on one device, and each CPU controls each function to be controlled in cooperation with another CPU, thereby improving the performance of the entire device. Is adopted. Each CPU is responsible for specific processing, and an overall control configuration is realized by data communication with the CPU for integrated management (see, for example, Patent Document 1).

特許文献1には、複数のプロセッサが管理プロセッサによって管理され、バス制御装置によって共有メモリへのアクセスが制御されるマルチプロセッサシステムに関して、あるプロセッサで障害が発生したとき、障害発生に至るまでの全プロセッサの連携動作を記録しておくマルチプロセッサが開示されている。   Patent Document 1 discloses a multiprocessor system in which a plurality of processors are managed by a management processor, and access to the shared memory is controlled by a bus control device. A multiprocessor for recording the cooperative operation of processors is disclosed.

そして、特許文献1では、不具合に対応するため障害時の情報を記憶しておくために、各プロセッサは、障害を検出した時、自己の走行履歴情報の収集を停止すると共に他のプロセッサへ障害検出を通知する。各プロセッサは、自己の走行履歴情報の収集を停止した後、走行履歴情報を共有メモリ以外に設けた不揮発性メモリに格納する。   And in patent document 1, in order to memorize | store the information at the time of a failure in order to cope with a malfunction, when each processor detects a failure, it stops collection of its own travel history information, and other processors are troubled. Notify detection. Each processor stops collecting its own travel history information, and then stores the travel history information in a non-volatile memory provided in addition to the shared memory.

しかしながら、複数のCPUを搭載した機器では、CPUの数が増える分、不具合が生じる頻度が高くなるおそれがある。一般的なCPUにはソフトウェアの暴走を監視するためにウォッチドッグタイマなどの監視機能が搭載されており、ソフトウェアの暴走時にはCPUを自動的にリセットすることで、復帰させることができる。しかし、複数のCPUが搭載された画像形成装置において、CPUのいずれか1つに不具合が検出された場合に、不具合が検出されたCPUだけをリセットしてもそのままでは印刷を再開することは困難である。   However, in a device equipped with a plurality of CPUs, there is a possibility that the frequency of occurrence of defects increases as the number of CPUs increases. A general CPU is equipped with a monitoring function such as a watchdog timer in order to monitor software runaway, and can be restored by automatically resetting the CPU during software runaway. However, in an image forming apparatus equipped with a plurality of CPUs, if a failure is detected in any one of the CPUs, it is difficult to resume printing without resetting only the CPU in which the failure is detected. It is.

例えば、CPU1が紙送りを制御し、別のCPU2が定着装置を制御している場合において、CPU1の不具合が検出された場合に、CPU2は定着装置を止めるべきなのか定着工程を継続すべきなのかを判断できない。定着装置は高温になるため、CPU2には不具合がなくても一般には定着装置を停止させることが好ましい。よって、システムの全体をリセットした後で、正常であることが確認された後に、画像形成装置は最初から印刷を再開する。このように各CPUをリセットすると、復帰するまでの間、システム全体がダウンしてしまい、何も動作させることが出来ないという問題がある。   For example, when the CPU 1 controls the paper feed and the other CPU 2 controls the fixing device, when a malfunction of the CPU 1 is detected, the CPU 2 should continue the fixing process to stop the fixing device. I can't judge. Since the fixing device is at a high temperature, it is generally preferable to stop the fixing device even if there is no problem with the CPU 2. Therefore, after confirming that the system is normal after resetting the entire system, the image forming apparatus restarts printing from the beginning. If each CPU is reset in this way, there is a problem that the entire system goes down until it returns, and nothing can be operated.

複数のCPUが搭載された場合に、不具合の検出されたCPU又はそのCPUが搭載された情報処理部のみをリセットすることで、画像形成装置が印刷を再開するには、不具合が検出されたCPUの状況を他のCPUが把握するなどの制御が必要になる。   In the case where a plurality of CPUs are mounted, the CPU in which the defect is detected in order for the image forming apparatus to resume printing by resetting only the CPU in which the defect is detected or the information processing unit in which the CPU is mounted. It is necessary to control such that other CPUs grasp the situation.

本発明は上記課題に鑑み、複数のCPUのいずれかに異常が検出された場合に、システム全体のダウンタイムを低減できる情報処理装置を提供することを目的とする。   In view of the above problems, an object of the present invention is to provide an information processing apparatus that can reduce downtime of the entire system when an abnormality is detected in any of a plurality of CPUs.

上述した課題を解決し、目的を達成するために、本発明は、複数の情報処理部を備える情報処理装置であって、前記情報処理部は、ソフトウェアを実行するプロセッサと、前記ソフトウェアの異常を検出する検出部と、異常を検出した前記ソフトウェアを再起動する再起動部と、前記ソフトウェアの異常が検出された場合に、他の前記情報処理部へ異常の発生を通知するエラー通知部と、前記ソフトウェアの異常度合いを示す異常判定値を計測するエラー計測部と、前記異常の検出された前記情報処理部において計測された前記異常判定値を取得する判定値取得部と、取得した前記異常判定値と、予め定められたしきい値とを比較することにより、前記異常の検出された前記情報処理部を復旧させるか否かを判定する復旧判定部と、復旧させると判定された場合に、前記異常の発生した前記情報処理部の前記再起動部に前記ソフトウェアを再起動させる旨指示する再起動指示部と、を特徴とする。   In order to solve the above-described problems and achieve the object, the present invention provides an information processing apparatus including a plurality of information processing units, the information processing unit including a processor that executes software and an abnormality of the software. A detection unit that detects, a restart unit that restarts the software that has detected an abnormality, and an error notification unit that notifies the other information processing unit of the occurrence of an abnormality when an abnormality of the software is detected, An error measurement unit that measures an abnormality determination value indicating the degree of abnormality of the software, a determination value acquisition unit that acquires the abnormality determination value measured in the information processing unit in which the abnormality is detected, and the acquired abnormality determination A restoration determination unit that determines whether or not to restore the information processing unit in which the abnormality is detected by comparing a value with a predetermined threshold value; And when it is determined, characterized by a restart instruction unit for instructing that to restart the software to the restart of the information processing unit generated the anomaly.

本発明によれば、複数のCPUのいずれかに異常が検出された場合に、システム全体のダウンタイムを低減することができる。   According to the present invention, when an abnormality is detected in any of a plurality of CPUs, the downtime of the entire system can be reduced.

図1は、実施形態の画像形成装置の全体構成図である。FIG. 1 is an overall configuration diagram of an image forming apparatus according to an embodiment. 図2は、画像形成装置の制御系のブロック図である。FIG. 2 is a block diagram of a control system of the image forming apparatus. 図3は、実施形態の調停回路の構成図である。FIG. 3 is a configuration diagram of an arbitration circuit according to the embodiment. 図4は、実施形態の調停回路の構成図である。FIG. 4 is a configuration diagram of an arbitration circuit according to the embodiment. 図5は、実施形態の調停回路の構成図である。FIG. 5 is a configuration diagram of the arbitration circuit of the embodiment. 図6は、実施形態の調停回路の構成図である。FIG. 6 is a configuration diagram of an arbitration circuit according to the embodiment. 図7は、実施形態の異常発生時の処理の流れを示すシーケンス図である。FIG. 7 is a sequence diagram illustrating a processing flow when an abnormality occurs according to the embodiment. 図8は、実施形態の動作決定テーブルの一例を示す図である。FIG. 8 is a diagram illustrating an example of the operation determination table according to the embodiment. 図9は、実施形態の自己診断処理の流れを示すフロー図である。FIG. 9 is a flowchart showing a flow of self-diagnosis processing of the embodiment.

以下、図面に基づき本発明の情報処理装置を画像形成装置に具体化した実施形態について説明する。なお、情報処理装置としては、画像形成装置以外に、複数のCPUによって駆動するマルチプロセッサ方式の処理装置であれば、コンピュータや、他の装置にも適用することができる。図1は、画像形成装置100の全体構成図の一例を示す。画像形成装置100は、自動原稿送り装置(ARDF)140と、原稿読み取り部130、書き込みユニット120、作像ユニット110、及び、給紙ユニット150を備える。   Hereinafter, an embodiment in which an information processing apparatus of the present invention is embodied in an image forming apparatus will be described with reference to the drawings. In addition to the image forming apparatus, the information processing apparatus can be applied to a computer or other apparatus as long as it is a multiprocessor processing apparatus driven by a plurality of CPUs. FIG. 1 shows an example of an overall configuration diagram of the image forming apparatus 100. The image forming apparatus 100 includes an automatic document feeder (ARDF) 140, a document reading unit 130, a writing unit 120, an image forming unit 110, and a paper feeding unit 150.

ARDF140は、原稿給紙台上に積載された原稿を、ARDFモータで1枚ずつ画像読み取り部130のコンタクトガラス上に搬送し、原稿の画像データを読み取った後にARDFモータが原稿を排紙トレイ上に排出する。なお、1つのARDF140には複数のARDFモータが搭載されている。   The ARDF 140 transports the originals stacked on the original feeder on the contact glass of the image reading unit 130 one by one by the ARDF motor, and after reading the image data of the originals, the ARDF motor places the originals on the discharge tray. To discharge. A single ARDF 140 is equipped with a plurality of ARDF motors.

原稿読み取り部130は、原稿を載置するためのコンタクトガラス11と、光学走査系を有し、光学走査系は、露光ランプ41、第1ミラー42、第2ミラー43、第3ミラー44、レンズ45及びフルカラーCCD46を備える。露光ランプ41及び第1ミラー42は、第1キャリッジに装備され、第1キャリッジは、原稿を読み取る際に、スキャナモータによって一定速度で副走査方向に移動する。第2ミラー43及び第3ミラー44は、第2キャリッジに装備され、第2キャリッジは、原稿を読み取る際に、スキャナモータによって第1キャリッジのほぼ1/2の速度で移動する。そして、第1キャリッジ及び第2キャリッジが移動することによって、原稿の画像面が光学的に走査され、読み取られたデータがレンズ45によってフルカラーCCD46の受光面に結像され、光電変換される。   The document reading unit 130 includes a contact glass 11 for placing a document and an optical scanning system, which includes an exposure lamp 41, a first mirror 42, a second mirror 43, a third mirror 44, and a lens. 45 and a full-color CCD 46. The exposure lamp 41 and the first mirror 42 are mounted on the first carriage, and the first carriage moves in the sub-scanning direction at a constant speed by a scanner motor when reading a document. The second mirror 43 and the third mirror 44 are mounted on the second carriage, and the second carriage moves at a speed approximately half that of the first carriage by the scanner motor when reading the document. Then, the image plane of the original is optically scanned by moving the first carriage and the second carriage, and the read data is imaged on the light receiving surface of the full-color CCD 46 by the lens 45 and subjected to photoelectric conversion.

次に、フルカラーCCD(又はフルカラーラインCCD)46によって、赤(R)、緑(G)及び青(B)の各色に光電変換された画像データは、不図示の画像処理回路でA/D変換された後に画像処理回路によって各種の画像処理(補正、色変換、画像分離、階調補正等)が施される。   Next, the image data photoelectrically converted to each color of red (R), green (G) and blue (B) by the full color CCD (or full color line CCD) 46 is A / D converted by an image processing circuit (not shown). After that, various image processing (correction, color conversion, image separation, gradation correction, etc.) is performed by the image processing circuit.

ユーザが複写する操作を指示した場合や、画像形成装置100をプリンタとして利用する場合、作像ユニット110が各色毎に感光体ドラム27y、27m、27c、27Kに潜像を形成する。図では、4つの感光体ユニット13(イエロー用の13y、マゼンダ用の13m、シアン用の13c、ブラック用の13K)が、中間転写ベルト14の搬送方向に沿って並設されている。各感光体ユニット13y、13m、13c、13Kには、像担持体であるドラム状の感光体ドラム27y、27m、27c、27Kと、感光体ドラム27y、27m、27c、27Kを帯電させる帯電装置48y、48m、48c、48K、露光装置47y、47m、47c、47K、現像装置16y、16m、16c、16K及びクリーニング装置49y、49m、49c、49Kが設けられている。   When the user instructs a copying operation or when the image forming apparatus 100 is used as a printer, the image forming unit 110 forms latent images on the photosensitive drums 27y, 27m, 27c, and 27K for each color. In the figure, four photosensitive units 13 (13y for yellow, 13m for magenta, 13c for cyan, and 13K for black) are arranged in parallel along the conveyance direction of the intermediate transfer belt 14. The photosensitive units 13y, 13m, 13c, and 13K include drum-shaped photosensitive drums 27y, 27m, 27c, and 27K that are image carriers, and a charging device 48y that charges the photosensitive drums 27y, 27m, 27c, and 27K. 48m, 48c, 48K, exposure devices 47y, 47m, 47c, 47K, developing devices 16y, 16m, 16c, 16K and cleaning devices 49y, 49m, 49c, 49K.

露光装置47y、47m、47c、47Kは、例えば、図示の例では感光体ドラム27y、27m、27c、27Kの軸方向(主走査方向)に配置された発光ダイオード(LED)アレイとレンズアレイからなるLED書込み方式にて露光する。露光装置47y、47m、47c、47Kは、各色毎に光電変換された画像データに応じてLEDを発光して感光体ドラム27y、27m、27c、27K上に静電潜像を形成する。現像装置16y、16m、16c、16Kは、現像剤を担持して回転する現像ローラが、感光体ドラム27y、27m、27c、27K上に形成された静電潜像をトナーで可視化することで各色毎にトナー像を形成する。   The exposure devices 47y, 47m, 47c, and 47K include, for example, a light emitting diode (LED) array and a lens array arranged in the axial direction (main scanning direction) of the photosensitive drums 27y, 27m, 27c, and 27K in the illustrated example. Exposure is performed using an LED writing method. The exposure devices 47y, 47m, 47c, and 47K emit LEDs according to the image data photoelectrically converted for each color to form electrostatic latent images on the photosensitive drums 27y, 27m, 27c, and 27K. In the developing devices 16y, 16m, 16c, and 16K, the developing roller that carries the developer rotates and visualizes the electrostatic latent image formed on the photosensitive drums 27y, 27m, 27c, and 27K with toner, so that each color is displayed. A toner image is formed every time.

感光体ドラム27y、27m、27c、27Kに形成されたトナー像は、感光体ドラム27y、27m、27c、27Kと中間転写ベルト14とが接する位置(以下、一次転写位置という)で、中間転写ベルト14上に転写される。感光体ドラム27y、27m、27c、27Kには、中間転写ベルト14を介して中間転写ローラ26y、26m、26c、26Kが感光体ユニット13y、13m、13c、13Kと対にそれぞれ対向配置されている。各中間転写ローラ26y、26m、26c、26Kは、中間転写ベルト14の内周面と接触しており、中間転写時に上方向に移動することで中間転写ベルト14を各感光体の表面に接触させる。中間転写ローラ26y、26m、26c、26Kにそれぞれに電圧が印可されることで、感光体ドラム27y、27m、27c、27Kのトナー像が中間転写ベルト14に転写されるための中間転写電界が発生する。中間転写電界の作用により、中間転写ベルト14上にトナー画像が形成される。各色のトナー画像は重畳して転写され、フルカラーのトナー画像が中間転写ベルト14に形成される。   The toner images formed on the photosensitive drums 27y, 27m, 27c, and 27K are intermediate transfer belts at positions where the photosensitive drums 27y, 27m, 27c, and 27K are in contact with the intermediate transfer belt 14 (hereinafter referred to as primary transfer positions). 14 is transferred. Intermediate transfer rollers 26y, 26m, 26c, and 26K are disposed on the photosensitive drums 27y, 27m, 27c, and 27K in pairs with the photosensitive units 13y, 13m, 13c, and 13K through the intermediate transfer belt 14, respectively. . Each of the intermediate transfer rollers 26y, 26m, 26c, and 26K is in contact with the inner peripheral surface of the intermediate transfer belt 14, and moves upward during intermediate transfer to bring the intermediate transfer belt 14 into contact with the surface of each photoconductor. . By applying a voltage to each of the intermediate transfer rollers 26y, 26m, 26c, and 26K, an intermediate transfer electric field for transferring the toner images on the photosensitive drums 27y, 27m, 27c, and 27K to the intermediate transfer belt 14 is generated. To do. A toner image is formed on the intermediate transfer belt 14 by the action of the intermediate transfer electric field. The toner images of the respective colors are superimposed and transferred, and a full color toner image is formed on the intermediate transfer belt 14.

全ての色の作像と転写が終了した時点で、中間転写ベルト14とタイミングを合わせて給紙トレイ22から、給紙ロータが記録紙53を給紙し、二次転写部50で中間転写ベルト14から4色同時に記録紙53へトナー像が二次転写される。   When image formation and transfer of all colors have been completed, the paper feed rotor feeds the recording paper 53 from the paper feed tray 22 in synchronization with the intermediate transfer belt 14, and the secondary transfer unit 50 uses the intermediate transfer belt. The toner images are secondarily transferred to the recording paper 53 simultaneously from the four colors of 14.

記録紙53は、第1トレイ22a、第2トレイ22b、第3トレイ22c、第4トレイ22d、手差しトレイ、又は、両面ユニットのいずれかから選択される。各給紙トレイ22a〜22dは、内部に収容された記録紙53を一番上のものから順次送り出す給紙ローラ28、給紙ローラ28によって重送されてしまった複数の記録紙53を個々に分離してから搬送路23に送り出す分離ローラ31を有している。これにより、記録紙53は、搬送路23に向けて搬送開始される。この一連の給紙ローラ28は給紙モータにより駆動されている。   The recording paper 53 is selected from any of the first tray 22a, the second tray 22b, the third tray 22c, the fourth tray 22d, the manual feed tray, or the duplex unit. Each of the paper feed trays 22a to 22d individually feeds a plurality of recording papers 53 that have been multi-fed by the paper feed roller 28 and the paper feed roller 28 that sequentially feed the recording paper 53 accommodated therein from the top. A separation roller 31 is provided that is separated and sent to the conveyance path 23. As a result, the recording paper 53 is started to be transported toward the transport path 23. This series of paper feed rollers 28 is driven by a paper feed motor.

給紙ユニット150は、搬送路23の途中に適宜設けられた複数の搬送ローラ対29等を備えている。給紙モータにより駆動される搬送ローラ対29は、給紙トレイ22から搬送された記録紙53を後段の搬送ローラ対29、作像ユニット110の給紙路32に向けて送り出す。給紙路32に送り込まれた記録紙53は、その先端がレジストセンサ51によって検出された後、所定時間が経過すると、レジストローラ33に突き当てられて一旦停止する。このレジストローラ33は、レジストモータにより駆動され、挟み込んだ記録紙53を所定のタイミング(副走査有効期間信号(FGATE)に同期して)で二次転ローラ18の位置まで送り込む。所定のタイミングは、中間転写ベルト14の回転によりフルカラーの重ね合わせトナー画像が二次転ローラ18の位置まで搬送されたタイミングである。   The sheet feeding unit 150 includes a plurality of conveyance roller pairs 29 and the like appropriately provided in the middle of the conveyance path 23. A pair of transport rollers 29 driven by a paper feed motor feeds the recording paper 53 transported from the paper feed tray 22 toward the transport roller pair 29 at the subsequent stage and the paper feed path 32 of the image forming unit 110. The recording paper 53 fed into the paper feed path 32 is abutted against the registration roller 33 and temporarily stops after a predetermined time has elapsed after its leading edge is detected by the registration sensor 51. The registration roller 33 is driven by a registration motor and feeds the sandwiched recording paper 53 to the position of the secondary transfer roller 18 at a predetermined timing (in synchronization with the sub-scanning effective period signal (FGATE)). The predetermined timing is a timing at which the full-color superimposed toner image is conveyed to the position of the secondary transfer roller 18 by the rotation of the intermediate transfer belt 14.

二次転ローラ18は、斥力ローラ17と対向配置される。画像形成装置100は、印刷時に二次転ローラ18を中間転写ベルト14に当接させる。二次転ローラ18は二次転モータにより二次転モータの外周の速度が中間転写ベルト14の表面速度と同じになるよう制御されている。   The secondary roller 18 is disposed opposite to the repulsive roller 17. The image forming apparatus 100 causes the secondary transfer roller 18 to contact the intermediate transfer belt 14 during printing. The secondary roller 18 is controlled by a secondary motor so that the outer peripheral speed of the secondary motor is the same as the surface speed of the intermediate transfer belt 14.

記録紙53は、中間転写ベルト14から分離器(不図示)により分離された後に、搬送ベルト24によって定着装置19まで搬送され、定着装置19は記録紙53にトナー像を定着させる。片面印刷の場合、定着後の記録紙53は、排紙モータにより駆動される排紙ローラにより排紙トレイ21上に排出される。   The recording paper 53 is separated from the intermediate transfer belt 14 by a separator (not shown) and then conveyed to the fixing device 19 by the conveying belt 24, and the fixing device 19 fixes the toner image on the recording paper 53. In the case of single-sided printing, the recording paper 53 after fixing is discharged onto the paper discharge tray 21 by a paper discharge roller driven by a paper discharge motor.

図1では、電子写真方式で画像を記録紙53に形成する画像形成装置100を例示したが、画像形成方式は、インク滴を吐出して画像を形成するインクジェット方式、昇華型熱転写方式、ドットインパクト方式の画像形成装置でもよい。   Although FIG. 1 illustrates the image forming apparatus 100 that forms an image on the recording paper 53 by the electrophotographic method, the image forming method includes an ink jet method that discharges ink droplets to form an image, a sublimation thermal transfer method, and a dot impact. A type image forming apparatus may be used.

図2は、画像形成装置100の制御系のブロック図の一例を示す。画像形成装置100は、コントローラ制御部210とPCIバス280を介して接続された、読み取り制御部230、エンジン制御部220、及び、書き込み制御部240を有する。また、読み取り制御部230、エンジン制御部220及び書き込み制御部240は、それぞれ紙搬送制御部250、定着制御部260、電源制御部300、及び、作像制御部270とローカルバスやシリアルバス(以下、外部バス290という)などを介して接続されている。以下、読み取り制御部230、エンジン制御部220、書き込み制御部240、紙搬送制御部250、定着制御部260、電源制御部300、及び、作像制御部270を単に「制御部」という場合がある。図示する白抜きの両端矢印線は画像データの流れを示し、太い両端矢印線は制御部が互いに通信するための外部バス190を示す。信号線291は、各制御部を直接、接続しており、High又はLowの信号を送受信することを可能にしている。信号線291は必ずしも必要ではない。   FIG. 2 shows an example of a block diagram of a control system of the image forming apparatus 100. The image forming apparatus 100 includes a read control unit 230, an engine control unit 220, and a write control unit 240 connected to the controller control unit 210 via the PCI bus 280. Further, the reading control unit 230, the engine control unit 220, and the writing control unit 240 are respectively a paper conveyance control unit 250, a fixing control unit 260, a power supply control unit 300, and an image formation control unit 270, and a local bus or serial bus (hereinafter referred to as a “bus”). The external bus 290). Hereinafter, the reading control unit 230, the engine control unit 220, the writing control unit 240, the paper conveyance control unit 250, the fixing control unit 260, the power supply control unit 300, and the image formation control unit 270 may be simply referred to as “control unit”. . The white double-sided arrow line shown in the figure indicates the flow of image data, and the thick double-sided arrow line indicates the external bus 190 for the control unit to communicate with each other. The signal line 291 connects each control unit directly, and enables transmission / reception of a High or Low signal. The signal line 291 is not always necessary.

コントローラ制御部210は、画像形成動作の設定を受け付け、画像形成のための動作情報(少なくともジョブIDを含む)を生成し他の制御部に送信する。コントローラ制御部210は、主に画像処理を行うASIC、各種の処理動作を制御するCPU、制御用プログラムを固定的に記憶したROM、各種情報を一時的に記憶するRAM、デジタル複写機の動作に用いるパラメータを記憶するNV−RAM等を有する。また、外部機器からLAN等のネットワークを介して情報を送受信するLANインターフェース(不図示)、ユーザーインターフェースとなる操作パネル214を制御する操作部制御部211、処理対象の画像データを格納するHDD212、FAX通信を行うFCU213と接続されている。   The controller control unit 210 receives the setting of the image forming operation, generates operation information for image formation (including at least the job ID), and transmits the operation information to other control units. The controller control unit 210 is mainly used for an ASIC that performs image processing, a CPU that controls various processing operations, a ROM that permanently stores a control program, a RAM that temporarily stores various information, and an operation of a digital copying machine. An NV-RAM or the like for storing parameters to be used is included. In addition, a LAN interface (not shown) that transmits and receives information from an external device via a network such as a LAN, an operation unit control unit 211 that controls an operation panel 214 serving as a user interface, an HDD 212 that stores image data to be processed, and a FAX It is connected to the FCU 213 that performs communication.

コントローラ制御部210は、操作部制御部211から、又は、外部機器からLANインターフェースを介して画像形成動作の設定を受け付け、エンジン制御部220に画像処理を要求する。   The controller control unit 210 receives an image forming operation setting from the operation unit control unit 211 or an external device via the LAN interface, and requests the engine control unit 220 to perform image processing.

エンジン制御部220は、読み取り制御部230、書き込み制御部240、紙搬送制御部250、定着制御部260、電源制御部300、及び、作像制御部270の各制御部を制御する。エンジン制御部220は、画像データの転送、ジョブの内容に応じた各制御部への動作要求、進捗管理等を行う。これらの各制御部が情報処理部に相当する。   The engine control unit 220 controls each control unit of the reading control unit 230, the writing control unit 240, the paper conveyance control unit 250, the fixing control unit 260, the power supply control unit 300, and the image forming control unit 270. The engine control unit 220 performs transfer of image data, an operation request to each control unit according to the contents of the job, progress management, and the like. Each of these control units corresponds to an information processing unit.

読み取り制御部230は、ARDF140と接続され、原稿読み取り部130を制御する。ARDF140は、セットされた原稿の定形用紙サイズを検出し、また、用紙サイズの異なる原稿が混載された場合でも自動的に判別する。ARDF140は、原稿の存在を検出し、原稿が存在する間、原稿を原稿読み取り部130へ1枚ずつ自動的に供給する。   The reading control unit 230 is connected to the ARDF 140 and controls the document reading unit 130. The ARDF 140 detects the standard paper size of the set original, and automatically discriminates even when originals having different paper sizes are mixedly loaded. The ARDF 140 detects the presence of a document, and automatically supplies the document to the document reading unit 130 one by one while the document is present.

読み取り制御部230は、原稿読み取り部130を制御して原稿の画像データを生成する。ユーザが読み取り開始を操作部制御部211に指示すると、エンジン制御部220から指示された読み取り制御部230は、露光ランプを点灯させ、原稿読み取り部130に含まれる第1キャリッジと第2キャリッジの位置をコンタクトガラスの左端に移動させる。読み取り制御部230は、第1キャリッジと第2キャリッジが左端に来ると、ARDF140にコンタクトガラスに原稿を1枚供給させる。読み取り制御部230は、コンタクトガラスの原稿を検出すると、第1及び第2キャリッジを移動させながら原稿面を読み取る。読み取った後は、ARDF140に次の原稿を1枚供給させると共に、第1キャリッジと第2キャリッジの位置をコンタクトガラスの左端に移動させ、原稿データの読み取りを繰り返す。   The reading control unit 230 controls the document reading unit 130 to generate document image data. When the user instructs the operation unit control unit 211 to start reading, the reading control unit 230 instructed by the engine control unit 220 turns on the exposure lamp, and positions of the first carriage and the second carriage included in the document reading unit 130. Is moved to the left edge of the contact glass. When the first carriage and the second carriage come to the left end, the reading control unit 230 causes the ARDF 140 to supply one document to the contact glass. When detecting the contact glass document, the reading control unit 230 reads the document surface while moving the first and second carriages. After reading, the ARDF 140 is supplied with the next original, and the positions of the first carriage and the second carriage are moved to the left end of the contact glass, and the reading of the original data is repeated.

読み取り制御部230は、シェーディング補正、MTF補正、ガンマ補正、黒画像生成、カラー画像生成、2値化処理、多値化処理などの基本的な画質処理を行い、エンジン制御部220に出力する。エンジン制御部220は、原稿の読み取りだけのジョブの場合はコントローラ制御部210に画像データを送信する。この場合、コントローラ制御部210は画像データをHDD212に記憶し、必要であればネットワーク経由で指示された宛先に送信する。コピーのジョブの場合、エンジン制御部220は画像データを書き込み制御部240に送信する。   The reading control unit 230 performs basic image quality processing such as shading correction, MTF correction, gamma correction, black image generation, color image generation, binarization processing, and multilevel processing, and outputs the result to the engine control unit 220. The engine control unit 220 transmits image data to the controller control unit 210 in the case of a job only for reading a document. In this case, the controller control unit 210 stores the image data in the HDD 212 and transmits it to a destination designated via the network if necessary. In the case of a copy job, the engine control unit 220 transmits image data to the write control unit 240.

書き込み制御部240は、書き込みユニット120を制御する。書き込み制御部240には、読み取り制御部230が読み取った画像データ、コントローラ制御部210がFCU213から取得した画像データ、または、PC(Personal Computer)が送信し、コントローラ制御部210が画像データに変換した画像データが送信される。書き込み制御部240は、画像データに基づいて図示しないレーザダイオードを変調(オン/オフ)し、レーザ光の照射を制御する。レーザ光は、ポリゴンミラーに反射したのちレンズを通過し感光体ドラム27y、27m、27c、27Kに静電潜像を形成する。   The writing control unit 240 controls the writing unit 120. The image data read by the reading control unit 230, the image data acquired from the FCU 213 by the controller control unit 210, or a PC (Personal Computer) is transmitted to the writing control unit 240, and the controller control unit 210 converts the image data into image data. Image data is transmitted. The writing control unit 240 modulates (on / off) a laser diode (not shown) based on the image data, and controls laser light irradiation. The laser light is reflected by the polygon mirror, passes through the lens, and forms an electrostatic latent image on the photosensitive drums 27y, 27m, 27c, and 27K.

書き込み制御部240は、レーザ光の画像領域外の両端に配置されたフォトディテクタにより走査の開始と走査の終了を検出する。1対のフォトディテクタは入射されたレーザ光を同期信号に変換する。書き込み制御部240は、対となる同期信号から2つのPD間をレーザ光が走査する時間間隔を測定し、その時間間隔に予め定められた所定数(解像度)のクロックが収まるように画素クロックを生成する。書き込み制御部240は、この画素クロックに同期して、画像データに対応したレーザ駆動データ(オンオフの変調データ)を生成する。これにより、感光体ドラム27y、27m、27c、27K上に静電潜像が形成される。   The writing control unit 240 detects the start of scanning and the end of scanning by using photodetectors arranged at both ends outside the image area of the laser light. The pair of photodetectors converts the incident laser light into a synchronization signal. The writing control unit 240 measures a time interval during which the laser beam scans between the two PDs based on the pair of synchronization signals, and sets the pixel clock so that a predetermined number of clocks (resolution) predetermined in the time interval can be accommodated. Generate. The writing control unit 240 generates laser drive data (on / off modulation data) corresponding to the image data in synchronization with the pixel clock. Thereby, electrostatic latent images are formed on the photosensitive drums 27y, 27m, 27c, and 27K.

作像制御部270は、作像ユニット110を制御して、カラーのトナー像を中間転写ベルト14に形成する。作像制御部270は、感光体ドラム27y、27m、27c、27Kと中間転写ベルト14の表面速度が等しくなるように両者を回転制御する。Kの静電潜像の先端部が現像装置のK現像器の現像位置に到達すると、K潜像はKのトナーで現像され始め、Kの静電潜像の後端部が現像位置を通過するとKトナー画像が形成される。   The image forming control unit 270 controls the image forming unit 110 to form a color toner image on the intermediate transfer belt 14. The image forming control unit 270 controls the rotation of the photosensitive drums 27y, 27m, 27c, and 27K so that the surface speeds of the intermediate transfer belt 14 are equal. When the leading edge of the K electrostatic latent image reaches the developing position of the K developing device of the developing device, the K latent image begins to be developed with K toner, and the trailing edge of the K electrostatic latent image passes through the developing position. Then, a K toner image is formed.

作像制御部270は、感光体ドラム27y、27m、27c、27Kと中間転写ベルト14とが接触した時に、中間転写ベルト14に所定のバイアス電圧を印加することで、トナー画像を中間転写ベルト14に転写する。感光体ドラム27y、27m、27c、27K上の残留トナーは上記のようにクリーニングされ、感光体ドラム27y、27m、27c、27Kは除電ランプで除電される。   The image forming control unit 270 applies a predetermined bias voltage to the intermediate transfer belt 14 when the photosensitive drums 27y, 27m, 27c, and 27K come into contact with the intermediate transfer belt 14, thereby transferring the toner image to the intermediate transfer belt 14. Transcript to. Residual toner on the photoconductive drums 27y, 27m, 27c, and 27K is cleaned as described above, and the photoconductive drums 27y, 27m, 27c, and 27K are neutralized by a neutralizing lamp.

作像制御部270は同様にC、M、Yの各トナー画像を中間転写ベルト14に転写するが、その際、各色のトナー画像の位置が一致するように、書き込み制御部240はレーザ光による書き込み開始のタイミングを調整している。   Similarly, the image forming control unit 270 transfers the C, M, and Y toner images to the intermediate transfer belt 14, and the writing control unit 240 uses laser light so that the positions of the toner images of the respective colors coincide with each other. The timing to start writing is adjusted.

紙搬送制御部250は給紙ユニット150を制御する。紙搬送制御部250は、コントローラ制御部210から指示された給紙トレイ22のソレノイドをオンにして給紙ローラ28を記録紙53に接触させる。また、給紙ローラ28を回転駆動して、記録紙53を搬送路に送り出す。紙搬送制御部250は、搬送路の搬送ローラ対29を回転させ、記録紙の先端をレジストセンサによって検出しレジストローラ33に突き当て一端停止させる。そして、副走査有効期間信号(FGATE)に同期して、レジストローラ33を駆動して二次転ローラ18の位置まで送り込む。   The paper transport control unit 250 controls the paper feed unit 150. The paper transport control unit 250 turns on the solenoid of the paper feed tray 22 instructed by the controller control unit 210 to bring the paper feed roller 28 into contact with the recording paper 53. Further, the paper feeding roller 28 is driven to rotate, and the recording paper 53 is sent out to the conveyance path. The paper conveyance control unit 250 rotates the conveyance roller pair 29 in the conveyance path, detects the leading edge of the recording paper by the registration sensor, abuts against the registration roller 33, and stops once. Then, in synchronization with the sub-scanning effective period signal (FGATE), the registration roller 33 is driven and sent to the position of the secondary transfer roller 18.

紙搬送制御部250は、レジストローラ33を駆動する前後に二次転ローラ18を中間転写ベルト14に当接させる。紙搬送制御部250は、二次転ローラ18の表面速度が中間転写ベルト14の表面速度と同じになるよう制御する。   The paper conveyance control unit 250 brings the secondary transfer roller 18 into contact with the intermediate transfer belt 14 before and after driving the registration roller 33. The paper conveyance control unit 250 controls the surface speed of the secondary transfer roller 18 to be the same as the surface speed of the intermediate transfer belt 14.

定着制御部260は定着装置19を制御する。定着制御部260は、エンジン制御部220から指示されると、予め定められた温度に定着ヒータの温度を制御する。定着部の動作時には、常に定着部が所望の温度になるよう調節する。定着ヒータは、定着部を加熱する加熱手段であり、定着部は、トナーを転写紙に加圧して定着させる。   The fixing control unit 260 controls the fixing device 19. When instructed by the engine control unit 220, the fixing control unit 260 controls the temperature of the fixing heater to a predetermined temperature. During operation of the fixing unit, the fixing unit is always adjusted to a desired temperature. The fixing heater is a heating unit that heats the fixing unit, and the fixing unit presses and fixes the toner to the transfer paper.

なお、電源制御部300は、商用電源や自家発電機から供給される交流電源310を直流に整流し、DCDCコンバータで所定の電圧に降圧して各制御部等に供給する。電源制御部300は、コントローラ制御部210からの指示等により電源をオフにすることで消費電力の低減を可能にしている。   The power supply control unit 300 rectifies an AC power supply 310 supplied from a commercial power supply or a private power generator into a direct current, steps down the voltage to a predetermined voltage by a DCDC converter, and supplies the voltage to each control unit. The power supply control unit 300 can reduce power consumption by turning off the power supply according to an instruction from the controller control unit 210 or the like.

各制御部はほぼ共通の構成を有している。図ではエンジン制御部220と紙搬送制御部250により説明するが、他の制御部の構成も同様である。各制御部が固有のICや機能を有していてもよい。   Each control unit has a substantially common configuration. In the figure, the engine control unit 220 and the paper conveyance control unit 250 will be described, but the configurations of the other control units are the same. Each control unit may have a unique IC or function.

各制御部は、バスを介して接続されたCPU201、RAM202、ROM203、ソフト監視部204、及び、I/F205を有し、さらに、I/F205に接続された調停回路206、調停回路206に接続された記憶装置207を有する。CPU201は、ROM203に記憶されたプログラムを、RAM202を作業メモリにして実行し各制御部に特有の処理を行う。   Each control unit includes a CPU 201, a RAM 202, a ROM 203, a software monitoring unit 204, and an I / F 205 connected via a bus, and further connected to an arbitration circuit 206 and an arbitration circuit 206 connected to the I / F 205. Storage device 207. The CPU 201 executes a program stored in the ROM 203 by using the RAM 202 as a working memory and performs processing specific to each control unit.

I/F205は、調停回路206がCPU201側と外部バス290を接続している場合に、CPU201が他の制御部と通信を行うためのシリアルインターフェースである。ソフト監視部204は、例えばウォッチドッグタイマであり、CPU201が実行するソフトウェアの暴走監視用回路である。ソフト監視部204は、CPU201が実行するソフトウェアの異常(以下、「暴走」とも言う)を検出すると、暴走したCPU201を搭載した制御部のみをリセットする。ソフト監視部204は、暴走回数カウンタ406と、動作時間カウンタ407とを備えている。暴走回数カウンタ406は、ソフトウェアが暴走した累積回数をカウントしており、自動ではリセットされないようになっている。動作時間カウンタ407は、前回のソフトウェアの暴走の後に制御部が復旧してから経過した時間をカウントする。したがって、動作時間カウンタ407は、ソフトウェアの暴走からの復旧時にリセットされる。調停回路206は、外部バス290の通信先を、CPU201、記憶装置207、又は、暴走通知コマンド出力部403のいずれかに切り換える。詳しくは後述する。記憶装置207は、ジョブ実行情報を記憶する不揮発メモリ(NVRAM、EEPROM等)である。   The I / F 205 is a serial interface for the CPU 201 to communicate with other control units when the arbitration circuit 206 connects the CPU 201 side and the external bus 290. The software monitoring unit 204 is a watchdog timer, for example, and is a software runaway monitoring circuit executed by the CPU 201. When the software monitoring unit 204 detects an abnormality in software executed by the CPU 201 (hereinafter also referred to as “runaway”), the software monitoring unit 204 resets only the control unit on which the runaway CPU 201 is mounted. The software monitoring unit 204 includes a runaway counter 406 and an operation time counter 407. The runaway counter 406 counts the cumulative number of times that the software has runaway, and is not automatically reset. The operation time counter 407 counts the time that has elapsed since the control unit recovered after the previous runaway of software. Therefore, the operation time counter 407 is reset upon recovery from software runaway. The arbitration circuit 206 switches the communication destination of the external bus 290 to any one of the CPU 201, the storage device 207, and the runaway notification command output unit 403. Details will be described later. The storage device 207 is a non-volatile memory (NVRAM, EEPROM, etc.) that stores job execution information.

各制御部のソフト監視部204は信号線291を介して互いに接続されている。ソフト監視部204が自機のCPU201の暴走を検出すると、ダイオード208を介して他の各制御部のCPU201に割り込んで通知する。他の制御部のソフト監視部204が検出したCPU201の暴走はダイオード209(図2参照)を介して、自機のCPU201に割込んで通知される。具体的には、不図示の割り込みコントローラがCPU201への割込みを管理しており、より優先度の低い割込みはマスクされるため、各制御部は復旧処理よりも優先度が低い処理を実行している場合(主に待機状態)にのみ割込みを受け付ける。請求項において述べた検出部、再起動部、エラー通知部、判定値取得部、復旧判定部、再起動指示部、通信遮断指示部、自己診断部、自己診断指示部は、本実施形態においては以上に述べた調停回路を含む各ハードウェアにより実現されているが、ソフト的にこれらの処理を代替することもできる。詳細については後述する。   The software monitoring units 204 of each control unit are connected to each other via a signal line 291. When the software monitoring unit 204 detects a runaway of the CPU 201 of its own device, the software monitoring unit 204 interrupts and notifies the CPU 201 of each other control unit via the diode 208. The runaway of the CPU 201 detected by the software monitoring unit 204 of the other control unit is notified by interrupting the CPU 201 of its own device via the diode 209 (see FIG. 2). Specifically, an interrupt controller (not shown) manages interrupts to the CPU 201, and interrupts with lower priority are masked. Therefore, each control unit executes processing with lower priority than recovery processing. An interrupt is accepted only when it is present (mainly in standby). The detection unit, restart unit, error notification unit, determination value acquisition unit, recovery determination unit, restart instruction unit, communication cutoff instruction unit, self-diagnosis unit, and self-diagnosis instruction unit described in the claims in the present embodiment Although implemented by each hardware including the arbitration circuit described above, these processes can be replaced by software. Details will be described later.

本実施例では、CPU201が暴走した側の制御部は、ソフト的な復旧処理が困難になっている。このため、CPU201が暴走していない他の制御部が、固有の処理を行う通常モードとは異なるプログラムを実行して、暴走したCPU201が搭載された制御部を復旧させる。以下、CPU201が暴走した制御部を「暴走処理中制御部」といい、暴走処理中制御部に対し復旧処理する制御部を「復旧処理中制御部」という。   In the present embodiment, it is difficult for the control unit on the side where the CPU 201 has runaway to perform a software restoration process. For this reason, another control unit in which the CPU 201 has not runaway executes a program different from the normal mode in which the inherent processing is performed, and the control unit in which the runaway CPU 201 is mounted is restored. Hereinafter, a control unit in which the CPU 201 has runaway is referred to as a “running process control unit”, and a control unit that performs a recovery process on the runaway process control unit is referred to as a “restoring process control unit”.

図3〜6は、ソフトウェアの暴走が起こった制御部の調停回路206の構成図の一例を示す。調停回路206は、スイッチ401、スイッチ404、暴走通知コマンド出力部403及び切替回路402を有する。   3 to 6 show an example of a configuration diagram of the arbitration circuit 206 of the control unit in which software runaway has occurred. The arbitration circuit 206 includes a switch 401, a switch 404, a runaway notification command output unit 403, and a switching circuit 402.

図3は暴走が検出されない通常時の状態を、図4は暴走が検出された直後の切替回路の状態を、図5は復旧を行う制御部が記憶装置207から異常判定値を読み出す際の状態を、図6は、暴走した制御部が他の制御部へと自己診断処理の結果を通知する際の状態を、それぞれ示す。   3 shows a normal state where no runaway is detected, FIG. 4 shows a state of the switching circuit immediately after the runaway is detected, and FIG. 5 shows a state when the recovery control unit reads the abnormality determination value from the storage device 207. FIG. 6 shows states when the control unit that has runaway notifies the result of the self-diagnosis processing to other control units.

スイッチ401は、外部バス290の接続先を、I/F205、暴走通知コマンド出力部403、又は、記憶装置207のいずれかに切り換える。また、スイッチ404は、記憶装置207とI/F205、又はソフト監視部204との接続を断接する。このスイッチ404は、ソフトウェアの暴走によりCPU201が記憶装置207へ誤ったデータに書き込みを行わないよう遮断するためのものである。また、ソフト監視部204と記憶装置207とを接続することで、ソフト監視部204でカウントされた各値が記憶装置207へと書き込み可能となる。2つのスイッチ401、404の状態は、切替回路402が制御する。   The switch 401 switches the connection destination of the external bus 290 to any of the I / F 205, the runaway notification command output unit 403, and the storage device 207. The switch 404 connects and disconnects the storage device 207 and the I / F 205 or the software monitoring unit 204. The switch 404 is used to prevent the CPU 201 from writing erroneous data to the storage device 207 due to software runaway. In addition, by connecting the software monitoring unit 204 and the storage device 207, each value counted by the software monitoring unit 204 can be written to the storage device 207. The switching circuit 402 controls the states of the two switches 401 and 404.

図3に示すように、制御部が起動した直後、切替回路402は外部バス290とI/F205を接続するようにスイッチ401を制御し、記憶装置207とI/F205が接続するようにスイッチ404を制御する。このため、CPU201は、暴走が検出されなければ、記憶装置207及び外部バス290にアクセスできる。   As shown in FIG. 3, immediately after the control unit is activated, the switching circuit 402 controls the switch 401 so as to connect the external bus 290 and the I / F 205, and the switch 404 so that the storage device 207 and the I / F 205 are connected. To control. Therefore, the CPU 201 can access the storage device 207 and the external bus 290 if no runaway is detected.

まず、外部割込みやノイズなどにより、CPU201が暴走した場合、ソフト監視部204のカウンタを定期的にクリアできなくなる。ソフト監視部204はカウンタのオーバフローによりCPU201の暴走を検出する。ソフト監視部204は暴走を検出すると、CPU201にリセット信号を供給する。   First, when the CPU 201 runs away due to an external interrupt or noise, the counter of the software monitoring unit 204 cannot be periodically cleared. The software monitoring unit 204 detects the runaway of the CPU 201 by the counter overflow. When the software monitoring unit 204 detects a runaway, the software monitoring unit 204 supplies a reset signal to the CPU 201.

ソフト監視部204が、リセット信号をアクティブにしている間、暴走したCPU201は停止状態(再起動待ち)となり、切替回路402が復旧コマンドを受信すると、再起動を開始する。復旧コマンドは、復旧処理を行う他の制御部から送信される。   While the software monitoring unit 204 activates the reset signal, the runaway CPU 201 enters a stopped state (waiting for restart), and restarts when the switching circuit 402 receives the recovery command. The recovery command is transmitted from another control unit that performs recovery processing.

なお、外部割り込みは、センサなどが検出値を通知するためにCPU201に割り込むことである。外部割り込みによるソフトウェアの暴走とは、センサがCPU201に割り込みを通知するポートが割込み側に張り付いたことで、CPU201が割り込み処理に占有されたことを想定している。   Note that the external interrupt is to interrupt the CPU 201 in order for a sensor or the like to notify the detection value. The software runaway due to an external interrupt is based on the assumption that the CPU 201 is occupied by the interrupt processing because the port that the sensor notifies the CPU 201 of the interrupt sticks to the interrupt side.

また、ソフト監視部204はCPU201の暴走を検出すると切替回路402に暴走を検知したことを通知する。図4に示すように、切替回路402は外部バス290と暴走通知コマンド出力部403が接続するようにスイッチ401を制御する。また、切替回路402は、スイッチ404を記憶装置207とソフト監視部204とが接続する状態に制御する。外部バス290と暴走通知コマンド出力部403が接続することで、暴走通知コマンド出力部403は、暴走通知コマンドを各制御部に送信することができる。また、記憶装置207とソフト監視部204とが接続されることで、ソフト監視部204の暴走回数カウンタ406と、動作時間カウンタ407にて、カウントされたそれぞれの値が記憶装置207へと書き込み可能となり、これらの値が書き込まれる。記憶装置207に書き込まれた値は、外部バス290を通じて他の制御部から読み出し可能となる。なお、暴走通知コマンド出力部403は、暴走通知コマンドを、スイッチ401が暴走通知コマンド出力部403と接続している間、継続して発行する。   Further, when the software monitoring unit 204 detects the runaway of the CPU 201, the software monitoring unit 204 notifies the switching circuit 402 that the runaway has been detected. As shown in FIG. 4, the switching circuit 402 controls the switch 401 so that the external bus 290 and the runaway notification command output unit 403 are connected. In addition, the switching circuit 402 controls the switch 404 so that the storage device 207 and the software monitoring unit 204 are connected. By connecting the external bus 290 and the runaway notification command output unit 403, the runaway notification command output unit 403 can transmit the runaway notification command to each control unit. In addition, by connecting the storage device 207 and the software monitoring unit 204, the values counted by the runaway number counter 406 and the operation time counter 407 of the software monitoring unit 204 can be written to the storage device 207. And these values are written. The value written in the storage device 207 can be read from another control unit through the external bus 290. The runaway notification command output unit 403 continuously issues a runaway notification command while the switch 401 is connected to the runaway notification command output unit 403.

ここで、暴走通知コマンドは、信号線291と代替可能な機能である。すなわち、各制御部は暴走通知コマンドでなく、信号線291により暴走を通知してもよい。この場合、暴走通知コマンド出力部403は不要なので、図4の状態では外部バス290がI/F205と記憶装置207のどちらとも接続されない状態となる。   Here, the runaway notification command is a function that can replace the signal line 291. That is, each control unit may notify the runaway via the signal line 291 instead of the runaway notification command. In this case, since the runaway notification command output unit 403 is unnecessary, the external bus 290 is not connected to either the I / F 205 or the storage device 207 in the state of FIG.

暴走通知コマンドを受信した各制御部は、暴走通知コマンドの優先度と動作中の処理の優先度を比較する。そして、動作中の場合、動作を中断するが復旧処理は行わない。よって、動作中の場合は中断処理を行う。なお、暴走通知コマンドを受信した各制御部は全て中断処理後は待機状態となる。待機状態になるとCPU201が暴走した暴走処理中制御部から通知解除を取得するまで待機状態を継続する。   Each control unit that has received the runaway notification command compares the priority of the runaway notification command with the priority of the process during operation. When the operation is in progress, the operation is interrupted but the recovery process is not performed. Therefore, the interruption process is performed when the operation is in progress. All the control units that have received the runaway notification command are in a standby state after the interruption process. When the standby state is entered, the standby state is continued until the CPU 201 acquires a notification release from the control unit during the runaway process in which the CPU 201 has runaway.

暴走した制御部から通知を受け取った他の制御部が待機中の場合、制御部は外部バス290に対し暴走通知コマンドを送信した暴走処理中制御部の切替回路402に対し、データ読出コマンドを発行する。データ読出コマンドを最も早く発行した制御部が復旧のための処理を実施する。このデータ読み出しコマンドを受信することにより、暴走処理中制御部は図5に示す状態となり、調停回路206の切替回路402が、外部バス290と記憶装置207とが接続されるようにスイッチ401を切り換える。また、この時点で、切替回路402は、スイッチ404を開いて、記憶装置207とソフト監視部204との接続を解除する。スイッチ401の切り替えにより、外部バス290と記憶装置207との接続が解除されるため、暴走通知コマンドは外部バス290に対して出力されなくなる。このため、最初に暴走通知コマンドを受信した復旧処理中制御部以外の他の制御部はデータ読み出しコマンドを出力することはない。この後、復旧処理中制御部は、記憶装置207から異常判定値を読み出す。   When another control unit that has received a notification from the runaway control unit is waiting, the control unit issues a data read command to the switching circuit 402 of the runaway processing control unit that has transmitted a runaway notification command to the external bus 290. To do. The control unit that has issued the data read command earliest performs processing for recovery. Upon receiving this data read command, the control unit during the runaway process enters the state shown in FIG. 5, and the switching circuit 402 of the arbitration circuit 206 switches the switch 401 so that the external bus 290 and the storage device 207 are connected. . At this time, the switching circuit 402 opens the switch 404 to release the connection between the storage device 207 and the software monitoring unit 204. Since the connection between the external bus 290 and the storage device 207 is released by switching the switch 401, the runaway notification command is not output to the external bus 290. For this reason, control units other than the control unit during recovery processing that first received the runaway notification command do not output a data read command. Thereafter, the controller during recovery processing reads the abnormality determination value from the storage device 207.

データ読出コマンドを発行した復旧処理中制御部は、暴走処理中制御部の記憶装置207から異常判定値を読み出すことが可能になる。異常判定値とは、暴走処理中制御部を復旧させるか否かを判定するための数値であり、本実施形態においては、暴走回数カウンタ406、及び動作時間カウンタ407にてカウントされた各値が該当する。なお、異常判定値としては、これらの数値の一方のみを復旧のための判断に用いてもよいし、他の異常の度合いを示すパラメータによって代替することも可能である。   The recovery processing control unit that has issued the data read command can read the abnormality determination value from the storage device 207 of the runaway processing control unit. The abnormality determination value is a numerical value for determining whether or not the control unit during the runaway process is restored. In this embodiment, the values counted by the runaway number counter 406 and the operation time counter 407 are the values. Applicable. As the abnormality determination value, only one of these numerical values may be used for determination for restoration, or may be replaced by another parameter indicating the degree of abnormality.

復旧処理中制御部は、異常判定用の閾値を予め有しており、暴走処理中制御部から取得した異常判定値と閾値とを比較することにより判定を行う。   The control unit during restoration processing has a threshold value for abnormality determination in advance, and performs determination by comparing the abnormality determination value acquired from the control unit during runaway processing with the threshold value.

復旧処理中制御部によって復旧が可能と判定された場合は、復旧処理中制御部は暴走処理中制御部に対して、復旧コマンドを発行する。復旧コマンドを受信した暴走処理中制御部は、図3の状態に戻り、暴走処理中制御部の調停回路206の切替回路402は、外部バス290とI/F205が接続されるように、スイッチ401を切り換える。また、切替回路402は、記憶装置207とI/F205が接続されるようにスイッチ404を閉じる。さらに、切替回路402はソフト監視部204に対して、復旧コマンドの受信を通知し、CPU201へのリセットを解除させることで、CPU201の再起動が行われる。   If it is determined by the recovery processing control unit that the recovery is possible, the recovery processing control unit issues a recovery command to the runaway processing control unit. The control unit during the runaway process that has received the recovery command returns to the state of FIG. 3 and the switching circuit 402 of the arbitration circuit 206 of the control unit during the runaway process switches the switch 401 so that the external bus 290 and the I / F 205 are connected. Switch. In addition, the switching circuit 402 closes the switch 404 so that the storage device 207 and the I / F 205 are connected. Furthermore, the switching circuit 402 notifies the software monitoring unit 204 that the recovery command has been received, and the CPU 201 is restarted by releasing the reset to the CPU 201.

暴走処理中制御部のCPU201はリセット解除後、ROM203のプログラムを読出し、ジョブ実行情報に基づき動作の再設定を実施する。例えば、I/Oチェックなどを行ってモータ回転速度などの指定に必要なパラメータを設定する。本実施形態では、暴走処理中制御部から読み出したジョブを各制御部が再開する。このように、ジョブ実行情報を記憶装置207から読み出すことにより、暴走状態の前のジョブを再開できる。暴走処理中制御部は、処理中だったジョブの起動を完了したことを他の制御部に通知する。これが暴走通知コマンドの解除通知となり、他の制御部も共に処理を再開する。なお、元々、待機状態であった復旧処理中制御部は、暴走処理中制御部へ復旧コマンドを送信後待機状態へと移行する。元々、待機状態でなければ、復旧処理中制御部は、暴走処理中制御部へ復旧コマンドを送信後、暴走処理中制御部から読み出したソフトウェアのジョブを再開する。   The CPU 201 of the control unit during the runaway process reads the program in the ROM 203 after canceling the reset, and resets the operation based on the job execution information. For example, an I / O check or the like is performed to set parameters necessary for specifying the motor rotation speed. In this embodiment, each control unit resumes the job read from the control unit during the runaway process. As described above, by reading the job execution information from the storage device 207, the job before the runaway state can be resumed. The control unit during the runaway process notifies the other control units that the start of the job being processed has been completed. This is a release notification of the runaway notification command, and the other control units resume processing together. In addition, the control unit during the recovery process originally in the standby state shifts to the standby state after transmitting the recovery command to the control unit during the runaway process. If it is not originally in the standby state, the recovery processing control unit resumes the software job read from the runaway processing control unit after transmitting a recovery command to the runaway processing control unit.

一方、判定の結果、暴走処理中制御部に異常が発生しており、復旧させることができないと判定された場合は、復旧コマンドを送信せず、代わりに他の制御部に対して、異常の発生した制御部と連動した処理を実施する制御部を中断状態のまま維持する機能限定モードへの移行を指示するコマンドを出力する。また、復旧処理中制御部は、暴走処理中制御部に対して、自己診断実行コマンドを出力する。自己診断の処理の内容については後述する。   On the other hand, if it is determined that an error has occurred in the control unit during the runaway process and it cannot be recovered as a result of the determination, the recovery command is not sent, and an error is A command for instructing the transition to the function-restricted mode for maintaining the control unit that performs processing linked to the generated control unit in the suspended state is output. In addition, the recovery process control unit outputs a self-diagnosis execution command to the runaway process control unit. The contents of the self-diagnosis process will be described later.

続いて、ソフトウェアの暴走が発生してからの処理の流れを図7のシーケンス図を用いて説明する。図7では、紙搬送制御部250において暴走が検出された場合が示されている。図7に示されるように、まずCPU201にてソフトウェアの暴走が発生すると(ステップS101)、ソフト監視部204において暴走が検出される(ステップS103)。CPU201は、ソフトウェアの暴走が発生した時点で、リセットされ、処理が中止される(ステップS102)。このリセットされた状態は、復旧処理中制御部から復旧コマンドが送信されるまで継続する。   Next, the flow of processing after a software runaway occurs will be described with reference to the sequence diagram of FIG. FIG. 7 shows a case where runaway is detected in the paper conveyance control unit 250. As shown in FIG. 7, first, when a software runaway occurs in the CPU 201 (step S101), the software monitoring unit 204 detects the runaway (step S103). The CPU 201 is reset when the software runaway occurs, and the processing is stopped (step S102). This reset state continues until a recovery command is transmitted from the controller during the recovery process.

ついで、ソフト監視部204は、暴走が検出されたことにより、暴走回数カウンタ406、及び動作時間カウンタ407の値を更新する(ステップS104)。暴走回数カウンタ406の値は暴走の累積回数の値が1加算される。また、動作時間カウンタ407は、暴走が検出された時点で、カウントがストップされて、その時点の前回の暴走検出から復帰した時点からの連続動作時間が確定する。   Next, the software monitoring unit 204 updates the values of the runaway number counter 406 and the operation time counter 407 when the runaway is detected (step S104). The value of the runaway counter 406 is incremented by 1 for the cumulative number of runaways. In addition, the operation time counter 407 stops counting when a runaway is detected, and determines the continuous operation time from the time when the runaway detection at that time is restored.

ついで、ソフト監視部204は、切替回路402に対して、スイッチ401、404を切り替える旨の指示を送る(ステップS105)。指示を受けた切替回路402は、スイッチ401を暴走通知コマンド出力部403が外部バス290と接続されるように切り替える(ステップS106)。また、切替回路402は、スイッチ404を記憶装置207がソフト監視部204と接続されるように切り替える(ステップS107)。この状態となることで、暴走通知コマンド出力部403は、他の暴走が発生していない制御部に対して、暴走通知コマンドを送信することができるようになる(ステップS109)。   Next, the software monitoring unit 204 sends an instruction to switch the switches 401 and 404 to the switching circuit 402 (step S105). Upon receiving the instruction, the switching circuit 402 switches the switch 401 so that the runaway notification command output unit 403 is connected to the external bus 290 (step S106). The switching circuit 402 switches the switch 404 so that the storage device 207 is connected to the software monitoring unit 204 (step S107). In this state, the runaway notification command output unit 403 can transmit a runaway notification command to other control units in which no runaway has occurred (step S109).

スイッチ404がソフト監視部204側へと切替されると、ソフト監視部204は、記憶装置207に更新した各カウンタの値を書き込む(ステップS108)。カウンタの値を書き込んだ後は、他の制御部からカウンタのデータの読み出し命令が来るまで待機状態となる。   When the switch 404 is switched to the software monitoring unit 204 side, the software monitoring unit 204 writes the updated value of each counter in the storage device 207 (step S108). After the counter value is written, the process waits until a counter data read command is received from another control unit.

暴走通知コマンドを受理した他の制御部は、動作中であるか否かを判定する(ステップS110)。暴走通知コマンドを受理した制御部が動作中である場合は(ステップS110:Yes)、処理中の動作の中断処理を行い、待機状態となり、処理を終了する(ステップS111)。一方、暴走通知コマンドを受理した制御部が待機中である場合は(ステップS110:No)、以降この制御部が紙搬送制御部250の復旧処理を行う制御部となり異常判定値となる各カウンタの値を取得するべく紙搬送制御部250へとデータ読み出しコマンドを送信する(ステップS113)。データ読み出しコマンドを受信した紙搬送制御部250の切替回路402は、スイッチ401を記憶装置207側へと切り替える(ステップS114)。また、同じく切替回路402は、スイッチ404を開状態に切替え、ソフト監視部204と記憶装置207の接続を断絶する(ステップS116)。   The other control unit that has received the runaway notification command determines whether or not it is operating (step S110). When the control unit that has received the runaway notification command is operating (step S110: Yes), the processing operation is interrupted, the process enters a standby state, and the process ends (step S111). On the other hand, when the control unit that has received the runaway notification command is on standby (step S110: No), the control unit becomes the control unit that performs the recovery process of the paper transport control unit 250 and the counter of each counter that becomes the abnormality determination value. A data read command is transmitted to the paper conveyance control unit 250 in order to acquire the value (step S113). Upon receiving the data read command, the switching circuit 402 of the paper transport control unit 250 switches the switch 401 to the storage device 207 side (step S114). Similarly, the switching circuit 402 switches the switch 404 to the open state, and disconnects the connection between the software monitoring unit 204 and the storage device 207 (step S116).

スイッチ401が記憶装置207側へと切り替えられることで、復旧処理中制御部は、各カウンタ値を取得する(ステップS115)。復旧処理中制御部は、取得したカウンタ値のうち、暴走の累積回数の値があらかじめ定められた異常判定用の閾値よりも小さいか否かを判定する(ステップS117)。また、同じく復旧処理中制御部は、取得したカウンタ値のうち、連続正常稼働時間の値が予め定められた異常判定用の閾値よりも長いか否かを判定する(ステップS118)。   When the switch 401 is switched to the storage device 207 side, the recovery processing in-progress control unit acquires each counter value (step S115). The control unit during restoration processing determines whether or not the value of the cumulative number of runaways is smaller than a predetermined abnormality determination threshold value among the acquired counter values (step S117). Similarly, the controller during recovery processing determines whether or not the value of the continuous normal operation time is longer than the predetermined abnormality determination threshold value among the acquired counter values (step S118).

暴走の累積回数の値があらかじめ定められた異常判定用の閾値よりも小さい場合(ステップS117:Yes)、又は連続正常稼働時間の値が予め定められた異常判定用の閾値よりも長い場合(ステップS118:Yes)、復旧処理中制御部は、復旧処理を継続し、復旧コマンドを紙搬送制御部250へと送信する(ステップS119)。復旧コマンドを受信した紙搬送制御部250においては、切替回路402は、スイッチ401をI/F205と外部バス290とが接続するよう切り替える(ステップS120)。そして、CPU201は、再起動し(ステップS121)、中断されていた処理の処理途中で停止された時点に復帰処理がなされる(ステップS122)。   When the value of the cumulative number of runaways is smaller than a predetermined abnormality determination threshold (step S117: Yes), or when the continuous normal operation time value is longer than a predetermined abnormality determination threshold (step (S118: Yes), the controller during the recovery process continues the recovery process, and transmits a recovery command to the paper transport control unit 250 (step S119). In the paper conveyance control unit 250 that has received the recovery command, the switching circuit 402 switches the switch 401 so that the I / F 205 and the external bus 290 are connected (step S120). Then, the CPU 201 restarts (step S121), and a return process is performed when the CPU 201 is stopped in the middle of the interrupted process (step S122).

一方、暴走の累積回数の値があらかじめ定められた異常判定用の閾値よりも大きい場合(ステップS117:No)、かつ、連続正常稼働時間の値が予め定められた異常判定用の閾値よりも短い場合(ステップS118:No)、復旧処理中制御部は、紙搬送制御部250への通信遮断を指示する(ステップS123)。そして、復旧処理中制御部は、異常が発生していない他の制御部に対して機能限定モードへの移行を指示し(ステップS124)、自らも機能限定モードに移行し、処理を終了する(ステップS125)。   On the other hand, when the value of the cumulative number of runaways is larger than a predetermined abnormality determination threshold value (step S117: No), the continuous normal operation time value is shorter than the predetermined abnormality determination threshold value. In the case (step S118: No), the control unit during the recovery process instructs the paper conveyance control unit 250 to block communication (step S123). Then, the control unit during the recovery process instructs another control unit in which no abnormality has occurred to shift to the function limited mode (step S124), and also shifts to the function limited mode and ends the process ( Step S125).

機能限定モードとは、異常が発生した制御部が行う処理を実施しないようにするためのモードである。機能限定モードには、次の3つの種類がある。   The function limited mode is a mode for preventing processing performed by the control unit in which an abnormality has occurred. There are the following three types of function limitation modes.

(i) 機能限定モード:読み取り制御部が動作可能
(ii) 機能限定モード:書き込み制御部、紙搬送制御部、定着制御部及び作像制御部が動
作可能
(iii) 機能限定モード:コントローラ制御部が動作可能
(i)は原稿の読み取りだけが可能で、印刷するための制御部の1つ以上が動作できない状態である。(ii)は読み取り制御部が動作できない状態である。(iii)は読み取りも印刷もできない状態である。
(i) Function-limited mode: Read control unit can operate
(ii) Function-limited mode: Write control unit, paper transport control unit, fixing control unit, and image formation control unit can operate
(iii) Function-limited mode: The controller controller can operate
(i) is a state in which only the original can be read, and one or more control units for printing cannot be operated. (ii) is a state in which the reading control unit cannot operate. (iii) is a state where neither reading nor printing is possible.

各制御部は自己の状態を診断するが、機能限定モードの種類は各制御部から診断結果を取得したコントローラ制御部210が判断する。コントローラ制御部210は動作限定モードの種類に応じて操作パネル214にエラーメッセージを表示したり、ユーザ操作を制限したりする。   Each control unit diagnoses its own state, but the type of the function limited mode is determined by the controller control unit 210 that has obtained the diagnosis result from each control unit. The controller control unit 210 displays an error message on the operation panel 214 or restricts user operations according to the type of the operation restriction mode.

いずれの機能限定モードに移行するか否かの判定には、各制御部が有する、暴走通知コマンドを送信した暴走処理中制御部に応じて、動作を継続するか中断するかを登録した動作決定テーブルを用いる。図8は、動作決定テーブルの一例を示している。   In determining whether to enter any function-restricted mode, each control unit has an operation decision that registers whether to continue or interrupt the operation depending on the control unit during runaway processing that sent the runaway notification command. Use a table. FIG. 8 shows an example of the operation determination table.

動作決定テーブルの一例としては以下のようなものである。なお、「動作中断」とは、制御部の動作が中断されて、機能限定モードへと移行する場合を示しており、「動作継続」とは、制御部に異常が発生した場合であっても、継続して処理が行われる場合を示している。
・エンジン制御部
動作中断:なし(他の制御により動作中断しない)
動作継続:全ての制御部の1つ以上が暴走通知
・読み取り制御部
動作中断:エンジン制御部が暴走通知
動作継続:書き込み制御部、紙搬送制御部、定着制御部、作像制御部の1つ以上が暴走通知
・書き込み制御部
動作中断:エンジン制御部、紙搬送制御部、定着制御部、作像制御部、の1つ以上が暴走通知
動作継続:読み取り制御部が暴走通知
・紙搬送制御部
動作中断:エンジン制御部、書き込み制御部、定着制御部、作像制御部、の1つ以上が暴走通知
動作継続:読み取り制御部が暴走通知
・定着制御部
動作中断:エンジン制御部、書き込み制御部、紙搬送制御部、作像制御部、の1つ以上が暴走通知
動作継続:読み取り制御部が暴走通知
・作像制御部
動作中断:エンジン制御部、書き込み制御部、紙搬送制御部、定着装置、の1つ以上が暴走通知
動作継続:読み取り制御部が暴走通知
An example of the operation determination table is as follows. Note that “operation interruption” indicates a case where the operation of the control unit is interrupted and the mode is shifted to the function limited mode, and “operation continuation” indicates that even when an abnormality occurs in the control unit. This shows a case where the processing is continuously performed.
-Engine control unit operation interruption: None (No operation interruption by other control)
Operation continuation: One or more of all control units runaway notification / reading control unit operation interruption: Engine control unit runaway notification operation continuation: One of writing control unit, paper transport control unit, fixing control unit, image formation control unit The above is the runaway notification / writing control unit operation interruption: one or more of the engine control unit, paper conveyance control unit, fixing control unit, and image formation control unit continues the runaway notification operation: the reading control unit is the runaway notification / paper conveyance control unit Operation interruption: One or more of the engine control unit, write control unit, fixing control unit, and image formation control unit runaway notification operation continuation: Read control unit runs out of control / fixing control unit Operation interruption: engine control unit, write control unit One or more of the paper conveyance control unit and the image formation control unit continue the runaway notification operation: the read control unit performs the runaway notification / image formation control unit operation interruption: the engine control unit, the writing control unit, the paper conveyance control unit, the fixing device One or more of Run the notification operation continued: reading control unit runaway notification

各制御部は、自機の動作決定テーブルを参照して、暴走通知コマンドを受信した場合に動作を中断するか継続するかを判定する。   Each control unit refers to its own operation determination table and determines whether to interrupt or continue the operation when a runaway notification command is received.

また、通信遮断の指示をうけた紙搬送制御部250は、調停回路206が通信の遮断処理を行う(ステップS126)。そして、CPU201は、自己診断処理を行い(ステップS127)、処理を終了する。   Also, in the paper conveyance control unit 250 that has been instructed to block communication, the arbitration circuit 206 performs a communication blocking process (step S126). And CPU201 performs a self-diagnosis process (step S127), and complete | finishes a process.

以下、異常が発生した制御部において行われる自己診断処理の流れについて図9を用いて説明する。図9に示されるように、紙搬送制御部250は、過去の自己診断処理の実行履歴があるか否かを判定する(ステップS201)。過去に自己診断処理の実行履歴がないと判定された場合(ステップS201:No)、制御部は、外部割り込み入力端子を汎用ポートへ変更する(ステップS202)。汎用ポートに変更するのは、割り込みを許可する割り込みポートを利用している場合、CPU201への割り込み信号が入力されることもあるため、正確に接続されたデバイスの入力信号の回数を検出できないためである。次いで、制御部は変更した入力端子への所定の時間内における入力信号の検出回数を測定し、回数を記憶する(ステップS203)。そして、制御部は、検出回数が所定の閾値より小さいか否かを判定する(ステップS204)。   Hereinafter, the flow of the self-diagnosis process performed in the control unit in which an abnormality has occurred will be described with reference to FIG. As shown in FIG. 9, the paper conveyance control unit 250 determines whether there is a past execution history of self-diagnosis processing (step S201). When it is determined that there is no self-diagnosis process execution history in the past (step S201: No), the control unit changes the external interrupt input terminal to a general-purpose port (step S202). The reason for changing to a general-purpose port is that when an interrupt port that permits interrupts is used, an interrupt signal may be input to the CPU 201, and thus the number of input signals of a connected device cannot be detected accurately. It is. Next, the control unit measures the number of detections of the input signal to the changed input terminal within a predetermined time, and stores the number of times (step S203). And a control part determines whether the frequency | count of detection is smaller than a predetermined threshold value (step S204).

過去に自己診断処理の実行履歴があると判定された場合(ステップS201:Yes)、その制御部は異常が何度も発生していることから、制御部自体が故障していると判定される(ステップS205)。また、検出回数が所定の閾値より小さい場合も同様に(ステップS204:Yes)、制御部に接続されたデバイスに問題があるのではなく、制御部自体に問題があると判断することができることから制御部自体が故障していると判定される(ステップS205)。制御部が故障している場合については、ステップS126において遮断された状態はそのまま維持される。   When it is determined that there is an execution history of the self-diagnosis process in the past (step S201: Yes), it is determined that the control unit itself is out of order because the control unit has occurred abnormally many times. (Step S205). Similarly, when the number of times of detection is smaller than the predetermined threshold (step S204: Yes), it can be determined that there is a problem with the control unit itself, rather than a problem with the device connected to the control unit. It is determined that the control unit itself has failed (step S205). In the case where the control unit is out of order, the state interrupted in step S126 is maintained as it is.

一方、検出回数が所定の閾値より大きい場合(ステップS204:No)、入力信号が連続して入力され続けていることから、制御部は、汎用ポートに入力信号を送信するデバイスに故障が発生していると判定する(ステップS206)。デバイスとは、例えば制御部ごとに異なっており、例えば用紙の位置を検出するセンサや、駆動用のモータ等である。そして、故障部位の診断が完了後に、制御部は、スイッチ401をI/F205側へと切替え、他の制御部との通信が可能な状態にする(ステップS207)。この際の、制御部の状態が図6に示されている。そして、接続されたデバイスに異常が発生している場合は、制御部自体には異常がないことから、異常が発生している制御部は、他の制御部に対して故障しているデバイスの部位を通知し、自己診断処理を終了する(ステップS208)。この通知を受けたほかの制御部にあっては、上述した機能限定モードを解除するようにしてもよい。   On the other hand, when the number of times of detection is larger than the predetermined threshold (step S204: No), the input signal is continuously input, so the control unit fails in the device that transmits the input signal to the general-purpose port. (Step S206). The device is different for each control unit, for example, a sensor for detecting the position of the paper, a driving motor, or the like. Then, after the diagnosis of the faulty part is completed, the control unit switches the switch 401 to the I / F 205 side so that communication with other control units is possible (step S207). The state of the control unit at this time is shown in FIG. And if there is an abnormality in the connected device, there is no abnormality in the control unit itself, so the control unit in which the abnormality has occurred The site is notified and the self-diagnosis process is terminated (step S208). In other control units that have received this notification, the above-described function restriction mode may be canceled.

以上に示した、画像形成装置にあっては、以上のように、本実施例の画像形成装置100は、ある制御部のCPU201が暴走しても、そのCPU201のみをリセットすることで、装置全体を再起動するよりも短時間で復旧することができる。   In the image forming apparatus described above, as described above, the image forming apparatus 100 according to the present exemplary embodiment resets only the CPU 201 even if the CPU 201 of a certain control unit runs out of control. Can be recovered in a shorter time than restarting.

また、ある制御部において異常が発生した場合であっても、正常に稼動している別の制御部において、発生した異常の度合いを判定し、復旧させるかどうかを決定することができるため、異常が発生しても、必ずしもずっと停止状態とする必要のない場合において、早期に自動的に復旧処理を行うことができるようになる。   In addition, even if an abnormality occurs in a certain control unit, it is possible to determine the degree of the abnormality that has occurred and determine whether to restore it in another control unit that is operating normally. Even if this occurs, the recovery process can be automatically performed automatically at an early stage when it is not always necessary to keep the stop state.

また、機能限定モードを採用することで、待機中の制御部のCPUが暴走した場合には可能な限り他の機能を利用可能とし、動作中の制御部のCPUが暴走した場合には動作を中断することで、確実に保全することができる。   In addition, by adopting the function-limited mode, other functions can be used as much as possible when the CPU of the standby control unit runs out of control, and the operation is performed when the CPU of the operating control unit runs out of control. By suspending, it can be reliably maintained.

また、自己診断処理を行い、異常の発生の原因が、制御部自体にあるのか、他の部材にあるのかを判定することができ、制御部に異常がないことが判定できれば、制御部自体が行う処理については復帰させて実施させることができるようになる。   In addition, self-diagnosis processing can be performed to determine whether the cause of the abnormality is in the control unit itself or in another member, and if it is determined that there is no abnormality in the control unit, the control unit itself The processing to be performed can be restored and executed.

なお、異常判定値は復旧処理中制御部が、暴走処理中制御部から読み取ることにより取得される構成をしたが、暴走処理中制御部が、カウンタの更新後の復旧処理中制御部へと送信することによって同じ機能を実現するようにすることもできる。   Note that the abnormality determination value is acquired by the control unit during recovery processing being read from the control unit during runaway processing, but the control unit during runaway processing sends it to the control unit during recovery processing after updating the counter. By doing so, the same function can be realized.

なお、上記実施の形態では、本発明の画像形成装置を、コピー機能、プリンタ機能、スキャナ機能およびファクシミリ機能のうち少なくとも2つの機能を有する複合機に適用した例を挙げて説明するが、複写機、プリンタ、スキャナ装置、ファクシミリ装置等の画像形成装置であればいずれにも適用することができる。   In the above embodiment, the image forming apparatus according to the present invention is described by taking an example in which the image forming apparatus is applied to a multifunction machine having at least two functions among a copy function, a printer function, a scanner function, and a facsimile function. The present invention can be applied to any image forming apparatus such as a printer, a scanner apparatus, and a facsimile apparatus.

100 画像形成装置
110 作像ユニット
120 書き込みユニット
130 原稿読み取り部
140 ARDF
150 給紙ユニット
201 CPU
202 RAM
203 ROM
204 ソフト監視部
205 I/F
206 調停回路
207 記憶装置
208、209 ダイオード
210 コントローラ制御部
220 エンジン制御部
230 読み取り制御部
240 書き込み制御部
250 紙搬送制御部
260 定着制御部
270 作像制御部
280 PCIバス
290 外部バス
300 電源制御部
401、404 スイッチ
402 切替回路
403 暴走通知コマンド出力部
DESCRIPTION OF SYMBOLS 100 Image forming apparatus 110 Image forming unit 120 Writing unit 130 Document reading part 140 ARDF
150 Paper Feed Unit 201 CPU
202 RAM
203 ROM
204 Software monitoring unit 205 I / F
206 Arbitration circuit 207 Storage device 208, 209 Diode 210 Controller control unit 220 Engine control unit 230 Reading control unit 240 Write control unit 250 Paper conveyance control unit 260 Fixing control unit 270 Image forming control unit 280 PCI bus 290 External bus 300 Power supply control unit 401, 404 switch 402 switching circuit 403 runaway notification command output unit

特開2006−259869号公報JP 2006-259869 A

Claims (8)

複数の情報処理部を備える情報処理装置であって、
前記情報処理部は、
ソフトウェアを実行するプロセッサと、
前記ソフトウェアの異常を検出する検出部と、
異常を検出した前記ソフトウェアを実行する前記プロセッサを再起動する再起動部と、
前記ソフトウェアの異常が検出された場合に、他の前記情報処理部へ異常の発生を通知するエラー通知部と、
前記ソフトウェアの異常度合いを示す異常判定値を計測するエラー計測部と、
前記異常の検出された前記情報処理部において計測された前記異常判定値を取得する判定値取得部と、
取得した前記異常判定値と、予め定められたしきい値とを比較することにより、前記異常の検出された前記情報処理部を復旧させるか否かを判定する復旧判定部と、
復旧させると判定された場合に、前記異常の発生した前記情報処理部の前記再起動部に前記プロセッサを再起動させる旨指示する再起動指示部と、
を備えることを特徴とする情報処理装置。
An information processing apparatus including a plurality of information processing units,
The information processing unit
A processor running software;
A detection unit for detecting an abnormality of the software;
A restart unit that restarts the processor that executes the software that has detected an abnormality;
An error notification unit that notifies the other information processing unit of the occurrence of an abnormality when an abnormality of the software is detected;
An error measurement unit that measures an abnormality determination value indicating an abnormality degree of the software;
A determination value acquisition unit that acquires the abnormality determination value measured in the information processing unit in which the abnormality is detected;
A recovery determination unit that determines whether to restore the information processing unit in which the abnormality is detected by comparing the acquired abnormality determination value with a predetermined threshold;
A restart instruction unit that instructs the restart unit of the information processing unit in which the abnormality has occurred to restart the processor when it is determined to be restored;
An information processing apparatus comprising:
前記復旧判定部が、前記異常の検出された前記情報処理部を復旧させないと判定した場合に、前記情報処理部と、他の前記情報処理部との通信を遮断する指示を前記異常が発生した前記情報処理部へと送る通信遮断指示部
を更に備えることを特徴とする請求項1に記載の情報処理装置。
When the restoration determination unit determines not to restore the information processing unit in which the abnormality is detected, the abnormality has occurred with an instruction to block communication between the information processing unit and the other information processing unit The information processing apparatus according to claim 1, further comprising: a communication cutoff instruction unit that sends the information to the information processing unit.
前記情報処理部は、
いずれの部位に異常が発生したかの判定を行う自己診断処理を行う自己診断部と、
前記復旧判定部が復旧させないと判定した場合に、前記自己診断処理を前記異常が検出された前記情報処理部の前記自己診断部に実行させる自己診断指示部と、
を更に備えることを特徴とする請求項1に記載の情報処理装置。
The information processing unit
A self-diagnosis unit for performing a self-diagnosis process for determining which part has an abnormality;
A self-diagnosis instruction unit that causes the self-diagnosis unit of the information processing unit in which the abnormality is detected to execute the self-diagnosis process when the recovery determination unit determines not to restore;
The information processing apparatus according to claim 1, further comprising:
前記自己診断部は、前記自己診断処理を開始してから所定の時間内に前記異常が検出された前記情報処理部内へと入力された信号の検出回数をカウントし、カウントした前記検出回数が予め定められた回数を超えた場合においては、前記信号を送信したデバイスが故障している旨判定し、前記検出回数が予め定められた回数より少ない場合には、前記情報処理部が故障している旨判定する
ことを特徴とする請求項3に記載の情報処理装置。
The self-diagnosis unit counts the number of detections of a signal input into the information processing unit in which the abnormality is detected within a predetermined time after the start of the self-diagnosis process, and the counted number of detections If the predetermined number of times has been exceeded, it is determined that the device that transmitted the signal has failed. If the number of detections is less than a predetermined number, the information processing unit has failed. The information processing apparatus according to claim 3, wherein a determination is made.
前記自己診断部は、カウントした前記検出回数が予め定められた回数を超えた場合においては、自らの前記再起動部に前記プロセッサを再起動させるとともに、前記異常の発生した前記情報処理部と他の前記情報処理部との間を通信可能とする
ことを特徴とする請求項4に記載の情報処理装置。
The self-diagnosis unit, when the counted number of times of detection exceeds a predetermined number of times, causes the restarting unit to restart the processor and the information processing unit in which the abnormality has occurred The information processing apparatus according to claim 4, wherein communication with the information processing unit is enabled.
前記自己診断部は、
カウントした前記検出回数が予め定められた回数を超えた場合においては、異常がない旨を他の前記情報処理部へと通知する診断結果通知部を、
更に備えることを特徴とする請求項1又は2に記載の情報処理装置。
The self-diagnosis unit
When the counted number of times of detection exceeds a predetermined number of times, a diagnostic result notifying unit that notifies the other information processing unit that there is no abnormality,
The information processing apparatus according to claim 1, further comprising:
前記復旧判定部が前記情報処理部を復旧させないと判定した場合に、他の前記情報処理部のうち、異常の検出された前記情報処理部と連動して処理を行う前記情報処理部を停止するよう、他の前記情報処理部に対して通知する停止通知部を
更に備えることを特徴とする請求項1又は2に記載の情報処理装置。
When the recovery determination unit determines not to restore the information processing unit, the information processing unit that performs processing in conjunction with the information processing unit in which an abnormality is detected is stopped among the other information processing units. The information processing apparatus according to claim 1, further comprising a stop notification unit that notifies the other information processing unit.
複数の情報処理部を備える情報処理装置の異常処理方法であって、
前記情報処理部がソフトウェアの異常を検出する検出ステップと、
前記情報処理部が異常を検出した前記ソフトウェアを実行するプロセッサを再起動する再起動ステップと、
前記ソフトウェアの異常が検出された場合に、前記情報処理部が他の前記情報処理部へ異常の発生を通知するエラー通知ステップと、
前記情報処理部が前記ソフトウェアの異常度合いを示す異常判定値を計測するエラー計測ステップと、
前記異常の発生を通知された他の前記情報処理部が前記異常の検出された前記情報処理部において計測された前記異常判定値を取得する判定値取得ステップと、
前記他の前記情報処理部が、取得した前記異常判定値と、予め定められたしきい値とを比較することにより、前記異常の検出された前記情報処理部を復旧させるか否かを判定する復旧判定ステップと、
前記他の前記情報処理部が、復旧させると判定された場合に、前記異常の発生した前記情報処理部の前記再起動部に前記ソフトウェアを再起動させる旨指示する再起動指示ステップと
を含むことを特徴とする異常処理方法。
An abnormality processing method for an information processing apparatus including a plurality of information processing units,
A detection step in which the information processing unit detects a software abnormality;
A restarting step of restarting a processor that executes the software for which the information processing unit has detected an abnormality;
An error notifying step in which when the software abnormality is detected, the information processing unit notifies the other information processing unit of the occurrence of the abnormality;
An error measurement step in which the information processing unit measures an abnormality determination value indicating the degree of abnormality of the software;
A determination value acquisition step in which the other information processing unit notified of the occurrence of the abnormality acquires the abnormality determination value measured in the information processing unit in which the abnormality is detected;
The other information processing unit determines whether to restore the information processing unit in which the abnormality is detected by comparing the acquired abnormality determination value with a predetermined threshold value. Recovery judgment step;
A restart instruction step that instructs the restart unit of the information processing unit in which the abnormality has occurred to restart the software when it is determined that the other information processing unit is to be restored. An abnormality processing method characterized by the above.
JP2012116991A 2012-05-22 2012-05-22 Information processing apparatus, and abnormality processing method Pending JP2013242811A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012116991A JP2013242811A (en) 2012-05-22 2012-05-22 Information processing apparatus, and abnormality processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012116991A JP2013242811A (en) 2012-05-22 2012-05-22 Information processing apparatus, and abnormality processing method

Publications (1)

Publication Number Publication Date
JP2013242811A true JP2013242811A (en) 2013-12-05

Family

ID=49843617

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012116991A Pending JP2013242811A (en) 2012-05-22 2012-05-22 Information processing apparatus, and abnormality processing method

Country Status (1)

Country Link
JP (1) JP2013242811A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016091162A (en) * 2014-10-31 2016-05-23 株式会社デンソー Electronic control device
JP2016207122A (en) * 2015-04-28 2016-12-08 京セラドキュメントソリューションズ株式会社 Electronic equipment and reboot program
US10585755B2 (en) 2016-11-29 2020-03-10 Ricoh Company, Ltd. Electronic apparatus and method for restarting a central processing unit (CPU) in response to detecting an abnormality

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016091162A (en) * 2014-10-31 2016-05-23 株式会社デンソー Electronic control device
JP2016207122A (en) * 2015-04-28 2016-12-08 京セラドキュメントソリューションズ株式会社 Electronic equipment and reboot program
US10585755B2 (en) 2016-11-29 2020-03-10 Ricoh Company, Ltd. Electronic apparatus and method for restarting a central processing unit (CPU) in response to detecting an abnormality

Similar Documents

Publication Publication Date Title
KR100670877B1 (en) Image forming apparatus and its control method
US7899380B2 (en) Image forming apparatus having fixing device and controller to execute a cleaning mode
JP2014109719A (en) Optical writing control device, image forming apparatus and method for controlling optical writing device
JP2013242811A (en) Information processing apparatus, and abnormality processing method
JP2008256911A (en) Monitoring system, image forming apparatus and information processor
JP2015203848A (en) image forming apparatus
US20120293824A1 (en) Image forming apparatus and sheet jam treatment method for the image forming apparatus
JP2013065019A (en) Image formation device
JP2019219455A (en) Image forming apparatus and method for controlling the same
JP5377273B2 (en) Image forming apparatus
JP2009141526A (en) Control system, and interruption method
US9665515B2 (en) Bus arbitration apparatus provided to a bus connected to a plurality of bus masters, bus arbitration method, and computer-readable storage medium
JP2013054314A (en) Image forming apparatus and operation control method
JP2012247535A (en) Image forming apparatus
JP5445955B2 (en) Image forming apparatus
JP4232324B2 (en) Image forming apparatus
JP2013011677A (en) Image forming apparatus
JP2011191504A (en) Image forming apparatus
JP2011128405A (en) Image forming apparatus
JP4508896B2 (en) Control system
US9438758B2 (en) Image forming apparatus
JP2014219562A (en) Image forming apparatus
JP2005015166A (en) Image forming device and controlling method thereof
EP2463720B1 (en) Image forming apparatus, method of controlling image forming apparatus and computer readable information recording medium
JP2013225012A (en) Image formation control device, image forming apparatus, and control method of image forming apparatus