JPS6326748A - Method for deciding abnormality of memory - Google Patents

Method for deciding abnormality of memory

Info

Publication number
JPS6326748A
JPS6326748A JP61171292A JP17129286A JPS6326748A JP S6326748 A JPS6326748 A JP S6326748A JP 61171292 A JP61171292 A JP 61171292A JP 17129286 A JP17129286 A JP 17129286A JP S6326748 A JPS6326748 A JP S6326748A
Authority
JP
Japan
Prior art keywords
memory
data
capacitor
check data
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
JP61171292A
Other languages
Japanese (ja)
Inventor
Teruhisa Suzuki
輝久 鈴木
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.)
Toyo Electric Manufacturing Ltd
Original Assignee
Toyo Electric Manufacturing 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 Toyo Electric Manufacturing Ltd filed Critical Toyo Electric Manufacturing Ltd
Priority to JP61171292A priority Critical patent/JPS6326748A/en
Publication of JPS6326748A publication Critical patent/JPS6326748A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To eliminate an expensive battery and also to reduce the labor for a maintenance job by using a capacitor as a back-up power supply and adding a means which decides the memory abnormality from the check data on the memory. CONSTITUTION:A system power supply 1 is applied for a prescribed time and then interrupted. Then the supply 1 is applied again and the check data stored in the RAM of a back-up memory 8 is compared with the prescribed check data. When the coincidence is obtained between both data, it is decided that the data on the memory 8 are normal and a normal action is started. While it is decided that the data on the memory 8 are broken by the voltage drop of a capacitor 7, for example, in a service interruption mode if no coincidence is obtained between both data. Then a memory abnormality display device is turned on to inform that the data on the memory 8 are broken.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はフロート充電されたコンデンサによりバックア
ップされるメモリの異常を判別する方法に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for determining an abnormality in a memory backed up by a float-charged capacitor.

〔従来技術とその問題点〕[Prior art and its problems]

一般にマイクロコンピータシステム、特に制御あるいは
監視を目的としたマイクロコンピ−タシステムにおいて
は、システム電源がしゃ断中もデータを保持しておく必
要がある。
Generally, in microcomputer systems, particularly microcomputer systems for control or monitoring purposes, it is necessary to retain data even when the system power is turned off.

そのメモリのバックアップのための電源として電池が用
いられるのが通常である。ここで、電池の寿命は電池の
種類や使用条件などによって異なるものとなるが、使用
すべきバックアップメモリや電池が定まれば、その電池
の寿命を推定し得る。
A battery is normally used as a power source for backing up the memory. Here, the lifespan of a battery varies depending on the type of battery, usage conditions, etc., but once the backup memory and battery to be used are determined, the lifespan of that battery can be estimated.

かようにして、一般にメモリのバックアップ用電源とし
て電池が用いられ、推定された時間が経過したのち新し
い電池と交替させることにより、メモリが異常となるの
を防ぐ方法が採用されている。
In this way, a battery is generally used as a backup power source for a memory, and a method is adopted to prevent the memory from becoming abnormal by replacing the battery with a new battery after an estimated time has elapsed.

しかしながら、かくの如き電池の適用となれば、電池の
交替作業など保守作業を必要としかつ高価なものとなっ
ていた。
However, if such a battery were to be used, maintenance work such as battery replacement work would be required and it would be expensive.

〔問題点の解決手段と作用〕[Means for solving problems and their effects]

本発明は上述したような点に鑑みなされたもので、電池
よりもバックアップ時間が相対的に短いコンデンサを用
いるとともに、システム電源を所定時間投入したのちし
ゃ断させて再び投入したときに、前の電源投入中にバッ
クアップメモリ中に書き込まれたチェックデータが適当
か否かを比較することにより、メモリの異常を判別する
ようにした格別な方法を提供するものである。
The present invention has been made in view of the above-mentioned points, and uses a capacitor that has a relatively shorter backup time than a battery. A special method is provided in which a memory abnormality is determined by comparing whether or not the check data written in the backup memory during input is appropriate.

以下、本発明を図面に基づいて詳細説明する。Hereinafter, the present invention will be explained in detail based on the drawings.

〔実 施 例〕〔Example〕

第1図は本発明が適用された一実施例の要部構成を示す
もので、1はシステム電源(ES)、2は電源スィッチ
、3は定電圧回路(CV)、4はマイクロコンビーータ
(CPU)、5はシステムメモリ(MEM)、6はダイ
オード、7はコンデンサ、8はバックアップメモリ(B
UMEM)である。ここに、CV3はESlを入力して
CPU等を駆動するため直流定7圧を出力するものであ
り、MEM5はROMおよびR,A Mで構成されてな
り、コンデンサ7はバックアップのための電源として配
されてなり、BUMEM8は(0−MOS)で構成され
るバックアップのためのRA Mメモリである。
FIG. 1 shows the main part configuration of an embodiment to which the present invention is applied, in which 1 is a system power supply (ES), 2 is a power switch, 3 is a constant voltage circuit (CV), and 4 is a microconverter. (CPU), 5 is system memory (MEM), 6 is diode, 7 is capacitor, 8 is backup memory (B
UMEM). Here, CV3 inputs ESL and outputs constant 7 voltage DC to drive the CPU, etc., MEM5 is composed of ROM and R, AM, and capacitor 7 is used as a backup power source. BUMEM8 is a backup RAM memory composed of (0-MOS).

かかる系統の動作はつぎの如くである。The operation of such a system is as follows.

すなわち、電源スィッチ2が閉路してESlがCV3に
入力されていると、CV3からは直流定電圧が供給され
てCPU4および〜(B M 5に給電され−さらにダ
イオード6を介してコンデンサ7およびBUMEM8に
給電されている。
That is, when the power switch 2 is closed and ESL is input to CV3, a constant DC voltage is supplied from CV3, and power is supplied to the CPU 4 and ~(B M 5), and further via the diode 6 to the capacitor 7 and BUMEM 8. is being powered.

ここで、ESIの停電時もしくは電源スィッチ2が開路
したとき、CV3からは出力が発生されないため0PU
4およびME M 5には電源が供給されないが、BU
MEM8はコンデンサ7によって電源が供給され、その
記憶データを保持し得る系統をなすものである。
Here, when the ESI power outage or the power switch 2 is opened, no output is generated from CV3, so 0PU
Power is not supplied to 4 and ME M5, but BU
The MEM 8 is supplied with power by the capacitor 7 and forms a system capable of holding its stored data.

しかして、B U M E M F3がシステムの停電
中そのデータが正しく保持されていたかを判別する機能
を有したマイクロコンビーータシステムを構成スるもの
である。これを第2図を参照して詳細説明する。
Thus, the BUMEM F3 constitutes a microconbeater system having a function of determining whether the data has been correctly retained during a system power outage. This will be explained in detail with reference to FIG.

第2図は第1図の機能の理解を容易にするため示した動
作プログラムのフローチャートでアル。
FIG. 2 is a flowchart of an operating program shown to facilitate understanding of the functions shown in FIG.

ここに、かかる動作プログラムは、ESlが投入されO
V3出力である直流定電圧が正規の電圧となったとき、
マイクロコンビーータシステムの初期化プログラムの一
部として実行される例として示したものであり、つぎの
如くである。
Here, this operating program is executed when ESL is input and O
When the DC constant voltage that is the V3 output becomes the regular voltage,
This is shown as an example executed as part of the initialization program of the microconbeater system, and is as follows.

ステップSTlすなわちESIを所定時間投入してこれ
をしめ断じさらにBS、が再投入される。
Step STl, that is, ESI is turned on for a predetermined period of time, then shut off, and then BS is turned on again.

ステ、プST、ではBUMEM8のR,A Mに記憶さ
れているチェックデータと所定のチェックデータとが比
較され、両者が同じであればBUMEM8のデータは正
常であるとして、正常な場合のステップST3の動作開
始へプログラムは移行する。また、両者が異なる場合B
 U M B M 8のデータは停電中に、例えばコン
デンサ7の電圧低下により破壊されたデータであるとし
て、つぎのステップに進む。
In step ST, the check data stored in R and AM of BUMEM8 is compared with predetermined check data, and if both are the same, the data of BUMEM8 is considered normal, and step ST3 in the case of normality is performed. The program moves to the start of operation. Also, if the two are different, B
It is assumed that the data in U M B M 8 has been destroyed during a power outage, for example due to a voltage drop in capacitor 7, and the process proceeds to the next step.

ステップST4では所定のチェックデータをBU〜IE
Ms内に書き込み、ステップSTsに進む。
In step ST4, predetermined check data is
Write in Ms and proceed to step STs.

ステップST5では図示しないメモリ異常表示器を点灯
させるなど、B U M E M 8のデータが破壊さ
れたことを告知させる。
In step ST5, it is announced that the data in the BUMEM 8 has been destroyed, such as by lighting up a memory abnormality indicator (not shown).

よって、ステップST6ではメモIJ i常等のエラー
処理を行うものとすることができる。
Therefore, in step ST6, error processing such as memo IJ i normal may be performed.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、バックアップ用電
源としてコンデンサを備えるとともに、チェックデータ
をメモリに会き込み手段およびそのチェックデータから
メモリのデータの異常を判別する手段を具備することに
より、特別な付加回路を必要とすることなく高価な電池
を安価なコンデンサで代用させて異常判別機能を奏する
装置を実現し得る方法を提供できる。
As explained above, according to the present invention, a capacitor is provided as a backup power supply, and a special method is provided by providing a means for loading check data into a memory and a means for determining an abnormality in data in the memory from the check data. It is possible to provide a method for realizing a device that performs an abnormality determination function by replacing an expensive battery with an inexpensive capacitor without requiring any additional circuitry.

さらには、電池の定期的な交替作業が不要となるなど保
守作業の省力化ができることから有用性は大である。
Furthermore, it is very useful because it can save labor in maintenance work, such as eliminating the need for periodic replacement of batteries.

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

第1図は本発明が適用された一実施例の要部構成を示す
系統図、第2図は第1図の機能を説明するため示したフ
ローチャートである。 ■・・・・・・システム電源(ES)、4・・・・・・
マイクロコンビーータ(CPU)、5・・・・・・シス
テムメモリ(MEM)、7・・・・−・コンデンサ、8
・・・・・・バックアップメモリ(BUMEM)、ST
1 、 ST2 、 ST3 、 ST4.8Ts・・
・・・・ステップ。
FIG. 1 is a system diagram showing the main configuration of an embodiment to which the present invention is applied, and FIG. 2 is a flowchart shown to explain the functions of FIG. 1. ■・・・System power supply (ES), 4・・・・・・
Microconverter (CPU), 5...System memory (MEM), 7...Capacitor, 8
...Backup memory (BUMEM), ST
1, ST2, ST3, ST4.8Ts...
...Step.

Claims (1)

【特許請求の範囲】[Claims] システム電源の投入期間中にフロート充電されるコンデ
ンサによりバックアップされる第一のチェックデータが
書き込まれたメモリ、該メモリに前記システム電源しゃ
断時に第二のチェックデータを書き込む第一の手段と、
前記システム電源投入時に前記メモリに保持された第一
のチェックデータと第二のチェックデータを比較して異
常を判別する第二の手段とを備え、前記システム電源を
所定時間投入後しゃ断して再び投入したとき、前記第二
の手段を動作させるようにしたことを特徴とするメモリ
の異常判別方法。
a memory in which first check data backed up by a capacitor that is float-charged during a period when the system power is turned on; a first means for writing second check data into the memory when the system power is turned off;
a second means for determining an abnormality by comparing first check data and second check data held in the memory when the system power is turned on; A method for determining an abnormality in a memory, characterized in that the second means is operated when the memory is inserted.
JP61171292A 1986-07-21 1986-07-21 Method for deciding abnormality of memory Pending JPS6326748A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61171292A JPS6326748A (en) 1986-07-21 1986-07-21 Method for deciding abnormality of memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61171292A JPS6326748A (en) 1986-07-21 1986-07-21 Method for deciding abnormality of memory

Publications (1)

Publication Number Publication Date
JPS6326748A true JPS6326748A (en) 1988-02-04

Family

ID=15920600

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61171292A Pending JPS6326748A (en) 1986-07-21 1986-07-21 Method for deciding abnormality of memory

Country Status (1)

Country Link
JP (1) JPS6326748A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5456063A (en) * 1992-07-10 1995-10-10 Toyota Jidosha Kabushiki Kaisha Secondary air supply apparatus for engine
US5613360A (en) * 1994-02-18 1997-03-25 Toyota Jidosha Kabushiki Kaisha Warming up control device for a catalytic converter for an internal combustion engine
US8037769B2 (en) 2005-08-31 2011-10-18 Surpass Industry Co., Ltd Pressure gauge and pressure gauge assembly

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS573121A (en) * 1980-06-07 1982-01-08 Omron Tateisi Electronics Co Detection system for voltage lowering of memory protecting battery
JPS6049450A (en) * 1983-08-30 1985-03-18 Toshiba Corp Check system of back-up memory
JPS6180444A (en) * 1984-09-28 1986-04-24 Matsushita Electric Ind Co Ltd Diagnosing device for holding function of memory contents

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS573121A (en) * 1980-06-07 1982-01-08 Omron Tateisi Electronics Co Detection system for voltage lowering of memory protecting battery
JPS6049450A (en) * 1983-08-30 1985-03-18 Toshiba Corp Check system of back-up memory
JPS6180444A (en) * 1984-09-28 1986-04-24 Matsushita Electric Ind Co Ltd Diagnosing device for holding function of memory contents

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5456063A (en) * 1992-07-10 1995-10-10 Toyota Jidosha Kabushiki Kaisha Secondary air supply apparatus for engine
US5613360A (en) * 1994-02-18 1997-03-25 Toyota Jidosha Kabushiki Kaisha Warming up control device for a catalytic converter for an internal combustion engine
US8037769B2 (en) 2005-08-31 2011-10-18 Surpass Industry Co., Ltd Pressure gauge and pressure gauge assembly

Similar Documents

Publication Publication Date Title
US5170109A (en) Method of controlling robot in event of a power failure
JPS6326748A (en) Method for deciding abnormality of memory
JPS60245011A (en) Computer system
JP2000305610A (en) Information processing unit of programmable controller and its data storing method
JP3231561B2 (en) Backup memory control method
US20050251704A1 (en) Method and base chip for monitoring the operation of a microcontroller unit
JPH1091538A (en) Method and device for detecting life of backup battery
JPS63175949A (en) Electronic journal control system
JPS63266511A (en) Power source control system
JPH1125007A (en) Method for storing/recovering backup data
JPS63217455A (en) Ram back-up system
JP3451489B2 (en) RAM content destruction handling method and programmable controller
JP3087650B2 (en) Automatic power recovery method
KR100577800B1 (en) Automatic back-up device and method for computer system
JPH11149419A (en) Method and device for backing up data
KR920002482B1 (en) Data loading back-up method in switching system
JPS62281781A (en) Monitoring method for accident information
JPH0120775B2 (en)
JPH0376047A (en) Disk breakdown preventing device
JPS62284440A (en) Software resource maintenance system for terminal equipment
JPH06161908A (en) Memory controller
JPH01170314A (en) Power interruption detecting system
JPS603225B2 (en) Main storage information recovery method
JPH082840A (en) Elevator control device having reloadable mpu board
JPS6247722A (en) Starting method for terminal equipment