JP7098695B2 - Anomaly detection method for electronic devices and their startup - Google Patents

Anomaly detection method for electronic devices and their startup Download PDF

Info

Publication number
JP7098695B2
JP7098695B2 JP2020172636A JP2020172636A JP7098695B2 JP 7098695 B2 JP7098695 B2 JP 7098695B2 JP 2020172636 A JP2020172636 A JP 2020172636A JP 2020172636 A JP2020172636 A JP 2020172636A JP 7098695 B2 JP7098695 B2 JP 7098695B2
Authority
JP
Japan
Prior art keywords
display
power supply
electronic device
signal
abnormality
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
JP2020172636A
Other languages
Japanese (ja)
Other versions
JP2021009726A5 (en
JP2021009726A (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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2020172636A priority Critical patent/JP7098695B2/en
Publication of JP2021009726A publication Critical patent/JP2021009726A/en
Publication of JP2021009726A5 publication Critical patent/JP2021009726A5/ja
Application granted granted Critical
Publication of JP7098695B2 publication Critical patent/JP7098695B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、電子機器における異常状態を検知する自己診断技術に関する。 The present invention relates to a self-diagnosis technique for detecting an abnormal state in an electronic device.

一般的な電子機器は、ユーザに対し情報を表示したり操作を受け付けたりするためのユーザインタフェース(以下、「UI」と表記)を有している。このUIは、機器内で異常が発生した場合にはその報知にも利用されるところ、UIの画面表示に関わる部分で何等かの異常が発生した場合には、異常発生の報知表示ができなくなる。こうなると、機器内のどこでどのような異常が発生したのかをユーザ等は知ることができず、異常箇所の特定やその内容把握に多くの手間と時間を要することになってしまう。 A general electronic device has a user interface (hereinafter referred to as "UI") for displaying information and accepting operations to a user. This UI is also used to notify when an abnormality occurs in the device, but if any abnormality occurs in the part related to the screen display of the UI, the notification of the occurrence of the abnormality cannot be displayed. .. In this case, the user or the like cannot know where and what kind of abnormality has occurred in the device, and it takes a lot of time and effort to identify the abnormal part and grasp its contents.

この点、例えば特許文献1には、電子機器が有する複数の回路ブロック毎に、故障が発生した場合の表示用LEDの表示態様を予め決めておき、故障が検知されると、その発生場所に応じた表示態様でLEDを点灯することで故障箇所を特定する技術が開示されている。 In this regard, for example, in Patent Document 1, the display mode of the display LED when a failure occurs is determined in advance for each of a plurality of circuit blocks of the electronic device, and when the failure is detected, the place where the failure occurs is determined. A technique for identifying a faulty part by lighting an LED in a corresponding display mode is disclosed.

特開平10-268850号公報Japanese Unexamined Patent Publication No. 10-268850

上記従来技術は、複数の回路ブロックとバスを介して接続されたマイクロコンピュータが、各ブロックにて判断・保持された診断結果を、各回路ブロックとのI/Oポートを介して取り込むことで故障通知制御を行なうものである(特許文献1の図1等を参照)。ここで、例えばプリント・コピー・FAXといった複数の機能を持つMFP(Multi Function Peripheral)のような多機能の電子機器に特許文献1の技術を適用すると、故障検知の対象モジュールが多くなり、故障の通知制御を担うメインコントローラと各機能モジュールとのI/Oポートの数が増えてコストアップに繋がってしまう。 In the above-mentioned conventional technique, a microcomputer connected to a plurality of circuit blocks via a bus fails by taking in the diagnosis result determined and held in each block via an I / O port with each circuit block. Notification control is performed (see FIG. 1 and the like in Patent Document 1). Here, if the technology of Patent Document 1 is applied to a multifunctional electronic device such as an MFP (Multi Function Peripheral) having a plurality of functions such as print, copy, and fax, the number of modules subject to failure detection increases, and the failure occurs. The number of I / O ports between the main controller responsible for notification control and each functional module increases, leading to an increase in cost.

また、上述のUIの表示制御を、メインコントローラとは独立したモジュールで行う電子機器の場合、当該モジュールとメインコントローラとを接続するI/Oポートを設けないと、UI表示に関する異常は検知できない。さらには、そもそもUI表示が正常動作する場合にはUI上の画面表示によって故障の報知を行えば十分である。UI表示に関わらない故障についてまでわざわざLEDを使用して報知を行なわなければならない必然性もない。 Further, in the case of an electronic device in which the above-mentioned UI display control is performed by a module independent of the main controller, an abnormality related to the UI display cannot be detected unless an I / O port for connecting the module and the main controller is provided. Furthermore, if the UI display operates normally, it is sufficient to notify the failure by the screen display on the UI. There is no need to bother to use LEDs to notify even failures that are not related to UI display.

そこで、本発明の一つの側面は、UI表示に関する異常を診断する仕組みを提供することを一つの目的とする。本発明の別の側面は、メインコントローラとは独立したモジュールでUIの表示制御を行う電子機器において、I/Oポートを増やすことなくUI表示に関わる異常を検知してユーザ等への報知を可能にすることを目的とする。 Therefore, one aspect of the present invention is to provide a mechanism for diagnosing an abnormality related to UI display. Another aspect of the present invention is that in an electronic device that controls UI display with a module independent of the main controller, it is possible to detect an abnormality related to UI display and notify a user or the like without increasing the number of I / O ports. The purpose is to.

本発明に係る電子機器は、ディスプレイと前記ディスプレイに信号を供給するデバイスとが電気的に接続された電子機器であって、前記ディスプレイに表示する画像と、前記ディスプレイを制御するための制御信号を前記ディスプレイに出力する画像処理手段と、前記制御信号が正常か否かを判定する判定手段と、前記判定の結果に基づいて通知する通知手段と、を備え、前記判定手段は、前記ディスプレイへの電源供給が正常であることを示す信号が入力されてから所定の期間が経過するまでに、前記制御信号が変化しない場合に、前記ディスプレイの異常として判定する、ことを特徴とする。 The electronic device according to the present invention is an electronic device in which a display and a device for supplying a signal to the display are electrically connected, and an image to be displayed on the display and a control signal for controlling the display are obtained. The image processing means to be output to the display, the determination means for determining whether or not the control signal is normal, and the notification means for notifying based on the result of the determination are provided , and the determination means is provided to the display. If the control signal does not change within a predetermined period after the signal indicating that the power supply is normal is input, it is determined as an abnormality of the display .

本発明によれば、メインコントローラとは独立したモジュールでUIの表示制御を行う電子機器において、I/Oポートを増やすことなくUI表示に関わる異常を検知し、ユーザ等へ当該異常の発生を通知することができる。 According to the present invention, in an electronic device that controls UI display with a module independent of the main controller, an abnormality related to UI display is detected without increasing the number of I / O ports, and the occurrence of the abnormality is notified to a user or the like. can do.

実施形態1に係る、MFPを含むシステム構成図System configuration diagram including MFP according to the first embodiment メインコントローラとUIモジュールの内部構成を示すブロック図Block diagram showing the internal configuration of the main controller and UI module (a)は自己診断デバイスの内部構造を示すブロック図、(b)は自己診断部の内部構造を示すブロック図(A) is a block diagram showing the internal structure of the self-diagnosis device, and (b) is a block diagram showing the internal structure of the self-diagnosis unit. (a)は自己診断デバイス内の第一異常検知部と第二異常検知部の詳細を示したブロック図、(b)は自己診断部内の異常検知部の詳細を示したブロック図(A) is a block diagram showing the details of the first abnormality detection unit and the second abnormality detection unit in the self-diagnosis device, and (b) is a block diagram showing the details of the abnormality detection unit in the self-diagnosis unit. 自己診断デバイス内の第一異常検知部と第二異常検知部の検知動作(正常時)を説明するタイミングチャートA timing chart that explains the detection operation (normal time) of the first abnormality detection unit and the second abnormality detection unit in the self-diagnosis device. (a)はメインCPUの起動シーケンスの異常を検知した際の動作を説明するタイミングチャート、(b)は第二電源の電源供給シーケンスの異常を検知した際の動作を説明するタイミングチャート(A) is a timing chart explaining the operation when an abnormality in the startup sequence of the main CPU is detected, and (b) is a timing chart explaining the operation when an abnormality in the power supply sequence of the second power supply is detected. 自己診断部内の異常検知部の検知動作(正常時)を説明するタイミングチャートTiming chart explaining the detection operation (normal time) of the abnormality detection unit in the self-diagnosis unit LCDの画像表示シーケンスの異常を検知した際の動作を説明するタイミングチャートA timing chart that explains the operation when an abnormality in the image display sequence of the LCD is detected. (a)~(c)は、MFPの起動時における異常検知制御の流れを示すフローチャート(A) to (c) are flowcharts showing the flow of abnormality detection control at the time of starting the MFP. エラー表示画面の一例を示す図A diagram showing an example of an error display screen

以下、本発明の実施形態について、図面を参照して説明する。なお、以下の実施形態は本発明を限定するものではなく、また、本実施形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. It should be noted that the following embodiments do not limit the present invention, and not all combinations of features described in the present embodiment are essential for the means for solving the present invention.

実施形態1Embodiment 1

(システム構成)
図1は、本実施形態を適用可能な電子機器としてのMFP100を含むシステム構成図である。MFP100は、メインコントローラ101、ユーザインタフェースを担う専用モジュール102、スキャナ103、プリンタ104、第一電源105、第二電源106で構成され、サーバ110とLAN120を介して接続される。なお、説明の便宜上、ユーザインタフェースを担う専用モジュール102を、以下、「UIモジュール102」と表記する。サーバ110は、MFP100のエラー情報などを取得・保存する情報収集サーバである。なお、図1には示されていないが、LAN120にはMFP100に対して印刷ジョブを送信する1又は複数のPCが接続される。さらにMFP100は、不図示の電話回線を介して、FAX通信機能を持つ装置とも接続される。以下、図1を参照して、MFP100のハードウェア構成の概要を説明する。
(System configuration)
FIG. 1 is a system configuration diagram including an MFP 100 as an electronic device to which this embodiment can be applied. The MFP 100 is composed of a main controller 101, a dedicated module 102 that handles a user interface, a scanner 103, a printer 104, a first power supply 105, and a second power supply 106, and is connected to the server 110 via a LAN 120. For convenience of explanation, the dedicated module 102 that bears the user interface is hereinafter referred to as "UI module 102". The server 110 is an information collection server that acquires and stores error information and the like of the MFP 100. Although not shown in FIG. 1, one or a plurality of PCs that send print jobs to the MFP 100 are connected to the LAN 120. Further, the MFP 100 is also connected to a device having a FAX communication function via a telephone line (not shown). Hereinafter, an outline of the hardware configuration of the MFP 100 will be described with reference to FIG. 1.

(MFPのハードウェア構成)
メインコントローラ101は、MFP100の各部を統括的に制御する主制御を担うモジュールである。例えば、各種データの変換や保存、サーバ110との間での各種データの送受信、MFP100内部に供給される電力制御などを行う。UIモジュール102は、ユーザに対して各種情報を表示したり、ユーザが各種の入力操作を行ったりするための表示・操作を担う、UI表示に関する制御を担うモジュールである。スキャナ103は、不図示の原稿台やADF(Auto Document Feeder)に置かれた原稿を光学的に読み取って画像データを取得するモジュールである。プリンタ104は、メインコントローラ101で画像処理された様々な画像データを印刷出力するモジュールである。第一電源105と第二電源106は、電源プラグ107から供給される交流の商用電源を、直流の電源に変換してMFP100内部に供給するモジュールである。第二電源106は、メインコントローラ101からの電源制御信号によって電源供給のオン/オフが制御される。通常電力モードにおいては、第一電源105及び第二電源106共にオンとなり、後述するとおり所定の供給先にそれぞれ電力供給を行う。一方、省電力モードにおいては、第一電源105はオンのままだが、第二電源106はオフとなる。ここで、省電力モードとは、MFP100が各種ジョブの処理を行っていない休止状態のときに、メインコントローラ101内の所定のデバイス等を除いて電力供給を停止して、消費電力を低減する動作モードを指す。この省電力モード下においてもメインコントローラ101はジョブを受け付け可能であり、ジョブを受け付けると、Highの電源制御信号を第二電源106に出力して第二電源106をオンに切り替え、通常電力モードへと移行させる。
(Hardware configuration of MFP)
The main controller 101 is a module that is responsible for the main control that collectively controls each part of the MFP 100. For example, it converts and stores various data, sends and receives various data to and from the server 110, and controls the power supplied to the inside of the MFP 100. The UI module 102 is a module responsible for controlling the UI display, which is responsible for displaying and operating various information for displaying various information to the user and for the user to perform various input operations. The scanner 103 is a module that optically reads a document placed on a document table (not shown) or an ADF (Auto Document Feeder) to acquire image data. The printer 104 is a module that prints out various image data processed by the main controller 101. The first power supply 105 and the second power supply 106 are modules that convert the AC commercial power supply supplied from the power supply plug 107 into a DC power supply and supply it to the inside of the MFP 100. The power supply of the second power supply 106 is controlled to be turned on / off by a power supply control signal from the main controller 101. In the normal power mode, both the first power supply 105 and the second power supply 106 are turned on, and power is supplied to predetermined supply destinations as described later. On the other hand, in the power saving mode, the first power supply 105 remains on, but the second power supply 106 is turned off. Here, the power saving mode is an operation of reducing power consumption by stopping the power supply except for a predetermined device in the main controller 101 when the MFP 100 is in a hibernation state in which various jobs are not processed. Refers to the mode. The main controller 101 can accept a job even in this power saving mode, and when the job is accepted, a High power control signal is output to the second power supply 106 to switch the second power supply 106 on, and the normal power mode is entered. And migrate.

(ハードウェア構成の詳細)
次に、MFP100の構成要素のうち本実施形態において重要なメインコントローラ部101とUIモジュール102について詳しく説明する。図2は、メインコントローラ101とUIモジュール102の内部構成を示すブロック図である。図2において、各ブロックと繋がる線のうち太線は電源ラインを示し、細線は信号ラインを示す。
(Details of hardware configuration)
Next, the main controller unit 101 and the UI module 102, which are important components of the MFP 100 in the present embodiment, will be described in detail. FIG. 2 is a block diagram showing an internal configuration of the main controller 101 and the UI module 102. In FIG. 2, among the lines connecting to each block, the thick line indicates the power supply line and the thin line indicates the signal line.

<メインコントローラ>
まず、メインコントローラ101について詳しく説明する。メインコントローラ101は、メインCPU201、IOコントローラ205、スキャナI/F207、プリンタI/F208を備える。さらに、メインコントローラ101は、画像生成デバイス202、自己診断デバイス203、電源制御デバイス204、画像処理デバイス206、第二電源電圧検出デバイス209の各デバイスを備える。メインコントローラ101内を統括的に制御するメインCPU201は、ハードウェア回路を含むプロセッサの一例である。メインCPU201は、例えばGPU(Graphics Processing Unit)などの画像生成デバイス202を制御してUIモジュール102で表示するための画像を生成する。また、メインCPU201は不図示のLANコントローラを介して、LAN120に接続された外部機器との通信制御を行う。自己診断デバイス203は、MFP100の起動時に、メインコントローラ101内の各デバイス及びメインコントローラ101に接続されている各モジュールの異常の有無を自己診断し、異常を検知した場合にはどこが故障しているのかを特定する。ここで、MFP100の「起動時」には、その主電源スイッチ(不図示)がオンされた時、及び上述の省電力モードから復帰して通常電力モードに移行する時の両方が含まれる。自己診断デバイス203としては、例えばCPLD(Complex Programmable Logic Device)が利用される。自己診断デバイス203の詳細については後述する。
<Main controller>
First, the main controller 101 will be described in detail. The main controller 101 includes a main CPU 201, an IO controller 205, a scanner I / F207, and a printer I / F208. Further, the main controller 101 includes each device of the image generation device 202, the self-diagnosis device 203, the power supply control device 204, the image processing device 206, and the second power supply voltage detection device 209. The main CPU 201, which collectively controls the inside of the main controller 101, is an example of a processor including a hardware circuit. The main CPU 201 controls an image generation device 202 such as a GPU (Graphics Processing Unit) to generate an image to be displayed by the UI module 102. Further, the main CPU 201 controls communication with an external device connected to the LAN 120 via a LAN controller (not shown). The self-diagnosis device 203 self-diagnoses the presence or absence of an abnormality in each device in the main controller 101 and each module connected to the main controller 101 when the MFP 100 is started, and if an abnormality is detected, what is wrong. To identify. Here, the "start-up" of the MFP 100 includes both when the main power switch (not shown) is turned on and when the MP 100 returns from the above-mentioned power saving mode and shifts to the normal power mode. As the self-diagnosis device 203, for example, a CPLD (Complex Programmable Logic Device) is used. Details of the self-diagnosis device 203 will be described later.

電源制御デバイス204は、第一電源105から電源供給を受け、自己診断デバイス203での診断結果等に基づき、メインコントローラ101の内部及びメインコントローラ101に接続されている他のモジュールへの電力供給を制御する。第一電源105からの直流電源は、メインコントローラ101内にある自己診断デバイス203、電源制御デバイス204、IOコントローラ205及びUIモジュール102内のサブCPU210に対し供給される。そして、第二電源106からの直流電源は、メインCPU201など省電力モード時には動作しない残りのデバイス/モジュールに対し供給される。IOコントローラ205は、メインCPU201と例えばPCI Expressで接続され、UIモジュール102を制御する。また、IOコントローラ205は、自己診断デバイス203と内部バスで接続されている。メインCPU201は、IOコントローラ205を介して自己診断デバイス203にアクセスし、自己診断デバイス203内に格納されている診断結果に従って、メインコントローラ101内の各デバイスやUIモジュール102を制御する。なお、図2においては、第一電源105から供給される常夜電源や第二電源106から供給される電源は、デバイスやモジュールを示す各ブロックに直接接続されている。しかし、このような構成に限定されるわけではなく、例えばDC-DCコンバータやレギュレータを利用して、各ブロックに必要な電源電圧に分岐される構成でも構わない。ただし、第一電源105から供給される常夜電源は、第二電源106から供給される電源よりも早いタイミングで供給される。 The power control device 204 receives power from the first power supply 105, and supplies power to the inside of the main controller 101 and other modules connected to the main controller 101 based on the diagnosis result of the self-diagnosis device 203 and the like. Control. The DC power supply from the first power supply 105 is supplied to the self-diagnosis device 203 in the main controller 101, the power supply control device 204, the IO controller 205, and the sub CPU 210 in the UI module 102. Then, the DC power supply from the second power supply 106 is supplied to the remaining devices / modules that do not operate in the power saving mode such as the main CPU 201. The IO controller 205 is connected to the main CPU 201 by, for example, PCI Express, and controls the UI module 102. Further, the IO controller 205 is connected to the self-diagnosis device 203 by an internal bus. The main CPU 201 accesses the self-diagnosis device 203 via the IO controller 205, and controls each device and the UI module 102 in the main controller 101 according to the diagnosis result stored in the self-diagnosis device 203. In FIG. 2, the nighttime power supply supplied from the first power supply 105 and the power supply supplied from the second power supply 106 are directly connected to each block indicating the device or module. However, the configuration is not limited to such a configuration, and a configuration in which a DC-DC converter or a regulator is used to branch to a power supply voltage required for each block may be used. However, the nighttime power supply supplied from the first power supply 105 is supplied at an earlier timing than the power supply supplied from the second power supply 106.

画像処理デバイス206は、入力された画像データに様々な画像処理を施す。スキャナI/F207は、スキャナ103からスキャン画像データを受け取って画像処理デバイス206へ出力する。プリンタI/F208は、画像処理デバイス206で処理された画像データをプリンタ104出力する。第二電源電圧検出部209は、第二電源106からの直流電源を検出し正常に供給されているかどうかをチェックする。具体的には、第二電源106からのメインコントローラ101内各部への電源供給が正常な電圧レベルでなされたことを検知すると2nd Power Good信号を生成する。この2nd Power Good信号がアサートされるとメインCPU201が起動を開始する。 The image processing device 206 performs various image processing on the input image data. The scanner I / F 207 receives the scanned image data from the scanner 103 and outputs it to the image processing device 206. The printer I / F 208 outputs the image data processed by the image processing device 206 to the printer 104. The second power supply voltage detection unit 209 detects the DC power supply from the second power supply 106 and checks whether or not the DC power supply is normally supplied. Specifically, when it is detected that the power supply from the second power supply 106 to each part in the main controller 101 is performed at a normal voltage level, a 2nd Power Good signal is generated. When this 2nd Power Good signal is asserted, the main CPU 201 starts to start.

<UIモジュール>
次に、UIモジュール102について詳しく説明する。UIモジュール102は、サブCPU210、画像変換デバイス211、LCD212、LCD電源213、LCD電源電圧検出デバイス214、LED215で構成される。UIモジュール102内の各部を制御するためのサブCPU210は、IOコントローラ205と例えばUARTで接続されており、IOコントローラ205を介してメインCPU201とCPU間通信を行う。なお、UARTは、シリアル通信用信号とパラレル通信用信号との変換を行う集積回路であり、Universal Asynchronous Receiver-Transmitterの略である。
<UI module>
Next, the UI module 102 will be described in detail. The UI module 102 includes a sub CPU 210, an image conversion device 211, an LCD 212, an LCD power supply 213, an LCD power supply voltage detection device 214, and an LED 215. The sub CPU 210 for controlling each part in the UI module 102 is connected to the IO controller 205 by, for example, a UART, and communicates between the main CPU 201 and the CPU via the IO controller 205. The UART is an integrated circuit that converts a serial communication signal and a parallel communication signal, and is an abbreviation for Universal Asynchronous Receiver-Transmitter.

サブCPU210内には自己診断部216が存在する。この自己診断部216は、メインコントローラ101とUIモジュール102との間のケーブルの抜けや断線などを含むUI表示に関する異常の有無を、MFP100の起動時に診断する。この起動時には、前述のとおり、省電力モードからの復帰時を含む。そして、自己診断部216によって異常を検知すると、サブCPU210は、IOコントローラ205経由でのCPU間通信によって、UI表示に関する異常が発生した旨をメインCPU201に通知する。この自己診断部216の詳細については後述する。 The self-diagnosis unit 216 exists in the sub CPU 210. The self-diagnosis unit 216 diagnoses the presence or absence of an abnormality related to the UI display including disconnection or disconnection of the cable between the main controller 101 and the UI module 102 when the MFP 100 is started. At the time of this startup, as described above, the time of returning from the power saving mode is included. Then, when the self-diagnosis unit 216 detects an abnormality, the sub CPU 210 notifies the main CPU 201 that an abnormality related to the UI display has occurred by communication between CPUs via the IO controller 205. The details of the self-diagnosis unit 216 will be described later.

画像変換デバイス211は、画像生成デバイス202から出力されたUI表示用のDisplay Port規格の画像を、LCD212で出力可能なLVDS規格の画像に変換する。LCD電源部213は、電源制御デバイス204からの電源制御信号に応じてLCD212のバックライト用電源を供給する。LCD電源電圧検出デバイス214は、LCD電源部213からLCD212への電源供給が正常な電圧レベルでなされたことを電源電圧(LCD VCC)によって検知するとLCD Power Good信号を生成し、サブCPU210へ出力する。また、画像変換デバイス211からLCD212に対する制御信号のうちの少なくとも一部がサブCPU210に入力され、サブCPU210内の自己診断部216におけるUI表示に関する異常の有無の診断に利用される。画像変換デバイス211からLCD212に向かう制御信号には、例えば、パネルの電源をオンにするためのPanel power enable信号や、バックライトをオンにするためのBacklight enable信号、バックライトのPWM周波数を制御するPWM信号などがある。LED215は、自己診断デバイス203や自己診断部216で異常が検出された際に、当該異常の発生をユーザに報知するための発光素子である。本実施形態においてLED215は、IOコントローラ205を介して、自己診断デバイス203及びメインCPU201によってその点灯・消灯が制御される。 The image conversion device 211 converts the DisplayPort standard image for UI display output from the image generation device 202 into an LVDS standard image that can be output by the LCD 212. The LCD power supply unit 213 supplies power for the backlight of the LCD 212 in response to the power supply control signal from the power supply control device 204. When the LCD power supply voltage detection device 214 detects by the power supply voltage (LCD VCC) that the power supply from the LCD power supply unit 213 to the LCD 212 is performed at a normal voltage level, the LCD Power Good signal is generated and output to the sub CPU 210. .. Further, at least a part of the control signals from the image conversion device 211 to the LCD 212 is input to the sub CPU 210, and is used for diagnosing the presence or absence of an abnormality related to the UI display in the self-diagnosis unit 216 in the sub CPU 210. The control signal from the image conversion device 211 to the LCD 212 controls, for example, a Panel power enable signal for turning on the panel power, a Backlight enable signal for turning on the backlight, and a PWM frequency of the backlight. There are PWM signals and so on. The LED 215 is a light emitting element for notifying the user of the occurrence of the abnormality when the self-diagnosis device 203 or the self-diagnosis unit 216 detects an abnormality. In the present embodiment, the lighting / extinguishing of the LED 215 is controlled by the self-diagnosis device 203 and the main CPU 201 via the IO controller 205.

(自己診断デバイス)
続いて、メインコントローラ101内の自己診断デバイス203について詳しく説明する。図3(a)は自己診断デバイス203の内部構造を示すブロック図である。まず、図3(a)を参照して、自己診断デバイス203における診断の概要について説明する。
(Self-diagnosis device)
Subsequently, the self-diagnosis device 203 in the main controller 101 will be described in detail. FIG. 3A is a block diagram showing the internal structure of the self-diagnosis device 203. First, the outline of the diagnosis in the self-diagnosis device 203 will be described with reference to FIG. 3 (a).

自己診断デバイス203は、第一異常検知部301、第二異常検知部302、内部クロック生成部303、診断結果保持部304で構成される。本実施形態の自己診断デバイス203は2つの異常検知部を持つが、1つ或いは3つ以上を持つ構成であってもよい。自己診断デバイス203は、第一異常検知部301と第二異常検知部302にそれぞれ入力される2種類の監視信号に基づいて、MFP100内で発生した異なる種類の異常を検知する。具体的には、第一異常検知部301ではメインCPU201の動作異常の検知を行い、第二異常検知部302では第二電源106の供給異常の検知を行う。 The self-diagnosis device 203 includes a first abnormality detection unit 301, a second abnormality detection unit 302, an internal clock generation unit 303, and a diagnosis result holding unit 304. The self-diagnosis device 203 of the present embodiment has two abnormality detection units, but may be configured to have one or three or more. The self-diagnosis device 203 detects different types of abnormalities generated in the MFP 100 based on two types of monitoring signals input to the first abnormality detecting unit 301 and the second abnormality detecting unit 302, respectively. Specifically, the first abnormality detection unit 301 detects an operation abnormality of the main CPU 201, and the second abnormality detection unit 302 detects a supply abnormality of the second power supply 106.

ここで、各異常検知部に入力される2種類の監視信号について説明する。監視信号の1つは、診断対象シーケンスにおいてトリガとなる、そのシーケンス開始時に変化する信号(以下、「トリガ信号」と呼ぶ。)である。そして、もう1つの監視信号は、診断対象シーケンスに異常がないかどうかを判断するための信号(以下、「チェック信号」と呼ぶ。)である。なお、チェック信号は、診断対象シーケンスが正常に完了したことを確認可能な信号であることが望ましいが、これに限定される訳ではない。 Here, two types of monitoring signals input to each abnormality detection unit will be described. One of the monitoring signals is a signal (hereinafter, referred to as “trigger signal”) that changes at the start of the sequence, which is a trigger in the sequence to be diagnosed. The other monitoring signal is a signal for determining whether or not there is an abnormality in the diagnosis target sequence (hereinafter, referred to as a "check signal"). The check signal is preferably a signal that can confirm that the diagnosis target sequence has been completed normally, but is not limited to this.

内部クロック生成部303は、自己診断デバイス203内で使用する駆動用クロック信号を生成し、第一異常検知部301、第二異常検知部302及び診断結果保持部304へ出力する。メインコントローラ101内で使用されるシステムクロック信号とは独立したクロック信号を使用することで、システムクロック生成部(不図示)が動作していないときでも、異常の検知や表示動作を可能にしている。第一異常検知部301及び第二異常検知部302は、異常を検知するとHighレベルの異常検知信号を診断結果保持部304にそれぞれ出力する。これを受けて診断結果保持部304は、IOコントローラ205に割り込み信号を出力する。割り込み信号が入力されるとIOコントローラ205は、診断結果保持部304内のレジスタ(不図示)へアクセスして、異常内容を確認する。 The internal clock generation unit 303 generates a drive clock signal to be used in the self-diagnosis device 203, and outputs the drive clock signal to the first abnormality detection unit 301, the second abnormality detection unit 302, and the diagnosis result holding unit 304. By using a clock signal independent of the system clock signal used in the main controller 101, it is possible to detect and display an abnormality even when the system clock generator (not shown) is not operating. .. When the first abnormality detection unit 301 and the second abnormality detection unit 302 detect an abnormality, they output a high level abnormality detection signal to the diagnosis result holding unit 304, respectively. In response to this, the diagnosis result holding unit 304 outputs an interrupt signal to the IO controller 205. When the interrupt signal is input, the IO controller 205 accesses a register (not shown) in the diagnosis result holding unit 304 and confirms the content of the abnormality.

<異常検知部の詳細>
図4(a)は、第一異常検知部301と第二異常検知部302の詳細を示したブロック図である。第一異常検知部301は第一タイマ401と第一異常判定部402とからなり、第二異常検知部302は第二タイマ403と第二異常判定部404とからなる。
<Details of anomaly detection unit>
FIG. 4A is a block diagram showing details of the first abnormality detection unit 301 and the second abnormality detection unit 302. The first abnormality detection unit 301 includes a first timer 401 and a first abnormality determination unit 402, and the second abnormality detection unit 302 includes a second timer 403 and a second abnormality determination unit 404.

第一異常検知部301は、上述のトリガ信号として第二電源電圧検出部209からの2nd Power Good信号、上述のチェック信号としてメインCPU201の動作信号をそれぞれ使用して、メインCPU201の異常を検知する。2nd Power Good信号は第一タイマ401に入力され、メインCPU動作信号は第一異常判定部402に入力される。ここで、メインCPU動作信号は、IOコントローラ205がその起動時にメインCPU201にアクセスし、応答があった場合に内部バスを介して自己診断デバイス203内のレジスタに対しソフト的にHighを書き込むことで発生する。すなわち、メインCPU動作信号は、メインCPU201が正常起動した時には第一タイマ401が上述のカウントを終える前にLowレベルからHighレベルに変化する信号である。第一タイマ401は、内部クロック信号で動作し、入力された2nd Power Good信号がHighレベルに変化したときに所定時間(例えば10sec)のカウントを開始する。そして、第一異常判定部402は、第一タイマ401による所定時間のカウント経過時点でメインCPU動作信号がHighレベルでない場合、メインCPU201が正常起動していないことを示すメインCPU異常信号を診断結果保持部304に出力する。 The first abnormality detection unit 301 detects an abnormality in the main CPU 201 by using the 2nd Power Good signal from the second power supply voltage detection unit 209 as the above-mentioned trigger signal and the operation signal of the main CPU 201 as the above-mentioned check signal. .. The 2nd Power Good signal is input to the first timer 401, and the main CPU operation signal is input to the first abnormality determination unit 402. Here, the main CPU operation signal is obtained by softly writing High to the register in the self-diagnosis device 203 via the internal bus when the IO controller 205 accesses the main CPU 201 when the IO controller 205 starts up and receives a response. Occur. That is, the main CPU operation signal is a signal that changes from the Low level to the High level before the first timer 401 finishes the above-mentioned count when the main CPU 201 is normally started. The first timer 401 operates on the internal clock signal and starts counting for a predetermined time (for example, 10 sec) when the input 2nd Power Good signal changes to the High level. Then, the first abnormality determination unit 402 diagnoses the main CPU abnormality signal indicating that the main CPU 201 has not started normally when the main CPU operation signal is not at the high level at the time when the count of the predetermined time by the first timer 401 has elapsed. Output to the holding unit 304.

第二異常検知部303は、上述のトリガ信号として第二電源106をオンにする電源制御信号を、上述のチェック信号として第二電源電圧検出部209からの2nd Power Good信号をそれぞれ使用して、第二電源106の供給異常を検知する。第二電源106用の電源制御信号は第二タイマ403に入力され、2nd Power Good信号は第二異常判定部404に入力される。 The second abnormality detection unit 303 uses the power supply control signal for turning on the second power supply 106 as the above-mentioned trigger signal and the 2nd Power Good signal from the second power supply voltage detection unit 209 as the above-mentioned check signal. The supply abnormality of the second power source 106 is detected. The power supply control signal for the second power supply 106 is input to the second timer 403, and the 2nd Power Good signal is input to the second abnormality determination unit 404.

第二タイマ403は内部クロック信号で動作し、第二電源106用の電源制御信号が入力されると、所定時間(例えば2sec)のカウントを開始する。上述の2nd Power Good信号は、第二電源106から正常に電源供給がなされている時は、第二タイマ403が所定時間のカウントを終える前にLowレベルからHighレベルに変化する。したがって、第二異常判定部404は、第二タイマ403による所定時間のカウント経過時点で2nd Power Good信号がHighレベルでない場合、第二電源106から正常に電源供給がなされていないことを示す第二電源異常信号を診断結果保持部304に出力する。 The second timer 403 operates with an internal clock signal, and when a power control signal for the second power supply 106 is input, it starts counting for a predetermined time (for example, 2 sec). When the power is normally supplied from the second power supply 106, the above-mentioned 2nd Power Good signal changes from the Low level to the High level before the second timer 403 finishes counting for a predetermined time. Therefore, the second abnormality determination unit 404 indicates that the power is not normally supplied from the second power supply 106 when the 2nd Power Good signal is not at the high level at the time when the count of the predetermined time by the second timer 403 has elapsed. The power supply abnormality signal is output to the diagnosis result holding unit 304.

<異常検知のタイミング>
図5及び図6は、第一異常検知部301と第二異常検知部302の検知動作を説明するタイミングチャートである。まず図5に示す、メインCPU201の起動シーケンスにも、第二電源部106の電源供給シーケンスにも問題がなかった場合のタイミングチャートから説明する。
<Timing of abnormality detection>
5 and 6 are timing charts illustrating the detection operations of the first abnormality detection unit 301 and the second abnormality detection unit 302. First, the timing chart will be described from the timing chart when there is no problem in the boot sequence of the main CPU 201 and the power supply sequence of the second power supply unit 106 shown in FIG.

MFP100の主電源スイッチ(不図示)がオンされると、第一電源105からの電源供給が開始され、少し遅れて第二電源106からの電源供給が開始される。第二電源106をオンにする電源制御信号は第二トリガ信号として第二異常検知部302に入力され、これにより第二タイマ403がカウントを開始する。第二タイマ403において所定時間t_2が経過(カウントアップ)した時点で第二チェック信号としての2nd Power Good信号がHighレベルであると、第二異常判定部404は第二電源106からの電源供給は正常になされたと判断し、第二電源異常信号をLowレベルのまま維持する。次に、第一トリガ信号としての2nd Power Good信号がHighレベルになると、第一異常検知部302内の第一タイマ401がカウントを開始する。第一タイマ401において所定時間t_1が経過(カウントアップ)した時点で第一チェック信号としてのメインCPU動作信号がHighレベルであると、第一異常判定部402はメインCPU201が正常に起動したと判断する。そして、メインCPU異常信号もLowレベルのまま維持する。診断結果保持部304は、いずれの異常信号もLowレベルであることを受けて、内部レジスタ(不図示)にメインCPU201の起動シーケンスも第二電源106による電源供給シーケンスにも異常がないことを示すフラグ等を診断結果として保存する。この場合において診断結果保持部304の内部レジスタは、少なくとも異常検知部の数以上のbit数を有しているものとする。そして、診断結果保持部304は、内部バスを介してIOコントローラ205に割り込み信号を出力する。割り込み信号を受信したIOコントローラ205は、診断結果保持部304の内部レジスタにアクセスして診断結果を取得し、異常がないことが確知される。 When the main power switch (not shown) of the MFP 100 is turned on, the power supply from the first power supply 105 is started, and the power supply from the second power supply 106 is started with a slight delay. The power supply control signal for turning on the second power supply 106 is input to the second abnormality detection unit 302 as a second trigger signal, whereby the second timer 403 starts counting. If the 2nd Power Good signal as the second check signal is at the High level when the predetermined time t_2 has elapsed (counted up) in the second timer 403, the second abnormality determination unit 404 will supply power from the second power supply 106. Judging that it was done normally, the second power supply abnormality signal is maintained at the Low level. Next, when the 2nd Power Good signal as the first trigger signal reaches the High level, the first timer 401 in the first abnormality detection unit 302 starts counting. If the main CPU operation signal as the first check signal is at the High level when the predetermined time t_1 elapses (counts up) in the first timer 401, the first abnormality determination unit 402 determines that the main CPU 201 has started normally. do. Then, the main CPU abnormality signal is also maintained at the Low level. The diagnosis result holding unit 304 indicates that there is no abnormality in the start sequence of the main CPU 201 or the power supply sequence by the second power supply 106 in the internal register (not shown) in response to the fact that all the abnormality signals are at the Low level. Save the flags etc. as the diagnosis result. In this case, it is assumed that the internal register of the diagnosis result holding unit 304 has at least the number of bits equal to or greater than the number of abnormality detecting units. Then, the diagnosis result holding unit 304 outputs an interrupt signal to the IO controller 205 via the internal bus. Upon receiving the interrupt signal, the IO controller 205 accesses the internal register of the diagnosis result holding unit 304 to acquire the diagnosis result, and it is confirmed that there is no abnormality.

次に、図6(a)に示す、CPU201の起動シーケンスに異常があった場合のタイミングチャートを説明する。第一トリガ信号としての2nd Power Good信号がHighレベルになると、第一異常検知部301内の第一タイマ401がカウントを開始する。第一タイマ401において所定時間t_1が経過(カウントアップ)した時点で第一チェック信号としてのメインCPU動作信号がLowレベルのままであることから、第一異常判定部402はメインCPU201の起動シーケンスに異常があると判断する。そして、診断結果保持部304に出力するメインCPU異常信号をHighレベルへと変化させる。一方、第二電源106の電源供給シーケンスには異常がないので、第二電源異常信号の出力はLowレベルを維持する。診断結果保持部304は、メインCPU異常信号がHighレベル、第二電源異常信号がLowレベルであることを受け、その内容を示す診断結果を内部レジスタに保存する。すなわち、第二電源106の電源供給シーケンスに異常はないが、メインCPU201の起動シーケンスには異常があることを示すフラグ等が保存されることになる。そして、診断結果保持部304は、内部バスを介してIOコントローラ205に割り込み信号を出力する。割り込み信号を受信したIOコントローラ205は、診断結果保持部304の内部レジスタにアクセスして診断結果を取得し、メインCPU201の異常が確知される。 Next, the timing chart when there is an abnormality in the boot sequence of the CPU 201 shown in FIG. 6A will be described. When the 2nd Power Good signal as the first trigger signal reaches the High level, the first timer 401 in the first abnormality detection unit 301 starts counting. Since the main CPU operation signal as the first check signal remains at the Low level when the predetermined time t_1 elapses (counts up) in the first timer 401, the first abnormality determination unit 402 sets the activation sequence of the main CPU 201. Judge that there is an abnormality. Then, the main CPU abnormality signal output to the diagnosis result holding unit 304 is changed to the High level. On the other hand, since there is no abnormality in the power supply sequence of the second power supply 106, the output of the second power supply abnormality signal maintains the Low level. The diagnosis result holding unit 304 receives that the main CPU abnormality signal is at the High level and the second power supply abnormality signal is at the Low level, and stores the diagnosis result indicating the contents in the internal register. That is, although there is no abnormality in the power supply sequence of the second power supply 106, a flag or the like indicating that there is an abnormality in the startup sequence of the main CPU 201 is saved. Then, the diagnosis result holding unit 304 outputs an interrupt signal to the IO controller 205 via the internal bus. Upon receiving the interrupt signal, the IO controller 205 accesses the internal register of the diagnosis result holding unit 304 to acquire the diagnosis result, and the abnormality of the main CPU 201 is confirmed.

次に、図6(b)に示す、第二電源106の電源供給シーケンスに異常があった場合のタイミングチャートを説明する。第二トリガ信号としての電源制御信号がHighレベルになると、第二異常検知部302内の第二タイマ403がカウントを開始する。第二タイマ403において所定時間t_2が経過(カウントアップ)した時点で第二チェック信号としての2nd Power Good信号がLowレベルのままであることから、第二異常判定部404は第二電源106から正常に電源供給が行われていないと判断する。そして、診断結果保持部304に出力する第二電源異常信号をHighレベルへと変化させる。なお、2nd Power Good信号がLowレベルのままであるため、第一異常検知部301内の第一タイマ401はカウントを開始しない(図6(b)では省略)。このように第二電源106の電源供給について異常が検知された場合、リブート処理を行って次に同じ異常を検出した際に、当該異常の発生が通知されることになる。すなわち、診断結果保持部304は、リブート後に同じ電源供給シーケンスの異常が検知されると、内部バスを介してIOコントローラ205に割り込み信号を出力する。割り込み信号を受信したIOコントローラ205は、診断結果保持部304の内部レジスタにアクセスして診断結果を取得し、第二電源106の電源供給シーケンスの異常が確知される。 Next, a timing chart when there is an abnormality in the power supply sequence of the second power supply 106 shown in FIG. 6B will be described. When the power supply control signal as the second trigger signal reaches the High level, the second timer 403 in the second abnormality detection unit 302 starts counting. Since the 2nd Power Good signal as the second check signal remains at the Low level when the predetermined time t_2 has elapsed (counted up) in the second timer 403, the second abnormality determination unit 404 is normal from the second power supply 106. It is judged that the power supply is not performed. Then, the second power supply abnormality signal output to the diagnosis result holding unit 304 is changed to the High level. Since the 2nd Power Good signal remains at the Low level, the first timer 401 in the first abnormality detection unit 301 does not start counting (omitted in FIG. 6B). When an abnormality is detected in the power supply of the second power supply 106 in this way, the occurrence of the abnormality is notified the next time the reboot process is performed and the same abnormality is detected. That is, when the diagnosis result holding unit 304 detects an abnormality in the same power supply sequence after rebooting, it outputs an interrupt signal to the IO controller 205 via the internal bus. Upon receiving the interrupt signal, the IO controller 205 accesses the internal register of the diagnosis result holding unit 304 to acquire the diagnosis result, and an abnormality in the power supply sequence of the second power supply 106 is confirmed.

このようにメインコントローラ101内の自己診断デバイス203では、2つの異常検知部によって、メインCPU201の起動シーケンスに異常がない、また、第二電源106の電源供給シーケンスに異常がないかの診断が行われる。 In this way, in the self-diagnosis device 203 in the main controller 101, the two abnormality detection units diagnose whether there is an abnormality in the startup sequence of the main CPU 201 and whether there is an abnormality in the power supply sequence of the second power supply 106. Will be.

(自己診断部)
続いて、サブCPU210内の自己診断部216について詳しく説明する。図3(b)は自己診断部216の内部構造を示すブロック図である。なお、本実施形態では、サブCPU210内の機能の1つとして自己診断部を設けているが、サブCPU210とは独立したデバイスとしてUIモジュール102内に設けてもよい。まず、図3(b)を参照して、自己診断部216における診断の概要について説明する。
(Self-diagnosis department)
Subsequently, the self-diagnosis unit 216 in the sub CPU 210 will be described in detail. FIG. 3B is a block diagram showing the internal structure of the self-diagnosis unit 216. In the present embodiment, the self-diagnosis unit is provided as one of the functions in the sub CPU 210, but it may be provided in the UI module 102 as a device independent of the sub CPU 210. First, the outline of the diagnosis in the self-diagnosis unit 216 will be described with reference to FIG. 3 (b).

自己診断部216は、前述の自己診断デバイス203と同様、異常検知部311、内部クロック生成部312、診断結果保持部313で構成される。本実施形態の自己診断部216は1つの異常検知部を持つが、2つ以上を持つ構成であってもよい。自己診断部216は、自己診断デバイス203と同様、異常検知部311に入力される2種類の監視信号に基づいて、UIモジュール102におけるUI表示に関連する異常の有無を診断する。 The self-diagnosis unit 216 is composed of an abnormality detection unit 311, an internal clock generation unit 312, and a diagnosis result holding unit 313, similarly to the self-diagnosis device 203 described above. The self-diagnosis unit 216 of the present embodiment has one abnormality detection unit, but may have two or more units. Similar to the self-diagnosis device 203, the self-diagnosis unit 216 diagnoses the presence or absence of an abnormality related to the UI display in the UI module 102 based on the two types of monitoring signals input to the abnormality detection unit 311.

<異常検知部の詳細>
図4(b)は、異常検知部311の詳細を示したブロック図である。異常検知部311はタイマ411と異常判定部412とからなる。異常検知部311は、トリガ信号としてLCD電源電圧検出部214からのLCD Power Good信号、チェック信号としてBacklight enable信号をそれぞれ使用して、LCD212によるUI用の画像表示の異常を検知する。なお、チェック信号としてのBacklight enable信号はあくまで一例であり、前述したPanel power enable信号やPWM信号であってもよい。さらには、UI表示にLCDではなく例えば有機ELを使用する場合には、その制御に必要な信号をチェック信号とすればよい。LCD Power Good信号はタイマ411に入力され、Backlight enable信号は異常判定部412に入力される。タイマ411は、内部クロック信号で動作し、入力されたLCD Power Good信号がHighレベルに変化したときに所定時間(例えば3sec)のカウントを開始する。そして、異常判定部412は、タイマ411による所定時間のカウント経過時点でBacklight enable信号がHighレベルでない場合、LCD212が正常動作していないことを示すLCD異常信号を診断結果保持部313に出力する。このようにして自己診断部214における異常検知部311は、LCD212による画像表示の異常の有無を検知する。
<Details of anomaly detection unit>
FIG. 4B is a block diagram showing details of the abnormality detection unit 311. The abnormality detection unit 311 includes a timer 411 and an abnormality determination unit 412. The abnormality detection unit 311 uses the LCD Power Good signal from the LCD power supply voltage detection unit 214 as the trigger signal and the Backlight enable signal as the check signal, respectively, and detects an abnormality in the image display for the UI by the LCD 212. The Backlight enable signal as the check signal is just an example, and may be the Panel power enable signal or the PWM signal described above. Further, when an organic EL is used for the UI display instead of the LCD, the signal required for the control may be a check signal. The LCD Power Good signal is input to the timer 411, and the Backlight enable signal is input to the abnormality determination unit 412. The timer 411 operates on the internal clock signal and starts counting for a predetermined time (for example, 3 sec) when the input LCD Power Good signal changes to the High level. Then, the abnormality determination unit 412 outputs an LCD abnormality signal indicating that the LCD 212 is not operating normally to the diagnosis result holding unit 313 when the Backlight enable signal is not at the High level at the time when the timer 411 counts for a predetermined time. In this way, the abnormality detection unit 311 in the self-diagnosis unit 214 detects the presence or absence of an abnormality in the image display by the LCD 212.

<異常検知のタイミング>
図7及び図8は、異常検知部311の検知動作を説明するタイミングチャートである。まず、図7に示す、LCD212の画像表示シーケンスに異常がない場合のタイミングチャートから説明する。
<Timing of abnormality detection>
7 and 8 are timing charts illustrating the detection operation of the abnormality detection unit 311. First, the timing chart when there is no abnormality in the image display sequence of the LCD 212 shown in FIG. 7 will be described.

MFP100の主電源スイッチ(不図示)がオンされると、第一電源105から電源供給が開始され、少し遅れて第二電源106からの電源供給が開始される。そして、電源制御デバイス204からの電源制御信号に従ってLCD電源213が電源供給を開始すると、LCD電源電圧検出部214は、HighレベルのLCD Power Good信号をサブCPU210へ出力する。このLCD Power Good信号は自己診断部216内の異常検知部311に入力され、これにより内部のタイマ411がカウントを開始する。そしてタイマ411において所定時間tが経過(カウントアップ)した時点でチェック信号としてのBacklight enable信号がHighレベルであると、異常判定部412はLCD212の画像表示シーケンスに異常がないと判断し、LCD異常信号をLowレベルのままとする。診断結果保持部313は、LCD異常信号がLowレベルであることを受けて、内部レジスタ(不図示)にLCD212に異常がないことを示すフラグ等を診断結果として保存する。診断結果保持部311の内部レジスタが、少なくとも異常検知部の数以上のbit数を有している点は、上述の診断結果保持部304と同じである。そして、診断結果保持部311は、前述のUARTを介してIOコントローラ205に割り込み信号を出力する。割り込み信号を受信したIOコントローラ205は、診断結果保持部311の内部レジスタにアクセスして診断結果を取得し、LDC212の画像表示シーケンスに異常がないことが確知される。 When the main power switch (not shown) of the MFP 100 is turned on, the power supply from the first power supply 105 is started, and the power supply from the second power supply 106 is started with a slight delay. Then, when the LCD power supply 213 starts supplying power according to the power supply control signal from the power supply control device 204, the LCD power supply voltage detection unit 214 outputs a high level LCD Power Good signal to the sub CPU 210. This LCD Power Good signal is input to the abnormality detection unit 311 in the self-diagnosis unit 216, whereby the internal timer 411 starts counting. If the Backlight enable signal as a check signal is at the High level when the predetermined time t elapses (counts up) in the timer 411, the abnormality determination unit 412 determines that there is no abnormality in the image display sequence of the LCD 212, and the LCD abnormality. Leave the signal at Low level. In response to the fact that the LCD abnormality signal is at the Low level, the diagnosis result holding unit 313 stores a flag or the like indicating that there is no abnormality in the LCD 212 in the internal register (not shown) as the diagnosis result. It is the same as the above-mentioned diagnosis result holding unit 304 in that the internal register of the diagnosis result holding unit 311 has at least the number of bits equal to or more than the number of abnormality detecting units. Then, the diagnosis result holding unit 311 outputs an interrupt signal to the IO controller 205 via the above-mentioned UART. Upon receiving the interrupt signal, the IO controller 205 accesses the internal register of the diagnosis result holding unit 311 to acquire the diagnosis result, and it is confirmed that there is no abnormality in the image display sequence of the LDC 212.

続いて、図8に示す、LCD212の画像表示シーケンスに異常があった場合のタイミングチャートを説明する。トリガ信号としてのLCD Power Good信号がHighレベルになると、異常検知部311内のタイマ411がカウントを開始する。タイマ411において所定時間tが経過(カウントアップ)した時点でチェック信号としてのBacklight enable信号がLowレベルのままであることから、異常判定部412はLCD212の画像表示シーケンスに異常があると判断する。その結果、LCD異常信号はHighレベルへと変化する。これを受けて診断結果保持部313は、LCD212による画像表示に異常があることを示すフラグ等の診断結果を内部レジスタに保存する。そして、診断結果保持部313は、UARTを介してIOコントローラ205に割り込み信号を出力する。割り込み信号を受信したIOコントローラ205は、診断結果保持部313の内部レジスタにアクセスして診断結果を取得し、LCD212の画像表示シーケンスに異常があることが確知される。 Subsequently, a timing chart when there is an abnormality in the image display sequence of the LCD 212 shown in FIG. 8 will be described. When the LCD Power Good signal as the trigger signal reaches the High level, the timer 411 in the abnormality detection unit 311 starts counting. Since the Backlight enable signal as the check signal remains at the Low level when the predetermined time t elapses (counts up) in the timer 411, the abnormality determination unit 412 determines that the image display sequence of the LCD 212 has an abnormality. As a result, the LCD anomaly signal changes to the High level. In response to this, the diagnosis result holding unit 313 stores the diagnosis result such as a flag indicating that there is an abnormality in the image display by the LCD 212 in the internal register. Then, the diagnosis result holding unit 313 outputs an interrupt signal to the IO controller 205 via the UART. Upon receiving the interrupt signal, the IO controller 205 accesses the internal register of the diagnosis result holding unit 313 to acquire the diagnosis result, and it is confirmed that the image display sequence of the LCD 212 has an abnormality.

(異常検知の制御フロー)
次に、MFP100の起動時における異常検知制御について説明する。図9(a)~(c)は異常検知制御の流れを示すフローチャートであり、それぞれ実行主体が異なる。図9(a)のフローの実行主体は自己診断デバイス203、同(b)のフローの実行主体は自己診断部216、同(c)のフローの実行主体はメインCPU201である。なお、これらフローで示す処理の一部又は全部を、ソフトウェアによって実現してもよい。なお、各制御フローの説明における記号「S」はステップを表す。
(Control flow for abnormality detection)
Next, the abnormality detection control at the time of starting the MFP 100 will be described. 9 (a) to 9 (c) are flowcharts showing the flow of abnormality detection control, and the execution subject is different from each other. The execution subject of the flow of FIG. 9A is the self-diagnosis device 203, the execution subject of the flow of FIG. 9B is the self-diagnosis unit 216, and the execution subject of the flow of FIG. 9C is the main CPU 201. Note that some or all of the processes shown in these flows may be realized by software. The symbol "S" in the description of each control flow represents a step.

<自己診断デバイスの異常検知制御>
まず、自己診断デバイス203における異常検知制御について、図9(a)のフローを参照して説明する。本実施形態の場合、メインCPU201の起動シーケンスや第二電源106の電源供給シーケンスに異常がないかどうかの自己診断が先ずなされる(S901)。この自己診断の結果に応じて次に行うステップが異なる(S902)。メインCPU201の起動シーケンス或いは第二電源106の電源供給シーケンスに異常が見つかった場合には、そのことを特定可能な所定の点灯態様にてLED215を点灯させる(S903)。ここで、所定の点灯態様は、自己診断デバイス203での自己診断結果による異常検知なのか、後述する自己診断部216での自己診断結果による異常検知なのかを少なくとも区別できればよい。例えば、LEDの数が1個の場合は単位時間あたりの点滅回数を、自己診断デバイス203による異常検知の場合と、自己診断部216による異常検知の場合とで異ならせるといった具合である。また、LEDの数が複数の場合は、異常を検知したのが自己診断デバイス203なのか自己診断部216なのかに応じて異なるLEDを点灯させるようにしてもよい。一方、自己診断の結果、メインCPU201の起動シーケンスや第二電源106の電源供給シーケンスに異常がない場合には、少なくともメインCPU201は正常に起動しているものと判断され、異常検知制御は終了となる。
<Abnormality detection control of self-diagnosis device>
First, the abnormality detection control in the self-diagnosis device 203 will be described with reference to the flow of FIG. 9A. In the case of the present embodiment, self-diagnosis is first performed to see if there is any abnormality in the startup sequence of the main CPU 201 or the power supply sequence of the second power supply 106 (S901). The next step is different depending on the result of this self-diagnosis (S902). When an abnormality is found in the boot sequence of the main CPU 201 or the power supply sequence of the second power supply 106, the LED 215 is turned on in a predetermined lighting mode capable of identifying the abnormality (S903). Here, it is sufficient that the predetermined lighting mode can at least distinguish between the abnormality detection based on the self-diagnosis result of the self-diagnosis device 203 and the abnormality detection based on the self-diagnosis result of the self-diagnosis unit 216 described later. For example, when the number of LEDs is one, the number of blinks per unit time is different between the case of abnormality detection by the self-diagnosis device 203 and the case of abnormality detection by the self-diagnosis unit 216. Further, when the number of LEDs is plurality, different LEDs may be turned on depending on whether the abnormality is detected by the self-diagnosis device 203 or the self-diagnosis unit 216. On the other hand, as a result of the self-diagnosis, if there is no abnormality in the startup sequence of the main CPU 201 or the power supply sequence of the second power supply 106, it is determined that at least the main CPU 201 has started normally, and the abnormality detection control is terminated. Become.

<自己診断部の異常検知制御>
続いて、自己診断部216における異常検知制御について、図9(b)のフローを参照して説明する。まず、LCD212の画像表示シーケンスに異常がないかの自己診断がなされる(S911)。この自己診断の結果に応じて次に行うステップが異なる(S912)。LCD212の画像表示シーケンスに異常が検知された場合には、その旨がCPU間通信によってメインCPU201に通知される(S913)。一方、LCD212の画像表示シーケンスに異常が検知されない場合には、LCD212におけるUI表示には異常がないと判断され、異常検知制御は終了となる。
<Abnormality detection control of self-diagnosis unit>
Subsequently, the abnormality detection control in the self-diagnosis unit 216 will be described with reference to the flow of FIG. 9B. First, a self-diagnosis is made to see if there is any abnormality in the image display sequence of the LCD 212 (S911). The next step is different depending on the result of this self-diagnosis (S912). When an abnormality is detected in the image display sequence of the LCD 212, the main CPU 201 is notified to that effect by inter-CPU communication (S913). On the other hand, if no abnormality is detected in the image display sequence of the LCD 212, it is determined that there is no abnormality in the UI display on the LCD 212, and the abnormality detection control is terminated.

<メインCPUの異常検知制御>
次に、メインCPU201における異常検知制御について、図9(c)のフローを参照して説明する。本フローに係る異常検知制御は、前述の図9(a)のフローで示す異常検知制御において異常が検知されなかった場合になされる。つまり、第二電源106からの電源供給が正常に行われ、メインCPU201が正常起動できていることが、この異常検知制御が行われる条件となる。
<Main CPU abnormality detection control>
Next, the abnormality detection control in the main CPU 201 will be described with reference to the flow of FIG. 9 (c). The abnormality detection control according to this flow is performed when an abnormality is not detected in the abnormality detection control shown in the flow of FIG. 9A described above. That is, the condition that the abnormality detection control is performed is that the power supply from the second power supply 106 is normally performed and the main CPU 201 is normally started.

メインCPU201が正常に動作している場合、まず、UIモジュール102のサブCPU210とCPU間通信を行い、自己診断部216による診断結果を取得する(S921)。そして、取得した診断結果に応じて次に行うステップが異なることになる(S922)。LCD212の画像表示シーケンスに異常がなければ、この異常検知制御は終了となる。一方、異常が検知されている場合には、UIモジュール102側における異常であることを特定可能な所定の点灯態様にて、LED215を点灯させる(S923)。所定の点灯態様については既に説明したとおりである。そして、メインCPU201を除いた、UIモジュール102を含む他のモジュール等に関して異常が検知され場合は、当該検知された異常に関する情報を、LAN120を介してサーバ110に送信する(S924)。ここで、異常に関する情報には、少なくとも異常内容と異常箇所の情報が含まれ、さらには、サービスマンによる対処の要否を示す情報などが含まれてもよい。サーバ110では、このエラー情報を用いた例えば図10に示すような画面を、モニタ等(不図示)に表示する。図10の画面例において、1001は現在発生している不具合状況を示す表示欄である。「E0123」はエラーコードで異常内容を表し、「4567」はモジュール(部位)コードで異常箇所を表し、「1」はサービスコールの必要性(例えば、1:有り、0:無し)を表している。また、1002は過去に発生した不具合の履歴を示す表示欄である。ユーザは、LED215の表示態様やサーバ110によるエラー表示画面によって、MFP100のどこで異常が発生したのかを把握することができる。そして、例えばサービスマンに故障の連絡をする際に異常箇所を伝えることで、サービスマンは故障に関わるパーツを特定して出動することが可能となる。なお、LAN120が外部ネットワークに接続されている場合には、サービスマンに外部ネットワーク経由で直接通知されるようにしてもよい。 When the main CPU 201 is operating normally, first, the sub CPU 210 of the UI module 102 and the CPUs communicate with each other, and the diagnosis result by the self-diagnosis unit 216 is acquired (S921). Then, the next step to be performed differs depending on the acquired diagnosis result (S922). If there is no abnormality in the image display sequence of the LCD 212, this abnormality detection control ends. On the other hand, when an abnormality is detected, the LED 215 is turned on in a predetermined lighting mode capable of identifying the abnormality on the UI module 102 side (S923). The predetermined lighting mode is as described above. Then, when an abnormality is detected in the other modules including the UI module 102 excluding the main CPU 201, the information regarding the detected abnormality is transmitted to the server 110 via the LAN 120 (S924). Here, the information regarding the abnormality includes at least information on the content of the abnormality and the location of the abnormality, and may further include information indicating whether or not a serviceman needs to take action. The server 110 displays a screen using this error information, for example, as shown in FIG. 10, on a monitor or the like (not shown). In the screen example of FIG. 10, 1001 is a display column indicating a defect status currently occurring. "E0123" indicates the error content with an error code, "4567" indicates an abnormal part with a module (part) code, and "1" indicates the necessity of a service call (for example, 1: yes, 0: no). There is. Further, 1002 is a display column showing a history of defects that have occurred in the past. The user can grasp where in the MFP 100 the abnormality has occurred from the display mode of the LED 215 and the error display screen by the server 110. Then, for example, by notifying the serviceman of the abnormal part when informing the serviceman of the failure, the serviceman can identify and dispatch the parts related to the failure. If the LAN 120 is connected to an external network, the service person may be notified directly via the external network.

以上のとおり本発明によれば、ユーザは、LEDに代表される発光素子の表示態様やサーバに表示された画面情報によって、例え電子機器のUI画面が真っ暗であっても異常箇所を把握することができる。また、電子機器が備えるUIモジュール自体に異常の自己診断機能を持たせCPU間通信を利用してメインコントローラに通知するように構成することでメインコントローラ側でのI/Oポートの拡張が不要となり、コストアップを抑えることができる。 As described above, according to the present invention, the user can grasp the abnormal part by the display mode of the light emitting element represented by the LED and the screen information displayed on the server even if the UI screen of the electronic device is pitch black. Can be done. In addition, the UI module itself of the electronic device has an abnormal self-diagnosis function and is configured to notify the main controller using inter-CPU communication, eliminating the need to expand the I / O port on the main controller side. , The cost increase can be suppressed.

Claims (13)

ディスプレイと前記ディスプレイに信号を供給するデバイスとが電気的に接続された電子機器であって、
前記ディスプレイに表示する画像と、前記ディスプレイを制御するための制御信号を前記ディスプレイに出力する画像処理手段と、
前記制御信号が正常か否かを判定する判定手段と、
前記判定の結果に基づいて通知する通知手段と、
を備え
前記判定手段は、前記ディスプレイへの電源供給が正常であることを示す信号が入力されてから所定の期間が経過するまでに、前記制御信号が変化しない場合に、前記ディスプレイの異常として判定する、
ことを特徴とする電子機器。
An electronic device in which a display and a device that supplies a signal to the display are electrically connected.
An image to be displayed on the display, an image processing means for outputting a control signal for controlling the display to the display, and an image processing means for outputting the control signal to the display.
A determination means for determining whether or not the control signal is normal, and
Notification means for notifying based on the result of the determination,
Equipped with
The determination means determines that the display is abnormal when the control signal does not change until a predetermined period elapses after the signal indicating that the power supply to the display is normal is input.
An electronic device characterized by that.
前記制御信号は、前記ディスプレイの電源をオンするための第1信号を含むことを特とする請求項1に記載の電子機器。 The electronic device according to claim 1, wherein the control signal includes a first signal for turning on the power of the display. 前記制御信号は、前記ディスプレイのバックライトをオンするための第2信号を含むことを特徴とする請求項1または2に記載の電子機器。 The electronic device according to claim 1 or 2, wherein the control signal includes a second signal for turning on the backlight of the display. 前記制御信号は、前記バックライトのPWM周波数を制御する第3信号を含むことを特徴とする請求項3に記載の電子機器。 The electronic device according to claim 3, wherein the control signal includes a third signal for controlling the PWM frequency of the backlight. CPUを有し、
前記判定手段は、前記CPUであることを特徴とする請求項1乃至4のいずれか1項に記載の電子機器。
Has a CPU
The electronic device according to any one of claims 1 to 4, wherein the determination means is the CPU.
前記CPUは、前記ディスプレイと同一のモジュールに含まれることを特徴とする請求項5に記載の電子機器。 The electronic device according to claim 5, wherein the CPU is included in the same module as the display. 前記判定手段は、
前記所定の期間をカウントするタイマを有し、
前記タイマは、前記画像処理手段内で使用されるクロック信号とは異なるクロック信号で動作する
ことを特徴とする請求項に記載の電子機器。
The determination means is
It has a timer that counts the predetermined period, and has
The electronic device according to claim 1 , wherein the timer operates with a clock signal different from the clock signal used in the image processing means.
前記電子機器は、通常電力モードと、当該通常電力モードよりも消費電力の低い省電力モードの少なくとも2つの動作モードを有し、
前記判定手段は、前記電子機器の起動時に前記判定を行い、
前記起動時には、前記電子機器の主電源スイッチがオンになった時、及び前記省電力モードから復帰して前記通常電力モードに移行する時の両方を含む
ことを特徴とする請求項1乃至のいずれか1項に記載の電子機器。
The electronic device has at least two operation modes, a normal power mode and a power saving mode having lower power consumption than the normal power mode.
The determination means makes the determination when the electronic device is started, and the determination means makes the determination.
The first to seventh aspects of the present invention include both when the main power switch of the electronic device is turned on and when the electronic device returns from the power saving mode and shifts to the normal power mode. The electronic device according to any one of the items.
前記ディスプレイの電源は、前記省電力モードでは供給されない電源であることを特徴とする請求項に記載の電子機器。 The electronic device according to claim 8 , wherein the power source of the display is a power source that is not supplied in the power saving mode. 前記デバイスは、受け付けた画像データを前記ディスプレイに表示可能な画像データに変換するデバイスであることを特徴とする請求項1乃至のいずれか1項に記載の電子機器。 The electronic device according to any one of claims 1 to 9 , wherein the device is a device that converts received image data into image data that can be displayed on the display. 前記ディスプレイへの電源供給が正常であることを示す信号は、前記ディスプレイ用の電源が電源供給を開始すると前記判定手段に入力される、ことを特徴とする請求項1に記載の電子機器。The electronic device according to claim 1, wherein the signal indicating that the power supply to the display is normal is input to the determination means when the power supply for the display starts the power supply. 前記所定の期間は、前記ディスプレイへの電源供給が正常であることを示す信号が前記判定手段に入力されると、そのカウントが開始される、ことを特徴とする請求項1に記載の電子機器。The electronic device according to claim 1, wherein the counting is started when a signal indicating that the power supply to the display is normal is input to the determination means during the predetermined period. .. ディスプレイと前記ディスプレイに信号を供給するデバイスとが電気的に接続された電子機器の制御方法であって、
前記ディスプレイに表示する画像と、前記ディスプレイを制御するための制御信号を前記ディスプレイに出力するステップと、
前記制御信号が正常か否かを判定するステップと、
前記判定の結果に基づいて通知するステップと、
を含み、
前記判定するステップでは、前記ディスプレイへの電源供給が正常であることを示す信号が入力されてから所定の期間が経過するまでに、前記制御信号が変化しない場合に、前記ディスプレイの異常として判定する、
ことを特徴とする制御方法。
A method of controlling an electronic device in which a display and a device that supplies a signal to the display are electrically connected.
An image to be displayed on the display, a step of outputting a control signal for controlling the display to the display, and a step of outputting the control signal to the display.
The step of determining whether or not the control signal is normal, and
The step of notifying based on the result of the determination and
Including
In the determination step, if the control signal does not change until a predetermined period elapses after the signal indicating that the power supply to the display is normal is input, it is determined as an abnormality of the display. ,
A control method characterized by that.
JP2020172636A 2020-10-13 2020-10-13 Anomaly detection method for electronic devices and their startup Active JP7098695B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020172636A JP7098695B2 (en) 2020-10-13 2020-10-13 Anomaly detection method for electronic devices and their startup

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020172636A JP7098695B2 (en) 2020-10-13 2020-10-13 Anomaly detection method for electronic devices and their startup

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2018060276A Division JP6779934B2 (en) 2018-03-27 2018-03-27 Anomaly detection method for electronic devices and their startup

Publications (3)

Publication Number Publication Date
JP2021009726A JP2021009726A (en) 2021-01-28
JP2021009726A5 JP2021009726A5 (en) 2021-05-13
JP7098695B2 true JP7098695B2 (en) 2022-07-11

Family

ID=74199244

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020172636A Active JP7098695B2 (en) 2020-10-13 2020-10-13 Anomaly detection method for electronic devices and their startup

Country Status (1)

Country Link
JP (1) JP7098695B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005211450A (en) 2004-01-30 2005-08-11 Samii Kk Game machine
JP2016218553A (en) 2015-05-15 2016-12-22 キヤノン株式会社 Information processor, method for controlling the same, and program
JP2016221873A (en) 2015-06-01 2016-12-28 キヤノン株式会社 Information processor and information processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005211450A (en) 2004-01-30 2005-08-11 Samii Kk Game machine
JP2016218553A (en) 2015-05-15 2016-12-22 キヤノン株式会社 Information processor, method for controlling the same, and program
JP2016221873A (en) 2015-06-01 2016-12-28 キヤノン株式会社 Information processor and information processing method

Also Published As

Publication number Publication date
JP2021009726A (en) 2021-01-28

Similar Documents

Publication Publication Date Title
JP6779934B2 (en) Anomaly detection method for electronic devices and their startup
US20160337530A1 (en) Information processing apparatus that controls display at time of occurrence of abnormality, method of controlling the same, and storage medium
JP6415210B2 (en) Information processing apparatus and failure detection method for information processing apparatus
US8938632B2 (en) Setting power saving modes based on ambient light and user set time periods
US20190289154A1 (en) Information processing apparatus and information processing method
CN111077763A (en) Vehicle-mounted display device redundancy control method and device
US11381687B2 (en) Information processing apparatus and control method therefor
JP7418097B2 (en) Information processing device and its control method
JP7327966B2 (en) Information processing device and its control method
US10158771B2 (en) Information processing apparatus that transfers diagnosis information on a unit to another unit through a communication line for CPU to CPU communication, method of controlling an information processing apparatus, and storage medium
JP7098695B2 (en) Anomaly detection method for electronic devices and their startup
JP6597417B2 (en) Electronic device, recovery method and program
JP2015026251A (en) Information processing device, control method for information processing device, and program
CN107066072B (en) Electronic device and control method thereof
US20180137007A1 (en) Reboot system, information processing apparatus, and method for rebooting
JP2011008568A (en) Electronic equipment, method for controlling power source and control program
JP5939878B2 (en) Display control apparatus and display control method
JP2009111552A (en) Multifunction machine system
US11381691B2 (en) Electronic apparatus, method for controlling electronic apparatus, and non-transitory recording medium
US20210014376A1 (en) Information processing apparatus
US20200145554A1 (en) Information processing apparatus, method for processing information and recording medium
TWI250441B (en) Hot plug circuit and method of enclosure management system
JP2023177238A (en) Information processing apparatus, image forming apparatus, information processing method, and program
JPH0884211A (en) Facsimile equipment
JP2016143234A (en) Information processing device, information processing method, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210329

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210329

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220322

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220520

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220629

R151 Written notification of patent or utility model registration

Ref document number: 7098695

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151