JPS5991508A - Detection for abnormality of copying machine - Google Patents

Detection for abnormality of copying machine

Info

Publication number
JPS5991508A
JPS5991508A JP57201061A JP20106182A JPS5991508A JP S5991508 A JPS5991508 A JP S5991508A JP 57201061 A JP57201061 A JP 57201061A JP 20106182 A JP20106182 A JP 20106182A JP S5991508 A JPS5991508 A JP S5991508A
Authority
JP
Japan
Prior art keywords
data
check
copying machine
volatile memory
abnormality
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.)
Pending
Application number
JP57201061A
Other languages
Japanese (ja)
Inventor
Hidefumi Nishitsuji
西辻 秀文
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP57201061A priority Critical patent/JPS5991508A/en
Publication of JPS5991508A publication Critical patent/JPS5991508A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0763Error or fault detection not based on redundancy by bit configuration check, e.g. of formats or tags
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/0757Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

PURPOSE:To prevent malfunctions, by storing data for check in a prescribed storage area of a non-volatile memory and monitoring this data successively thereafter and stopping the operation of a copying machine when a change of data for check is detected. CONSTITUTION:It is discriminated whether a prescribed time elapses after power-on or not, and if it does not elapse, data for check are read out from a non-volatile memory 3, and these read-out data for check are compared with data for check stored preliminarily in an ROM12, namely, original data of data stored in the non-volatile memory 3 to discriminate whether data for check are changed or not. If they are changed as the result of discrimination, it is judged that the operation of a CPU11 is abnormal, and it is considered that some data is written in a storage area, which is not used by routines other than an abnormality processing routine normally, of the non-volatile memory 3, and the abnormality is displayed on a display device of a copying machine main body 2 and the operation of the copying machine is stopped.

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、複写機の異常検出方法に関する。[Detailed description of the invention] 〔Technical field〕 The present invention relates to a method for detecting an abnormality in a copying machine.

〔従来技術〕[Prior art]

近年、多くの複写機がマイクロプロセソサヲ制御装置に
使用するようになってきている。
In recent years, many copying machines have come to use microprocessor controllers.

通常、複写機はコピ一枚数カウントデータ、自己診断用
データおよびジャム・異常検出用データ等からなる保守
データを、その複写機が同一のユーザーに使用されてい
る間にわたって保持する必要がある。
Normally, a copying machine needs to maintain maintenance data including copy count data, self-diagnosis data, jam/abnormality detection data, etc., while the copying machine is being used by the same user.

そこで従来、上記した複写機ではこのような保守データ
を不揮発性メモリ(例えばNOVRAMやバッテリバッ
クアップされたC −MO8形RAM )に記憶させる
とともに、この不揮発性メモリの記憶内容が供給電源の
急変や外来ノイズ等の原因によって破壊されないように
適宜な回路を付加するようにしていた。
Conventionally, the copying machine described above stores such maintenance data in a non-volatile memory (for example, NOVRAM or battery-backed C-MO8 type RAM), and the contents of this non-volatile memory are stored in case of sudden changes in the power supply or external Appropriate circuits were added to prevent damage from noise and other causes.

しかしながら、このような防止策を講じたとしても、電
源の瞬断等によるマイクロプロセッサの誤動作あるいは
マイクロプロセッサを含むCPUボード上のICの故障
等によシ、上記した不揮発性メモリへのデータのミスラ
イトが発生してこのメモリの記憶内容が破壊され、した
がって、複写機が誤動作するという問題をしばしば生じ
ていた。
However, even if such preventive measures are taken, data errors in the above-mentioned non-volatile memory may occur due to malfunction of the microprocessor due to momentary power interruption, etc., or failure of the IC on the CPU board containing the microprocessor. When a write occurs, the contents of this memory are destroyed, which often causes the problem that the copying machine malfunctions.

〔目 的〕〔the purpose〕

本発明は、このような問題を解決し、不揮発性メモリへ
のミスライトを検出して複写機の誤動作を防止する複写
機の異常検出方法を提供することを目的としている。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a copying machine abnormality detection method that solves these problems and prevents copying machine malfunctions by detecting miswrites to nonvolatile memory.

〔構 成〕〔composition〕

以下、添附図面を参照しながら本発明の実施例を詳細に
説明する。
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

第1図は、本発明の一実施例に係る複写(幾の制御装置
1を示している。同図において、制御装置1はマイクロ
プロセッサからなるCPU (中央処理装り11、複写
機本体2の制御プログラムおよび後述する異常検出プロ
グラム等−と記憶しているROM (リード・オンリ・
メモリ)12、CPU 11のデータ記憶部およびワー
クエリアをなすRAM(ランダム・アクセス・メモリ)
13および複写機本体2とCPU 11とをインターフ
ェースするl10(入出力部)14から構成されておシ
、さらに、CPU 11には保守データを記憶するため
の不揮発性メモリ3が接続されている。
FIG. 1 shows a control device 1 for a copying machine according to an embodiment of the present invention. A ROM (read-only) that stores control programs and abnormality detection programs (described later), etc.
Memory) 12, RAM (Random Access Memory) which forms the data storage section and work area of the CPU 11
13 and 110 (input/output unit) 14 that interfaces the copying machine main body 2 and the CPU 11. Furthermore, a nonvolatile memory 3 for storing maintenance data is connected to the CPU 11.

不揮発性メモリ3とCPU 11との接続態様を第2図
に例示する。同図において、上記制御装置1を実装して
いるCPUポード1aにはコネクタ1bが設けられてお
り、このコネクタ1bと、不揮発性メモリ3を収容した
不揮発性メモリボックス3aの入出力端子3bとが嵌合
し、これによってCPU 11と不揮発性メモリ3との
接続がなされる。
FIG. 2 shows an example of how the nonvolatile memory 3 and the CPU 11 are connected. In the figure, a CPU port 1a on which the control device 1 is mounted is provided with a connector 1b, and this connector 1b is connected to an input/output terminal 3b of a nonvolatile memory box 3a containing a nonvolatile memory 3. They fit together, thereby establishing a connection between the CPU 11 and the nonvolatile memory 3.

なお、不揮発性メモリボックス3aは、不揮発性メモリ
3の他にこのメモリに必要な周辺回路をなす部品を収容
しており、特に不揮発性メモリ3がC−MOS形のRA
Mである場合には、バックアップ用電源も収容している
。また、同図は、CPUポード1aおよび不揮発性メモ
リボックス3aの外観の概略のみ示している。
In addition to the nonvolatile memory 3, the nonvolatile memory box 3a accommodates components forming a peripheral circuit necessary for this memory, and in particular, the nonvolatile memory 3 is a C-MOS type RA
If it is M, it also accommodates a backup power source. Further, this figure only shows the outline of the external appearance of the CPU port 1a and the nonvolatile memory box 3a.

第3図は、不揮発性メモリ3の記憶内容を例示したメモ
リマツプである。このように、不揮発性メモリ3にはコ
ピ一枚数をあられすデータであるコピ一枚数カウンタ、
尚該複写機に固有なデータである診1′ffI用データ
およびジャムや異常の内容をあられすデータであるジャ
ム・異常検出データ等をそれぞれ記憶する記憶領域がお
のおの設定されており、さらにこれらのデータ間の記憶
領域すなわち通常の処理では使用しない記憶領域に、後
述するチェック用データDi、D2.・・・、 Dnの
記憶領域が設定されている。
FIG. 3 is a memory map illustrating the storage contents of the nonvolatile memory 3. In this way, the non-volatile memory 3 stores a copy number counter, which is data indicating the number of copies.
Furthermore, storage areas are set for storing diagnosis 1'ffI data, which is data unique to the copying machine, and jam/abnormality detection data, which is data that indicates the content of jams and abnormalities. Check data Di, D2 . ..., a storage area of Dn is set.

本発明は、このように不揮発性メモリ3にチェック用デ
ータDI 、D2 、・・・、 Dnをそれぞれ記憶さ
せるとともに、これらのチェック用データの内容を逐次
監視し、データが変化した場合これをCPU 11が不
揮発性メモリ3をミスライトしたこと、すなわちCPU
 11の動作が異常になったこととして判別するように
している。また、不揮発性メモリ3の広い範囲にわたっ
てチェック用データDi、D2.・・・r Dnを分散
して記憶している理由は、不揮発性メモリ3に対するミ
スライトの検出確率を高めるためである。
In this way, the present invention stores check data DI, D2, ..., Dn in the nonvolatile memory 3, sequentially monitors the contents of these check data, and when the data changes, it is sent to the CPU. 11 miswrites the non-volatile memory 3, that is, the CPU
It is determined that the operation of No. 11 has become abnormal. Also, check data Di, D2 . . . . r Dn is stored in a distributed manner in order to increase the probability of detecting a miss write to the nonvolatile memory 3.

第4図は、CPU 11が実行する異常検出処理ルーチ
ンの一例を示すフローチ、ヤードであシ、この異常検出
処理ルーチンは、CPU 11が実行する複写機の制御
処理ルーチンの中に組み込まれROM12に記憶されて
いる。また、CPU 11がこの制御処理ルーチンを1
サイクル実行するさいに要する時間は数m5ec程度で
あシ、したがってこの異常検出方法ルーテンも数m5e
e程度の間隙でくり返し実行される。
FIG. 4 is a flowchart showing an example of an abnormality detection processing routine executed by the CPU 11. This abnormality detection processing routine is incorporated into the copying machine control processing routine executed by the CPU 11 and is stored in the ROM 12. remembered. In addition, the CPU 11 executes this control processing routine
The time required to execute a cycle is about several m5ec, so the routine for this abnormality detection method also takes several m5ec.
It is executed repeatedly at intervals of about e.

以上の構成で、CPU 11の動作が異常になる確率は
、電源の投入時および停止時のように電源電圧(CPU
 11への供給電圧)が不安定なときが最も高く、した
がって、特に電源が瞬断した場合にCPU 11が異常
作動しやすい。
With the above configuration, the probability that the CPU 11 will malfunction depends on the power supply voltage (CPU
The voltage is highest when the voltage supplied to the CPU 11 (supply voltage to the CPU 11) is unstable, and therefore the CPU 11 is likely to operate abnormally, especially when the power supply is momentarily cut off.

そこで、本実施例では、電源投入時から所定時間(数8
ec程度)経過するまでの間と、その後とで処理態様を
若干変化させている。
Therefore, in this embodiment, a predetermined period of time (Eq.
The processing mode is slightly changed between before and after the lapse of time.

すなわち、電源投入後から所定時間経過したことを判別
する判断41の結果がNoの場合は、即座に不揮発性メ
モリ3から各チェック用データD 1 、 D 2 、
− 、 Dnを読み出しく処理45)、この読み出した
チェック用データDI、D2.・・・。
That is, if the result of the judgment 41 that determines that a predetermined time has elapsed since the power was turned on is No, each check data D 1 , D 2 ,
-, Dn is read out (45), and the read check data DI, D2. ....

Dnを、あらかじめROM 12に記憶させであるチェ
ック用データすなわち不揮発性メモリ3に記憶させたデ
ータDI 、D2 、・・・+ Dnのもとのデータと
それぞれ比較して変化したものがあるか否かを判別する
(判に、l’146)。
Dn is compared with the check data stored in the ROM 12 in advance, that is, the data DI, D2, . (1'146).

とのYl断46の結果がYESの場合は、CPU 11
の動作が異常となり、不揮発性メモリ3において、通常
、この異常検出始31)ルーチン以外では使用しない記
・l、意領域に(’]らかのデータを書き込んだ々h合
であり、同時に不揮発性メモリ3の記憶内容が破壊さn
た(異常になった)ことをあられしている。
If the result of Yl disconnection 46 is YES, CPU 11
The operation of the non-volatile memory 3 becomes abnormal, and the abnormality is detected in the non-volatile memory. The contents of sexual memory 3 are destroyed.
I am sorry that it has become abnormal.

そこでこの場合には、処理47を実行して複写椴本体2
の表示器に)′」Σ常を表示するとともに栓写機を停止
し、この後に次のルーチンへ移行する。
Therefore, in this case, process 47 is executed to
)''' is displayed on the display and the copying machine is stopped, after which the process moves to the next routine.

゛まだ、判[切46の結果がNOの場合は、CPU11
が王宮であると小川イ′11できるため、異常夛示を行
々わずに次のルーチンへと移行する。
``If the result of 46 is NO, the CPU 11
Since Ogawa is in the royal palace, Ogawa can move on to the next routine without performing any abnormal abductions.

1d源投入後から所定時間を経過したのちにおいてCP
Uがこの異常検出始J」ルーチンを実行するさいには、
4′4J断41の結果がYESとなう、判断42を実行
してRAM 13にCPU 1 ]が設定する「書込完
了フラグ」の内容が1″′であるか否かを調べる。この
判断42の結果がNOの場合はRAM i 3の内容が
全てクリアされた後、す々わら電源投入後から所定時間
を経過した直径であり、CPU 11(・寸処理43を
実行してROM 12から読み出したチェック用データ
をそれぞれに対応した不揮発性メモリ3の記憶領域に記
′1急させ、処理44を実行して「書込完了フラグ」に
”1”を入力する。そして、その後は上述と同様にして
処理45以後を実行する。
CP after a predetermined time has elapsed since the 1d source was turned on.
When executing the ``U starts detecting this abnormality'' routine,
4'4J If the result of disconnection 41 is YES, execute judgment 42 to check whether the content of the "write completion flag" set by CPU 1 in RAM 13 is 1''.This judgment If the result of step 42 is NO, after all the contents of RAM i 3 have been cleared, it is the diameter that has passed for a predetermined period of time since the power was turned on, and the CPU 11 executes the process 43 to save it from ROM 12. The read check data is quickly written to the corresponding storage area of the non-volatile memory 3, and the process 44 is executed to input "1" to the "write completion flag".Then, the process is repeated as described above. Process 45 and subsequent steps are executed in the same manner.

そして、電源投入後から所定時間を経過した直後の1制
御ザイクルを経過したのちKとの異常検出処理ルーチン
を実行したさいには、判断41の結果がYESかつ判断
42の結果がYESとなり、したがって、CPU 11
 !ま処理45に移行してそれ以後の処理を実行する、 なお・、この異常検出処理ルーチン(は、電源投入時以
前にチェック用データDi 、D2 、・・、 Dnが
不揮発性メモリ3の所定の記憶領域内にそれぞれ記憶さ
れているという前提を必要とし、したがって、例えばC
PUボード1aに不揮発((、lHメモl) yl−”
ックス3aを接続した時点す々わち桟写観が製品として
出荷される時点あるい(dその前の時点で、ROM 1
.2に記憶させであるチェック用データと同じデータを
不揮発性メモリ3の所定の記憶領域内(二それぞれ記憶
させるという処理が必要である。
Then, when the abnormality detection processing routine with K is executed after one control cycle has elapsed immediately after a predetermined period of time has elapsed since the power was turned on, the result of judgment 41 is YES and the result of judgment 42 is YES. , CPU 11
! The process then moves to process 45 and executes the subsequent processes. Note that this abnormality detection process routine (is performed when the check data Di, D2, . . . It is necessary to assume that they are stored in each storage area, and therefore, for example, C
Non-volatile on PU board 1a ((, lH memory l) yl-”
At the time when the box 3a is connected, that is, at the time when the camera is shipped as a product (or before that), the ROM 1
.. It is necessary to store the same data as the check data in a predetermined storage area of the non-volatile memory 3 (in each of the two storage areas).

これは、出荷テスト時にCPU 11に実行させてもよ
いし、才だ、不揮発性メモリ3にあらかじめ記憶さぜる
ようにしてもよい。
This may be executed by the CPU 11 during the shipping test, or may be stored in the non-volatile memory 3 in advance.

〔効果〕〔effect〕

以上説明したように、本発明によれば不揮発性メモリの
ミスライトを検出でき、かつミスライトを検出したさい
には複写機の動作を停止するので桟写(熾の誤動作を防
止できるという効果を有する。
As explained above, according to the present invention, it is possible to detect a miswrite in a non-volatile memory, and when a miswrite is detected, the operation of the copying machine is stopped. have

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

第1図は、本発明の一実施例に係る複写機の1n11イ
、1j装f1]を示すブロック図、第2図は、CPUボ
ードと不(1(X発性メモリ・ビ、クスとのU1態様を
例示した斜視図、第3図は、不揮発性メモリのメモリマ
ツプ、第4図は、異常検出処理の一実施例を示しプこフ
ローチャートである。 ■・・!lii制御装置、3・・・不揮発性メモリ、1
1・・CPU 、  12− ROM、  13−−−
 RA+M 。 ε157図 第2図 a 第3図 第4図
FIG. 1 is a block diagram showing a copying machine according to an embodiment of the present invention. FIG. FIG. 3 is a perspective view illustrating the U1 mode, FIG. 3 is a memory map of a nonvolatile memory, and FIG. 4 is a flowchart showing an example of abnormality detection processing. ■...!lii control device, 3...・Non-volatile memory, 1
1...CPU, 12-ROM, 13----
RA+M. ε157Figure 2a Figure 3Figure 4

Claims (1)

【特許請求の範囲】[Claims] 保守データを不揮発性メモリに記憶し保存する複写機の
異常検出方法において、チェック用データを不揮発メモ
リの所定の記憶領域に記憶させ、その後はこのチェック
用データを逐次監視し、このチェ、り用データが変化し
たことを検出した場合これを複写機の制御装置の異常と
して判断し、複写機の動作を停止するとともにこの異常
を表示するようにしたことを特徴とした複写機の異常検
出方法。
In a method for detecting an abnormality in a copying machine in which maintenance data is stored in a non-volatile memory, check data is stored in a predetermined storage area of the non-volatile memory, and thereafter this check data is sequentially monitored, and this check and reuse is performed. A method for detecting an abnormality in a copying machine, characterized in that when a change in data is detected, this is determined as an abnormality in a control device of the copying machine, and the operation of the copying machine is stopped and the abnormality is displayed.
JP57201061A 1982-11-18 1982-11-18 Detection for abnormality of copying machine Pending JPS5991508A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57201061A JPS5991508A (en) 1982-11-18 1982-11-18 Detection for abnormality of copying machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57201061A JPS5991508A (en) 1982-11-18 1982-11-18 Detection for abnormality of copying machine

Publications (1)

Publication Number Publication Date
JPS5991508A true JPS5991508A (en) 1984-05-26

Family

ID=16434729

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57201061A Pending JPS5991508A (en) 1982-11-18 1982-11-18 Detection for abnormality of copying machine

Country Status (1)

Country Link
JP (1) JPS5991508A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61140956A (en) * 1984-12-13 1986-06-28 Iwatsu Electric Co Ltd Controlling device for engraving machine
JPS61267408A (en) * 1985-05-21 1986-11-27 Sony Corp Display device
JPH08271281A (en) * 1995-03-30 1996-10-18 Nippon Seiki Co Ltd Electronic odometer

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61140956A (en) * 1984-12-13 1986-06-28 Iwatsu Electric Co Ltd Controlling device for engraving machine
JPS61267408A (en) * 1985-05-21 1986-11-27 Sony Corp Display device
JPH08271281A (en) * 1995-03-30 1996-10-18 Nippon Seiki Co Ltd Electronic odometer

Similar Documents

Publication Publication Date Title
US6763456B1 (en) Self correcting server with automatic error handling
US6076172A (en) Monitoting system for electronic control unit
US7243260B2 (en) Programmable controller unit and method of automatically restoring memory
JPH09230929A (en) Method and device for diagnosing fault of on-vehicle controller
JP3376306B2 (en) Data processing apparatus and data processing method
JPS5991508A (en) Detection for abnormality of copying machine
JPH10105422A (en) Control circuit of protecting device
JPH06348535A (en) Abnormality generation history storage device
JP3157759B2 (en) Hot-swap detection
KR100188716B1 (en) Memory diagnosing method of ecu
JPH10171546A (en) Activation monitoring device
JP4821747B2 (en) Numerical control apparatus and numerical control program
JP2870202B2 (en) Method and apparatus for mutual monitoring between processors
JP3211285B2 (en) Production equipment
JPH0916434A (en) Detecting method for failure information at time of runaway of cpu
JPH07271676A (en) Memory chip insertion position check device
JP2000163274A (en) Electronic equipment and recording medium with rom data monitoring program recorded thereon
JPS62281781A (en) Monitoring method for accident information
JPH04363713A (en) Programmable controller
JPH0619744A (en) Operation monitoring system for multiprocessor system
JPH06175992A (en) Controller
JPH10333992A (en) Flash memory write data and flash memory loading equipment
JP3060376U (en) Memory device
JP2020154775A (en) Sram module and breakage detector
JPH0644145A (en) Memory error saving system