JPS59213098A - Memory protecting system - Google Patents

Memory protecting system

Info

Publication number
JPS59213098A
JPS59213098A JP58086105A JP8610583A JPS59213098A JP S59213098 A JPS59213098 A JP S59213098A JP 58086105 A JP58086105 A JP 58086105A JP 8610583 A JP8610583 A JP 8610583A JP S59213098 A JPS59213098 A JP S59213098A
Authority
JP
Japan
Prior art keywords
power
memory
section
turned
input power
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
JP58086105A
Other languages
Japanese (ja)
Inventor
Takeo Saito
斎藤 威雄
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 JP58086105A priority Critical patent/JPS59213098A/en
Publication of JPS59213098A publication Critical patent/JPS59213098A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To supply a storage protecting power of a stable output voltage to a memory part even when an input power source is turned off, by stopping a CPU part with power-off and breaking the power supplied to the CPU part and the memory part when the input power source is turned off. CONSTITUTION:When the input power source is turned off and the input power level falls to a point A, an input voltage comparing circuit 3 raises the waveform of a power-on/off signal (c) from the high level to the low level to detect the turn-off state of the input power source, and a CPU part 8 is stopped with power-off. The power-off signal is delayed in a delay circuit 10 by a time T2 and turns off an output voltage control part 12 to break a power (j) supplied to the CPU part 8 and a memory part 9. When the input power level falls furthermore to reach a point B, the output of a power supply part 1 falls as shown by a waveform (b), and the storage protecting power falls also as shown by a waveform (g). When the power source voltage becomes lower than the voltage of a battery 7, the voltage of the battery 7 is supplied as the storage protecting power to the memory part 9 through a diode D2.

Description

【発明の詳細な説明】 この発明は、入力電源がオフした時、バッテリによりメ
モリ部の記憶内容を保持するためのメモリ保護方式に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a memory protection method for retaining the stored contents of a memory section using a battery when the input power source is turned off.

まず従来のメモリ保護方式について第1図及び第2図を
用いて説明する。第1図は従来のメモリ保護方式を示す
図、第2図は従来方式における各部の波形図であり1図
において、(1)は電源部、(2)は入力電源状況を感
知する入力電圧比較回路(3)と。
First, a conventional memory protection method will be explained using FIGS. 1 and 2. Figure 1 is a diagram showing the conventional memory protection method, and Figure 2 is a waveform diagram of each part in the conventional method. With circuit (3).

遅延時間T1  の遅延回路(4)と、その遅延回路(
4)の出力の波−微分をとりパワーON検出信号を発生
するパワーON検出回路(5)と、上記入力電圧比較回
路(3)の波尾微分をとりパワーOFF検出信号を発生
するパワーOFF検出回路(6)と、バッチ1月7)と
、充電電流制限用抵抗(R)と、逆流防止用ダイオード
(IX)、 (D2)から構成された記憶保護制御部。
Delay circuit (4) with delay time T1 and its delay circuit (
A power ON detection circuit (5) which takes the wave-differentiation of the output of 4) and generates a power ON detection signal, and a power OFF detection circuit (5) which takes the wave-tail differentiation of the input voltage comparison circuit (3) and generates a power OFF detection signal. A memory protection control unit consisting of a circuit (6), a batch (7), a charging current limiting resistor (R), and a backflow prevention diode (IX) (D2).

(8)は中央演算処理部(OentraIProces
sing Unit 1以下CPU部と略丁ン、(9)
はCPU部(8)の仕事内容、データ内容を保持するメ
モリ部である。
(8) is the central processing unit (OentraIProces).
sing Unit 1 or less CPU section, (9)
is a memory section that holds the work contents and data contents of the CPU section (8).

次に動作について第1図の各点の波形を第2図を参照し
て説明する。第2図(イ)の電圧波形は入力電源(DC
化)波形を示し、入力電源レベルがB点に達Tると、電
源部(1)の出力はレギュレートされた一定電圧をCP
U部(8)とメモリ部(9)に供給Tる。また電源部(
1)の出力はダイオード(Dl)と抵抗(R)を介して
バッチ1月71ヲ充電するとともに、(ト)の波形の電
圧をメモリ部(9)へ記憶保護用電源さして供給Tる。
Next, the operation will be explained with reference to FIG. 2, which shows the waveforms at each point in FIG. The voltage waveform in Figure 2 (a) is the input power supply (DC
When the input power level reaches point B, the output of the power supply section (1) outputs a regulated constant voltage CP.
It is supplied to the U section (8) and the memory section (9). Also, the power supply section (
The output of 1) charges the batch 71 through the diode (Dl) and the resistor (R), and also supplies the voltage of the waveform (g) to the memory section (9) through the power supply for memory protection.

入力電源レベルがさらに上昇しA点に達すると。When the input power level increases further and reaches point A.

入力電圧比較回路(31が(ハ)の波形を発生し、その
出力を遅延回路(4)でT1  時間遅延しくニ)の波
形を発生Tる。その出力はパワーON検出回路(5)で
(ホ)の波形となりCPU部(8)に送出され、CPU
部(8)をパワーONスタートさせる。
The input voltage comparison circuit (31) generates the waveform (c), and its output is delayed by a time T1 in the delay circuit (4) to generate the waveform (d). The output becomes the waveform (E) in the power ON detection circuit (5) and is sent to the CPU section (8).
Turn on the power of section (8) and start it.

次に入力電源がオフした場合、入力電源がA点まで降下
Tると、入力電圧比較回路(3)が(ハ)の波形を立下
がらせる。その波形はパワーOFF検出回路(6)でパ
ワーOFF検出信号(へ)を発生させ、CPU部(8)
に送出され、CPU部(8)をパワーOFF停止させる
。(イ)の電圧波形レベルがさらに降下してB点まで降
下すると、電源部f1)の出力はレギュレート不能とな
り電源部(1)の出力電圧は(ロ)のようζこ降下する
。又(ロ)の電圧が降下することにより、記憶保護用電
源も(ト)のように降下する。(C1)の電圧がノくツ
テ1月7)の電圧以下になると、ダイオード(D2)を
介してバッチ1月7)の電圧が記憶保護用電源としてメ
モリ部(9)に供給される。
Next, when the input power source is turned off, when the input power source drops to point A, the input voltage comparison circuit (3) causes the waveform (c) to fall. The waveform is used to generate a power OFF detection signal (to) in the power OFF detection circuit (6), and the CPU section (8)
The CPU section (8) is powered off and stopped. When the voltage waveform level in (a) further drops to point B, the output of the power supply section f1) becomes unable to be regulated, and the output voltage of the power supply section (1) drops by ζ as shown in (b). Furthermore, as the voltage (b) drops, the memory protection power supply also drops as shown in (g). When the voltage of (C1) becomes equal to or lower than the voltage of batch January 7), the voltage of batch January 7) is supplied to the memory section (9) as a power supply for memory protection via the diode (D2).

しかしながら電源部(1)の出力電圧が(0)の0点ま
で降下すると、CPU部(8)、メモリ部(9)に実装
されている複数個のICが同時にON状態からOFF状
態に変化するため、電源部(1)の負荷電流が急変し、
ノイズを発生するとともに、記憶保護用電源が(ト)の
D点に示すようにバッテリ電圧以下まで急降下するため
、メモリ部(9)の記憶内容を破壊する欠点があった。
However, when the output voltage of the power supply section (1) drops to the 0 point (0), multiple ICs mounted in the CPU section (8) and memory section (9) simultaneously change from the ON state to the OFF state. Therefore, the load current of the power supply section (1) suddenly changes,
In addition to generating noise, the memory protection power supply suddenly drops below the battery voltage as shown at point D in (g), which has the disadvantage of destroying the stored contents of the memory section (9).

この発明は、これらの欠点を改善するためになされたも
ので、入力電源がオフした時、メモリ部(9)の記憶内
容を安定して保護するためのメモリ保護方式を提供する
ものである。
The present invention has been made to improve these drawbacks, and provides a memory protection method for stably protecting the stored contents of the memory section (9) when the input power is turned off.

以下第3図に示すこの発明の一実施例について第4図に
示す各部の波形を参照して説明する。
An embodiment of the present invention shown in FIG. 3 will be described below with reference to waveforms of various parts shown in FIG. 4.

第3図は、この発明のメモリ保護方式を示す図。FIG. 3 is a diagram showing a memory protection method of the present invention.

第4図はこの発明における各部の波形図であり。FIG. 4 is a waveform diagram of each part in this invention.

図においてfil〜(9)は第1図と同じである。al
lIは遅延時間T2 17)遅延回路、UはOR回路、
α2はCPU部(8)及びメモリ部(91に供給する電
源を制御する出力電圧制御部である。ここで遅延回路α
〔の遅延時間′1′2  は、入力電圧比較回路(3)
で入力電源オフを感知した後CPU部(8)がパワーO
FF停止する菫での時間とする。
In the figure, fil~(9) is the same as in FIG. al
lI is delay time T2 17) Delay circuit, U is OR circuit,
α2 is an output voltage control unit that controls the power supply to the CPU unit (8) and memory unit (91). Here, the delay circuit α
The delay time '1'2 of [is the input voltage comparator circuit (3)
After detecting that the input power is off, the CPU section (8) turns the power off.
This is the time when the FF stops at Violet.

次に動作について説明する。第4図(イ)の入力電源が
上昇して所定の一定電圧に到達する過程の説明は、第4
図(ト)、 (IJ)、休)を除き、第1図及び第2図
の説明と同じである。遅延回路aαの出力チ)は。
Next, the operation will be explained. The explanation of the process in which the input power source rises and reaches a predetermined constant voltage in Fig. 4 (a) is as follows.
The explanations are the same as those in Figures 1 and 2, except for Figures (G), (IJ), and (IJ). The output of the delay circuit aα is:

入力電圧比較回路(3)の出力(ハ)の波形’1l−T
2  時間遅延した波形であり、OR回路aυの出力四
は、入力電圧比較回路+31の出力(Jと遅延回路fi
0の出力チ)の波形の論理和であり、(I刀の波形が“
High”レベル時、出力電圧制御部a2はON状態と
なり、電源部(1)の出力(ロ)の電圧がcpu部(8
)及びメモリ部(9)に供給される。次に入力電源がオ
フした場合、(イ)の入力電源がA点まで降下すると、
入力電圧比較回路(3)が(ハ)の波形をHigh”レ
ベルから“LOW″ レベルに立下がらせて入力電源オ
フ状態を感知TるとともにCPU部(8)をパワーOF
F停止させる。
Waveform '1l-T of output (c) of input voltage comparison circuit (3)
2 It is a time-delayed waveform, and the output 4 of the OR circuit aυ is the output of the input voltage comparison circuit +31 (J and the delay circuit fi
It is the logical sum of the waveforms of 0's output Q), and the waveform of (I sword is "
At the "High" level, the output voltage control section a2 is in the ON state, and the voltage of the output (b) of the power supply section (1) is set to the CPU section (8).
) and the memory section (9). Next, when the input power is turned off, when the input power in (a) drops to point A,
The input voltage comparator circuit (3) lowers the waveform (c) from the "High" level to the "LOW" level, detects the input power off state, and turns off the power to the CPU section (8).
F Stop.

一方(ハ)の波形は遅延回路a1MでT2 時間遅延さ
れた後出力電圧制御部a2をOFF状態にして、CPU
部(8)及びメモリ部(9)に供給している電源部)を
遮断する。(イ)の入力電源レベルがさらに降下してB
点に達すると、電源部(1)の圧力は仲)の波形のよう
に降下する5(ロ)の電源が降下することにより、記憶
保護用電源も(ト)の波形のように降下する。仲)の電
圧がバッテリ(7)の電圧以下になると、ダイオード(
D2)を介してバッチ1月7)の電圧が記憶保護用電源
としてメモリ部(9)に供給される。
On the other hand, the waveform (c) is delayed for T2 time by the delay circuit a1M, and then the output voltage controller a2 is turned off and the CPU
(8) and the memory unit (9). The input power level of (A) further drops and B
When this point is reached, the pressure in the power supply unit (1) drops as shown in the waveform (middle), and as the power supply in (b) drops, the memory protection power supply also drops as shown in the waveform (g). When the voltage of the battery (7) becomes lower than the voltage of the battery (7), the diode (
The voltage of batch 7) is supplied to the memory unit (9) via D2) as a memory protection power source.

以上述べたように、この発明によれば入力電源オフ時c
 P U N!、fパワーOFF停止させるとともに、
CPU部及びメモリ部に供給している電源を遮断するこ
さにより、入力電源オフ時もメモリ部へ出力電圧の安定
した記憶保護用電源を供給することができる効果がある
As described above, according to the present invention, when the input power is turned off, the c
PUN! , f power is turned off, and
By shutting off the power supply to the CPU section and the memory section, it is possible to supply a memory protection power supply with a stable output voltage to the memory section even when the input power is turned off.

また入力電源オフ時、出力電圧の安定した記憶保護用電
源をメモリ部へ供給できることから、メモリ部の記憶内
容を安定して保@する効果を有する。
Furthermore, when the input power source is turned off, a memory protection power source with a stable output voltage can be supplied to the memory section, which has the effect of stably maintaining the stored contents of the memory section.

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

第1図は従来のメモリ保護方式を示す図、第2図は従来
方式における各部の波形図、第3図は。 この発明のメモリ保護方式を示す図、第4図はこの発明
における各部の波形図である。図において(11は電源
部、(2)は記憶制御部、(31は入力電圧比較回路、
(4)は遅延回路、(5)はパワーON検出回路。 (6)はパワーOFF検出回路、(力はバッチlJ、+
81はCPU部、(9)はメモリ部、011は遅延回路
、UけOR回路、(12は出力電圧制御部である。 なお図中同一あるいは、相当部分には同一符号を付して
示しである。 代理人大岩増雄 第1図 第2図 (イ) 第 3 図 第4図
FIG. 1 is a diagram showing a conventional memory protection method, FIG. 2 is a waveform diagram of each part in the conventional method, and FIG. 3 is a diagram showing the waveforms of various parts in the conventional method. FIG. 4, which is a diagram showing the memory protection system of the present invention, is a waveform diagram of each part in the present invention. In the figure, (11 is a power supply unit, (2) is a storage control unit, (31 is an input voltage comparison circuit,
(4) is a delay circuit, and (5) is a power ON detection circuit. (6) is the power OFF detection circuit, (the power is batch lJ, +
Reference numeral 81 indicates a CPU section, (9) a memory section, 011 a delay circuit, a U-OR circuit, and 12 an output voltage control section. Note that the same or equivalent parts in the figure are indicated by the same reference numerals. Yes. Agent Masuo Oiwa Figure 1 Figure 2 (A) Figure 3 Figure 4

Claims (1)

【特許請求の範囲】 所定の電力を発生Tる電源部と、上記電源部の出力端に
接続され、演算処理能力を持った中央演算処理部と、上
記中央演算処理部の仕事内容及びデータ内容を保持する
複数個の揮発性メモリ素子からなるメモリ部と、入力電
源状況を感知するとともに上記入力電源オフ時に上記メ
モリ部に電力を供給するバッテリを有した記憶保護制御
部とから構成され、上記入力電源オフ時に上記メモリ部
の記憶内容を保持するメモリ保護方式において。 上記入力電源オフ時に上記記憶保護制御部から上記中央
演算処理部にパワーオフ信号を送出し、上記中央演算処
理部をパワーオフ処理停止させるとともに、上記電源部
がレギュレート可能なる間に。 上記中央演算処理部と、上記メモリ部に供給している電
源を遮断することにより、上記入力電源オフ時に発生す
るノイズから上記メモリ部の記憶内容を保護するように
したことを特徴とするメモリ保護方式。
[Scope of Claims] A power supply unit that generates a predetermined electric power, a central processing unit connected to the output end of the power supply unit and having arithmetic processing capability, and work contents and data contents of the central processing unit. The memory protection control unit includes a memory section consisting of a plurality of volatile memory elements that hold the memory, and a memory protection control section that senses the input power status and has a battery that supplies power to the memory section when the input power is turned off. In a memory protection method that retains the memory contents of the memory unit when the input power is turned off. When the input power is turned off, the memory protection control section sends a power-off signal to the central processing section to stop the power-off processing of the central processing section, while the power supply section can be regulated. Memory protection characterized in that by cutting off the power supply to the central processing unit and the memory unit, the stored contents of the memory unit are protected from noise generated when the input power is turned off. method.
JP58086105A 1983-05-17 1983-05-17 Memory protecting system Pending JPS59213098A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58086105A JPS59213098A (en) 1983-05-17 1983-05-17 Memory protecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58086105A JPS59213098A (en) 1983-05-17 1983-05-17 Memory protecting system

Publications (1)

Publication Number Publication Date
JPS59213098A true JPS59213098A (en) 1984-12-01

Family

ID=13877420

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58086105A Pending JPS59213098A (en) 1983-05-17 1983-05-17 Memory protecting system

Country Status (1)

Country Link
JP (1) JPS59213098A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6315346A (en) * 1986-07-07 1988-01-22 Nec Corp Memory protection circuit
CN103916011A (en) * 2012-12-31 2014-07-09 乐金显示有限公司 Power Supplying Apparatus And Display Apparatus Including The Same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6315346A (en) * 1986-07-07 1988-01-22 Nec Corp Memory protection circuit
CN103916011A (en) * 2012-12-31 2014-07-09 乐金显示有限公司 Power Supplying Apparatus And Display Apparatus Including The Same

Similar Documents

Publication Publication Date Title
US6418002B1 (en) Power supply supervisor having a line voltage detector
JP2628642B2 (en) Automatic voltage switching power supply
JPH07319590A (en) Power supply device of portable information processing apparatus and its driving method
JPH0335628B2 (en)
JP2862591B2 (en) Inrush current prevention circuit
JP5455826B2 (en) Power-on control circuit
JPH04236618A (en) Lockout preventive circuit
US6910140B2 (en) Power supply management device and method for a computer equipment having powered I/O ports in standby mode
JPS59213098A (en) Memory protecting system
WO2023056772A1 (en) Power supply switching method and apparatus, and multi-power supply system
JPS59226918A (en) Control circuit of microcomputer
KR20000025277A (en) Power control circuit of portable electronic apparatus
JPH0779562A (en) Dc/dc converter
KR930004365Y1 (en) Power circuit
JPH01287722A (en) Power unit without power failure
JP2536046Y2 (en) Power supply circuit of programmable controller
JPH0459646B2 (en)
KR900009460Y1 (en) Power failure detection interrupting circuit for micro-processor
JPS626315A (en) Memory back-up device for microcomputer
JPH044276Y2 (en)
JPS6242217A (en) Resetting circuit
JPH02189613A (en) Microcomputer power on reset circuit
JPH05342115A (en) Memory data protecting device against power source interruption
KR950003220Y1 (en) Power source protecting circuit when power fairure
JPH07234799A (en) Latch up protective circuit