JPS581202A - Controller - Google Patents

Controller

Info

Publication number
JPS581202A
JPS581202A JP9833381A JP9833381A JPS581202A JP S581202 A JPS581202 A JP S581202A JP 9833381 A JP9833381 A JP 9833381A JP 9833381 A JP9833381 A JP 9833381A JP S581202 A JPS581202 A JP S581202A
Authority
JP
Japan
Prior art keywords
power
clock
power failure
circuit
power consumption
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
JP9833381A
Other languages
Japanese (ja)
Inventor
Masaru Nagashima
優 長島
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co Ltd
Fuji Electric Manufacturing 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 Fuji Electric Co Ltd, Fuji Electric Manufacturing Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP9833381A priority Critical patent/JPS581202A/en
Publication of JPS581202A publication Critical patent/JPS581202A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power

Abstract

PURPOSE:To reduce the power consumption more at power failure for a controller inporporated in a processor, by increasing the period of an interruption time at power failure and its waiting time. CONSTITUTION:The system in provided with a power failure clock CL2 and a clock switching circuit 9. When a power failure is detected with a power failure detecting circuit 5, a detection signal DE is given to a clock switching circuit 9, which switches the clock of a clock generating circuit 1 from CL1 to CL2. The period of the clock CL2 is taken longer than the period of the clock CL1, resulting that the WAIT state of a microprocessor is ketp longer, allowing to reduce the power consumption. Further, the signal DE is given to the microprocessor 2 via an I/O device 4, allowing the processor 2 to reduce the power consumption more with the power failure processing which has shorter processing time than the normal processing.

Description

【発明の詳細な説明】 この発明は常時は交流電源によって動作し1停電時には
バッテリなどによって動作するマイクロプロセッサ等の
処理装置を用いた制御装置1特にその制御装置における
停電時の消費電力低減化本式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a control device 1 using a processing device such as a microprocessor that is normally operated by an AC power source and operated by a battery or the like during a power outage. Regarding the expression.

一般にバッテリなどによって停電補償を行なう装置にお
いては1補償時間とバッテリ容飯などの関係から1停電
補償時の消費電力は極力少ないことが猛まれる。
Generally, in a device that compensates for a power outage using a battery or the like, it is strongly recommended that the power consumption during one power outage compensation be as small as possible due to the relationship between one compensation time and battery capacity.

第1図は例えばマイクロプロセッサを用いた制御装置の
従来例を示すブロック図1第2図はその動作を説明する
ための流れ図である。
FIG. 1 is a block diagram showing a conventional example of a control device using, for example, a microprocessor. FIG. 2 is a flow chart for explaining its operation.

第1wIにおいて、lはクロック発生器、2はマイク四
プpセッサ、3はWA I T (待機)回路、4は入
出力装置(Ilo)、sは停電検出回路、6は電j11
回路、7はバッテリ、8は切替回路であるO クロック発生回路1から一定周期毎に発せられるインタ
ラブド(割込み)信号INによってマイクロブ田セッサ
2が起動されると(■)、マイクリプ田セッサ2はこの
インタラブド信号INを受は付けて以後の割込みを無効
にする(■)0マイクpプpセツサ2は所定のプログラ
ムにもとづいて所定の処理を行ない((り)、WAIT
命令を実行すると(■)、データバスDB、アドレスバ
スAB、l10(入出力装置)4を介してWA I T
命令信号WTIがWA I T@路3へ送られる0マイ
クロプロセツサ2は該回路3からのWA I T信号W
TによってWAIT状態になるとともに1次のインタラ
ブド信号INを受付は可能状態にして(0)1割込み要
求があるか否かを調べro)、割込み要求があれば■に
戻って上記と同様の動作を繰り返し、なければ次の要求
があるまで待機する。マイクロプリセッサ2がWA I
 T状態にある場合の消費電力は他の動作状態に比べて
少なく、したがって上記の如くすることによって消費電
力費低減することができる・ところで、このような処理
動作を行なうマイク四プaセッ?2は平常時は交流雪原
回路6からの電力により動作しているが1停電検出回路
5にて停電が検出されると、電j16を切替回路8によ
ってバッテリ7傭に切替え、該バッテリ7より電力を供
給する。このため、マイクシブρセッナ2は停電時にも
上記と同様にしてプリグラムを貴行し1所定の処理を行
なうことができる0しかし1この方式では通電時と停電
−一の消費電力は同じであり、したがって停電補償時間
を長くするためにはバッテリ容量を増す必要がある。し
かし1容量を増大することはスペースが大きくなり1か
つ充電回路が複雑になるという間層がある。
In the first wI, l is a clock generator, 2 is a microphone processor, 3 is a WAIT (standby) circuit, 4 is an input/output device (Ilo), s is a power failure detection circuit, and 6 is a power supply j11
circuit, 7 is a battery, and 8 is a switching circuit. Accepts the interwoven signal IN and disables subsequent interrupts (■) 0 Microphone pp setter 2 performs predetermined processing based on a predetermined program ((ri), WAIT
When the instruction is executed (■), the WAI T
The command signal WTI is sent to the WAIT@path 3. The microprocessor 2 receives the WAIT signal W from the circuit 3.
T enters the WAIT state and sets the primary interlaced signal IN to a state where reception is possible (0)1 Check whether there is an interrupt request (ro), and if there is an interrupt request, return to ■ and perform the same operation as above. Repeat, and if there is no request, wait until the next request. Micro precessor 2 is WAI
The power consumption in the T state is lower than in other operating states, so by doing the above, the power consumption cost can be reduced. 2 is operated by power from the AC snowfield circuit 6 in normal times, but when a power outage is detected by the power outage detection circuit 5, the power supply 16 is switched to the battery 7 by the switching circuit 8, and power is supplied from the battery 7. supply. Therefore, even in the event of a power outage, the Microsive ρ Senna 2 can program the program in the same way as described above and perform the prescribed processing.However, in this method, the power consumption during power on and power outage is the same, so In order to extend the power outage compensation time, it is necessary to increase the battery capacity. However, increasing the capacity requires a larger space and complicates the charging circuit.

したがって、この発明の目的は、マイクロプロセッサ等
の処理装置を内蔵する制御装置の停電時における消費電
力をより一層低減することにある。
Therefore, an object of the present invention is to further reduce the power consumption of a control device incorporating a processing device such as a microprocessor during a power outage.

上記の目的は1この発明によれば、定周期割込信号によ
って動作し、停電時にはバッテリ補償によって駆動され
てなる処理装置を内蔵した制御装置の停電時における割
込時間周期を長くし、処理装置の待機時間を長くする、
つまり低消費電力時間を長くすることにより達成される
The above objects are as follows: (1) According to the present invention, the interrupt time period during a power outage of a control device incorporating a processing device that is operated by a fixed periodic interrupt signal and driven by battery compensation during a power outage is lengthened, and the processing device increase the waiting time of
In other words, this is achieved by lengthening the low power consumption time.

以下、この発明の実施例を図面を参照して説明する◇ ssmはこの発明の実施例を示すブロック図、第4図は
第3図の動作を説明する流れ図であるQなS)第1参2
図と同じものについては同一の符量を付して示している
Embodiments of this invention will be described below with reference to the drawings. ◇ ssm is a block diagram showing an embodiment of this invention, and FIG. 4 is a flowchart explaining the operation of FIG. 2
Components that are the same as those in the figure are indicated with the same number.

これらの図からも明らかなように為この発明は第1.!
[によって説明した従来方式に停電時りWツクCL、、
り讐ツク切替回路9を付加するとともに1停電検出信t
Dllをl10(入出力装置)4を介してマイク胃プ曹
七ツ+2で検出できるようにした、つ會り停電か否かの
判断機能(第4図の流れ図■を参照)を持たせるように
したものである。
As is clear from these figures, this invention is the first. !
[When the conventional method explained by
In addition to adding a remote switching circuit 9, a power failure detection signal t is added.
DLL can be detected by the microphone gas input +2 via l10 (input/output device) 4, and has a function to determine whether there is a power outage or not (see flowchart ■ in Figure 4). This is what I did.

すなわち亀週電(平常)時においては上述と同様の動作
が行なわれるが1停電が停電検出−路5によって検出さ
れると、験検出信号DBはりpツク切替回路9に与えら
れるので、クロック切替回路9はクロック発生回路1の
りpツタをCL、からCL、に切替える。ここで1通電
時り田ツタCL、の周期よりも停電時クリツタCL、の
周期を長くしておけば1それだけマイクロプロセッサの
WAIT状態が長くなり、したがって消費電力を低減す
ることができることになる。さらに、この停電検出信号
DIをI 10@置4を介して!イクpプ冑セツf2に
与えることにより1マイクロプロセツサ2において通電
時処理よりも処理時間が短かい停電処理(第3mWのσ
を参照)に切替えるようにすれば、消費電力をより一層
低減することができる。
In other words, during normal power supply, the same operation as described above is performed, but when one power outage is detected by the power outage detection circuit 5, the test detection signal DB is given to the switching circuit 9, so that the clock is switched. The circuit 9 switches the output of the clock generation circuit 1 from CL to CL. Here, if the period of the power failure CL is made longer than the period of the RITA TSUTTA CL during one energization, the WAIT state of the microprocessor becomes longer by 1, and power consumption can therefore be reduced. Furthermore, this power outage detection signal DI is sent via I10@place 4! Power failure processing (3 mW σ
), power consumption can be further reduced.

なお)その他の点については第1図または第2図の説明
と同様であるので省略する。
Note) Other points are the same as those described in FIG. 1 or FIG. 2, and will therefore be omitted.

以上のように1この発明によれば、停電時にはバッテリ
補償によってマイクロプロセッサを動作させ、所定の処
理を行わせるようにした制御装置において1より一層の
低消費電力化を図ることができるため、従来と同じ時間
の停電補償をする場合に、そのバッテリ容量を少なくで
きる。換言すれば1バツテリ容量が同じであれば停電補
償時間を従来よりも長くすることができるものである。
As described above, 1. According to the present invention, it is possible to achieve even lower power consumption than in the conventional control device in which the microprocessor is operated by battery compensation during a power outage to perform predetermined processing. When compensating for a power outage for the same amount of time, the battery capacity can be reduced. In other words, if the capacity of one battery is the same, the power failure compensation time can be made longer than before.

なお1この発明は上記と同様の構成、すなわち停電時に
処ii装置を動作させる必要のある装置一般に適用可能
である。
Note that the present invention is applicable to general devices having the same configuration as above, that is, it is necessary to operate the processing device (ii) during a power outage.

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

館tgはマイクロプロセッサを用いた制御装置の従来例
C示すブロック図、第2gは第1図の動作を説明するた
めの流れ図1第3図はこの発明の実施例を示すプ讐ツク
図、第4wJは第3図の動作を説明するための流れ図で
ある0 符号説明 l・・・・・・クロック発生回路、2・・・・・・マイ
クロブ胃セッサ、3・・・・−・WAI丁回路、4・・
・・・・l10(入出力装置)、5・・・・・・停電検
出量路)6・・・・・・電源回路、7・・・・・・バッ
テリ、8・・・・・・切替M路、9・・・・・・り四ツ
ク切替回路−IN・・・・・・インタラブド信号、WT
・・・・・・WA I T (待機)信号、WTI・・
・・・・WA I T命令信号、DB・・・・・・デー
タバス、AB・・・・・・アドレスバス、DB・・・・
−・停電検出信号、CL、 、 CL、・・・・−りp
ツタ信号 代理人 弁理士 並 木 昭 夫 代理人 弁理士 松 崎   清 第 1 図 第 2 図 第3図
Figure 2g is a block diagram showing a conventional example C of a control device using a microprocessor; Figure 2g is a flowchart for explaining the operation of Figure 1; Figure 3 is a block diagram showing an embodiment of the present invention; 4wJ is a flowchart for explaining the operation of FIG. 3. 0 Symbol explanation 1... Clock generation circuit, 2... Microb stomach processor, 3... WAI circuit. , 4...
... l10 (input/output device), 5 ... power failure detection path) 6 ... power supply circuit, 7 ... battery, 8 ... switching M path, 9... four-way switching circuit-IN...interconnected signal, WT
...WAIT (standby) signal, WTI...
...WAIT command signal, DB...data bus, AB...address bus, DB...
-・Power failure detection signal, CL, , CL,...-rip
Ivy Signal Agent Patent Attorney Akio Namiki Agent Patent Attorney Kiyota Matsuzaki 1 Figure 2 Figure 3

Claims (1)

【特許請求の範囲】[Claims] 平常時には所定周期の割込信号によって起動され、所定
の処理動作が終了すると待機状態となり、次の割込信号
で該待機状態を解除して所定の処理動作を行ない1停電
時には平常時とは別の予備電源から電力の供給を受けて
平常時と同様の手順にて動作を行なう処理装置を有して
なる制御装置において、前記割込信号の時間周期を平常
時と停電時とに応じて切替える手段を設け1停電時には
該手段によって割込信号の時間周期を平常時よりも長く
することにより1前記処理装置の待機時間を長くするよ
うにしたことを特徴とする制御装置0
During normal operation, it is activated by an interrupt signal of a predetermined cycle, and when a predetermined processing operation is completed, it enters a standby state, and the next interrupt signal releases the standby state and performs a predetermined processing operation. In a control device comprising a processing device that receives power from a backup power source and operates according to the same procedure as in normal times, the time period of the interrupt signal is switched depending on normal times and power outages. A control device characterized in that: (1) a means is provided, and (1) when a power outage occurs, the time period of the interrupt signal is made longer than in normal times, thereby (1) the standby time of the processing device is lengthened;
JP9833381A 1981-06-26 1981-06-26 Controller Pending JPS581202A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9833381A JPS581202A (en) 1981-06-26 1981-06-26 Controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9833381A JPS581202A (en) 1981-06-26 1981-06-26 Controller

Publications (1)

Publication Number Publication Date
JPS581202A true JPS581202A (en) 1983-01-06

Family

ID=14216971

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9833381A Pending JPS581202A (en) 1981-06-26 1981-06-26 Controller

Country Status (1)

Country Link
JP (1) JPS581202A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61113806A (en) * 1984-11-07 1986-05-31 丸善工業株式会社 Production of shoulder pad
US6909922B2 (en) * 2001-09-10 2005-06-21 Intel Corporation Apparatus, method and computer system for reducing power consumption of a processor or processors upon occurrence of a failure condition affecting the processor or processors

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61113806A (en) * 1984-11-07 1986-05-31 丸善工業株式会社 Production of shoulder pad
US6909922B2 (en) * 2001-09-10 2005-06-21 Intel Corporation Apparatus, method and computer system for reducing power consumption of a processor or processors upon occurrence of a failure condition affecting the processor or processors

Similar Documents

Publication Publication Date Title
US3786433A (en) Computer control arrangements
US4351023A (en) Process control system with improved system security features
US3921149A (en) Computer comprising three data processors
JPS58119072A (en) Multiprocessor system
JPS60103477A (en) Multiprocessor calculator system
US3426331A (en) Apparatus for monitoring the processing time of program instructions
JPS581202A (en) Controller
JP2002041189A (en) Unintegruptible power supply device
JPS59200357A (en) Watchdog timer circuit
KR100194979B1 (en) Determination of Operation Mode of Redundant Processor System
JPH076155A (en) Single chip microcomputer
JP4788516B2 (en) Dynamic replacement system, dynamic replacement method and program
JPH0667207B2 (en) Power converter controller
JPH0675653A (en) Computer redundancy control system
KR960012981B1 (en) Transmission system
KR890007083Y1 (en) Cpu restart circuit by real time clock inspection
JPS60209863A (en) Control system of data processing device
JPH086663A (en) Computer system and its clock switching method
JPS60140450A (en) Duplicated memory operating system of information processing unit
JPS59168511A (en) Detecting system of service interruption for sequencer
JPS63282535A (en) Signal processor
JPS58217059A (en) Composite computer system
JPS58219651A (en) Parity error processing method of interactive system
JPS61196173A (en) Power failure detection system
JPS61142989A (en) Momentary power interruption backup controller of motor controller