JPH03131738A - Monitoring device for electric car - Google Patents

Monitoring device for electric car

Info

Publication number
JPH03131738A
JPH03131738A JP1268961A JP26896189A JPH03131738A JP H03131738 A JPH03131738 A JP H03131738A JP 1268961 A JP1268961 A JP 1268961A JP 26896189 A JP26896189 A JP 26896189A JP H03131738 A JPH03131738 A JP H03131738A
Authority
JP
Japan
Prior art keywords
ram
constant
memory
read
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1268961A
Other languages
Japanese (ja)
Inventor
Hiroyuki Kurihara
栗原 裕之
Ken Ito
謙 伊藤
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.)
Hitachi Ltd
Hitachi Plant Technologies Ltd
Original Assignee
Hitachi Techno Engineering Co Ltd
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Techno Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Techno Engineering Co Ltd
Priority to JP1268961A priority Critical patent/JPH03131738A/en
Publication of JPH03131738A publication Critical patent/JPH03131738A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To improve performance by moving a trigger condition and the constant of a sampling cycle from a ROM to a battery-backup write and readout enabled memory(B-RAM). CONSTITUTION:In the ROM 3, a control program is stored in an area A and the trigger condition and the constant of the sampling cycle are stored in an area B. The area A of a B-RAM 4 is for stacking and working and the area B thereof is for storing the constant. At the time of turning on the power source of a microcomputer, a CPU 1 retrieves the presence or absence the constant in the RAM 4. When the constant does not exist, the constant in the area B of the ROM 3 is moved to the area B of the RAM 4, then the constant is initialized on the B-RAM 4. Thus, the microcomputer successively writes information from an input device 2 on the RAM 14 according to the control program on the ROM 3 and the sampling cycle of the constant on the RAM 4. By completing the write of the input information and recording the information when the trigger condition of the constant on the RAM 4 holds, the monitoring performance is improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は電気車用モニタ装置に係り、特に、故障時の前
後の制御状態を記録する装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a monitoring device for an electric vehicle, and particularly to a device for recording control states before and after a failure.

〔従来の技術〕[Conventional technology]

従来方式は、特願昭60−248873号に記載のよう
に5トリガ条件やサンプリング周期は、あらかじめ定め
られていて、たとえば読出専用メモリ(以下ROMと略
す)上等に格納されていたため、変更するのに大変手間
がかかつていた。
In the conventional method, as described in Japanese Patent Application No. 60-248873, the trigger conditions and sampling period were predetermined and stored, for example, in a read-only memory (hereinafter abbreviated as ROM), so it is necessary to change them. It was very time consuming.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術は、トリガ条件やサンプリング周期の簡易
変更方法について配慮がされておらず。
The above-mentioned conventional technology does not give consideration to a simple method of changing the trigger condition or the sampling period.

例えばトリガ条件を変更して別の種類の故障情報を記録
したいという場合には、それに合うメモリ内容を持つR
OMを新たに作成し、そのたびに旧ROMと交換しなけ
ればならないなど大変手間がかかるという問題があった
For example, if you want to change the trigger condition and record another type of failure information, you can use R with memory contents that match that.
There was a problem in that it was very time consuming to create a new OM and replace it with the old ROM each time.

本発明の目的は、トリガ条件とサンプリング周期の定数
をROMの変更をせず、オンラインでできるようにする
ことにある。
An object of the present invention is to enable trigger conditions and sampling period constants to be set online without changing the ROM.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的は、ROMに格納されているトリガ条件とサン
プリング周期の定数をあらかじめ定められた手段でバッ
テリーバックアップ付書込読出可メモリ(以下B−RA
Mと略す)に移動させることにより達成される。
The above purpose is to use a battery-backed read/write memory (hereinafter referred to as B-RA) by using a predetermined means to set the trigger conditions and sampling period constants stored in the ROM.
(abbreviated as M).

〔作用〕[Effect]

ROM上のトリガ条件やサンプリング周期の定数は送受
信回路を介して外部ターミナルにより直接変更できるこ
とになる。またその定数はB−RAM上に書込まれるた
め、電源をオン・オフしても消失されない。
The trigger conditions and sampling period constants on the ROM can be directly changed by an external terminal via the transmitter/receiver circuit. Furthermore, since the constant is written on the B-RAM, it is not lost even when the power is turned on and off.

ROM内の制御プログラムとB−RAM上の定数により
、マイクロコンピュータは動作するので、容易に変更後
の性能を得ることができる。
Since the microcomputer is operated by the control program in the ROM and the constants in the B-RAM, it is possible to easily obtain changed performance.

〔実施例〕〔Example〕

以下、本発明の一実施例を第1図ないし第3図により説
明する。
An embodiment of the present invention will be described below with reference to FIGS. 1 to 3.

第1図は、マイクロコンピュータ(以下マイコンと略す
)のハードウェア簡略ブロック図である。
FIG. 1 is a simplified hardware block diagram of a microcomputer (hereinafter abbreviated as microcomputer).

1は中央処理装置(以下CPUと略す)、2は制御情報
及び故障情報の入力装置(以下入力装置と略す)、3は
ROM、4はB−RAM、5は非同期送受信回路(以下
ACiAと略す)、6はR5232Cケーブル、そして
7は外部ターミナルである。
1 is a central processing unit (hereinafter abbreviated as CPU), 2 is an input device for control information and failure information (hereinafter abbreviated as input device), 3 is ROM, 4 is B-RAM, and 5 is an asynchronous transmitting/receiving circuit (hereinafter abbreviated as ACiA). ), 6 is an R5232C cable, and 7 is an external terminal.

ROM内には制御プログラムがエリアAに、トリガ条件
とサンプリング周期の定数がエリアBに格納されている
。またB−RAM4はエリアAがスタックやワーキング
用であり、エリアBは定数用である。
In the ROM, a control program is stored in area A, and trigger conditions and sampling cycle constants are stored in area B. Further, in the B-RAM 4, area A is used for stacking and working, and area B is used for constants.

マイコンの電源投入時、CPUIはB−RAM上に定数
があるかどうかを検索し、定数がない場合、ROM3内
のエリアBにある定数をB−RAM4内エリアBに移動
させる。こうすることにより、B−RAM上に定数が初
期設定される。こうしてマイコンはROM上にある制御
プログラムとB−RAM上にある定数のサンプリング周
期で、入力装置2から取り込んだ情報をB−RAM4に
順次書込み、B−RAM上にある定数のトリガ条件が成
立した時、入力情報の書込みを終了し、情報を記録する
ことになる。
When the microcomputer is powered on, the CPU searches B-RAM to see if there is a constant, and if there is no constant, moves the constant in area B in ROM3 to area B in B-RAM4. By doing this, constants are initialized on the B-RAM. In this way, the microcomputer sequentially writes the information taken in from the input device 2 to B-RAM4 at the sampling period of the control program on the ROM and the constant on the B-RAM, and the trigger condition of the constant on the B-RAM is satisfied. At this point, writing of the input information is finished and the information is recorded.

第2図は、トリガ条件とサンプリング周期の定数を変更
する場合のデータの流れを示す。
FIG. 2 shows the data flow when changing the trigger conditions and sampling period constants.

外部ターミナル7をACiA5に接続することにより、
B−RAM上のエリアB上にある定数を直接書き替える
ことができる。定数はB −RA M上のものを用いる
様に設定されているので、その後定数としては変更後の
ものが用いられるため、ROM上の制御プログラムとB
−RAM上にある変更後のトリガ条件とサンプリング周
期で情報の記録をすることになる。
By connecting external terminal 7 to ACiA5,
Constants in area B on B-RAM can be directly rewritten. Since the constants are set to use those on B-RAM, the changed constants will be used afterwards, so the control program on ROM and the one on B-RAM will be used.
- Information will be recorded using the changed trigger conditions and sampling period on the RAM.

また、B−RAM4は電源をオン、オフしても内部に電
源をもっているので、データを消失しない特徴がある。
Furthermore, since the B-RAM 4 has an internal power supply even when the power is turned on and off, data is not lost.

このため、変更後のデータが保持されることになるので
、電源をオフしても、変更後のトリガ条件とサンプリン
グ周期で情報の記録をすることになる。
Therefore, the changed data will be retained, so even if the power is turned off, information will be recorded using the changed trigger conditions and sampling period.

第3図は、電源オン時の簡略ソフトフローチャートであ
り上述した通りである。
FIG. 3 is a simplified software flowchart when the power is turned on, as described above.

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

本発明によれば、ROMを交換せずにトリガ条件やサン
プリング周期の定数を変更できるので、故障の種類に応
じて必要な情報を記録することが容易にでき、モニタ装
置の性能が向上する効果がある。
According to the present invention, since the trigger conditions and sampling period constants can be changed without replacing the ROM, necessary information can be easily recorded depending on the type of failure, and the performance of the monitoring device is improved. There is.

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

第1図は本発明の一実施例を示すマイコンのブロック図
、第2図は外部とのデータ交信を示すブロック図、第3
図は簡略ソフトフローチャートである。 1・・・中央処理装置、3・・・読出し専用メモリ、4
・・バッテリーバックアップ付書込読出可メモリ、5第 図
Fig. 1 is a block diagram of a microcomputer showing an embodiment of the present invention, Fig. 2 is a block diagram showing data communication with the outside, and Fig. 3 is a block diagram showing data communication with the outside.
The figure is a simplified software flowchart. 1...Central processing unit, 3...Read-only memory, 4
・Writable and readable memory with battery backup, Figure 5

Claims (1)

【特許請求の範囲】 1、電気車の制御情報や故障情報を入力する装置と、中
央処理装置と、その指令のもとにデータの読出しと書込
みを可能としたバッテリーバックアップ付書込読出可メ
モリ、及びその中央処理装置の処理内容で、あるサンプ
リング周期で入力した情報を前記バッテリーバックアッ
プ付書込読出可メモリに順次書込みを行い、あらかじめ
定められたトリガ条件により情報の書込みを停止するこ
とにより、入力情報を前記バッテリーバックアップ付書
込読出可メモリに記録させる機能を有した制御プログラ
ム、トリガ条件とサンプリング周期を定める定数から成
る記憶データと、その記憶データの読出しを専用とした
読出し専用メモリ、前記バッテリーバックアップ付書込
読出可メモリと外部ターミナル間でメモリデータの送受
信を行う送受信回路、及びその外部ターミナルを設けた
ことから成る電気車用モニタ装置において、 前記読出し専用メモリに記憶されている前記トリガ条件
とサンプリング周期の定数を、あらかじめ定められた手
順で前記バッテリーバックアップ付書込読出可メモリに
転送し、前記送受信回路を介して前記外部ターミナルに
より、その定数を直接書き替えられるようにしたことを
特徴とする電気車用モニタ装置。
[Scope of Claims] 1. A device for inputting control information and failure information of an electric vehicle, a central processing unit, and a readable/writeable memory with battery backup capable of reading and writing data based on the instructions thereof. , and the processing content of its central processing unit, by sequentially writing the information input at a certain sampling period into the battery-backed read/write memory, and stopping the writing of the information according to a predetermined trigger condition, A control program having a function of recording input information in the battery-backed writable/readable memory, memorized data consisting of constants determining trigger conditions and sampling periods, and a read-only memory dedicated for reading the memorized data; In an electric vehicle monitoring device comprising a transmitting/receiving circuit that transmits and receives memory data between a read/write memory with battery backup and an external terminal, and an external terminal thereof, the trigger stored in the read-only memory Conditions and sampling period constants are transferred to the battery-backed read/write memory in a predetermined procedure, and the constants can be directly rewritten by the external terminal via the transmitting/receiving circuit. Features of a monitor device for electric vehicles.
JP1268961A 1989-10-18 1989-10-18 Monitoring device for electric car Pending JPH03131738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1268961A JPH03131738A (en) 1989-10-18 1989-10-18 Monitoring device for electric car

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1268961A JPH03131738A (en) 1989-10-18 1989-10-18 Monitoring device for electric car

Publications (1)

Publication Number Publication Date
JPH03131738A true JPH03131738A (en) 1991-06-05

Family

ID=17465705

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1268961A Pending JPH03131738A (en) 1989-10-18 1989-10-18 Monitoring device for electric car

Country Status (1)

Country Link
JP (1) JPH03131738A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9282796B2 (en) 2010-05-19 2016-03-15 Johnson & Johnson Vision Care, Inc. UV radiation control for disinfecting of ophthalmic lenses
US9789220B2 (en) 2010-05-19 2017-10-17 Johnson & Johnson Vision Care, Inc Ophthalmic lens disinfecting base
US9795704B2 (en) 2010-05-19 2017-10-24 Johnson & Johnson Vision Care, Inc Ophthalmic lens disinfecting base

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9282796B2 (en) 2010-05-19 2016-03-15 Johnson & Johnson Vision Care, Inc. UV radiation control for disinfecting of ophthalmic lenses
US9789220B2 (en) 2010-05-19 2017-10-17 Johnson & Johnson Vision Care, Inc Ophthalmic lens disinfecting base
US9795704B2 (en) 2010-05-19 2017-10-24 Johnson & Johnson Vision Care, Inc Ophthalmic lens disinfecting base
US9872933B2 (en) 2010-05-19 2018-01-23 Johnson & Johnson Vision Care, Inc. Light emitting diode disinfection base for ophthalmic lenses

Similar Documents

Publication Publication Date Title
JP3801088B2 (en) Vehicle communication device
JPH03131738A (en) Monitoring device for electric car
JPH06261408A (en) Monitor
JPS5848932B2 (en) Memory expansion method
JP2500714Y2 (en) Recording device for digital operation data
JP2528212Y2 (en) Operation recording device
JPH04105110A (en) Power controller
JPH0397706U (en)
JPS60160447A (en) Programmable controller
JPS6324501Y2 (en)
JP2528209Y2 (en) Operation recording device
JPH064898U (en) Operation recording device
JPH0772043A (en) Vehicle managing system
JP2527281Y2 (en) PROM programmer controller
JPS6269346A (en) Program setting method for input and output controller
JPH0474307U (en)
JPH03246640A (en) Data sampling system
JPH09325900A (en) Program-execution trace device
JPS62123549A (en) Data storing system
JPH05241640A (en) Numerical controller
JPS61161558A (en) Electronic computer
JPH0335335A (en) Storage device
JPS62272815A (en) Digital protective relay
JPH0484233A (en) Recording system for program operation conditions
JPH0334106U (en)