JP2866521B2 - Copier memory system - Google Patents

Copier memory system

Info

Publication number
JP2866521B2
JP2866521B2 JP4049727A JP4972792A JP2866521B2 JP 2866521 B2 JP2866521 B2 JP 2866521B2 JP 4049727 A JP4049727 A JP 4049727A JP 4972792 A JP4972792 A JP 4972792A JP 2866521 B2 JP2866521 B2 JP 2866521B2
Authority
JP
Japan
Prior art keywords
memory
copies
data
writing
power supply
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP4049727A
Other languages
Japanese (ja)
Other versions
JPH05249769A (en
Inventor
晴雄 西山
美輝 森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Consejo Superior de Investigaciones Cientificas CSIC
Original Assignee
Consejo Superior de Investigaciones Cientificas CSIC
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 Consejo Superior de Investigaciones Cientificas CSIC filed Critical Consejo Superior de Investigaciones Cientificas CSIC
Priority to JP4049727A priority Critical patent/JP2866521B2/en
Publication of JPH05249769A publication Critical patent/JPH05249769A/en
Application granted granted Critical
Publication of JP2866521B2 publication Critical patent/JP2866521B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、複写機において制御
パラメータやコピー枚数等の変動データを記憶するメモ
リシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory system for storing variable data such as control parameters and the number of copies in a copying machine.

【0002】[0002]

【従来の技術】従来の複写機では、CPUのワークエリ
ア、および、制御パラメータ等の固定データやコピー枚
数(メンテナンス等のためのトータルコピー枚数)等の
変動データを記憶するメモリとして共通のSRAMを使
用していた。このSRAMには上記したように制御パラ
メータ,コピー枚数等が記憶されるため、これらのデー
タが消去されてしまわないように、バッテリ(リチウム
バッテリ等)でバックアップしていた。
2. Description of the Related Art In a conventional copier, a common SRAM is used as a work area of a CPU and a memory for storing fixed data such as control parameters and variable data such as the number of copies (total number of copies for maintenance). I was using. Since the SRAM stores the control parameters, the number of copies, and the like as described above, the data is backed up by a battery (such as a lithium battery) so that these data are not erased.

【0003】[0003]

【発明が解決しようとする課題】しかし、バッテリバッ
クアップされたSRAMでは、ノイズやバッテリ容量の
低下によりメモリ内容が破壊されてしまう問題が生じる
ことがあった。したがって耐ノイズ性に優れ、メモリ内
容保存にバッテリを必要としないメモリ素子が望まれて
いた。このようなメモリ素子としては、EEPROM等
の書換え可能な不揮発性メモリがある。EEPROMは
耐ノイズ性に優れ、メモリ保存にバッテリを必要としな
い。このため制御パラメータのような書換えを行う必要
がほとんどないデータの保存には適しているが、以下の
ような問題を有しているため、コピー枚数等の書換えを
行う必要があるデータの記憶素子としては使用されずに
いた。
However, in a battery-backed SRAM, there has been a problem that the contents of the memory may be destroyed due to noise or a decrease in battery capacity. Therefore, a memory element which has excellent noise resistance and does not require a battery for storing memory contents has been desired. As such a memory element, there is a rewritable nonvolatile memory such as an EEPROM. EEPROMs have excellent noise immunity and do not require a battery for memory storage. For this reason, it is suitable for storing data such as control parameters that need hardly be rewritten. However, it has the following problems, and is a storage element for data that needs to be rewritten such as the number of copies. As was not used.

【0004】 書き込み回数に制限があり1万〜10
万回程度である。一方、コピー枚数をカウントするに
は、30万〜300万枚程度のコピー枚数をクリアしな
ければならず、毎回コピー枚数を書き換えたのではエラ
ーが発生してしまう。
The number of times of writing is limited, and
About ten thousand times. On the other hand, in order to count the number of copies, it is necessary to clear about 300,000 to 3,000,000 copies, and an error occurs if the number of copies is rewritten each time.

【0005】 内部にポンプアップ回路を有している
ため書き込みに要する時間が長い(10msec程度)。こ
のため頻繁に書き込みを行うと処理時間が長くなってし
まう問題がある。
The time required for writing is long (about 10 msec) because of the internal pump-up circuit. For this reason, there is a problem in that frequent writing increases the processing time.

【0006】この発明の目的は、不揮発性メモリを制御
パラメータ,コピー枚数等の記憶メモリとして用いるよ
うにして、ノイズ、バッテリ電圧低下によるメモリ内容
の破壊を防止する複写機のメモリシステムを提供するこ
とにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a memory system of a copying machine in which a non-volatile memory is used as a storage memory for control parameters, the number of copies, and the like, thereby preventing destruction of memory contents due to noise and a decrease in battery voltage. It is in.

【0007】[0007]

【課題を解決するための手段】この発明は、コピー枚数
等の変動データのカウントエリアとして用いられ、バッ
テリバックアップされた揮発性メモリと、前記変動デー
タを記憶する書換え可能な不揮発性メモリと、を備える
とともに、前記揮発性メモリの変動データを、前記不揮
発性メモリに所定タイミングごとに書き込む手段を備え
たことを特徴とする。
According to the present invention, a volatile memory which is used as a count area for variation data such as the number of copies and is backed up by a battery and a rewritable nonvolatile memory for storing the variation data are provided. And a means for writing the fluctuation data of the volatile memory to the nonvolatile memory at predetermined timings.

【0008】前記所定タイミングは、前記変動データが
所定量の整数倍であるとき(所定量は2以上であ
る。)、または、装置本体への電源供給OFF時におけ
る装置本体の負荷状態から判断された前記揮発性メモリ
および不揮発性メモリへの電源供給を保持することがで
きる第1の時間が前記揮発性メモリおよび不揮発性メモ
リへの書き込みに要する第2の時間を越えているときで
ある。
[0008] The predetermined timing is when the fluctuation data is an integral multiple of a predetermined amount (the predetermined amount is 2 or more).
You. ), Or the first time the volatile capable of holding a power supply to the volatile and non-volatile memory is determined from the load state of the apparatus main body when the power supply OFF to the device body This is when the second time required for writing to the memory and the nonvolatile memory is exceeded.

【0009】[0009]

【作用】この発明においては、バッテリバックアップさ
れた揮発性メモリを用いてコピー枚数等の変動データが
カウントされ、所定タイミングになるとその変動データ
が不揮発性メモリに書き込まれる。例えば変動データが
所定量の整数倍となるごと(所定量加算されるごと)に
不揮発性メモリに書き込まれる。これによって、不揮発
性メモリに変動データが記憶されて保存される。この場
合の書き込みは、変動データが所定量の整数倍に達する
ごと等となり、また、所定量は2以上であるので書き込
み回数が減らされるから、書き込み回数過多によるエラ
ーの発生を防止できる。また、記所定タイミングを、
装置本体への電源供給OFF時であって且つ電源供給O
FF時における装置本体の負荷状態から判断された前記
揮発性メモリおよび不揮発性メモリへの電源供給を保持
することができる第1の時間が前記揮発性メモリおよび
不揮発性メモリへの書き込みに要する第2の時間を越え
ているときすれば、不揮発性メモリへの書き込みエラ
ーの発生を防止することができる。
According to the present invention, variable data such as the number of copies is counted using a battery-backed-up volatile memory, and at a predetermined timing, the changed data is written to a nonvolatile memory. For example, change data
Each time it becomes an integral multiple of the predetermined amount (every predetermined amount is added ), it is written to the nonvolatile memory. As a result, the fluctuation data is stored and stored in the nonvolatile memory. In this case, the writing is performed every time the variable data reaches an integral multiple of a predetermined amount. Also, since the predetermined amount is 2 or more, the number of times of writing is reduced. Can be prevented. In addition, the previous Symbol predetermined timing,
When the power supply to the main unit is OFF and the power supply is O
A second time required for writing to the volatile memory and the non-volatile memory is a first time during which the power supply to the volatile memory and the non-volatile memory determined from the load state of the apparatus main body at the time of the FF can be maintained. if when it exceeds the time, it is possible to prevent the occurrence of a write error to the non-volatile memory.

【0010】[0010]

【実施例】図1はこの発明の実施例であるメモリシステ
ムを備える複写機のブロック図である。複写機本体1内
には電源ユニット2、制御基板ユニット3、メモリ基板
ユニット4、操作基板ユニット5、リモート通信回路基
板ユニット6等が設けられている。
FIG. 1 is a block diagram of a copying machine having a memory system according to an embodiment of the present invention. A power supply unit 2, a control board unit 3, a memory board unit 4, an operation board unit 5, a remote communication circuit board unit 6, and the like are provided in the copying machine body 1.

【0011】電源ユニット2は複写機本体のメインスイ
ッチMSwがオンされたときにDC電源(+38V、+
24V、+10V、+5V等)を発生させ、DC電源を
制御基板ユニット3,メモリ基板ユニット4等へ供給す
る。また、電源ユニット2内にはオン/オフ検知回路2
1が設けられている。オン/オフ検知回路21は整流器
の出力波形を検知して外部電源から複写機本体内に供給
される電源のオン/オフ状態を検出する。したがって、
メインスイッチMSwがオフされたときの他に、停電や
コンセント抜け等によって電源供給が遮断されたときで
も、電源オフを検知できる。制御基板ユニット3はCP
U31、ROM32やI/O、ドライバ等を備え、各ユ
ニットとバスラインを通して接続されており、各ユニッ
トの動作を制御する。メモリ基板ユニット4はバッテリ
43でバックアップされたSRAM(揮発性メモリ)4
1、EEPROM(不揮発性メモリ)42、バッテリ4
3の電圧を検出する電圧検知回路44を備えている。S
RAM41には、メインスイッチMSwオン時には図示
しない3端子レギュレータを介してほぼ5Vの電源が供
給されるが、メインスイッチMSwがオフされるとバッ
テリ(リチウムバッテリ)43からほぼ3Vの電源が供
給される。バッテリ43の電圧は図6で示したような特
性を有し、経時的に消耗してゆく。この消耗度を電圧検
知回路44が検出する。操作基板ユニット5は入力キー
および表示部を制御する。リモート通信回路基板ユニッ
ト6は外部の電話機8が接続されたパソコン,モデム7
と接続され、トラブルが生じたときに公衆電話回線を通
してサービスステーションとの通信を行う。例えば、バ
ッテリ43の電圧低下等のトラブルが生じたときに公衆
電話回線を通してサービスステーションとの通信が行わ
れる。
The power supply unit 2 has a DC power supply (+ 38V, +
24V, + 10V, + 5V, etc.) and supplies DC power to the control board unit 3, the memory board unit 4, and the like. The power supply unit 2 has an on / off detection circuit 2
1 is provided. An on / off detection circuit 21 detects an output waveform of the rectifier and detects an on / off state of power supplied from an external power supply to the inside of the copying machine body. Therefore,
The power-off can be detected not only when the main switch MSw is turned off but also when the power supply is cut off due to a power failure, disconnection of an outlet, or the like. Control board unit 3 is CP
A U31, a ROM 32, an I / O, a driver, and the like are provided, connected to each unit through a bus line, and control the operation of each unit. The memory board unit 4 includes an SRAM (volatile memory) 4 backed up by a battery 43.
1, EEPROM (non-volatile memory) 42, battery 4
3 is provided with a voltage detection circuit 44 for detecting the voltage. S
When the main switch MSw is turned on, a power of approximately 5 V is supplied to the RAM 41 via a three-terminal regulator (not shown). When the main switch MSw is turned off, a power of approximately 3 V is supplied from the battery (lithium battery) 43. . The voltage of the battery 43 has the characteristics as shown in FIG. 6 and is consumed over time. The degree of wear is detected by the voltage detection circuit 44. The operation board unit 5 controls an input key and a display unit. The remote communication circuit board unit 6 includes a personal computer and a modem 7 to which an external telephone 8 is connected.
And communicates with the service station through a public telephone line when a trouble occurs. For example, when a trouble such as a voltage drop of the battery 43 occurs, communication with the service station is performed through a public telephone line.

【0012】バッテリバックアップされたSRAM41
には複写機の動作プログラムを実行する上で必要なワー
クエリアや、コピー枚数を記憶するコピー枚数カウント
エリアが設けられている。コピー枚数カウントエリアに
はトータルコピー枚数が記憶される。コピー処理中、1
枚のコピーが行われるごとにコピー枚数カウントエリア
のコピー枚数をインクリメントされてゆき、この複写機
のトータルのコピー枚数が記憶される。なお、コピー枚
数カウントエリアには、トータルコピー枚数の他に、コ
ピー処理中にジャムした枚数,用紙サイズごとのコピー
枚数等も記憶されるようにしてもよい。SRAM41に
おいてカウントされたコピー枚数は所定タイミングごと
にEEPROM42に書き込まれる。なおこの実施例で
は変動データをコピー枚数とした例を示しているが、コ
ピー枚数の他に、例えば感光体の回転回数,ジャム枚数
等を変動データとして設定してもよい。
Battery-backed SRAM 41
Is provided with a work area necessary for executing the operation program of the copying machine and a copy number counting area for storing the number of copies. The total number of copies is stored in the copy count area. During copy processing, 1
Each time a copy is made, the number of copies in the copy count area is incremented, and the total number of copies of the copying machine is stored. The copy number count area may store, in addition to the total number of copies, the number of jams during the copy process, the number of copies for each paper size, and the like. The number of copies counted in the SRAM 41 is written to the EEPROM 42 at a predetermined timing. Although this embodiment shows an example in which the variation data is the number of copies, the number of rotations of the photoconductor, the number of jams, and the like may be set as the variation data in addition to the number of copies.

【0013】EEPROM42には、コピー枚数を記憶
するエリアや、各複写機に固有の制御データ,使用地域
に応じて設定されるデータ,各種モードの設定条件、等
の制御パラメータを記憶するエリアが設けられている。
制御パラメータは工場出荷段階に記憶され、一度設定さ
れた後はほとんど変更されず、書換えが行われることは
ほとんどない。一方、コピー枚数は上記したように所定
タイミングごとにSRAM41からEEPROM42に
書き込まれる。
The EEPROM 42 is provided with an area for storing the number of copies and an area for storing control parameters such as control data unique to each copying machine, data set according to the use area, and setting conditions of various modes. Have been.
The control parameters are stored at the factory shipment stage, are hardly changed once set, and are hardly rewritten. On the other hand, the number of copies is written from the SRAM 41 to the EEPROM 42 at a predetermined timing as described above.

【0014】この実施例における書き込みタイミングは
所定枚数ごとである。この所定枚数は以下のようにして
設定される。EEPROM42への書き込み可能回数は
通常、1万〜10万回程度である。一方、複写機のコピ
ー枚数は例えば10万枚保証の複写機の場合、30万枚
程度はコピー可能であると考える。
The writing timing in this embodiment is for each predetermined number of sheets. This predetermined number is set as follows. The number of times the EEPROM 42 can be written is usually about 10,000 to 100,000 times. On the other hand, it is considered that about 300,000 copies can be made in the case of a 100,000-copy guaranteed copy machine.

【0015】そこでこの実施例ではSRAM41で30
枚のコピー枚数が加算される度にEEPROM42に対
してコピー枚数の書き込みを行うようにして、複写機の
ライフ中はEEPROM42の交換を行う必要がないよ
うにしている。なおこの実施例ではマルチコピー中はE
EPROMへの書き込みタイミングかどうかの判定は行
わず、マルチコピーが終了してから加算コピー枚数が3
0枚を越えているかどうか判定し、30枚を越えていた
場合にEEPROM42へのコピー枚数書き込み(転
送)を行うようにしている。
Therefore, in this embodiment, 30
Each time the number of copies is added, the number of copies is written to the EEPROM 42 so that it is not necessary to replace the EEPROM 42 during the life of the copying machine. In this embodiment, during multi-copy, E
It is not determined whether or not it is the timing for writing to the EPROM.
It is determined whether or not the number of copies exceeds zero, and if the number of copies exceeds 30, the number of copies (transfer) is written to the EEPROM 42.

【0016】図2,図3はこの実施例に係るフローチャ
ートである。1枚のコピー処理が終了するごとにSRA
M41のカウンタはインクリメントされ、コピー枚数を
記憶してゆく(n11→n12)。マルチコピー中はコ
ピー処理を繰り返すだけで、EEPROM42への書き
込みタイミングかどうかのチェックは行われない。そし
て、マルチコピーが終了してレディ状態になったときに
EEPROM42への書き込みを行うタイミングかどう
かがチェックされる(n13→n14)。カウンタのコ
ピー枚数に30枚以上の追加があればEEPROM42
にカウンタの内容を書き込む(n1→n2→n3→n
4)。なお、R1はレジスタである。このようにレディ
状態のときにEEPROM42への書き込みを行うよう
にすると、感光体やコピーランプ等が動作していないた
め負荷が少なく、安定した書き込みを行うことができ
る。
FIGS. 2 and 3 are flowcharts according to this embodiment. Each time one copy process is completed, the SRA
The counter of M41 is incremented, and the number of copies is stored (n11 → n12). During multi-copy, only the copying process is repeated, and it is not checked whether it is the writing timing to the EEPROM 42 or not. Then, it is checked whether or not it is time to write data into the EEPROM 42 when the multicopy is completed and the ready state is reached (n13 → n14). If more than 30 copies are added to the counter copy number, the EEPROM 42
Write the contents of the counter to (n1 → n2 → n3 → n
4). Note that R1 is a register. When the writing to the EEPROM 42 is performed in the ready state as described above, since the photoconductor, the copy lamp, and the like are not operating, the load is small and stable writing can be performed.

【0017】このようにしてEEPROM42にコピー
枚数データを記憶しておくと、バッテリの消耗やノイズ
等により複写機の電源をオフしている間に、SRAM4
1のコピー枚数データが破壊されてしまったときに、E
EPROM42からコピー枚数データを読み出してSR
AM41のデータを書き換えることができる。図4はそ
の処理手順を示したフローチャートである。複写機の電
源がオンされると、通常のメモリチェックとともにSR
AM41のコピー枚数データとEEPROM42のコピ
ー枚数データとの比較を行う(n5→n6)。そしても
し、両コピー枚数の差が30枚(所定枚数)以上であっ
たときにはバッテリ消耗,ノイズ等によりデータが破壊
されたものと判断して、EEPROM42に記憶されて
いるコピー枚数をSRAM41に書き込む(n7)。E
EPROM42はバッテリを必要とせず耐ノイズ性にも
優れているため、EEPROM42に一旦書き込んだコ
ピー枚数が破壊されてしまうことはほとんどない。一方
SRAM41はバッテリ43の消耗やノイズ等により書
き込んだコピー枚数が破壊されてしまうことがある。そ
こで上記のように、EEPROM42にコピー枚数を記
憶しておき、SRAM41のデータが破壊されていた場
合にはEEPROM42のコピー枚数をSRAM41に
書き移すことによってSRAM41のコピー枚数を修正
することができる。
When the number of copies data is stored in the EEPROM 42 in this manner, while the power of the copying machine is turned off due to battery exhaustion or noise, the SRAM 4
When the number of copies data of 1 is destroyed,
Reads the number of copies data from EPROM 42
AM41 data can be rewritten. FIG. 4 is a flowchart showing the processing procedure. When the power of the copier is turned on, the SR
The copy number data of the AM 41 is compared with the copy number data of the EEPROM 42 (n5 → n6). If the difference between the two copies is equal to or greater than 30 (predetermined number), it is determined that the data has been destroyed due to battery consumption, noise, or the like, and the number of copies stored in the EEPROM 42 is written to the SRAM 41 ( n7). E
Since the EPROM 42 does not require a battery and has excellent noise resistance, the number of copies once written in the EEPROM 42 is hardly destroyed. On the other hand, the number of copies written in the SRAM 41 may be destroyed due to consumption of the battery 43, noise, or the like. Thus, as described above, the number of copies is stored in the EEPROM 42, and if the data in the SRAM 41 has been destroyed, the number of copies in the SRAM 41 can be corrected by transferring the number of copies in the EEPROM 42 to the SRAM 41.

【0018】図5,図6はこの発明に係る別の実施例を
示した図である。バッテリ43の電圧は経時的に図6の
ように変化し、バッテリ電圧がほぼ 2.2V以下まで低下
するとSRAM41の記憶内容が消去されたりエラーが
生じたりする。そこでこの実施例では、バッテリ電圧が
2.2V以下になったときにSRAM41のコピー枚数を
EEPROM42に書き移しデータが保存されるように
している。図5はその処理手順を示したフローチャート
である。バッテリチェックルーチンは複写機が動作中、
所定タイミングごとに実行されるルーチンである。この
ルーチンでは、電圧検知回路44で検知されるバッテリ
電圧をチェックし、バッテリ電圧が 2.2V以下になると
SRAM41に記憶されているコピー枚数をEEPRO
M42に書き移す(n21,n24)。このとき、フラ
グを用いることによって、バッテリ電圧の低下が検知さ
れた一番最初のときのデータをEEPROM42に書き
込む(n22→n23→n24)。このように制御する
ことによって、バッテリ電圧の低下により化けてしまっ
たデータがEEPROM42に書き込まれてしまうのを
防止できる。なお、このバッテリ電圧が低下したときに
EEPROM42にコピー枚数を書き込む処理は、図
2,図3に示した所定枚数ごとにEEPROM42にコ
ピー枚数を書き込む処理と組み合わせて用いられる。
FIGS. 5 and 6 show another embodiment according to the present invention. The voltage of the battery 43 changes over time as shown in FIG. 6, and when the battery voltage drops to about 2.2 V or less, the stored contents of the SRAM 41 are erased or an error occurs. Therefore, in this embodiment, the battery voltage is
When the voltage drops to 2.2 V or less, the number of copies in the SRAM 41 is transferred to the EEPROM 42 to save the data. FIG. 5 is a flowchart showing the processing procedure. The battery check routine is executed while the copier is operating.
This is a routine executed at predetermined timings. In this routine, the battery voltage detected by the voltage detection circuit 44 is checked, and when the battery voltage falls to 2.2 V or less, the number of copies stored in the SRAM 41 is changed to EEPRO.
Transfer to M42 (n21, n24). At this time, by using the flag, the data at the first time when the decrease in the battery voltage is detected is written in the EEPROM 42 (n22 → n23 → n24). By performing such control, it is possible to prevent data corrupted by a decrease in battery voltage from being written to the EEPROM 42. The process the battery voltage is written the number of copies to EEPROM42 when lowered, FIG.
2, a predetermined number of copies shown in FIG.
Used in combination with the process of writing the number of copies.

【0019】図7,図8はこの発明に係る別の実施例を
示した図である。この実施例の装置は、図2、図3にフ
ローチャートで示した処理と以下に示す処理を組み合わ
せて実効する(ここでは、図2、図3に示したフローチ
ャートの説明は省略する。)。電源ユニット2ではトラ
ンスの二次側出力をダイオードブリッジで整流し、平滑
回路等で処理した後制御基板ユニット等の各ユニットに
出力する。また電源ユニット2内のオン/オフ検知回路
21はダイオードブリッジの出力をCPUに入力する。
図8はダイオードブリッジの出力波(整流器出力波形)
と、電源ユニット2から各ユニットに送られる定電圧出
力波形を表した図である。図から分かるように、メイン
スイッチMSwをオンすると整流器出力波形,定電圧出
力波形はともに徐々に上昇してゆく。一方、メインスイ
ッチMSwをオフすると整流器出力波形はほぼオフと同
時にフラットになるが、定電圧出力波形は暫く定電圧が
保たれ、そののち、ゆっくりと降下してゆく。したがっ
て、整流器の出力をオン/オフ検知信号としておけば、
そののち、定電圧が不安定になってしまうまでにSRA
Mの内容をEEPROMに転送させることができる。こ
のように整流器の出力をオン/オフ検知信号とした場
合、停電やコンセント抜け等によって複写機本体への電
源供給がストップされた場合にも電源オフを検知するこ
とができる。
FIGS. 7 and 8 show another embodiment according to the present invention . The apparatus of this embodiment is shown in FIGS.
Combining the processing shown in the chart and the processing shown below
(Here, the flowchart shown in FIGS. 2 and 3)
The description of the chart is omitted. ). In the power supply unit 2, the secondary output of the transformer is rectified by a diode bridge, processed by a smoothing circuit or the like, and then output to each unit such as a control board unit. The on / off detection circuit 21 in the power supply unit 2 inputs the output of the diode bridge to the CPU.
Fig. 8 shows the output wave of the diode bridge (output waveform of the rectifier).
FIG. 3 is a diagram showing a constant voltage output waveform sent from the power supply unit 2 to each unit. As can be seen, when the main switch MSw is turned on, both the rectifier output waveform and the constant voltage output waveform gradually rise. On the other hand, when the main switch MSw is turned off, the rectifier output waveform becomes almost flat at the same time as being turned off, but the constant voltage output waveform keeps the constant voltage for a while, and then gradually drops. Therefore, if the output of the rectifier is used as the on / off detection signal,
After that, until the constant voltage becomes unstable, the SRA
The contents of M can be transferred to the EEPROM. When the output of the rectifier is used as the on / off detection signal, the power off can be detected even when the power supply to the copying machine main body is stopped due to a power failure, an outlet disconnection, or the like.

【0020】なおこの実施例では、オン/オフ検知回路
21によって複写機本体への電源供給がオフされるとと
もに、バッテリの電圧を検知する電圧検知回路44によ
りバッテリ電圧の低下が検知されたときにSRAM41
に記憶されているコピー枚数をEEPROM42に転送
するようにしている。図7はその処理手順を示したフロ
ーチャートである。
In this embodiment, when the power supply to the copying machine main body is turned off by the on / off detection circuit 21, and the battery voltage drop is detected by the voltage detection circuit 44 for detecting the voltage of the battery, SRAM 41
Is transferred to the EEPROM 42. FIG. 7 is a flowchart showing the processing procedure.

【0021】電源オフ信号が検知されると、SRAMの
ワークエリアにあるデータをメモリエリアに退避させる
(n31)。例えば、コピー処理中に停電やコンセント
抜け等によって電源が落ちてしまったときにはコピー処
理に伴うコピー枚数のカウントデータ等がワークエリア
で処理中であるため、それをSRAMのメモリエリアに
退避させる(n31)。そしてバッテリ電圧をチェック
し、バッテリ電圧が規定電圧を下回っていればSRAM
41のデータをEEPROM42に転送する(n32→
n33)。こののちSRAM41は待機モードになる
(n34)。
When the power-off signal is detected, the data in the work area of the SRAM is saved in the memory area (n31). For example, when the power is turned off during a copy process due to a power outage, an outlet disconnection, or the like, count data of the number of copies involved in the copy process is being processed in the work area, and is saved in the SRAM memory area (n31). ). Then, check the battery voltage, and if the battery voltage is below the specified voltage, the SRAM
41 is transferred to the EEPROM 42 (n32 →
n33). Thereafter, the SRAM 41 enters the standby mode (n34).

【0022】なお、この実施例では電源供給がオフされ
るとともに、揮発性メモリのバッテリ電圧が低下したと
きにEEPROM42への書き込みを行っているが、電
源供給オフが検知されたのみでEEPROM42への書
き込みを行うようにしてもよいし、また、図2,図3に
フローチャートで示した所定枚数ごとにEEPROM4
2へコピー枚数を書き込む処理も実行される
In this embodiment, the power supply is turned off and the writing to the EEPROM 42 is performed when the battery voltage of the volatile memory decreases. However, the power supply to the EEPROM 42 is detected only when the power supply off is detected. Writing may be performed, or the EEPROM 4 may be written every predetermined number of sheets shown in the flowcharts of FIGS.
A process of writing the number of copies to 2 is also executed .

【0023】図9,図10はこの発明に係る別の実施例
を示した図である。SRAM41のデータをEEPRO
M42に転送するのに必要な作動電圧は5Vである。と
ころで複写機においてはコピー動作中に電源がオフされ
てしまうことがある。特に、停電,コンセント抜け等が
生じるとコピー動作中に突然電源供給がオフされてしま
う。レディ状態で電源供給がオフされた場合であると、
例えば5V電源は図10(B)に示したように暫くの間
5Vが保持される(例えば180msec程度)。これ
に対し、コピー動作中に突然電源供給がオフされてしま
うと5V電源は図10(A)に示したように短時間で減
衰してしまう(例えば30msec程度)。一方、EE
PROM42への書き込み時間は10msec程度であ
るから、図10(B)の状態であると十分に余裕を持っ
てEEPROM42への書き込みを行うことができる
が、図10(A)の状態であるとEEPROM42への
書き込みを行う間、5Vの電源電圧が維持されないから
書き込みエラーが生じてしまうことがある。このため、
EEPROM42へのデータ転送タイミングになったと
きに図9にフローチャートで示した処理を行うようにし
ている。なお電源供給オフ後に5V電圧が保持される時
間は、電源供給オフ時の負荷状態に応じて予め求められ
て記憶されている。複写機本体内の負荷状態は、複写機
の動作状態に対応してほぼ一定している。複写機の動作
状態とは例えば、レディ状態であるか、また、コピー処
理中であればどの段階であるか、定着ヒータへの電力供
給はどの程度であるか等である。また電源の特性も既知
であって、各動作状態で必要な電力や各動作状態での電
源ユニットの応答性もほぼ一定している。したがって、
電源供給オフ時の負荷状態に応じて電源供給オフ後、ど
の程度の時間5V電圧が保持できるかも求められる。
FIGS. 9 and 10 show another embodiment according to the present invention . EEPRO data of SRAM41
The operating voltage required to transfer to M42 is 5V. Incidentally, the power of the copying machine may be turned off during the copying operation. In particular, when a power failure, outlet disconnection, or the like occurs, the power supply is suddenly turned off during the copy operation. If the power supply is turned off in the ready state,
For example, as shown in FIG. 10B, 5V power is maintained at 5V for a while (for example, about 180 msec). On the other hand, if the power supply is suddenly turned off during the copy operation, the 5V power supply attenuates in a short time as shown in FIG. 10A (for example, about 30 msec). On the other hand, EE
Since the writing time to the PROM 42 is about 10 msec, writing to the EEPROM 42 can be performed with a sufficient margin in the state of FIG. 10B, but in the state of FIG. During the writing to the memory, a writing error may occur because the power supply voltage of 5 V is not maintained. For this reason,
When the data transfer timing to the EEPROM 42 comes, the processing shown in the flowchart of FIG. 9 is performed. The time during which the 5V voltage is held after the power supply is turned off is obtained and stored in advance according to the load state when the power supply is turned off. The load state in the copying machine main body is substantially constant according to the operation state of the copying machine. The operating state of the copier includes, for example, whether the copier is in a ready state, the stage during the copying process, the power supply to the fixing heater, and the like. The characteristics of the power supply are also known, and the required power in each operation state and the responsiveness of the power supply unit in each operation state are almost constant. Therefore,
It is also required how long the 5 V voltage can be held after the power supply is turned off according to the load state when the power supply is turned off.

【0024】コピー枚数が所定枚数加算されたり電源供
給がオフされる等してEEPROM42への転送タイミ
ングになると、書き込みに必要な電圧が保持される状態
かどうかが判別される(n41)。書き込み終了まで電
圧が保持される状態、例えば図10(B)に示した状態
であればEEPROM42へのデータ転送を行ってフラ
グAをセットする(n42→n43)。また書き込み終
了まで電圧が保持されないような状態、例えば図10
(A)に示した状態であればEEPROM42へのデー
タ転送を行わず、フラグAを“0”にする(n42→n
44)。なおフラグAはEEPROMへのデータ書き込
みを行ったかどうかをチェックするためのものである。
When the transfer timing to the EEPROM 42 is reached by adding a predetermined number of copies or turning off the power supply, it is determined whether the voltage required for writing is maintained (n41). If the voltage is held until the end of writing, for example, the state shown in FIG. 10B, data is transferred to the EEPROM 42 and the flag A is set (n42 → n43). Further, a state where the voltage is not held until the end of writing, for example, as shown in FIG.
In the state shown in (A), the data is not transferred to the EEPROM 42, and the flag A is set to "0" (n42 → n).
44). The flag A is for checking whether data has been written to the EEPROM.

【0025】図11,図12はこの発明に係るさらに別
実施例を示した図である。大容量負荷としては例えば
コピー画像を加熱定着するための定着ヒータがある。定
着ヒータの制御回路は図12に示したように、ヒートロ
ーラ51に押圧配置したサーミスタTHの出力信号RT
HのレベルをコンパレータC1,C2,C3で検出し、
その結果をCPU31に入力するものである。CPU3
1はHL信号を出力し、ドライバIC52でゼロクロス
回路付きのフォトカプラPC1をドライブし、トライア
ックTO1をオンすることでヒータランプHLを点灯し
ている。ヒータランプHLを点灯させるには、約1kw
程度の電力が必要であり、点灯中は大電流(100V入
力で約10A)が流れることになる。したがって、電源
コンセントの出力インピーダンスが仮に1Ωであった場
合、電圧降下は、 1Ω×10A=10V ・・・ となり、入力電圧は10%ダウンすることになる。もと
もと入力電圧範囲には余裕を持たせて設計しているもの
の、電源の出力インピーダンスについては複写機側から
規定できないのが現状であることから、ヒータランプ点
灯による電圧降下は予測できない。
FIGS. 11 and 12 show still another embodiment of the present invention .
Is a diagram showing an embodiment. As a large capacity load, for example, there is a fixing heater for heating and fixing a copy image. As shown in FIG. 12, the control circuit of the fixing heater is provided with an output signal RT of the thermistor TH pressed against the heat roller 51.
H level is detected by comparators C1, C2, C3,
The result is input to the CPU 31. CPU3
Numeral 1 outputs an HL signal, the driver IC 52 drives the photocoupler PC1 with a zero-cross circuit, and turns on the triac TO1, thereby turning on the heater lamp HL. To turn on the heater lamp HL, about 1 kW
A large amount of power (about 10 A at 100 V input) flows during lighting. Therefore, if the output impedance of the power outlet is 1Ω, the voltage drop is 1Ω × 10A = 10V..., And the input voltage is reduced by 10%. Although the input voltage range is originally designed with a margin, the output impedance of the power supply cannot be specified from the copier side, so that the voltage drop due to the heating of the heater lamp cannot be predicted.

【0026】ヒータランプHLの点灯により電圧降下が
生じると、電源ユニット2へ入力電圧降下が生じ、場合
によっては制御部に定電圧が供給されなくなってしまう
ことがある。特に、電源供給オフ時ヒータランプHLが
点灯しているとEEPROM42への書き込みに要する
時間中(約10msec程度) 定電圧(5V)が保持されな
くなってしまうことがある。このため、EEPROMへ
の書き込みタイミングになったときにはヒータランプH
Lをオフするようにしている。なお、EEPROMへの
書き込みタイミングは例えば、所定枚数ごと、RAMの
バッテリ43の電圧が所定電圧以下に低下したとき、複
写機本体への電源供給がオフされたとき、等である。な
お通常コピーランプHLはオン/オフ制御されているも
のであるから、コピー処理の待機中に書き込みタイミン
グになって定着ヒータHLへの電源供給を一時的に停止
したとしても問題はない。
If a voltage drop occurs due to the lighting of the heater lamp HL, an input voltage drop occurs to the power supply unit 2, and in some cases, a constant voltage may not be supplied to the control unit. In particular, when the heater lamp HL is turned on when the power supply is turned off, the constant voltage (5 V) may not be maintained during the time required for writing to the EEPROM 42 (about 10 msec). Therefore, when it is time to write to the EEPROM, the heater lamp H
L is turned off. The timing of writing to the EEPROM is, for example, when the voltage of the battery 43 of the RAM drops below a predetermined voltage, when the power supply to the copying machine is turned off, or the like. Since the normal copy lamp HL is controlled to be turned on / off, there is no problem even if the power supply to the fixing heater HL is temporarily stopped at the writing timing during the standby of the copy processing.

【0027】図11のフローチャートに基づき、この実
施例の処理手順を説明する。データ転送タイミングにな
るとヒートローラHLがオン状態かオフ状態かを判別す
る(n51)。ヒートローラHLがオフであればそのま
まEEPROM42へのデーリ転送を行うが、ヒートロ
ーラHLがオンであればヒータランプHLをオフしてか
らデータの転送を行う(n51→n52→n53)。な
おフラグBはヒータランプHLのオフを行ったことを示
すものであり、EEPROM42へのデータ転送後、フ
ラグBがセットされていればヒータランプHLをオンし
てから通常の処理ルーチンへ戻る(n54→n55)。
The processing procedure of this embodiment will be described with reference to the flowchart of FIG. At the data transfer timing, it is determined whether the heat roller HL is on or off (n51). If the heat roller HL is off, the data is transferred to the EEPROM 42 as it is. If the heat roller HL is on, the data is transferred after turning off the heater lamp HL (n51 → n52 → n53). The flag B indicates that the heater lamp HL has been turned off. After the data is transferred to the EEPROM 42, if the flag B is set, the heater lamp HL is turned on and the process returns to the normal processing routine (n54). → n55).

【0028】なお、上記の実施例のようにEEPROM
42へのデータ転送を行ったとき、操作基板ユニット5
にバッテリ電圧の低下を示すコードを送信して表示部に
その旨を表示させたり、リモート通信回路基板ユニット
6を介してサービスステーションにその旨を通知させる
ようにしてもよい。
It should be noted that, as in the above embodiment, the EEPROM
When the data transfer to the operation board unit 5 is performed,
May be sent to the display unit to indicate that the battery voltage has dropped, or the service station may be notified via the remote communication circuit board unit 6 to that effect.

【0029】[0029]

【発明の効果】この発明によれば、書き込み回数に限度
がある不揮発性メモリへの書き込み回数を減らして不揮
発性メモリを変動データ記憶用のメモリとして用いるこ
とができるため、バッテリの消耗やノイズによるコピー
枚数にエラーが生じる問題を防止できる。
According to the present invention, the number of times of writing to a nonvolatile memory having a limited number of times of writing can be reduced and the nonvolatile memory can be used as a memory for storing variable data. A problem that an error occurs in the number of copies can be prevented.

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

【図1】この発明のメモリシステムを備える複写機のブ
ロツク図
FIG. 1 is a block diagram of a copying machine having a memory system according to the present invention.

【図2】この発明の実施例に係るコピー枚数のカウント
手順を示したフローチャート
FIG. 2 is a flowchart showing a procedure for counting the number of copies according to the embodiment of the present invention;

【図3】この発明の実施例に係るデータ転送手順を示し
たフローチャート
FIG. 3 is a flowchart showing a data transfer procedure according to the embodiment of the present invention;

【図4】コピー枚数のチェック手順を示したフローチャ
ート
FIG. 4 is a flowchart showing a procedure for checking the number of copies.

【図5】この発明の別の実施例に係るデータ転送手順を
示したフローチャート
FIG. 5 is a flowchart showing a data transfer procedure according to another embodiment of the present invention;

【図6】バッテリ電圧を経時変化を示した図FIG. 6 is a diagram showing a change in battery voltage with time.

【図7】この発明の別の実施例に係るデータ転送手順を
示したフローチャート
FIG. 7 is a flowchart showing a data transfer procedure according to another embodiment of the present invention;

【図8】電源供給のオン/オフに対する整流器出力,定
電圧出力例を示した図
FIG. 8 is a diagram showing an example of a rectifier output and a constant voltage output with respect to ON / OFF of power supply.

【図9】この発明の別の実施例に係るデータ転送手順を
示したフローチャート
FIG. 9 is a flowchart showing a data transfer procedure according to another embodiment of the present invention .

【図10】複写機の動作状態ごとる定電圧出力状態を示
した図
FIG. 10 is a diagram showing a constant voltage output state for each operation state of the copying machine;

【図11】この発明の別の実施例に係るデータ転送手順
を示したフローチャート
FIG. 11 is a flowchart showing a data transfer procedure according to another embodiment of the present invention .

【図12】定着ヒータの制御回路の構成例を示した図FIG. 12 is a diagram illustrating a configuration example of a control circuit of a fixing heater.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭62−27758(JP,A) 特開 平3−221972(JP,A) 特開 平4−15847(JP,A) 特開 平5−53386(JP,A) 特開 平1−155287(JP,A) 実開 平1−128257(JP,U) (58)調査した分野(Int.Cl.6,DB名) G03G 21/00 370 - 540 G03G 21/14──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-62-27758 (JP, A) JP-A-3-221197 (JP, A) JP-A-4-15847 (JP, A) JP-A-5-27 53386 (JP, A) JP-A-1-155287 (JP, A) JP-A-1-128257 (JP, U) (58) Fields investigated (Int. Cl. 6 , DB name) G03G 21/00 370- 540 G03G 21/14

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】コピー枚数等の変動データのカウントエリ
アとして用いられ、バッテリバックアップされた揮発性
メモリと、前記変動データを記憶する書換え可能な不揮
発性メモリと、を備えるとともに、前記揮発性メモリの
変動データを、前記不揮発性メモリに所定タイミングご
とに書き込む手段を備え、 前記所定タイミングは、前記変動データが所定量の整数
倍であるときであり、 前記所定量は2以上の整数である
複写機のメモリシステム。
A volatile memory that is used as a count area for variation data such as the number of copies and is backed up by a battery; and a rewritable nonvolatile memory that stores the variation data. Means for writing variation data to the non-volatile memory at predetermined timings, wherein the predetermined timing is such that the variation data is an integer of a predetermined amount .
A memory system for a copying machine , wherein the predetermined amount is an integer of 2 or more .
【請求項2】ピー枚数等の変動データのカウントエリ
アとして用いられ、バッテリバックアップされた揮発性
メモリと、前記変動データを記憶する書換え可能な不揮
発性メモリと、を備えるとともに、前記揮発性メモリの
変動データを、前記不揮発性メモリに所定タイミングご
とに書き込む手段を備え、 前記所定タイミングは、装置本体への電源供給OFF時
であって且つ電源供給OFF時における装置本体の負荷
状態から判断された前記揮発性メモリおよび不揮発性メ
モリへの電源供給を保持することができる第1の時間が
前記揮発性メモリおよび不揮発性メモリへの書き込みに
要する第2の時間を越えているときである複写機のメモ
リシステム。
2. A used as the count area variation data, such as copy sheets, a battery backed-up volatile memory, a nonvolatile memory rewritable for storing the variation data, provided with a, the volatile memory Means for writing the fluctuation data to the non-volatile memory at every predetermined timing, wherein the predetermined timing is determined when the power supply to the device main body is turned off and from the load state of the device main body when the power supply is turned off. A first time during which power supply to the volatile memory and the nonvolatile memory can be maintained is longer than a second time required for writing to the volatile memory and the nonvolatile memory; Memory system.
【請求項3】前記変動データは、コピー枚数であり、 前記所定量は、複写機本体のコピー可能枚数を不揮発性
メモリの書き込み制限回数で除した枚数以上である請求
項1記載の複写機のメモリシステム。
3. The copying machine according to claim 1, wherein the variation data is the number of copies, and the predetermined amount is equal to or greater than the number obtained by dividing the number of copies that can be made by the copying machine by the number of times of writing in the nonvolatile memory. Memory system.
【請求項4】続複写処理中に前記所定タイミングとな
ると、前記不揮発性メモリへの前記変動データの書き込
みを禁止し、該連続複写処理が終了したときに前記不揮
発性メモリに前記変動データを書き込む請求項1記載の
複写機のメモリシステム。
Wherein I and the predetermined timing during the continuous copying process
Write the variation data to the nonvolatile memory
Prohibition, and when the continuous copying process ends,
2. A memory system for a copying machine according to claim 1 , wherein said variable data is written to a memory for generating data .
【請求項5】記所定タイミングになったとき、定着ヒ
ータ等の大容量負荷をオフする手段を備えた請求項1、
またはに記載の複写機のメモリシステム。
Wherein when it is before Symbol predetermined timing, according to claim 1 including means for turning off the large-capacity load, such as the fixing heater,
5. The memory system of the copying machine according to 3 or 4 .
JP4049727A 1992-03-06 1992-03-06 Copier memory system Expired - Fee Related JP2866521B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4049727A JP2866521B2 (en) 1992-03-06 1992-03-06 Copier memory system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4049727A JP2866521B2 (en) 1992-03-06 1992-03-06 Copier memory system

Publications (2)

Publication Number Publication Date
JPH05249769A JPH05249769A (en) 1993-09-28
JP2866521B2 true JP2866521B2 (en) 1999-03-08

Family

ID=12839220

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4049727A Expired - Fee Related JP2866521B2 (en) 1992-03-06 1992-03-06 Copier memory system

Country Status (1)

Country Link
JP (1) JP2866521B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4689096B2 (en) * 2000-07-19 2011-05-25 キヤノン株式会社 Sheet transport device
JP4626667B2 (en) * 2008-04-02 2011-02-09 セイコーエプソン株式会社 Printing device and history operation frequency confirmation method of the printing device
JP5383294B2 (en) 2008-04-25 2014-01-08 キヤノン株式会社 Image forming apparatus
JP6141116B2 (en) * 2013-06-20 2017-06-07 キヤノン株式会社 Image forming apparatus
JP2016022841A (en) * 2014-07-22 2016-02-08 株式会社デンソー Vehicle device and state transition program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6227757A (en) * 1985-07-30 1987-02-05 Toshiba Corp Count integrating device
JPH01155287A (en) * 1987-12-14 1989-06-19 Omron Tateisi Electron Co Data storage unit of article discriminating device

Also Published As

Publication number Publication date
JPH05249769A (en) 1993-09-28

Similar Documents

Publication Publication Date Title
KR101192873B1 (en) Data storage apparatus and control method of data storage apparatus
JP2015064860A (en) Image forming apparatus and control method of the same, and program
US7557463B2 (en) Image forming apparatus having power supply apparatus
CN101097433A (en) Fixing unit and fixing temperature control method
JP2866521B2 (en) Copier memory system
US8543018B2 (en) Image forming apparatus and power-supply control method
JP2002007000A (en) Electronic equipment
JP2003316664A (en) Nonvolatile semiconductor storage device
EP3657264B1 (en) Image forming apparatus
US10496907B2 (en) Electronic apparatus and method for managing power supply
JP7119629B2 (en) POWER SUPPLY DEVICE, CONTROL METHOD OF POWER SUPPLY DEVICE, IMAGE FORMING APPARATUS
JP3414892B2 (en) Image forming device
JPH03100848A (en) Memory back-up device using eeprom
JP2021088419A (en) Image forming apparatus
JP2005278264A (en) Backup power supply unit
JP2018043472A (en) Image formation apparatus
JP2004078043A (en) Image forming apparatus
JP2009145748A (en) Image forming apparatus
JP3477975B2 (en) Power supply for storage device
JPH06261593A (en) Motor control device
JP2023105439A (en) Information processing apparatus, image forming apparatus, control method for information processing apparatus, and control program for information processing apparatus
JP4169308B2 (en) Image forming apparatus
JP2019081279A (en) Image forming device
JPH04359305A (en) Personal computer
JP2023179206A (en) Power supply device and image forming device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071218

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20081218

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091218

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20091218

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20101218

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees