JP2587078Y2 - RAM data guarantee device - Google Patents

RAM data guarantee device

Info

Publication number
JP2587078Y2
JP2587078Y2 JP1991059670U JP5967091U JP2587078Y2 JP 2587078 Y2 JP2587078 Y2 JP 2587078Y2 JP 1991059670 U JP1991059670 U JP 1991059670U JP 5967091 U JP5967091 U JP 5967091U JP 2587078 Y2 JP2587078 Y2 JP 2587078Y2
Authority
JP
Japan
Prior art keywords
ram
data
cpu
power supply
flip
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.)
Expired - Fee Related
Application number
JP1991059670U
Other languages
Japanese (ja)
Other versions
JPH055607U (en
Inventor
和也 吉川
恒夫 大野
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.)
Honda Motor Co Ltd
Original Assignee
Honda Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP1991059670U priority Critical patent/JP2587078Y2/en
Publication of JPH055607U publication Critical patent/JPH055607U/en
Application granted granted Critical
Publication of JP2587078Y2 publication Critical patent/JP2587078Y2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)
  • Safety Devices In Control Systems (AREA)

Description

【考案の詳細な説明】[Detailed description of the invention]

【0001】[0001]

【産業上の利用分野】本考案はRAMデータ保証装置に
関し、特に、自動車用制御装置のマイクロコンピュータ
(以下、CPUという)内に設けられたRAMデータ保
証装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a RAM data guarantee device, and more particularly, to a RAM data guarantee device provided in a microcomputer (hereinafter referred to as a CPU) of an automobile control device.

【0002】[0002]

【従来の技術】CPUを搭載した自動車用制御装置にお
いて、自己診断結果つまり学習データあるいは次回運転
開始時に必要な各種データをRAMに記憶させるように
していることがある。前記制御装置に設けられたRAM
内の記憶データを確実に保持させるためには、所定の電
源電圧を印加する必要がある。そのために、従来の制御
装置には、所定の電源電圧が印加されていることを保証
する装置が備えられている。
2. Description of the Related Art In a control device for a vehicle equipped with a CPU, a self-diagnosis result, that is, learning data or various data required at the next start of operation may be stored in a RAM. RAM provided in the control device
It is necessary to apply a predetermined power supply voltage in order to reliably hold the stored data in the memory. For this purpose, the conventional control device is provided with a device for ensuring that a predetermined power supply voltage is applied.

【0003】前記電圧を印加するための定電圧電源回路
の一例を、図2を参照して説明する。同図において、定
電圧電源回路5は、周辺回路用とCPU用との2系統の
電源電圧(VCC,VDD)を制御装置に供給するよう
になっている。電源電圧VCCは、イグニッションスイ
ッチSW1が投入されているとき、つまり自動車の運転
中にのみ供給されるのに対し、電源電圧VDDは運転中
のみならず、停止中も制御装置に供給される。これは、
CPU内のRAMデータを電源電圧VDDによって常時
保持させておく必要があるためである。
An example of a constant voltage power supply circuit for applying the voltage will be described with reference to FIG. In the figure, a constant voltage power supply circuit 5 supplies two power supply voltages (VCC, VDD) for a peripheral circuit and a CPU to a control device. The power supply voltage VCC is supplied only when the ignition switch SW1 is turned on, that is, during operation of the vehicle, whereas the power supply voltage VDD is supplied to the control device not only during operation but also during stoppage. this is,
This is because it is necessary to keep the RAM data in the CPU constantly at the power supply voltage VDD.

【0004】レギュレータ6は、イグニッションスイッ
チSW1が投入されたときにのみ、バッテリ電圧VB
(通常は12V)を所定の電圧(例えば5V)に変圧調
整して安定化した電源電圧VCCを発生させる。一方、
レギュレータ7は、常時、バッテリ電圧VBを所定の電
圧に変圧調整して電源電圧VDDを発生させる。
[0006] The regulator 6 operates only when the ignition switch SW1 is turned on.
(Usually 12 V) is transformed and adjusted to a predetermined voltage (for example, 5 V) to generate a stabilized power supply voltage VCC. on the other hand,
The regulator 7 constantly converts and adjusts the battery voltage VB to a predetermined voltage to generate the power supply voltage VDD.

【0005】比較器8では、レギュレータ6で発生した
電源電圧VCCが基準電圧Vr1と比較され、電源電圧
VCCが基準電圧Vr1を下回っているときには電圧低
下信号PDが出力され、この信号に応答してCPU(図
示せず)は動作を停止する。このとき、RAM(図示せ
ず)内のデータを保持するための電流は供給している。
In the comparator 8, the power supply voltage VCC generated by the regulator 6 is compared with the reference voltage Vr1, and when the power supply voltage VCC is lower than the reference voltage Vr1, a voltage drop signal PD is output. The CPU (not shown) stops operating. At this time, a current for holding data in a RAM (not shown) is supplied.

【0006】また、比較器9では、レギュレータ7で発
生した電源電圧VDDが基準電圧Vr2と比較され、電
源電圧VDDが基準電圧Vr2を下回っているときには
リセット信号RESETが出力され、CPUはこの信号
によってリセットされる。この場合は、RAMに記憶さ
れているデータは保証されない。
In the comparator 9, the power supply voltage VDD generated by the regulator 7 is compared with the reference voltage Vr2. When the power supply voltage VDD is lower than the reference voltage Vr2, a reset signal RESET is output. Reset. In this case, the data stored in the RAM is not guaranteed.

【0007】なお、比較器8,9では、それぞれレギュ
レータ6,7の出力側の電圧ではなく、入力側の電圧、
つまりバッテリ電圧VBあるいはイグニッション電圧I
GP(実質はバッテリ電圧VBと同じ)と基準電圧Vr
1,Vr2とを比較することもある。
[0007] In the comparators 8 and 9, not the voltages on the output side of the regulators 6 and 7 but the voltage on the input side,
That is, the battery voltage VB or the ignition voltage I
GP (substantially the same as battery voltage VB) and reference voltage Vr
1, Vr2.

【0008】次に、前記定電圧電源回路5から供給され
る電源電圧VDDによってRAMデータを保持するよう
にしているCPUの構成を図3を参照して説明する。図
3において、CPU1a内のRAM2に格納されたデー
タは、前記電源電圧VDDによって保持されている。フ
リップフロップ3aは、ソフトウェアによる処理でセッ
トされ、RAM2内のデータが保証され得るものかどう
かは、このフリップフロップ3aの状態によって検出さ
れる。
Next, a description will be given of a configuration of a CPU that holds RAM data with a power supply voltage VDD supplied from the constant voltage power supply circuit 5, with reference to FIG. In FIG. 3, data stored in the RAM 2 in the CPU 1a is held by the power supply voltage VDD. The flip-flop 3a is set by processing by software, and whether or not the data in the RAM 2 can be guaranteed is detected by the state of the flip-flop 3a.

【0009】前記電源電圧VDDは、比較器4において
RAMデータを保証できる基準電圧Vr3と比較され
る。電源電圧VDDが基準電圧Vr3より低い場合は、
前記フリップフロップ3aに対してクリア信号を出力す
る。フリップフロップ3aは、この信号によってクリア
となる。
The power supply voltage VDD is compared in a comparator 4 with a reference voltage Vr3 that can guarantee RAM data. When the power supply voltage VDD is lower than the reference voltage Vr3,
A clear signal is output to the flip-flop 3a. The flip-flop 3a is cleared by this signal.

【0010】こうして、前記フリップフロップ3aがセ
ットされているときには、RAM2内のデータは保証さ
れる。つまりRAM2は予定値以上の電圧で確実に保持
されていて、かつ新たなデータも確実に記憶できる状態
にあることが認識できる。
Thus, when the flip-flop 3a is set, data in the RAM 2 is guaranteed. In other words, it can be recognized that the RAM 2 is reliably held at a voltage higher than the predetermined value, and is in a state where new data can be securely stored.

【0011】一方、前記フリップフロップ3aがクリア
のときには、RAM2内のデータは保証され得ないこと
が認識され、記憶されているデータの読出しは禁止され
る。
On the other hand, when the flip-flop 3a is cleared, it is recognized that the data in the RAM 2 cannot be guaranteed, and the reading of the stored data is prohibited.

【0012】[0012]

【考案が解決しようとする課題】上記従来のCPUに
は、次のような問題点があった。図3に示したCPU1
では、前記基準電圧Vr3に対する電源電圧VDDがの
高低を判断するための監視回路すなわち比較器4がCP
U1に内蔵されていた。このようなアナログの回路構成
では、CPU1が組込まれている半導体チップの面積が
大きくなり、かつRAM2の記憶データを保持するため
の消費電流も大きくなるという問題点があった。また、
ロジックとアナログの双方によって構成されているCP
U1の製造面では、検査工程が複雑になるという問題点
もあった。
The above-mentioned conventional CPU has the following problems. CPU 1 shown in FIG.
Then, the monitoring circuit for determining whether the power supply voltage VDD with respect to the reference voltage Vr3 is high or low, ie, the comparator 4
It was built into U1. In such an analog circuit configuration, there is a problem that the area of the semiconductor chip in which the CPU 1 is incorporated becomes large, and the current consumption for holding the data stored in the RAM 2 also becomes large. Also,
CP composed of both logic and analog
On the production side of U1, there is also a problem that the inspection process becomes complicated.

【0013】本考案の目的は、前述の問題点を解決し、
部品点数を減少させ、構成を簡素化したRAMデータ保
証装置を提供することにある。
An object of the present invention is to solve the above-mentioned problems,
An object of the present invention is to provide a RAM data assurance device with a reduced number of parts and a simplified configuration.

【0014】[0014]

【課題を解決するための手段】前記の問題点を解決する
ために、本願考案は、RAMとともにCPU内に組み込
まれ、RAMデータ保持用電源に対して前記RAMと並
列に配設されたRAMデータ保証表示フラグとしてのフ
リップフロップ回路と、前記RAMが内蔵されたCPU
の外部に設けられ、RAMデータ保持用電源電圧が基準
値以下のときにリセット信号を発生する監視回路とを具
備し、前記フリップフロップ回路のクリア端子に前記監
視回路のリセット信号を入力するように構成した点に特
徴がある。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the invention of the present application is incorporated into a CPU together with a RAM.
Rarely, a flip-flop circuit as RAM data guarantee display flag disposed in parallel with the RAM to the RAM data retention power supply, CPU, wherein the RAM is built
And a monitoring circuit for generating a reset signal when the power supply voltage for holding RAM data is equal to or lower than a reference value, wherein the reset signal of the monitoring circuit is input to a clear terminal of the flip-flop circuit. There is a feature in the configuration.

【0015】[0015]

【作用】前記の特徴を有する本考案では、RAMデータ
保持用電源の電圧が予定値以下になったときに、フリッ
プフロップ回路はCPU外部のクリア手段つまり監視回
路によってクリアされる。
According to the present invention having the above-mentioned features, when the voltage of the power supply for holding RAM data falls below a predetermined value, the flip-flop circuit is cleared by the clearing means outside the CPU, that is, the monitoring circuit.

【0016】[0016]

【実施例】以下に図面を参照して、本考案を詳細に説明
する。図1は本考案の一実施例を示すRAMデータ保証
装置の要部を示す図である。同図において、CPU1は
自動車の制御装置に内蔵されるものである。CPU1に
は、学習データや次回運転開始時に必要な各種データを
格納するRAM2が設けられる。このRAM2の記憶デ
ータはデータ保持電圧VDDによって保持されている。
前記データ保持電圧VDDの供給ラインに対し、RAM
2と並列にフリップフロップ3が接続されている。この
フリップフロップ3は、前記データ保持電圧VDDが基
準電圧に維持されていること、つまりRAM2のデータ
が保証されることを示すフラグ手段として設けられてい
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to the drawings. FIG. 1 is a diagram showing a main part of a RAM data guarantee device according to an embodiment of the present invention. In FIG. 1, a CPU 1 is built in a control device of an automobile. The CPU 1 is provided with a RAM 2 for storing learning data and various data necessary for starting the next operation. The data stored in the RAM 2 is held by the data holding voltage VDD.
The data supply voltage VDD supply line is connected to a RAM
The flip-flop 3 is connected in parallel with the flip-flop 2. The flip-flop 3 is provided as flag means for indicating that the data holding voltage VDD is maintained at the reference voltage, that is, that the data of the RAM 2 is guaranteed.

【0017】前記フリップフロップ3は、通常はソフト
ウェアによる処理でセットされていて、前記データ保持
電圧VDDが基準電圧以下になったときには、クリア端
子にリセット信号RESETが入力されてクリアされ
る。そして、このリセット信号RESETとしては、C
PU1の外部に設けられる監視回路から出力されるもの
を使用する。
The flip-flop 3 is normally set by software processing, and when the data holding voltage VDD becomes equal to or lower than the reference voltage, a reset signal RESET is input to a clear terminal to be cleared. As the reset signal RESET, C
The output from the monitoring circuit provided outside the PU1 is used.

【0018】例えば、このリセット信号RESETは、
図2に示した定電圧電源回路5の比較器9から出力され
るリセット信号RESETをそのままフリップフロップ
3のクリア端子に入力できるようにすればよい。
For example, the reset signal RESET is
The reset signal RESET output from the comparator 9 of the constant voltage power supply circuit 5 shown in FIG. 2 may be directly input to the clear terminal of the flip-flop 3.

【0019】以上説明したように、本実施例では、従来
CPU1内に設けられていた電圧監視をなくして、CP
U1をロジックのみからなる回路構成とした。
As described above, the present embodiment eliminates the voltage monitoring conventionally provided in the CPU 1 and
U1 has a circuit configuration consisting of only logic.

【0020】[0020]

【考案の効果】以上説明したように、本考案によれば、
CPUをロジックのみの回路構成としてので、CPUを
構成する半導体チップの面積を縮小でき、かつCPUの
消費電流も減少させられる。また、前記半導体チップ製
造時の検査工程も簡単になる。
[Effects of the Invention] As described above, according to the present invention,
Since the CPU has a circuit configuration including only logic, the area of the semiconductor chip constituting the CPU can be reduced, and the current consumption of the CPU can be reduced. Also, the inspection process at the time of manufacturing the semiconductor chip is simplified.

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

【図1】 本考案の一実施例を示すCPUの要部ブロッ
ク図である。
FIG. 1 is a block diagram of a main part of a CPU showing an embodiment of the present invention.

【図2】 定電圧電源回路を示すブロック図である。FIG. 2 is a block diagram showing a constant voltage power supply circuit.

【図3】 従来技術を示すCPUの要部ブロック図であ
る。
FIG. 3 is a main block diagram of a CPU showing a conventional technique.

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

1…CPU、 2…RAM、 3…フリップフロップ 1. CPU, 2. RAM, 3. Flip-flop

Claims (2)

(57)【実用新案登録請求の範囲】(57) [Scope of request for utility model registration] 【請求項1】 自動車用制御装置に設けられたRAMデ
ータ保証装置において、RAMとともにCPU内に組み込まれ、 RAMデータ保
持用電源に対して前記RAMと並列に配設されたRAM
データ保証表示フラグとしてのフリップフロップ回路
と、 前記RAMが内蔵されたCPUの外部に設けられ、RA
Mデータ保持用電源電圧が基準値以下のときにリセット
信号を発生する監視回路とを具備し、 前記フリップフロップ回路のクリア端子に前記監視回路
のリセット信号を入力するように構成したことを特徴と
するRAMデータ保証装置。
1. A RAM data assurance device provided in the motor vehicle control device, incorporated in the CPU with RAM, disposed in parallel with the RAM to the RAM data holding power RAM
A flip-flop circuit as a data assurance display flag,
A monitoring circuit that generates a reset signal when the M data holding power supply voltage is equal to or lower than a reference value, wherein the reset signal of the monitoring circuit is input to a clear terminal of the flip-flop circuit. RAM data guarantee device.
【請求項2】 前記監視回路が、CPU外部の定電圧供
給回路に設けられ、車載バッテリから供給される電圧が
基準値以下のときにリセット信号を発生する回路である
ことを特徴とする請求項1記載のRAMデータ保証
置。
2. The monitoring circuit according to claim 1, wherein the monitoring circuit is provided in a constant voltage supply circuit external to the CPU and generates a reset signal when a voltage supplied from a vehicle-mounted battery is equal to or lower than a reference value. 2. The RAM data guarantee device according to 1.
JP1991059670U 1991-07-04 1991-07-04 RAM data guarantee device Expired - Fee Related JP2587078Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1991059670U JP2587078Y2 (en) 1991-07-04 1991-07-04 RAM data guarantee device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1991059670U JP2587078Y2 (en) 1991-07-04 1991-07-04 RAM data guarantee device

Publications (2)

Publication Number Publication Date
JPH055607U JPH055607U (en) 1993-01-26
JP2587078Y2 true JP2587078Y2 (en) 1998-12-14

Family

ID=13119859

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1991059670U Expired - Fee Related JP2587078Y2 (en) 1991-07-04 1991-07-04 RAM data guarantee device

Country Status (1)

Country Link
JP (1) JP2587078Y2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60211525A (en) * 1984-04-06 1985-10-23 Fujitsu Ten Ltd Power supply momentary interruption storage device
JPS6170155A (en) * 1984-09-12 1986-04-10 Japan Electronic Control Syst Co Ltd Memory back-up apparatus for microcomputer mounted onto car

Also Published As

Publication number Publication date
JPH055607U (en) 1993-01-26

Similar Documents

Publication Publication Date Title
JP2005119652A (en) Controller for electric power supply of electronic device supplied with electric power from battery of vehicle
JP3747618B2 (en) Power circuit
JP2587078Y2 (en) RAM data guarantee device
JPH07114401A (en) Ram backup circuit
JPH0460245B2 (en)
JPH0142002B2 (en)
JPS59226918A (en) Control circuit of microcomputer
JPH09213088A (en) Engine controller
JPH04347541A (en) Power supply circuit for computer
KR0130873Y1 (en) An auxiliary power supply for automatic switching equipment
JPH0279111A (en) Electronic apparatus
JP2740685B2 (en) Storage device backup circuit
JP2001166017A (en) Power supply voltage monitoring system of on-vehicle battery
KR19980045493A (en) Data Stabilization Device in Vehicle Driving Information Recording System
JPH0336125Y2 (en)
JP3226301B2 (en) Microcomputer system
JPH07191701A (en) Power supply device for on-vehicle arithmetic unit
KR100264550B1 (en) Abnormal state detection system and method thereof for power input terminal and voltage regulator of memory
JPS62187905A (en) Electronic control device for vehicle
JPH04354041A (en) On-vehicle controller
JPH0435959Y2 (en)
JPH0325794A (en) Memory control circuit
JPS60198617A (en) Electronic device having information processing function
JPH0574147U (en) Power circuit
GB2284322A (en) Battery saving operation of a portable device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees