[go: up one dir, main page]

JP7600691B2 - Image forming apparatus, method and control device for image forming apparatus - Google Patents

Image forming apparatus, method and control device for image forming apparatus Download PDF

Info

Publication number
JP7600691B2
JP7600691B2 JP2021001897A JP2021001897A JP7600691B2 JP 7600691 B2 JP7600691 B2 JP 7600691B2 JP 2021001897 A JP2021001897 A JP 2021001897A JP 2021001897 A JP2021001897 A JP 2021001897A JP 7600691 B2 JP7600691 B2 JP 7600691B2
Authority
JP
Japan
Prior art keywords
control unit
operation mode
reset
unit
circuit
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
JP2021001897A
Other languages
Japanese (ja)
Other versions
JP2022107145A (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.)
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 JP2021001897A priority Critical patent/JP7600691B2/en
Publication of JP2022107145A publication Critical patent/JP2022107145A/en
Application granted granted Critical
Publication of JP7600691B2 publication Critical patent/JP7600691B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Facsimiles In General (AREA)

Description

本発明は、画像形成装置、画像形成装置の制御方法および制御装置に関する。 The present invention relates to an image forming apparatus, a control method for an image forming apparatus, and a control device.

通常モード時に画像処理エンジンなどの機器を制御するメイン制御装置と、通常モードより消費電力が少ない省エネルギーモード時にメイン制御装置に代わって機器の一部を制御するサブ制御部を有する画像形成装置が知られている。外部と通信するI/OコントローラとサブCPUとがサブ制御部に搭載される画像形成装置において、サブCPUが暴走した場合、外部と常時通信する回路を除きリセットすることで、制御装置の動作異常を防止する手法が知られている(例えば、特許文献1参照)。 Image forming devices are known that have a main control device that controls devices such as an image processing engine in normal mode, and a sub-controller that controls part of the devices in place of the main control device in an energy-saving mode that consumes less power than normal mode. In image forming devices in which an I/O controller that communicates with the outside and a sub-CPU are mounted in the sub-controller, if the sub-CPU goes out of control, a method is known for preventing operational abnormalities in the control device by resetting everything except for the circuit that constantly communicates with the outside (see, for example, Patent Document 1).

また、サブCPUが暴走して正常に復帰できないときに、リセットを繰り返すサブ制御部により無駄な電力が消費されることを抑制するために、画像形成装置全体の電源をオフする手法が知られている(例えば、特許文献2参照)。 In addition, when a sub-CPU goes out of control and cannot be restored to normal operation, a method is known in which the power supply to the entire image forming device is turned off to prevent unnecessary power consumption by the sub-controller that repeatedly resets itself (see, for example, Patent Document 2).

サブCPUが暴走したときのリセット範囲が予め決められている場合、リセットしない要素の異常によりサブCPUが再び暴走するおそれがある。この場合、暴走前にサブ制御部に保持されているデータが喪失するおそれがある。 If the reset range when the sub-CPU goes out of control is predetermined, there is a risk that the sub-CPU will go out of control again due to an abnormality in an element that is not reset. In this case, there is a risk that data that was held in the sub-control unit before the out-of-control state will be lost.

開示の技術は、第2コントローラの異常の発生要因である回路を検出してリセットすることで、第2コントローラの異常が繰り返し発生することを防止し、第2制御部に保持されるデータの喪失を防止することを目的とする。 The disclosed technology aims to prevent repeated occurrence of abnormalities in the second controller by detecting and resetting the circuit that is the cause of the abnormality in the second controller, and to prevent the loss of data stored in the second control unit.

上記技術的課題を解決するため、本発明の一形態の画像形成装置は、画像を形成する画像形成部と、第1コントローラを含み、第1動作モード時に前記画像形成部の制御を実施し、前記第1動作モードより消費電力が小さい第2動作モード時に前記画像形成部とともに電源が遮断される第1制御部と、前記第1動作モード時および前記第2動作モード時に動作する第2コントローラを含む第2制御部と、を有し、前記第2制御部は、前記第2動作モード時に前記第2コントローラの異常を検出した場合、異常検出信号を出力する異常検出部と、前記異常検出部が検出した異常に基づいて、前記第1制御部を前記第2動作モードから前記第1動作モードに復帰させる復帰処理部と、前記第2制御部内の複数の回路の状態を示す回路情報を保持する回路情報保持部と、前記第2動作モードから前記第1動作モードに復帰した場合に前記第1制御部から発行される情報取得要求に基づいて、前記回路情報保持部に保持された前記回路情報を前記第1制御部に出力する回路情報通知部と、前記第1制御部から受信するリセット要求が示す回路をリセットするリセット部と、を有し、前記第1制御部は、前記第2制御部から通知された前記回路情報に基づいて前記第2制御部内で異常が発生した前記回路を判定できない場合、前記第2コントローラの動作を停止させる停止要求を前記第2制御部に発行する停止要求発行部を有し、
前記第2制御部は、前記停止要求に基づいて前記第2コントローラの動作を停止する停止信号を生成する停止信号生成回路を有することを特徴とする。
In order to solve the above technical problem, an image forming apparatus according to one aspect of the present invention includes an image forming unit that forms an image, a first control unit that includes a first controller and controls the image forming unit in a first operation mode and is powered off together with the image forming unit in a second operation mode that consumes less power than the first operation mode, and a second control unit that includes a second controller that operates in the first operation mode and the second operation mode, wherein the second control unit includes an abnormality detection unit that outputs an abnormality detection signal when an abnormality in the second controller is detected in the second operation mode, and a second control unit that returns the first control unit from the second operation mode to the first operation mode based on the abnormality detected by the abnormality detection unit. a circuit information holding unit that holds circuit information indicating states of a plurality of circuits in the second control unit, a circuit information notification unit that outputs the circuit information held in the circuit information holding unit to the first control unit based on an information acquisition request issued from the first control unit when the second operation mode is returned to the first operation mode, and a reset unit that resets a circuit indicated by a reset request received from the first control unit , wherein the first control unit has a stop request issuance unit that issues a stop request to the second control unit to stop operation of the second controller when it is not possible to determine the circuit in the second control unit where an abnormality has occurred based on the circuit information notified from the second control unit,
The second control unit has a stop signal generating circuit that generates a stop signal for stopping operation of the second controller based on the stop request .

第2コントローラの異常の発生要因である回路を検出してリセットすることで、第2コントローラの異常が繰り返し発生することを防止し、第2制御部に保持されるデータの喪失を防止することができる。 By detecting and resetting the circuit that is the cause of the second controller abnormality, it is possible to prevent the second controller abnormality from recurring and prevent the loss of data held in the second control unit.

本発明の第1の実施形態に係る画像形成装置の一例を示すブロック図である。1 is a block diagram showing an example of an image forming apparatus according to a first embodiment of the present invention. 図1の画像形成装置の動作の一例を示すシーケンス図である。FIG. 2 is a sequence diagram showing an example of an operation of the image forming apparatus in FIG. 1 . 図1の画像形成装置の動作の別の例を示すシーケンス図である。1. FIG. 4 is a sequence diagram showing another example of the operation of the image forming apparatus in FIG. 図1の画像形成装置の動作のさらなる別の例を示すシーケンス図である。10 is a sequence diagram showing yet another example of the operation of the image forming apparatus in FIG. 1 . 本発明の第2の実施形態に係る画像形成装置の一例を示すブロック図である。FIG. 11 is a block diagram showing an example of an image forming apparatus according to a second embodiment of the present invention. 図5の画像形成装置の動作の一例を示すシーケンス図である。FIG. 6 is a sequence diagram showing an example of an operation of the image forming apparatus shown in FIG. 5 . 本発明の第3の実施形態に係る画像形成装置の一例を示すブロック図である。FIG. 11 is a block diagram showing an example of an image forming apparatus according to a third embodiment of the present invention. 本発明の第4の実施形態に係る制御装置の一例を示すブロック図である。FIG. 11 is a block diagram showing an example of a control device according to a fourth embodiment of the present invention.

以下、図面を参照して実施の形態の説明を行う。以下では、信号等の情報が伝達される信号線には、信号名と同じ符号を使用する。なお、各図面において、同一構成部分には同一符号を付し、重複した説明を省略する場合がある。 The following describes the embodiments with reference to the drawings. In the following, the signal lines through which information such as signals is transmitted will be designated by the same reference numerals as the signal names. Note that in each drawing, the same components will be designated by the same reference numerals, and duplicate descriptions may be omitted.

(第1の実施形態)
図1は、本発明の第1の実施形態に係る画像形成装置の一例を示すブロック図である。図1に示す画像形成装置100は、エンジン10、メイン制御部20、サブ制御部30、ROM(Read Only Memory)60および操作部70を有する。メイン制御部20は、第1制御部の一例であり、サブ制御部30は第2制御部の一例である。
(First embodiment)
Fig. 1 is a block diagram showing an example of an image forming apparatus according to a first embodiment of the present invention. The image forming apparatus 100 shown in Fig. 1 has an engine 10, a main control unit 20, a sub-control unit 30, a ROM (Read Only Memory) 60, and an operation unit 70. The main control unit 20 is an example of a first control unit, and the sub-control unit 30 is an example of a second control unit.

例えば、エンジン10は、紙媒体等に記録された画像等を読み取って画像データを形成するスキャナ11と、画像データ等を使用して画像を紙媒体等に形成するプロッタ12とを有する。なお、エンジン10は、プロッタ12の代わりに、トナーまたはインクを使用して画像データ等を紙媒体にプリントするプリンタを含んでもよい。エンジン10は、画像を形成する画像形成部の一例である。 For example, the engine 10 has a scanner 11 that reads images recorded on paper media and forms image data, and a plotter 12 that forms an image on a paper medium using the image data. Note that the engine 10 may include a printer that prints image data on a paper medium using toner or ink instead of the plotter 12. The engine 10 is an example of an image forming unit that forms an image.

図1に示す要素のうち、太枠で示す要素は、動作モードの1つである通常モード時に動作し、動作モードの別の1つである省エネルギーモード時に動作を停止する。図1に太枠以外で示す要素は、通常モード時および省エネルギーモード時に動作する。以下では、省エネルギーモードは、省エネモードとも称される。通常モードは、第1動作モードの一例であり、省エネモードは、第2動作モードの一例である。 Of the elements shown in FIG. 1, those shown in bold frames operate in a normal mode, which is one of the operating modes, and stop operating in an energy saving mode, which is another of the operating modes. Elements not shown in bold frames in FIG. 1 operate in both the normal mode and the energy saving mode. Hereinafter, the energy saving mode is also referred to as the energy saving mode. The normal mode is an example of a first operating mode, and the energy saving mode is an example of a second operating mode.

メイン制御部20は、メインCPU(Central Processing Unit)21、PMC(Power Management Controller)22およびPCIe(Peripheral Component Interconnect express)インタフェース(I/F)23を有する。 The main control unit 20 has a main CPU (Central Processing Unit) 21, a PMC (Power Management Controller) 22, and a PCIe (Peripheral Component Interconnect express) interface (I/F) 23.

サブ制御部30は、サブCPU31、PCIeインタフェース32、ウォッチドッグタイマ(WDT)33、PMC34、システムレジスタ35、リセット生成器36およびアービタ37を有する。また、サブ制御部30は、QSPI(Quad Serial Peripheral Interface)38、ワークRAM39、USB(Universal Serial Bus)インタフェース40、ネットワークインタフェース41および操作部インタフェース42を有する。以下では、ウォッチドッグタイマ33は、WDT33とも称される。 The sub-control unit 30 has a sub-CPU 31, a PCIe interface 32, a watchdog timer (WDT) 33, a PMC 34, a system register 35, a reset generator 36, and an arbiter 37. The sub-control unit 30 also has a QSPI (Quad Serial Peripheral Interface) 38, a work RAM 39, a USB (Universal Serial Bus) interface 40, a network interface 41, and an operation unit interface 42. Below, the watchdog timer 33 is also referred to as the WDT 33.

PCIeインタフェース32は、通信インタフェース51、判定回路52、HALT生成回路53、回路情報保持部54およびリセット生成回路55を有する。判定回路52、HALT生成回路53、回路情報保持部54およびリセット生成回路55は、例えば、PCIeインタフェース32内のプログラマブルロジックを使用して形成される。 The PCIe interface 32 has a communication interface 51, a judgment circuit 52, a HALT generation circuit 53, a circuit information holding unit 54, and a reset generation circuit 55. The judgment circuit 52, the HALT generation circuit 53, the circuit information holding unit 54, and the reset generation circuit 55 are formed, for example, using programmable logic within the PCIe interface 32.

これにより、サブ制御部30内に新たな回路を追加することなく、判定回路52、HALT生成回路53、回路情報保持部54およびリセット生成回路55をサブ制御部30に設けることができる。なお、判定回路52、HALT生成回路53、回路情報保持部54およびリセット生成回路55は、PCIeインタフェース32の外側に設けられてもよい。 This allows the determination circuit 52, HALT generation circuit 53, circuit information holding unit 54, and reset generation circuit 55 to be provided in the sub-control unit 30 without adding new circuits to the sub-control unit 30. Note that the determination circuit 52, HALT generation circuit 53, circuit information holding unit 54, and reset generation circuit 55 may be provided outside the PCIe interface 32.

メインCPU21は、第1コントローラの一例であり、サブCPU31は、第2コントローラの一例である。なお、メインCPU21およびサブCPU31は、CPU以外のプロセッサまたはコントローラでもよい。 The main CPU 21 is an example of a first controller, and the sub-CPU 31 is an example of a second controller. Note that the main CPU 21 and the sub-CPU 31 may be processors or controllers other than a CPU.

メインCPU21は、通常モード時、画像形成装置100の全体の動作を制御するとともに、エンジン10を制御して、スキャナ動作またはプロット動作等を実施する。メインCPU21は、動作モードに応じて起動と停止とを繰り返す。 In normal mode, the main CPU 21 controls the overall operation of the image forming device 100 and also controls the engine 10 to perform scanner operations, plotting operations, etc. The main CPU 21 repeatedly starts and stops depending on the operation mode.

PMC22は、サブ制御部30のPMC34からの指示に基づいて、メイン制御部20内の各要素への電源の供給を制御する。例えば、PMC22は、省エネモードから通常モードに復帰させる電源復帰指示に基づいて、メインCPU21およびPCIeインタフェース23に電源を投入し、起動させる。また、PMC22は、通常モードから省エネモードに移行させる電源遮断指示に基づいて、メインCPU21およびPCIeインタフェース23の動作を終了させ、電源の供給を遮断する。 The PMC 22 controls the supply of power to each element in the main control unit 20 based on instructions from the PMC 34 of the sub-control unit 30. For example, the PMC 22 powers on and starts up the main CPU 21 and the PCIe interface 23 based on a power return instruction to return from the energy saving mode to the normal mode. The PMC 22 also terminates the operation of the main CPU 21 and the PCIe interface 23 and cuts off the power supply based on a power cut-off instruction to transition from the normal mode to the energy saving mode.

PCIeインタフェース23は、サブ制御部30のPCIeインタフェース32との間で、パケット(PCIeパケット)による通信を相互に実施する。これにより、既存のインタフェースを利用して、後述する回路情報、リセット要求、ホールド要求等をメイン制御部20とサブ制御部30との間で送受信することができる。また、開発済みの既存のメイン制御部20を使用して、メインCPU21が実行するプログラムを改良するだけで、後述する図2から図4に示す動作を実現することができる。なお、メイン制御部20とサブ制御部30との間は、PCIeインタフェース以外の通信インタフェースで接続されてもよい。 The PCIe interface 23 communicates with the PCIe interface 32 of the sub-controller 30 by using packets (PCIe packets). This allows circuit information, reset requests, hold requests, etc., described below, to be sent and received between the main control unit 20 and the sub-controller 30 using an existing interface. In addition, by using an existing main control unit 20 that has already been developed and simply improving the program executed by the main CPU 21, the operations shown in Figures 2 to 4 described below can be realized. Note that the main control unit 20 and the sub-controller 30 may be connected by a communication interface other than the PCIe interface.

サブCPU31は、省エネモード時、メインCPU21に代わって、画像形成装置100の全体を制御する。サブCPU31は、動作モードにかかわりなく常に動作する。なお、メインCPU21は、エンジン10の動作を制御し、画像処理等の負荷の大きい処理を実施するため、回路規模が大きく、消費電力が大きい。これに対して、サブCPU31は、エンジン10の動作に伴う画像処理等を実施しないため、メインCPU21に比べて、回路規模を小さくでき、消費電力を小さくできる。したがって、エンジン10が動作しない省エネモード時の画像形成装置100の消費電力を、通常モード時に比べて、さらに小さくすることができる。 In energy saving mode, the sub-CPU 31 controls the entire image forming device 100 in place of the main CPU 21. The sub-CPU 31 always operates regardless of the operating mode. The main CPU 21 controls the operation of the engine 10 and performs high-load processing such as image processing, so the circuit scale is large and power consumption is high. In contrast, the sub-CPU 31 does not perform image processing and the like that accompanies the operation of the engine 10, so the circuit scale can be made smaller and power consumption can be reduced compared to the main CPU 21. Therefore, the power consumption of the image forming device 100 in energy saving mode, in which the engine 10 does not operate, can be further reduced compared to normal mode.

通信インタフェース51は、PCIeインタフェース23の図示しない通信インタフェースとの間でパケットを送受信する。判定回路52は、通信インタフェース51を介してメインCPU21から受信するパケットが予め設定された特定のパケットであるか否かを判定する。 The communication interface 51 transmits and receives packets to and from a communication interface (not shown) of the PCIe interface 23. The determination circuit 52 determines whether or not a packet received from the main CPU 21 via the communication interface 51 is a specific packet that has been set in advance.

判定回路52は、特定のパケットがサブCPU31の動作を停止させるHALT要求を示す場合、HALT生成回路53にHALT指示を出力する。HALT要求は、停止要求の一例であり、HALT要求を発行するメインCPU21は、停止要求発行部の一例である。 When a specific packet indicates a HALT request to stop the operation of the sub-CPU 31, the determination circuit 52 outputs a HALT instruction to the HALT generation circuit 53. The HALT request is an example of a stop request, and the main CPU 21 that issues the HALT request is an example of a stop request issuing unit.

判定回路52は、特定のパケットがサブ制御部30内の所定の要素をリセットさせるリセット要求を示す場合、リセット指示をリセット生成回路55に出力する。リセット要求を発行するメインCPU21は、リセット要求発行部の一例である。 When a specific packet indicates a reset request to reset a specific element in the sub-control unit 30, the determination circuit 52 outputs a reset instruction to the reset generation circuit 55. The main CPU 21, which issues the reset request, is an example of a reset request issuing unit.

また、判定回路52は、メインCPU21からの情報取得要求に基づいて、サブ制御部30内の各回路の状態を示す回路情報を回路情報保持部54から取得し、取得した回路情報を、通信インタフェース51を介してメインCPU21に送信する。情報取得要求を発行するメインCPU21は、取得要求発行部の一例である。通信インタフェース51および判定回路52は、メイン制御部20からの情報取得要求に基づいてサブ制御部30内の複数の回路の状態を示す回路情報をメイン制御部20に出力する回路情報通知部の一例である。 In addition, the judgment circuit 52 acquires circuit information indicating the state of each circuit in the sub-control unit 30 from the circuit information storage unit 54 based on an information acquisition request from the main CPU 21, and transmits the acquired circuit information to the main CPU 21 via the communication interface 51. The main CPU 21, which issues the information acquisition request, is an example of an acquisition request issuing unit. The communication interface 51 and the judgment circuit 52 are an example of a circuit information notification unit that outputs circuit information indicating the state of multiple circuits in the sub-control unit 30 to the main control unit 20 based on an information acquisition request from the main control unit 20.

ここで、メインCPU21は、PMC22による通常モードへの復帰が、サブ制御部30の動作の異常に基づくものである場合、サブ制御部30内での異常の発生範囲を判断するため、情報取得要求をサブ制御部30に発行する。そして、メインCPU21は、サブ制御部30から取得した回路情報に基づいてHALT要求またはリセット要求等をサブ制御部30に発行する。なお、メインCPU21は、PMC22による通常モードへの復帰指示に基づいて、サブ制御部30の動作の異常に基づくか否かにかかわりなく、情報取得要求をサブ制御部30に発行してもよい。 Here, if the return to normal mode by the PMC 22 is based on an abnormality in the operation of the sub-controller 30, the main CPU 21 issues an information acquisition request to the sub-controller 30 to determine the extent to which the abnormality has occurred within the sub-controller 30. The main CPU 21 then issues a HALT request, a reset request, or the like to the sub-controller 30 based on the circuit information acquired from the sub-controller 30. Note that the main CPU 21 may issue an information acquisition request to the sub-controller 30 based on an instruction to return to normal mode by the PMC 22, regardless of whether the return is based on an abnormality in the operation of the sub-controller 30.

HALT生成回路53は、判定回路52からのHALT指示に応答して、サブCPU31への停止信号HALTをアサートする。また、HALT生成回路53は、判定回路52からのHALT解除指示に応答して、サブCPU31への停止信号HALTをネゲートする。HALT生成回路53は、停止信号生成回路の一例である。 The HALT generation circuit 53 asserts a stop signal HALT to the sub-CPU 31 in response to a HALT instruction from the judgment circuit 52. The HALT generation circuit 53 also negates the stop signal HALT to the sub-CPU 31 in response to a HALT release instruction from the judgment circuit 52. The HALT generation circuit 53 is an example of a stop signal generation circuit.

HALT生成回路53の出力は、アービタ37を介さずに専用の停止信号線HALTでサブCPU31に直接接続される。これにより、例えば、メイン制御部20が、アービタ37の異常に基づいてPMC34からの電源復帰指示を受信した場合にも、HALT生成回路53は、異常が発生したアービタ37を介さずにサブCPU31をホールトすることができる。これにより、ワークRAM39を誤って書き換えるなどのサブCPU31の誤動作を防止することができる。 The output of the HALT generation circuit 53 is connected directly to the sub-CPU 31 by a dedicated stop signal line HALT, without going through the arbiter 37. This allows the HALT generation circuit 53 to halt the sub-CPU 31 without going through the arbiter 37 where the abnormality occurred, even if the main control unit 20 receives a power restoration instruction from the PMC 34 based on an abnormality in the arbiter 37, for example. This makes it possible to prevent malfunctions of the sub-CPU 31, such as erroneous rewriting of the work RAM 39.

リセット生成回路55は、判定回路52からのリセット指示に基づいて、リセット指示に含まれるリセット範囲に対応する回路をリセットさせるリセット情報RSTをリセット生成器36に発行する。リセット生成回路55は、リセット情報RSTをリセット生成器36に出力するリセット情報生成回路の一例である。 Based on the reset instruction from the determination circuit 52, the reset generation circuit 55 issues reset information RST to the reset generator 36 to reset the circuit corresponding to the reset range included in the reset instruction. The reset generation circuit 55 is an example of a reset information generation circuit that outputs the reset information RST to the reset generator 36.

リセット生成回路55の出力は、アービタ37を介さずに専用のリセット信号線でリセット生成器36に直接接続される。これにより、例えば、メイン制御部20が、アービタ37の異常に基づいてPMC34からの電源復帰指示を受信した場合にも、リセット生成器36は、アービタ37をリセットすることができる。 The output of the reset generation circuit 55 is connected directly to the reset generator 36 via a dedicated reset signal line without going through the arbiter 37. This allows the reset generator 36 to reset the arbiter 37, for example, even if the main control unit 20 receives a power restoration instruction from the PMC 34 based on an abnormality in the arbiter 37.

回路情報保持部54は、通常モード時、例えばアービタ37を介してサブ制御部30内の各回路から回路情報を常時受信し、受信した回路情報を保持する。なお、回路情報保持部54は、アービタ37を介さずに、各回路(アービタ37を含む)から回路情報を直接受信してもよい。回路情報保持部54は、レジスタ、ラッチ、バッファまたはメモリである。また、回路情報保持部54は、判定回路52内に設けられてもよい。 In normal mode, the circuit information holding unit 54 constantly receives circuit information from each circuit in the sub-control unit 30, for example via the arbiter 37, and holds the received circuit information. Note that the circuit information holding unit 54 may receive circuit information directly from each circuit (including the arbiter 37) without going through the arbiter 37. The circuit information holding unit 54 is a register, a latch, a buffer, or a memory. The circuit information holding unit 54 may also be provided in the determination circuit 52.

WDT33は、図示しない信号線を介してサブCPU31から所定の頻度で受信するリセット信号に応答して内蔵するタイマ(カウンタ)をリセットする。WDT33は、省エネモード時に、サブCPU31が実行するプログラムの暴走により、リセット信号を受信できずタイムアウトが発生した場合、メイン制御部20を省エネモードから通常モードに復帰させる復帰信号をPMC34に出力する。 The WDT 33 resets a built-in timer (counter) in response to a reset signal received at a predetermined frequency from the sub-CPU 31 via a signal line (not shown). If the WDT 33 is unable to receive a reset signal during energy saving mode due to runaway of the program executed by the sub-CPU 31, causing a timeout, the WDT 33 outputs a return signal to the PMC 34 to return the main control unit 20 from the energy saving mode to the normal mode.

また、WDT33は、省エネモード時にタイムアウトが発生した場合、PCIeインタフェース32に省エネモードから通常モードに復帰させる復帰信号を出力する。WDT33は、省エネモード時にサブCPU31の異常を検出した場合、異常検出信号である復帰信号を出力する異常検出部の一例である。PCIeインタフェース32は、復帰信号に応答して起動され、動作可能な状態になる。 If a timeout occurs during the energy saving mode, the WDT 33 outputs a return signal to the PCIe interface 32 to return the PCIe interface 32 to the normal mode from the energy saving mode. The WDT 33 is an example of an abnormality detection unit that outputs a return signal, which is an abnormality detection signal, when an abnormality of the sub-CPU 31 is detected during the energy saving mode. The PCIe interface 32 is started in response to the return signal and becomes operable.

PMC34は、サブCPU31からの復帰信号またはWDT33からの復帰信号に応答して、PMC22およびエンジン10を省エネモードから通常モードに復帰させる電源復帰指示を出力する。上述したように、PMC22は、電源復帰指示に基づいてメイン制御部20を省エネモードから通常モードに復帰させる。 In response to a return signal from the sub-CPU 31 or a return signal from the WDT 33, the PMC 34 outputs a power return instruction to return the PMC 22 and the engine 10 from the energy saving mode to the normal mode. As described above, the PMC 22 returns the main control unit 20 from the energy saving mode to the normal mode based on the power return instruction.

なお、PMC34は、WDT33等による異常の検出に基づく復帰信号と、サブ制御部30の正常動作中に省エネモードから通常モードに復帰させる復帰信号とをそれぞれPMC22およびエンジン10に出力してもよい。PMC34は、サブ制御部30の正常動作中の復帰信号を、例えば、ユーザによる操作部70の操作に基づいて出力する。 The PMC 34 may output to the PMC 22 and the engine 10 a return signal based on detection of an abnormality by the WDT 33 or the like, and a return signal for returning the sub-controller 30 from the energy saving mode to the normal mode while the sub-controller 30 is operating normally. The PMC 34 outputs the return signal while the sub-controller 30 is operating normally, for example, based on the user's operation of the operating unit 70.

エンジン10は、電源復帰指示に基づいて、スキャナ11およびプロッタ12等の内部要素に電源を供給し、通常モードに復帰する。PMC34は、WDT33が検出した異常に基づいて、メイン制御部20を省エネモードから通常モードに復帰させる復帰処理部の一例である。 The engine 10 supplies power to internal elements such as the scanner 11 and plotter 12 based on the power restoration instruction, and returns to normal mode. The PMC 34 is an example of a restoration processing unit that restores the main control unit 20 from the energy saving mode to the normal mode based on an abnormality detected by the WDT 33.

システムレジスタ35は、例えば、サブ制御部30内でリセット可能な回路に対応する複数のビットを有する。システムレジスタ35は、サブCPU31によりセットされたビットに対応する信号をアサートしてリセット生成器36に出力する。リセット生成器36は、アサートされた信号に対応する回路をリセットする。これにより、サブCPU31により、リセット可能な任意の回路をリセットすることができる。なお、システムレジスタ35は、リセットする回路を示す情報がコード化された値を保持してもよい。この場合、リセット生成器36は、コード化された値をデコードすることで、リセットする回路を判断する。 The system register 35 has, for example, multiple bits corresponding to circuits that can be reset within the sub-control unit 30. The system register 35 asserts a signal corresponding to the bit set by the sub-CPU 31 and outputs it to the reset generator 36. The reset generator 36 resets the circuit corresponding to the asserted signal. This allows the sub-CPU 31 to reset any circuit that can be reset. Note that the system register 35 may hold a value in which information indicating the circuit to be reset is coded. In this case, the reset generator 36 determines the circuit to be reset by decoding the coded value.

リセット生成器36は、上述したように、リセット生成回路55からのリセット情報RSTまたはシステムレジスタ35から出力される信号のアサートに応じて、対応する回路をリセットするリセット信号を出力する。リセット生成回路55およびリセット生成器36は、メイン制御部20から受信するリセット要求が示す回路をリセットするリセット部の一例である。 As described above, the reset generator 36 outputs a reset signal to reset the corresponding circuit in response to the assertion of the reset information RST from the reset generation circuit 55 or the signal output from the system register 35. The reset generation circuit 55 and the reset generator 36 are examples of a reset unit that resets a circuit indicated by a reset request received from the main control unit 20.

アービタ37は、サブ制御部内の各回路を相互に接続する内部バスを有し、各回路による内部バスの使用権を調停する機能を有する。アービタ37は、複数の回路を相互に接続する内部バスを含むインターコネクトの一例である。 The arbiter 37 has an internal bus that interconnects the circuits in the sub-controller and has the function of arbitrating the right of each circuit to use the internal bus. The arbiter 37 is an example of an interconnect that includes an internal bus that interconnects multiple circuits.

QSPI38は、アービタ37を介して受信するアクセス要求に基づいて、例えば、シリアルフラッシュメモリ等のROM60にアクセスする。ROM60には、サブCPU31が実行するプログラムが格納されてもよい。ワークRAM39は、サブCPU31で使用するワークデータおよびサブ制御部30内の各回路の状態を示す回路情報等を保持する。 The QSPI 38 accesses a ROM 60 such as a serial flash memory based on an access request received via the arbiter 37. The ROM 60 may store a program executed by the sub-CPU 31. The work RAM 39 holds work data used by the sub-CPU 31 and circuit information indicating the state of each circuit in the sub-controller 30.

USBインタフェース40は、USB端子に接続される図示しないUSB機器との間で通信を実施する。ネットワークインタフェース41は、ネットワークに接続される。操作部インタフェース42は、画像形成装置100の操作部70のユーザによる操作を受け付け、操作部70に搭載される画面に画像形成装置100の操作に関する情報を表示する。 The USB interface 40 communicates with a USB device (not shown) connected to the USB terminal. The network interface 41 is connected to a network. The operation unit interface 42 accepts operations by a user of the operation unit 70 of the image forming device 100, and displays information related to the operation of the image forming device 100 on a screen mounted on the operation unit 70.

図2は、図1の画像形成装置100の動作の一例を示すシーケンス図である。すなわち、図2は、画像形成装置100の制御方法の一例を示す。図2の初期状態において、メイン制御部20とPCIeインタフェース32とは、省エネモードにより動作を停止している(省エネ中)。図示していないが、エンジン10も動作を停止している。図2において、縦長の矩形は、各回路が動作中であることを示す。矩形中の黒丸は、信号等の情報が中継されることを示す。 Figure 2 is a sequence diagram showing an example of the operation of the image forming apparatus 100 of Figure 1. That is, Figure 2 shows an example of a control method of the image forming apparatus 100. In the initial state of Figure 2, the main control unit 20 and the PCIe interface 32 are stopped in the energy saving mode (energy saving). Although not shown, the engine 10 is also stopped. In Figure 2, a vertically long rectangle indicates that each circuit is operating. A black circle in a rectangle indicates that information such as a signal is being relayed.

サブCPU31は、WDT33を定期的にリセットし、WDT33は、リセットによりタイムアウトを回避する。何らかの原因でサブCPU31が暴走した場合、サブCPU31は、WDT33をリセットできない。このため、WDT33にタイムアウトが発生する(発火)。WDT33は、PCIeインタフェース32に復帰信号を出力し、PCIeインタフェース32の省エネモードを解除して通常モードに復帰させる。また、WDT33は、PMC34を介してメイン制御部20に復帰信号を出力し、メイン制御部20の省エネモードを解除して通常モードに復帰させる。 The sub-CPU 31 periodically resets the WDT 33, and the WDT 33 avoids a timeout by being reset. If the sub-CPU 31 goes out of control for some reason, the sub-CPU 31 cannot reset the WDT 33. This causes a timeout (fire) in the WDT 33. The WDT 33 outputs a recovery signal to the PCIe interface 32, which releases the power saving mode of the PCIe interface 32 and returns it to the normal mode. The WDT 33 also outputs a recovery signal to the main control unit 20 via the PMC 34, which releases the power saving mode of the main control unit 20 and returns it to the normal mode.

省エネモードから通常モードに復帰したメインCPU21は、PCIeインタフェース32の回路情報保持部54から回路情報を取得し、サブ制御部30内の各回路の状態を検出する。図2に示す例では、メインCPU21は、取得した回路情報を解析するが、サブ制御部30内で異常が発生した回路(原因)を判定できない。 When the main CPU 21 returns from the energy saving mode to the normal mode, it acquires circuit information from the circuit information storage unit 54 of the PCIe interface 32 and detects the state of each circuit in the sub-control unit 30. In the example shown in FIG. 2, the main CPU 21 analyzes the acquired circuit information, but is unable to determine the circuit (cause) in which an abnormality has occurred in the sub-control unit 30.

この場合、メインCPU21は、HALT要求をPCIeインタフェース32に発行する。PCIeインタフェース32のHALT生成回路53は、サブCPU31にアサートレベルの停止信号HALTを出力し、サブCPU31の動作を停止させる。これにより、サブCPU31の暴走によるワークRAM39の誤った書き換え等の誤動作を防止することができる。 In this case, the main CPU 21 issues a HALT request to the PCIe interface 32. The HALT generation circuit 53 of the PCIe interface 32 outputs an assert level stop signal HALT to the sub-CPU 31, causing the sub-CPU 31 to stop operating. This makes it possible to prevent malfunctions such as erroneous rewriting of the work RAM 39 due to runaway of the sub-CPU 31.

この後、メインCPU21は、PCIeインタフェース32およびアービタ37を介してワークRAM39にメモリアクセス要求を発行する。そして、メインCPU21は、ワークRAM39に保持された通信データおよびログデータ等のサブ制御部30の異常の原因を解析するための情報をバックアップする。 After this, the main CPU 21 issues a memory access request to the work RAM 39 via the PCIe interface 32 and the arbiter 37. The main CPU 21 then backs up information for analyzing the cause of the abnormality in the sub-control unit 30, such as communication data and log data stored in the work RAM 39.

メインCPU21により通信データおよびログデータ等を取得することで、回路情報の取得では判定できない異常発生の原因を判定することが可能になる。異常発生の原因は、メインCPU21が実行する制御プログラムにより判定されてもよく、画像形成装置100をデバッグする開発者等が通信データおよびログデータを解析することにより判定してもよい。 By acquiring communication data and log data, etc., using the main CPU 21, it becomes possible to determine the cause of the abnormality, which cannot be determined by acquiring circuit information. The cause of the abnormality may be determined by a control program executed by the main CPU 21, or may be determined by a developer debugging the image forming device 100 by analyzing the communication data and log data.

なお、メインCPU21は、ワークRAM39に保持されたワークデータ等をバックアップしてもよい。これにより、サブCPU31が再起動後に再び暴走して、ワークRAM39内のデータが書き換えられた場合にも、ワークデータを復活させることが可能になる。 The main CPU 21 may back up the work data and the like stored in the work RAM 39. This makes it possible to restore the work data even if the sub-CPU 31 goes out of control again after rebooting and the data in the work RAM 39 is rewritten.

メインCPU21は、取得した回路情報およびワークRAM39から取得したデータの少なくともいずれかを使用して、リセットする回路を決定する。そして、メインCPU21は、リセットする回路を示す情報を含むリセット要求(リセット指示、リセット情報RST)を、PCIeインタフェース32を介してリセット生成器36に出力する。図2に示す例では、メインCPU21は、取得した回路情報に基づいて、サブCPU31のみのリセットを決定する。 The main CPU 21 uses at least one of the acquired circuit information and data acquired from the work RAM 39 to determine the circuits to be reset. The main CPU 21 then outputs a reset request (reset instruction, reset information RST) including information indicating the circuits to be reset to the reset generator 36 via the PCIe interface 32. In the example shown in FIG. 2, the main CPU 21 determines to reset only the sub-CPU 31 based on the acquired circuit information.

リセット生成器36は、リセット指示で指示されるサブCPU31およびワークRAM39をリセットするリセット信号を出力する。リセットされたサブCPU31は、再起動され、プログラムの実行を再開する。なお、メインCPU21は、サブ制御部30にリセット要求を出力後、HALT要求を解除する。ワークRAM39は、リセットにより初期化される。 The reset generator 36 outputs a reset signal that resets the sub-CPU 31 and work RAM 39 specified by the reset instruction. The reset sub-CPU 31 is restarted and resumes program execution. After outputting a reset request to the sub-control unit 30, the main CPU 21 cancels the HALT request. The work RAM 39 is initialized by the reset.

図2に示すように、メインCPU21が、サブ制御部30から受信する回路情報に基づいて、サブ制御部30内でリセットする回路を決定することで、異常からの復帰に必要な最小限の回路をリセットすることができる。換言すれば、リセットする範囲を固定せず、サブ制御部30の異常状態に応じてリセットする回路を決定することで、リセット後に異常が再び発生する可能性を低くすることができ、画像形成装置100の信頼性を向上することができる。また、リセットすべき回路を適切に決定してリセットできるため、ワークRAM39内のデータが誤って書き換えられるなどの不具合の発生を防止することができる。 As shown in FIG. 2, the main CPU 21 determines which circuits to reset in the sub-controller 30 based on the circuit information received from the sub-controller 30, thereby resetting the minimum number of circuits necessary to recover from the abnormality. In other words, by not fixing the range to be reset but determining which circuits to reset depending on the abnormal state of the sub-controller 30, it is possible to reduce the possibility that an abnormality will occur again after resetting, thereby improving the reliability of the image forming apparatus 100. Furthermore, because the circuits to be reset can be appropriately determined and reset, it is possible to prevent malfunctions such as data in the work RAM 39 being erroneously rewritten.

図3は、図1の画像形成装置100の動作の別の例を示すシーケンス図である。すなわち、図3は、画像形成装置100の制御方法の一例を示す。図2と同様の動作については、詳細な説明は省略する。図3では、アービタ37の内部バスがストールすることにより、サブCPU31が暴走し、WDT33が発火する。メインCPU21がサブCPU31の動作を停止(HALT)させるまでの動作は、アービタ37の内部バスがストールすることを除き、図2と同様である。 Figure 3 is a sequence diagram showing another example of the operation of the image forming apparatus 100 of Figure 1. That is, Figure 3 shows an example of a control method of the image forming apparatus 100. Detailed explanation of the same operations as those in Figure 2 will be omitted. In Figure 3, the internal bus of the arbiter 37 stalls, causing the sub-CPU 31 to run out of control and the WDT 33 to ignite. The operations until the main CPU 21 stops (HALTs) the operation of the sub-CPU 31 are the same as those in Figure 2, except that the internal bus of the arbiter 37 stalls.

メインCPU21は、取得した回路情報の解析に基づいて、内部バスのストールを検出する。そして、メインCPU21は、内部バスのリセット指示を含むリセット要求を、PCIeインタフェース32を介してリセット生成器36に出力する。リセット生成器36は、リセット指示に基づいて内部バスをリセットするリセット信号を出力する。 The main CPU 21 detects a stall in the internal bus based on the analysis of the acquired circuit information. The main CPU 21 then outputs a reset request including an instruction to reset the internal bus to the reset generator 36 via the PCIe interface 32. The reset generator 36 outputs a reset signal to reset the internal bus based on the reset instruction.

内部バスが正常状態に復帰した後、メインCPU21は、図2と同様に、アービタ37(内部バス)を介してワークRAM39に保持されたデータをバックアップする。そして、メインCPU21は、サブCPU31およびワークRAM39のリセット指示を含むリセット要求を、PCIeインタフェース32を介してリセット生成器36に出力する。リセット生成器36は、リセット指示に基づいて、ワークRAM39をリセットし、サブCPU31にリセット信号を出力することで、サブCPU31を再起動させる。 After the internal bus has returned to a normal state, the main CPU 21 backs up the data stored in the work RAM 39 via the arbiter 37 (internal bus), as in FIG. 2. The main CPU 21 then outputs a reset request, including an instruction to reset the sub-CPU 31 and the work RAM 39, to the reset generator 36 via the PCIe interface 32. Based on the reset instruction, the reset generator 36 resets the work RAM 39 and outputs a reset signal to the sub-CPU 31, thereby restarting the sub-CPU 31.

図3においても、リセットする範囲を固定せず、サブ制御部30の異常状態に応じてリセットする回路を決定することで、リセット後に異常が再び発生する可能性を低くすることができ、画像形成装置100の信頼性を向上することができる。さらに、アービタ37に異常が発生した場合、アービタ37をリセットした後に、ワークRAM39に保持されたデータをコピーすることで、データのバックアップを正常に実施することができる。また、バックアップするデータにサブ制御部30の動作の履歴情報が含まれる場合、バックアップしたデータを使用して、サブ制御部30の不具合の原因を調査することが可能になる。 In FIG. 3 as well, by not fixing the range to be reset and determining the circuits to be reset depending on the abnormal state of the sub-controller 30, it is possible to reduce the possibility of an abnormality reoccurring after resetting, thereby improving the reliability of the image forming apparatus 100. Furthermore, if an abnormality occurs in the arbiter 37, data can be backed up normally by copying the data held in the work RAM 39 after resetting the arbiter 37. Furthermore, if the data to be backed up includes historical information on the operation of the sub-controller 30, it becomes possible to use the backed up data to investigate the cause of the malfunction of the sub-controller 30.

図4は、図1の画像形成装置100の動作のさらなる別の例を示すシーケンス図である。すなわち、図4は、画像形成装置100の制御方法の一例を示す。図2および図3と同様の動作については、詳細な説明は省略する。図4では、省エネモード中に、サブCPU31は、USBインタフェース40の異常を検出し、アービタ37を介してPMC34およびPCIeインタフェース32に省エネモードの解除を指示する。通常モードに復帰後、メインCPU21がワークRAM39に保持されたデータをバックアップするまでの動作は、WDT33でなく、サブCPU31により省エネモードが解除されることを除き、図2と同様である。 Figure 4 is a sequence diagram showing yet another example of the operation of the image forming apparatus 100 of Figure 1. That is, Figure 4 shows an example of a control method of the image forming apparatus 100. Detailed description of operations similar to those of Figures 2 and 3 will be omitted. In Figure 4, during the energy saving mode, the sub-CPU 31 detects an abnormality in the USB interface 40 and instructs the PMC 34 and the PCIe interface 32 to cancel the energy saving mode via the arbiter 37. After returning to the normal mode, the operation until the main CPU 21 backs up the data held in the work RAM 39 is the same as that of Figure 2, except that the energy saving mode is canceled by the sub-CPU 31, not the WDT 33.

なお、メインCPU21は、サブCPU31が暴走していない場合にも、回路情報を取得後、HALT要求を発行し、サブCPU31の動作を停止する。これにより、例えば、USBインタフェース40の異常に起因してサブCPU31が暴走することを防止することができ、サブ制御部30内の異常状態が拡大することを防止することができる。この結果、サブ制御部30を正常に復帰できる可能性を高くすることができ、画像形成装置100の信頼性を向上することができる。 In addition, even if the sub-CPU 31 is not out of control, the main CPU 21 acquires the circuit information and then issues a HALT request to stop the operation of the sub-CPU 31. This makes it possible to prevent the sub-CPU 31 from going out of control due to an abnormality in the USB interface 40, for example, and to prevent the abnormal state in the sub-controller 30 from expanding. As a result, it is possible to increase the possibility that the sub-controller 30 can be restored to normal, and to improve the reliability of the image forming device 100.

メインCPU21は、取得した回路情報の解析に基づいて、USBインタフェース40の異常を検出する。そして、メインCPU21は、ワークRAM39からのデータのバックアップ後、USBインタフェース40およびワークRAM39のリセット指示を含むリセット要求を、PCIeインタフェース32を介してリセット生成器36に出力する。 The main CPU 21 detects an abnormality in the USB interface 40 based on the analysis of the acquired circuit information. Then, after backing up the data from the work RAM 39, the main CPU 21 outputs a reset request including an instruction to reset the USB interface 40 and the work RAM 39 to the reset generator 36 via the PCIe interface 32.

リセット生成器36は、リセット指示に基づいてUSBインタフェース40およびワークRAM39をリセットするリセット信号を出力する。この後、メインCPU21は、HALT解除要求をPCIeインタフェース32に発行する。PCIeインタフェース32のHALT生成回路53は、HALT解除要求に基づいて停止信号HALTをネゲートすることで、サブCPU31にHALT解除指示を発行し、サブCPU31の動作を再開させる。 The reset generator 36 outputs a reset signal to reset the USB interface 40 and the work RAM 39 based on the reset instruction. After that, the main CPU 21 issues a HALT release request to the PCIe interface 32. The HALT generation circuit 53 of the PCIe interface 32 negates the stop signal HALT based on the HALT release request, thereby issuing a HALT release instruction to the sub-CPU 31 and causing the sub-CPU 31 to resume operation.

以上、第1の実施形態では、サブ制御部30は、省エネモード中にサブCPU31の暴走を検出したとき、メインCPU21からの指示に基づいてサブ制御部30内でリセットが必要な回路をリセットする。例えば、メインCPU21は、サブ制御部30から受信する回路情報に基づいて、サブ制御部30内でリセットする回路を決定し、決定した回路を示す情報をサブ制御部30に出力する。 As described above, in the first embodiment, when the sub-controller 30 detects runaway of the sub-CPU 31 during the energy saving mode, it resets the circuits that need to be reset within the sub-controller 30 based on instructions from the main CPU 21. For example, the main CPU 21 determines the circuits to be reset within the sub-controller 30 based on the circuit information received from the sub-controller 30, and outputs information indicating the determined circuits to the sub-controller 30.

リセットすべき回路を適切に決定してリセットできるため、サブCPU31の暴走が繰り返されることを防止することができる。これにより、暴走が繰り返されることによりワークRAM39内のデータが誤って書き換えられるなどの不具合の発生を防止することができる。換言すれば、リセットする範囲を固定せず、サブ制御部30の異常状態に応じてリセットする回路を決定することで、リセット後に異常が再び発生する可能性を低くすることができ、画像形成装置100の信頼性を向上することができる。 Because the circuits to be reset can be appropriately determined and reset, it is possible to prevent the sub-CPU 31 from repeatedly going out of control. This makes it possible to prevent malfunctions such as data in the work RAM 39 being erroneously rewritten due to repeated runaways. In other words, by not fixing the range to be reset, but determining the circuits to be reset depending on the abnormal state of the sub-control unit 30, it is possible to reduce the possibility of an abnormality reoccurring after resetting, thereby improving the reliability of the image forming device 100.

サブ制御部30は、メイン制御部20からのHALT要求に基づいてサブCPU31の動作を一時的に停止させる。この後、メイン制御部20からのリセット要求に基づいてサブ制御部30内の所定の回路をリセットすることで、サブCPU31の動作の影響を受けることなく、回路のリセット動作を正常に完了することができる。 The sub-controller 30 temporarily stops the operation of the sub-CPU 31 based on a HALT request from the main controller 20. After this, by resetting a specific circuit within the sub-controller 30 based on a reset request from the main controller 20, the circuit reset operation can be completed normally without being affected by the operation of the sub-CPU 31.

サブ制御部30は、メイン制御部20からのリセット要求にアービタ37のリセット指示が含まれる場合、アービタ37をリセットする。これにより、メインCPU21は、アービタ37がリセットされた後、ワークRAM39に保持されたデータをコピーすることで、データのバックアップを正常に実施することができる。また、バックアップするデータにサブ制御部30の動作の履歴情報が含まれる場合、バックアップしたデータを使用して、サブ制御部30の不具合の原因を調査することが可能になる。 When the reset request from the main control unit 20 includes an instruction to reset the arbiter 37, the sub-control unit 30 resets the arbiter 37. As a result, after the arbiter 37 is reset, the main CPU 21 can normally back up data by copying the data held in the work RAM 39. In addition, when the data to be backed up includes historical information on the operation of the sub-control unit 30, it becomes possible to use the backed up data to investigate the cause of the malfunction of the sub-control unit 30.

(第2の実施形態)
図5は、本発明の第2の実施形態に係る画像形成装置の一例を示すブロック図である。図1と同様の要素については、同じ符号を付し、詳細な説明を省略する。図5に示す画像形成装置100Aは、図1のメイン制御部20およびサブ制御部30の代わりにメイン制御部20Aおよびサブ制御部30Aを有する。画像形成装置100Aのその他の構成は、図1と同様である。
Second Embodiment
Fig. 5 is a block diagram showing an example of an image forming apparatus according to a second embodiment of the present invention. The same elements as those in Fig. 1 are given the same reference numerals, and detailed description thereof will be omitted. The image forming apparatus 100A shown in Fig. 5 has a main control unit 20A and a sub-control unit 30A instead of the main control unit 20 and the sub-control unit 30 in Fig. 1. The other configurations of the image forming apparatus 100A are the same as those in Fig. 1.

メイン制御部20Aは、図1のメイン制御部20にUART(Universal Asynchronous Receiver/Transmitter)24を追加している。UART24は、通信インタフェースの一例であり、シリアル信号を送受信するシリアルインタフェースの一例である。すなわち、メインCPU21は、PCIeインタフェース23およびUART24を使用してサブ制御部30Aと通信する機能を有する。 The main control unit 20A is obtained by adding a UART (Universal Asynchronous Receiver/Transmitter) 24 to the main control unit 20 in FIG. 1. The UART 24 is an example of a communication interface, and is an example of a serial interface that transmits and receives serial signals. In other words, the main CPU 21 has the function of communicating with the sub-control unit 30A using the PCIe interface 23 and the UART 24.

サブ制御部30Aは、図1のサブ制御部30にUART44を追加し、図1のPCIeインタフェース32の代わりにPCIeインタフェース32Aを有している。すなわち、サブCPU31は、PCIeインタフェース32AおよびUART44を使用してサブ制御部30Aと通信する機能を有する。 The sub-controller 30A has a UART 44 added to the sub-controller 30 in FIG. 1, and has a PCIe interface 32A instead of the PCIe interface 32 in FIG. 1. In other words, the sub-CPU 31 has the function of communicating with the sub-controller 30A using the PCIe interface 32A and the UART 44.

PCIeインタフェース32Aは、図1のPCIeインタフェース32から判定回路52、HALT生成回路53、回路情報保持部54およびリセット生成回路55を削除して構成される。すなわち、PCIeインタフェース32Aは、図1のPCIeインタフェース32の通信インタフェース51のみを有する。サブ制御部30Aのその他の構成は、WDT33がUART44とPCIeインタフェース32Aとに復帰信号を出力することを除き、図1のサブ制御部30と同様である。 The PCIe interface 32A is configured by deleting the judgment circuit 52, the HALT generation circuit 53, the circuit information holding unit 54, and the reset generation circuit 55 from the PCIe interface 32 in FIG. 1. In other words, the PCIe interface 32A has only the communication interface 51 of the PCIe interface 32 in FIG. 1. The other configuration of the sub-control unit 30A is the same as that of the sub-control unit 30 in FIG. 1, except that the WDT 33 outputs a recovery signal to the UART 44 and the PCIe interface 32A.

UART44は、通信インタフェース45、判定回路52、HALT生成回路53、回路情報保持部54およびリセット生成回路55を有する。HALT生成回路53、回路情報保持部54およびリセット生成回路55と他の回路との接続関係は、図1と同じである。なお、判定回路52、HALT生成回路53、回路情報保持部54およびリセット生成回路55は、UART44の外側に設けられてもよい。 The UART 44 has a communication interface 45, a judgment circuit 52, a HALT generation circuit 53, a circuit information holding unit 54, and a reset generation circuit 55. The connection relationship between the HALT generation circuit 53, the circuit information holding unit 54, and the reset generation circuit 55 and other circuits is the same as in FIG. 1. Note that the judgment circuit 52, the HALT generation circuit 53, the circuit information holding unit 54, and the reset generation circuit 55 may be provided outside the UART 44.

PCIeインタフェース23、32Aは、高速なデータ伝送を実現できる反面、機構が複雑でありビットエラーが発生しやすい。そして、PCIeインタフェース23、32Aは、ビットエラーを訂正できない場合、リンクエラーが発生する場合がある。一方、UART24、44等のシリアルインタフェースは、PCIeインタフェースに比べてデータ伝送が低速であるが、機構が比較的簡易であるため、エラーが発生しにくい。 While the PCIe interfaces 23 and 32A can achieve high-speed data transmission, they have a complex mechanism and are prone to bit errors. Furthermore, when the PCIe interfaces 23 and 32A are unable to correct bit errors, link errors may occur. On the other hand, serial interfaces such as UARTs 24 and 44 have slower data transmission speeds than the PCIe interfaces, but are less prone to errors because their mechanisms are relatively simple.

したがって、判定回路52、HALT生成回路53、回路情報保持部54およびリセット生成回路55をUART44に搭載することで、回路情報、リセット要求およびHALT要求等をメイン制御部20A、サブ制御部30A間で確実に送受信することができる。また、サブCPU31の暴走の原因が、PCIeインタフェース32Aのリンクエラー等である場合に、UART44を使用して、PCIeインタフェース32Aをリセットすることができる。 Therefore, by mounting the judgment circuit 52, HALT generation circuit 53, circuit information holding unit 54, and reset generation circuit 55 on the UART 44, circuit information, reset requests, HALT requests, etc. can be reliably transmitted and received between the main control unit 20A and the sub-control unit 30A. Also, if the cause of the sub-CPU 31 going out of control is a link error in the PCIe interface 32A, etc., the PCIe interface 32A can be reset using the UART 44.

図6は、図5の画像形成装置100Aの動作の一例を示すシーケンス図である。すなわち、図6は、画像形成装置100Aの制御方法の一例を示す。図2から図4と同様の動作については、詳細な説明は省略する。図6では、省エネモード中に、サブCPU31は、例えば、ユーザによる操作部70の操作に基づいて、PMC34、UART44およびPCIeインタフェース32Aに省エネモードから通常モードへの復帰を指示する。 Figure 6 is a sequence diagram showing an example of the operation of image forming apparatus 100A in Figure 5. That is, Figure 6 shows an example of a control method for image forming apparatus 100A. Detailed explanations of operations similar to those in Figures 2 to 4 will be omitted. In Figure 6, during the energy saving mode, sub-CPU 31 instructs PMC 34, UART 44, and PCIe interface 32A to return from the energy saving mode to the normal mode, for example, based on the user's operation of operation unit 70.

しかしながら、図6に示す例では、PCIeインタフェース23、32Aの開通が失敗し、開通の失敗に起因してサブCPU31が暴走する。サブCPU31が暴走してからワークRAM39に保持されたデータをバックアップするまでの動作は、メインCPU21からの各種指示がUART24、44を介して実施されることを除き、図2と同様である。 However, in the example shown in FIG. 6, opening of the PCIe interfaces 23 and 32A fails, and the failure to open causes the sub-CPU 31 to go out of control. The operations from when the sub-CPU 31 goes out of control to when the data stored in the work RAM 39 is backed up are the same as those in FIG. 2, except that various instructions from the main CPU 21 are implemented via the UARTs 24 and 44.

メインCPU21は、データをバックアップ後、PCIeインタフェース32A、サブCPU31およびワークRAM39のリセット指示を含むリセット要求を、UART44を介してリセット生成器36に出力する。また、メインCPU21は、メイン制御部20内のPCIeインタフェース23をリセットする。 After backing up the data, the main CPU 21 outputs a reset request including an instruction to reset the PCIe interface 32A, the sub-CPU 31, and the work RAM 39 to the reset generator 36 via the UART 44. The main CPU 21 also resets the PCIe interface 23 in the main control unit 20.

以上、第2の実施形態では、シリアルインタフェースであるUART24、44を使用して、メイン制御部20Aとサブ制御部30Aとの間で、回路情報、リセット要求およびHALT要求等を送受信することで、第1の実施形態と同様の効果を得ることができる。さらに、第2の実施形態では、サブCPU31の暴走の原因がPCIeインタフェース32Aである場合に、UART44を使用して、PCIeインタフェース32Aをリセットすることができる。 As described above, in the second embodiment, the same effects as in the first embodiment can be obtained by transmitting and receiving circuit information, reset requests, HALT requests, etc. between the main control unit 20A and the sub-control unit 30A using the serial interfaces UARTs 24 and 44. Furthermore, in the second embodiment, if the cause of the runaway of the sub-CPU 31 is the PCIe interface 32A, the PCIe interface 32A can be reset using the UART 44.

(第3の実施形態)
図7は、本発明の第3の実施形態に係る画像形成装置の一例を示すブロック図である。図1および図5と同様の要素については、同じ符号を付し、詳細な説明を省略する。図7に示す画像形成装置100Bは、図5のサブ制御部30Aの代わりにサブ制御部30Bを有する。画像形成装置100Bのその他の構成は、図1と同様である。
Third Embodiment
Fig. 7 is a block diagram showing an example of an image forming apparatus according to a third embodiment of the present invention. The same elements as those in Figs. 1 and 5 are given the same reference numerals, and detailed description thereof will be omitted. The image forming apparatus 100B shown in Fig. 7 has a sub-controller 30B instead of the sub-controller 30A in Fig. 5. The other configuration of the image forming apparatus 100B is the same as that in Fig. 1.

サブ制御部30Bは、図5のPCIeインタフェース32Aの代わりに、図1のPCIeインタフェース32を有している。サブ制御部30Bのその他の構成は、リセット生成器36がPCIeインタフェース32のリセット生成回路55から出力されるリセット情報RSTを受信することを除き、図5のサブ制御部30Aと同様である。 The sub-control unit 30B has the PCIe interface 32 of FIG. 1 instead of the PCIe interface 32A of FIG. 5. The other configuration of the sub-control unit 30B is the same as that of the sub-control unit 30A of FIG. 5, except that the reset generator 36 receives the reset information RST output from the reset generation circuit 55 of the PCIe interface 32.

以上、第3の実施形態においても、第1の実施形態および第2の実施形態と同様の効果を得ることができる。さらに、第3の実施形態では、PCIeインタフェース32とUART44のそれぞれに判定回路52、HALT生成回路53、回路情報保持部54およびリセット生成回路55が搭載される。これにより、PCIeインタフェース32またはUART44のいずれかが原因でサブCPU31が暴走した場合にも、サブ制御部30Bを正常な状態に復帰させることができる。 As described above, the third embodiment can also achieve the same effects as the first and second embodiments. Furthermore, in the third embodiment, the PCIe interface 32 and the UART 44 are each equipped with a determination circuit 52, a HALT generation circuit 53, a circuit information holding unit 54, and a reset generation circuit 55. This makes it possible to restore the sub-control unit 30B to a normal state even if the sub-CPU 31 goes out of control due to either the PCIe interface 32 or the UART 44.

(第4の実施形態)
図8は、本発明の第4の実施形態に係る制御装置の一例を示すブロック図である。図1と同様の要素については、同じ符号を付し、詳細な説明を省略する。図8に示す制御装置200は、図1のエンジン10の代わりに所定の機能が実現される機器15を有する。制御装置200のその他の構成は、図1の画像形成装置100と同様である。
(Fourth embodiment)
Fig. 8 is a block diagram showing an example of a control device according to a fourth embodiment of the present invention. The same elements as those in Fig. 1 are given the same reference numerals, and detailed description will be omitted. The control device 200 shown in Fig. 8 has a device 15 that realizes a predetermined function in place of the engine 10 in Fig. 1. The other configurations of the control device 200 are the same as those of the image forming apparatus 100 in Fig. 1.

例えば、機器15は、ディスプレイまたはロボットの機構部等であり、操作部70の操作に基づいてスタンバイ状態から復帰して動作する。制御装置200の動作の例は、図2、図3、図4と同様である。なお、図5または図7のエンジン10が機器15に置き換えられることで、制御装置200が構成されてもよい。以上、第4の実施形態においても、上述した実施形態と同様の効果を得ることができる。 For example, the device 15 is a display or a robot mechanism, and returns from a standby state to operate based on the operation of the operation unit 70. Examples of the operation of the control device 200 are similar to those in Figs. 2, 3, and 4. Note that the control device 200 may be configured by replacing the engine 10 in Fig. 5 or 7 with the device 15. As described above, the fourth embodiment can also provide the same effects as the above-mentioned embodiments.

以上、各実施形態に基づき本発明の説明を行ってきたが、上記実施形態に示した要件に本発明が限定されるものではない。これらの点に関しては、本発明の主旨をそこなわない範囲で変更することができ、その応用形態に応じて適切に定めることができる。 The present invention has been described above based on each embodiment, but the present invention is not limited to the requirements shown in the above embodiments. These points can be changed without departing from the spirit of the present invention, and can be appropriately determined according to the application form.

10 エンジン
11 スキャナ
12 プロッタ
15 機器
20、20A メイン制御部
21 メインCPU
23 PCIeインタフェース
24 UART
30、30A、30B サブ制御部
31 サブCPU
32、32A PCIeインタフェース
33 WDT
34 PMC
35 システムレジスタ
36 リセット生成器
37 アービタ
38 QSPI
39 ワークRAM
40 USBインタフェース
41 ネットワークインタフェース
42 操作部インタフェース
44 UART
45 通信インタフェース
51 通信インタフェース
52 判定回路
53 HALT生成回路
54 回路情報保持部
55 リセット生成回路
60 ROM
70 操作部
100、100A、100B 画像形成装置
200 制御装置
HALT 停止信号
RST リセット情報
REFERENCE SIGNS LIST 10 Engine 11 Scanner 12 Plotter 15 Equipment 20, 20A Main control unit 21 Main CPU
23 PCIe interface 24 UART
30, 30A, 30B Sub-controller 31 Sub-CPU
32, 32A PCIe interface 33 WDT
34 PMC
35 System register 36 Reset generator 37 Arbitrator 38 QSPI
39 Work RAM
40 USB interface 41 Network interface 42 Operation unit interface 44 UART
45 Communication interface 51 Communication interface 52 Determination circuit 53 HALT generation circuit 54 Circuit information holding unit 55 Reset generation circuit 60 ROM
70 Operation unit 100, 100A, 100B Image forming apparatus 200 Control device HALT Stop signal RST Reset information

特開2007-286859号公報JP 2007-286859 A 特開2011-51217号公報JP 2011-51217 A

Claims (10)

画像を形成する画像形成部と、
第1コントローラを含み、第1動作モード時に前記画像形成部の制御を実施し、前記第1動作モードより消費電力が小さい第2動作モード時に前記画像形成部とともに電源が遮断される第1制御部と、
前記第1動作モード時および前記第2動作モード時に動作する第2コントローラを含む第2制御部と、を有し、
前記第2制御部は、
前記第2動作モード時に前記第2コントローラの異常を検出した場合、異常検出信号を出力する異常検出部と、
前記異常検出信号に基づいて、前記第1制御部を前記第2動作モードから前記第1動作モードに復帰させる復帰処理部と、
前記第2制御部内の複数の回路の状態を示す回路情報を保持する回路情報保持部と、
前記第2動作モードから前記第1動作モードに復帰した場合に前記第1制御部から発行される情報取得要求に基づいて、前記回路情報保持部に保持された前記回路情報を前記第1制御部に出力する回路情報通知部と、
前記第1制御部から受信するリセット要求が示す回路をリセットするリセット部と、
を有し、
前記第1制御部は、前記第2制御部から通知された前記回路情報に基づいて前記第2制御部内で異常が発生した前記回路を判定できない場合、前記第2コントローラの動作を停止させる停止要求を前記第2制御部に発行する停止要求発行部を有し、
前記第2制御部は、前記停止要求に基づいて前記第2コントローラの動作を停止する停止信号を生成する停止信号生成回路を有すること
特徴とする画像形成装置。
an image forming unit that forms an image;
a first control unit including a first controller, which controls the image forming unit in a first operation mode, and is powered off together with the image forming unit in a second operation mode that consumes less power than the first operation mode;
a second control unit including a second controller that operates in the first operation mode and in the second operation mode;
The second control unit is
an abnormality detection unit that outputs an abnormality detection signal when an abnormality in the second controller is detected in the second operation mode;
a return processing unit that returns the first control unit to the first operation mode from the second operation mode based on the abnormality detection signal;
a circuit information storage unit that stores circuit information indicating states of a plurality of circuits in the second control unit;
a circuit information notification unit that outputs the circuit information held in the circuit information holding unit to the first control unit based on an information acquisition request issued from the first control unit when the operation mode is returned from the second operation mode to the first operation mode ;
a reset unit that resets a circuit indicated by a reset request received from the first control unit;
having
the first control unit has a stop request issuing unit that issues a stop request to the second control unit to stop operation of the second controller when it is not possible to determine the circuit in which an abnormality has occurred in the second control unit based on the circuit information notified from the second control unit,
The second control unit has a stop signal generating circuit that generates a stop signal for stopping the operation of the second controller based on the stop request.
An image forming apparatus comprising :
前記第1制御部は、
前記復帰処理部により前記第2動作モードから前記第1動作モードに復帰した場合、前記情報取得要求を発行する取得要求発行部と、
前記第2制御部から通知された前記回路情報に基づいて決定したリセット範囲を示す前記リセット要求を前記第2制御部に発行するリセット要求発行部と、を有し、
前記リセット部は、
前記リセット要求に基づいてリセットする回路を示すリセット情報を出力するリセット情報生成回路と、
前記リセット情報生成回路から受信する前記リセット情報が示す回路をリセットするリセット信号を生成するリセット生成回路と、を有すること
を特徴とする請求項1に記載の画像形成装置。
The first control unit is
an acquisition request issuing unit that issues the information acquisition request when the operation mode is returned from the second operation mode to the first operation mode by the return processing unit;
a reset request issuing unit that issues to the second control unit the reset request indicating a reset range determined based on the circuit information notified from the second control unit,
The reset unit is
a reset information generating circuit that outputs reset information indicating a circuit to be reset based on the reset request;
The image forming apparatus according to claim 1 , further comprising: a reset generating circuit that generates a reset signal for resetting a circuit indicated by the reset information received from the reset information generating circuit.
前記第2制御部は、前記複数の回路を相互に接続する内部バスを含むインターコネクトを有し、
前記第1制御部の前記リセット要求発行部は、前記第2制御部から通知された前記回路情報が前記インターコネクトの異常を示す場合、前記インターコネクトをリセットする前記リセット要求を前記第2制御部に発行すること
を特徴とする請求項2に記載の画像形成装置。
the second control unit has an interconnect including an internal bus that connects the plurality of circuits to each other;
The image forming apparatus of claim 2, wherein the reset request issuing unit of the first control unit issues the reset request to the second control unit to reset the interconnect when the circuit information notified from the second control unit indicates an abnormality in the interconnect.
前記第2制御部は、前記第1制御部と通信を実施する通信インタフェースを有し、
前記通信インタフェースは、前記リセット情報生成回路および前記停止信号生成回路の少なくともいずれかを含むこと
を特徴とする請求項2または請求項3に記載の画像形成装置。
The second control unit has a communication interface for communicating with the first control unit,
4. The image forming apparatus according to claim 2 , wherein the communication interface includes at least one of the reset information generating circuit and the stop signal generating circuit.
前記通信インタフェースは、PCIeインタフェースを有し、
前記第1制御部は、前記リセット要求、前記情報取得要求および前記停止要求をPCIeパケットとして前記通信インタフェースに送信すること
を特徴とする請求項4に記載の画像形成装置。
the communication interface includes a PCIe interface,
The image forming apparatus according to claim 4 , wherein the first control unit transmits the reset request, the information acquisition request, and the stop request to the communication interface as PCIe packets.
前記通信インタフェースは、シリアルインタフェースを有し、
前記第1制御部は、前記リセット要求、前記情報取得要求および前記停止要求をシリアル信号として前記通信インタフェースに送信すること
を特徴とする請求項4に記載の画像形成装置。
the communication interface includes a serial interface;
5. The image forming apparatus according to claim 4 , wherein the first control unit transmits the reset request, the information acquisition request, and the stop request as serial signals to the communication interface.
前記第2制御部は、前記第2制御部の動作の履歴を示す履歴情報を保持するメモリを有し、
前記第1制御部は、前記第2制御部から前記回路情報を通知された後、前記メモリにメモリアクセス要求を発行し、前記メモリに保持された前記履歴情報を読み出すこと
を特徴とする請求項1ないし請求項6のいずれか1項に記載の画像形成装置。
The second control unit has a memory for storing history information indicating a history of an operation of the second control unit,
7. The image forming apparatus according to claim 1, wherein the first control unit issues a memory access request to the memory after being notified of the circuit information from the second control unit , and reads out the history information stored in the memory.
前記第2制御部に接続され、ユーザに操作される操作部を有し、
前記第2コントローラは、前記第2動作モード中、前記操作部の操作に基づいて前記復帰処理部に前記第2動作モードから前記第1動作モードへの復帰を指示し、
前記復帰処理部は、前記第2コントローラからの復帰の指示に基づいて前記第1制御部を前記第2動作モードから前記第1動作モードに復帰させること
を特徴とする請求項1ないし請求項7のいずれか1項に記載の画像形成装置。
an operation unit connected to the second control unit and operated by a user;
the second controller instructs the return processing unit to return from the second operation mode to the first operation mode based on an operation of the operation unit during the second operation mode;
8. The image forming apparatus according to claim 1, wherein the recovery processing unit recovers the first control unit from the second operation mode to the first operation mode based on a recovery instruction from the second controller.
画像を形成する画像形成部と、第1動作モード時に前記画像形成部の制御を実施し、前記第1動作モードより消費電力が小さい第2動作モード時に前記画像形成部とともに電源が遮断される第1制御部と、前記第1動作モード時および前記第2動作モード時に動作する第2コントローラを含む第2制御部と、を有する画像形成装置の制御方法であって、
前記第2制御部が
前記第2動作モード時に前記第2コントローラの異常を検出した場合、異常検出信号を出力し、
前記異常検出信号に基づいて、前記第1制御部を前記第2動作モードから前記第1動作モードに復帰させ、
前記第2制御部内の複数の回路の状態を示す回路情報を保持し、
前記第2動作モードから前記第1動作モードに復帰した場合に前記第1制御部から発行される情報取得要求に基づいて、保持した前記回路情報を前記第1制御部に出力し、
前記第1制御部から受信するリセット要求が示す回路をリセットし、
前記第1制御部は、前記第2制御部から通知された前記回路情報に基づいて前記第2制御部内で異常が発生した前記回路を判定できない場合、前記第2コントローラの動作を停止させる停止要求を前記第2制御部に発行し、
前記第2制御部は、前記停止要求に基づいて前記第2コントローラの動作を停止する停止信号を生成すること
を特徴とする画像形成装置の制御方法。
A control method for an image forming apparatus having an image forming unit that forms an image, a first control unit that controls the image forming unit in a first operation mode and is powered off together with the image forming unit in a second operation mode that consumes less power than the first operation mode, and a second control unit including a second controller that operates in the first operation mode and the second operation mode,
When the second control unit detects an abnormality in the second controller during the second operation mode, the second control unit outputs an abnormality detection signal;
returning the first control unit from the second operation mode to the first operation mode based on the abnormality detection signal;
holding circuit information indicating states of a plurality of circuits in the second control unit;
outputting the held circuit information to the first control unit based on an information acquisition request issued by the first control unit when returning from the second operation mode to the first operation mode ;
resetting a circuit indicated by a reset request received from the first control unit ;
when the first control unit cannot determine the circuit in which an abnormality has occurred in the second control unit based on the circuit information notified from the second control unit, the first control unit issues a stop request to the second control unit to stop operation of the second controller;
the second control unit generates a stop signal for stopping operation of the second controller based on the stop request .
所定の機能を有する機器と、
第1コントローラを含み、第1動作モード時に前記機器の制御を実施し、前記第1動作モードより消費電力が小さい第2動作モード時に前記機器とともに電源が遮断される第1制御部と、
前記第1動作モード時および前記第2動作モード時に動作する第2コントローラを含む第2制御部と、を有し、
前記第2制御部は、
前記第2動作モード時に前記第2コントローラの異常を検出した場合、異常検出信号を出力する異常検出部と、
前記異常検出信号に基づいて、前記第1制御部を前記第2動作モードから前記第1動作モードに復帰させる復帰処理部と、
前記第2制御部内の複数の回路の状態を示す回路情報を保持する回路情報保持部と、
前記第2動作モードから前記第1動作モードに復帰した場合に前記第1制御部から発行される情報取得要求に基づいて、前記回路情報保持部に保持された前記回路情報を前記第1制御部に出力する回路情報通知部と、
前記第1制御部から受信するリセット要求が示す回路をリセットするリセット部と、
を有し、
前記第1制御部は、前記第2制御部から通知された前記回路情報に基づいて前記第2制御部内で異常が発生した前記回路を判定できない場合、前記第2コントローラの動作を停止させる停止要求を前記第2制御部に発行する停止要求発行部を有し、
前記第2制御部は、前記停止要求に基づいて前記第2コントローラの動作を停止する停止信号を生成する停止信号生成回路を有すること
特徴とする制御装置。
A device having a predetermined function;
a first control unit including a first controller, which controls the device in a first operation mode and is powered off together with the device in a second operation mode that consumes less power than the first operation mode;
a second control unit including a second controller that operates in the first operation mode and in the second operation mode;
The second control unit is
an abnormality detection unit that outputs an abnormality detection signal when an abnormality in the second controller is detected in the second operation mode;
a return processing unit that returns the first control unit to the first operation mode from the second operation mode based on the abnormality detection signal;
a circuit information storage unit that stores circuit information indicating states of a plurality of circuits in the second control unit;
a circuit information notification unit that outputs the circuit information held in the circuit information holding unit to the first control unit based on an information acquisition request issued from the first control unit when the operation mode is returned from the second operation mode to the first operation mode ;
a reset unit that resets a circuit indicated by a reset request received from the first control unit;
having
the first control unit has a stop request issuing unit that issues a stop request to the second control unit to stop operation of the second controller when it is not possible to determine the circuit in which an abnormality has occurred in the second control unit based on the circuit information notified from the second control unit,
The second control unit has a stop signal generating circuit that generates a stop signal for stopping the operation of the second controller based on the stop request.
A control device comprising :
JP2021001897A 2021-01-08 2021-01-08 Image forming apparatus, method and control device for image forming apparatus Active JP7600691B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021001897A JP7600691B2 (en) 2021-01-08 2021-01-08 Image forming apparatus, method and control device for image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021001897A JP7600691B2 (en) 2021-01-08 2021-01-08 Image forming apparatus, method and control device for image forming apparatus

Publications (2)

Publication Number Publication Date
JP2022107145A JP2022107145A (en) 2022-07-21
JP7600691B2 true JP7600691B2 (en) 2024-12-17

Family

ID=82457557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021001897A Active JP7600691B2 (en) 2021-01-08 2021-01-08 Image forming apparatus, method and control device for image forming apparatus

Country Status (1)

Country Link
JP (1) JP7600691B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000232540A (en) 1999-02-09 2000-08-22 Matsushita Graphic Communication Systems Inc Facsimile equipment
JP2007286859A (en) 2006-04-17 2007-11-01 Ricoh Co Ltd Control unit and image forming device
JP2008131603A (en) 2006-11-24 2008-06-05 Ricoh Co Ltd Image processor and image processing method
JP2012008661A (en) 2010-06-22 2012-01-12 Konica Minolta Business Technologies Inc Image processing device
JP2014032464A (en) 2012-08-01 2014-02-20 Ricoh Co Ltd Electronic apparatus, power supply control method of electronic apparatus, and control program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000232540A (en) 1999-02-09 2000-08-22 Matsushita Graphic Communication Systems Inc Facsimile equipment
JP2007286859A (en) 2006-04-17 2007-11-01 Ricoh Co Ltd Control unit and image forming device
JP2008131603A (en) 2006-11-24 2008-06-05 Ricoh Co Ltd Image processor and image processing method
JP2012008661A (en) 2010-06-22 2012-01-12 Konica Minolta Business Technologies Inc Image processing device
JP2014032464A (en) 2012-08-01 2014-02-20 Ricoh Co Ltd Electronic apparatus, power supply control method of electronic apparatus, and control program

Also Published As

Publication number Publication date
JP2022107145A (en) 2022-07-21

Similar Documents

Publication Publication Date Title
US8700835B2 (en) Computer system and abnormality detection circuit
AU2020285262B2 (en) Error recovery method and apparatus
JP5392594B2 (en) Virtual machine redundancy system, computer system, virtual machine redundancy method, and program
EP2175371A1 (en) Synchronization control apparatuses, information processing apparatuses, and synchronization management methods
US7672247B2 (en) Evaluating data processing system health using an I/O device
US9342393B2 (en) Early fabric error forwarding
CN111831488B (en) TCMS-MPU control unit with safety level design
JP2011070655A (en) Information processing apparatus, memory dump system and memory dump method
US5267246A (en) Apparatus and method for simultaneously presenting error interrupt and error data to a support processor
US7966536B2 (en) Method and apparatus for automatic scan completion in the event of a system checkstop
US20040181708A1 (en) Policy-based response to system errors occuring during os runtime
US7441128B2 (en) Power-state management of peripheral device by north bridge for power management of computer system
CN108958987B (en) Low-orbit small satellite fault-tolerant system and method
JP3329986B2 (en) Multiprocessor system
CN101813898B (en) Image processing apparatus
CN104349001A (en) Information processing apparatus, method for controlling the same, and program
KR100928187B1 (en) Fault-safe structure of dual processor control unit
JP7600691B2 (en) Image forming apparatus, method and control device for image forming apparatus
US7228457B2 (en) Performing diagnostic operations upon a data processing apparatus with power down support
JP2003256240A (en) Information processor and its failure recovering method
JP3838992B2 (en) Fault detection method and information processing system
JPH11120154A (en) Device and method for access control in computer system
JPH1196084A (en) Fault detector
JP2022112106A (en) CONTROL DEVICE, IMAGE FORMING APPARATUS, AND CONTROL METHOD OF CONTROL DEVICE
CN118838865A (en) Chip system, safety island system and error processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231114

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240729

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240813

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240926

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241118

R150 Certificate of patent or registration of utility model

Ref document number: 7600691

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150