JP6025696B2 - Electronics - Google Patents

Electronics Download PDF

Info

Publication number
JP6025696B2
JP6025696B2 JP2013245978A JP2013245978A JP6025696B2 JP 6025696 B2 JP6025696 B2 JP 6025696B2 JP 2013245978 A JP2013245978 A JP 2013245978A JP 2013245978 A JP2013245978 A JP 2013245978A JP 6025696 B2 JP6025696 B2 JP 6025696B2
Authority
JP
Japan
Prior art keywords
time
unit
shut
power supply
power
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.)
Expired - Fee Related
Application number
JP2013245978A
Other languages
Japanese (ja)
Other versions
JP2015103222A (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 JP2013245978A priority Critical patent/JP6025696B2/en
Publication of JP2015103222A publication Critical patent/JP2015103222A/en
Application granted granted Critical
Publication of JP6025696B2 publication Critical patent/JP6025696B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、自己診断機能を有する記憶装置を備えた電子機器に関する。   The present invention relates to an electronic device including a storage device having a self-diagnosis function.

従来から、S.M.A.R.T(Self−Monitoring Analysis and Reporting Technology)と呼ばれる自己診断機能を備えたSSD(Solid State Drive)やHDD(Hard Disk Drive)等の記憶装置が知られている。当該記憶装置は、所定の診断項目をリアルタイムに自己診断し、診断結果を数値化して出力することができる。   Conventionally, S.M. M.M. A. R. Storage devices such as SSD (Solid State Drive) and HDD (Hard Disk Drive) having a self-diagnosis function called T (Self-Monitoring Analysis and Reporting Technology) are known. The storage device can self-diagnose predetermined diagnostic items in real time, and digitize and output the diagnostic results.

例えば、当該記憶装置は、診断結果として、予期せぬ電源の遮断の累積回数(Unexpected Power Loss Count,Unsafe Shutdown Count等)、データの読み取り時に発生したエラーの割合(Raw Read Error Rate)、及び、データの書き込み中に発見されたエラーの総数(Write Error Rate)等を出力することができる。   For example, the storage device includes, as diagnostic results, the cumulative number of unexpected power shutdowns (Unexpected Power Loss Count, Unsafe Shutdown Count, etc.), the rate of errors that occurred during data reading (Raw Read Error Rate), and The total number of errors (Write Error Rate) found during data writing can be output.

このような記憶装置を備えた電子機器として、例えば、下記特許文献1には、HDDより返されるステータス(診断結果)を元にHDDにエラーが発生しているか否かを判別する画像形成装置が記載されている。この画像形成装置では、上記判別の結果、HDDにエラーが発生していると判別された場合、更に、不揮発性メモリに記憶されている、電源キー押下により前回の電源断を行ったのか、主電源スイッチによって前回の電源断を行ったのかを示すフラグが参照される。   As an electronic apparatus provided with such a storage device, for example, Japanese Patent Application Laid-Open No. 2004-168688 discloses an image forming apparatus that determines whether or not an error has occurred in an HDD based on a status (diagnosis result) returned from the HDD. Have been described. In this image forming apparatus, if it is determined that an error has occurred in the HDD as a result of the above determination, whether the power supply was previously turned off by pressing the power key stored in the non-volatile memory is checked. A flag indicating whether the previous power cut was performed is referred to by the power switch.

当該参照したフラグが電源キー押下により前回の電源断を行ったことを示す場合、主電源スイッチがオン状態であり、HDDが通電状態のときにエラーが発生したものとして、HDDエラーと判断する。一方、上記参照したフラグが主電源スイッチによって前回の電源断を行ったことを示す場合、HDDへの書き込み中に電源が遮断されたと判断し、次回アクセス時にHDDエラーとならないようにデータの整合性を取り直すリカバリー処理を行う。   If the referenced flag indicates that the power supply was previously turned off by pressing the power key, it is determined that an error has occurred when the main power switch is on and the HDD is in an energized state. On the other hand, if the above-referenced flag indicates that the main power switch was used to turn off the power last time, it is determined that the power was cut off during writing to the HDD, and data consistency is ensured so that an HDD error does not occur at the next access. Perform recovery processing to recover.

特開2010−4293号公報JP 2010-4293 A

しかし、上記特許文献1に記載の技術では、記憶装置へのアクセス中に主電源スイッチによって電源の遮断が行われていたとしても何ら警告されないので、ユーザーは主電源スイッチによって電源の遮断を行うことを繰り返す虞がある。これにより、電子機器の起動時に記憶装置のリカバリー処理が行われる頻度が高まる虞があった。その結果、電子機器の起動に要する時間が長くなる虞があった。   However, in the technology described in Patent Document 1, no warning is given even if the power is shut off by the main power switch during access to the storage device, so the user shuts off the power by the main power switch. May be repeated. This may increase the frequency with which the storage device recovery process is performed when the electronic device is activated. As a result, there is a concern that the time required for starting up the electronic device may be lengthened.

本発明は、上記の問題を解決するためになされたもので、迅速に起動することができる電子機器を提供することを目的とする。   The present invention has been made to solve the above-described problem, and an object thereof is to provide an electronic device that can be activated quickly.

本発明による電子機器は、予期せぬ電源の遮断を診断項目として持つ自己診断機能を実行し、前記予期せぬ電源の遮断の累積回数を出力する記憶装置と、外部電源から供給される電力の遮断を検知する遮断検知部と、前記遮断検知部によって前記遮断が検知された場合、現在時刻を計時し、且つ、当該計時した現在時刻を遮断時刻として不揮発性の時刻記憶部に記憶する遮断時刻管理部と、電子機器が起動する度に、前記記憶装置に前記自己診断機能を実行させ、前記記憶装置によって出力された前記累積回数を取得し、当該取得した前記累積回数を不揮発性の回数記憶部に記憶する遮断回数管理部と、前記遮断回数管理部が前記累積回数を取得したとき、当該累積回数が前記回数記憶部に記憶されている前回取得された前記累積回数よりも大きい場合、前記外部電源から供給される電力が前記時刻記憶部に記憶されている前記遮断時刻に予期せず遮断したと判定する遮断判定部と、を備える。   An electronic device according to the present invention executes a self-diagnosis function having an unexpected power-off as a diagnostic item, outputs a cumulative number of times of unexpected power-off, and a power supply supplied from an external power source. When the interruption is detected by the interruption detection unit for detecting interruption and the interruption detection unit, the current time is measured, and the interruption time is stored in the nonvolatile time storage unit as the interruption time. Each time the management unit and the electronic device are activated, the storage device executes the self-diagnosis function, acquires the cumulative number output by the storage device, and stores the acquired cumulative number in a nonvolatile number When the block count management unit stored in the section and the block count management unit acquire the cumulative count, the cumulative count is stored in the count storage section than the previously acquired cumulative count. If heard, and a shut-off judging portion judges that the power is cut off unexpectedly the blocking time stored in the time storage unit which is supplied from the external power supply.

本構成によれば、外部電源から供給される電力が時刻記憶部に記憶されている遮断時刻に予期せず遮断したことを判定することができる。これにより、外部電源から供給される電力が予期せず遮断した時刻を把握することができる。   According to this configuration, it can be determined that the power supplied from the external power supply has been unexpectedly cut off at the cutoff time stored in the time storage unit. Thereby, it is possible to grasp the time when the power supplied from the external power supply is cut off unexpectedly.

このため、当該把握した時刻に外部電源から供給される電力が予期せず遮断する傾向にあると考え、当該把握した時刻になったときに、記憶装置が予期せぬ電源の遮断を診断しないようにするための対処を行うことができる。これにより、電子機器の起動時に、予期せぬ電源の遮断が発生した記憶装置においてデータの整合性を取り直す等のリカバリー処理が行われる頻度を低減することができる。その結果、電子機器を迅速に起動することができる。   For this reason, it is considered that the power supplied from the external power supply tends to be cut off unexpectedly at the grasped time, so that the storage device does not diagnose an unexpected power supply cutoff at the grasped time. To take action. Accordingly, it is possible to reduce the frequency with which recovery processing such as re-establishing data consistency is performed in the storage device in which the power supply is unexpectedly shut down when the electronic device is activated. As a result, the electronic device can be activated quickly.

また、前記時刻記憶部に記憶されている前記遮断時刻を遮断履歴として不揮発性の履歴記憶部に蓄積する遮断履歴管理部と、前記履歴記憶部に記憶されている前記遮断履歴に基づいて、前記外部電源から供給される電力が予期せず遮断すると考えられる遮断予定時刻を推定する遮断時刻推定部を更に備えることが好ましい。   Further, based on the shut-off history management unit that accumulates the shut-off time stored in the time storage unit as a shut-off history in a non-volatile history storage unit, and the shut-off history stored in the history storage unit, It is preferable to further include a shut-off time estimation unit that estimates a scheduled shut-off time at which the power supplied from the external power source is considered to be shut off unexpectedly.

本構成によれば、外部電源から供給される電力が予期せず遮断された遮断時刻が、遮断履歴として履歴記憶部に蓄積される。そして、当該遮断履歴に基づいて、外部電源から供給される電力が予期せず遮断すると考えられる遮断予定時刻が推定される。このため、履歴記憶部に遮断履歴として蓄積される遮断時刻の数が多くなるほど、外部電源から供給される電力が予期せず遮断すると考えられる遮断予定時刻をより精度良く推定することができる。   According to this configuration, the cutoff time when the power supplied from the external power supply is cut off unexpectedly is accumulated as a cutoff history in the history storage unit. And based on the said interruption | blocking log | history, the scheduled interruption | blocking time considered that the electric power supplied from an external power supply cut | disconnects unexpectedly is estimated. For this reason, as the number of shut-off times stored as the shut-off history in the history storage unit increases, the scheduled shut-off time at which power supplied from the external power source is considered to be shut off unexpectedly can be estimated with higher accuracy.

また、前記遮断時刻管理部により計時された現在時刻が前記遮断時刻推定部によって推定された前記遮断予定時刻になると、前記外部電源から供給される電力の正規の遮断方法を報知する遮断方法報知部を更に備えることが好ましい。   Also, when the current time measured by the shut-off time management unit becomes the scheduled shut-off time estimated by the shut-off time estimating unit, a shut-off method notifying unit for notifying a normal shut-off method of power supplied from the external power source Is preferably further provided.

この構成によれば、現在時刻が遮断予定時刻になったときに、外部電源から供給される電力の正規の遮断方法をユーザーに気付かせ易くなる。これによって、現在時刻が遮断予定時刻になったときに、ユーザーが外部電源から供給される電力を予期せず遮断する操作を行う虞を軽減することができる。   According to this configuration, when the current time becomes the scheduled cutoff time, it becomes easy for the user to notice the normal cutoff method of the power supplied from the external power source. Thus, when the current time becomes the scheduled shutdown time, it is possible to reduce the possibility that the user performs an operation of unexpectedly shutting off the power supplied from the external power source.

また、前記遮断時刻管理部により計時された現在時刻が前記遮断時刻推定部によって推定された前記遮断予定時刻になると、前記記憶装置へのアクセスが終了するまで待機した後に前記外部電源から供給される電力の前記記憶装置への供給を遮断する省エネモードへ移行する事前遮断部と、を更に備えることが好ましい。   In addition, when the current time counted by the shut-off time management unit becomes the scheduled shut-off time estimated by the shut-off time estimating unit, it is supplied from the external power supply after waiting until the access to the storage device is completed. It is preferable to further include a pre-blocking unit that shifts to an energy-saving mode that blocks supply of power to the storage device.

この構成によれば、現在時刻が遮断予定時刻になると、記憶装置へのアクセスが終了するまで待機した後に、外部電源から供給される電力の記憶装置への供給が遮断される。これにより、現在時刻が遮断予定時刻になったときに、記憶装置において予期せぬ電源の遮断が発生する虞を低減することができる。その結果、電子機器の起動時に、記憶装置に記憶されているデータの整合性を取り直す等のリカバリー処理を行う機会が低減され、迅速に電子機器を起動することができる。   According to this configuration, when the current time reaches the scheduled shutdown time, the supply of power supplied from the external power supply to the storage device is shut off after waiting until access to the storage device is completed. Thereby, when the current time becomes the scheduled shutdown time, it is possible to reduce the possibility of unexpected power shutdown in the storage device. As a result, when the electronic device is activated, the chance of performing a recovery process such as restoring the consistency of the data stored in the storage device is reduced, and the electronic device can be activated quickly.

この発明によれば、迅速に起動することができる電子機器を提供することができる。   According to the present invention, it is possible to provide an electronic device that can be activated quickly.

本発明の電子機器の一実施形態に係る複写機の電気的構成を示すブロック図である。1 is a block diagram showing an electrical configuration of a copying machine according to an embodiment of an electronic apparatus of the present invention. 複写機を起動するときの制御部の動作を示すフローチャートである。3 is a flowchart showing an operation of a control unit when starting a copying machine. 遮断時刻推定部が遮断予定時刻を推定する処理の説明図である。It is explanatory drawing of the process in which the interception time estimation part estimates the interception scheduled time. 外部電源から供給される電力が遮断されるときの制御部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a control part when the electric power supplied from an external power supply is interrupted | blocked.

以下、本発明に係る電子機器の一実施形態を図面に基づいて説明する。尚、本実施形態では、電子機器として複写機を例に説明するが、これに限定する趣旨ではなく、電子機器は、例えば、プリンター、ファクシミリ装置、又はスキャナー等の画像処理装置や、これら画像処理装置の機能を兼ね備えた複合機、ゲーム機、携帯電話、及びカーナビゲーション装置であってもよい。   Hereinafter, an embodiment of an electronic apparatus according to the invention will be described with reference to the drawings. In this embodiment, a copying machine is described as an example of an electronic device. However, the electronic device is not limited to this. For example, the electronic device may be an image processing device such as a printer, a facsimile device, or a scanner, or these image processing devices. A multifunction device, a game machine, a mobile phone, and a car navigation device having the functions of the device may be used.

図1は、本発明の電子機器の一実施形態に係る複写機1の電気的構成を示すブロック図である。図1に示すように、複写機1は、電源スイッチ91と、主電源部92と、遮断検知回路93(遮断検知部)と、予備電源部94と、給電スイッチSW1と、SSD(Solid State Drive、記憶装置)40と、給電スイッチSW2と、画像形成部50と、表示部60と、操作キー部70と、制御部20と、を備えている。   FIG. 1 is a block diagram showing an electrical configuration of a copying machine 1 according to an embodiment of an electronic apparatus of the present invention. As shown in FIG. 1, the copying machine 1 includes a power switch 91, a main power supply unit 92, a shut-off detection circuit 93 (shut-off detection unit), a standby power supply unit 94, a power supply switch SW <b> 1, an SSD (Solid State Drive). Storage device) 40, power supply switch SW2, image forming unit 50, display unit 60, operation key unit 70, and control unit 20.

電源スイッチ91は、ユーザーの操作によって、オン状態(閉状態)又はオフ状態(開状態)に切り替えられるスイッチである。電源スイッチ91は、電源ケーブルLの一端に接続されている。電源ケーブルLの他端は、外部電源ACに接続されている。電源スイッチ91がオン状態になると、外部電源ACから供給される交流電力(電力)が、電源ケーブルLを介して主電源部92へ供給される。一方、電源スイッチ91がオフ状態になると、外部電源ACから主電源部92への交流電力の供給が遮断される。   The power switch 91 is a switch that can be switched to an on state (closed state) or an off state (open state) by a user operation. The power switch 91 is connected to one end of the power cable L. The other end of the power cable L is connected to an external power source AC. When the power switch 91 is turned on, AC power (power) supplied from the external power supply AC is supplied to the main power supply unit 92 via the power cable L. On the other hand, when the power switch 91 is turned off, the supply of AC power from the external power supply AC to the main power supply unit 92 is cut off.

主電源部92は、不図示のACDCコンバーターを備えている。主電源部92は、当該ACDCコンバーターを用いて、電源スイッチ91を介して外部電源ACから供給された交流電力を予め定められた電圧レベルの直流電力に変換する。   The main power supply unit 92 includes an ACDC converter (not shown). The main power supply unit 92 converts the AC power supplied from the external power supply AC via the power switch 91 into DC power having a predetermined voltage level using the ACDC converter.

遮断検知回路93は、外部電源ACから供給される交流電力が遮断されたか否かを検知する。具体的には、遮断検知回路93は、不図示のコンパレーターを備えている。遮断検知回路93は、コンパレーターを用いて、主電源部92から供給される電力が上記の予め定められた電圧レベル以上の場合にハイレベルの信号を予備電源部94及び制御部20へ出力する。一方、遮断検知回路93は、コンパレーターを用いて、主電源部92から供給される電力が上記の予め定められた電圧レベルよりも小さい場合にローレベルの信号を予備電源部94及び制御部20へ出力する。   The interruption detection circuit 93 detects whether or not the AC power supplied from the external power source AC is interrupted. Specifically, the shutoff detection circuit 93 includes a comparator (not shown). The interruption detection circuit 93 uses a comparator to output a high level signal to the standby power supply unit 94 and the control unit 20 when the electric power supplied from the main power supply unit 92 is equal to or higher than the predetermined voltage level. . On the other hand, the interruption detection circuit 93 uses a comparator to output a low level signal when the power supplied from the main power supply unit 92 is smaller than the above-described predetermined voltage level. Output to.

例えば、停電の発生や、電源ケーブルLが引き抜かれたことや、或いは、電源スイッチ91がオフ状態にされたこと等によって、外部電源ACから主電源部92へ供給される交流電力が遮断されたとする。この場合、主電源部92は、外部電源ACから交流電力が供給されないので、上記の予め定められた電圧レベルよりも小さい電圧レベルの直流電力を出力する。   For example, the AC power supplied from the external power supply AC to the main power supply unit 92 is interrupted due to the occurrence of a power failure, the power cable L being pulled out, or the power switch 91 being turned off. To do. In this case, since the AC power is not supplied from the external power supply AC, the main power supply unit 92 outputs DC power having a voltage level smaller than the predetermined voltage level.

つまり、遮断検知回路93は、主電源部92から供給される直流電力の電圧レベルが上記の予め定められた電圧レベルよりも小さいことによって、外部電源ACから供給される交流電力が遮断されたことを検知する。この場合、遮断検知回路93は、ローレベルの信号を出力する。一方、遮断検知回路93は、主電源部92から供給される直流電力が上記電圧レベル以上であることによって、外部電源ACから供給される交流電力が遮断されていないことを検知する。この場合、遮断検知回路93は、ハイレベルの信号を出力する。   In other words, the interruption detection circuit 93 has confirmed that the AC power supplied from the external power supply AC is cut off because the voltage level of the DC power supplied from the main power supply unit 92 is lower than the above-described predetermined voltage level. Is detected. In this case, the interruption detection circuit 93 outputs a low level signal. On the other hand, the interruption detection circuit 93 detects that the AC power supplied from the external power supply AC is not interrupted when the DC power supplied from the main power supply unit 92 is equal to or higher than the voltage level. In this case, the interruption detection circuit 93 outputs a high level signal.

予備電源部94は、不図示のコンデンサーや蓄電池等の二次電池を備えている。予備電源部94は、主電源部92から供給される電力を二次電池に蓄電する。予備電源部94は、遮断検知回路93からローレベルの信号が入力されると、外部電源ACから主電源部92への交流電力の供給が遮断されたと判断し、内部の二次電池に蓄電された電力を制御部20へ供給する。これによって、予備電源部94は、外部電源ACから主電源部92への交流電力の供給が遮断された場合であっても、制御部20を一時的に動作可能な状態にする。   The standby power supply unit 94 includes a secondary battery such as a capacitor or a storage battery (not shown). The standby power supply unit 94 stores the power supplied from the main power supply unit 92 in the secondary battery. When a low level signal is input from the shut-off detection circuit 93, the standby power supply unit 94 determines that the supply of AC power from the external power source AC to the main power source unit 92 is shut off, and is stored in the internal secondary battery. The supplied power is supplied to the control unit 20. As a result, the standby power supply unit 94 makes the control unit 20 temporarily operable even when the supply of AC power from the external power supply AC to the main power supply unit 92 is interrupted.

給電スイッチSW1は、後述する電源制御部25による制御の下、オン状態(閉状態)又はオフ状態(開状態)に切り替えられるスイッチである。給電スイッチSW1は、主電源部92とSSD40との間に設けられている。つまり、給電スイッチSW1がオン状態になると、主電源部92からSSD40へ電力が供給される。一方、給電スイッチSW1がオフ状態になると、主電源部92からSSD40への電力の供給が遮断される。   The power supply switch SW1 is a switch that is switched to an on state (closed state) or an off state (open state) under the control of a power supply control unit 25 described later. The power supply switch SW1 is provided between the main power supply unit 92 and the SSD 40. That is, when the power supply switch SW1 is turned on, power is supplied from the main power supply unit 92 to the SSD 40. On the other hand, when the power supply switch SW1 is turned off, the supply of power from the main power supply unit 92 to the SSD 40 is interrupted.

SSD40は、S.M.A.R.T(Self−Monitoring Analysis and Reporting Technology)と呼ばれる自己診断機能を備えた記憶装置である。SSD40には、例えば、画像形成部50によるコピー処理の実行時に読み取った原稿の画像を示す画像データ等が記憶される。   The SSD 40 is an S.D. M.M. A. R. It is a storage device having a self-diagnosis function called T (Self-Monitoring Analysis and Reporting Technology). The SSD 40 stores, for example, image data indicating an image of a document read when the image forming unit 50 performs a copy process.

SSD40は、給電スイッチSW1がオン状態となり、主電源部92から電力が供給されるようになると、自己診断機能を実行する。SSD40は、自己診断機能を実行することにより、所定の診断項目をリアルタイムに自己診断し、診断結果を数値化して出力する。   The SSD 40 executes a self-diagnosis function when the power supply switch SW1 is turned on and power is supplied from the main power supply unit 92. The SSD 40 performs self-diagnosis in real time by executing a self-diagnosis function, and numerically outputs the diagnosis result.

上記診断項目には、例えば、予期せぬ電源の遮断が発生したか、データの読み取り時にエラーが発生したか、データの書き込み中にエラーが発生したか等を示す診断項目が含まれる。予期せぬ電源の遮断とは、例えば、SSD40へのアクセス中に、停電が発生する、電源ケーブルLが引き抜かれる、或いは、電源スイッチ91がオフ状態にされる等して、主電源部92から供給されるはずの電力がSSD40へのアクセス中に予期せず遮断されることを示す。   The diagnostic items include, for example, diagnostic items that indicate whether an unexpected power interruption has occurred, an error has occurred during data reading, or an error has occurred during data writing. Unexpected power cut-off is, for example, from the main power supply unit 92 when a power failure occurs, the power cable L is pulled out, or the power switch 91 is turned off while the SSD 40 is being accessed. Indicates that the power that should be supplied is unexpectedly interrupted while accessing the SSD 40.

SSD40は、当該診断項目を自己診断した結果として、例えば、予期せぬ電源の遮断の累積回数(Unexpected Power Loss Count,Unsafe Shutdown Count等)、データの読み取り時に発生したエラーの割合(Raw Read Error Rate)、及び、データの書き込み中に発見されたエラーの総数(Write Error Rate)等を出力する。   As a result of self-diagnosis of the diagnosis item, the SSD 40, for example, the cumulative number of unexpected power shutdowns (Unexpected Power Loss Count, Unsafe Shutdown Count, etc.), the rate of errors that occurred when reading data (Raw Read Error Rate) ) And the total number of errors found during data writing (Write Error Rate).

給電スイッチSW2は、後述する電源制御部25による制御の下、オン状態(閉状態)又はオフ状態(開状態)に切り替えられるスイッチである。給電スイッチSW2は、主電源部92と画像形成部50との間に設けられている。つまり、給電スイッチSW2がオン状態になると、主電源部92から画像形成部50へ電力が供給される。一方、給電スイッチSW2がオフ状態になると、主電源部92から画像形成部50への電力の供給が遮断される。   The power supply switch SW2 is a switch that is switched to an on state (closed state) or an off state (open state) under the control of a power supply control unit 25 described later. The power supply switch SW <b> 2 is provided between the main power supply unit 92 and the image forming unit 50. That is, when the power supply switch SW2 is turned on, power is supplied from the main power supply unit 92 to the image forming unit 50. On the other hand, when the power supply switch SW2 is turned off, the supply of power from the main power supply unit 92 to the image forming unit 50 is interrupted.

画像形成部50は、制御部20による制御の下、コピー処理を実行する。コピー処理とは、不図示の原稿台に載置された原稿の画像を読み取り、読み取った画像を用紙に形成する処理である。   The image forming unit 50 executes copy processing under the control of the control unit 20. The copy process is a process of reading an image of a document placed on a document table (not shown) and forming the read image on a sheet.

表示部60は、例えば、各種情報を表示する液晶ディスプレイや、コピー処理の実行中に点灯し、コピー処理を実行していないときに消灯するインジケーター等を含み、各種情報や複写機1の稼働状況をユーザーに視認させるために設けられている。   The display unit 60 includes, for example, a liquid crystal display that displays various types of information, an indicator that is turned on while the copy process is being executed, and is turned off when the copy process is not being executed. Is provided so that the user can visually recognize.

操作キー部70は、例えば、画像形成部50によるコピー処理の開始を指示するためのスタートキーや、テンキー等、ユーザーに複写機1の各種操作指示を入力させるための各種操作キーを含んでいる。   The operation key unit 70 includes various operation keys for allowing the user to input various operation instructions for the copying machine 1, such as a start key for instructing the start of copy processing by the image forming unit 50 and a numeric keypad. .

表示部60及び操作キー部70は、給電スイッチを介さずに主電源部92に直接的に接続されている。このため、表示部60及び操作キー部70は、外部電源ACから主電源部92へ電力が供給され、これにより、主電源部92から電力が供給されている間は動作可能な状態にある。   The display unit 60 and the operation key unit 70 are directly connected to the main power supply unit 92 without going through the power supply switch. For this reason, the display unit 60 and the operation key unit 70 are in an operable state while power is supplied from the external power source AC to the main power source unit 92, thereby supplying power from the main power source unit 92.

制御部20は、不図示のCPU(Central Processing Unit)と、当該CPUにより実行される制御プログラム等が記憶されたEEPROM等の不図示の不揮発性メモリーと、データを一時的に記憶するための不図示のRAM(Random Access Memory)と、制御バスBを介して、SSD40、画像形成部50、表示部60、及び操作キー部70との間で通信を行うための通信インターフェイス回路や、現在時刻を計時するリアルタイムクロック回路等の周辺回路と、を備えている。不揮発性メモリーには、例えば、画像を用紙に形成するときの初期濃度値等のコピー処理の初期条件や、表示部60に表示するメッセージや画像等が記憶されている。   The control unit 20 includes a CPU (Central Processing Unit) (not shown), a nonvolatile memory (not shown) such as an EEPROM in which a control program executed by the CPU is stored, and a memory for temporarily storing data. A communication interface circuit for communicating between the SSD (Random Access Memory) and the SSD 40, the image forming unit 50, the display unit 60, and the operation key unit 70 via the illustrated RAM (Random Access Memory), and the current time Peripheral circuits such as a real-time clock circuit for timing. The nonvolatile memory stores, for example, initial conditions for copy processing such as an initial density value when an image is formed on a sheet, messages and images displayed on the display unit 60, and the like.

制御部20は、電源スイッチ91がオン状態にされ、主電源部92から電力が供給されるようになると、不揮発性メモリーに記憶された制御プログラムをCPUに実行させることにより、複写機1を起動する起動処理を行う。   When the power switch 91 is turned on and power is supplied from the main power supply unit 92, the control unit 20 starts the copying machine 1 by causing the CPU to execute a control program stored in the nonvolatile memory. Perform the startup process.

当該起動処理には、例えば、不揮発性メモリーに予め記憶されている各種初期設定値を読み出してRAMに記憶する処理、後述するように電力モードを通常モードに切り替える処理、通信インターフェイス回路を初期化して、SSD40、画像形成部50、表示部60、及び操作キー部70との間で通信可能な状態にする処理等が含まれる。   The startup process includes, for example, a process for reading various initial setting values stored in advance in the nonvolatile memory and storing them in the RAM, a process for switching the power mode to the normal mode as will be described later, and initializing the communication interface circuit. , A process for enabling communication between the SSD 40, the image forming unit 50, the display unit 60, and the operation key unit 70, and the like.

起動処理によって複写機1が起動すると、制御部20は、不揮発性メモリーに記憶された制御プログラムをCPUに実行させることにより、通信インターフェイス回路を用いて、SSD40、画像形成部50、表示部60、及び操作キー部70との間で通信を行い、SSD40、画像形成部50、表示部60、及び操作キー部70を統括して制御する。   When the copying machine 1 is activated by the activation process, the control unit 20 causes the CPU to execute a control program stored in the nonvolatile memory, thereby using the communication interface circuit, the SSD 40, the image forming unit 50, the display unit 60, In addition, communication is performed with the operation key unit 70, and the SSD 40, the image forming unit 50, the display unit 60, and the operation key unit 70 are collectively controlled.

具体的には、制御部20は、不揮発性メモリーに記憶された制御プログラムをCPUに実行させることによって、電源制御部25、遮断時刻管理部21、遮断回数管理部22、遮断判定部23、遮断履歴管理部24、遮断時刻推定部26、遮断方法報知部27、及び事前遮断部28を構成する。また、制御部20は、不揮発性メモリーの記憶領域の一部を、時刻記憶部31、回数記憶部32、及び履歴記憶部33として用いる。   Specifically, the control unit 20 causes the CPU to execute a control program stored in the non-volatile memory, thereby causing the power supply control unit 25, the cutoff time management unit 21, the cutoff frequency management unit 22, the cutoff determination unit 23, The history management unit 24, the cutoff time estimation unit 26, the cutoff method notification unit 27, and the prior cutoff unit 28 are configured. Further, the control unit 20 uses a part of the storage area of the nonvolatile memory as the time storage unit 31, the frequency storage unit 32, and the history storage unit 33.

電源制御部25は、通常モードと省エネモードとの間で電力モードを切り替える。通常モードは、主電源部92からSSD40、画像形成部50、表示部60、及び操作キー部70へ電力を供給させる電力モードである。つまり、電力モードが通常モードの場合、制御部20、SSD40、画像形成部50、表示部60、及び操作キー部70は、主電源部92から供給される電力で動作可能であり、コピー処理を実行することができる。   The power control unit 25 switches the power mode between the normal mode and the energy saving mode. The normal mode is a power mode in which power is supplied from the main power supply unit 92 to the SSD 40, the image forming unit 50, the display unit 60, and the operation key unit 70. That is, when the power mode is the normal mode, the control unit 20, the SSD 40, the image forming unit 50, the display unit 60, and the operation key unit 70 can operate with the power supplied from the main power supply unit 92, and perform copy processing. Can be executed.

一方、省エネモードは、主電源部92からSSD40及び画像形成部50への電力の供給を遮断し、通常モードよりも消費電力を抑制する電力モードである。つまり、電力モードが省エネモードの場合、SSD40及び画像形成部50は、主電源部92から電力が供給されないので動作できず、コピー処理を実行することができない。   On the other hand, the energy saving mode is a power mode in which the power supply from the main power supply unit 92 to the SSD 40 and the image forming unit 50 is cut off and the power consumption is suppressed compared to the normal mode. That is, when the power mode is the energy saving mode, the SSD 40 and the image forming unit 50 cannot operate because the power is not supplied from the main power supply unit 92 and cannot execute the copy process.

電源制御部25は、上記起動処理において電力モードを通常モードに切り替える。そして、電源制御部25は、電力モードが通常モードの場合に複写機1の操作が一定期間行われなかったときは、電力モードを省エネモードに切り替える。その後、電源制御部25は、電力モードが省電力モードの場合に、操作キー部70を用いて何らかの操作指示が入力された場合は、電力モードを再び通常モードに切り替える。   The power supply control unit 25 switches the power mode to the normal mode in the startup process. When the power mode is the normal mode and the operation of the copying machine 1 is not performed for a certain period, the power control unit 25 switches the power mode to the energy saving mode. Thereafter, when the power mode is the power saving mode and the operation key unit 70 is used to input any operation instruction, the power control unit 25 switches the power mode to the normal mode again.

電源制御部25は、電力モードを通常モードに切り替えるときは、給電スイッチSW1、SW2をオン状態にする。一方、電源制御部25は、電力モードを省エネモードに切り替えるときは、SSD40へのアクセス及び画像形成部50によるコピー処理の実行が終了するまで待機した後、給電スイッチSW1、SW2をオフ状態にする。   The power supply control unit 25 turns on the power supply switches SW1 and SW2 when switching the power mode to the normal mode. On the other hand, when switching the power mode to the energy saving mode, the power supply control unit 25 waits until the access to the SSD 40 and the execution of the copy process by the image forming unit 50 are finished, and then turns off the power supply switches SW1 and SW2. .

遮断時刻管理部21は、リアルタイムクロック回路を用いて現在時刻を計時する。尚、遮断検知回路93からローレベルの信号が入力され、つまり、遮断検知回路93によって外部電源ACから供給される電力の遮断が検知された場合、遮断時刻管理部21は、予備電源部94から供給される電力を用いて、現在時刻を計時する。   The cutoff time management unit 21 measures the current time using a real-time clock circuit. When a low level signal is input from the interruption detection circuit 93, that is, when the interruption detection circuit 93 detects the interruption of the electric power supplied from the external power supply AC, the interruption time management unit 21 receives from the standby power supply unit 94. The current time is measured using the supplied power.

また、遮断時刻管理部21は、遮断検知回路93からローレベルの信号が入力されたとき、つまり、遮断検知回路93によって外部電源ACから供給される電力の遮断が検知されたときに計時した現在時刻を、予備電源部94から供給される電力を用いて、遮断時刻として時刻記憶部31に記憶する。例えば、制御部20に遮断検知回路93からローレベルの信号が入力されたとき、遮断時刻管理部21は、現在時刻が12時05分であると計時したとする。この場合、遮断時刻管理部21は、12時05分を遮断時刻として時刻記憶部31に記憶する。   In addition, the cutoff time management unit 21 measures the time when a low level signal is input from the cutoff detection circuit 93, that is, when the cutoff detection circuit 93 detects the cutoff of the power supplied from the external power supply AC. The time is stored in the time storage unit 31 as the cutoff time using the power supplied from the standby power supply unit 94. For example, it is assumed that when a low level signal is input from the interruption detection circuit 93 to the control unit 20, the interruption time management unit 21 counts the current time as 12:05. In this case, the cutoff time management unit 21 stores 12:05 in the time storage unit 31 as the cutoff time.

遮断回数管理部22は、上記起動処理によって複写機1が起動する度に、SSD40に自己診断機能を実行させる。そして、遮断回数管理部22は、SSD40によって出力された自己診断結果に含まれる予期せぬ電源の遮断の累積回数を取得し、当該取得した累積回数を回数記憶部32に記憶する。   The shut-off frequency management unit 22 causes the SSD 40 to execute a self-diagnosis function every time the copying machine 1 is activated by the activation process. Then, the cutoff frequency management unit 22 acquires the cumulative number of unexpected power cutoffs included in the self-diagnosis result output by the SSD 40 and stores the acquired cumulative number in the frequency storage unit 32.

遮断判定部23、遮断履歴管理部24、遮断時刻推定部26、遮断方法報知部27及び事前遮断部28の詳細については後述する。   Details of the blocking determination unit 23, the blocking history management unit 24, the blocking time estimation unit 26, the blocking method notification unit 27, and the prior blocking unit 28 will be described later.

以下、複写機1を起動するときの制御部20の動作について説明する。当該説明の中で、遮断判定部23、遮断履歴管理部24、及び遮断時刻推定部26の詳細について説明する。図2は、複写機1を起動するときの制御部20の動作を示すフローチャートである。   Hereinafter, an operation of the control unit 20 when starting the copying machine 1 will be described. In the description, details of the blocking determination unit 23, the blocking history management unit 24, and the blocking time estimation unit 26 will be described. FIG. 2 is a flowchart showing the operation of the control unit 20 when starting the copying machine 1.

図2に示すように、ユーザーが電源スイッチ91をオン状態にすると(S1)、外部電源ACから主電源部92への交流電力の供給が開始される。これにより、主電源部92は、供給された交流電力を直流電力に変換し、制御部20、表示部60、及び操作キー部70への電力の供給を開始する。   As shown in FIG. 2, when the user turns on the power switch 91 (S1), supply of AC power from the external power supply AC to the main power supply unit 92 is started. As a result, the main power supply unit 92 converts the supplied AC power into DC power, and starts supplying power to the control unit 20, the display unit 60, and the operation key unit 70.

制御部20は、主電源部92から電力が供給されるようになると、上記の起動処理を実行する(S2)。当該起動処理において、電源制御部25は、給電スイッチSW1、SW2をオン状態にし、電力モードを通常モードに切り替える(S3)。これにより、主電源部92からSSD40及び画像形成部50への電力の供給が開始される。   When power is supplied from the main power supply unit 92, the control unit 20 executes the above-described startup process (S2). In the activation process, the power supply control unit 25 turns on the power supply switches SW1 and SW2 and switches the power mode to the normal mode (S3). As a result, supply of power from the main power supply unit 92 to the SSD 40 and the image forming unit 50 is started.

起動処理によって複写機1が起動すると、遮断回数管理部22は、SSD40に自己診断機能を実行させる(S4)。そして、遮断回数管理部22は、SSD40によって出力された自己診断結果に含まれる、予期せぬ電源の遮断の累積回数を取得する(S5)。以下、説明の便宜上、「予期せぬ電源の遮断の累積回数」を「累積回数」と略記する。   When the copying machine 1 is activated by the activation process, the shut-off count management unit 22 causes the SSD 40 to execute a self-diagnosis function (S4). Then, the shut-off frequency management unit 22 acquires the cumulative number of unexpected power shut-offs included in the self-diagnosis result output by the SSD 40 (S5). Hereinafter, for the convenience of explanation, “the cumulative number of unexpected power interruptions” is abbreviated as “the cumulative number”.

ステップS5において、遮断回数管理部22が累積回数を取得すると、遮断判定部23は、当該取得された累積回数が、回数記憶部32に記憶されている前回取得された累積回数よりも大きいか否かを判定する(S6)。   In step S <b> 5, when the blocking number management unit 22 acquires the cumulative number, the blocking determination unit 23 determines whether the acquired cumulative number is larger than the previously acquired cumulative number stored in the number storage unit 32. Is determined (S6).

尚、遮断回数管理部22は、後述するように、ステップS10において、ステップS5で取得された累積回数を回数記憶部32に記憶する。つまり、前回複写機1を起動したときのステップS5において取得された累積回数が回数記憶部32に記憶されている。ただし、出荷後初めて複写機1を起動する場合、後述のステップS10は一度も実行されていない。この場合、回数記憶部32には、前回取得された累積回数の初期値として0が記憶されている。以下、説明の便宜上、「回数記憶部32に記憶されている前回取得された累積回数」を「前回累積回数」と略記する。   As described later, the shut-off count management unit 22 stores the cumulative count acquired in step S5 in the count storage unit 32 in step S10. In other words, the cumulative number acquired in step S5 when the copying machine 1 was last activated is stored in the number storage unit 32. However, when the copier 1 is started for the first time after shipment, step S10 described later has never been executed. In this case, the number storage unit 32 stores 0 as the initial value of the cumulative number acquired last time. Hereinafter, for convenience of explanation, “the previously acquired cumulative number stored in the number storage unit 32” is abbreviated as “previous cumulative number”.

ステップS6において、遮断判定部23は、ステップS5において取得された累積回数が前回累積回数以下であると判定したとする(S6;NO)。この場合、遮断回数管理部22は、ステップS5において取得された累積回数を回数記憶部32に記憶する(S10)。   In step S6, it is assumed that the interruption determination unit 23 determines that the cumulative number acquired in step S5 is equal to or less than the previous cumulative number (S6; NO). In this case, the shut-off count management unit 22 stores the cumulative count acquired in step S5 in the count storage unit 32 (S10).

一方、ステップS6において、遮断判定部23は、ステップS5において取得された累積回数が前回累積回数より大きいと判定したとする(S6;YES)。この場合、ステップS4において、SSD40が予期せぬ電源の遮断の発生を診断し、累積回数をカウントアップしたと考えられる。つまり、SSD40へのアクセス中に、例えば、停電の発生や、電源ケーブルLが引き抜かれたことや、或いは、電源スイッチ91がオフ状態にされたこと等によって、外部電源ACから主電源部92へ供給される交流電力が遮断され、主電源部92からSSD40への電力の供給が遮断されたと考えられる。   On the other hand, in step S6, the interruption determination unit 23 determines that the cumulative number acquired in step S5 is larger than the previous cumulative number (S6; YES). In this case, in step S4, it is considered that the SSD 40 diagnoses the occurrence of unexpected power supply interruption and counts up the cumulative number. In other words, during access to the SSD 40, for example, when a power failure occurs, the power cable L is pulled out, or the power switch 91 is turned off, the external power source AC switches to the main power source 92. It is considered that the supplied AC power is cut off and the supply of power from the main power supply unit 92 to the SSD 40 is cut off.

したがって、この場合(S6;YES)、遮断判定部23は、時刻記憶部31から、前回外部電源ACから供給される電力の遮断が検知されたときに遮断時刻管理部21によって記憶された遮断時刻を取得する(S7)。これにより、遮断判定部23は、当該取得した遮断時刻に、外部電源ACから供給される電力が予期せず遮断したと判定する。   Therefore, in this case (S6; YES), the interruption determination unit 23 stores the interruption time stored by the interruption time management unit 21 when the interruption of the power supplied from the external power source AC is detected from the time storage unit 31 last time. Is acquired (S7). Thereby, the interruption | blocking determination part 23 determines with the electric power supplied from the external power supply AC having cut | disconnected unexpectedly at the said acquired interruption | blocking time.

この場合、遮断履歴管理部24は、ステップS7で取得された遮断時刻を遮断履歴として履歴記憶部33に蓄積する(S8)。尚、ステップS7で取得された遮断時刻を遮断履歴として履歴記憶部33に蓄積するとは、ステップS7で取得された遮断時刻を履歴記憶部33に新たに追加して記憶することを示す。つまり、履歴記憶部33に既に遮断履歴として記憶されていた遮断時刻の集合に、ステップS7で取得された遮断時刻を追加することを示す。   In this case, the cutoff history management unit 24 accumulates the cutoff time acquired in step S7 in the history storage unit 33 as a cutoff history (S8). In addition, accumulation | storage in the log | history memory | storage part 33 as the interruption | blocking time acquired by step S7 shows that the interruption | blocking time acquired by step S7 is newly added and memorize | stored in the log | history memory | storage part 33. FIG. That is, it indicates that the cutoff time acquired in step S7 is added to the set of cutoff times already stored in the history storage unit 33 as the cutoff history.

ステップS8の実行後、遮断時刻推定部26は、履歴記憶部33に記憶されている遮断履歴に基づいて、外部電源ACから供給される電力が予期せず遮断すると考えられる遮断予定時刻を推定する(S9)。遮断時刻推定部26は、当該推定した遮断予定時刻をRAMに記憶する。   After execution of step S8, the cutoff time estimation unit 26 estimates a scheduled cutoff time at which the power supplied from the external power supply AC is expected to be cut off unexpectedly based on the cutoff history stored in the history storage unit 33. (S9). The cutoff time estimation unit 26 stores the estimated cutoff scheduled time in the RAM.

図3は、遮断時刻推定部26が遮断予定時刻を推定する処理の説明図である。例えば、図3に示すように、遮断時刻推定部26は、ステップS9において、履歴記憶部33に遮断履歴として記憶されている遮断時刻を予め定められた複数の時間帯を用いて分類し、各時間帯に含まれる遮断時刻の個数をカウントする。そして、遮断時刻推定部26は、遮断時刻の個数が予め定められた閾値以上となっている時間帯に含まれる各時刻を遮断予定時刻として推定する。   FIG. 3 is an explanatory diagram of processing in which the cutoff time estimation unit 26 estimates the scheduled cutoff time. For example, as shown in FIG. 3, the cutoff time estimation unit 26 classifies the cutoff times stored as cutoff history in the history storage unit 33 in step S9 using a plurality of predetermined time zones, Count the number of blocking times included in the time zone. Then, the cutoff time estimation unit 26 estimates each time included in the time zone in which the number of cutoff times is equal to or greater than a predetermined threshold as the scheduled cutoff time.

例えば、図3に示すように、各時間帯に含まれる遮断時刻の個数をカウントした結果、15時00分から15時59分までの時間帯、17時00分から17時59分までの時間帯、19時00分から19時59分までの時間帯、及び20時00分から7時59分までの時間帯に含まれる遮断時刻が1個存在していたとする。また、12時00分から12時59分までの時間帯に含まれる遮断時刻が5個存在し、18時00分から18時59分までの時間帯に含まれる遮断時刻が8個存在していたとする。そして、予め定められた閾値が5に定められているとする。   For example, as shown in FIG. 3, as a result of counting the number of blocking times included in each time zone, a time zone from 15:00 to 15:59, a time zone from 17:00 to 17:59, It is assumed that there is one blocking time included in the time zone from 19:00 to 19:59 and the time zone from 20:00 to 7:59. Further, it is assumed that there are five cutoff times included in the time zone from 12:00 to 12:59, and there are eight cutoff times included in the time zone from 18:00 to 18:59. . Assume that a predetermined threshold is set to 5.

この場合、遮断時刻推定部26は、12時00分から12時59分までの時間帯及び18時00分から18時59分までの時間帯が、遮断時刻の個数が閾値以上の時間帯であると判断する。そして、遮断時刻推定部26は、当該12時00分から12時59分までの時間帯及び18時00分から18時59分までの時間帯に含まれる各時刻を遮断予定時刻として推定する。   In this case, the cutoff time estimation unit 26 determines that the time zone from 12:00 to 12:59 and the time zone from 18:00 to 18:59 are time zones in which the number of cutoff times is equal to or greater than a threshold value. to decide. Then, the cutoff time estimation unit 26 estimates each time included in the time zone from 12:00 to 12:59 and the time zone from 18:00 to 18:59 as the scheduled cutoff time.

尚、図4に示す時間帯及び上記閾値は、例示に過ぎず、これに限定する趣旨ではない。また、遮断時刻推定部26は、遮断時刻の個数が予め定められた閾値以上となっている時間帯に含まれる各時刻に代えて、当該時間帯の開始時刻や終了時刻等、当該時間帯に含まれる時刻のうち所定の時刻を遮断予定時刻として推定してもよい。   In addition, the time slot | zone shown in FIG. 4 and the said threshold value are only illustrations, and are not the meaning limited to this. In addition, the shutoff time estimation unit 26 replaces each time included in the time zone in which the number of shutoff times is greater than or equal to a predetermined threshold with the start time and end time of the time zone. A predetermined time among the included times may be estimated as the scheduled cutoff time.

ステップS9の実行後も、遮断回数管理部22は、ステップS5において取得された累積回数を回数記憶部32に記憶する(S10)。   Even after execution of step S9, the shut-off count management unit 22 stores the cumulative count acquired in step S5 in the count storage unit 32 (S10).

次に、外部電源ACから供給される電力が遮断されるときの制御部20の動作について説明する。当該説明の中で、遮断方法報知部27及び事前遮断部28の詳細について説明する。図4は、外部電源ACから供給される電力が遮断されるときの制御部20の動作を示すフローチャートである。   Next, the operation of the control unit 20 when the power supplied from the external power supply AC is interrupted will be described. In the said description, the detail of the interruption | blocking method alerting | reporting part 27 and the prior interruption | blocking part 28 is demonstrated. FIG. 4 is a flowchart showing the operation of the control unit 20 when the power supplied from the external power supply AC is cut off.

図4に示すように、遮断時刻管理部21によって計時された現在時刻が、ステップS9でRAMに記憶された遮断予定時刻である場合(S11;YES)、遮断方法報知部27は、外部電源ACから供給される電力の正規の遮断方法を示すメッセージを表示部60に表示する(S12)。これにより、遮断方法報知部27は、外部電源ACから供給される電力の正規の遮断方法をユーザーへ報知する。   As shown in FIG. 4, when the current time measured by the shut-off time management unit 21 is the shut-off scheduled time stored in the RAM in step S9 (S11; YES), the shut-off method notifying unit 27 uses the external power supply AC. A message indicating a normal method for shutting off the power supplied from the terminal is displayed on the display unit 60 (S12). Thereby, the interruption | blocking method alerting | reporting part 27 alert | reports to the user the regular interruption | blocking method of the electric power supplied from external power supply AC.

尚、外部電源ACから供給される電力の正規の遮断方法とは、例えば、コピー処理が実行中であるか否かを示すインジケーターが消灯していることを確認した後、電源スイッチ91をオフする等である。また、音声を出力するスピーカーを複写機1に設けるようにし、遮断方法報知部27は、ステップS12において、上記電力の正規の遮断方法を示す音声を当該スピーカーから出力することによって、上記電力の正規の遮断方法をユーザーへ報知してもよい。   The normal method for shutting off the power supplied from the external power supply AC is, for example, that the power switch 91 is turned off after confirming that the indicator indicating whether or not the copy process is being performed is off. Etc. In addition, a speaker that outputs sound is provided in the copying machine 1, and the interruption method notification unit 27 outputs the sound indicating the normal interruption method of the power from the speaker in step S <b> 12, so that the normality of the power is output. The user may be notified of the blocking method.

また、遮断時刻管理部21によって計時された現在時刻が、ステップS9でRAMに記憶された遮断予定時刻である場合(S11;YES)、事前遮断部28は、電源制御部25に、電力モードを省エネモードへ切り替える(移行する)よう指示する(S13)。これにより、電源制御部25は、電力モードを省エネモードへ切り替えるために、SSD40へのアクセス及び画像形成部50によるコピー処理の実行が終了するまで待機した後、給電スイッチSW1、SW2をオフ状態にする。   When the current time measured by the shut-off time management unit 21 is the scheduled shut-off time stored in the RAM in step S9 (S11; YES), the prior shut-off unit 28 sets the power mode to the power control unit 25. An instruction is given to switch (transfer) to the energy saving mode (S13). Thereby, the power supply control unit 25 waits until the access to the SSD 40 and the execution of the copy process by the image forming unit 50 are completed in order to switch the power mode to the energy saving mode, and then sets the power supply switches SW1 and SW2 to the off state. To do.

このようにして、事前遮断部28は、遮断時刻管理部21により計時された現在時刻が遮断予定時刻になると、SSD40へのアクセスが終了するまで待機した後に、主電源部92が外部電源ACから供給される電力を用いて生成した直流電力のSSD40への供給を遮断する。尚、遮断予定時刻以降に、操作キー部70を用いた操作が行われた場合には、電源制御部25は、電力モードを通常モードに切り替える。これにより、主電源部92からSSD40への電力の供給が再開され、SSD40へのアクセスは可能になる。   In this way, when the current time counted by the shut-off time management unit 21 reaches the scheduled shut-off time, the pre-shut-off unit 28 waits until the access to the SSD 40 is completed, and then the main power unit 92 receives the power from the external power source AC. The supply of the direct-current power generated using the supplied power to the SSD 40 is cut off. Note that, when an operation using the operation key unit 70 is performed after the scheduled shut-off time, the power supply control unit 25 switches the power mode to the normal mode. As a result, the supply of power from the main power supply unit 92 to the SSD 40 is resumed, and access to the SSD 40 becomes possible.

ステップS13の実行後及び遮断時刻管理部21によって計時された現在時刻が遮断予定時刻ではない場合(S11;NO)に、遮断検知回路93によって外部電源ACから供給される電力の遮断が検知され、ローレベルの信号が制御部20に入力されたとする(S14;YES)。この場合、遮断時刻管理部21は、リアルタイムクロック回路を用いて計時した現在時刻を、遮断時刻として時刻記憶部31に記憶する(S15)。   After the execution of step S13 and when the current time measured by the cutoff time management unit 21 is not the scheduled cutoff time (S11; NO), the cutoff detection circuit 93 detects the cutoff of the power supplied from the external power source AC, It is assumed that a low level signal is input to the control unit 20 (S14; YES). In this case, the cutoff time management unit 21 stores the current time measured using the real-time clock circuit in the time storage unit 31 as the cutoff time (S15).

一方、ステップS13の実行後及び遮断時刻管理部21によって計時されている現在時刻が遮断予定時刻ではない場合(S11;NO)に、遮断検知回路93によって外部電源ACから供給される電力の遮断が検知されず、ハイレベルの信号が制御部20に入力されたとする(S14;NO)。この場合、ステップS11以降の処理が繰り返される。   On the other hand, after the execution of step S13 and when the current time measured by the cutoff time management unit 21 is not the scheduled cutoff time (S11; NO), the cutoff detection circuit 93 cuts off the power supplied from the external power source AC. It is assumed that a high level signal is input to the control unit 20 without being detected (S14; NO). In this case, the process after step S11 is repeated.

上記実施形態の構成によれば、外部電源ACから供給される電力が時刻記憶部31に記憶されている遮断時刻に予期せず遮断したことを判定することができる。これにより、外部電源ACから供給される電力が予期せず遮断した時刻を把握することができる。   According to the configuration of the above-described embodiment, it can be determined that the power supplied from the external power supply AC has been unexpectedly cut off at the cutoff time stored in the time storage unit 31. Thereby, the time when the electric power supplied from the external power supply AC is cut off unexpectedly can be grasped.

このため、当該把握した時刻に外部電源ACから供給される電力が予期せず遮断する傾向にあると考え、当該把握した時刻になったときに、SSD40が予期せぬ電源の遮断を診断しないようにするための対処を行うことができる。これにより、複写機1の起動時に、予期せぬ電源の遮断が発生したSSD40においてデータの整合性を取り直す等のリカバリー処理が行われる頻度を低減することができる。その結果、複写機1を迅速に起動することができる。   For this reason, it is considered that the power supplied from the external power supply AC tends to be unexpectedly cut off at the grasped time, and the SSD 40 does not diagnose an unexpected power supply cut-off at the grasped time. To take action. As a result, it is possible to reduce the frequency with which recovery processing such as re-matching data consistency is performed in the SSD 40 in which an unexpected power interruption has occurred when the copying machine 1 is started. As a result, the copying machine 1 can be started quickly.

また、上記実施形態の構成によれば、外部電源ACから供給される電力が予期せず遮断された遮断時刻が、遮断履歴として履歴記憶部33に蓄積される。そして、当該遮断履歴に基づいて、外部電源ACから供給される電力が予期せず遮断すると考えられる遮断予定時刻が推定される。このため、履歴記憶部33に遮断履歴として蓄積される遮断時刻の数が多くなるほど、外部電源ACから供給される電力が予期せず遮断すると考えられる遮断予定時刻をより精度良く推定することができる。   Further, according to the configuration of the above-described embodiment, the cutoff time when the power supplied from the external power supply AC is unexpectedly cut off is accumulated in the history storage unit 33 as a cut-off history. Based on the cutoff history, a scheduled cutoff time at which the power supplied from the external power supply AC is expected to be cut off unexpectedly is estimated. For this reason, as the number of shut-off times stored as the shut-off history in the history storage unit 33 increases, the scheduled shut-off time at which the power supplied from the external power supply AC is considered to be shut off unexpectedly can be estimated with higher accuracy. .

また、上記実施形態の構成によれば、現在時刻が遮断予定時刻になったときに、外部電源ACから供給される電力の正規の遮断方法をユーザーに気付かせ易くなる。これによって、現在時刻が遮断予定時刻になったときに、ユーザーが外部電源ACから供給される電力を予期せず遮断する操作を行う虞を軽減することができる。外部電源ACから供給される電力を予期せず遮断する操作とは、例えば、コピー処理の実行中に電源ケーブルLを引き抜く、或いは、コピー処理の実行中に電源スイッチ91をオフ状態にする等である。   In addition, according to the configuration of the above-described embodiment, when the current time becomes the scheduled cutoff time, it becomes easy for the user to notice the normal cutoff method of the power supplied from the external power supply AC. Accordingly, it is possible to reduce the possibility that the user performs an operation of unexpectedly cutting off the power supplied from the external power supply AC when the current time becomes the scheduled cutoff time. The operation of unexpectedly cutting off the power supplied from the external power supply AC is, for example, pulling out the power cable L during the execution of the copy process or turning off the power switch 91 during the execution of the copy process. is there.

また、上記実施形態の構成によれば、現在時刻が遮断予定時刻になると、電力モードが省エネモードに切り替えられる。つまり、現在時刻が遮断予定時刻になると、SSD40へのアクセスが終了するまで待機した後に、主電源部92が外部電源ACから供給される電力を用いて生成した直流電力のSSD40への供給が遮断される。これにより、現在時刻が遮断予定時刻になったときに、SSD40において予期せぬ電源の遮断が発生する虞を低減することができる。その結果、複写機1の起動時に、SSD4のデータの整合性を取り直す等のリカバリー処理を行う機会が低減され、迅速に複写機1を起動することができる。   Further, according to the configuration of the above embodiment, when the current time becomes the scheduled cutoff time, the power mode is switched to the energy saving mode. That is, when the current time reaches the scheduled shutdown time, the supply of the DC power generated by the main power supply unit 92 using the power supplied from the external power supply AC to the SSD 40 is cut off after waiting until the access to the SSD 40 is completed. Is done. As a result, when the current time becomes the scheduled shutdown time, it is possible to reduce the possibility of unexpected power shutdown in the SSD 40. As a result, when the copying machine 1 is started up, the chance of performing a recovery process such as restoring the data consistency of the SSD 4 is reduced, and the copying machine 1 can be started up quickly.

尚、上記実施形態において図1及び図4に示した構成等は単なる一例に過ぎず、本発明を当該実施形態に限定する趣旨ではない。   In the above embodiment, the configurations shown in FIGS. 1 and 4 are merely examples, and the present invention is not limited to the embodiment.

例えば、制御部20が遮断方法報知部27を構成しないよう簡素化し、ステップS12(図4)を省略してもよい。又は、制御部20が事前遮断部28を構成しないよう簡素化し、ステップS13(図4)を省略してもよい。又は、制御部20が遮断方法報知部27及び事前遮断部28を構成しないよう簡素化し、ステップS11〜S13(図4)を省略してもよい。   For example, the control unit 20 may be simplified so as not to configure the blocking method notification unit 27, and step S12 (FIG. 4) may be omitted. Or it simplifies so that control part 20 may not constitute prior interception part 28, and Step S13 (Drawing 4) may be omitted. Or it simplifies so that control part 20 may not constitute interception method information part 27 and prior interception part 28, and steps S11-S13 (Drawing 4) may be omitted.

また、制御部20が遮断履歴管理部24及び遮断時刻推定部26を構成しないように簡素化し、ステップS8及びステップS9(図2)を省略してもよい。これに合わせて、遮断判定部23は、ステップS7において遮断時刻を取得後、当該遮断時刻に予期せぬ電源遮断が発生したことを示すメッセージを表示部60に表示する等して、当該遮断時刻に予期せぬ電源遮断が発生したことをユーザーへ報知してもよい。   Further, the control unit 20 may be simplified so as not to configure the cutoff history management unit 24 and the cutoff time estimation unit 26, and step S8 and step S9 (FIG. 2) may be omitted. In accordance with this, the interruption determination unit 23 acquires the interruption time in step S7, and then displays a message indicating that an unexpected power interruption has occurred at the interruption time on the display unit 60, for example. The user may be notified that an unexpected power shutdown has occurred.

また、上記実施形態では、本発明に係る記憶装置の一例としてSSD40を例に説明したが、これに限定する趣旨ではなく、記憶装置は、例えば、HDD(Hard Disk Drive)であってもよい。つまり、自己診断機能を有し、自己診断結果として予期せぬ電源の遮断の累積回数を出力可能な記憶装置が採用されてもよい。   In the above embodiment, the SSD 40 has been described as an example of the storage device according to the present invention. However, the present invention is not limited to this, and the storage device may be, for example, an HDD (Hard Disk Drive). That is, a storage device having a self-diagnosis function and capable of outputting the cumulative number of unexpected power-offs as a self-diagnosis result may be employed.

1 複写機(電子機器)
21 遮断時刻管理部
22 遮断回数管理部
23 遮断判定部
24 遮断履歴管理部
25 電源制御部
26 遮断時刻推定部
27 遮断方法報知部
28 事前遮断部
31 時刻記憶部
32 回数記憶部
33 履歴記憶部
40 SSD(記憶装置)
91 電源スイッチ
92 主電源部
93 遮断検知回路(遮断検知部)
94 予備電源部
AC 外部電源
1 Copying machine (electronic equipment)
DESCRIPTION OF SYMBOLS 21 Blocking time management part 22 Blocking frequency management part 23 Blocking determination part 24 Blocking history management part 25 Power supply control part 26 Blocking time estimation part 27 Blocking method notification part 28 Pre-blocking part 31 Time storage part 32 Count storage part 33 History storage part 40 SSD (storage device)
91 Power switch 92 Main power supply 93 Shutdown detection circuit (shutoff detection unit)
94 Auxiliary power supply AC external power supply

Claims (4)

予期せぬ電源の遮断を診断項目として持つ自己診断機能を実行し、前記予期せぬ電源の遮断の累積回数を出力する記憶装置と、
外部電源から供給される電力の遮断を検知する遮断検知部と、
前記遮断検知部によって前記遮断が検知された場合、現在時刻を計時し、且つ、当該計時した現在時刻を遮断時刻として不揮発性の時刻記憶部に記憶する遮断時刻管理部と、
電子機器が起動する度に、前記記憶装置に前記自己診断機能を実行させ、前記記憶装置によって出力された前記累積回数を取得し、当該取得した前記累積回数を不揮発性の回数記憶部に記憶する遮断回数管理部と、
前記遮断回数管理部が前記累積回数を取得したとき、当該累積回数が前記回数記憶部に記憶されている前回取得された前記累積回数よりも大きい場合、前記外部電源から供給される電力が前記時刻記憶部に記憶されている前記遮断時刻に予期せず遮断したと判定する遮断判定部と、
を備える電子機器。
A storage device that executes a self-diagnosis function having an unexpected power shutdown as a diagnostic item, and outputs the cumulative number of unexpected power shutdowns;
An interruption detection unit for detecting interruption of electric power supplied from an external power source;
When the interruption is detected by the interruption detection unit, the current time is counted, and the interruption time management unit stores the current time measured in the nonvolatile time storage unit as the interruption time;
Each time an electronic device is activated, the storage device executes the self-diagnosis function, acquires the cumulative number output by the storage device, and stores the acquired cumulative number in a nonvolatile number storage unit Blocking frequency management department,
When the shut-off number management unit acquires the cumulative number, when the cumulative number is larger than the cumulative number acquired last time stored in the number storage unit, the power supplied from the external power source is the time A shut-off determination unit that determines that the shut-off is unexpectedly shut off at the shut-off time stored in the storage unit;
Electronic equipment comprising.
前記時刻記憶部に記憶されている前記遮断時刻を遮断履歴として不揮発性の履歴記憶部に蓄積する遮断履歴管理部と、
前記履歴記憶部に記憶されている前記遮断履歴に基づいて、前記外部電源から供給される電力が予期せず遮断すると考えられる遮断予定時刻を推定する遮断時刻推定部を更に備える請求項1に記載の電子機器。
A block history management unit that stores the block time stored in the time storage unit as a block history in a non-volatile history storage unit;
The shut-off time estimation unit that estimates a scheduled shut-off time at which the power supplied from the external power source is considered to be shut off unexpectedly based on the shut-off history stored in the history storage unit. Electronic equipment.
前記遮断時刻管理部により計時された現在時刻が前記遮断時刻推定部によって推定された前記遮断予定時刻になると、前記外部電源から供給される電力の正規の遮断方法を報知する遮断方法報知部を更に備える請求項2に記載の電子機器。   A shut-off method notifying unit for notifying a normal shut-off method of the power supplied from the external power supply when the current time measured by the shut-off time managing unit reaches the scheduled shut-off time estimated by the shut-off time estimating unit; The electronic device according to claim 2 provided. 前記遮断時刻管理部により計時された現在時刻が前記遮断時刻推定部によって推定された前記遮断予定時刻になると、前記記憶装置へのアクセスが終了するまで待機した後に前記外部電源から供給される電力の前記記憶装置への供給を遮断する省エネモードへ移行する事前遮断部と、
を更に備える請求項2又は3に記載の電子機器。
When the current time counted by the shut-off time management unit becomes the scheduled shut-off time estimated by the shut-off time estimating unit, the power supplied from the external power supply after waiting until the access to the storage device is completed A pre-blocking unit that shifts to an energy-saving mode that blocks supply to the storage device;
The electronic device according to claim 2, further comprising:
JP2013245978A 2013-11-28 2013-11-28 Electronics Expired - Fee Related JP6025696B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013245978A JP6025696B2 (en) 2013-11-28 2013-11-28 Electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013245978A JP6025696B2 (en) 2013-11-28 2013-11-28 Electronics

Publications (2)

Publication Number Publication Date
JP2015103222A JP2015103222A (en) 2015-06-04
JP6025696B2 true JP6025696B2 (en) 2016-11-16

Family

ID=53378821

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013245978A Expired - Fee Related JP6025696B2 (en) 2013-11-28 2013-11-28 Electronics

Country Status (1)

Country Link
JP (1) JP6025696B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7251172B2 (en) * 2019-01-30 2023-04-04 ブラザー工業株式会社 Information processing device, control method for information processing device, and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5828271Y2 (en) * 1982-03-25 1983-06-20 富士通株式会社 data collector device
JPH05324137A (en) * 1992-05-11 1993-12-07 Nec Corp Terminal equipment having instantaneous disconnection detection storing part
JPH06300560A (en) * 1993-04-19 1994-10-28 Nikon Corp Electronic surveying equipment
JPH06348535A (en) * 1993-06-07 1994-12-22 Toshiba Corp Abnormality generation history storage device

Also Published As

Publication number Publication date
JP2015103222A (en) 2015-06-04

Similar Documents

Publication Publication Date Title
EP2535772A2 (en) Image forming apparatus that shifts to state where quick activation is possible, method of controlling the same, and storage medium
JP2013137835A (en) Microcomputer and method of operation thereof
JP2014079956A (en) Information processing apparatus, control method of the same, and program
JP6025696B2 (en) Electronics
CN109905561B (en) Information processing apparatus, control method for information processing apparatus, and storage medium
JP2000250664A (en) Method for monitoring and controlling schedule operation of power unit, power controller, and power system
JP2007318899A (en) Electric motor drive and method of driving electric motor
KR20160011603A (en) Information processing apparatus, control method for information processing apparatus, and storage medium
CN104349001B (en) Information processor and its control method
JP6319167B2 (en) Electronic equipment and reboot program
JP2011090401A (en) Data storage device and data storage system equipped with the same
JP2016110642A (en) Information processing device, restart execution method and restart execution program
CN105244050B (en) Image forming apparatus and control method of image forming apparatus
US10129389B2 (en) Communication apparatus, control method for communication apparatus, and storage medium
JP2012048681A (en) Display terminal and control program
JP2007118399A (en) Printer and its low-voltage error reporting method
JP2011051258A (en) Image forming apparatus
JP2010003132A (en) Information processor, and fault detection method of input/output device thereof, and program thereof
JP2014178254A (en) Notification control device, notification device, electronic equipment, notification control method and program
JP2014176153A (en) Electric equipment, and control method and program of electric equipment
JP2016207124A (en) Electronic equipment and reboot program
JP4987450B2 (en) Image forming apparatus
JP2008251821A (en) Restoration device of logic programmable device
JP2016139298A (en) Image processor
JP6305191B2 (en) Cutting control device and cutting control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150925

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160817

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161011

R150 Certificate of patent or registration of utility model

Ref document number: 6025696

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees