JP6025696B2 - Electronics - Google Patents
Electronics Download PDFInfo
- 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
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.
しかし、上記特許文献1に記載の技術では、記憶装置へのアクセス中に主電源スイッチによって電源の遮断が行われていたとしても何ら警告されないので、ユーザーは主電源スイッチによって電源の遮断を行うことを繰り返す虞がある。これにより、電子機器の起動時に記憶装置のリカバリー処理が行われる頻度が高まる虞があった。その結果、電子機器の起動に要する時間が長くなる虞があった。
However, in the technology described in
本発明は、上記の問題を解決するためになされたもので、迅速に起動することができる電子機器を提供することを目的とする。 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.
以下、本発明に係る電子機器の一実施形態を図面に基づいて説明する。尚、本実施形態では、電子機器として複写機を例に説明するが、これに限定する趣旨ではなく、電子機器は、例えば、プリンター、ファクシミリ装置、又はスキャナー等の画像処理装置や、これら画像処理装置の機能を兼ね備えた複合機、ゲーム機、携帯電話、及びカーナビゲーション装置であってもよい。 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
電源スイッチ91は、ユーザーの操作によって、オン状態(閉状態)又はオフ状態(開状態)に切り替えられるスイッチである。電源スイッチ91は、電源ケーブルLの一端に接続されている。電源ケーブルLの他端は、外部電源ACに接続されている。電源スイッチ91がオン状態になると、外部電源ACから供給される交流電力(電力)が、電源ケーブルLを介して主電源部92へ供給される。一方、電源スイッチ91がオフ状態になると、外部電源ACから主電源部92への交流電力の供給が遮断される。
The
主電源部92は、不図示のACDCコンバーターを備えている。主電源部92は、当該ACDCコンバーターを用いて、電源スイッチ91を介して外部電源ACから供給された交流電力を予め定められた電圧レベルの直流電力に変換する。
The main
遮断検知回路93は、外部電源ACから供給される交流電力が遮断されたか否かを検知する。具体的には、遮断検知回路93は、不図示のコンパレーターを備えている。遮断検知回路93は、コンパレーターを用いて、主電源部92から供給される電力が上記の予め定められた電圧レベル以上の場合にハイレベルの信号を予備電源部94及び制御部20へ出力する。一方、遮断検知回路93は、コンパレーターを用いて、主電源部92から供給される電力が上記の予め定められた電圧レベルよりも小さい場合にローレベルの信号を予備電源部94及び制御部20へ出力する。
The
例えば、停電の発生や、電源ケーブルLが引き抜かれたことや、或いは、電源スイッチ91がオフ状態にされたこと等によって、外部電源ACから主電源部92へ供給される交流電力が遮断されたとする。この場合、主電源部92は、外部電源ACから交流電力が供給されないので、上記の予め定められた電圧レベルよりも小さい電圧レベルの直流電力を出力する。
For example, the AC power supplied from the external power supply AC to the main
つまり、遮断検知回路93は、主電源部92から供給される直流電力の電圧レベルが上記の予め定められた電圧レベルよりも小さいことによって、外部電源ACから供給される交流電力が遮断されたことを検知する。この場合、遮断検知回路93は、ローレベルの信号を出力する。一方、遮断検知回路93は、主電源部92から供給される直流電力が上記電圧レベル以上であることによって、外部電源ACから供給される交流電力が遮断されていないことを検知する。この場合、遮断検知回路93は、ハイレベルの信号を出力する。
In other words, the
予備電源部94は、不図示のコンデンサーや蓄電池等の二次電池を備えている。予備電源部94は、主電源部92から供給される電力を二次電池に蓄電する。予備電源部94は、遮断検知回路93からローレベルの信号が入力されると、外部電源ACから主電源部92への交流電力の供給が遮断されたと判断し、内部の二次電池に蓄電された電力を制御部20へ供給する。これによって、予備電源部94は、外部電源ACから主電源部92への交流電力の供給が遮断された場合であっても、制御部20を一時的に動作可能な状態にする。
The standby
給電スイッチ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
SSD40は、S.M.A.R.T(Self−Monitoring Analysis and Reporting Technology)と呼ばれる自己診断機能を備えた記憶装置である。SSD40には、例えば、画像形成部50によるコピー処理の実行時に読み取った原稿の画像を示す画像データ等が記憶される。
The
SSD40は、給電スイッチSW1がオン状態となり、主電源部92から電力が供給されるようになると、自己診断機能を実行する。SSD40は、自己診断機能を実行することにより、所定の診断項目をリアルタイムに自己診断し、診断結果を数値化して出力する。
The
上記診断項目には、例えば、予期せぬ電源の遮断が発生したか、データの読み取り時にエラーが発生したか、データの書き込み中にエラーが発生したか等を示す診断項目が含まれる。予期せぬ電源の遮断とは、例えば、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
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
給電スイッチ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
画像形成部50は、制御部20による制御の下、コピー処理を実行する。コピー処理とは、不図示の原稿台に載置された原稿の画像を読み取り、読み取った画像を用紙に形成する処理である。
The
表示部60は、例えば、各種情報を表示する液晶ディスプレイや、コピー処理の実行中に点灯し、コピー処理を実行していないときに消灯するインジケーター等を含み、各種情報や複写機1の稼働状況をユーザーに視認させるために設けられている。
The
操作キー部70は、例えば、画像形成部50によるコピー処理の開始を指示するためのスタートキーや、テンキー等、ユーザーに複写機1の各種操作指示を入力させるための各種操作キーを含んでいる。
The operation
表示部60及び操作キー部70は、給電スイッチを介さずに主電源部92に直接的に接続されている。このため、表示部60及び操作キー部70は、外部電源ACから主電源部92へ電力が供給され、これにより、主電源部92から電力が供給されている間は動作可能な状態にある。
The
制御部20は、不図示のCPU(Central Processing Unit)と、当該CPUにより実行される制御プログラム等が記憶されたEEPROM等の不図示の不揮発性メモリーと、データを一時的に記憶するための不図示のRAM(Random Access Memory)と、制御バスBを介して、SSD40、画像形成部50、表示部60、及び操作キー部70との間で通信を行うための通信インターフェイス回路や、現在時刻を計時するリアルタイムクロック回路等の周辺回路と、を備えている。不揮発性メモリーには、例えば、画像を用紙に形成するときの初期濃度値等のコピー処理の初期条件や、表示部60に表示するメッセージや画像等が記憶されている。
The
制御部20は、電源スイッチ91がオン状態にされ、主電源部92から電力が供給されるようになると、不揮発性メモリーに記憶された制御プログラムをCPUに実行させることにより、複写機1を起動する起動処理を行う。
When the
当該起動処理には、例えば、不揮発性メモリーに予め記憶されている各種初期設定値を読み出して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
起動処理によって複写機1が起動すると、制御部20は、不揮発性メモリーに記憶された制御プログラムをCPUに実行させることにより、通信インターフェイス回路を用いて、SSD40、画像形成部50、表示部60、及び操作キー部70との間で通信を行い、SSD40、画像形成部50、表示部60、及び操作キー部70を統括して制御する。
When the copying
具体的には、制御部20は、不揮発性メモリーに記憶された制御プログラムをCPUに実行させることによって、電源制御部25、遮断時刻管理部21、遮断回数管理部22、遮断判定部23、遮断履歴管理部24、遮断時刻推定部26、遮断方法報知部27、及び事前遮断部28を構成する。また、制御部20は、不揮発性メモリーの記憶領域の一部を、時刻記憶部31、回数記憶部32、及び履歴記憶部33として用いる。
Specifically, the
電源制御部25は、通常モードと省エネモードとの間で電力モードを切り替える。通常モードは、主電源部92からSSD40、画像形成部50、表示部60、及び操作キー部70へ電力を供給させる電力モードである。つまり、電力モードが通常モードの場合、制御部20、SSD40、画像形成部50、表示部60、及び操作キー部70は、主電源部92から供給される電力で動作可能であり、コピー処理を実行することができる。
The
一方、省エネモードは、主電源部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
電源制御部25は、上記起動処理において電力モードを通常モードに切り替える。そして、電源制御部25は、電力モードが通常モードの場合に複写機1の操作が一定期間行われなかったときは、電力モードを省エネモードに切り替える。その後、電源制御部25は、電力モードが省電力モードの場合に、操作キー部70を用いて何らかの操作指示が入力された場合は、電力モードを再び通常モードに切り替える。
The power
電源制御部25は、電力モードを通常モードに切り替えるときは、給電スイッチSW1、SW2をオン状態にする。一方、電源制御部25は、電力モードを省エネモードに切り替えるときは、SSD40へのアクセス及び画像形成部50によるコピー処理の実行が終了するまで待機した後、給電スイッチSW1、SW2をオフ状態にする。
The power
遮断時刻管理部21は、リアルタイムクロック回路を用いて現在時刻を計時する。尚、遮断検知回路93からローレベルの信号が入力され、つまり、遮断検知回路93によって外部電源ACから供給される電力の遮断が検知された場合、遮断時刻管理部21は、予備電源部94から供給される電力を用いて、現在時刻を計時する。
The cutoff
また、遮断時刻管理部21は、遮断検知回路93からローレベルの信号が入力されたとき、つまり、遮断検知回路93によって外部電源ACから供給される電力の遮断が検知されたときに計時した現在時刻を、予備電源部94から供給される電力を用いて、遮断時刻として時刻記憶部31に記憶する。例えば、制御部20に遮断検知回路93からローレベルの信号が入力されたとき、遮断時刻管理部21は、現在時刻が12時05分であると計時したとする。この場合、遮断時刻管理部21は、12時05分を遮断時刻として時刻記憶部31に記憶する。
In addition, the cutoff
遮断回数管理部22は、上記起動処理によって複写機1が起動する度に、SSD40に自己診断機能を実行させる。そして、遮断回数管理部22は、SSD40によって出力された自己診断結果に含まれる予期せぬ電源の遮断の累積回数を取得し、当該取得した累積回数を回数記憶部32に記憶する。
The shut-off
遮断判定部23、遮断履歴管理部24、遮断時刻推定部26、遮断方法報知部27及び事前遮断部28の詳細については後述する。
Details of the blocking
以下、複写機1を起動するときの制御部20の動作について説明する。当該説明の中で、遮断判定部23、遮断履歴管理部24、及び遮断時刻推定部26の詳細について説明する。図2は、複写機1を起動するときの制御部20の動作を示すフローチャートである。
Hereinafter, an operation of the
図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
制御部20は、主電源部92から電力が供給されるようになると、上記の起動処理を実行する(S2)。当該起動処理において、電源制御部25は、給電スイッチSW1、SW2をオン状態にし、電力モードを通常モードに切り替える(S3)。これにより、主電源部92からSSD40及び画像形成部50への電力の供給が開始される。
When power is supplied from the main
起動処理によって複写機1が起動すると、遮断回数管理部22は、SSD40に自己診断機能を実行させる(S4)。そして、遮断回数管理部22は、SSD40によって出力された自己診断結果に含まれる、予期せぬ電源の遮断の累積回数を取得する(S5)。以下、説明の便宜上、「予期せぬ電源の遮断の累積回数」を「累積回数」と略記する。
When the copying
ステップS5において、遮断回数管理部22が累積回数を取得すると、遮断判定部23は、当該取得された累積回数が、回数記憶部32に記憶されている前回取得された累積回数よりも大きいか否かを判定する(S6)。
In step S <b> 5, when the blocking
尚、遮断回数管理部22は、後述するように、ステップS10において、ステップS5で取得された累積回数を回数記憶部32に記憶する。つまり、前回複写機1を起動したときのステップS5において取得された累積回数が回数記憶部32に記憶されている。ただし、出荷後初めて複写機1を起動する場合、後述のステップS10は一度も実行されていない。この場合、回数記憶部32には、前回取得された累積回数の初期値として0が記憶されている。以下、説明の便宜上、「回数記憶部32に記憶されている前回取得された累積回数」を「前回累積回数」と略記する。
As described later, the shut-off
ステップS6において、遮断判定部23は、ステップS5において取得された累積回数が前回累積回数以下であると判定したとする(S6;NO)。この場合、遮断回数管理部22は、ステップS5において取得された累積回数を回数記憶部32に記憶する(S10)。
In step S6, it is assumed that the
一方、ステップS6において、遮断判定部23は、ステップS5において取得された累積回数が前回累積回数より大きいと判定したとする(S6;YES)。この場合、ステップS4において、SSD40が予期せぬ電源の遮断の発生を診断し、累積回数をカウントアップしたと考えられる。つまり、SSD40へのアクセス中に、例えば、停電の発生や、電源ケーブルLが引き抜かれたことや、或いは、電源スイッチ91がオフ状態にされたこと等によって、外部電源ACから主電源部92へ供給される交流電力が遮断され、主電源部92からSSD40への電力の供給が遮断されたと考えられる。
On the other hand, in step S6, the
したがって、この場合(S6;YES)、遮断判定部23は、時刻記憶部31から、前回外部電源ACから供給される電力の遮断が検知されたときに遮断時刻管理部21によって記憶された遮断時刻を取得する(S7)。これにより、遮断判定部23は、当該取得した遮断時刻に、外部電源ACから供給される電力が予期せず遮断したと判定する。
Therefore, in this case (S6; YES), the
この場合、遮断履歴管理部24は、ステップS7で取得された遮断時刻を遮断履歴として履歴記憶部33に蓄積する(S8)。尚、ステップS7で取得された遮断時刻を遮断履歴として履歴記憶部33に蓄積するとは、ステップS7で取得された遮断時刻を履歴記憶部33に新たに追加して記憶することを示す。つまり、履歴記憶部33に既に遮断履歴として記憶されていた遮断時刻の集合に、ステップS7で取得された遮断時刻を追加することを示す。
In this case, the cutoff
ステップS8の実行後、遮断時刻推定部26は、履歴記憶部33に記憶されている遮断履歴に基づいて、外部電源ACから供給される電力が予期せず遮断すると考えられる遮断予定時刻を推定する(S9)。遮断時刻推定部26は、当該推定した遮断予定時刻をRAMに記憶する。
After execution of step S8, the cutoff
図3は、遮断時刻推定部26が遮断予定時刻を推定する処理の説明図である。例えば、図3に示すように、遮断時刻推定部26は、ステップS9において、履歴記憶部33に遮断履歴として記憶されている遮断時刻を予め定められた複数の時間帯を用いて分類し、各時間帯に含まれる遮断時刻の個数をカウントする。そして、遮断時刻推定部26は、遮断時刻の個数が予め定められた閾値以上となっている時間帯に含まれる各時刻を遮断予定時刻として推定する。
FIG. 3 is an explanatory diagram of processing in which the cutoff
例えば、図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
尚、図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
ステップS9の実行後も、遮断回数管理部22は、ステップS5において取得された累積回数を回数記憶部32に記憶する(S10)。
Even after execution of step S9, the shut-off
次に、外部電源ACから供給される電力が遮断されるときの制御部20の動作について説明する。当該説明の中で、遮断方法報知部27及び事前遮断部28の詳細について説明する。図4は、外部電源ACから供給される電力が遮断されるときの制御部20の動作を示すフローチャートである。
Next, the operation of the
図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
尚、外部電源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
また、遮断時刻管理部21によって計時された現在時刻が、ステップS9でRAMに記憶された遮断予定時刻である場合(S11;YES)、事前遮断部28は、電源制御部25に、電力モードを省エネモードへ切り替える(移行する)よう指示する(S13)。これにより、電源制御部25は、電力モードを省エネモードへ切り替えるために、SSD40へのアクセス及び画像形成部50によるコピー処理の実行が終了するまで待機した後、給電スイッチSW1、SW2をオフ状態にする。
When the current time measured by the shut-off
このようにして、事前遮断部28は、遮断時刻管理部21により計時された現在時刻が遮断予定時刻になると、SSD40へのアクセスが終了するまで待機した後に、主電源部92が外部電源ACから供給される電力を用いて生成した直流電力のSSD40への供給を遮断する。尚、遮断予定時刻以降に、操作キー部70を用いた操作が行われた場合には、電源制御部25は、電力モードを通常モードに切り替える。これにより、主電源部92からSSD40への電力の供給が再開され、SSD40へのアクセスは可能になる。
In this way, when the current time counted by the shut-off
ステップ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
一方、ステップ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
上記実施形態の構成によれば、外部電源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
このため、当該把握した時刻に外部電源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
また、上記実施形態の構成によれば、外部電源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
また、上記実施形態の構成によれば、現在時刻が遮断予定時刻になると、電力モードが省エネモードに切り替えられる。つまり、現在時刻が遮断予定時刻になると、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
尚、上記実施形態において図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
また、制御部20が遮断履歴管理部24及び遮断時刻推定部26を構成しないように簡素化し、ステップS8及びステップS9(図2)を省略してもよい。これに合わせて、遮断判定部23は、ステップS7において遮断時刻を取得後、当該遮断時刻に予期せぬ電源遮断が発生したことを示すメッセージを表示部60に表示する等して、当該遮断時刻に予期せぬ電源遮断が発生したことをユーザーへ報知してもよい。
Further, the
また、上記実施形態では、本発明に係る記憶装置の一例としてSSD40を例に説明したが、これに限定する趣旨ではなく、記憶装置は、例えば、HDD(Hard Disk Drive)であってもよい。つまり、自己診断機能を有し、自己診断結果として予期せぬ電源の遮断の累積回数を出力可能な記憶装置が採用されてもよい。
In the above embodiment, the
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
91
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又は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:
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)
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)
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 |
-
2013
- 2013-11-28 JP JP2013245978A patent/JP6025696B2/en not_active Expired - Fee Related
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 |