JP5781979B2 - Image forming apparatus having real-time clock error detection device - Google Patents

Image forming apparatus having real-time clock error detection device Download PDF

Info

Publication number
JP5781979B2
JP5781979B2 JP2012121065A JP2012121065A JP5781979B2 JP 5781979 B2 JP5781979 B2 JP 5781979B2 JP 2012121065 A JP2012121065 A JP 2012121065A JP 2012121065 A JP2012121065 A JP 2012121065A JP 5781979 B2 JP5781979 B2 JP 5781979B2
Authority
JP
Japan
Prior art keywords
error
day
week
date
image forming
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
JP2012121065A
Other languages
Japanese (ja)
Other versions
JP2013246714A (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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions 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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2012121065A priority Critical patent/JP5781979B2/en
Publication of JP2013246714A publication Critical patent/JP2013246714A/en
Application granted granted Critical
Publication of JP5781979B2 publication Critical patent/JP5781979B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electric Clocks (AREA)

Description

本発明は、画像形成装置に対して時刻等の設定を可能とするためのリアルタイムクロックのエラー検出装置を備えた画像形成装置に関する。 The present invention relates to an image forming apparatus including a real-time clock error detecting device for enabling setting of time and the like for the image forming apparatus .

プリンター等の電子機器である画像形成装置には、リアルタイムクロック(RTC)が備えられて、主電源を落としても現在時刻を刻み続けることができるものがある(例えば特許文献1参照)。 Some image forming apparatuses , which are electronic devices such as printers, have a real-time clock (RTC) and can keep the current time even when the main power is turned off (see, for example, Patent Document 1).

RTCは、専用の電池(電源)によって駆動され、年、月、日、曜日、時、分、秒等の現在時刻の情報(クロック情報)をレジスタに読み出し可能に保持する。これにより、電子機器では、例えば起動処理時にRTCから現在時刻を取得して、時刻設定を行わせることができる。   The RTC is driven by a dedicated battery (power source), and holds information on the current time (clock information) such as year, month, day, day of the week, hour, minute, second and the like in a readable manner. Thereby, in the electronic device, for example, the current time can be acquired from the RTC during the startup process, and the time can be set.

このようなRTCにおいては、例えば電池切れ等の障害発生時に、クロック情報がリセットされて初期値に戻るようになっている。RTCは、そのようなエラー状態を検出して通知する手段を備えているが、エラー状態の検出情報は、一度しか読み出せない仕様になっているものもある。   In such an RTC, for example, when a failure such as battery exhaustion occurs, the clock information is reset to return to the initial value. The RTC is provided with means for detecting and notifying such an error state, but some error state detection information can be read only once.

この場合、RTCのエラー状態を、その検出に基づいて通知できないことがある。例えば、プリンターでは、起動処理の途中でRTCのエラー状態が検出されても、表示を行うパネルが起動していなければユーザーへの通知を行うことはできない。   In this case, the RTC error state may not be notified based on the detection. For example, in the printer, even if an RTC error state is detected during the start-up process, the user cannot be notified if the display panel is not started.

このため、従来は、エラー状態の検出情報を不揮発メモリに退避しておき、定期的に不揮発メモリの内容をチェックしていた。これにより、過去に発生したRTCのエラーを検出し、それをパネル上のエラー画面等としてユーザへ確実に通知を行うことができる。   For this reason, conventionally, error state detection information is saved in a nonvolatile memory, and the contents of the nonvolatile memory are periodically checked. As a result, it is possible to detect an RTC error that has occurred in the past and reliably notify the user as an error screen or the like on the panel.

しかし、このような従来の技術では、不揮発メモリ等の別途ハードウェアが必要となるという問題があった。   However, such a conventional technique has a problem that additional hardware such as a nonvolatile memory is required.

特開2009−232019号公報JP 2009-232019 A

本発明が解決しようとする問題点は、リアルタイムクロックのエラーを確実に通知するために別途ハードウェアが必要な点である。   The problem to be solved by the present invention is that a separate hardware is required to reliably notify an error of the real time clock.

本発明は、別途ハードウェアを不要としながらリアルタイムクロックのエラーを確実に通知可能とするため、画像形成装置に対して時刻と共に年月日及び曜日を設定可能とするクロック情報を保持するリアルタイムクロックと、前記リアルタイムクロックのエラーを検出するエラー検出装置と、表示部とを備えた画像形成装置であって、前記エラー検出装置は、前記リアルタイムクロックに電力を供給する電源の異常を検出してエラーを事前に検出し、前記表示部にエラー表示を行わせる事前エラー検出部と、前記エラーが検出されたときに前記クロック情報を不確定な年「00年」を有する初期値「00年01月01日(日曜日)00時00分00秒」にすることにより初期化し、前記不確定な年「00年」のみを、所定の年とすることにより、初期化による年月日及びこの年月日に対して現実の年月日とは異なる曜日を設定する初期化部と、前記初期化後の年月日に対する曜日と前記現実の年月日に対する曜日とのずれにより前記リアルタイムクロックのエラーを事後的に検出し、前記表示部に再度エラー表示を行わせる事後エラー検出部とを備えたことを最も主な特徴とする。
According to the present invention, a real-time clock that holds clock information that can set a date, a date, and a day of the week together with the time is provided to enable reliable notification of a real-time clock error without requiring separate hardware. An image forming apparatus comprising an error detection device for detecting an error in the real-time clock and a display unit, wherein the error detection device detects an error by detecting an abnormality in a power supply that supplies power to the real-time clock. A pre-error detection unit that detects in advance and displays an error on the display unit; and an initial value “01/00/01” having an uncertain year “00” when the clock information is detected. “Day (Sunday) 00:00:00”, and only the indefinite year “00” is set as a predetermined year. The initialization unit for setting the date and time by initialization and the day of the week different from the actual date for this date, the day of the week for the date after the initialization and the actual date The main feature is that a real-time clock error is detected afterward according to a deviation from the day of the week, and a post-error detection unit is provided to display the error again on the display unit.

本発明によれば、リアルタイムクロックからのクロック情報の読み出し時に曜日が正確か否かを判定するだけで、リアルタイムクロックのエラーを事後的に判定できるようになる。従って、不揮発メモリ等の追加ハードウェアを不要としながら、リアルタイムクロックのエラー検出及びその通知を確実に行わせることが可能となる。   According to the present invention, it is possible to determine an error of a real-time clock afterwards only by determining whether or not the day of the week is accurate when reading clock information from the real-time clock. Therefore, it is possible to reliably detect and notify the error of the real-time clock while eliminating the need for additional hardware such as a nonvolatile memory.

画像形成装置の概略構成を示すブロック図である(実施例1)。1 is a block diagram illustrating a schematic configuration of an image forming apparatus (first embodiment). FIG. 図1の要部を示す機能ブロック図である(実施例1)。FIG. 2 is a functional block diagram illustrating a main part of FIG. 1 (Example 1). リアルタイムクロックのエラー通知処理を示すフローチャートである(実施例1)。7 is a flowchart illustrating real-time clock error notification processing (first embodiment). リアルタイムクロックのエラー通知処理を示すフローチャートである(実施例1)。7 is a flowchart illustrating real-time clock error notification processing (first embodiment).

別途ハードウェアを不要としながらリアルタイムクロックのエラーを確実に通知可能とするという目的を、初期化された年月日に対する曜日と現実の年月日に対する曜日とのずれにより、リアルタイムクロックのエラーを事後的に検出することで実現した。   The purpose of enabling real-time clock errors to be reported reliably without the need for separate hardware is used to detect real-time clock errors by the difference between the day of the week for the initialized date and the day of the week for the actual date. It was realized by detecting automatically.

実施形態としては、情報処理装置やプリンター等のリアルタイムクロックを備えた各種の電子機器である画像形成装置に適用することが可能である。
The embodiments can be applied to image forming apparatuses that are various electronic devices including a real-time clock such as an information processing apparatus and a printer.

以下、本発明の実施例について図面を参照して説明する。   Embodiments of the present invention will be described below with reference to the drawings.

[画像形成装置の構成]
図1は本発明の実施例1に係る画像形成装置の概略構成を示すブロック図、図2は図1の要部を示す機能ブロック図である。
[Configuration of Image Forming Apparatus]
FIG. 1 is a block diagram showing a schematic configuration of an image forming apparatus according to Embodiment 1 of the present invention, and FIG. 2 is a functional block diagram showing a main part of FIG.

図1のように、本実施例の電子機器である画像形成装置1は、例えばデジタル複合機からなり、コピー、印刷出力、及びファクシミリ通信等の各種機能を有している。この画像形成装置1は、各種機能のためのスキャナー3、ネットワーク通信部5、ファクシミリ通信部7、操作部9、表示部11、プリンターエンジン13等を備え、これらが制御部としてのコントローラー15により制御される。   As shown in FIG. 1, an image forming apparatus 1 that is an electronic apparatus according to the present embodiment includes, for example, a digital multi-function peripheral, and has various functions such as copying, printing output, and facsimile communication. The image forming apparatus 1 includes a scanner 3 for various functions, a network communication unit 5, a facsimile communication unit 7, an operation unit 9, a display unit 11, a printer engine 13, and the like, which are controlled by a controller 15 as a control unit. Is done.

スキャナー3は、原稿画像を読み取り、読み取られた画像に対応する画像データを生成する。   The scanner 3 reads a document image and generates image data corresponding to the read image.

ネットワーク通信部5は、LAN等のネットワークを介して、情報処理装置等のクライアント端末に対する画像データの送受信を行う。   The network communication unit 5 transmits / receives image data to / from a client terminal such as an information processing apparatus via a network such as a LAN.

ファクシミリ通信部7は、電気通信回線を介して、ファクシミリ装置や他の画像形成装置に対する画像データの送受信を行う。   The facsimile communication unit 7 transmits / receives image data to / from the facsimile apparatus and other image forming apparatuses via an electric communication line.

プリンターエンジン13は、スキャナー3で読み取られた画像データ或いはネットワーク通信部5又はファクシミリ通信部7を介して受信した画像データに基づいて用紙上に画像を形成する。   The printer engine 13 forms an image on a sheet based on image data read by the scanner 3 or image data received via the network communication unit 5 or the facsimile communication unit 7.

操作部9は、タッチパネルユニット及び操作キーユニットを有し、画像形成装置1の各種機能等の設定・選択操作の入力を行う。   The operation unit 9 includes a touch panel unit and an operation key unit, and inputs setting / selection operations for various functions of the image forming apparatus 1.

表示部11は、操作部9と共通のタッチパネルユニットからなり、各種機能等の設定・選択操作の内容を表示する。   The display unit 11 includes a touch panel unit common to the operation unit 9 and displays the contents of setting / selecting operations such as various functions.

コントローラー15は、情報処理機能を有する制御部であり、CPU(Central Processing Unit)17、ROM(Read Only Memory)19及びRAM(Random Access Memory)21に加え、リアルタイムクロック(RTC)23及びその電源である電池25を備える。   The controller 15 is a control unit having an information processing function. In addition to a CPU (Central Processing Unit) 17, a ROM (Read Only Memory) 19, and a RAM (Random Access Memory) 21, a real time clock (RTC) 23 and its power source are used. A battery 25 is provided.

CPU17は、プログラムの実行により、所定の処理を実行する演算処理装置である。ROM19は、プログラム等を記憶する不揮発性のメモリである。RAM21は、プログラムを実行する際に、そのプログラムや各種データを一時的に記憶する作業領域としてのメモリである。   The CPU 17 is an arithmetic processing unit that executes predetermined processing by executing a program. The ROM 19 is a non-volatile memory that stores programs and the like. The RAM 21 is a memory as a work area for temporarily storing the program and various data when executing the program.

RTC23は、専用の電池25からの電力供給により駆動され、画像形成装置1の主電源を落としても現在時刻を刻み続けることが可能なモジュールである。このRTC23は、年、月、日、曜日、時、分、秒等の現在時刻の情報(クロック情報)をレジスタに読み出し可能に保持する。従って、RTC23は、画像形成装置1に対し、クロック情報に基づいて時刻と共に年月日及び曜日の現在時刻を設定可能とする。現在時刻の設定としては、CPU17がRTC23のクロック情報を読み取ってタイマーに反映させる。   The RTC 23 is a module that is driven by power supply from the dedicated battery 25 and can keep the current time even when the main power of the image forming apparatus 1 is turned off. The RTC 23 holds information on the current time (clock information) such as year, month, day, day of the week, hour, minute, second and the like in a readable manner. Therefore, the RTC 23 enables the image forming apparatus 1 to set the current time of year / month / day and day of the week together with the time based on the clock information. For setting the current time, the CPU 17 reads the clock information of the RTC 23 and reflects it in the timer.

このRTC23は、電池25の不良やそれによるRTC23の初期化等のエラーがあると、正確な現在時刻を刻むことができないので、そのエラーが検出されるようになっている。   The RTC 23 cannot detect the exact current time if there is an error such as a failure of the battery 25 or the initialization of the RTC 23, so that the error is detected.

本実施例のエラーの検出は、コントローラー15のCPU17がROM19内のエラー検出プログラムを実行することで行われる。具体的には、図2のように、CPU17がエラー検出プログラムの実行でエラー検出装置として機能し、その機能構成として事前エラー検出部である電源異常検出部27、初期化部である日時情報初期化部29、日時情報設定部31、及び事後エラー検出部である曜日演算部33を備える。   The error detection in this embodiment is performed by the CPU 17 of the controller 15 executing an error detection program in the ROM 19. Specifically, as shown in FIG. 2, the CPU 17 functions as an error detection device by executing an error detection program, and as its functional configuration, a power supply abnormality detection unit 27 that is a prior error detection unit, and date and time information initialization that is an initialization unit. The data conversion unit 29, the date / time information setting unit 31, and the day-of-week calculating unit 33, which is a post-error detection unit.

電源異常検出部27は、RTC23のエラーを事前に検出する事前エラー検出手順を実現するものである。具体的には、画像形成装置1の起動処理時にRTC23のエラーとして電池25の異常を検出する。電池25の異常は、例えば電圧が所定の閾値以下になった場合に検出することができる。   The power supply abnormality detection unit 27 implements a prior error detection procedure for detecting an error of the RTC 23 in advance. Specifically, an abnormality of the battery 25 is detected as an error of the RTC 23 during the startup process of the image forming apparatus 1. The abnormality of the battery 25 can be detected, for example, when the voltage becomes a predetermined threshold value or less.

本実施例の電源異常検出部27は、電池25の異常を検出すると、画像形成装置1の表示部11にエラー表示を行わせると共に日時情報初期化部29に検出結果を渡す。   When the abnormality of the battery 25 is detected, the power supply abnormality detection unit 27 of the present embodiment causes the display unit 11 of the image forming apparatus 1 to display an error and passes the detection result to the date / time information initialization unit 29.

日時情報初期化部29は、RTC23のエラーが検出されたときにクロック情報を初期化し、初期化による年月日及びこの年月日に対して現実の年月日とは異なる曜日を設定する初期化手順を実現するものである。   The date / time information initialization unit 29 initializes clock information when an error of the RTC 23 is detected, and sets the date and time by initialization and a day of the week different from the actual date for this date. It realizes the conversion procedure.

初期化は、例えば、「00年01月01日(日曜日)00時00分00秒」のようにクロック情報の初期値を設定することで行われる。   The initialization is performed by setting an initial value of the clock information such as “01/01/00 (Sunday) 00:00:00”.

初期化後は、RTC23が現在時刻を刻み続けることになるが、このときの基準となる年月日(初期化による年月日)に対して現実の年月日とは異なる曜日が設定される。   After initialization, the RTC 23 keeps ticking the current time. However, a day of the week that is different from the actual date is set for the reference date (date by initialization). .

この異なる曜日の設定は、少なくとも初期値の不確定な年を、所定の年にすることで行わせることができる。例えば、初期値が上記のように「00年01月01日(日曜日)00時00分00秒」である場合は、初期値の不確定な年「00年」を所定の年「2000年」として当てはめ、基準となる年月日及び曜日を「2000年01月01日(日曜日)」とする。現実の「2000年01月01日」は「土曜日」であるため、基準となる年月日は現実の年月日と曜日が異なって設定されることになる。   The different days of the week can be set by setting a predetermined year to at least an uncertain year of the initial value. For example, when the initial value is “01.01.00 (Sunday) 00:00:00” as described above, the initial value “00” is set to the predetermined year “2000”. And the standard date and day of the week are “01/01/2000 (Sunday)”. Since the actual “January 01, 2000” is “Saturday”, the actual date is different from the actual date.

なお、本実施例では、初期値の年「00年」を所定の年「2000年」に当てはめるので、日時情報初期化部29が初期値の設定を通じて間接的に上記異なる曜日を設定を行うようになっている。   In this embodiment, since the initial year “00” is applied to the predetermined year “2000”, the date / time information initialization unit 29 indirectly sets the different day of the week through the initial value setting. It has become.

日時情報設定部31は、RTC23のクロック情報を外部から設定可能とするものである。この設定は、画像形成装置1の操作部9での操作やネットワーク通信部5を介したユーザー端末での操作によって行わせることができる。   The date / time information setting unit 31 is capable of setting the clock information of the RTC 23 from the outside. This setting can be performed by an operation on the operation unit 9 of the image forming apparatus 1 or an operation on a user terminal via the network communication unit 5.

曜日演算部33は、初期化後の年月日に対する曜日と現実の年月日に対する曜日とのずれにより、電源異常検出部27とは別にRTC23のエラーを事後的に検出する事後エラー検出手順を実現する。   The day-of-week calculating unit 33 performs a post-error detection procedure for detecting an error of the RTC 23 separately from the power supply abnormality detecting unit 27 due to a difference between the day of the week after the initialization and the day of the week for the actual date. Realize.

例えば、曜日演算部33は、画像形成装置1で設定された年月日から曜日を算出し、算出された曜日とクロック情報の曜日とが一致するか否かを判断する。曜日の算出は、ツェラーの公式等によって行わせることができる。   For example, the day-of-week calculating unit 33 calculates the day of the week from the date set in the image forming apparatus 1 and determines whether the calculated day of the week matches the day of the clock information. The calculation of the day of the week can be performed by Zeller's formula or the like.

この曜日演算部33は、曜日が不一致の場合にRTC23のエラーを検出し、画像形成装置1の表示部11にエラー表示を行わせる。
[RTCのエラー通知処理]
図3及び図4は、本発明の実施例1に係るRTCのエラー通知処理を示すフローチャートであり、図3は事前エラー通知処理、図4は事後エラー通知処理である。
The day-of-week calculating unit 33 detects an error in the RTC 23 when the days of the week do not match, and causes the display unit 11 of the image forming apparatus 1 to display an error.
[RTC error notification processing]
3 and 4 are flowcharts showing the RTC error notification processing according to the first embodiment of the present invention. FIG. 3 shows the preliminary error notification processing, and FIG. 4 shows the post-error notification processing.

(事前エラー通知処理)
事前エラー通知処理では、画像形成装置1の主電源が投入されることで、図3のフローチャートがスタートする。この事前エラー通知処理は、画像形成装置1の起動処理時に行われる。
(Preliminary error notification processing)
In the prior error notification process, when the main power supply of the image forming apparatus 1 is turned on, the flowchart of FIG. 3 starts. This prior error notification process is performed during the startup process of the image forming apparatus 1.

事前エラー通知処理は、まずステップS1において「電圧低下検出?」の処理が行われる。この処理は、電源異常検出部27によりRTC23の電池25の電圧が所定の閾値以下であるか否かを判断する。   In the prior error notification process, first, a “voltage drop detection?” Process is performed in step S1. In this process, the power supply abnormality detection unit 27 determines whether or not the voltage of the battery 25 of the RTC 23 is equal to or lower than a predetermined threshold value.

電圧が閾値以下である場合(YES)は、RTC23のエラーがあると判断されてステップS2へ移行する。一方、電圧が閾値を上回る場合は(NO)は、RTC23のエラーがないものと判断されて処理が終了する。   If the voltage is equal to or lower than the threshold (YES), it is determined that there is an error in RTC 23, and the process proceeds to step S2. On the other hand, when the voltage exceeds the threshold value (NO), it is determined that there is no error in the RTC 23 and the process ends.

ステップS2では、「時刻情報初期化」の処理が行われる。この処理では、日時情報初期化部29が、RTC23のクロック情報を初期化し、初期化による年月日及びこの年月日に対して現実の年月日とは異なる曜日が設定される。   In step S2, a “time information initialization” process is performed. In this processing, the date / time information initialization unit 29 initializes the clock information of the RTC 23, and sets the date and time by initialization and the day of the week different from the actual date for this date.

本実施例では、上記のように、初期化による年月日及び曜日が「2000年01月01日(日曜日)」とされ、現実の年月日及び曜日「2000年01月01日(土曜日)」とされる。   In this embodiment, as described above, the date and day of the initialization are “01/01/2000 (Sunday)”, and the actual date / day of the week “01/01/2000 (Saturday)”. "

こうしてステップS2が完了し、ステップS3へ移行する。   Thus, step S2 is completed, and the process proceeds to step S3.

ステップS3では、「エラー表示」が行われる。すなわち、電源異常検出部27は、ステップS1でのエラー検出に基づいて、画像形成装置1の表示部11にエラー表示を行わせる。エラー表示としては、RTC23の現在時刻の再設定や電池25の交換を促す表示を行えばよい。こうしてステップS3が完了すると、事前エラー通知処理が修了する。   In step S3, “error display” is performed. That is, the power supply abnormality detection unit 27 causes the display unit 11 of the image forming apparatus 1 to display an error based on the error detection in step S1. As an error display, a display prompting resetting of the current time of the RTC 23 or replacement of the battery 25 may be performed. When step S3 is thus completed, the prior error notification process is completed.

なお、ステップS3では、画像形成装置1の表示部11の起動が間に合わずにエラー表示が行えない場合がある。この場合、ステップS3の処理が無駄になるので、予め表示部11の起動を確認するようにしてもよい。例えば、表示部11が起動していればステップS3を行わせ、表示部11が起動していなければ処理を終了する。   In step S3, the display unit 11 of the image forming apparatus 1 may not be activated in time and error display may not be performed. In this case, since the process of step S3 is wasted, activation of the display unit 11 may be confirmed in advance. For example, if the display unit 11 is activated, step S3 is performed, and if the display unit 11 is not activated, the process is terminated.

(事後エラー通知処理)
事後エラー通知処理は、RTC23のクロック情報に基づく時刻設定時に図4のフローチャートがスタートする。なお、時刻設定は、少なくとも事前エラー通知処理よりも後、好ましくは画像形成装置1の起動処理後に行われる。
(Post-error notification process)
In the post-error notification process, the flowchart of FIG. 4 starts when the time is set based on the clock information of the RTC 23. Note that the time setting is performed at least after the prior error notification process, preferably after the activation process of the image forming apparatus 1.

事後エラー通知処理は、まずステップS21において「RTCの現在値の取得」を行う。この処理では、曜日演算部33がRTC23からクロック情報の現在の値を取得して、ステップS22へ移行する。   In the post-error notification process, first, “obtain current value of RTC” is performed in step S21. In this process, the day-of-week calculating unit 33 acquires the current value of the clock information from the RTC 23, and the process proceeds to step S22.

ステップS22では、「曜日の演算」が行われる。この処理は、曜日演算部33が取得したクロック情報の年月日から曜日を演算する。本実施例では、クロック情報の年月日が「2000年01月01日」であるので、曜日が「土曜日」と演算される。こうしてステップS22が完了すると、ステップS23へ移行する。   In step S22, "day of the week calculation" is performed. In this process, the day of the week is calculated from the date of the clock information acquired by the day of the week calculating unit 33. In this embodiment, since the date of the clock information is “01/01/2000”, the day of the week is calculated as “Saturday”. When step S22 is completed in this way, the process proceeds to step S23.

ステップS23では、「RTCの曜日と一致?」の処理が行われる。この処理では、曜日演算部33が演算した曜日とRTC23のクロック情報の曜日とが一致するか否かを判断する。   In step S23, a process of “match with RTC day of the week?” Is performed. In this process, it is determined whether or not the day of the week calculated by the day of the week calculating unit 33 matches the day of the clock information of the RTC 23.

演算された曜日とクロック情報の曜日とが一致する場合(YES)は、RTC23のエラーがないものとして事後エラー通知処理が終了する。一方、曜日が一致しない場合(NO)は、ステップS24へ移行する。本実施例では、演算された曜日が「土曜日」、クロック情報の曜日「日曜日」なので、両者が一致せずにステップS24へ移行する。   If the calculated day of the week coincides with the day of the clock information (YES), it is assumed that there is no error in the RTC 23, and the post-error notification process ends. On the other hand, if the day of the week does not match (NO), the process proceeds to step S24. In this embodiment, since the calculated day of the week is “Saturday” and the day of the clock information is “Sunday”, the two do not coincide with each other and the process proceeds to step S24.

ステップS24では、「再度エラー表示」が行われる。この処理では、曜日演算部33がステップS23でのエラー検出に基づいて、画像形成装置1の表示部11にエラー表示を再度行わせる。   In step S24, “error display again” is performed. In this process, the day-of-week calculating unit 33 causes the display unit 11 of the image forming apparatus 1 to display an error again based on the error detection in step S23.

このエラー表示により、事前エラー表示処理時に表示部11の起動が間に合わなかった場合でも、ユーザーに確実にRTC23のエラーを通知することができる。   By this error display, even when the display unit 11 cannot be started in time during the prior error display process, the user can be surely notified of the error of the RTC 23.

こうしてステップS24が完了すると、事後エラー表示処理が終了する。
[実施例1の効果]
本実施例では、画像形成装置1に対して時刻と共に年月日及び曜日を設定可能とするクロック情報を保持するRTC23のエラー検出装置であって、RTC23のエラーを事前に検出する電源異常検出部27と、RTC23のエラーが検出されたときにクロック情報を初期化し、初期化による年月日及びこの年月日に対して現実の年月日とは異なる曜日を設定する日時情報初期化部29と、初期化後の年月日に対する曜日と現実の年月日に対する曜日とのずれによりRTC23のエラーを事後的に検出する曜日演算部33とを備えている。
When step S24 is completed in this way, the post-error display process ends.
[Effect of Example 1]
In the present embodiment, an error detection device for the RTC 23 that holds clock information that allows the image forming apparatus 1 to set the date, time, and day of the week together with the time, and a power supply abnormality detection unit that detects an error of the RTC 23 in advance. 27, a date and time information initialization unit 29 that initializes clock information when an error in the RTC 23 is detected, and sets a date by initialization and a day of the week different from the actual date for this date. And a day-of-week calculating unit 33 that detects an error of the RTC 23 later by a difference between the day of the week after the initialization and the day of the week for the actual date.

従って、本実施例では、RTC23からクロック情報の読み出し時に曜日が正確かどうかを判定するだけで、過去に電池切れ等によるRTC23のエラーが生じたか否かを事後的に判定できるようになる。   Accordingly, in this embodiment, it is possible to determine later whether or not an error of the RTC 23 has occurred in the past due to a battery exhaustion or the like only by determining whether or not the day of the week is correct when reading the clock information from the RTC 23.

このため、不揮発メモリ等の追加ハードウェアを不要としながら、RTC23のエラー検出及びその通知を確実に行わせることができる。例えば、画像形成装置1の起動処理中のRTC23のエラーを、起動処理後に検出してユーザーに通知することができる。   For this reason, it is possible to reliably perform error detection and notification of the RTC 23 while eliminating the need for additional hardware such as a nonvolatile memory. For example, an error of the RTC 23 during the startup process of the image forming apparatus 1 can be detected after the startup process and notified to the user.

また、本実施例では、日付情報初期化部29が、クロック情報を少なくとも不確定な年を有する初期値にすることで初期化し、不確定な年が、所定の年とされて上記異なる曜日の設定が行われる。   Also, in this embodiment, the date information initialization unit 29 initializes the clock information by setting it to an initial value having at least an uncertain year, and the uncertain year is set as a predetermined year and the different day of the week is set. Settings are made.

従って、本実施例では、初期化後の基準となる年をずらすことで現実の曜日とRTC23の曜日とで差が生まれるので、処理の簡素化や迅速化を図ることができる。   Therefore, in this embodiment, the difference between the actual day of the week and the day of the RTC 23 is caused by shifting the standard year after initialization, so that the processing can be simplified and speeded up.

また、本実施例では、電源異常検出部27がRTC23に電力を供給する電池25の異常を検出するので、RTC23の事前エラーの検出を容易且つ確実に行わせることができる。   Further, in this embodiment, since the power supply abnormality detection unit 27 detects an abnormality of the battery 25 that supplies power to the RTC 23, it is possible to easily and reliably detect the prior error of the RTC 23.

1 画像形成装置(電子機器)
17 CPU(エラー検出装置)
23 リアルタイムクロック
25 電池(電源)
27 電源異常検出部(事前エラー検出部)
29 日時情報初期化部(初期化部)
33 曜日演算部(事後エラー検出部)
1 Image forming device (electronic equipment)
17 CPU (error detection device)
23 Real time clock 25 Battery (Power)
27 Power failure detector (pre-error detector)
29 Date and time information initialization section (initialization section)
33 Day-of-week calculation section (post-error detection section)

Claims (2)

画像形成装置に対して時刻と共に年月日及び曜日を設定可能とするクロック情報を保持するリアルタイムクロックと、前記リアルタイムクロックのエラーを検出するエラー検出装置と、表示部とを備えた画像形成装置であって、
前記エラー検出装置は、
前記リアルタイムクロックに電力を供給する電源の異常を検出してエラーを事前に検出し、前記表示部にエラー表示を行わせる事前エラー検出部と、
前記エラーが検出されたときに前記クロック情報を不確定な年「00年」を有する初期値「00年01月01日(日曜日)00時00分00秒」にすることにより初期化し、前記不確定な年「00年」のみを、所定の年とすることにより、初期化による年月日及びこの年月日に対して現実の年月日とは異なる曜日を設定する初期化部と、
前記初期化後の年月日に対する曜日と前記現実の年月日に対する曜日とのずれにより前記リアルタイムクロックのエラーを事後的に検出し、前記表示部に再度エラー表示を行わせる事後エラー検出部と、
を備えたことを特徴とする画像形成装置。
An image forming apparatus comprising: a real- time clock that holds clock information that enables setting of the date, time, and day of the week together with time, an error detection device that detects an error in the real-time clock , and a display unit There,
The error detection device includes:
A prior error detection unit for detecting an error in advance by detecting an abnormality of a power source that supplies power to the real-time clock, and causing the display unit to display an error;
When the error is detected, the clock information is initialized to the initial value “Sunday 01/01/00 (00:00:00)” having an uncertain year “00”. An initialization unit that sets a date by initialization and a day of the week different from the actual date for this date by setting only a definite year “00” as a predetermined year;
A post-error detection unit that detects an error of the real-time clock afterward by a deviation between a day of the week after the initialization and a day of the week for the actual date, and causes the display unit to display an error again; ,
An image forming apparatus comprising:
請求項1記載の画像形成装置であって、
前記不確定な年「00年」が所定の年「2000年」とされて前記異なる曜日の設定が行われる、
ことを特徴とする画像形成装置。
The image forming apparatus according to claim 1,
The uncertain year “00” is set as a predetermined year “2000” and the different day of the week is set.
An image forming apparatus.
JP2012121065A 2012-05-28 2012-05-28 Image forming apparatus having real-time clock error detection device Active JP5781979B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012121065A JP5781979B2 (en) 2012-05-28 2012-05-28 Image forming apparatus having real-time clock error detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012121065A JP5781979B2 (en) 2012-05-28 2012-05-28 Image forming apparatus having real-time clock error detection device

Publications (2)

Publication Number Publication Date
JP2013246714A JP2013246714A (en) 2013-12-09
JP5781979B2 true JP5781979B2 (en) 2015-09-24

Family

ID=49846407

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012121065A Active JP5781979B2 (en) 2012-05-28 2012-05-28 Image forming apparatus having real-time clock error detection device

Country Status (1)

Country Link
JP (1) JP5781979B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6983591B2 (en) * 2017-09-08 2021-12-17 キヤノン株式会社 Information processing device and how to charge the battery of the information processing device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5866134A (en) * 1981-10-15 1983-04-20 Fujitsu Ltd Computer provided with collation function of date information
JP4009926B2 (en) * 2000-06-30 2007-11-21 富士フイルム株式会社 Image output method and apparatus
JP2004061379A (en) * 2002-07-30 2004-02-26 Ricoh Co Ltd Real time clock and system using real time clock
JP2009232019A (en) * 2008-03-21 2009-10-08 Seiko Epson Corp Electronic apparatus, printer and multifunction machine

Also Published As

Publication number Publication date
JP2013246714A (en) 2013-12-09

Similar Documents

Publication Publication Date Title
US9075689B2 (en) Firmware update system increased in possibility of execution of automatic firmware update processing
JP5995571B2 (en) Information processing apparatus and control method thereof
US20090237244A1 (en) Electronic Device, Printer and Multi-Functional Device
US20140280512A1 (en) Non-transitory computer readable medium, server and system
US9894229B2 (en) Image forming apparatus to reduce power consumption, control method for the same and recording medium
JP5781979B2 (en) Image forming apparatus having real-time clock error detection device
JP4682937B2 (en) Start control circuit
JP2018202842A (en) Information processing device, information processing method and program
EP3224690A1 (en) Information processing apparatus and restart executing method
JP2009069910A (en) Printer
JP2007214609A (en) Image processing apparatus
JP2020082441A (en) Image formation device, control method and program of the same
CN112703453A (en) Method for error handling during toner refill
JP3970235B2 (en) Monitoring device, counter information management method, storage medium and program in the device
JP2018144427A (en) Image formation apparatus
JP2013250296A (en) Image forming apparatus
JP2019093578A (en) Image formation apparatus, control method and program
JP2013248858A (en) Image processing apparatus, method for controlling the same, and program
US10343434B2 (en) Image forming apparatus
JP2008064678A (en) Real-time clock controller, real-time clock control method, and real-time clock control program
JP6077951B2 (en) Image processing apparatus, program, and image processing method
JP4589767B2 (en) Managed apparatus, control method of managed apparatus, program, and recording medium
JP7310255B2 (en) image forming device
JP7215016B2 (en) Image processing device, image processing system, and image processing program
JP2008009250A (en) Image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140417

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150217

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150414

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150526

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150602

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150716

R150 Certificate of patent (=grant) or registration of utility model

Ref document number: 5781979

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150