JPS59178700A - Data processing device - Google Patents

Data processing device

Info

Publication number
JPS59178700A
JPS59178700A JP58054725A JP5472583A JPS59178700A JP S59178700 A JPS59178700 A JP S59178700A JP 58054725 A JP58054725 A JP 58054725A JP 5472583 A JP5472583 A JP 5472583A JP S59178700 A JPS59178700 A JP S59178700A
Authority
JP
Japan
Prior art keywords
contents
check
index register
power
value
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
JP58054725A
Other languages
Japanese (ja)
Inventor
Tatsuo Sato
達夫 佐藤
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.)
Shimadzu Corp
Shimazu Seisakusho KK
Original Assignee
Shimadzu Corp
Shimazu Seisakusho KK
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 Shimadzu Corp, Shimazu Seisakusho KK filed Critical Shimadzu Corp
Priority to JP58054725A priority Critical patent/JPS59178700A/en
Publication of JPS59178700A publication Critical patent/JPS59178700A/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
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To perform automatically protection after power off and confirmation after power on and protect the contents of an RAM more surely by providing two check registers to perform sum check and making an index register dual. CONSTITUTION:When power failure is detected by a program in an ROM2, the value of sum check is calculated immediately and is stored in check registers 53 and 54. The value of sum check is calculated at a power-on time, and it is checked whether this value coincides with values in registers 53 and 54 or not; and if the calculated value coincides with the value in either one of registers 53 and 54, it is judged that contents of a CMOS.RAM5 are not changed during power break. When the contents of an index register 51 are changed though the contents of the RAM5 are normal in this sum check, individual parameters and programs cannot be called, and therefore, an index register 52 is provided to call individual parameters and programs.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 この発明はガスクロマトグラフや液体クロマトグラフな
どの分析機器からの検出器信号からピーク面積やピーク
高さを求めて物質の含有敏、濃度等の定量計算をするデ
ータ処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (a) Industrial Application Field This invention is used to determine the peak area and peak height from the detector signal from an analytical instrument such as a gas chromatograph or liquid chromatograph. The present invention relates to a data processing device that performs quantitative calculations.

(ロ)従来技術 データ処理をするためには、ピークの面積や高さを求め
るだめの波形処理パラメータ、各ピークについて濃度計
算するだめの定量計算パラメータを分析試料に応じて設
定しておく必要がする。又ピーク検出感度を変更する)
タイツ、プログラムを組む場合もある。さらには、パー
ソナルコンピュータのようなりAS工Cプログラムを組
むことができる装置がある。所でこれらのオペレータが
書込むパラメータやプログラムの内容は電源を切っても
保存されるようにしておくと、翌朝電源を入れだとき呵
度パラメータやプログラムを入れる必要がなく便利であ
る。この目的のだめに従来から消費電力の非常に少ない
CMO8RAM というメモリを使用し外部電源をしゃ
断するときに0MO8RAMの電源をN1−Cc、電池
等のバックアップ電源に切りかえてメモリ内のデータを
保存することが行なわれている。しかし外部電源しゃ断
中の何らかの事故によりCMO8RAMの内容の一部が
変ってしまうことがある。CMO8RAMの内容が変っ
ているのに気づかずにデータ′処理を行なうとデータ処
理結果は正しいものが得られなくなってしまう。又、各
パラメータやプログラムのメモリへの格納位置を知るだ
めのインデックスレジスタと呼ばれるものが、CMO8
RAMの一部に設定されているが、このレジスタの内容
が変わってしまっていると、各パラメータやプログラム
の位置がわからないので、各パラメータやプログラムが
折角CMO8RAMの中に正しく保存されていても使用
できないという問題が生じる。
(b) Conventional technology In order to process data, it is necessary to set waveform processing parameters for calculating the area and height of peaks and quantitative calculation parameters for calculating concentration for each peak depending on the analysis sample. do. Also change the peak detection sensitivity)
Tights and programs may be included. Furthermore, there are devices such as personal computers that can program AS/C programs. However, if the contents of the parameters and programs written by the operator are saved even when the power is turned off, it is convenient because there is no need to enter the parameters and programs when the power is turned on the next morning. For this purpose, a memory called CMO8RAM, which consumes very little power, has traditionally been used, and when the external power supply is cut off, the power supply of 0MO8RAM can be switched to a backup power source such as N1-Cc or a battery to save the data in the memory. It is being done. However, some of the contents of the CMO8RAM may change due to some kind of accident while the external power supply is being shut off. If data processing is performed without noticing that the contents of the CMO8RAM have changed, the data processing results will not be correct. In addition, there is something called an index register that is used to know the storage location of each parameter and program in memory.
It is set in a part of RAM, but if the contents of this register change, the location of each parameter or program will not be known, so even if each parameter or program is correctly saved in CMO8RAM, it will not be possible to use it. The problem arises that it cannot be done.

従来はCMO8RAMの内容が変化していると思われる
場合には、オペレータがコンピュータに指令してCMO
8RAMの内容を印字さぜ、目読チェックを行って変化
している部分を入力I〜直すとか、或は無条件にCMO
8RAMの内容をクリヤして、再度パラメータやプログ
ラムを入力し直すと云うような方法で、外部電源しゃ断
中のCMO8RAMの内容変化に対処していた。
Previously, if the contents of CMO8RAM seemed to have changed, the operator would instruct the computer to change the CMO8RAM.
8. Print out the contents of RAM, check the reading and input and correct the changed parts, or unconditionally change the CMO.
A change in the contents of the CMO 8 RAM while the external power supply was turned off was dealt with by clearing the contents of the 8 RAM and re-entering the parameters and programs.

(ハ)目 的 本発明は上述したCMO8RAMの内容が外部電源しゃ
断中に変化するような原因に対して、インデックスレジ
スタの保護を厚(し、CMO8R,AMの内容が変化す
ると云う不安に対する対策を強化するものである。
(c) Purpose The present invention provides enhanced protection for the index register against the above-mentioned cause in which the contents of CMO8RAM change while the external power is turned off, and measures against concerns that the contents of CMO8R and AM may change. It is meant to strengthen.

(ニ)構 成 本発明は外部電源がしゃ断されたとき、CMO8RAM
の内容に対するサムチェック或はパリティ1士 チェックのだめのチェックデータ分賃してメモリに記憶
させておくようにすると共に、インデックスレジスタを
正副二つ用意しておいて、外部電源投入時に、上記CM
O6RAMの内容に対するチェックデータを算出して上
記メモリに記憶させたチェックデータと比較して、CM
O3RAMの内容の変化を検出するようにすると共に、
正のインデックスレジスタに変化があったときは副のイ
ンデックスレジスタを用いてCMO8RAM内の各パラ
メータ或はプログラノ、を呼出すことができるようにし
たデータ処理装置である。
(d) Configuration The present invention is configured so that when the external power supply is cut off, the CMO8RAM
The check data of the sum check or parity 1 check for the contents of is stored in memory, and two index registers are prepared, an original and a duplicate, so that when the external power is turned on, the above CM
The check data for the contents of O6RAM is calculated and compared with the check data stored in the memory, and the CM
In addition to detecting changes in the contents of O3RAM,
This data processing device is capable of calling each parameter or program program in the CMO8RAM using a sub-index register when there is a change in the positive index register.

実施例 図面は本発明の構成をしめすものである。1はCPUと
呼ばれるものでマイクロコンピュータの中央演算制御装
置、2はマイクロコンピュータのプログラムが入れられ
たR OMであり、データ処理のだめの全てのプログラ
ムが入れられている。
The embodiment drawings show the structure of the present invention. Reference numeral 1 is called a CPU, which is the central arithmetic control unit of the microcomputer, and reference numeral 2 is a ROM in which the microcomputer's programs are stored, in which all programs for data processing are stored.

3ば、一時記憶メモリ用RAM、5け各種パラメータや
オペレータが設定したプログラムを収納しておく上述の
CMO8R’AMで、7は電源しゃ断時にダイオード1
0を介して0MO8RAMに電源を供給するバックアッ
プ電源のNi−Cd電池である。
3 is the RAM for temporary storage memory, 5 is the above-mentioned CMO8R'AM that stores various parameters and programs set by the operator, and 7 is the diode 1 that is used when the power is cut off.
This is a Ni-Cd battery as a backup power source that supplies power to the 0MO8RAM via the 0.

4はキーボードで」二連のパラメータやプログラムを設
定するために使われる。6ばA / D変換器でクロマ
トグラフ9の出力信号をディジタル値に変換して、一時
記憶メモリ3に記憶させる。11はプリンタでデータ処
理結果などが印字される。5]〜54ば0MO8RAM
 5内の特定のエリヤを示し、51け前述のパラメータ
やプログラムの格納位置を記憶するだめのインデックス
レジスタ、52け51と全く同じ内容を記憶する補助の
インデックスレジスタ、53は後述のサムチェックの値
を記憶するチェックレジスタ、54ば53と全く同じサ
ムチェックの値を記憶する補助のチェックレジスタであ
る。サムチェックとはメモリの不良のチェックを行なう
一手法であり、全メモリの内容の合計値が変化していな
いかどうかを見るものである。8は電源がしゃ断された
ことをいち早く検出する停電検出器である。ROM2内
にはこれが検(」3されると直ちにCMO8RAM 5
のエリヤ51.52,53.54を除く全メモリの内容
の合計値であるサムチェックの値を計算して、チェック
レジスタ53と54にこの値を格納するプログラノ・が
設けである。又電源を投入したときもROM2内のプロ
グラムによって51.52.53および54を除(CM
O3RA、M 5の全メモリの内容の合it 値ヲit
 算して、この値がサムチェックレジスタ53の値と同
じかチェックし、値が同じ場合にはCMOBRAM5は
電源しゃ断中も変化しなかったと判断する。又値が同じ
でない場合には補助のチェックレジスタ54の値と同じ
かチェックして、値が同じであれば同様に変化しなかっ
たと判断し、どちらのレジスタとも値が同じでない場合
には、CMO8RAM5の内容の一部が変化した旨のコ
メントをプリンタ11によって印字する。この場合、オ
ペレータは、パラメータおよびプログラムを印字させて
見てどこが変化したかを探して修正すれば良く全パラメ
ータおよび全プログラムを設定し直す必要がない。更に
前述のサムチェックでCMO8RAMの内容が正常でも
インデックスレジスタ51が変化しておれば、各パラメ
ータおよびプログラムを呼び出すことができないわけで
あるが、この時のだめに上述したのと同じチェックが正
副両インデックスレジスタ51.52に対して行われ、
正インデックスレジスタが変化していても、副のインデ
ックスレジスタ52があり、各パラメータおよびプログ
ラムを呼び出すことができる。
4 is the keyboard, which is used to set two sets of parameters and programs. 6, the output signal of the chromatograph 9 is converted into a digital value by an A/D converter, and the digital value is stored in the temporary storage memory 3. A printer 11 prints data processing results. 5]~540MO8RAM
51 indicates a specific area within 5, 51 is an index register for storing the above-mentioned parameters and program storage location, 52 is an auxiliary index register that stores exactly the same contents as 51, and 53 is a sum check value to be described later. 54 is an auxiliary check register that stores exactly the same sum check value as 53. A sum check is a method of checking for memory defects, and is a method of checking whether the total value of the contents of all memories has changed. 8 is a power outage detector that quickly detects when the power is cut off. As soon as this is detected in ROM2, CMO8RAM5
A programmer is provided which calculates a sum check value, which is the sum of the contents of all memories except areas 51, 52, 53, 54, and stores this value in check registers 53 and 54. Also, when the power is turned on, the program in ROM2 removes 51, 52, 53 and 54 (CM
O3RA, total value of all memory contents of M5
It is checked whether this value is the same as the value of the sum check register 53, and if the values are the same, it is determined that the CMOBRAM 5 did not change even during the power-off. If the values are not the same, it is checked to see if it is the same as the value in the auxiliary check register 54, and if the values are the same, it is determined that there has been no change, and if the values are not the same in either register, the CMO8RAM5 The printer 11 prints a comment to the effect that a part of the content has changed. In this case, the operator only needs to print out the parameters and programs, find what has changed, and make corrections, and there is no need to reset all parameters and programs. Furthermore, even if the contents of the CMO8RAM are normal in the sum check described above, if the index register 51 has changed, each parameter and program cannot be called. performed on registers 51.52,
Even if the primary index register changes, there is a secondary index register 52 that allows each parameter and program to be called.

(へ)効 果 以上詳述したように、本発明によればパラメータやプロ
グラムの電源しゃ断接の作置と電源投入後の確認が自動
的に行われ、インデックスレジスタを正副二重にするこ
とによって、より一層確実にCMO8RAMの保護を行
なうことができその効果は太きい。
(f) Effects As detailed above, according to the present invention, setting of power supply/disconnection of parameters and programs and confirmation after power-on are automatically performed, and by making the index register redundant. , the CMO8RAM can be protected even more reliably, and the effect is significant.

以上の実施例において、サムチェックの代りに各ビット
毎のパリティが偶数か奇数かを見るパリティチェック方
式を行なっても同様である。
In the above embodiments, the same effect can be achieved even if a parity check method is used to check whether the parity of each bit is even or odd instead of the sum check.

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

図面は本発明の一実施例装置の構成を示すブロック図で
ある。 コ−・・・COU、2・・データ処理プログラムを収納
したROM、4・・・キーボード、5.、、CMO8R
AM、6.、。 A、 / D変換器、7・・・バックマツプ電源、8・
・・外部電源しゃ断検出器、9・・・クロマトグラフ、
51゜52・・・正副インデックスレジスタ、53.5
4・・・正副チェックレジスタ。 代理人 弁理士  縣   浩  介
The drawing is a block diagram showing the configuration of an apparatus according to an embodiment of the present invention. COU, 2. ROM containing a data processing program, 4. Keyboard, 5. ,,CMO8R
A.M., 6. ,. A, /D converter, 7... Backmap power supply, 8.
...External power cutoff detector, 9...Chromatograph,
51゜52... Primary and secondary index register, 53.5
4... Original and duplicate check register. Agent Patent Attorney Kosuke Agata

Claims (1)

【特許請求の範囲】[Claims] 、データ処理のだめのパラメータ或はオペレータが設定
するプログラム等を格納し、またインデックスレジスタ
のエリヤを設けたCMO8RAMを有し、外部電源のし
ゃ断を検出して上記CMO3,RAMの電源をバックア
ップ電源に切換える機能を備えた構成において、外部電
源しゃ断時に上記CMO8RAMの内容に対するチェッ
クデータを計算して記憶させておくチェックレジスタエ
リヤを上記CMO8RAM内に設け、−また同RAM 
 内に上記インデックスレジスタを正副二つ用意し、外
部電源投入時に上記CM’O8RAM の内容に対する
チェックデータを計算して上記チェックレジスタに記憶
させたデータと比較して同RAMの内容の変化の有無を
検知すると共に、正のインデックスレジスタの内容に変
化が検出されたときは、副インテックスレジスタによっ
て以後の動作を行う機能を与えたことを特徴とするデー
タ処理装置。
, has a CMO8 RAM which stores parameters for data processing or programs set by the operator, and has an index register area, and detects a cutoff of the external power supply and switches the power supply of the CMO3 and RAM to the backup power supply. In a configuration having this function, a check register area is provided in the CMO8RAM for calculating and storing check data for the contents of the CMO8RAM when the external power is cut off;
Prepare two index registers, a primary and a secondary one, and when the external power is turned on, check data for the contents of the CM'O8RAM is calculated and compared with the data stored in the check register to determine whether or not the contents of the RAM have changed. A data processing device characterized in that it is provided with a function of detecting a change in the contents of a positive index register and performing subsequent operations using a sub-index register when a change is detected in the contents of a positive index register.
JP58054725A 1983-03-29 1983-03-29 Data processing device Pending JPS59178700A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58054725A JPS59178700A (en) 1983-03-29 1983-03-29 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58054725A JPS59178700A (en) 1983-03-29 1983-03-29 Data processing device

Publications (1)

Publication Number Publication Date
JPS59178700A true JPS59178700A (en) 1984-10-09

Family

ID=12978773

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58054725A Pending JPS59178700A (en) 1983-03-29 1983-03-29 Data processing device

Country Status (1)

Country Link
JP (1) JPS59178700A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6280564A (en) * 1985-10-04 1987-04-14 Ando Electric Co Ltd Voltage confirming method for battery for memory
JPS62286141A (en) * 1986-06-05 1987-12-12 Oki Electric Ind Co Ltd Storing method for telephone number
US7447632B2 (en) 2003-07-31 2008-11-04 Fujitsu Limited Voice authentication system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5788598A (en) * 1980-11-21 1982-06-02 Yokogawa Hokushin Electric Corp Fault detecting method of storage device
JPS5835799A (en) * 1981-08-21 1983-03-02 Matsushita Electric Ind Co Ltd Detecting system for ram backup error
JPS5850029A (en) * 1981-09-18 1983-03-24 Chino Works Ltd Power failure detector
JPS5864689A (en) * 1981-10-14 1983-04-18 Hitachi Ltd Data processor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5788598A (en) * 1980-11-21 1982-06-02 Yokogawa Hokushin Electric Corp Fault detecting method of storage device
JPS5835799A (en) * 1981-08-21 1983-03-02 Matsushita Electric Ind Co Ltd Detecting system for ram backup error
JPS5850029A (en) * 1981-09-18 1983-03-24 Chino Works Ltd Power failure detector
JPS5864689A (en) * 1981-10-14 1983-04-18 Hitachi Ltd Data processor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6280564A (en) * 1985-10-04 1987-04-14 Ando Electric Co Ltd Voltage confirming method for battery for memory
JPS62286141A (en) * 1986-06-05 1987-12-12 Oki Electric Ind Co Ltd Storing method for telephone number
US7447632B2 (en) 2003-07-31 2008-11-04 Fujitsu Limited Voice authentication system

Similar Documents

Publication Publication Date Title
HK1079316A1 (en) On-die mechanism for high-reliability processor
JPS59178700A (en) Data processing device
JPS59178699A (en) Data processing device
JPS6111853A (en) Information processor
JPS57164347A (en) Undefined instruction detector for one chip microcomputer
KR100238174B1 (en) Parallel processor system
JPS60179847A (en) Matching check system between real array and virtual array
JPS57212695A (en) Redundant code adding circuit system of electronic computer
JPS59148200A (en) Detector of unfair writing
JPS5920052A (en) Interruption control circuit of microcomputer system
JPH0314148A (en) Program breakdown detecting device
JPH05233359A (en) Debugging device
JPS60128541A (en) Microprocessor
WALLACE et al. Software verification and validation: Its role in computer assurance and its relationship with software project management standards(Report, Jul. 1988- May 1989)
JPS60147849A (en) System for debugging microprogram
JPH05241905A (en) Processor device
JPS58101348A (en) Forced interruption processing system
JPS607819B2 (en) information processing equipment
JPS62231340A (en) Computer
JPH0244432A (en) Electronic computer control system
JPS6159536A (en) Electronic computer system having interruption discriminating device
JPS55166748A (en) Detection system for computer program runaway
JPH0436819A (en) Electronic equipment with power failure processing function
JPS60254251A (en) Debug system
JPH04291646A (en) Write monitoring device