JP2000071566A - Imaging apparatus and control method therefor - Google Patents

Imaging apparatus and control method therefor

Info

Publication number
JP2000071566A
JP2000071566A JP10245096A JP24509698A JP2000071566A JP 2000071566 A JP2000071566 A JP 2000071566A JP 10245096 A JP10245096 A JP 10245096A JP 24509698 A JP24509698 A JP 24509698A JP 2000071566 A JP2000071566 A JP 2000071566A
Authority
JP
Japan
Prior art keywords
data
image forming
forming apparatus
writing
storing
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.)
Granted
Application number
JP10245096A
Other languages
Japanese (ja)
Other versions
JP4136105B2 (en
JP2000071566A5 (en
Inventor
Yoshitsuku Oshima
慶諾 大嶋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP24509698A priority Critical patent/JP4136105B2/en
Publication of JP2000071566A publication Critical patent/JP2000071566A/en
Publication of JP2000071566A5 publication Critical patent/JP2000071566A5/ja
Application granted granted Critical
Publication of JP4136105B2 publication Critical patent/JP4136105B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an imaging apparatus in which a data can be written correctly into a nonvolatile memory storing the aging of the apparatus even at the time of emergency without sacrifice of the convenience of a user even if the data is abnormal in worst case. SOLUTION: When door open is detected at S48 and power supply to the entire apparatus is interrupted at S50, a timing where writing is disabled due to voltage drop is waited before starting writing of a specified volume of data in an EEPROM. When turn off of power switch is detected at S40, a decision is made at S42 whether a data is being written in the EEPROM and if a data is not being written, a specified volume of data in the EEPROM at S44 before interrupting power supply at S46.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は不揮発メモリを搭載
する画像形成装置及びその制御方法並びにその制御プロ
グラムを格納したコンピュータ可読メモリに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image forming apparatus equipped with a nonvolatile memory, a control method thereof, and a computer readable memory storing a control program therefor.

【従来の技術】画像形成装置、特にフルカラープリンタ
等においては、本体および交換部品の経時変化によらず
に高画質の出力を得るため、または、重大な故障を招く
事態を避けるために、本体及び交換部品の状態の監視を
行なうものがある。そして、電源切断後も装置本体や交
換部品の生産出荷時からの状態変化を記憶する手段とし
て不揮発メモリを搭載するものがある。例えば、本体寿
命を正確に把握するために累積使用時間を記憶したり、
電源切断前の故障情報などを記憶する。
2. Description of the Related Art In an image forming apparatus, in particular, a full-color printer or the like, in order to obtain high-quality output without aging of the main body and replacement parts, or to avoid a situation in which a serious failure is caused, Some monitors the status of replacement parts. As a means for storing a state change of the apparatus main body or the replacement part from the time of production / shipment even after the power is turned off, there is an apparatus equipped with a nonvolatile memory. For example, to keep track of the life of the main unit,
The failure information before the power is turned off is stored.

【0002】このような装置に用いられる不揮発性メモ
リとしては、低コストで容易に接続できるEEPROM
などのメモリデバイスが使用されるのが一般的である。
このメモリデバイスは、低コストで簡単な構成で実装で
きる反面、書込みに時間がかかるという欠点を有する。
したがって、書込み中に電源が切断されたりノイズの影
響を受ける可能性を無視できず、不慮の事故で電源が切
断された場合やノイズなどでデータが化けた場合には、
正確な記憶内容を保証できない。
As a nonvolatile memory used in such an apparatus, an EEPROM which can be easily connected at a low cost is used.
In general, such a memory device is used.
This memory device can be implemented with a simple configuration at low cost, but has the disadvantage that it takes time to write.
Therefore, it is not possible to neglect the possibility that the power will be turned off or be affected by noise during writing.If the power is turned off due to an accident or the data is garbled due to noise, etc.,
Accurate memory contents cannot be guaranteed.

【0003】通常の動作中、特にスタンバイ状態などで
はこれらの問題が起こることはない。しかし、緊急時
(例えば、電源切断時やメモリを含む部品の交換時)に
は、そのような状況でこそ装置の情報を確実にバックア
ップする必要性が高いにもかかわらず、メモリへの書込
みが不安定となりやすい。
[0003] These problems do not occur during normal operation, especially in a standby state. However, in an emergency (for example, when the power is turned off or when a part including the memory is replaced), writing to the memory can be performed in spite of the necessity of reliably backing up the device information in such a situation. Easy to be unstable.

【0004】従来から、記憶内容の精度を保証するため
に書込みデータ全体のチェックサムを用いてエラーを検
出することが行なわれている。読み込時にチェックサム
の不一致があった場合はメモリの異常か書込時に正常に
書込めなかったと判断しそのメモリを搭載する交換部品
または本体を故障とするのである。
Conventionally, errors have been detected using the checksum of the entire write data in order to guarantee the accuracy of the stored contents. If there is a mismatch between the checksums at the time of reading, it is determined that the memory is abnormal or the data could not be written normally at the time of writing, and the replacement part or main body mounting the memory is broken.

【0005】[0005]

【発明が解決しようとする課題】しかし、チェックサム
によるチェックで故障と診断する方法では、例えば、そ
れほど重要でない部分にしか、データに異常がなかった
としても、更に全く新品の交換部品でも、メモリの異常
と判断され使用不能になってしまう。
However, in the method of diagnosing a failure by checking with a checksum, for example, even if there is no abnormality in data only in a part that is not so important, even if it is a completely new replacement part, even if it is a new replacement part, Is determined to be abnormal and becomes unusable.

【0006】これは本体および交換部品の便利を著しく
下げる。
[0006] This significantly reduces the convenience of the body and replacement parts.

【0007】また、書込みを安定に終了させるために、
例えば、電源切断しても補助電源等によって書込み期間
中の電源を維持する等の手段もあるが、これらは、コス
トが上がり装置も大型化するため、パーソナルユースの
プリンタには適さない。
In order to end writing stably,
For example, there are means such as maintaining the power supply during the writing period by using an auxiliary power supply even if the power supply is cut off. However, these methods are not suitable for a personal use printer because the cost is increased and the size of the apparatus is increased.

【0008】本発明は上記の従来技術の課題を解決する
ためになされたもので、その目的とするところは、どの
ような状況においても確実に、装置情報をバックアップ
可能な画像形成装置を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems of the prior art, and an object of the present invention is to provide an image forming apparatus capable of reliably backing up apparatus information in any situation. It is in.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に本発明に係る画像形成装置にあっては、装置の経時変
化を記憶する不揮発メモリを備え、前記不揮発メモリヘ
のデータの書込みの中断を予測し、所定のデータ量の書
込みが中断前に終了するようにデータの書込を制御する
制御手段を有することを特徴とする。
In order to achieve the above object, an image forming apparatus according to the present invention includes a non-volatile memory for storing changes over time of the apparatus, and interrupts data writing to the non-volatile memory. It is characterized by having control means for predicting and controlling data writing so that writing of a predetermined data amount is completed before interruption.

【0010】ここで、制御手段が、データ書込み開始タ
イミングの設定を行なうことは好適である。
Here, it is preferable that the control means sets the data write start timing.

【0011】また、制御手段が、書込むデータ量を制限
することも好適である。
It is also preferable that the control means limits the amount of data to be written.

【0012】一方、制御手段が、情報の重要度に応じて
書込みデータを選択することによって、書込みデータ量
を制限することも好適である。
On the other hand, it is also preferable that the control means limits the amount of write data by selecting write data according to the importance of the information.

【0013】また、本発明に係る画像形成装置にあって
は、装置の経時変化を記憶する不揮発メモリを備え、前
記不揮発メモリを複数の領域に分け、該領域ごとに種類
の異なるデータを記憶することを特徴とする。
In the image forming apparatus according to the present invention, the image forming apparatus further includes a non-volatile memory for storing time-dependent changes of the apparatus, the non-volatile memory is divided into a plurality of areas, and different types of data are stored for each area. It is characterized by the following.

【0014】ここで、領域ごとに異なるタイミングでデ
ータを書込むことも好適である。
Here, it is also preferable to write data at a different timing for each area.

【0015】一方、領域ごとにデータに対し異なるエラ
ーチェックの扱いをすることも好適である。
On the other hand, it is also preferable to treat the data differently for each area.

【0016】なお、領域ごとに記憶するデータを、その
データが示す情報の重要度または緊急度に応じて設定す
ることも好適である。
It is also preferable to set the data to be stored for each area according to the importance or urgency of the information indicated by the data.

【0017】更に、上記画像形成装置において、感光ド
ラムに不揮発メモリを搭載することも好適である。
Further, in the above-described image forming apparatus, it is preferable that a nonvolatile memory is mounted on the photosensitive drum.

【0018】また、本発明に係る方法は、装置の経時変
化を記憶する不揮発メモリを備えた画像形成装置の制御
方法であって、不揮発メモリヘのデータの書込みの中断
を予測し、所定のデータ量の書込みが中断前に終了する
ようにデータの書込を制御する制御工程を有することを
特徴とする。
A method according to the present invention is a method for controlling an image forming apparatus having a non-volatile memory for storing changes over time of the apparatus, wherein the method predicts interruption of data writing to the non-volatile memory and sets a predetermined data amount. And a control step of controlling data writing such that writing of data is completed before interruption.

【0019】また、不揮発メモリを複数の領域に分け、
該領域ごとに種類の異なるデータを記憶するデータの書
込制御工程を有することを特徴とする。
Further, the nonvolatile memory is divided into a plurality of areas,
It is characterized by having a data write control step of storing different types of data for each area.

【0020】更に本発明に係る記憶媒体は、装置の経時
変化を記憶する不揮発メモリを備えた画像形成装置の制
御プログラムを格納したコンピュータ可読メモリであっ
て、前記不揮発メモリヘのデータの書込みの中断を予測
し、所定のデータ量の書込みが中断前に終了するように
データの書込を制御する制御プログラムを格納すること
を特徴とする。
Further, a storage medium according to the present invention is a computer-readable memory storing a control program for an image forming apparatus having a non-volatile memory for storing a change over time of the apparatus, wherein interruption of writing data to the non-volatile memory is interrupted. It is characterized by storing a control program for predicting and controlling data writing so that writing of a predetermined data amount is completed before interruption.

【0021】また、前記不揮発メモリを複数の領域に分
け、該領域ごとに種類の異なるデータを記憶するデータ
の書込制御プログラムを格納することを特徴とする。
Further, the nonvolatile memory is divided into a plurality of areas, and a data write control program for storing different types of data for each area is stored.

【0022】本発明は上記のような構成を取ることによ
り、メモリ書込みのタイミングを書込みを中断されるよ
うなタイミングから外し、緊急時に一度に書込むデータ
量を少ない単位に分ける。分けたデータの単位とその書
込みタイミングを画像形成装置の状態やデータの重要
度、またはローテーションで切替える。
According to the present invention, by adopting the above configuration, the memory write timing is excluded from the timing at which the write is interrupted, and the amount of data to be written at once in an emergency is divided into smaller units. The unit of the divided data and its writing timing are switched according to the state of the image forming apparatus, the importance of the data, or the rotation.

【0023】これにより、小型化、低コスト化を妨げる
ことなく緊急のデータ書込時の中断によるメモリエラー
を減らし、また最悪メモリエラーが発生した場合でもデ
ータの重要度によりできる限り画像形成装置の動作を中
断しない。
As a result, a memory error due to an emergency interruption during data writing can be reduced without hindering downsizing and cost reduction, and even if a worst-case memory error occurs, the image forming apparatus can be as small as possible depending on the importance of data. Do not interrupt operation.

【0024】[0024]

【発明の実施の形態】以下に図面を参照して、この発明
の好適な実施の形態を例示的に詳しく説明する。ただ
し、この実施の形態に記載されている構成要素、プログ
ラムモジュール等の相対配置、解像度等の数値などにつ
いては特に特定的な記載がない限りは、本発明の範囲を
それらのみに限定する趣旨のものではない。
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, unless otherwise specified, the relative arrangement of components, program modules, and the like described in this embodiment, and numerical values such as resolutions are intended to limit the scope of the present invention to them only. Not something.

【0025】[第1の実施の形態]図1は本発明の第一
の実施の形態における画像形成装置の不揮発メモリおよ
び電源ライン周りのブロック概念図である。以下、簡単
に図の説明をする。
[First Embodiment] FIG. 1 is a conceptual block diagram of a nonvolatile memory and a power supply line of an image forming apparatus according to a first embodiment of the present invention. Hereinafter, the figures will be briefly described.

【0026】図1において1は交換部品2を含む画像形
成装置である。画像形成装置1はCPU3によって制御
される。5は電源ラインを示す。CPU3は画像形成装
置の電源供給を管理し、制御線12を通じて電源切断回
路6を制御する。7は電源スイッチである。
In FIG. 1, reference numeral 1 denotes an image forming apparatus including a replacement part 2. The image forming apparatus 1 is controlled by the CPU 3. Reference numeral 5 denotes a power supply line. The CPU 3 manages the power supply of the image forming apparatus, and controls the power supply disconnection circuit 6 through the control line 12. 7 is a power switch.

【0027】また、画像形成装置には定着器9や、その
ような機器を動作させる高圧ユニット10を備えている
が、紙詰まりの除去等を安全に行なうため、ドアが開か
れるとそれらの機器に対する電源の供給を自動的にスト
ップするドアスイッチ8が電源ラインに接続されてい
る。このドアスイッチ8は制御線13を介してCPU3
にも接続されおり、CPU3はこれによりドアオープン
を検出することができる。
The image forming apparatus is provided with a fixing device 9 and a high-pressure unit 10 for operating such a device. In order to safely remove paper jams and the like, when the door is opened, these devices are opened. Is automatically connected to a power supply line. The door switch 8 is connected to the CPU 3 via a control line 13.
The CPU 3 can detect that the door is open.

【0028】2は感光ドラムユニットであり、画像形成
のための感光ドラムと画像形成後の廃トナーを収容する
廃トナーボックスから構成され、所定寿命分使用後に交
換が必要な交換部品である。感光ドラムユニット2に
は、EEPROMが内蔵されており、接点17を通じて
CPU3とのシリアル通信によって、感光ドラムの寿命
計算のための総使用時間等の情報を維持する。
Reference numeral 2 denotes a photosensitive drum unit, which comprises a photosensitive drum for forming an image and a waste toner box for storing waste toner after the image is formed, and is a replacement part that needs to be replaced after use for a predetermined life. The photosensitive drum unit 2 has a built-in EEPROM, and maintains information such as the total use time for calculating the life of the photosensitive drum by serial communication with the CPU 3 through the contact 17.

【0029】次に電源スイッチオフ時の制御について説
明する。
Next, control when the power switch is turned off will be described.

【0030】電源切断回路6はCPU3によって制御可
能なスイッチである。電源スイッチ7と電源切断回路6
は制御線14によって接続される。電源スイッチ7のオ
ン時にはもちろん、電源切断回路6は短絡状態となる
が、その後電源スイッチ7がオフされても電源切断回路
6はCPU3からの制御線12による指示があるまで短
絡状態を維持する。即ち、CPU3は制御線11を通じ
て電源スイッチ7のオフを検出し、後述する所定の処理
を行った後、制御線12を通じて電源切断回路6を制御
し、画像形成装置の電源を切断する。
The power-off circuit 6 is a switch that can be controlled by the CPU 3. Power switch 7 and power disconnection circuit 6
Are connected by a control line 14. When the power supply switch 7 is turned on, the power supply disconnection circuit 6 is in a short-circuit state, of course. Even if the power supply switch 7 is subsequently turned off, the power supply disconnection circuit 6 maintains the short-circuited state until instructed by the control line 12 from the CPU 3. That is, the CPU 3 detects that the power switch 7 is turned off through the control line 11, performs a predetermined process described later, controls the power supply cutoff circuit 6 through the control line 12, and turns off the power of the image forming apparatus.

【0031】次にドアオープン時の制御について説明す
る。
Next, control when the door is opened will be described.

【0032】画像形成装置にはジャム処理や消耗部品の
交換のために、ドアが設けられているが、そのドアが開
かれたときには、利用者が触れると危険な部位である定
着器、高圧ユニット等の電源を安全のためハードウェア
的に切断する。CPUによる制御を行わないのはCPU
の暴走時でも安全に動作させるためである。この役目を
するのがドアスイッチ8である。ドアスイッチ8は画像
形成装置のドアに連動して設置されており、ドアが開か
れると物理的に定着器9、高圧ユニット10、等への電
源の供給を停止する。
The image forming apparatus is provided with a door for clearing a jam or replacing a consumable part. When the door is opened, a fixing unit or a high-voltage unit, which is dangerous if a user touches the door, is provided. Etc. are cut off by hardware for safety. CPU is not controlled by CPU
This is for safe operation even during runaway. The door switch 8 performs this function. The door switch 8 is installed in conjunction with the door of the image forming apparatus, and when the door is opened, the power supply to the fixing unit 9, the high-voltage unit 10, and the like is physically stopped.

【0033】この時、動作中に電源供給を断たれたこれ
らの部位を誤って異常と判断しないために、CPU3は
制御線13を通じてドアオープンを検知する。ドアオー
プン検知は定着器9、高圧ユニット10といった部位に
電源が供給されなくなったことを検知するしくみになっ
ている。したがって、電源スイッチがオンの状態であれ
ば、画像形成装置全体の電源が供給されなくなった場合
もCPU3が動作している間はドアオープンとして検知
される。CPU3はCPU3が動作している限り、ドア
オープンと同様の処理を行う。
At this time, the CPU 3 detects a door open through the control line 13 so as not to erroneously determine that these power supply cutoffs during operation are abnormal. The door open detection is a mechanism for detecting that power is no longer supplied to parts such as the fixing device 9 and the high-voltage unit 10. Therefore, if the power switch is on, the door is detected as open while the CPU 3 is operating even when the power supply to the entire image forming apparatus is stopped. The CPU 3 performs the same processing as the door opening as long as the CPU 3 operates.

【0034】次にEEPROMへの書込み処理について
説明する。
Next, the process of writing to the EEPROM will be described.

【0035】電源スイッチオフ、またはドアオープン時
には交換部品2が交換される可能性があるため、EEP
ROM4の内容を最新の情報に更新しなくてはいけな
い。そこで、CPU3は制御線11から電源スイッチオ
フ、または制御線13からドアオープンを検出すると、
EEPROM4へ最新の情報を書込む。
When the power switch is turned off or the door is opened, the replacement part 2 may be replaced.
The contents of the ROM 4 must be updated to the latest information. Then, when the CPU 3 detects the power switch off from the control line 11 or the door open from the control line 13,
Write the latest information to EEPROM4.

【0036】しかし、装置全体の電源を切断した場合に
は、当然、EEPROM4への電源供給も断たれてしま
う。EEPROM4への書込みの途中でEEPROM4
への電源供給が断たれた場合、書込まれたデータはチェ
ックサムが合わず異常となる。また、CPU3への電源
供給が途中で断たれた場合も同様である。
However, when the power supply of the entire apparatus is cut off, the power supply to the EEPROM 4 is naturally cut off. In the middle of writing to EEPROM 4,
If the power supply to the power supply is cut off, the written data does not match the checksum and becomes abnormal. The same applies when the power supply to the CPU 3 is interrupted on the way.

【0037】また、ドアが開かれてから交換部品である
感光ドラムが利用者によって抜かれるまでの時間がEE
PROM4への書込み完了よりも早い場合、書込みは中
断されるためデータは異常となる。
The time from when the door is opened until the photosensitive drum as a replacement part is pulled out by the user is EE.
If it is earlier than the completion of the writing to the PROM 4, the writing is interrupted and the data becomes abnormal.

【0038】これらの異常を回避するため、所定のタイ
ミングでEEPROM4へ書込みを開始、終了する。そ
して、この所定の期間に、完全にEEPROM4への書
込みを終了するため、書込むデータ量を所定量に制限す
る。この間隔及びデータ量は次のようにして定める図3
は電源切断における電源電圧の降下とドアオープンの検
知タイミング、メモリ書込み不可能タイミングを図示し
たものである。書込み開始及び終了のタイミングと書込
みデータ量は、ドアオープンの検知タイミング、装置全
体に対する電力の供給が停止したと仮定した場合の、メ
モリヘの書込みが不可能となるタイミング、及びドアオ
ープンからユーザが感光ドラムを抜き得る最短の時間か
ら決定する。
In order to avoid these abnormalities, writing to the EEPROM 4 is started and terminated at a predetermined timing. Then, in order to complete the writing to the EEPROM 4 during this predetermined period, the amount of data to be written is limited to a predetermined amount. This interval and data amount are determined as follows.
FIG. 3 illustrates the timing of detecting the drop of the power supply voltage and the door open when the power is turned off, and the timing of disabling the memory writing. The write start and end timings and the write data amount are determined based on the door open detection timing, the timing at which writing to the memory becomes impossible when power supply to the entire apparatus is stopped, and the user's exposure from the door open. Determined from the shortest time the drum can be pulled out.

【0039】図3において、37は電源を完全に切断し
た場合の電圧の降下を示すグラフである。このグラフ
と、30のドアオープン検知電圧、31のメモリ書込み
不可能電圧から、ドアオープン検知のタイミング33、
メモリ書込み不可能タイミング35を求めることができ
る。ここで、メモリ書込み不可能電圧31はCPUとE
EPROMのうちの両方が完全に動作不可能となる最低
の電圧を示している。
In FIG. 3, reference numeral 37 is a graph showing a voltage drop when the power supply is completely cut off. From this graph, the door open detection voltage of 30, and the memory write disable voltage of 31, the door open detection timing 33,
The memory write disable timing 35 can be obtained. Here, the memory write disable voltage 31 is determined by the CPU and E
It shows the lowest voltage at which both of the EPROMs are completely inoperable.

【0040】また、34は、画像形成装置の構成上ドア
オープンから感光ドラムを抜くことの出来る最短時間を
示している。
Numeral 34 indicates the shortest time in which the photosensitive drum can be removed from the door open due to the configuration of the image forming apparatus.

【0041】38,39,40はそれぞれ異なるEEP
ROM書込み開始タイミングと書込み完了時間を示した
ものである。
38, 39, and 40 are different EEPs
It shows a ROM write start timing and a write completion time.

【0042】例えば、38はドアオープンを検知後すぐ
に書込みを開始している。しかし、ドアオープン検知時
点では、実際、ドアオープンに過ぎないのか、装置全体
の電源が切断されたのかCPU3は区別できないため、
もし、このように、データ書込終了タイミングを、メモ
リ書込不可能タイミングよりも後に設定していれば、電
源切断であった場合、データを書込んでいる途中、35
においてメモリの書込みが不可能となる。従って、書込
まれたデータは異常となる。
For example, 38 starts writing immediately after detecting the door open. However, at the time of the door open detection, the CPU 3 cannot distinguish whether the door is actually open or the power of the entire apparatus is cut off.
If the data write end timing is set after the memory write disable timing as described above, if the power is turned off, the data writing is stopped during the data writing.
, Writing to the memory becomes impossible. Therefore, the written data becomes abnormal.

【0043】また、39は電源切断の場合の書込み不可
能タイミングまでは、データの書込を待機し、書込み不
可能タイミングを過ぎて、通常のドアオープンであると
判断した後に、データの書込を開始するものである。し
かし、データの書込終了タイミングが、ユーザが感光ド
ラムを抜き得る最短のタイミング36よりも後になるよ
うなデータの書込みを設定していれば、この36のタイ
ミングでデータの書込みが中断される恐れがある。
Reference numeral 39 denotes a state in which the writing of data is waited until the writing impossible timing when the power is turned off, and after the writing impossible timing, it is determined that the door is normally open. Is to start. However, if data writing is set such that the data writing end timing is later than the shortest timing 36 at which the user can pull out the photosensitive drum, the data writing may be interrupted at this timing. There is.

【0044】そこで、ドアオープン検知33からメモリ
書込み不可能タイミング35まで、または、メモリ不可
能タイミングからユーザ繰作による中断36までのどち
らかでデータのメモリに対する書込みを行なえばよいこ
とが分かる。これらの2つの期間の内、メモリ書込み不
可能タイミング35からユーザによる中断タイミング3
6までの方が長いため、この間にデータの書込みを行な
うように、書込開始タイミングとデータ量を設定するこ
とが望ましく、緊急時の書込み時にデータエラーが発生
することを防ぐ。
Thus, it can be seen that the data may be written to the memory from either the door open detection 33 to the memory write disable timing 35 or from the memory disable timing to the interruption 36 by the user operation. Of these two periods, from the memory write disable timing 35 to the user's interruption timing 3
6 is longer, it is desirable to set the write start timing and the data amount so that data is written during this time, thereby preventing a data error from occurring at the time of emergency writing.

【0045】次に、ドアオープンおよび、電源スイッチ
オフ時のCPU3による制御を説明する。
Next, control by the CPU 3 when the door is opened and the power switch is turned off will be described.

【0046】図4はCPU3の制御の流れを示すフロー
チャートである。
FIG. 4 is a flowchart showing the control flow of the CPU 3.

【0047】画像形成装置はステップS58で電源オン
後、所定の初期化処理ステップS57を行い、初期化が
終了すると通常処理ステップS56に移行する。初期化
処理ステップS57はI/Oや駆動系などの画像形成装
置において印字動作を行うために必要な前準備である。
この中で、EEPROMからの読み込み処理も行う。通
常処理ステップS56は印字動作の繰り返しを行う処理
である。ステップS57,ステップS58については公
知の技術で一般に行われるものであり、ここでは詳細を
省略する。
After the power is turned on in step S58, the image forming apparatus performs a predetermined initialization processing step S57, and upon completion of the initialization, proceeds to a normal processing step S56. The initialization processing step S57 is preparation necessary for performing a printing operation in an image forming apparatus such as an I / O or a drive system.
In this process, reading processing from the EEPROM is also performed. The normal processing step S56 is processing for repeating the printing operation. Steps S57 and S58 are generally performed by a known technique, and the details are omitted here.

【0048】通常処理中ドアオープンが検出されるとス
テップS48から始まる流れに移行する。そして、ステ
ップS49の緊急停止処理をまず行う。緊急停止処理ス
テップS49はドアオープンによる電源切断によって強
制的に停止されない全ての駆動系を停止し、かつ、電源
切断によって強制的に停止させられた部位を制御するタ
スクを停止する。そして、ステップS50で書込み不可
能なタイミングまで時間待ちする。このタイミングはド
アオープン検出時からカウントを開始するタイマによっ
て分かる仕組みにしている。書込み不可能タイミングを
過ぎるとステップS51の処理へ移る。ドアオープンで
はなく電源切断によるドアオープン検出の場合には、書
込み不可能タイミングを過ぎて書込む処理を行うことは
まったく出来ないため、書込みによるデータ異常は発生
しない。ステップS51で書込みデータ全体のチェック
サムを計算する。そして、ステップS52でEEPRO
Mへの書込みを開始する。EEPROMへの書込み処理
は図4で示すメインの処理と並行して動作する。ステッ
プS53ではその処理の終了を待つ。書込み処理が終了
するとステップS54へ移行しドアクローズされるまで
待つ。ステップS54で待っているところでドアが閉じ
られるとステップS57の初期化処理へと戻り、初期化
処理が終了するとまた、通常処理に戻る。
When the door open is detected during the normal processing, the flow shifts to the flow starting from step S48. Then, the emergency stop processing of step S49 is performed first. The emergency stop processing step S49 stops all the drive systems that are not forcibly stopped by the power-off due to the door open, and also stops the task of controlling the parts forcibly stopped by the power-off. Then, in step S50, a time is waited until a timing at which writing is impossible. This timing is determined by a timer that starts counting from the time of door open detection. After the write disable timing, the process proceeds to step S51. In the case of the door open detection not by the door open but by the power-off, the writing process cannot be performed at all beyond the write disable timing, so that no data abnormality occurs due to the writing. In step S51, the checksum of the entire write data is calculated. Then, in step S52, EEPRO
Start writing to M. The process of writing to the EEPROM operates in parallel with the main process shown in FIG. In step S53, the process waits for the end of the process. Upon completion of the writing process, the flow shifts to step S54 to wait until the door is closed. If the door is closed while waiting in step S54, the process returns to the initialization process in step S57, and after the initialization process is completed, the process returns to the normal process.

【0049】なお、ジャム発生などの場合も、この流れ
に沿ってドアが開けられジャム紙処理を行うものとす
る。
When a jam occurs, the door is opened in accordance with the flow and jam paper processing is performed.

【0050】次に、電源スイッチオフの処理についても
説明する。ドアオープン処理を含む電源スイッチオンの
状態がステップS55である。電源スイッチがオンの状
態で電源スイッチオフが検出されるとステップS40へ
と移行する。電源スイッチオフのときの処理はドアオー
プンの時の処理とほぼ同様であるが、ドアオープン中に
電源スイッチがオフされた場合EEPROMに書込んで
いる途中である場合があるため、ステップS41の緊急
停止処理の後、EEPROMに書込んでいる途中かどう
かをチェックする。書込んでいる途中でなければドアオ
ープン時と同様に書込み処理を開始する。ステップS4
3でチェックサムを計算し、ステップS44で書込み開
始する。ステップS45で書込み完了を確認した後ステ
ップS46で電源を切断し終了する。
Next, the process of turning off the power supply will be described. The power switch on state including the door open process is step S55. If the power switch is off while the power switch is on, the process proceeds to step S40. The process when the power switch is turned off is almost the same as the process when the door is opened. However, when the power switch is turned off while the door is open, writing to the EEPROM may be in the middle of writing. After the stop processing, it is checked whether the data is being written to the EEPROM. If the writing is not being performed, the writing process is started in the same manner as when the door is opened. Step S4
In step S3, a checksum is calculated, and writing is started in step S44. After confirming the completion of writing in step S45, the power is turned off in step S46, and the process ends.

【0051】なお、ステップS52,ステップS44で
書込みを開始してから、書込みが完了するまでの時間が
利用者の繰作によって中断されることの無い時間に収ま
るように書込みデータ量は制限されているものとする。
Note that the amount of write data is limited so that the time from the start of writing in steps S52 and S44 to the completion of writing is within a time that is not interrupted by the user's operation. Shall be

【0052】以上説明したように、緊急書込み時の書込
みタイミング、書込み量を画像形成装置の書込みタイミ
ングの検出タイミング、書込み中断タイミングに合わせ
て設定することにより、低コスト、簡易構成で、書込み
の中断によるデータ異常をなくすことが出来る。
As described above, by setting the writing timing and the writing amount at the time of emergency writing in accordance with the detection timing of the writing timing of the image forming apparatus and the writing interruption timing, the writing interruption can be performed with a low cost and a simple configuration. Can eliminate data abnormalities.

【0053】なお、本実施の形態においては、ドアオー
プン検知、書込み中断タイミングを図3に示す通りのも
のとしたが、これに限らず、例えば、ドアオープン検知
からメモリ書込み不可能タイミングまでの方が、書込み
不可能タイミングからユーザによる中断タイミングまで
よりも長い場合などはドアオープン検知直後からEEP
ROMへの書込みを開始し、メモリ書込み不可能タイミ
ングまでに終了するように書込むデータの量を制限して
も有効である。また、ドアオープンに限らず、他の緊急
書込み時においても同様にタイミング、データ量を設定
することが有効である。
In this embodiment, the door open detection and the write interruption timing are as shown in FIG. 3. However, the present invention is not limited to this. However, if the writing time is longer than the timing from the writing disable timing to the interruption timing by the user, the EEP starts immediately after the door open detection.
It is effective to limit the amount of data to be written so that writing to the ROM is started and completed by the timing at which the memory cannot be written. In addition, it is effective to set the timing and the data amount not only for the door opening but also for other emergency writing.

【0054】次に、書込みデータ量の制限方法について
説明する。
Next, a method for limiting the amount of write data will be described.

【0055】本実施の形態においては、データ量の制限
を緊急書込み時のみ行なうものとする。図5はEEPR
OMへ書込むデータのメモリマップである。書込むデー
タの全体の量は制限せず、代わりに、3つの領域に分け
る。そして、各領域毎にチェックサムを計算、保持する
ように構成する。
In this embodiment, the data amount is limited only at the time of emergency writing. Figure 5 shows the EEPR
It is a memory map of data written to OM. The total amount of data to be written is not limited, but instead is divided into three regions. The checksum is calculated and stored for each area.

【0056】領域1(60)はその情報の質が最優先さ
れるものを、緊急時の書込みデータ量に制限して集め
る。そして、領域1のみで計算されるチェックサム1
(61)をその中に持つ。ドアオープンおよび電源スイ
ッチオフ時には領域1のみが書込まれる。
In the area 1 (60), information whose quality is the highest priority is collected by limiting the amount of write data in an emergency. And checksum 1 calculated only in area 1
It has (61) in it. When the door is opened and the power switch is turned off, only the area 1 is written.

【0057】領域2(62)は領域1よりも優先順位が
低いデータを集めたものである。そして、領域2用のチ
ェックサム2(63)を含む。領域2は通常処理の中で
所定間隔で更新される。本実施の形態においては、一回
の印字動作終了毎に更新されるものとする。通常処理で
は更新されるが、ドアオープンや電源スイッチがオフさ
れた場合は更新されないため、保持するデータが古くな
る可能性がある。それを許容できるデータを領域2にお
いて扱う。
The area 2 (62) is a collection of data having a lower priority than the area 1. Then, it includes a checksum 2 (63) for area 2. The area 2 is updated at a predetermined interval in the normal processing. In the present embodiment, it is assumed that it is updated every time one printing operation is completed. Although the data is updated in the normal processing, the data is not updated when the door is opened or the power switch is turned off, so that the stored data may be out of date. The data which can accept it is handled in area 2.

【0058】領域3(64)は領域2同様、通常処理の
中で更新されるが、領域3における内容が大きく変化す
るまでは更新しない。領域2よりもさらにデータの質は
下がるが、それを許容できる内容を領域3で扱う。領域
3は領域3のチェックサム3(65)を含む。
The area 3 (64) is updated during the normal processing similarly to the area 2, but is not updated until the contents in the area 3 change significantly. Although the quality of the data is lower than that of the area 2, contents which can accept the data are handled in the area 3. Region 3 contains checksum 3 (65) of region 3.

【0059】以上説明したように、データに要求される
質で優先順位を決め、領域を分割して扱うことにより、
低コスト、簡易構成で書込み中断によるデータ異常をな
くしつつ、データ量を増やすことが可能となった。
As described above, the priority is determined based on the quality required for the data, and the area is divided and handled.
The data amount can be increased while eliminating data abnormalities due to interruption of writing with a low cost and simple configuration.

【0060】なお、本実施の形態においては、領域を3
つに分割したが、これに限らず2つまたは4つ以上に分
割管理することも有効である。また、本実施の形態にお
いては、書込むタイミングを緊急書込み時と通常処理時
のこつに分けて制御しているが、安全に書込み可能なデ
ータ量が何段階かに分かれる3つ以上の書込みタイミン
グがある場合は、タイミング、データ量毎に優先順位を
決定することも有効である。
In the present embodiment, the area is set to 3
Although it is divided into two, it is not limited to this, and it is also effective to divide and manage into two or four or more. Further, in the present embodiment, the writing timing is controlled separately for emergency writing and normal processing. However, three or more writing timings in which the amount of data that can be safely written is divided into several stages. If there is, it is also effective to determine the priority for each timing and data amount.

【0061】なお、本実施の形態においては、交換部品
の例として感光ドラム、不揮発メモリの例としてEEP
ROMを挙げているが、これに限らず、他の交換部品に
別のメモリデバイスを使用した場合でも本発明は有効で
ある。
In this embodiment, a photosensitive drum is used as an example of a replacement part, and an EEP is used as an example of a nonvolatile memory.
Although a ROM is mentioned, the present invention is not limited to this, and the present invention is effective even when another memory device is used for another replacement part.

【0062】[第2の実施の形態]図2及び図6には本
発明の第2の実施の形態が示されている。上記第1の実
施の形態では、交換部品にEEPROMを設けていた
が、本実施の形態では、装置本体にEEPROMを設け
ている。その他の画像形成装置のブロック構成は第一の
実施の形態のそれと同じであるので、同一の構成部分に
ついては同一の符号を付して、その説明は省略する。
[Second Embodiment] FIGS. 2 and 6 show a second embodiment of the present invention. In the above-described first embodiment, the replacement parts are provided with the EEPROM, but in the present embodiment, the apparatus body is provided with the EEPROM. Since the block configuration of the other image forming apparatus is the same as that of the first embodiment, the same components are denoted by the same reference numerals and description thereof will be omitted.

【0063】図2は本実施の形態における画像形成装置
の不揮発メモリおよび電源ライン周りのブロック概念図
である。以下簡単に図の説明をする。
FIG. 2 is a conceptual block diagram of a nonvolatile memory and a power supply line around the image forming apparatus according to the present embodiment. The figure will be briefly described below.

【0064】本実施の形態における画像形成装置は画像
形成装置本体に不揮発メモリ(EEPROM)を搭載し
ている。20は本体の情報を記憶するEEPROMであ
る。EEPROM20とCPU3は制御線21を通じて
シリアル通信し、データのバックアップを行う。
The image forming apparatus according to the present embodiment has a nonvolatile memory (EEPROM) mounted on the main body of the image forming apparatus. Reference numeral 20 denotes an EEPROM for storing information of the main body. The EEPROM 20 and the CPU 3 perform serial communication via the control line 21 to back up data.

【0065】本実施の形態においては、本体内蔵の不揮
発メモリであるため、第1の実施の形態と異なりドアオ
ープンされた場合に書込む必要が無い。したがって、電
源スイッチオフ時のみデータの書込みを行う。
In this embodiment, since the nonvolatile memory is built in the main body, there is no need to write when the door is opened, unlike the first embodiment. Therefore, data writing is performed only when the power switch is turned off.

【0066】本実施の形態における処理の流れはドアオ
ープン毎に書込まないだけで、上記第1の実施の形態に
おいて説明した図4と同じであるので省略する。
The flow of the processing in this embodiment is the same as that in FIG. 4 described in the first embodiment, except that it is not written every time the door is opened, so that the description is omitted.

【0067】図6は本実施の形態における画像形成装置
でEEPROMへ書込むデータのメモリマップである。
書込むデータの全体の量は制限せず、代わりに、5つの
領域に分ける。そして、各領域毎にチェックサムを計
算、保持するように構成する。
FIG. 6 is a memory map of data to be written to the EEPROM in the image forming apparatus according to the present embodiment.
The total amount of data to be written is not limited, but instead is divided into five regions. The checksum is calculated and stored for each area.

【0068】70は管理領域である。72,74,7
6,78はそれぞれ領域1,領域2,領域3,領域4で
ある。それぞれの領域はチェックサム71,73,7
5,77,79を含む。領域1,2,3,4に優先順位
の上下はない。ただし、一度の緊急書込みで書込まれる
のは管理領域、及び4つの領域のうちのいずれか一つの
領域、合わせて2つの領域である。4つの領域のうちど
の領域を書込むかはローテーションで決定する。領域1
を書込んだ次の書込みのときには領域2を書込む。領域
2の次は3。3の次は4。4の次は1である。前回どの
領域を書込んだかは管理領域に記憶する。
Reference numeral 70 denotes a management area. 72, 74, 7
Reference numerals 6 and 78 are a region 1, a region 2, a region 3 and a region 4, respectively. Each area has a checksum 71, 73, 7
5,77,79. The areas 1, 2, 3, and 4 have no higher or lower priority. However, what is written by one emergency write is the management area and any one of the four areas, that is, two areas in total. Which of the four areas is to be written is determined by rotation. Area 1
Is written in the area 2 at the time of the next write after the write. Next to the area 2 is 3.3, the next to the 4.4 is 1 after the 4.4. Which area was written last time is stored in the management area.

【0069】一回に書込む量を減らすことで書込み中の
中断によるデータの異常をなくすことが出来る。
By reducing the amount of data to be written at one time, data errors due to interruption during writing can be eliminated.

【0070】以上説明したように、書込みデータを領域
に分け、ローテーションでバックアップすることで一回
の書込み量を減らし、低コスト、簡易構成で書込み中断
によるデータ異常をなくしつつ、データ量を増やすこと
が可能となる。この手段によれば、全てのデータの質
(新しさ)を平均して維持することが可能となる。
As described above, by dividing the write data into areas and backing up the data by rotation, the amount of data to be written at a time is reduced. Becomes possible. According to this means, it is possible to maintain the quality (newness) of all data on average.

【0071】なお、本実施の形態においては、領域を4
つに分割したが、安全に書込めるデータ量が更に多い場
合には、これに限らず3つ以下に、また、5つ以上に分
割することで更に短時間で書込みを完了させることも有
効である。
In the present embodiment, the area is set to four.
However, if the amount of data that can be safely written is further increased, it is also effective to complete the writing in a shorter time by dividing the data into three or less and five or more. is there.

【0072】(第3の実施の形態)図7には本発明の第
3の実施の形態が示されている。
(Third Embodiment) FIG. 7 shows a third embodiment of the present invention.

【0073】本実施の形態における画像形成装置のブロ
ック構成は第1の実施の形態のそれと同じであるので、
省略する。
Since the block configuration of the image forming apparatus according to the present embodiment is the same as that of the first embodiment,
Omitted.

【0074】本実施の形態においては、上記第1の実施
の形態の画像形成装置と異なり、データ量の制限を行わ
ない。図7は本実施の形態における画像形成装置でEE
PROMへ書込むデータのメモリマップである。書込む
データの全体の量は制限せず、代わりに、3つの領域に
分ける。そして、各領域毎にチェックサムを計算、保持
するように構成する。
In the present embodiment, unlike the image forming apparatus of the first embodiment, the data amount is not limited. FIG. 7 shows an EE of the image forming apparatus according to the present embodiment.
4 is a memory map of data to be written to a PROM. The total amount of data to be written is not limited, but instead is divided into three regions. The checksum is calculated and stored for each area.

【0075】80は管理領域である。領域1,領域2を
含むデータ全体の使われかたを管理する領域である。こ
こには開発過程のメモリマップのバージョン番号などを
保持する。81は領域1であり、チェックサム1(8
2)を含む。83は領域2であり、チェックサム2(8
4)を含む。次に、領域毎の扱いかたの違いを説明す
る。
Reference numeral 80 denotes a management area. This area manages how the entire data including the areas 1 and 2 is used. Here, the version number of the memory map in the development process is stored. 81 is an area 1 and checksum 1 (8
2). 83 is an area 2 and checksum 2 (8
4) is included. Next, the difference in how to handle each area will be described.

【0076】領域1は画質の向上を目的とした情報を記
憶する。ここにはドラムの使用時間や高圧印加等の履歴
を記憶し、高画質化のための情報とする。この情報に異
常が生じた場合、最悪でも画質が悪くなるだけであるの
で、ここがデータエラーとなっただけで感光ドラムの交
換を強制するのはユーザビリティが悪くなる。そこで、
この領域がデータエラーとなった場合には画質低下の警
告を表示するのみとし、画像形成装置の動作は停止しな
い。
The area 1 stores information for improving the image quality. Here, the history of the use time of the drum, the application of a high voltage, and the like are stored and used as information for improving the image quality. If an abnormality occurs in this information, at the worst, the image quality only deteriorates. Therefore, forcing the replacement of the photosensitive drum only when a data error occurs here deteriorates usability. Therefore,
When a data error occurs in this area, only a warning of image quality deterioration is displayed, and the operation of the image forming apparatus is not stopped.

【0077】領域2は画像形成装置を物理的な故障へと
導く状況を避けるための情報を保持する。例えば、本実
施の形態においては廃トナー量に関する情報を保持す
る。廃トナー満杯を光学的およびその後の使用履歴によ
って正確に把握する手段については省略する。廃トナー
が満杯になった状態で無理に感光ドラムを回転させると
画像形成装置に致命的なダメージを与える。従って、廃
トナーの状況は正確に把握しておかなければならない。
そこで、領域2におけるデータエラーは感光ドラムの交
換を促すために画像形成装置の動作を停止させる。
The area 2 holds information for avoiding a situation that leads to a physical failure of the image forming apparatus. For example, in the present embodiment, information on the amount of waste toner is held. Means for accurately ascertaining the fullness of the waste toner optically and based on the usage history thereafter will be omitted. If the photosensitive drum is forcibly rotated in a state where the waste toner is full, fatal damage is given to the image forming apparatus. Therefore, the status of the waste toner must be accurately grasped.
Therefore, a data error in the area 2 causes the operation of the image forming apparatus to stop in order to prompt the exchange of the photosensitive drum.

【0078】管理領域は、通常の使用においては更新し
ない。また、領域1,領域2にもかかわる情報ではある
が、領域1と領域2に分けて管理しているため、管理領
域のデータエラーは正常、異常を区別することが出来な
い。そこで、管理領域のエラーは無視する。
The management area is not updated in normal use. Further, although the information is related to the area 1 and the area 2, since the information is managed separately in the area 1 and the area 2, the data error in the management area cannot be distinguished between normal and abnormal. Therefore, errors in the management area are ignored.

【0079】以上述べたように、書込みデータを内容毎
に領域に分け、データエラーが発生した場合の画像形成
装置の対処方法を区別することで、メモリのデータエラ
ーが発生した場合のユーザビリティーを向上させること
が可能となった。
As described above, the usability in the event of a data error in the memory can be improved by dividing the write data into regions according to the contents and distinguishing the measures taken by the image forming apparatus in the event of a data error. It became possible to improve.

【0080】なお、本実施の形態においては領域を3つ
に分けてそれぞれ異なる扱いをしたが、3つに限らず、
2つまたは、4つ以上に領域を分けることも有効であ
る。さらに、本実施の形態においては、例えば管理領域
をエラーチェックを無視する領域としたが、これを警告
表示するようにすることも可能であり、分けた領域をど
のように扱うかについては画像形成装置の利用形態やコ
スト等に関連して適切に設定するものとする。本発明の
範囲はこれを含むものである。
In the present embodiment, the region is divided into three regions and treated differently. However, the region is not limited to three regions.
It is also effective to divide the area into two or four or more areas. Further, in the present embodiment, for example, the management area is set as an area in which the error check is ignored. However, it is also possible to display a warning so that the divided area is handled as an image forming area. Appropriate settings should be made in relation to the usage form and cost of the device. The scope of the present invention includes this.

【0081】[他の実施形態]なお、本発明は、複数の
機器(例えばホストコンピュータ,インタフェイス機
器,リーダ,プリンタなど)から構成されるシステムに
適用しても、一つの機器からなる装置(例えば、複写
機,ファクシミリ装置など)に適用してもよい。
[Other Embodiments] Even if the present invention is applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), an apparatus (one device) For example, the present invention may be applied to a copying machine, a facsimile machine, and the like.

【0082】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体を、システムあるいは装置に供給し、そ
のシステムあるいは装置のコンピュータ(またはCPU
やMPU)が記憶媒体に格納されたプログラムコードを
読出し実行することによっても、達成されることは言う
までもない。
An object of the present invention is to provide a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or an apparatus, and to provide a computer (or CPU) of the system or the apparatus.
And MPU) read and execute the program code stored in the storage medium.

【0083】この場合、記憶媒体から読出されたプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコードを記憶した記憶媒体は
本発明を構成することになる。
In this case, the program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.

【0084】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピディスク,ハードディス
ク,光ディスク,光磁気ディスク,CD−ROM,CD
−R,磁気テープ,不揮発性のメモリカード,ROMな
どを用いることができる。
Examples of the storage medium for supplying the program code include a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, and CD.
-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

【0085】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼働しているOS(オペレ
ーティングシステム)などが実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれることは言うまでもない。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) May perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.

【0086】さらに、記憶媒体から読出されたプログラ
ムコードが、コンピュータに挿入された機能拡張ボード
やコンピュータに接続された機能拡張ユニットに備わる
メモリに書込まれた後、そのプログラムコードの指示に
基づき、その機能拡張ボードや機能拡張ユニットに備わ
るCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instructions of the program code, It goes without saying that the CPU included in the function expansion board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0087】本発明を上記記憶媒体に適用する場合、そ
の記憶媒体には、先に説明したフローチャートに対応す
るプログラムコードを格納することになるが、簡単に説
明すると、少なくとも前記不揮発メモリヘのデータの書
込みの中断を予測し、所定のデータ量の書込みが中断前
に終了するようにデータの書込を制御する制御プログラ
ム又は、前記不揮発メモリを複数の領域に分け、該領域
ごとに種類の異なるデータを記憶するデータの書込制御
プログラムの、いずれかのプログラムコードを記憶媒体
に格納すればよい。
When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the above-described flowcharts. A control program for predicting the interruption of writing and controlling the writing of data so that writing of a predetermined amount of data is completed before the interruption, or dividing the nonvolatile memory into a plurality of areas, and different types of data for each area Any of the program codes of the data write control program for storing the data may be stored in the storage medium.

【0088】[0088]

【発明の効果】以上説明したように本発明によれば、緊
急時および通常動作時の書込みタイミングおよび書込み
データ量を適切に設定し、書込むデータの内容に合わせ
て、領域を分割し、どのタイミングでどの領域のデータ
をどれだけ書込むかを適切に設定することで、不揮発メ
モリに記憶されたデータの異常を減らし、かつ、最悪の
場合データが異常となった場合も利用者の便利を妨げな
いようにする画像形成装置が実現可能となる。
As described above, according to the present invention, the write timing and the write data amount at the time of emergency and normal operation are appropriately set, and the area is divided according to the contents of the data to be written. By appropriately setting which area and how much data is to be written at the appropriate timing, abnormalities in data stored in the non-volatile memory can be reduced, and in the worst case, if the data becomes abnormal, user convenience can be improved. An image forming apparatus that does not hinder the operation can be realized.

【0089】[0089]

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施の形態における画像形成装
置のブロック図である。
FIG. 1 is a block diagram of an image forming apparatus according to a first embodiment of the present invention.

【図2】本発明の第2の実施の形態における画像形成装
置のブロック図である。
FIG. 2 is a block diagram of an image forming apparatus according to a second embodiment of the present invention.

【図3】電源切断およびドアオープンにおける電圧降下
と書込みタイミングを示す図である。
FIG. 3 is a diagram illustrating a voltage drop and a write timing when power is turned off and a door is opened.

【図4】本発明の第1の実施の形態におけるCPUの制
御の流れを示すフローチャートである。
FIG. 4 is a flowchart illustrating a control flow of a CPU according to the first embodiment of the present invention.

【図5】本発明の第1の実施の形態における不揮発メモ
リのメモリマップを示す図である。
FIG. 5 is a diagram showing a memory map of a nonvolatile memory according to the first embodiment of the present invention.

【図6】本発明の第2の実施の形態における不揮発メモ
リのメモリマップを示す図である。
FIG. 6 is a diagram showing a memory map of a nonvolatile memory according to a second embodiment of the present invention.

【図7】本発明の第3の実施の形態における不揮発メモ
リのメモリマップを示す図である。
FIG. 7 is a diagram showing a memory map of a nonvolatile memory according to a third embodiment of the present invention.

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】装置の経時変化を記憶する不揮発メモリを
備えた画像形成装置において、 前記不揮発メモリヘのデータの書込みの中断を予測し、
所定のデータ量の書込みが中断前に終了するようにデー
タの書込を制御する制御手段を有することを特徴とする
画像形成装置。
An image forming apparatus including a nonvolatile memory for storing a change with time of the apparatus, wherein interruption of writing of data to the nonvolatile memory is predicted;
An image forming apparatus, comprising: control means for controlling data writing so that writing of a predetermined data amount is completed before interruption.
【請求項2】前記制御手段は、データ書込み開始タイミ
ングの設定を行なうことを特徴とする請求項1に記載の
画像形成装置。
2. The image forming apparatus according to claim 1, wherein said control means sets data write start timing.
【請求項3】前記制御手段は、書込むデータ量を制限す
ることを特徴とする請求項1又は2に記載の画像形成装
置。
3. The image forming apparatus according to claim 1, wherein said control means limits an amount of data to be written.
【請求項4】前記制御手段は、情報の重要度に応じて書
込みデータを選択することによって、書込みデータ量を
制限することを特徴とする請求項3に記載の画像形成装
置。
4. The image forming apparatus according to claim 3, wherein said control means limits the amount of write data by selecting write data according to the importance of information.
【請求項5】装置の経時変化を記憶する不揮発メモリを
備えた画像形成装置において、 前記不揮発メモリを複数の領域に分け、該領域ごとに種
類の異なるデータを記憶することを特徴とする画像形成
装置。
5. An image forming apparatus comprising a non-volatile memory for storing changes over time of an apparatus, wherein the non-volatile memory is divided into a plurality of areas, and different types of data are stored for each of the areas. apparatus.
【請求項6】前記領域ごとに異なるタイミングでデータ
を書込むことを特徴とする請求項5に記載の画像形成装
置。
6. The image forming apparatus according to claim 5, wherein data is written at a different timing for each area.
【請求項7】前記領域ごとにデータに対し異なるエラー
チェックの扱いをすることを特徴とする請求項5に記載
の画像形成装置。
7. The image forming apparatus according to claim 5, wherein different error checks are performed on data for each area.
【請求項8】前記領域ごとに記憶するデータを、そのデ
ータが示す情報の重要度または緊急度に応じて設定する
ことを特徴とする請求項5に記載の画像形成装置。
8. The image forming apparatus according to claim 5, wherein data to be stored for each area is set according to importance or urgency of information indicated by the data.
【請求項9】感光ドラムユニットに前記不揮発メモリを
搭載することを特徴とする請求項1乃至8のいずれか1
つに記載の画像形成装置。
9. The image forming apparatus according to claim 1, wherein said nonvolatile memory is mounted on a photosensitive drum unit.
An image forming apparatus according to any one of the preceding claims.
【請求項10】装置の経時変化を記憶する不揮発メモリ
を備えた画像形成装置の制御方法であって、 前記不揮発メモリヘのデータの書込みの中断を予測し、
所定のデータ量の書込みが中断前に終了するようにデー
タの書込を制御する制御工程を有することを特徴とする
画像形成装置の制御方法。
10. A method of controlling an image forming apparatus having a nonvolatile memory for storing a change with time of an apparatus, comprising: predicting interruption of data writing to the nonvolatile memory;
A method for controlling an image forming apparatus, comprising a control step of controlling data writing so that writing of a predetermined amount of data is completed before interruption.
【請求項11】装置の経時変化を記憶する不揮発メモリ
を備えた画像形成装置の制御方法であって、 前記不揮発メモリを複数の領域に分け、該領域ごとに種
類の異なるデータを記憶するデータの書込制御工程を有
することを特徴とする画像形成装置の制御方法。
11. A method for controlling an image forming apparatus having a non-volatile memory for storing changes over time of an apparatus, comprising: dividing the non-volatile memory into a plurality of areas; and storing data of different types for each area. A method for controlling an image forming apparatus, comprising a writing control step.
【請求項12】装置の経時変化を記憶する不揮発メモリ
を備えた画像形成装置の制御プログラムを格納したコン
ピュータ可読メモリであって、 前記不揮発メモリヘのデータの書込みの中断を予測し、
所定のデータ量の書込みが中断前に終了するようにデー
タの書込を制御する制御プログラムを格納することを特
徴とするコンピュータ可読メモリ。
12. A computer readable memory storing a control program for an image forming apparatus having a non-volatile memory for storing changes over time of the apparatus, wherein the computer predicts interruption of data writing to the non-volatile memory,
A computer-readable memory storing a control program for controlling data writing such that writing of a predetermined amount of data is completed before interruption.
【請求項13】装置の経時変化を記憶する不揮発メモリ
を備えた画像形成装置の制御プログラムを格納したコン
ピュータ可読メモリであって、 前記不揮発メモリを複数の領域に分け、該領域ごとに種
類の異なるデータを記憶するデータの書込制御プログラ
ムを格納することを特徴とするコンピュータ可読メモ
リ。
13. A computer-readable memory storing a control program for an image forming apparatus having a non-volatile memory for storing changes over time of the apparatus, wherein the non-volatile memory is divided into a plurality of areas, and different types are used for each of the areas. A computer-readable memory storing a data write control program for storing data.
JP24509698A 1998-08-31 1998-08-31 Image forming apparatus and control method thereof Expired - Fee Related JP4136105B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24509698A JP4136105B2 (en) 1998-08-31 1998-08-31 Image forming apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24509698A JP4136105B2 (en) 1998-08-31 1998-08-31 Image forming apparatus and control method thereof

Publications (3)

Publication Number Publication Date
JP2000071566A true JP2000071566A (en) 2000-03-07
JP2000071566A5 JP2000071566A5 (en) 2007-08-02
JP4136105B2 JP4136105B2 (en) 2008-08-20

Family

ID=17128557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24509698A Expired - Fee Related JP4136105B2 (en) 1998-08-31 1998-08-31 Image forming apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP4136105B2 (en)

Also Published As

Publication number Publication date
JP4136105B2 (en) 2008-08-20

Similar Documents

Publication Publication Date Title
US9075705B2 (en) Information processing apparatus capable of appropriately providing notification of storage unit failure prediction, control method therefor, and storage medium
US7707376B2 (en) Verifying the validity of data saved at power down by comparing the time of save to time of power-off upon start up
US6516440B1 (en) Printer and a control method for saving data from volatile to nonvolatile memory in the printer
JP2004021811A (en) Disk controller using nonvolatile memory
KR100899582B1 (en) Information processing apparatus, control apparatus therefor, control method therefor and control program
JP4482514B2 (en) Image forming apparatus
US6532551B1 (en) Data management method for backup memory
JP2008179144A (en) Method for counting event and image formation device implementing the method
EP1185932B1 (en) Method and apparatus for automatically reintegrating a module into a computer system
US7457990B2 (en) Information processing apparatus and information processing recovery method
JP2000071566A (en) Imaging apparatus and control method therefor
JP3919375B2 (en) Image forming apparatus and image forming apparatus control method
JP2002049509A (en) Data processing system
JP2003256240A (en) Information processor and its failure recovering method
JPH1011293A (en) Information processor
JP2005035229A (en) Printer
JP2000132464A (en) Data writing method and device and image forming device
CN117729294A (en) Color correction method, device, equipment and storage medium
JP4336159B2 (en) Printing device
JPH10171546A (en) Activation monitoring device
JP5067105B2 (en) Printing device, backup device, backup method, and backup program
JP2003006056A (en) Memory backup circuit
US10992825B2 (en) Image forming apparatus, method for controlling image forming apparatus, and storage medium
JPH0581138A (en) Microprogram controller
JP2001210027A (en) Hard disk device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050809

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7426

Effective date: 20050809

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20050809

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070615

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080111

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080128

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080313

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080603

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110613

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120613

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120613

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130613

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees