JPH05298195A - Information processor - Google Patents

Information processor

Info

Publication number
JPH05298195A
JPH05298195A JP4096663A JP9666392A JPH05298195A JP H05298195 A JPH05298195 A JP H05298195A JP 4096663 A JP4096663 A JP 4096663A JP 9666392 A JP9666392 A JP 9666392A JP H05298195 A JPH05298195 A JP H05298195A
Authority
JP
Japan
Prior art keywords
battery
ram
time
data
checksum
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4096663A
Other languages
Japanese (ja)
Other versions
JP2741451B2 (en
Inventor
Shinobu Kameoka
忍 亀岡
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP4096663A priority Critical patent/JP2741451B2/en
Publication of JPH05298195A publication Critical patent/JPH05298195A/en
Application granted granted Critical
Publication of JP2741451B2 publication Critical patent/JP2741451B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To obtain an information processor which checkes with high accurary whether or not the data of a RAM and a clock is destroyed by a battery fault, etc., for the back-up period of time by a battery and improves the maintenance of the battery. CONSTITUTION:The information processor is provided with a battery 9 feeding a RAM 3 and a clock 4 via a switch without instantaneous break 8 during the time when the power source is turned off, a processor 1 and a ROM 2 to calculate the checksum for all the back-up data of the RAM 3 or for the memory data corresponding to a random number train by judging from the DC voltage holding time at the time of power surce turned off and the requeired time for a data processing and to detect a RAM error, a battery alarm detecting circuit 10 to detect the voltage drop of the battery 9, a temperature sensor 16 and an A/D converter 15 to detect an ambinent temperature and to quantize it and a display controller 12 and an operation display device 13 to display the fault of the battery and the information on the life to workers.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、電池を用いてRAMや
時計にバックアップ給電を行なう情報処理装置に係り、
特に電池バックアップによるデータ保全のチェックに係
る情報処理を行なう情報処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing device for backing up power to a RAM or a clock by using a battery,
In particular, the present invention relates to an information processing apparatus that performs information processing for checking data integrity by battery backup.

【0002】[0002]

【従来の技術】図7は従来の数値制御装置等を含む情報
処理装置の電池バックアップによるデータ保全のチェッ
ク動作を説明するブロック図であり、1は装置全体を制
御するプロセッサ、2はプロセッサ1の動作を制御する
プログラムと固定データが格納されたROM、3はプロ
セッサ1のワークエリアのほかに種々のデータ、例えば
本装置が数値制御装置の場合には、パラメータや加工プ
ログラム等の膨大なデータが入っているRAM、4は時
計、5は表示部、6はオペレータが命令等を入力するキ
ーボード、7は電源、8は無瞬断スイッチ(例えばメー
ク・ビフォア・ブレーク・スイッチ等が使用できる)、
9は電池である。図8は、図7の動作を説明するフロー
チャートである。
2. Description of the Related Art FIG. 7 is a block diagram for explaining a data integrity check operation by a battery backup of an information processing apparatus including a conventional numerical control apparatus, 1 is a processor for controlling the entire apparatus, and 2 is a processor 1. ROM 3 in which a program for controlling the operation and fixed data are stored, various data other than the work area of the processor 1, for example, when this device is a numerical control device, enormous data such as parameters and machining programs are stored. RAM 4 included, 4 clock, 5 display unit, 6 keyboard for operator to input commands, 7 power supply, 8 non-instantaneous switch (for example, make-before-break switch can be used),
9 is a battery. FIG. 8 is a flowchart illustrating the operation of FIG.

【0003】図8を参照し、図7の動作を説明する。図
7において、電源7への入力電源(例えばAC100
V、図示せず)が切断されると、スイッチ8は点線で示
す如く電池9側に接続され、電池9の電流がRAM3と
時計4に供給される。次に、電源7への入力電源が投入
されると、スイッチ8は実線で示す如く接続され、電源
7から電流がプロセッサ1、ROM2、キーボード6、
並びにRAM3及び時計4に供給される。プロセッサ1
はROM2から制御プログラムを読出して動作し、図8
のStep41で、電源7の直流電圧保持期間中にRA
M3内の特定アドレイに書込まれていた固定データと、
あらかじめROM2に格納されている固定データを読出
し、Step42で両データを比較して、一致している
かの判別をする。そして両データが一致していると判別
した場合はStep45に移り、不一致と判別した場合
は、プロセッサ1はStep43で、RAM3をクリア
した後、ROM2から固定データを読出し、RAM3に
書込む。そしてStep4で時計4のクリアを行ない、
Step45に移る。
The operation of FIG. 7 will be described with reference to FIG. In FIG. 7, an input power source to the power source 7 (for example, AC100
When V (not shown) is disconnected, the switch 8 is connected to the battery 9 side as shown by the dotted line, and the current of the battery 9 is supplied to the RAM 3 and the timepiece 4. Next, when the input power to the power supply 7 is turned on, the switch 8 is connected as shown by the solid line, and the current from the power supply 7 is the processor 1, ROM 2, keyboard 6,
It is also supplied to the RAM 3 and the clock 4. Processor 1
Reads the control program from the ROM 2 to operate, and FIG.
At Step 41 of the above, during the DC voltage holding period of the power supply 7, RA
The fixed data that was written in the specific adlay in M3,
The fixed data stored in the ROM 2 in advance is read, and both data are compared in Step 42 to determine whether they match. If it is determined that the two data match, the process proceeds to Step 45. If it is determined that they do not match, the processor 1 clears the RAM 3 in Step 43, then reads the fixed data from the ROM 2 and writes the fixed data in the RAM 3. Then, in Step 4, clear clock 4,
Move to Step 45.

【0004】プロセッサ1はStep45で、時計4が
クリアされているか否かを調べる。そして時計4がクリ
アされていなければStep47に移り、クリアされて
いる場合はStep46で、時刻設定の指示を表示部5
に表示し、Step47に移る(またStep46で電
池障害と表示しても良い)。そしてオペレータは、時計
がクリアされていることから、電源切断中にメモリ内容
が破壊されたことを知り、時計の時刻設定を行う。プロ
セッサ1はStep47で通常の処理に移行し、キーボ
ード6から入力されるオペレータの指示により動作す
る。
The processor 1 checks in Step 45 whether or not the clock 4 is cleared. If the clock 4 is not cleared, the process proceeds to Step 47, and if it is cleared, the time setting instruction is given in Step 46 in the display unit 5.
Then, the process moves to Step 47 (or the battery failure may be displayed at Step 46). Since the clock is cleared, the operator knows that the memory contents were destroyed while the power was turned off, and sets the clock time. The processor 1 shifts to a normal process at Step 47 and operates according to an operator's instruction input from the keyboard 6.

【0005】[0005]

【発明が解決しようとする課題】従来の情報処理装置の
電池バックアップによるデータ保全のチェック動作は以
上のように行なわれており、RAMの記憶内容が破壊さ
れているかどうかの判断は、RAM内の特定アドレスに
書込まれた固定データが破壊されているかどうかにより
行なっていたので、その特定アドレス以外のアドレスの
内容が破壊されていても、正常と見なし通常運転に移行
してしまうので危険であるという問題点があった。この
危険を回避するために通常の情報処理装置には、電池の
電圧低下を検知するバッテリアラーム検知回路を設け
て、通常運転に移行しないように保護処置をしている。
しかしこの場合にも、バッテリアラームが発生したとき
に、同時に時計がクリアされていればRAMの内容が破
壊されたと判断できるが、時計4がクリアされていない
場合には、特定アドレス以外のアドレスの内容が破壊さ
れている可能性があり、RAM内に記憶されている多量
のデータ(例えば数値制御装置の場合には、パラメータ
や加工プログラムのデータ)を、操作表示装置に表示さ
せ作業者が目で見て確認するか、フロッピディスクのよ
うな2次記憶装置の内容と比較しなければならないとい
う欠点があった。また前記特定アドレスの定義を拡大し
て、特定アドレスを単一アドレスでなく複数アドレスと
考えても、電池電圧の降下により最初に破壊される一連
のアドレス(以後弱点アドレスと云う)がRAMのIC
チップを製造するメーカやその種類により異なるため、
単に複数の固定アドレスの比較では、RAMの内容チェ
ックとしては不十分であるという問題点があった。
The data integrity check operation by the battery backup of the conventional information processing apparatus is performed as described above, and it is determined whether the contents stored in the RAM are destroyed or not. Since the fixed data written to a specific address is destroyed depending on whether it is destroyed or not, even if the contents of addresses other than the specific address are destroyed, it is considered normal and it shifts to normal operation, which is dangerous. There was a problem. In order to avoid this danger, a normal information processing apparatus is provided with a battery alarm detection circuit for detecting a battery voltage drop, and a protective measure is provided so as not to shift to normal operation.
However, even in this case, if the clock is cleared at the same time when the battery alarm occurs, it can be determined that the contents of the RAM have been destroyed. However, if the clock 4 is not cleared, an address other than the specific address The contents may have been destroyed, and a large amount of data stored in the RAM (for example, parameters and machining program data in the case of a numerical control device) is displayed on the operation display device and the operator can see it. However, there is a drawback in that it must be confirmed by checking or comparing with the contents of a secondary storage device such as a floppy disk. Even if the definition of the specific address is expanded and the specific address is considered to be a plurality of addresses instead of a single address, a series of addresses (hereinafter referred to as weak point addresses) that are first destroyed by the drop of the battery voltage is the IC of the RAM.
Since it depends on the manufacturer of the chip and its type,
There is a problem that the comparison of a plurality of fixed addresses is not sufficient as a RAM content check.

【0006】本発明は上記のような問題点を解決するた
めになされたもので、電池によるバックアップ期間中
に、電池障害の発生等によりRAMの内容が破壊されて
いるか否かを、精度の高いデータチェック方法で検出
し、さらに、電池が1次電池であるか2次電池であるか
に応じて適切な方法で、操作表示手段を介して電池の交
換時期を作業者に知らせることができる情報処理装置を
得ることを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and highly accurately determines whether the contents of RAM are destroyed due to a battery failure or the like during the backup period by the battery. Information that can be detected by the data check method, and can inform the operator of the battery replacement time through the operation display means by an appropriate method depending on whether the battery is a primary battery or a secondary battery. The purpose is to obtain a processing device.

【0007】[0007]

【課題を解決するための手段】本請求項1の発明に係る
情報処理装置は、装置電源が断の期間中は、該装置に含
まれるRAM及び時計に対して電池からバックアップ給
電を行なう情報処理装置において、前記装置電源が断に
なった時に、該電源の電圧保持時間内に、前記RAMの
バックアップ所要領域内の全データについてチェックサ
ム算出処理が完了する否かを判別する判別手段と、前記
装置電源断時における、前記判別手段の判別結果が肯定
の場合には、前記RAMのバックアップ所要領域内の全
データについてのチェックサムを算出し、前記判別手段
の判別結果が否定の場合には、所定の乱数列データをチ
ェックアドレスとして、前記RAMのバックアップ所要
領域内のチェックアドレスに格納されたデータについて
のチェックサムを算出すると共に、その後前記装置電源
が投入された時に、前回と同一の算出法により再度チェ
ックサムを算出するチェックサム算出手段と、該チェッ
クサム算出手段が電源断時に算出したチェックサムを前
記RAMのバックアップ所要領域内の特定アドレスに記
憶させ、その後前記装置電源が投入された時に、前記チ
ェックサム算出手段が再度算出したチェックサムと、前
記特定アドレスに記憶させたチェックサムとを比較し、
両データが不一致の場合にRAMエラー信号を発生する
RAMデータチェック手段と、該RAMデータチェック
手段がRAMエラー信号を発生した場合に、前記RAM
及び時計のデータをクリアするデータクリア手段とを備
えたものである。
An information processing apparatus according to the invention of claim 1 performs backup power supply from a battery to a RAM and a clock included in the apparatus while the apparatus power is off. In the device, when the power supply to the device is cut off, a determination unit that determines whether or not the checksum calculation process is completed for all the data in the backup required area of the RAM within the voltage holding time of the power supply; When the determination result of the determination means is positive when the device power is off, a checksum is calculated for all data in the backup required area of the RAM, and when the determination result of the determination means is negative, Using a predetermined random number sequence data as a check address, a checksum for the data stored at the check address in the backup required area of the RAM is set. When the device power is turned on, the checksum calculating means calculates the checksum again by the same calculation method as the previous time, and the checksum calculated by the checksum calculating means when the power is turned off in the RAM. Stored at a specific address in the backup required area, and then when the device power is turned on, the checksum calculated by the checksum calculation means is compared again with the checksum stored at the specific address.
RAM data check means for generating a RAM error signal when both data do not match, and the RAM when the RAM data check means generates a RAM error signal
And a data clearing means for clearing the clock data.

【0008】本請求項2の発明に係る情報処理装置は、
装置電源が断の期間中は、該装置に含まれるRAM及び
時計に対して電池からバックアップ給電を行なう情報処
理装置において、前記電池の電圧が所定値以下に低下し
たことを検知してバッテリアラーム信号を発生するバッ
テリアラーム検知回路と、前記装置電源が断になった時
に、該電源の電圧保持時間内に、前記RAMのバックア
ップ所要領域内の全データについてのチェックサム算出
処理が完了するか否かを判別する判別手段と、前記装置
電源断時における、前記判別手段の判別結果が肯定の場
合には、前記RAMのバックアップ所要領域内の全デー
タについてのチェックサムを算出し、前記判別手段の判
別結果が否定の場合には、所定の乱数列データをチェッ
クアドレスとして、前記RAMのバックアップ所要領域
内のチェックアドレスに格納されたデータについてのチ
ェックサムを算出すると共に、その後前記装置電源が投
入された時に、前回と同一の算出法により再度チェック
サムを算出するチェックサム算出手段と、該チェックサ
ム算出手段が電源断時に算出したチェックサムを前記R
AMのバックアップ所要領域内の特定アドレスに記憶さ
せ、その後前記装置電源が投入された時に、前記チェッ
クサム算出手段が再度算出したチェックサムと、前記特
定アドレスに記憶させたチェックサムとを比較し、両デ
ータが不一致の場合にRAMエラー信号を出力するRA
Mデータチェック手段と、前記バッテリアラーム検知回
路からのバッテリアラーム信号、もくしは前記RAMデ
ータチェック手段からのRAMエラー信号、または前記
バッテリアラーム信号及びRAMエラー信号の両方が発
生した場合に、前記2つの信号の発生状況にそれぞれ対
応する処理方法の指示を操作表示手段を介して作業者に
表示させるアラーム及びエラー処理指示手段とを備えた
ものである。
An information processing apparatus according to the invention of claim 2 is
During a period in which the device power is off, an information processing device that performs backup power supply from a battery to a RAM and a clock included in the device detects that the voltage of the battery has dropped below a predetermined value and detects a battery alarm signal. And whether the checksum calculation processing for all the data in the backup required area of the RAM is completed within the voltage holding time of the power supply of the device and the battery alarm detection circuit that generates the If the determination result of the determination means is positive when the power to the apparatus is turned off, a checksum is calculated for all data in the backup required area of the RAM, and the determination of the determination means is performed. If the result is negative, the predetermined random number sequence data is used as the check address, and the check add address in the backup required area of the RAM is used. Checksum calculation means for calculating a checksum for the data stored in the memory, and for calculating the checksum again by the same calculation method as the previous time when the device power is turned on, and the checksum calculation means. The checksum calculated when the power is cut off is the R
The checksum calculated by the checksum calculation means is stored again at a specific address in the backup required area of the AM, and when the device power is turned on, the checksum stored at the specific address is compared. RA that outputs a RAM error signal when both data do not match
When the M data check means and the battery alarm signal from the battery alarm detection circuit, the RAM error signal from the RAM data check means, or both the battery alarm signal and the RAM error signal are generated, the 2 It is provided with an alarm and error processing instructing means for displaying an instruction of a processing method corresponding to each of the generation states of the two signals to the operator through the operation display means.

【0009】本請求項3の発明に係る情報処理装置は、
前記時計のデータを用いて装置の納入時より現在にいた
るまでの装置電源投入中の電池充電時間及び装置電源断
中の電池放電時間をそれぞれ算出し、該充電時間及び放
電時間にそれぞれ所定係数を乗算した積を加算して電池
の稼働時間を算出し、該稼働時間が電池の寿命を越えた
場合に、前記操作表示手段を介して電池寿命の警告指示
を作業者に表示する電池寿命警告手段を、前記請求項2
の発明に係る情報処理装置に付加したものである。
An information processing apparatus according to the invention of claim 3 is
Using the data of the clock, calculate the battery charging time during power-on of the device and the battery discharging time during power-off of the device from the time of delivery of the device to the present time, and set predetermined coefficients for the charging time and discharging time, respectively. Battery life warning means for calculating the operating time of the battery by adding the multiplied products and displaying a battery life warning instruction to the operator via the operation display means when the operating time exceeds the battery life The above-mentioned claim 2
It is added to the information processing apparatus according to the invention.

【0010】本請求項4の発明に係る情報処理装置は、
電池寿命の温度依存性に鑑み、電池周囲の温度を検出す
る温度センサと、該温度センサの検出信号を量子化する
A/D変換器とを含み、前記時計のデータを用いて装置
の納入時より現在にいたるまでの装置電源投入中の電池
充電時間及び装置電源断中の電池放電時間をそれぞれ算
出し、該充電時間及び放電時間にそれぞれ乗算する所定
係数を前記A/D変換器の出力データにより補正し、該
補正後の所定係数を前記充電時間及び放電時間にそれぞ
れ乗算した積を加算して電池の稼働時間を算出し、該稼
働時間が電池の寿命を越えた場合に、前記操作表示手段
を介して電池寿命の警告指示を作業者に表示させる温度
補正付電池寿命警告手段を、前記請求項2の発明に係る
情報処理装置に付加したものである。
An information processing apparatus according to the invention of claim 4 is,
In consideration of the temperature dependence of the battery life, a temperature sensor that detects the temperature around the battery and an A / D converter that quantizes the detection signal of the temperature sensor are included, and when the device is delivered using the data of the clock. The output data of the A / D converter are calculated by calculating the battery charging time during the power-on of the device and the battery discharging time during the power-off of the device, and multiplying the charging time and the discharging time, respectively. The operating time of the battery is calculated by adding the products obtained by multiplying the charging time and the discharging time by the corrected predetermined coefficient, respectively, and when the operating time exceeds the life of the battery, the operation display A battery life warning means with temperature correction for displaying a battery life warning instruction to an operator via the means is added to the information processing apparatus according to the invention of claim 2.

【0011】本請求項5の発明に係る情報処理装置は、
装置電源が断の期間中は、該装置に含まれるRAMに対
しては2次電池により、またRAM内蔵時計に対しては
長寿命の1次電池によりそれぞれ給電を行なう情報処理
装置において、前記2次電池の電圧が所定値以下に低下
したことを検知してバッテリアラーム信号を発生するバ
ッテリアラーム検知回路と、前記装置電源が断になった
時に、該電源の電圧保持時間内に、前記RAMのバック
アップ所要領域内の全データについてのチェックサム算
出処理が完了するか否かを判別する判別手段と、前記装
置電源断時における、前記判別手段の判別結果が肯定の
場合には、前記RAMのバックアップ所要領域内の全デ
ータについてのチェックサムを算出し、前記判別手段の
判別結果が否定の場合には、所定の乱数列データをチェ
ックアドレスとして、前記RAMのバックアップ所要領
域内のチェックアドレスに格納されたデータについての
チェックサムを算出すると共に、その後前記装置電源が
投入された時に、前回と同一の算出法により再度チェッ
クサムを算出するチェックサム算出手段と、該チェック
サム算出手段が電源断時に算出したチェックサムを前記
RAMのバックアップ所要領域内の特定アドレスに記憶
させ、その後前記装置電源が投入された時に、前記チェ
ックサム算出手段が再度算出したチェックサムと、前記
特定アドレスに記憶させたチェックサムとを比較し、両
データが不一致の場合にRAMエラー信号を発生するR
AMデータチェック手段と、前記バッテリアラーム検知
回路からのバッテリアラーム信号、もくしは前記RAM
データチェック手段からのRAMエラー信号、または前
記バッテリアラーム信号及びRAMエラー信号の両方が
発生した場合に、前記2つの信号の発生状況にそれぞれ
対応する処理方法の指示を操作表示手段を介して作業者
に表示させるアラーム及びエラー処理指示手段と、前記
装置電源断の時間を前記RAM内蔵時計から算出し、次
に前記装置電源が投入された時に、前記2次電池の充電
所要時間を算出し、該算出した充電所要時間が経過する
まで、前記操作表示手段を介して充電所要警告を作業者
に表示する充電所要警告手段とを備えたものである。
The information processing apparatus according to the invention of claim 5 is
In the information processing device that supplies power to the RAM included in the device with a secondary battery and to the RAM built-in clock with a long-life primary battery while the device power is off, A battery alarm detection circuit that detects that the voltage of the secondary battery has dropped to a predetermined value or less and generates a battery alarm signal; and, when the power supply of the device is cut off, within the voltage holding time of the power supply, the RAM A discriminating means for discriminating whether or not the checksum calculation processing is completed for all the data in the backup required area, and when the discriminating result of the discriminating means is affirmative when the device power is off, the RAM backup A checksum is calculated for all the data in the required area, and if the result of the determination by the determination means is negative, the predetermined random number sequence data is used as the check address. , A checksum for calculating the checksum for the data stored in the check address in the backup required area of the RAM, and for calculating the checksum again by the same calculation method as the previous time when the device power is turned on. The checksum calculation means stores the checksum calculated by the checksum calculation means when the power is turned off at a specific address in the backup required area of the RAM, and the checksum calculation means calculates again when the device power is turned on. The checksum stored in the specified address is compared with the checksum stored in the specific address, and a RAM error signal is generated if the two data do not match.
AM data check means, a battery alarm signal from the battery alarm detection circuit, and the RAM.
When the RAM error signal from the data check means or both the battery alarm signal and the RAM error signal are generated, the operator is instructed via the operation display means of the processing method corresponding to the generation status of the two signals. The alarm and error processing instruction means to be displayed on the display, and the time when the device power is cut off are calculated from the RAM built-in clock, and when the device power is next turned on, the time required to charge the secondary battery is calculated, Until the calculated required charging time elapses, a required charging warning means for displaying a required charging warning to the operator via the operation display means is provided.

【0012】本請求項6の発明に係る情報処理装置は、
前記バッテリアラーム検知回路の発生するバッテリアラ
ーム信号を逐次記憶させるEEPROMを含み、装置の
納入時より現在にいたるまで前記EEPROMに記憶し
たバッテリアラーム信号の履歴を、横軸を前記納入時よ
りの時間とし、縦軸を前記バッテリアラーム信号の累計
としたグラフにより、前記操作表示手段を介して作業者
に表示するバッテリアラーム履歴表示手段と、前記RA
M内蔵時計のデータを用いて装置の納入時より現在にい
たるまでの装置電源投入中の2次電池充電時間及び装置
電源断中の2次電池放電時間をそれぞれ算出し、該充電
時間及び放電時間にそれぞれ所定係数を乗算した積を加
算して2次電池の稼働時間を算出し、該稼働時間が2次
電池の寿命を越えた場合に、前記操作表示手段を介して
電池寿命の警告指示を作業者に表示する2次電池寿命警
告手段とを、前記請求項5の発明に係る情報処理装置に
付加したものである。
The information processing apparatus according to the invention of claim 6 is
The battery alarm signal generated by the battery alarm detection circuit is sequentially stored in the EEPROM, and the history of the battery alarm signals stored in the EEPROM from the time of delivery of the device to the present is shown with the horizontal axis as the time from the time of delivery. , A graph in which the vertical axis is the cumulative total of the battery alarm signals, and a battery alarm history display means for displaying to the operator via the operation display means, and the RA
Using the data of the built-in clock, calculate the rechargeable battery charge time during power-on of the device and the discharge time of rechargeable battery during power-off of the device from the time of delivery of the device to the present, respectively, and calculate the charge time and the discharge time. To calculate the operating time of the secondary battery, and when the operating time exceeds the life of the secondary battery, a warning message of battery life is issued via the operation display means. A secondary battery life warning means to be displayed to an operator is added to the information processing apparatus according to the fifth aspect of the invention.

【0013】本請求項7の発明に係る情報処理装置は、
前記請求項6の発明に係る情報処理装置の前記バッテリ
アラーム履歴表示手段内に、前記EEPROMに記憶さ
れたバッテリアラーム信号の累計があらかじめ設定した
所定数に到達した場合、または前記時間に対するバッテ
リアラーム信号の累計グラフの傾きが一定傾斜角を越え
た場合に電池の交換指令を前記操作表示手段を介して作
業者に表示する電池交換指令手段を含ませたものであ
る。
An information processing apparatus according to the invention of claim 7 is
When the cumulative total of the battery alarm signals stored in the EEPROM reaches a preset number in the battery alarm history display means of the information processing apparatus according to the invention of claim 6, or the battery alarm signal for the time The battery replacement command means for displaying a battery replacement command to the operator through the operation display means when the inclination of the cumulative graph of (1) exceeds a certain inclination angle is included.

【0014】本請求項8の発明に係る情報処理装置は、
前記請求項1乃至請求項7のいずれかに係る情報処理装
置の前記チェックサム算出手段が、あらかじめ所定の乱
数列データを記憶するROM、または乱数列データを計
算により算出するプロセッサにより構成される乱数列デ
ータ発生手段を含むものである。
An information processing apparatus according to the invention of claim 8 is
The checksum calculating means of the information processing apparatus according to any one of claims 1 to 7 is a random number configured by a ROM that stores predetermined random number sequence data in advance, or a processor that calculates the random number sequence data by calculation. A column data generating means is included.

【0015】[0015]

【作用】本請求項1に係る発明においては、装置電源が
断の期間中は、該装置に含まれるRAM及び時計に対し
て電池からバックアップ給電を行なう情報処理装置にお
いて、判別手段は前記装置が断になった時に、該電源の
電圧保持時間内に、前記RAMのバックアップ所要領域
内の全データについてのチェックサム算出処理が完了す
るか否かを判別する。チェックサム算出手段は前記装置
電源断時における、前記判別手段の判別結果が肯定の場
合には、前記RAMのバックアップ所要領域内の全デー
タについてのチェックサムを算出し、前記判別手段の判
別結果が否定のの場合には、所定の乱数列データをチェ
ックアドレスとして、前記RAMのバックアップ所要領
域内のチェックアドレスに格納されたデータについての
チェックサムを算出すると共に、その後前記装置電源が
投入された時に、前回と同一の算出法により再度チェッ
クサムを算出する。RAMデータチェック手段は、前記
チェックサム算出手段が電源断時に算出したチェックサ
ムを前記RAMのバックアップ所要領域内の特定アドレ
スに記憶させ、その後前記装置電源が投入された時に、
前記チェックサム算出手段が再度算出したチェックサム
と、前記特定アドレスに記憶させたチェックサムとを比
較し、両データが不一致の場合にRAMエラー信号を発
生する。データクリア手段は前記RAMデータチェック
手段がRAMエラー信号を発生した場合に、前記RAM
及び時計のデータをクリアする。
According to the first aspect of the present invention, in the information processing device for performing backup power supply from the battery to the RAM and the timepiece included in the device while the device power is off, the determining means is the device. When the power is cut off, it is determined whether the checksum calculation process for all the data in the backup required area of the RAM is completed within the voltage holding time of the power supply. If the determination result of the determination means is positive when the device power is turned off, the checksum calculation means calculates the checksum for all data in the backup required area of the RAM, and the determination result of the determination means is In the case of negative, the check sum for the data stored in the check address in the backup required area of the RAM is calculated using the predetermined random number sequence data as the check address, and thereafter, when the device power is turned on. , The checksum is calculated again by the same calculation method as the previous one. The RAM data check means stores the checksum calculated by the checksum calculation means at the time of power off at a specific address in the backup required area of the RAM, and then when the device power is turned on,
The checksum calculated by the checksum calculation means is compared with the checksum stored at the specific address, and a RAM error signal is generated when the two data do not match. The data clear means is provided for the RAM when the RAM data check means generates a RAM error signal.
And clear the clock data.

【0016】本請求項2に係る発明の構成は、前記請求
項1に係る発明の構成に、バッテリアラーム検知回路を
追加し、前記データクリア手段の代りにアラーム及びエ
ラー処理指示手段を備えたもである。前記バッテリアラ
ーム検知回路は、装置電源が断の期間中に該装置に含ま
れるRAM及び時計に対してバックアップ給電を行なう
電池の電圧が所定値以下に低下したことを検知してバッ
テリアラーム信号を発生する。前記アラーム及びエラー
処理指示手段は、前記バッテリアラーム検知回路からの
バッテリアラーム信号、もくしは前記RAMデータチェ
ック手段からのRAMエラー信号、または前記バッテリ
アラーム信号及びRAMエラー信号の両方が発生した場
合に、前記2つの信号の発生状況にそれぞれ対応する処
理方法の指示を操作表示手段を介して作業者に表示す
る。
According to a second aspect of the invention, a battery alarm detection circuit is added to the configuration of the first aspect of the invention, and an alarm and error processing instruction means is provided instead of the data clear means. Is. The battery alarm detection circuit generates a battery alarm signal by detecting that the voltage of the battery that performs backup power supply to the RAM and the clock included in the device during the period when the device power is cut off has dropped below a predetermined value. To do. The alarm and error processing instruction means is provided when a battery alarm signal from the battery alarm detection circuit, a RAM error signal from the RAM data check means, or both the battery alarm signal and the RAM error signal occur. , An instruction of a processing method corresponding to each of the generation states of the two signals is displayed to the operator through the operation display means.

【0017】本請求項3に係る発明の構成は、前記請求
項2に係る発明の構成に電池寿命警告手段を追加したも
のである。前記電池寿命警告手段は、前記時計のデータ
を用いて装置の納入時より現在にいたるまでの装置電源
投入中の電池充電時間及び装置電源断中の電池放電時間
をそれぞれ算出し、該充電時間及び放電時間にそれぞれ
所定係数を乗算した積を加算して電池の稼働時間を算出
し、該稼働時間が電池の寿命を越えた場合に、前記操作
表示手段を介して電池寿命の警告指示を作業者に表示す
る。
According to a third aspect of the invention, a battery life warning means is added to the configuration of the second aspect of the invention. The battery life warning means calculates the battery charging time during power-on of the device and the battery discharging time during power-off of the device from the time of delivery of the device to the present using the data of the clock, and the charging time and The product obtained by multiplying the discharge time by a predetermined coefficient is added to calculate the operating time of the battery, and when the operating time exceeds the life of the battery, an operator issues a warning of battery life via the operation display means. To display.

【0018】本請求項4に係る発明の構成は、前記請求
項2に係る発明の構成に温度補正付電池寿命警告手段を
追加したものである。前記温度補正付電池寿命警告手段
は、電池寿命の温度依存性に鑑み、電池周囲の温度を検
出する温度センサと、該温度センサの検出信号を量子化
するA/D変換器とを含み、前記時計のデータを用いて
装置の納入時より現在にいたるまでの装置電源投入中の
電池充電時間及び装置電源断中の電池放電時間をそれぞ
れ算出し、該充電時間及び放電時間にそれぞれ乗算する
所定係数を前記A/D変換器の出力データにより補正
し、該補正後の所定係数を前記充電時間及び放電時間に
それぞれ乗算した積を加算して電池の稼働時間を算出
し、該稼働時間が電池の寿命を越えた場合に、前記操作
表示手段を介して電池寿命の警告指示を作業者に表示す
る。
According to a fourth aspect of the invention, a battery life warning means with temperature correction is added to the configuration of the second aspect of the invention. The battery life warning unit with temperature correction includes a temperature sensor that detects a temperature around the battery and an A / D converter that quantizes a detection signal of the temperature sensor in view of the temperature dependence of the battery life, Using the clock data, calculate the battery charging time during power-on of the device and the battery discharge time during power-off of the device from the time of delivery of the device to the present time, and multiply by the charging time and discharge time respectively. Is corrected by the output data of the A / D converter, and the operating time of the battery is calculated by adding the products obtained by multiplying the charging time and the discharging time by the corrected predetermined coefficient to calculate the operating time of the battery. When the life is exceeded, a warning instruction for battery life is displayed to the operator via the operation display means.

【0019】本請求項5に係る発明の構成は、前記請求
項2に係る発明の構成において、電池を1次電池と2次
電池との2種類を設け、時計をRAM内蔵時計に代え、
さらに充電所要警告手段を追加したものである。そして
装置電源が断の期間中は、該装置に含まれるRAMに対
しては2次電池により、またRAM内蔵時計に対しては
長寿命の1次電池によりそれぞれ給電を行なう。また前
記充電所要警告手段は、前記装置電源断の時間を前記R
AM内蔵時計から算出し、次に前記装置電源が投入され
た時に、前記2次電池の充電所要時間を算出し、該算出
した充電所要時間が経過するまで、前記操作表示手段を
介して充電所要警告を作業者に表示する。
According to a fifth aspect of the present invention, in the configuration of the second aspect of the invention, two types of batteries, a primary battery and a secondary battery, are provided and the clock is replaced with a RAM built-in clock.
Further, a charging requirement warning means is added. Then, during the period in which the device power is off, the RAM included in the device is powered by the secondary battery, and the RAM built-in clock is powered by the long-life primary battery. Further, the charging required warning means indicates the time when the device power is cut off by the R
The time required for charging the secondary battery is calculated when the device power supply is turned on next, and the charging is required via the operation display means until the calculated charging time elapses. Display a warning to the operator.

【0020】本請求項6に係る発明の構成は、前記請求
項5に係る発明の構成にEEPROMを含むバッテリア
ラーム履歴表示手段及び2次電池寿命警告手段を追加し
たものである。前記バッテリアラーム履歴表示手段は、
前記バッテリアラーム検知回路の発生するバッテリアラ
ーム信号を前記EEPROMに逐次記憶させ、装置の納
入時より現在にいたるまで前記EEPROMに記憶した
バッテリアラーム信号の履歴を、横軸を前記納入時より
の時間とし、縦軸を前記バッテリアラーム信号の累計と
したグラフにより、前記操作表示手段を介して作業者に
表示する。また前記2次電池寿命警告手段は、前記RA
M内蔵時計のデータを用いて装置の納入時より現在にい
たるまでの装置電源投入中の2次電池充電時間及び装置
電源断中の2次電池放電時間をそれぞれ算出し、該充電
時間及び放電時間にそれぞれ所定係数を乗算した積を加
算して2次電池の稼働時間を算出し、該稼働時間が2次
電池の寿命を越えた場合に、前記操作表示手段を介して
電池寿命の警告指示を作業者に表示する。
According to a sixth aspect of the present invention, a battery alarm history display means including an EEPROM and a secondary battery life warning means are added to the configuration of the fifth aspect of the invention. The battery alarm history display means,
The battery alarm signals generated by the battery alarm detection circuit are sequentially stored in the EEPROM, and the history of the battery alarm signals stored in the EEPROM from the time of delivery of the device to the present is the horizontal axis with the time from the time of delivery. A graph in which the vertical axis represents the cumulative total of the battery alarm signals is displayed to the operator via the operation display means. Further, the secondary battery life warning means is the RA
Using the data of the built-in clock, calculate the rechargeable battery charge time during power-on of the device and the discharge time of rechargeable battery during power-off of the device from the time of delivery of the device to the present, respectively, and calculate the charge time and the discharge time. To calculate the operating time of the secondary battery, and when the operating time exceeds the life of the secondary battery, a warning message of battery life is issued via the operation display means. Display to workers.

【0021】本請求項7に係る発明においては、前記請
求項6に係る発明におけるバッテリアラーム履歴表示手
段が電池交換指令手段を含み、該電池交換指令手段は、
前記EEPROMに記憶されたバッテリアラーム信号の
累計があらかじめ設定した所定数に到達した場合、また
は前記時間に対するバッテリアラーム信号の累計グラフ
の傾きが一定傾斜角を越えた場合に電池の交換指令を前
記操作表示手段を介して作業者に表示する。
In the invention according to claim 7, the battery alarm history display means in the invention according to claim 6 includes a battery replacement command means, and the battery replacement command means comprises:
When the cumulative total of the battery alarm signals stored in the EEPROM reaches a predetermined number set in advance, or when the slope of the cumulative graph of the battery alarm signals with respect to the time exceeds a certain tilt angle, the battery replacement command is operated. It is displayed to the operator via the display means.

【0022】本請求項8に係る発明においては、前記請
求項1乃至請求項7のいずれかに係る発明におけるチェ
ックサム算出手段が乱数列データ発生手段を含み、該乱
数列データ発生手段は、あらかじめ所定の乱数列データ
を記憶するROM、または乱数列データを計算により算
出するプロセッサにより構成される。
In the invention according to claim 8, the checksum calculating means in the invention according to any one of claims 1 to 7 includes random number sequence data generating means, and the random number sequence data generating means is configured in advance. It is configured by a ROM that stores predetermined random number sequence data or a processor that calculates the random number sequence data by calculation.

【0023】[0023]

【実施例】【Example】

実施例1.図1は本発明の実施例1に係る情報処理装置
の構成を示すブロック図であり、1〜4、7〜9は上記
従来装置の各機器と全く同じものである。10は電池の
出力電圧が所定値以下に低下したことを検知するバッテ
リアラーム検知回路、11は電源7への入力電源を切断
した瞬間に出力される割込信号、12は表示コントロー
ラ、13は操作表示装置であり、CRT等の表示部と作
業者が例えばパラメータや加工プログラム等を入力する
ためのキー(図示せず)や装置本体を動かすための操作
ボタン(図示せず)が多数取り付けられている。16は
周囲温度を検知する温度センサ、15はこの温度センサ
によって検知されたアナログ信号をディジタル信号に変
換するA/D変換器である。図2〜図4は、図1の動作
を説明するフローチャートであり、図2は図1の電源切
断時のフローチャート、図3は図1の電源投入時のフロ
ーチャート、また図4は図1の電池寿命警告を説明する
フローチャートである。
Example 1. FIG. 1 is a block diagram showing the configuration of an information processing apparatus according to a first embodiment of the present invention, in which 1 to 4 and 7 to 9 are exactly the same as the respective devices of the above conventional apparatus. Reference numeral 10 is a battery alarm detection circuit for detecting that the output voltage of the battery has dropped below a predetermined value, 11 is an interrupt signal output at the moment when the input power to the power supply 7 is cut off, 12 is a display controller, and 13 is an operation. It is a display device, and a display unit such as a CRT and a number of keys (not shown) for an operator to input parameters and machining programs and operation buttons (not shown) for moving the main body of the device are attached. There is. Reference numeral 16 is a temperature sensor for detecting the ambient temperature, and 15 is an A / D converter for converting an analog signal detected by the temperature sensor into a digital signal. 2 to 4 are flowcharts for explaining the operation of FIG. 1, FIG. 2 is a flowchart when the power source of FIG. 1 is turned off, FIG. 3 is a flowchart of when the power source is turned on of FIG. 1, and FIG. 4 is the battery of FIG. It is a flow chart explaining a life warning.

【0024】図2〜図4を参照し、図1の動作を説明す
る。図1において、電源7への入力電源(例えばAC1
00V、図示せず)が切断されると、図2のStep1
で電源7から割込信号11がプロセッサ1に出力され
る。Step2でプロセッサ1は、電源7の直流電圧保
持時間内に、RAM3のバックアップ所要領域内の全デ
ータについてのチェックサム算出処理が完了するか否か
を判別する。当然、RAM3の中のバックアップを要す
る領域の大小により、チェックサム算出処理が前記直流
電圧保持時間内に完了するかどうかが決まることにな
る。Step2の判別結果がYESの場合は、Step
4でバックアップ全領域のチェックサム(全領域のデー
タをすべて加算した総和値)を計算する。またStep
2の判別結果がNOの場合には、前記電源7の直流電圧
保持時間内にチェックサム算出処理が完了するだけの数
の乱数列データをプロセッサ1により発生させるか、ま
たは予めROM2に書込まれた乱数列データを読出し、
その乱数列データをチェックアドレスとして、RAM3
の前記チェックアドレスに格納されたデータについての
チェックサムを計算する。次いで、Step5でこのチ
ェックサムをRAM3の未使用の特定アドレスに書込
み、Step6で時計4の現在データをRAM3に書込
む。そして、電源7の直流電圧保持時間を過ぎると、無
瞬断スイッチ8は点線で示す如く電池9側に接続され、
電池9の電流がRMA3と時計4に供給される。またこ
の直流電源の切換時に、瞬時といえども直流電源が断に
なることはない。
The operation of FIG. 1 will be described with reference to FIGS. In FIG. 1, an input power source to the power source 7 (for example, AC1
00V, not shown) is disconnected, Step 1 of FIG.
Then, the power supply 7 outputs an interrupt signal 11 to the processor 1. In Step 2, the processor 1 determines whether or not the checksum calculation processing for all the data in the backup required area of the RAM 3 is completed within the DC voltage holding time of the power supply 7. Naturally, whether or not the checksum calculation process is completed within the DC voltage holding time depends on the size of the area of the RAM 3 that needs to be backed up. If the determination result of Step 2 is YES, Step
In step 4, the checksum of the entire backup area (total value obtained by adding all the data in all areas) is calculated. See also Step
If the result of the determination in No. 2 is NO, the processor 1 generates the random number sequence data enough to complete the checksum calculation process within the DC voltage holding time of the power supply 7, or is written in the ROM 2 in advance. Read the random number sequence data,
RAM3 using the random number sequence data as a check address
Compute a checksum for the data stored at the check address of Next, in Step 5, this checksum is written in an unused specific address of the RAM 3, and in Step 6, the current data of the clock 4 is written in the RAM 3. Then, after the DC voltage holding time of the power supply 7 has passed, the non-interruptive switch 8 is connected to the battery 9 side as shown by the dotted line,
The current of the battery 9 is supplied to the RMA 3 and the timepiece 4. Further, when switching the DC power supply, the DC power supply will not be cut off even for an instant.

【0025】図1において、電源7への入力電源が投入
され、その出力直流電圧が規定値になると、無瞬断スイ
ッチ8は実線で示す如く接続され、電源7から電流がR
AM3と時計4に供給される。プロセッサ1はROM2
からプログラムを読出して動作し、図3のStep11
でバッテリアラーム検知回路をチェックし、バッテリア
ラーム信号が発生しているか否かを調べる。バッテリア
ラーム信号が発生していなければStep13に移り、
バッテリアラーム信号が発生していれば、Step12
でバッテリアラームフラグをONにする。次いで、St
ep13で図2の電源切断シーケンスにおいて、RAM
3のバックアップ全データのチェックサムを計算した
か、乱数列のアドレスデータのチェックサムを計算した
かに応じて同じ計算を繰り返しRAM3のチェックサム
を再び計算する。Step14で前記計算したチェツク
サムと図1のStep5でRAM3の特定アドレスに記
憶したデータとを比較し、一致しているかを判断する。
Step14での比較結果が一致すれば、Step16
に移り、比較結果が一致しなければ、Step15でプ
ロセッサ1はRAM3と時計4のデータをクリアすると
同時にRAM ERR(エラー)フラグをONし、St
ep16に移る。
In FIG. 1, when the input power supply to the power supply 7 is turned on and the output DC voltage reaches a specified value, the non-interruptible switch 8 is connected as shown by the solid line, and the current from the power supply 7 is R.
It is supplied to AM3 and clock 4. Processor 1 is ROM2
The program is read from and operates, and Step 11 in FIG.
Check the battery alarm detection circuit with to see if a battery alarm signal is generated. If no battery alarm signal is generated, move to Step 13,
If a battery alarm signal is generated, Step12
To turn on the battery alarm flag. Then St
In ep13, in the power off sequence of FIG. 2, RAM
The same calculation is repeated depending on whether the checksum of all the backup data of 3 or the checksum of the address data of the random number sequence is calculated, and the checksum of the RAM 3 is calculated again. In Step 14, the calculated checksum is compared with the data stored in the specific address of the RAM 3 in Step 5 of FIG. 1 to determine whether they match.
If the comparison results in Step 14 match, Step 16
If the comparison result does not match, the processor 1 clears the data of the RAM 3 and the clock 4 at the same time as the RAM ERR (error) flag is turned on in Step 15, and St is set.
Move to ep16.

【0026】次いで、Step16ではRAM ERR
(エラー)フラグがONしているかどうかを調べ、ON
していなければStep17に進む。前記RAM ER
RフラグがONしていれば、Step18でRAM3が
破壊されている旨を操作表示装置13の表示部に表示
し、作業者にデータの修復を指示する。作業者はこの指
示をみて、Step19でパラメータや加工プログラム
等のデータを操作表示装置13より手動操作又はフロッ
ピディスクのような2次記憶装置より入力する。また時
計4の時刻設定をして、Step22の通常処理に移行
する。Step17では、バッテリアラームフラグがO
Nしているかどうか調べる。ONしていなければ、正常
と見なしStep22の通常処理に進む。前記フラグが
ONしていれば、Step20でバッテリの電圧が低下
している旨を操作表示装置13の表示部に表示し、作業
者にRAMデータのチェックを指示する。作業者はSt
ep21で、RAM3内に記憶されているデータが正常
かどうかを、操作表示装置13の表示部を見ながら、ま
たはフロッピディスクのような2次記憶装置とのデータ
比較でチェックし、万一データが破壊されていれば手動
操作又はフロッピディスクのような2次記憶装置より入
力する。また、時計4の時刻が正しいかチェックをし、
万一データが破壊されていれば時刻データを設定をし、
Step22の通常処理に移行する。なお、上記実施例
では計算が簡単なため算出するデータをチェックサムと
したが、CRC(Cyclic Redundancy
Check、巡回冗長検査)でもよい。要するに、代
数計算であればよい。
Next, at Step 16, RAM ERR
Checks whether the (error) flag is on and turns it on
If not, proceed to Step 17. The RAM ER
If the R flag is ON, the fact that the RAM 3 has been destroyed is displayed on the display unit of the operation display device 13 at Step 18, and the operator is instructed to restore the data. In response to this instruction, the operator inputs data such as parameters and machining programs at Step 19 from the operation display device 13 manually or from a secondary storage device such as a floppy disk. Further, the time of the clock 4 is set, and the process proceeds to the normal process of Step 22. In Step 17, the battery alarm flag is O
Check if you are N. If it is not turned on, it is regarded as normal and the process proceeds to the normal process of Step 22. If the flag is ON, the fact that the voltage of the battery is low is displayed on the display unit of the operation display device 13 at Step 20, and the operator is instructed to check the RAM data. Worker is St
At ep21, it is checked whether the data stored in the RAM 3 is normal or not by looking at the display section of the operation display device 13 or by comparing the data with a secondary storage device such as a floppy disk. If it has been destroyed, it is input manually or from a secondary storage device such as a floppy disk. Also, check that the time on clock 4 is correct,
If the data is destroyed, set the time data,
The process proceeds to the normal process of Step 22. In the above embodiment, the data to be calculated is a checksum because the calculation is simple, but CRC (Cyclic Redundancy) is used.
Check, cyclic redundancy check). In short, algebraic calculation is sufficient.

【0027】次いで、電池の寿命警告動作を説明する。
情報処理装置の納入時に、作業者は操作表示装置13に
て納入日付をRAM3に書込んでおく。するとプロセッ
サ1は周囲温度と充電又は放電状態による補正をうける
電池の稼働時間(以後SUMと云う)に初期値の零を設
定する。図4のStep21において電源7への入力電
源が投入され、その直流電圧が供給されると、プロセッ
サ1はSUMが電池寿命を越えているか調べる。電池寿
命を越えていなければ直接Step23に進む。電池寿
命を越えていれば、Step22でその旨を操作表示装
置13の表示部に表示し、作業者に警告した後Step
23に進む。Step23では、電源7が切断されてい
て情報処理装置が稼働していない間のSUMを計算す
る。先ず、前回電源7が切断されてから今回電源7が投
入されるまでの電源断の時間を時計4の時間差より算出
する。前回電源7が切断された時の時刻は図2のSte
p6でRAM3に記憶しておくものとする。
Next, the battery life warning operation will be described.
When the information processing apparatus is delivered, the worker writes the delivery date in the RAM 3 on the operation display device 13. Then, the processor 1 sets an initial value of zero to the operating time (hereinafter referred to as SUM) of the battery that is corrected by the ambient temperature and the charge or discharge state. When the input power to the power supply 7 is turned on and the DC voltage is supplied in Step 21 of FIG. 4, the processor 1 checks whether the SUM has exceeded the battery life. If the battery life is not exceeded, the process goes directly to Step 23. If the battery life is exceeded, Step 22 displays a message to that effect on the display unit of the operation display device 13 to warn the operator and then Step
Proceed to 23. In Step 23, the SUM is calculated while the power supply 7 is off and the information processing device is not operating. First, the power-off time from the last power-off of the power supply 7 to the current power-on 7 is calculated from the time difference of the clock 4. The time when the power supply 7 was turned off last time is Ste of FIG.
It shall be stored in the RAM 3 at p6.

【0028】次いで、電源7への入力電源が切断されて
いる間は周囲温度が分からないので、Step24で電
源7が投入されたときの周囲温度を用いる。この周囲温
度は、温度センサ16により検出されA/D変換器15
によりディジタル信号に変換された値をプロセッサ1が
読取る。次いで、Step25で、電池9の温度特性
と、電源断の間の電池の放電状態とに基づき、電池稼働
時間を補正するための補正係数を算出する。次いで、S
tep26で、それまでの累計SUM(電池の稼働時
間)に、電源断の時間と前記補正係数との積を加算し、
新規のSUMとする。
Next, since the ambient temperature is unknown while the input power to the power source 7 is cut off, the ambient temperature at the time when the power source 7 is turned on is used in Step 24. This ambient temperature is detected by the temperature sensor 16 and the A / D converter 15
Then, the processor 1 reads the value converted into the digital signal. Next, in Step 25, a correction coefficient for correcting the battery operating time is calculated based on the temperature characteristics of the battery 9 and the discharge state of the battery during power interruption. Then S
At step 26, the product of the power-off time and the correction coefficient is added to the cumulative SUM (battery operating time) up to that point,
It is a new SUM.

【0029】次いで、電源7への入力電源が投入され、
情報処理装置が稼働している間のSUMを計算する。先
ず、Step27で、前記と同様の方法で周囲温度をプ
ロセッサ1が読取る。次いで、電池9の温度特性と、電
源投入中の電池の充電状態とにより、電池稼働時間を補
正するための補正係数を算出する。Step29では、
Step26と同様に、前記SUMに、単位稼働時間T
(Tは例えば1時間のように、適当に設定した単位時
間)と補正係数との積を加算し、新規のSUMとする。
Step30では、前記単位稼働時間Tを経過したかを
判断し、まだ経過してなければ、経過するまで待って、
時間Tを経過したらStep27に戻り、このStep
27〜Step30のループ処理を電源7が切断される
まで繰返す。
Next, the input power to the power supply 7 is turned on,
SUM is calculated while the information processing device is operating. First, in Step 27, the processor 1 reads the ambient temperature in the same manner as described above. Next, a correction coefficient for correcting the battery operating time is calculated based on the temperature characteristics of the battery 9 and the state of charge of the battery during power-on. In Step29,
Similar to Step 26, the unit operating time T is added to the SUM.
The product of (where T is an appropriately set unit time such as 1 hour) and the correction coefficient is added to obtain a new SUM.
In Step 30, it is judged whether the unit operating time T has passed, and if it has not yet passed, wait until it has passed,
When time T has passed, the process returns to Step 27, and this Step
The loop processing of 27 to Step 30 is repeated until the power supply 7 is cut off.

【0030】実施例2.図5は本発明の実施例2に係る
情報処理装置の構成を示すブロック図であり、1〜3、
7、10〜13、15及び16は実施例1と全く同じも
のである。4AはRAM内蔵時計である。RAM内蔵時
計のかわりに、時計4と小容量低消費電流RAMとのセ
ットとして使用してもよい。8Aは2連の無瞬断スイッ
チである。9Aは長寿命の1次電池であり、通常バック
アップ電流の小さいRAM内蔵時計4Aをバックアップ
する。9Aとしては例えば、Li電池を使用する。9B
は2次電池であり、システムによっては、バックアップ
電流が大きくなるRAM3をバックアップする。9Bと
しては、RAM3の種類によって使い分け、例えばMO
SスタティックRAMの場合はNi−Cd電池、ダイナ
ミックRAMの場合は鉛蓄電池等を使用する。14は不
揮発性の電気的書き換え可能なROMであるEEPRO
Mである。17は電源7が切断されている間、2次電池
9Bを充電するための充電回路である。
Example 2. FIG. 5 is a block diagram showing the configuration of the information processing apparatus according to the second embodiment of the present invention.
7, 10 to 13, 15 and 16 are exactly the same as those in the first embodiment. 4A is a RAM built-in clock. Instead of the RAM built-in clock, the clock 4 and a small-capacity low-current-consumption RAM may be used as a set. 8A is a double continuous switch. Reference numeral 9A denotes a long-life primary battery, which normally backs up the RAM built-in clock 4A having a small backup current. As 9A, for example, a Li battery is used. 9B
Is a secondary battery, and backs up the RAM 3 having a large backup current depending on the system. 9B is properly used depending on the type of RAM 3, for example, MO
Ni-Cd battery is used for S static RAM, and lead storage battery is used for dynamic RAM. EEPRO is a non-volatile electrically rewritable ROM
It is M. Reference numeral 17 is a charging circuit for charging the secondary battery 9B while the power supply 7 is cut off.

【0031】図6は本発明の実施例2に係るバッテリア
ラーム累計表示例を示す図である。同図は装置の納入日
よりの日数を横軸に、バッテリアラーム累計を縦軸にプ
ロットしたグラフであり、このグラフが操作表示装置1
3の表示部に表示される。
FIG. 6 is a diagram showing an example of cumulative battery alarm display according to the second embodiment of the present invention. This figure is a graph in which the number of days from the delivery date of the device is plotted on the horizontal axis and the cumulative battery alarm is plotted on the vertical axis, and this graph is the operation display device 1.
3 is displayed on the display unit.

【0032】図6を参照し、図5の動作を説明する。図
5において、装置の電源7への入力電源が切断され、電
源7の直流電圧保持時間を過ぎると、2連スイッチ8A
は点線で示す如く長寿命の1次電池9A及び2次電池9
B側に接続され、2次電池9Bの電流がRAM3に供給
される(以後放電と云う)。この放電により2次電池9
Bの内部に化学変化を生じ、内部のエネルギー容量は減
少する。次に電源7への入力電源が投入され、その出力
直流電圧が規定値になると、2連スイッチ8Aは実線で
示す如く接続され電源7から電流がRAM3とRAM内
蔵時計4Aに供給されると同時に、充電回路17を介し
て2次電池9Bに充電される。2次電池9Bの充電に必
要な時間Tmは、 Tm=電源断時間×充電電流÷放電電流 であり、プロセッサ1はRAM内蔵時計4Aを利用して
この時間Tmを計算し、この充電所要時間が過ぎるまで
操作表示装置13の表示部にその旨を警告する。電源断
の間の放電電流が大きい場合、2次電池9B内のエネル
ギーがほとんど消費されてしまう場合もあるので、この
場合に電池が2次電池9Bの1個であると、上記計算が
実施できない。このため図5の実施例2においては、バ
ックアップ電流の小さいRAM内蔵時計4Aをバックア
ップする長寿命の1次電池9Aと、システムによっては
バックアップ電流が大きくなるRAM3をバックアップ
する2次電池9Bの2個を設けるようにしている。なお
電源切断時の時刻データのバックアップはRAM3では
なくRAM内蔵時計4A内部のRAMとしている。
The operation of FIG. 5 will be described with reference to FIG. In FIG. 5, when the input power to the power supply 7 of the device is cut off and the DC voltage holding time of the power supply 7 is exceeded, the double switch 8A
Is a long-life primary battery 9A and secondary battery 9 as shown by the dotted line.
It is connected to the B side and the current of the secondary battery 9B is supplied to the RAM 3 (hereinafter referred to as discharging). By this discharge, the secondary battery 9
A chemical change occurs inside B, and the internal energy capacity decreases. Next, when the input power supply to the power supply 7 is turned on and the output DC voltage becomes a specified value, the double switch 8A is connected as shown by the solid line and current is supplied from the power supply 7 to the RAM 3 and the RAM built-in clock 4A. , The secondary battery 9B is charged via the charging circuit 17. The time Tm required for charging the secondary battery 9B is Tm = power-off time × charging current ÷ discharging current, and the processor 1 calculates this time Tm using the RAM built-in clock 4A, and this charging time is Until that time, the display unit of the operation display device 13 is warned to that effect. If the discharge current during power-off is large, the energy in the secondary battery 9B may be almost consumed. In this case, if the battery is one of the secondary batteries 9B, the above calculation cannot be performed. .. Therefore, in the second embodiment of FIG. 5, a long-life primary battery 9A that backs up the RAM built-in clock 4A having a small backup current and a secondary battery 9B that backs up the RAM 3 that has a large backup current depending on the system are used. Is provided. The backup of the time data when the power is turned off is not the RAM 3 but the RAM inside the RAM built-in clock 4A.

【0033】また、電源切断の状態で長期間放置された
ような場合、次に電源を投入するとバッテリアラーム検
知回路10が作動するので、この場合にプロセッサ1は
RAM内蔵時計4Aより現在時刻を読み出しEEPRO
M14に書き込む。なおRAM内蔵時計4AのRAM容
量が十分有る場合は、このRAMに書き込んでも構わな
い。そして、図6に示す如く情報処理装置の納入時より
現在に至るまでのバッテリアラームの履歴を納入日より
の日数を横軸に、バッテリアラーム累計を縦軸にプロッ
トしたグラフを操作表示装置13の表示部に表示する。
更に、プロセッサ1は、このグラフを利用して、バッテ
リアラームの累計回数が一定回数に到達したり、グラフ
の傾きが一定傾斜角を越えたら、操作表示装置13のC
RT画面に例えば「電池を交換せよ」等の電池交換指令
を表示する。
When the power is turned off and the battery is left for a long time, the battery alarm detection circuit 10 is activated when the power is next turned on. In this case, the processor 1 reads the current time from the RAM built-in clock 4A. EEPRO
Write to M14. If the RAM built-in clock 4A has sufficient RAM capacity, it may be written in this RAM. Then, as shown in FIG. 6, a graph in which the history of battery alarms from the time of delivery of the information processing apparatus to the present is plotted on the horizontal axis of the number of days from the delivery date and the vertical axis of the cumulative total of battery alarms is displayed on the operation display device 13. Display on the display.
Further, the processor 1 uses this graph to display C of the operation display device 13 when the cumulative number of battery alarms reaches a certain number or the inclination of the graph exceeds a certain inclination angle.
A battery replacement command such as "replace batteries" is displayed on the RT screen.

【0034】[0034]

【発明の効果】以上のように本発明によれば、装置電源
が断の期間中は、該装置に含まれるRAM及び時計に対
して電池からバックアップ給電を行なう情報処理装置に
おいて、前記装置電源が断になった時に、該電源の電圧
保持時間内に、前記RAMのバックアップ所要領域内の
全データについてのチェックサム算出処理が完了するか
否かを判別し、該判別結果が肯定の場合には、前記RA
Mのバックアップ所要領域内の全データについてのチェ
ックサムを算出し、前記判別結果が否定の場合には、所
定の乱数列データをチェックアドレスとして、前記RA
Mのバックアップ所要領域内のチェックアドレスに格納
されたデータについてのチェックサムを算出して、前記
RAMのバックアップ所要領域内の特定アドレスに記憶
させる。そして、その後前記装置電源が投入された時
に、前回と同一の算出法により再度算出したチェックサ
ムと、前記特定アドレスに記憶させたチェックサムとを
比較し、両データが不一致の場合にRAMエラー信号を
発生し、同時に前記RAM及び時計のデータをクリアす
るようにしたので、電源の直流電圧の保持時間の範囲内
でRAMの種類如何を問わず、高精度のデータチェック
方法により、バッテリバックアップされたRAMデータ
が正常かどうかのチェックが出来る。
As described above, according to the present invention, in the information processing apparatus in which the battery and the RAM included in the apparatus are backed up from the battery while the apparatus power is off, the apparatus power source is At the time of disconnection, it is determined whether or not the checksum calculation processing for all the data in the backup required area of the RAM is completed within the voltage holding time of the power supply. If the determination result is affirmative, , The RA
A checksum is calculated for all the data in the backup required area of M, and when the result of the determination is negative, the predetermined random number sequence data is used as the check address and the RA
A checksum for the data stored in the check address in the backup required area of M is calculated and stored in a specific address in the backup required area of the RAM. Then, when the device power is subsequently turned on, the checksum calculated again by the same calculation method as the previous time is compared with the checksum stored in the specific address, and if both data do not match, a RAM error signal Since the data of the RAM and the clock are cleared at the same time, the battery is backed up by the highly accurate data check method regardless of the type of the RAM within the holding time of the DC voltage of the power supply. You can check whether the RAM data is normal.

【0035】また本発明によれば、前記発明にバッテリ
アラーム検知回路を追加し、装置電源が断の期間中に該
装置に含まれるRAM及び時計に対してバックアップ給
電を行なう前記電池の電圧が所定値以下に低下したこと
を検知してバッテリアラーム信号を発生する。そして前
記RAM及び時計のデータの自動的なクリアはせずに、
前記バッテリアラーム信号、もしくは前記RAMエラー
信号のいずれが発生したか、または前記バッテリアラー
ム信号とRAMエラー信号の両方が発生したかという、
それぞれの異常状況に対応する処理方法の指示を操作表
示手段を介して作業者に表示させるようにしたので、チ
ェックサムが一致しても、バッテリアラーム信号が発生
し、RAM内のデータが破壊されているという極めて低
い確率の場合にも、データの破壊が分かる。またこの場
合には、破壊個所は極めて少ないと推定されるので、操
作表示手段の表示を見ながらの手作業でも修復は可能で
ある。
According to the present invention, a battery alarm detection circuit is added to the above invention, and the voltage of the battery for performing backup power supply to the RAM and the clock included in the device during a period when the device power is off is predetermined. A battery alarm signal is generated by detecting that the voltage has dropped below the specified value. And without automatically clearing the RAM and clock data,
Whether the battery alarm signal or the RAM error signal is generated, or both the battery alarm signal and the RAM error signal are generated,
Since the instruction of the processing method corresponding to each abnormal situation is displayed to the operator through the operation display means, even if the checksums match, a battery alarm signal is generated and the data in the RAM is destroyed. Even if the probability is extremely low, data corruption can be seen. Further, in this case, it is presumed that the number of breakage points is extremely small, and therefore repair can be performed manually even while observing the display of the operation display means.

【0036】また本発明によれば、前記時計のデータを
用いて装置の納入時より現在にいたるまでの装置電源投
入中の電池充電時間及び装置電源断中の電池放電時間を
それぞれ算出し、該充電時間及び放電時間にそれぞれ所
定係数を乗算した積を加算して電池の稼働時間を算出
し、該稼働時間が電池の寿命を越えた場合に、前記操作
表示手段を介し電池寿命の警告指示を作業者に表示する
ようにしたので、寿命の過ぎた電池を知らずに使用する
ことがなく、また装置内部の電池を取出して電池の製造
年月日を確認して電池の交換時期を調べる手間が不要に
なる。
According to the present invention, the battery charge time during power-on of the device and the battery discharge time during power-off of the device from the time of delivery of the device to the present time are calculated using the data of the clock, When the operating time of the battery is calculated by adding the product obtained by multiplying the charging time and the discharging time by a predetermined coefficient, respectively, and when the operating time exceeds the battery life, a warning instruction for battery life is issued via the operation display means. Since it is displayed to the operator, it is not necessary to use the battery whose life has expired without knowing it, and it is troublesome to take out the battery inside the device and check the date of manufacture of the battery to check the battery replacement time. It becomes unnecessary.

【0037】また本発明によれば、電池寿命の温度依存
性に鑑み、電池周囲の温度を検出する温度センサと、該
温度センサの検出信号を量子化してプロセッサに供給す
るA/D変換器とを設け、周囲温度に応じて補正された
係数を用いて電池稼働時間を計算し、該稼働時間が電池
の寿命を越えた場合に、前記操作表示手段を介して電池
寿命の警告指示を作業者に表示するようにしたので、よ
り精度の高い電池寿命の警告を行なうことができる。
Further, according to the present invention, in view of the temperature dependence of the battery life, a temperature sensor for detecting the temperature around the battery, and an A / D converter for quantizing the detection signal of the temperature sensor and supplying it to the processor. Is provided, the battery operating time is calculated using the coefficient corrected according to the ambient temperature, and when the operating time exceeds the battery life, the operator is given a battery life warning instruction through the operation display means. Since it is displayed on, the battery life warning can be issued with higher accuracy.

【0038】また本発明によれば、前記発明において、
電池を1次電池と2次電池との2種類を設け、時計をR
AM内蔵時計に代え、装置電源が断の期間中は、該装置
に含まれるRAMに対しては2次電池により、またRA
M内蔵時計に対しては長寿命の1次電池によりそれぞれ
給電を行なう。そして前記装置電源断の時間を前記RA
M内蔵時計から算出し、次に前記装置電源が投入された
時に、前記2次電池の充電所要時間を算出し、該算出し
た充電所要時間が経過するまで、前記操作表示手段を介
して充電所要警告を作業者に表示するようにしたので、
情報処理装置納入後、倉庫に長期間保存していた場合
や、長期に渡って使用しなかった場合のように2次電池
の内部エネルギーがなくなった状態で、電源投入後膨大
な量のパラメータや加工プログラムをRAMに書込み、
その後充電不足のまま電源を切断した場合のRAMデー
タの破壊を防止することができる。
According to the invention, in the above invention,
There are two types of batteries, a primary battery and a secondary battery, and the clock is R
Instead of the AM built-in clock, during the period when the power supply of the device is cut off, the RAM included in the device is charged by the secondary battery and the RA
Power is supplied to the M built-in timepiece by a long-life primary battery. Then, the time when the device power is turned off is set to the RA
M The time required for charging the secondary battery is calculated when the device power is turned on, and the required charging time is calculated through the operation display means until the calculated required charging time elapses. I've shown the warning to the worker,
After the information processing equipment is delivered, it will be stored in a warehouse for a long time, or if the secondary battery has no internal energy, such as when it has not been used for a long time. Write the machining program to RAM,
After that, it is possible to prevent the destruction of the RAM data when the power is turned off with insufficient charging.

【0039】また本発明によれば、前記発明にEEPR
OMを含むバッテリアラーム履歴表示手段を設け、該バ
ッテリアラーム履歴表示手段は前記バッテリアラーム検
知回路の発生するアラーム信号を前記EEPROMに逐
次記憶させ、装置の納入時より現在に至るまで前記EE
PROMに記憶したバッテリアラーム信号の履歴を、横
軸を前記納入時よりの時間とし、縦軸を前記バッテリア
ラーム信号の累計としたグラフにより、前記操作表示手
段を介して作業者に表示するようにしたので、バッテリ
アラームの履歴が一目で分かり、保守点検に便利であ
る。
Further, according to the present invention, the EEPR is added to the above invention.
A battery alarm history display means including an OM is provided, and the battery alarm history display means sequentially stores the alarm signals generated by the battery alarm detection circuit in the EEPROM, and the EE is provided from the time of delivery of the apparatus to the present.
The history of the battery alarm signals stored in the PROM is displayed to the operator via the operation display means by a graph in which the horizontal axis represents the time from the time of delivery and the vertical axis represents the cumulative total of the battery alarm signals. Therefore, the history of battery alarms can be seen at a glance, which is convenient for maintenance and inspection.

【0040】また本発明によれば、前記バッテリアラー
ム履歴表示手段が電池交換指令手段を含み、該電池交換
指令手段は前記EEPROMに記憶されたバッテリアラ
ーム信号の累計が、あらかじめ設定した所定数に到達し
た場合、または前記時間に対するバッテリアラーム信号
の累計グラフの傾きが一定傾斜角を越えた場合に、電池
の交換指令を前記操作表示手段を介して作業者に表示す
るようにしたので、単に2次電池に充電が必要なのでは
なく、2次電池が寿命になったか、2次電池に何らかの
故障が起ったのか等の判断が可能となる。
Further, according to the present invention, the battery alarm history display means includes a battery replacement command means, and the battery replacement command means reaches a preset number of battery alarm signals stored in the EEPROM. In this case, or when the inclination of the cumulative graph of the battery alarm signal with respect to the above time exceeds a certain inclination angle, the battery replacement instruction is displayed to the operator via the operation display means, so that the secondary operation is simply performed. It is not necessary to charge the battery, but it is possible to judge whether the secondary battery has reached the end of its life, whether the secondary battery has some trouble, or the like.

【0041】また本発明によれば、前記各発明におい
て、前記乱数列データを発生する手段は、あらかじめ所
定の乱数列データを記憶するROM、または乱数列デー
タを計算により算出するプロセッサにより構成されるよ
うにしたので、ROMから読出した乱数列データを用い
て高速にチェックサムを算出することも、プロセッサに
より乱数列データを計算により発生させメモリ容量を節
約することも可能であり、いずれかを選択する自由度を
有する。
Further, according to the present invention, in each of the above inventions, the means for generating the random number sequence data is constituted by a ROM for storing predetermined random number sequence data in advance, or a processor for calculating the random number sequence data by calculation. Therefore, it is possible to calculate the checksum at high speed by using the random number sequence data read from the ROM, or to generate the random number sequence data by the processor to save the memory capacity. You have the freedom to do so.

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

【図1】本発明の実施例1に係る情報処理装置の構成を
示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an information processing apparatus according to a first embodiment of the present invention.

【図2】図1の電源切断時の動作を説明するフローチャ
ートである。
FIG. 2 is a flowchart illustrating an operation when the power supply of FIG. 1 is turned off.

【図3】図1の電源投入時の動作を説明するフローチャ
ートである。
FIG. 3 is a flowchart illustrating an operation at the time of turning on the power supply in FIG.

【図4】図1の電池の寿命警告を説明するフローチャー
トである。
FIG. 4 is a flowchart illustrating a life warning of the battery of FIG.

【図5】本発明の実施例2に係る情報処理装置の構成を
示すブロック図である。
FIG. 5 is a block diagram showing a configuration of an information processing apparatus according to a second embodiment of the present invention.

【図6】本発明の実施例2に係るバッテリアラーム累計
表示例を示す図である。
FIG. 6 is a diagram showing a battery alarm cumulative display example according to the second embodiment of the present invention.

【図7】従来の数値制御装置等を含む情報処理装置の電
池バックアップによるデータ保全のチェック動作を説明
するブロック図である。
FIG. 7 is a block diagram illustrating a data integrity check operation by battery backup of an information processing apparatus including a conventional numerical control apparatus and the like.

【図8】図7の動作を説明するフローチャートである。FIG. 8 is a flowchart illustrating the operation of FIG.

【符号の説明】[Explanation of symbols]

1 プロセッサ 2 ROM 3 RAM 4 時計 4A RAM内蔵時計 5 表示部 6 キーボード 7 電源 8 無瞬断スイッチ 8A 2連無瞬断スイッチ 9 電池 9A 長寿命1次電池 9B 2次電池 10 バッテリアラーム検知回路 11 割込信号 12 表示コントローラ 13 操作表示装置 14 EEPROM 15 A/D変換器 16 温度センサ 17 充電回路 1 processor 2 ROM 3 RAM 4 clock 4A RAM built-in clock 5 display section 6 keyboard 7 power supply 8 no-interruption switch 8A two consecutive no-interruption switch 9 battery 9A long life primary battery 9B secondary battery 10 battery alarm detection circuit 110% Embedded signal 12 Display controller 13 Operation display device 14 EEPROM 15 A / D converter 16 Temperature sensor 17 Charging circuit

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成4年11月27日[Submission date] November 27, 1992

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項1[Name of item to be corrected] Claim 1

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0003[Name of item to be corrected] 0003

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0003】図8を参照し、図7の動作を説明する。図
7において、電源7への入力電源(例えばAC100
V、図示せず)が切断されると、スイッチ8は点線で示
す如く電池9側に接続され、電池9の電流がRAM3と
時計4に供給される。次に、電源7への入力電源が投入
されると、スイッチ8は実線で示す如く接続され、電源
7から電流がプロセッサ1、ROM2、キーボード6、
並びにRAM3及び時計4に供給される。プロセッサ1
はROM2から制御プログラムを読出して動作し、図8
のStep41で、電源7の直流電圧保持期間中にRA
M3内の特定アドレスに書込まれていた固定データと、
あらかじめROM2に格納されている固定データを読出
し、Step42で両データを比較して、一致している
かの判別をする。そして両データが一致していると判別
した場合はStep45に移り、不一致と判別した場合
は、プロセッサ1はStep43で、RAM3をクリア
した後、ROM2から固定データを読出し、RAM3に
書込む。そしてStep44で時計4のクリアを行な
い、Step45に移る。
The operation of FIG. 7 will be described with reference to FIG. In FIG. 7, an input power source to the power source 7 (for example, AC100
When V (not shown) is disconnected, the switch 8 is connected to the battery 9 side as shown by the dotted line, and the current of the battery 9 is supplied to the RAM 3 and the timepiece 4. Next, when the input power to the power supply 7 is turned on, the switch 8 is connected as shown by the solid line, and the current from the power supply 7 is the processor 1, ROM 2, keyboard 6,
It is also supplied to the RAM 3 and the clock 4. Processor 1
Reads the control program from the ROM 2 to operate, and FIG.
At Step 41 of the above, during the DC voltage holding period of the power supply 7, RA
Fixed data written to a specific address in M3,
The fixed data stored in the ROM 2 in advance is read, and both data are compared in Step 42 to determine whether they match. If it is determined that the two data match, the process proceeds to Step 45. If it is determined that they do not match, the processor 1 clears the RAM 3 in Step 43, then reads the fixed data from the ROM 2 and writes the fixed data in the RAM 3. Then, the clock 4 is cleared at Step 44, and the process proceeds to Step 45.

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0015[Correction target item name] 0015

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0015】[0015]

【作用】本請求項1に係る発明においては、装置電源が
断の期間中は、該装置に含まれるRAM及び時計に対し
て電池からバックアップ給電を行なう情報処理装置にお
いて、判別手段は前記装置が断になった時に、該電源の
電圧保持時間内に、前記RAMのバックアップ所要領域
内の全データについてのチェックサム算出処理が完了す
るか否かを判別する。チェックサム算出手段は前記装置
電源断時における、前記判別手段の判別結果が肯定の場
合には、前記RAMのバックアップ所要領域内の全デー
タについてのチェックサムを算出し、前記判別手段の判
別結果が否定の場合には、所定の乱数列データをチェッ
クアドレスとして、前記RAMのバックアップ所要領域
内のチェックアドレスに格納されたデータについてのチ
ェックサムを算出すると共に、その後前記装置電源が投
入された時に、前回と同一の算出法により再度チェック
サムを算出する。RAMデータチェック手段は、前記チ
ェックサム算出手段が電源断時に算出したチェックサム
を前記RAMのバックアップ所要領域内の特定アドレス
に記憶させ、その後前記装置電源が投入された時に、前
記チェックサム算出手段が再度算出したチェックサム
と、前記特定アドレスに記憶させたチェックサムとを比
較し、両データが不一致の場合にRAMエラー信号を発
生する。データクリア手段は前記RAMデータチェック
手段がRAMエラー信号を発生した場合に、前記RAM
及び時計のデータをクリアする。
According to the first aspect of the present invention, in the information processing device for performing backup power supply from the battery to the RAM and the timepiece included in the device while the device power is off, the determining means is the device. When the power is cut off, it is determined whether the checksum calculation process for all the data in the backup required area of the RAM is completed within the voltage holding time of the power supply. If the determination result of the determination means is positive when the device power is turned off, the checksum calculation means calculates the checksum for all data in the backup required area of the RAM, and the determination result of the determination means is In the case of negative, using a predetermined random number sequence data as a check address, a checksum for the data stored in the check address in the backup required area of the RAM is calculated, and then when the device power is turned on, The checksum is calculated again using the same calculation method as the previous one. The RAM data checking means stores the checksum calculated by the checksum calculating means when the power is turned off at a specific address in the backup required area of the RAM, and then the checksum calculating means is operated when the device power is turned on. The recalculated checksum is compared with the checksum stored at the specific address, and if the two data do not match, a RAM error signal is generated. The data clear means is provided for the RAM when the RAM data check means generates a RAM error signal.
And clear the clock data.

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0025[Name of item to be corrected] 0025

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0025】図1において、電源7への入力電源が投入
され、その出力直流電圧が規定値になると、無瞬断スイ
ッチ8は実線で示す如く接続され、電源7から電流がR
AM3と時計4に供給される。プロセッサ1はROM2
からプログラムを読出して動作し、図3のStep11
でバッテリアラーム検知回路をチェックし、バッテリア
ラーム信号が発生しているか否かを調べる。バッテリア
ラーム信号が発生していなければStep13に移り、
バッテリアラーム信号が発生していれば、Step12
でバッテリアラームフラグをONにする。次いで、St
ep13で図2の電源切断シーケンスにおいて、RAM
3のバックアップ全データのチェックサムを計算した
か、乱数列のアドレスデータのチェックサムを計算した
かに応じて同じ計算を繰り返しRAM3のチェックサム
を再び計算する。Step14で前記計算したチェツク
サムと図2のStep5でRAM3の特定アドレスに記
憶したデータとを比較し、一致しているかを判断する。
Step14での比較結果が一致すれば、Step16
に移り、比較結果が一致しなければ、Step15でプ
ロセッサ1はRAM3と時計4のデータをクリアすると
同時にRAM ERR(エラー)フラグをONし、St
ep16に移る。
In FIG. 1, when the input power supply to the power supply 7 is turned on and the output DC voltage reaches a specified value, the non-interruptible switch 8 is connected as shown by the solid line, and the current from the power supply 7 is R.
It is supplied to AM3 and clock 4. Processor 1 is ROM2
The program is read from and operates, and Step 11 in FIG.
Check the battery alarm detection circuit with to see if a battery alarm signal is generated. If no battery alarm signal is generated, move to Step 13,
If a battery alarm signal is generated, Step12
To turn on the battery alarm flag. Then St
In ep13, in the power off sequence of FIG. 2, RAM
The same calculation is repeated depending on whether the checksum of all the backup data of 3 or the checksum of the address data of the random number sequence is calculated, and the checksum of the RAM 3 is calculated again. At Step 14, the calculated checksum is compared with the data stored at the specific address of the RAM 3 at Step 5 of FIG. 2 and it is determined whether they match.
If the comparison results in Step 14 match, Step 16
If the comparison result does not match, the processor 1 clears the data of the RAM 3 and the clock 4 at the same time as the RAM ERR (error) flag is turned on in Step 15, and St is set.
Move to ep16.

【手続補正5】[Procedure Amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0032[Name of item to be corrected] 0032

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0032】図6を参照し、図5の動作を説明する。図
5において、装置の電源7への入力電源が切断され、電
源7の直流電圧保持時間を過ぎると、2連スイッチ8A
は点線で示す如く長寿命の1次電池9A及び2次電池9
B側に接続され、2次電池9Bの電流がRAM3に供給
される(以後放電と云う)。この放電により2次電池9
Bの内部に化学変化を生じ、内部のエネルギー容量は減
少する。次に電源7への入力電源が投入され、その出力
直流電圧が規定値になると、2連スイッチ8Aは実線で
示す如く接続され電源7から電流がRAM3とRAM内
蔵時計4Aに供給されると同時に、充電回路17を介し
て2次電池9Bに充電される。2次電池9Bの充電に必
要な時間Tmは、 Tm=電源断時間×放電電流÷充電電流 であり、プロセッサ1はRAM内蔵時計4Aを利用して
この時間Tmを計算し、この充電所要時間が過ぎるまで
操作表示装置13の表示部にその旨を警告する。電源断
の間の放電電流が大きい場合、2次電池9B内のエネル
ギーがほとんど消費されてしまう場合もあるので、この
場合に電池が2次電池9Bの1個であると、上記計算が
実施できない。このため図5の実施例2においては、バ
ックアップ電流の小さいRAM内蔵時計4Aをバックア
ップする長寿命の1次電池9Aと、システムによっては
バックアップ電流が大きくなるRAM3をバックアップ
する2次電池9Bの2個を設けるようにしている。なお
電源切断時の時刻データのバックアップはRAM3では
なくRAM内蔵時計4A内部のRAMとしている。
The operation of FIG. 5 will be described with reference to FIG. In FIG. 5, when the input power to the power supply 7 of the device is cut off and the DC voltage holding time of the power supply 7 is exceeded, the double switch 8A
Is a long-life primary battery 9A and secondary battery 9 as shown by the dotted line.
It is connected to the B side and the current of the secondary battery 9B is supplied to the RAM 3 (hereinafter referred to as discharging). By this discharge, the secondary battery 9
A chemical change occurs inside B, and the internal energy capacity decreases. Next, when the input power supply to the power supply 7 is turned on and the output DC voltage becomes a specified value, the double switch 8A is connected as shown by the solid line and current is supplied from the power supply 7 to the RAM 3 and the RAM built-in clock 4A. , The secondary battery 9B is charged via the charging circuit 17. The time Tm required to charge the secondary battery 9B is Tm = power-off time × discharge current ÷ charge current, and the processor 1 calculates this time Tm using the RAM built-in clock 4A, and this charge required time Until that time, the display unit of the operation display device 13 is warned to that effect. If the discharge current during power-off is large, the energy in the secondary battery 9B may be almost consumed. In this case, if the battery is one of the secondary batteries 9B, the above calculation cannot be performed. .. Therefore, in the second embodiment of FIG. 5, a long-life primary battery 9A that backs up the RAM built-in clock 4A having a small backup current and a secondary battery 9B that backs up the RAM 3 that has a large backup current depending on the system are used. Is provided. The backup of the time data when the power is turned off is not the RAM 3 but the RAM inside the RAM built-in clock 4A.

【手続補正6】[Procedure Amendment 6]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0033[Correction target item name] 0033

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0033】また、電源切断の状態で長期間放置された
ような場合、次に電源を投入するとバッテリアラーム検
知回路10が作動するので、この場合にプロセッサ1は
RAM内蔵時計4Aより現在時刻を読み出しEEPRO
M14に書き込む。なおRAM内蔵時計4AのRAM容
量が十分有る場合は、このRAMに書き込んでも構わな
い。そして、図6に示す如く情報処理装置の納入時より
現在に至るまでのバッテリアラームの履歴を納入日より
の日数を横軸に、バッテリアラーム累計を縦軸にプロッ
トしたグラフを操作表示装置13の表示部に表示する。
更に、プロセッサ1は、このグラフを利用して、バッテ
リアラームの累計回数が一定回数に到達したり、グラフ
の傾きが一定傾斜角を越えたら、操作表示装置13のC
RT画面に例えば「電池を交換せよ」等の電池交換指令
を表示する。尚、バッテリアラームが発生した後、所定
の充電時間の充電をせずに電源を断した場合、この累計
回数が必要以上に多くなり、またグラフの傾きも誤った
ものになるため、例えば横軸に不感帯を備け短時間に続
けて起ったバッテリアラームは累計しない等のソフトウ
ェア上の考慮をするものとする。
When the power is turned off and the battery is left for a long time, the battery alarm detection circuit 10 is activated when the power is next turned on. In this case, the processor 1 reads the current time from the RAM built-in clock 4A. EEPRO
Write to M14. If the RAM built-in clock 4A has sufficient RAM capacity, it may be written in this RAM. Then, as shown in FIG. 6, a graph in which the history of battery alarms from the time of delivery of the information processing apparatus to the present is plotted on the horizontal axis of the number of days from the delivery date and the vertical axis of the cumulative total of battery alarms is displayed on the operation display device 13. Display on the display.
Further, the processor 1 uses this graph to display C of the operation display device 13 when the cumulative number of battery alarms reaches a certain number or the inclination of the graph exceeds a certain inclination angle.
A battery replacement command such as "replace batteries" is displayed on the RT screen. If the power is turned off without charging for a predetermined charging time after a battery alarm occurs, the cumulative count will be unnecessarily large and the slope of the graph will be incorrect. The dead zone is provided and the battery alarms that occur consecutively in a short time are not accumulated.

【手続補正7】[Procedure Amendment 7]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図7[Name of item to be corrected] Figure 7

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図7】 [Figure 7]

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 装置電源が断の期間中は、該装置に含ま
れるRAM及び時計に対して電池からバックアップ給電
を行なう情報処理装置において、 前記装置電源が断になった時に、該電源の電圧保持時間
内に、前記RAMのバックアップ所要領域内の全データ
についてチェックサム算出処理が完了する否かを判別す
る判別手段と、 前記装置電源断時における、前記判別手段の判別結果が
肯定の場合には、前記RAMのバックアップ所要領域内
の全データについてのチェックサムを算出し、前記判別
手段の判別結果が否定の場合には、所定の乱数列データ
をチェックアドレスとして、前記RAMのバックアップ
所要領域内のチェックアドレスに格納されたデータにつ
いてのチェックサムを算出すると共に、その後前記装置
電源が投入された時に、前回と同一の算出法により再度
チェックサムを算出するチェックサム算出手段と、 該チェックサム算出手段が電源断時に算出したチェック
サムを前記RAMのバックアップ所要領域内の特定アド
レスに記憶させ、その後前記装置電源が投入された時
に、前記チェックサム算出手段が再度算出したチェック
サムと、前記特定アドレスに記憶させたチェックサムと
を比較し、両データが不一致の場合にRAMエラー信号
を発生するRAMデータチェック手段と、 該RAMデータチェック手段がRAMエラー信号を発生
した場合に、前記RAM及び時計のデータをクリアする
データクリア手段とを備えたことを特徴とする情報処理
装置。
1. An information processing apparatus, wherein backup power is supplied from a battery to a RAM and a clock included in the device during the period when the device power is off, when the device power is off A determination means for determining whether or not the checksum calculation processing is completed for all the data in the backup required area of the RAM within the holding time; and a determination result of the determination means when the device power is off, when the determination result is affirmative. Calculates a checksum for all the data in the backup required area of the RAM, and when the determination result of the determination means is negative, a predetermined random number sequence data is used as a check address in the backup required area of the RAM. While calculating the checksum for the data stored in the check address of, when the device power is turned on thereafter, Checksum calculation means for calculating the checksum again by the same calculation method as that of the first time, and the checksum calculated by the checksum calculation means at the time of power-off is stored in a specific address in the backup required area of the RAM, and then the device When the power is turned on, the checksum calculated by the checksum calculation means is compared with the checksum stored in the specific address, and a RAM error signal is generated when the two data do not match each other. An information processing apparatus comprising: means and a data clear means for clearing the data of the RAM and the clock when the RAM data check means generates a RAM error signal.
【請求項2】 装置電源が断の期間中は、該装置に含ま
れるRAM及び時計に対して電池からバックアップ給電
を行なう情報処理装置において、 前記電池の電圧が所定値以下に低下したことを検知して
バッテリアラーム信号を発生するバッテリアラーム検知
回路と、 前記装置電源が断になった時に、該電源の電圧保持時間
内に、前記RAMのバックアップ所要領域内の全データ
についてのチェックサム算出処理が完了するか否かを判
別する判別手段と、 前記装置電源断時における、前記判別手段の判別結果が
肯定の場合には、前記RAMのバックアップ所要領域内
の全データについてのチェックサムを算出し、前記判別
手段の判別結果が否定の場合には、所定の乱数列データ
をチェックアドレスとして、前記RAMのバックアップ
所要領域内のチェックアドレスに格納されたデータにつ
いてのチェックサムを算出すると共に、その後前記装置
電源が投入された時に、前回と同一の算出法により再度
チェックサムを算出するチェックサム算出手段と、 該チェックサム算出手段が電源断時に算出したチェック
サムを前記RAMのバックアップ所要領域内の特定アド
レスに記憶させ、その後前記装置電源が投入された時
に、前記チェックサム算出手段が再度算出したチェック
サムと、前記特定アドレスに記憶させたチェックサムと
を比較し、両データが不一致の場合にRAMエラー信号
を出力するRAMデータチェック手段と、 前記バッテリアラーム検知回路からのバッテリアラーム
信号、もくしは前記RAMデータチェック手段からのR
AMエラー信号、または前記バッテリアラーム信号及び
RAMエラー信号の両方が発生した場合に、前記2つの
信号の発生状況にそれぞれ対応する処理方法の指示を操
作表示手段を介して作業者に表示するアラーム及びエラ
ー処理指示手段とを備えたことを特徴とする情報処理装
置。
2. An information processing device, wherein backup power is supplied from a battery to a RAM and a clock included in the device while the device power is off, detects that the voltage of the battery drops below a predetermined value. And a battery alarm detection circuit for generating a battery alarm signal, and a checksum calculation process for all the data in the backup required area of the RAM within the voltage holding time of the power supply when the device power supply is cut off. Determining means for determining whether or not to complete, and when the determination result of the determining means is positive when the device power is turned off, a checksum is calculated for all data in the backup required area of the RAM, If the determination result of the determination means is negative, a predetermined random number sequence data is used as a check address in the backup required area of the RAM. Checksum calculation means for calculating the checksum for the data stored in the check address, and for calculating the checksum again by the same calculation method as the previous time when the device power is turned on. The checksum calculated by the means when the power is turned off is stored in a specific address in the backup required area of the RAM, and when the device is powered on thereafter, the checksum calculated again by the checksum calculating means and the specific address The RAM data check means for comparing the checksum stored in the above and a RAM error signal when both data do not match, the battery alarm signal from the battery alarm detection circuit, and the RAM data check means from the RAM data check means. R
When both the AM error signal or both the battery alarm signal and the RAM error signal are generated, an alarm for displaying a processing method instruction corresponding to the generation status of the two signals to the operator via the operation display means, and An information processing apparatus comprising: error processing instruction means.
【請求項3】 前記時計のデータを用いて装置の納入時
より現在にいたるまでの装置電源投入中の電池充電時間
及び装置電源断中の電池放電時間をそれぞれ算出し、該
充電時間及び放電時間にそれぞれ所定係数を乗算した積
を加算して電池の稼働時間を算出し、該稼働時間が電池
の寿命を越えた場合に、前記操作表示手段を介して電池
寿命の警告指示を作業者に表示する電池寿命警告手段を
付加したことを特徴とする請求項2記載の情報処理装
置。
3. The battery charge time during power-on of the device and the battery discharge time during power-off of the device from the time of delivery of the device to the present time are calculated using the data of the clock, and the charge time and discharge time are calculated. To calculate the operating time of the battery, and when the operating time exceeds the life of the battery, display a battery life warning instruction to the operator via the operation display means. 3. The information processing apparatus according to claim 2, further comprising a battery life warning unit that operates.
【請求項4】 電池寿命の温度依存性に鑑み、電池周囲
の温度を検出する温度センサと、該温度センサの検出信
号を量子化するA/D変換器とを含み、前記時計のデー
タを用いて装置の納入時より現在にいたるまでの装置電
源投入中の電池充電時間及び装置電源断中の電池放電時
間をそれぞれ算出し、該充電時間及び放電時間にそれぞ
れ乗算する所定係数を前記A/D変換器の出力データに
より補正し、該補正後の所定係数を前記充電時間及び放
電時間にそれぞれ乗算した積を加算して電池の稼働時間
を算出し、該稼働時間が電池の寿命を越えた場合に、前
記操作表示手段を介して電池寿命の警告指示を作業者に
表示する温度補正付電池寿命警告手段を付加したことを
特徴とする請求項2記載の情報処理装置。
4. In view of temperature dependence of battery life, a temperature sensor for detecting a temperature around a battery and an A / D converter for quantizing a detection signal of the temperature sensor are used, and data of the timepiece is used. The battery charging time during power-on of the device and the battery discharge time during power-off of the device from the time of delivery of the device to the present time are respectively calculated, and a predetermined coefficient for multiplying the charging time and the discharging time by the A / D When the operating time of the battery is calculated by adding the products obtained by multiplying the charging time and the discharging time by the corrected predetermined coefficient by the output data of the converter and then adding the products, and the operating time exceeds the life of the battery. The information processing apparatus according to claim 2, further comprising temperature-corrected battery life warning means for displaying a battery life warning instruction to an operator via the operation display means.
【請求項5】 装置電源が断の期間中は、該装置に含ま
れるRAMに対しては2次電池により、またRAM内蔵
時計に対しては長寿命の1次電池によりそれぞれ給電を
行なう情報処理装置において、 前記2次電池の電圧が所定値以下に低下したことを検知
してバッテリアラーム信号を発生するバッテリアラーム
検知回路と、 前記装置電源が断になった時に、該電源の電圧保持時間
内に、前記RAMのバックアップ所要領域内の全データ
についてのチェックサム算出処理が完了するか否かを判
別する判別手段と、 前記装置電源断時における、前記判別手段の判別結果が
肯定の場合には、前記RAMのバックアップ所要領域内
の全データについてのチェックサムを算出し、前記判別
手段の判別結果が否定の場合には、所定の乱数列データ
をチェックアドレスとして、前記RAMのバックアップ
所要領域内のチェックアドレスに格納されたデータにつ
いてのチェックサムを算出すると共に、その後前記装置
電源が投入された時に、前回と同一の算出法により再度
チェックサムを算出するチェックサム算出手段と、 該チェックサム算出手段が電源断時に算出したチェック
サムを前記RAMのバックアップ所要領域内の特定アド
レスに記憶させ、その後前記装置電源が投入された時
に、前記チェックサム算出手段が再度算出したチェック
サムと、前記特定アドレスに記憶させたチェックサムと
を比較し、両データが不一致の場合にRAMエラー信号
を発生するRAMデータチェック手段と、 前記バッテリアラーム検知回路からのバッテリアラーム
信号、もくしは前記RAMデータチェック手段からのR
AMエラー信号、または前記バッテリアラーム信号及び
RAMエラー信号の両方が発生した場合に、前記2つの
信号の発生状況にそれぞれ対応する処理方法の指示を操
作表示手段を介して作業者に表示するアラーム及びエラ
ー処理指示手段と、 前記装置電源断の時間を前記RAM内蔵時計から算出
し、次に前記装置電源が投入された時に、前記2次電池
の充電所要時間を算出し、該算出した充電所要時間が経
過するまで、前記操作表示手段を介して充電所要警告を
作業者に表示する充電所要警告手段とを備えたことを特
徴とする情報処理装置。
5. Information processing for supplying power to a RAM included in the device by a secondary battery and to a RAM built-in clock by a long-life primary battery while the device power is off. In a device, a battery alarm detection circuit that detects that the voltage of the secondary battery has dropped to a predetermined value or less and generates a battery alarm signal; and a voltage holding time of the power supply when the device power is cut off. In the case where the determination result of the determination means at the time of power-off of the device is affirmative, the determination means determines whether or not the checksum calculation processing for all the data in the backup required area of the RAM is completed. , A checksum is calculated for all data in the backup required area of the RAM, and if the determination result of the determination means is negative, the predetermined random number sequence data is checked. A checksum for the data stored in the check address in the backup required area of the RAM is calculated as the master address, and when the device power is turned on, the checksum is calculated again by the same calculation method as the previous time. Checksum calculating means for storing the checksum calculated by the checksum calculating means at the time of power-off at a specific address in the backup required area of the RAM, and then the checksum calculating means when the device power is turned on. RAM data check means for comparing the checksum calculated again by the checksum stored in the specific address and generating a RAM error signal when the two data do not match, and a battery alarm from the battery alarm detection circuit. Signals and combs are used to check the RAM data R from
When both the AM error signal or both the battery alarm signal and the RAM error signal are generated, an alarm for displaying a processing method instruction corresponding to the generation status of the two signals to the operator via the operation display means, and Error processing instructing means and the device power-off time are calculated from the RAM built-in clock, and when the device power is next turned on, the rechargeable battery charging time is calculated, and the calculated charging time is calculated. And a charging requirement warning means for displaying a charging requirement warning to the operator via the operation display means until the time elapses.
【請求項6】 前記バッテリアラーム検知回路の発生す
るバッテリアラーム信号を逐次記憶させるEEPROM
を含み、装置の納入時より現在にいたるまで前記EEP
ROMに記憶したバッテリアラーム信号の履歴を、横軸
を前記納入時よりの時間とし、縦軸を前記バッテリアラ
ーム信号の累計としたグラフにより、前記操作表示手段
を介して作業者に表示するバッテリアラーム履歴表示手
段と、 前記RAM内蔵時計のデータを用いて装置の納入時より
現在にいたるまでの装置電源投入中の2次電池充電時間
及び装置電源断中の2次電池放電時間をそれぞれ算出
し、該充電時間及び放電時間にそれぞれ所定係数を乗算
した積を加算して2次電池の稼働時間を算出し、該稼働
時間が2次電池の寿命を越えた場合に、前記操作表示手
段を介して電池寿命の警告指示を作業者に表示する2次
電池寿命警告手段とを付加したことを特徴とする請求項
5記載の情報処理装置。
6. An EEPROM for sequentially storing a battery alarm signal generated by the battery alarm detection circuit.
Including the above, the EEP from the time of delivery of the device to the present
A battery alarm displayed on the history display of the battery alarm signal stored in the ROM via the operation display means to the operator by a graph in which the horizontal axis represents the time from the time of delivery and the vertical axis represents the cumulative total of the battery alarm signals. The history display means and the data of the RAM built-in clock are used to calculate the secondary battery charging time during power-on of the device and the secondary battery discharging time during power-off of the device from the time of delivery of the device to the present time, A product obtained by multiplying the charge time and the discharge time by a predetermined coefficient is added to calculate the operating time of the secondary battery, and when the operating time exceeds the life of the secondary battery, the operation display means is used. The information processing apparatus according to claim 5, further comprising secondary battery life warning means for displaying a battery life warning instruction to an operator.
【請求項7】 前記バッテリアラーム履歴表示手段は、
前記EEPROMに記憶されたバッテリアラーム信号の
累計が、あらかじめ設定した所定数に到達した場合、ま
たは前記時間に対するバッテリアラーム信号の累計グラ
フの傾きが一定傾斜角を越えた場合に、電池の交換指令
を前記操作表示手段を介して作業者に表示する電池交換
指令手段を含むことを特徴とする請求項6記載の情報処
理装置。
7. The battery alarm history display means,
When the cumulative total of the battery alarm signals stored in the EEPROM reaches a preset number, or when the slope of the cumulative graph of the battery alarm signals with respect to the time exceeds a certain tilt angle, a battery replacement command is issued. The information processing apparatus according to claim 6, further comprising a battery replacement commanding unit that is displayed to an operator via the operation display unit.
【請求項8】 前記チェックサム算出手段は、あらかじ
め所定の乱数列データを記憶するROM、または乱数列
データを計算により算出するプロセッサにより構成され
る乱数列データ発生手段を含むことを特徴とする請求項
1乃至請求項7いずれかに記載の情報処理装置。
8. The checksum calculation means includes random number sequence data generation means configured by a ROM that stores predetermined random number sequence data in advance, or a processor that calculates the random number sequence data by calculation. The information processing apparatus according to any one of claims 1 to 7.
JP4096663A 1992-04-16 1992-04-16 Information processing device Expired - Lifetime JP2741451B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4096663A JP2741451B2 (en) 1992-04-16 1992-04-16 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4096663A JP2741451B2 (en) 1992-04-16 1992-04-16 Information processing device

Publications (2)

Publication Number Publication Date
JPH05298195A true JPH05298195A (en) 1993-11-12
JP2741451B2 JP2741451B2 (en) 1998-04-15

Family

ID=14171062

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4096663A Expired - Lifetime JP2741451B2 (en) 1992-04-16 1992-04-16 Information processing device

Country Status (1)

Country Link
JP (1) JP2741451B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2009047875A1 (en) * 2007-10-09 2011-02-17 三菱電機株式会社 Microcomputer control device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2009047875A1 (en) * 2007-10-09 2011-02-17 三菱電機株式会社 Microcomputer control device

Also Published As

Publication number Publication date
JP2741451B2 (en) 1998-04-15

Similar Documents

Publication Publication Date Title
JP4739040B2 (en) Secondary battery internal short-circuit detection device, secondary battery internal short-circuit detection method, secondary battery pack and electronic device
US6236226B1 (en) Test method and system for uninterruptible power supply
JP5036148B2 (en) Secondary battery pack
US10673262B2 (en) Electric device having function of informing battery residual capacity
JPH05298195A (en) Information processor
JPH1069925A (en) Communicating method, residual and total capacity calculating method, method for protection against overcharge, information displaying method, and battery pack
JPH01278240A (en) Uninterruptible power source for apparatus for manufacture of semiconductor
JP4679225B2 (en) Fire alarm and smoke sensor replacement time calculation method
CN114035026A (en) Micro control unit chip for battery management system and chip abnormity detection method
JP2807793B2 (en) Power system
JPH06348535A (en) Abnormality generation history storage device
JPS5991525A (en) Controlling method of backup power supply of volatile memory
TW583810B (en) Method of using voltage-drop rate to measure battery in UPS system
JPH0742201Y2 (en) Electronics
JP5729206B2 (en) Mobile device
JPH0760661A (en) Robot system
US20030146027A1 (en) Residual power indicator for a storage battery of an electric-powered vehicle
JP3250898B2 (en) Numerical controller with data recovery function
JPS5838432Y2 (en) Memory power supply
JP2592996Y2 (en) Battery voltage warning display
JPH02159932A (en) Battery maintenance system
JP5688337B2 (en) Battery life check device
KR950002105Y1 (en) Change time alarm circuit of back-up battery
JPH03223916A (en) Spare power unit, spare power supplying method, electronic equipment, and information processing system
KR0136864Y1 (en) Memory backup device