JPS59220575A - Cpu speeding preventing system in electronic lock system - Google Patents

Cpu speeding preventing system in electronic lock system

Info

Publication number
JPS59220575A
JPS59220575A JP9601483A JP9601483A JPS59220575A JP S59220575 A JPS59220575 A JP S59220575A JP 9601483 A JP9601483 A JP 9601483A JP 9601483 A JP9601483 A JP 9601483A JP S59220575 A JPS59220575 A JP S59220575A
Authority
JP
Japan
Prior art keywords
cpu
power
power supply
timekeeping
input
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
JP9601483A
Other languages
Japanese (ja)
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP9601483A priority Critical patent/JPS59220575A/en
Publication of JPS59220575A publication Critical patent/JPS59220575A/en
Pending legal-status Critical Current

Links

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔技術分野〕 本発明はCPUを用いてppζ錠]−ドの照合処理を行
なう上うにした電気錠システムにおけるCPU暴走防止
方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a method for preventing CPU runaway in an electric lock system that uses a CPU to perform verification processing for pp.zeta.-locks.

〔背景技術〕[Background technology]

第1図は従来のミス(錠システムの概略構成図である。 FIG. 1 is a schematic diagram of a conventional lock system.

同図において、(1)は照合処理手段であり、CPU(
21を含むマイクO]ンヒュータによって構成式れてい
る。(3)は操作盤で1D)9、解錠コードを入力する
だめのテシ士−(4)や、各種の表示ラシプ(5)など
を有している。操作盤(3)から解錠コードが入力式れ
ると、状態変化検出手段(6)がこれを検出してCPU
電源オン手段(7)により電源供給手段(8)からの電
源をCP U (21に供給する。CP U t21を
含む照合処理手段(rlは操作盤(3)から入力される
解錠]−1を予め記憶もれている登録]−ドと比較照合
し、一致したときには一致検出信号を出力する。解錠手
段(9)は前記一致検出信号が入力嘔れたときには、電
気錠(10)を開く。またC P U (21は照合処
理動作を終了すると、CPU電源オフ手段(11)に信
号を送って、電源供給手段(8)からCP U (21
への電源供給を停止させる。
In the same figure, (1) is a collation processing means, and the CPU (
It is configured by a microphone amplifier including 21. (3) is an operation panel 1D) 9, a terminal for inputting an unlock code (4), and various display codes (5). When the unlock code is input from the operation panel (3), the status change detection means (6) detects this and the CPU
The power supply means (8) supplies power from the power supply means (8) to the CPU (21) by the power-on means (7). Verification processing means including the CPU t21 (rl is the unlocking input input from the operation panel (3)) -1 The unlocking means (9) outputs a coincidence detection signal when the coincidence detection signal is input.When the coincidence detection signal is not input, the unlocking means (9) opens the electric lock (10). When the CPU (21) completes the verification processing operation, it sends a signal to the CPU power off means (11), and the CPU (21) is turned off from the power supply means (8).
Stop the power supply to.

ところでかかる電気錠システムにおいて、CPU電源オ
フ手段(lりによってCP U (2+の′電源がオフ
された直後に、操作盤(3)から十−人力が行なわれて
状態変化検出手段(6)から起動パルスが出力され、C
PU電源オシ手段(7)が作動すると、C*P U (
21の電源電圧が充分に降下してリセット動作が行なわ
れないうちに再ひCP U (21の電源電圧が上昇し
てCP U (21の動作が再開することになる。この
場合、CPU(2)の電源電圧のみに着目すると、電源
電圧が瞬間的にディッウすることになり、CPU(2)
が暴走する原因となる。そしてCP U i2)が一旦
暴走状態になると、十−人力に対して異常な動作を示し
たシ、あるいは入力に対して全く不動作とナシ、以後の
十−人力を受は付けなくなるような不都合があった。
By the way, in such an electric lock system, immediately after the power of the CPU (2+) is turned off by the CPU power off means (1), human power is applied from the operation panel (3), and the state change detection means (6) A starting pulse is output and C
When the PU power switch means (7) operates, C*P U (
Before the power supply voltage of CPU 21 falls sufficiently and the reset operation is not performed, the power supply voltage of CPU 21 increases and the operation of CPU 21 resumes. ), the power supply voltage will momentarily dip, causing the CPU (2)
causes it to go out of control. Once the CPU (i2) goes out of control, it may behave abnormally in response to human input, or it may not operate at all in response to input, or it may be inconvenient that it will no longer accept human input. was there.

〔発明の目的〕[Purpose of the invention]

本発明は上述のような点に鑑みて為されたものであり、
CPUの゛電源をオフした直後には起動パルスの入力が
あってもCPUの電源をオシしないようにして、CPU
が確実にリセットされるようにした電気錠システムにお
けるC P tJ暴走防止方式を提供することを目的と
するものである。
The present invention has been made in view of the above points,
Immediately after turning off the CPU power, do not turn on the CPU power even if a startup pulse is input.
It is an object of the present invention to provide a method for preventing runaway of C P tJ in an electric lock system in which the C P tJ is reliably reset.

〔発明の開示〕[Disclosure of the invention]

以下不発側の構成を図示実施例について説明すると、第
2図乃至4fJ4図に示すように、CP U f21に
て解錠コードの照合処理を行なう照合処理手段+11と
、照合処理手段(11の一致検出信号にて、電気錠(1
0)の解錠動作を行なう解錠手段(9)と、解錠操作入
力の開始を検出して起動パルスを発生する状態変化検出
手段(6)と、状態変化検出手段(6)からの起動パル
スの入力時にCPU電源をオシにす−るCPU電源オン
手段(7)と、入力でれた解錠コードの照合処理の終了
後にCPU電源をオフにするCPU電源オフ手段(lり
とを具備して成る電気錠システムにおいて、CPU電源
のオフ時に計時動作を開始し′、CPUがリセット動作
を完了する1でに要する時間の経過後に計時動作を終了
する計時手段02)と、計時手段β計時前作中はCPU
電源を強制的にオフにするCPU電源制御手段(1萄と
を設けたものである。計時手段四の計時動作開始から計
時動作終了までに必要とされる時間(限時時間)t/′
i、CPU電源オフ手段(1りによって電源供給手段(
8)にょるC P U (2)への電源供給を停止して
から、cPU(2)の電源入力端における電源電圧が充
分に降下するまでの時間と同じ程度に設足する必要があ
り、通常は20ミリ秒程度に塾りしておくものであるが
、電源供給手段(8)の出力側に比較的容量の大きいコ
シデシサが接続されているような場合には、それに応じ
て限時時間も長くする必要がある。しかして第2図の実
施例において、CPUf21が解錠〕−ドの照合処理を
終了し、CPU電源オフ手段t11)に信号を送ってC
P 15 (21への電源供給を停止させると、]シバ
レータ側によって電源電圧の低下が検出され、計時手段
(1匂が起動さhる。計時手段(14は上述のように約
20ミリ秒の限時時間の間は計時動作を行ない、この計
時動作期間中はCPU電源制御手段ll3)によって電
源供給手段(8)からCPU(2)への電源供給は強1
11j的に停止される。したがってこの期間中に操作盤
(3)から十−人力があって起動パルスが発生でれても
、CPU(2)の電源供給が再開されるようなことはな
く、常にCP U (2+を確実にリセットさせること
ができるものである。
The configuration of the non-explosion side will be described below with reference to the illustrated embodiment. As shown in FIGS. With the detection signal, the electric lock (1
0); an unlocking means (9) that performs the unlocking operation; a state change detecting means (6) that detects the start of an unlocking operation input and generates a starting pulse; It is equipped with a CPU power-on means (7) that turns on the CPU power when a pulse is input, and a CPU power-off means (7) that turns off the CPU power after the verification process of the input unlock code is completed. The electric lock system comprises a clocking means 02) that starts a timing operation when the CPU power is turned off and ends the timing operation after the time required for the CPU to complete the reset operation 1), and a timing means β timer. In the previous work, CPU
A CPU power control means (1) is provided to forcibly turn off the power.The time required from the start of the timekeeping operation of the timekeeping means 4 to the end of the timekeeping operation (time limit) t/'
i. CPU power off means (1)
8) It is necessary to set up a time equal to the time it takes for the power supply voltage at the power input terminal of the cPU (2) to sufficiently drop after stopping the power supply to the cPU (2). Normally, the time limit is set to about 20 milliseconds, but if a comparatively large capacity capacitor is connected to the output side of the power supply means (8), the time limit is set accordingly. It needs to be longer. In the embodiment shown in FIG. 2, the CPU f21 completes the verification process for the unlocked code and sends a signal to the CPU power off means t11).
P 15 (When the power supply to 21 is stopped, a drop in the power supply voltage is detected by the shibrator side, and the timer (14) is activated. A timing operation is performed during the time limit period, and during this timing operation period, the power supply from the power supply means (8) to the CPU (2) is controlled by the CPU power supply control means (113).
11j. Therefore, even if a startup pulse is generated from the operation panel (3) during this period, the power supply to the CPU (2) will not be restarted, and the power supply to the CPU (2+) will not be restarted. It can be reset to

第5図は不発明のより具体的な実施例における要部ブロ
ック回路図である。同図において、(12A)はit時
手段(l″4として用いるタイマICであり、また(1
0A)はCPU4源制御子制御13)として用いるスイ
ッチジノ手段である。さらに(14A)はシュミットト
リガ回路、(14B)は基準電圧元生部であり、両者相
俟って第2図実施例における]シバレータ(財)の!能
を実現している。この′f13図13図においでは、C
PU(2)周辺の要部<it成しか示していないが、置
部以外の概略構成については第2図の場曾と同様である
。第4図(a)乃至(d)は、第5図回路におけるa部
〜d部の各助作市圧波形を示している。−まず、第4図
(a)は状態変化人力(起動パルス)を示している。こ
の状態変化人力は操作盤(3)が操作されたときに、状
態変化検出手段(6)から出力されるものであり、例え
ば約5ミリ秒のパルス幅を有している。この状態変化人
力(起動パルス)によって、電源供給手段(8)はCP
U(21に対して電源供給を開始する。CP U (2
1ば動作期間中は第4図(b)に示すようにビジー信号
(BUSY)を出力する。このビジー信号はオアゲート
05)の一方の入力に接続されている。したがってCP
 U +21が動作している期間中は、電源供給手段(
8)の]]ントO−ル入はHレベルに保持され、CPU
(2+への電源供給が持続される。CP U (2)が
動作を終了すると、ビジー信号がLレベルに立ち下がる
ので、電源供給手段(8)のコシトロール入力もLレベ
ルになる。このとき電源供給手段(8)からCP U 
(21の4源入力端vDDに供給ちれる電圧は第4図(
C)に示すように低下する。この電圧低下はシュミット
トリガ回路(14A)と基準電圧発生部(14B)とか
らなるコンパレータ圓によって検出され、その検出出力
によってタイマI C(12A)が起動さ・れる。タイ
マIC(12A)は計時動作の開始後、約20ミリ秒の
限時時間中は、出力をHレベルに保持する。したがつて
この期間中に十−人力があって起動パルスが生じても、
タイマI’ C(12A)の出力によりスイ゛ソチ、、
7タ手段(13A)がオ′シになっているので、第4図
(d)に示すようにコシトロール入力はLレベルに引き
込葦れ、電源供給手段(8)からCP U (21への
電源供給は行なわれない。このだめCP U (2+は
常に確実にリセットきれるものである。第4図には比較
例として、タイマI C(12A)やスイツチンク手段
(13A)などを設けない従来例の場合の動作波形図を
示している。同図に示すように、従来例の場合において
はじ、/−16号(第4図(b))が立ち下がった直後
に起動パルス(第4図(a))が入力芒れると、CPU
(2+の電源電圧(第4図(c) ) i’l:充分に
降下しないうちに再ひ上昇し、CPU(21の動作に異
常を生じるおそれがめるが、本発明においてはこのよう
な問題は完全に解決されているものである。
FIG. 5 is a block circuit diagram of main parts in a more specific embodiment of the invention. In the figure, (12A) is a timer IC used as an IT time means (l''4), and (12A) is a timer IC used as an IT time means (l''4).
0A) is a switch means used as the CPU four-source controller control 13). Furthermore, (14A) is a Schmitt trigger circuit, (14B) is a reference voltage generator, and together they are used to generate the cibalator in the embodiment shown in FIG. Noh is realized. In this 'f13 Figure 13, C
Although only the main parts around the PU (2) are shown, the general structure other than the mounting part is the same as that shown in FIG. 2. FIGS. 4(a) to 4(d) show the respective assistant market pressure waveforms of sections a to d in the circuit of FIG. 5. - First, FIG. 4(a) shows state change human power (starting pulse). This state change human power is output from the state change detection means (6) when the operating panel (3) is operated, and has a pulse width of, for example, about 5 milliseconds. By this state change manual power (starting pulse), the power supply means (8)
Start supplying power to CPU U (21.
1. During the operation period, a busy signal (BUSY) is output as shown in FIG. 4(b). This busy signal is connected to one input of OR gate 05). Therefore, C.P.
During the period when U+21 is in operation, the power supply means (
8) ]] terminal input is held at H level, and the CPU
(The power supply to 2+ is continued. When the CPU (2) finishes its operation, the busy signal falls to the L level, so the cositroll input of the power supply means (8) also becomes the L level. At this time, the power supply CPU from supply means (8)
(The voltage supplied to the 4-source input terminal vDD of 21 is shown in Figure 4 (
It decreases as shown in C). This voltage drop is detected by a comparator circle consisting of a Schmitt trigger circuit (14A) and a reference voltage generator (14B), and a timer IC (12A) is activated by the detection output. The timer IC (12A) maintains its output at H level for a time limit of approximately 20 milliseconds after the start of the timing operation. Therefore, even if there is 10 manpower and a starting pulse occurs during this period,
The output of timer I'C (12A) makes it easy.
Since the power supply means (13A) is turned on, the power input is pulled to the L level as shown in FIG. 4(d), and the power supply from the power supply means (8) to the CPU (21) is Power is not supplied. In this case, the CPU (2+) can always be reset reliably. As a comparative example, FIG. As shown in the figure, in the case of the conventional example, the starting pulse (Fig. 4 (b)) is activated immediately after the start pulse (Fig. When a)) is input, the CPU
(Power supply voltage of 2+ (Fig. 4 (c)) i'l: There is a risk that the voltage will rise again before it falls sufficiently and cause an abnormality in the operation of the CPU (21). However, in the present invention, such a problem can be avoided. It is completely resolved.

ところで、一般にCP U (21の暴走を防止するた
めに、CPU(2)の電源電圧の変動を検出してCP 
 、U(2)の動作電圧111i2.回外となった時に
CP U (2+をリセットして暴走したc ’P U
 (21を元の状態に戻すようなことは以前から行なわ
れているが、本発明はかかる一般的なCPUの暴走防止
方式とは全く異なるものである。不発L!Ari、第2
図に示すようにCPU電源オシ手段(7)やCPU成源
オフ手段(+1)などを有して、電気錠システムが処理
を必要とするときにのみCP U +21の電源供給を
行なうようないわゆるパワーセーブ方式の電気錠システ
ムに使用されるC P U +2)の暴走防止方式であ
って、CPU(2)への電源電圧供給が停止されたとき
には、その直後に十−人力があって起動パルスが発生し
てもCP U +21のリセット動作が完了するまでの
間は電源電圧の供給を再開できないようにしてリセット
動作を完全に行ない得るようにするという点を要旨とす
る新規な発明である。なお、かかるパワーセーづ方式を
用いた電気錠システムは、電源として電池を使用する場
合のように、電力消費をできるだけ節約する必要がある
ような用途に使用すれば特に有用なものである。
By the way, in general, in order to prevent the CPU (21) from running out of control, fluctuations in the power supply voltage of the CPU (2) are detected and the CPU
, U(2) operating voltage 111i2. When supinated, CPU (c'P U that reset 2+ and went out of control)
(Returning 21 to its original state has been done for some time, but the present invention is completely different from such a general CPU runaway prevention method.
As shown in the figure, this is a so-called system that has a CPU power supply switch (7), a CPU power supply switch (+1), etc., and supplies power to the CPU +21 only when the electric lock system requires processing. This is a runaway prevention method for the CPU (+2) used in a power-saving electric lock system, and when the power supply voltage supply to the CPU (2) is stopped, immediately after that, there is a 10-man power and a starting pulse is generated. This is a novel invention whose main point is to prevent the supply of power supply voltage from being restarted until the reset operation of the CPU +21 is completed even if a reset operation occurs, so that the reset operation can be performed completely. Incidentally, an electric lock system using such a power saving method is particularly useful when used in applications where it is necessary to save power consumption as much as possible, such as when using a battery as a power source.

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

本発明は叙上のように構成されており、照合処理を行な
うときにのみCPUに電源を供給するようにした電気錠
システムにおいて、CPU電源のオフ時に計時動作を開
始し、CPUがりセット動作を完了するまでに安する時
間の経過後に計時動作を終了する計時手段と、計時手段
の計時動作中はCPU電源を強制的にオフにするCPU
電源制御手段とを設けたものであるから、一旦CPUへ
の電源供給が停止されたときには、CPUが完全にリセ
ットされる壕での間は電源電圧の供給が再開されるよう
なことはなく、CPUへの電源電圧の供給が停止きれた
直後に起動パルスが発生したような場合においても、従
来例のようにCPUが即座に再起動されるようなことが
なり、シたがってCPUの電源電圧が瞬間的に低−ドす
るような不a付を防止できて、電源電圧の変動によるC
PUの暴走を防止することができるという効果がある
The present invention is configured as described above, and in an electric lock system in which power is supplied to the CPU only when performing verification processing, a timekeeping operation is started when the CPU power is turned off, and a CPU reset operation is performed. A timer that ends the timer operation after a certain amount of time has elapsed, and a CPU that forcibly turns off the CPU power during the timer's timer operation.
Since the CPU is equipped with a power supply control means, once the power supply to the CPU is stopped, the supply of power supply voltage will not be restarted until the CPU is completely reset. Even if a startup pulse occurs immediately after the supply of power supply voltage to the CPU is completely stopped, the CPU will be restarted immediately as in the conventional case, and therefore the power supply voltage of the CPU will decrease. This prevents failures such as instantaneous low voltage, and reduces C due to fluctuations in power supply voltage.
This has the effect of preventing PU from running out of control.

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

fJ1図は促来の概略構j戊図、第2図は本発明の一実
施例の概略構成図、第6図は同上の他の実施例の要部づ
Oツク回路図、第4図賽!徘は同上の切・作置り]図で
める。 fi+は照合処理手段、(2)はCPU、Filは状態
変化慣用手段、(7)はcpu’4sオン手段、(9)
は解錠手段、(10)は電気錠、(lりはCPU電源オ
フ手段、(12Jは計時手段、t’3)はCPU電#、
 fttlJ御手段である。 代理人 弁理士 石 1)長 七
Figure fJ1 is a schematic diagram of the original structure, Figure 2 is a schematic diagram of an embodiment of the present invention, Figure 6 is a circuit diagram of the main parts of another embodiment of the above, and Figure 4 is a schematic diagram of the same embodiment. ! Wandering is shown in the above-mentioned cutting and setting] figure. fi+ is a collation processing means, (2) is a CPU, Fil is a state change conventional means, (7) is a cpu'4s on means, (9)
is an unlocking means, (10) is an electric lock, (l is a CPU power off means, (12J is a clock means, t'3) is a CPU power supply number,
fttlJ control means. Agent Patent Attorney Ishi 1) Choshichi

Claims (1)

【特許請求の範囲】[Claims] (11CP Uにて解錠コードの照合処理を行なう照合
処理手段と、照合処理手段の一致検出1u号にて電気錠
の解錠動作を行なう解錠手段と、解錠操作人力の開始を
検出して起動パルスを発生する状態変化検出手段と、状
態変化検出手段からの起動パルスの入力時KCPU電源
をオンにする手段と、入力された解錠コードの照合処理
の終了後にCPU電源をオフにする手段とを具備して成
る電気錠システムにおいて、CPU電源のオフ時に計時
動作を開始し、CPUがリセット動作を完了するまでに
要する時間の経過後に計時動作を終了する計時手段と、
計時手段の計時動作中はCPU電源を強制的に才)にす
るCPU電源制御手段とを設けて成ることを特徴とする
電気錠システムにおけるCPU暴走防止方式。
(The 11CPU performs verification processing of the unlocking code, the matching detection unit 1U performs the unlocking operation of the electric lock, and the start of the manual unlocking operation is detected. means for turning on the KCPU power when the starting pulse is input from the state change detecting means; and means for turning off the CPU power after verification processing of the input unlock code is completed. In the electric lock system, the timekeeping means starts the timekeeping operation when the CPU power is turned off and ends the timekeeping operation after the time required for the CPU to complete the reset operation;
1. A CPU runaway prevention method in an electric lock system, comprising CPU power control means for forcibly turning off the CPU power during the timekeeping operation of the timekeeping means.
JP9601483A 1983-05-31 1983-05-31 Cpu speeding preventing system in electronic lock system Pending JPS59220575A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9601483A JPS59220575A (en) 1983-05-31 1983-05-31 Cpu speeding preventing system in electronic lock system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9601483A JPS59220575A (en) 1983-05-31 1983-05-31 Cpu speeding preventing system in electronic lock system

Publications (1)

Publication Number Publication Date
JPS59220575A true JPS59220575A (en) 1984-12-12

Family

ID=14153358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9601483A Pending JPS59220575A (en) 1983-05-31 1983-05-31 Cpu speeding preventing system in electronic lock system

Country Status (1)

Country Link
JP (1) JPS59220575A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5323230A (en) * 1976-08-14 1978-03-03 Fujitsu Ltd Power closing control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5323230A (en) * 1976-08-14 1978-03-03 Fujitsu Ltd Power closing control system

Similar Documents

Publication Publication Date Title
EP0582391B1 (en) Clock generator with power savings capability
EP0656579A2 (en) Power management for computer system
JPS6395814A (en) Operation discontinuing circuit
JPH0736141B2 (en) Low power portable information device
JPH0527880A (en) System restart device
US6272630B1 (en) Method and device for reserving wake-up functions of computer system after power loss
US4749991A (en) Turn off protection circuit
JPS59220575A (en) Cpu speeding preventing system in electronic lock system
JP3466240B2 (en) Power control circuit
JPS59220574A (en) Cpu speeding preventing system in electronic lock system
JPH0313782Y2 (en)
JP6956036B2 (en) Semiconductor devices and circuit control methods
JPH04218822A (en) Microprocessor for equipment control
JPH04112310A (en) Processor circuit
JPH02270075A (en) Feeding system for fingerprint collating device
JP3053270B2 (en) Power supply backup method and device
JPH0431620Y2 (en)
JPS62214419A (en) Arithmatic and control unit
KR0134250Y1 (en) Data protecting circuit
JPH06242978A (en) Fault recovery processing system
JPH0687213B2 (en) Data processing device
JP2544728B2 (en) Battery power supply
JPH087472Y2 (en) Power supply control circuit for electronic devices
JPH04119413A (en) Power source backup circuit
JPH09190360A (en) Microcomputer and its ranaway monitoring processing method