JPS5937732A - Switch signal detecting circuit - Google Patents

Switch signal detecting circuit

Info

Publication number
JPS5937732A
JPS5937732A JP57148033A JP14803382A JPS5937732A JP S5937732 A JPS5937732 A JP S5937732A JP 57148033 A JP57148033 A JP 57148033A JP 14803382 A JP14803382 A JP 14803382A JP S5937732 A JPS5937732 A JP S5937732A
Authority
JP
Japan
Prior art keywords
circuit
latch
switch
information
outputs
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
JP57148033A
Other languages
Japanese (ja)
Inventor
Isamu Yamane
山根 勇
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP57148033A priority Critical patent/JPS5937732A/en
Publication of JPS5937732A publication Critical patent/JPS5937732A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Manipulation Of Pulses (AREA)
  • Electronic Switches (AREA)

Abstract

PURPOSE:To detect pieces of on-information on lock type changeover switches of a chain circuit by comparing opening/closing timing between switch signals of the chain circuit and operating a latch circuit when they coincide with each other. CONSTITUTION:Outputs 208-211 of a key encoder 202 which inputs signals of the chain circuit including the switches 200, 201- are led to the latch 206, whose output is sent to a gate 207. The outputs of the latch 206 and encoder 202 are inputted 217 and 218 to the comparator 216, respectively. Then, a signal 215 having a level ''H'' when the comparison result shows coincidence or a level ''L'' when not is sent to the clear terminal 214 of a counter circuit 204. The circuit 204 clears its counted value when receiving the ''H''-level signal at a terminal 214 or counts clock pulses 213 through an NOR gate 203 while receiving the ''L''-level signal; when the counted value attains to a specific value, a pulse is sent to the latch 206 through an inverter 205 to operate the latch 206.

Description

【発明の詳細な説明】 〔発明のhする技術分野〕 本発明は、論理回銘細に関し、特にロック式スイッチ等
によるチェーン回路の信号検出回路に関する。ここにロ
ック式ス゛イツチ等によるチェーン回路とは、複数の単
極双投形の切替えスイッチを含み、この切替えスイッチ
の一つのブレーク接点と隣の切替えスイッチの共通接点
とが直列に鎖状に接続され、各切替えスイッチがオン状
態でロックできるように構成された回路をいう。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to logic circuits, and more particularly to a signal detection circuit for a chain circuit using a lock type switch or the like. Here, a chain circuit using a lock type switch, etc. includes a plurality of single-pole double-throw changeover switches, and one break contact of this changeover switch and the common contact of the adjacent changeover switch are connected in series in a chain. , refers to a circuit configured so that each changeover switch can be locked in the on state.

〔従来技術の説明〕[Description of prior art]

従来は、ロック式スイッチのチェーン回路にスイッチ検
出回路を設ける場合に(′J、第1図に示1ようにカウ
ンタ104のクリヤ端子114にチェーン回路の先端を
接続した回路が用いられている。
Conventionally, when a switch detection circuit is provided in a chain circuit of lock type switches, a circuit is used in which the tip of the chain circuit is connected to the clear terminal 114 of the counter 104 as shown in FIG.

いま、スイッチ100が閉じたとすると、クリヤ端子1
14はアースから切り離されて% HIし4ルとなり、
カウンタ104は端子113のクロックパルスをカウン
トしてチャックリング除去のために一定のタイミング時
間経過後に、インバータ105を経由してラッチ106
にラッチパルスを出力する。
Now, if switch 100 is closed, clear terminal 1
14 is disconnected from the ground and becomes %HI, becoming 4L.
The counter 104 counts the clock pulses of the terminal 113, and after a certain timing period has elapsed to remove the chuck ring, the counter 104 outputs the clock pulse to the latch 106 via the inverter 105.
Outputs a latch pulse to.

その結果、ラッチ106では108〜111で表わされ
るスイッチ1000オン情報をラッチする。この様子を
第2図に破iaで示す。
As a result, the latch 106 latches the switch 1000 ON information represented by 108 to 111. This situation is shown in FIG. 2 by ia.

一般的にロック式でチェーン回路を構成しているスイッ
チはブロック型であり、二重押しとならないように機械
的なレリーズ機構を持っている。
Generally, the lock-type switches that make up the chain circuit are block-type and have a mechanical release mechanism to prevent double-pressing.

すなわち、スイッチ100が押し下げられてロックされ
た状態でスイッチ101を押し下げると、スイッチ10
0はロックを解除されて復旧するとともに、スイッチ1
01がロックされる。この時、第2図の破1ilbに示
すように、スイッチ100の復旧がスイッチ101のロ
ックよりも早ければ、カウンタのクリヤ端子114では
瞬間、オフ情報を検出できるため、ラッチ106にラツ
チノぞルスを出力して新たに押し下げられたスイッチの
オン情報をランチする。
That is, when the switch 101 is pressed down while the switch 100 is pressed down and locked, the switch 10
0 is unlocked and restored, and switch 1
01 is locked. At this time, as shown in Figure 2, if the switch 100 recovers faster than the switch 101 locks, the clear terminal 114 of the counter can instantaneously detect off information, so that the latch 106 is activated. Output and launch the on information of the newly pressed switch.

しかし、第2図の破線Cのように、スイッチ100の復
旧がスイッチ101の押下げよりも遅れた場合には、ク
リヤ端子114にオフ情報が現れないために、カウンタ
104に起動がかからず、新たに押し下げられたスイッ
チに関する情報を検出できない。
However, as shown by the broken line C in FIG. 2, if the recovery of the switch 100 is delayed after the depression of the switch 101, the counter 104 will not be activated because the off information will not appear on the clear terminal 114. , unable to detect information about the newly pressed switch.

このように、従来の回路では押し下り′るスイッチと復
旧するスイッチの相互間の動作タイミングによっては、
閉じられたスイッチに関づる情報を検出できない欠点が
ある。つまり、接続さJするスイッチのレリーズ機構か
機械的であるためにスイッチ相互の動作タイミングが一
様ではなくブぶり、従来の回路では確実なスイッチ検出
動作を保降できない。
In this way, in conventional circuits, depending on the timing of the operation between the switch that is pushed down and the switch that is restored,
It has the disadvantage that information regarding a closed switch cannot be detected. In other words, since the release mechanism of the connected switches is mechanical, the operation timing of the switches is not uniform and is irregular, and the conventional circuit cannot ensure reliable switch detection operation.

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

本発明の目、的+j、従来回路の欠点となっていたロッ
ク式スイッチのチェーン回10におtiるスイッチ相互
間の開閉タイミングのズレによる検出ミスを防ぐことが
できる開閉器信号検出回路を提供することにある。
The object and purpose of the present invention is to provide a switch signal detection circuit that can prevent detection errors due to a difference in opening/closing timing between switches in a chain of locking switches, which has been a drawback of conventional circuits. It's about doing.

〔発明の要点〕[Key points of the invention]

本発明は、ロック式スイッチのチェーン回路のスイッチ
オン情報を検出する回路であり、今回閉じたスイッチの
オン情報を符号化するキーエンコーダーの出力と、ラッ
チ回路に記憶されている削回閉じたスイッチのオン情報
とを比較器で比較−一致すればスイッチの開閉に変化な
しど判断し、異なわば卒またにスイッチの開閉に変化が
起きたと判断してカウンターを起動し、チャツタリング
除去後に新しいスイッチ情報を取り込むことを14!j
徴としている。
The present invention is a circuit that detects switch-on information in a chain circuit of locking switches, in which the output of a key encoder that encodes the on-information of the currently closed switch and the closed switch stored in the latch circuit are used. If they match, it is determined that there is no change in the opening and closing of the switch, and if it is different, it is determined that there has been a change in the opening and closing of the switch, the counter is activated, and a new switch is installed after chatter is removed. 14 to take in information! j
It is a sign.

〔実施例による説明〕[Explanation based on examples]

以下、本発明を図面に基づいて説明する。 Hereinafter, the present invention will be explained based on the drawings.

第3図は本発明実施例回路の回路図である。FIG. 3 is a circuit diagram of a circuit according to an embodiment of the present invention.

同図において、スイッチ200.201等を含みチェー
ン回路がg成され、このチェーン回路はキーエンコータ
2(+2に接続される。このキーエンコーダ202はス
イッチ200.201等のオン情報を符号化して出力す
る回路である。
In the figure, a chain circuit is formed including switches 200, 201, etc., and this chain circuit is connected to a key encoder 2 (+2). This key encoder 202 encodes and outputs the ON information of the switches 200, 201, etc. It is a circuit.

キルエンコーダ202の出力208〜211はラッチ2
06に専かれ、さらにこのランチ206の出力はゲ−)
 207に導かれる。そして、このラッチ206の出力
とキーエンコーダ202の出力とはそれぞれ入力217
,218として比較器21Gに導かれる。比較器216
は上記の入力217と218との比較結果が一致したと
きには′H“レベル信号を、また不一致のときには1L
ルベル信号を出力する回路であって、この出力はカウン
タ204のクリヤ端子214に導かれる。
Outputs 208 to 211 of kill encoder 202 are latch 2
06, and the output of this launch 206 is game)
Guided to 207. The output of this latch 206 and the output of the key encoder 202 are respectively input to 217.
, 218 to the comparator 21G. Comparator 216
outputs a 'H' level signal when the comparison results of the inputs 217 and 218 match, and outputs a 1L level signal when they do not match.
This circuit outputs a level signal, and this output is led to the clear terminal 214 of the counter 204.

カウンタ204けクリヤ端子に′Hlレベル信号を受け
ることによりそのカウント値をクリヤし、%’ L I
レベル’kJ号を受けている間はNORゲート203を
介して入力するクロックパルス213をカウントし、そ
のカウント値が一定値(すなわち、一定時間経過後)に
なったらラツチノにルスをインノ々−タ205を介して
ラッチ206の作動タイミング入力に送出する回路であ
る。
By receiving the 'Hl level signal at the clear terminal of the counter 204, the count value is cleared, and the %'L I
While receiving the level 'kJ', the clock pulses 213 input through the NOR gate 203 are counted, and when the count value reaches a certain value (that is, after a certain period of time), the clock pulses are input to the 205 to the activation timing input of the latch 206.

次に、上記の実施例回11・1の動作を説明する。Next, the operation of the above embodiment 11.1 will be explained.

今、スイッチ200を閉じたとすると、キーエンコーダ
202は出力208〜211にそのオン情報を出力する
。比較器216では、今回閉じられたスイッチ200の
オン情報218と前回のスイッチ情報、つまり全スイッ
チオフという情報217を比較する。
If the switch 200 is now closed, the key encoder 202 outputs its ON information to outputs 208-211. The comparator 216 compares the ON information 218 of the currently closed switch 200 with the previous switch information, that is, the information 217 that all switches are OFF.

比較した結果を!Rなることとなり、Jjr、載結呆2
】5には% L Jレベルが出力される。また、ここで
スイツチ200にチャックリングが発生したとすれば。
Check out the comparison results! It was decided that it would be R, and J.J.R. was disappointed in the performance 2
]5 outputs the %LJ level. Also, suppose that chuck ring occurs in the switch 200.

比較#11;果もチャックリングに同期して′Lルベル
と1■“レベルを繰り返す。したがって、カウンタ20
4はチャツタリングが発生している間はクリヤ端子21
4に% Ii #レベル信号を受けるのでクリキ状11
1となっている。チャツタリング終了彼、カウンタ20
4はセットされ、クロックツ々ルス213をカウントす
る。そして一定時間抜、インノ々−ター205を経由し
てラッチ、(+ルスをラッチ206に対して送出する。
Comparison #11; The result also repeats the 'L level and 1■' level in synchronization with the chuck ring. Therefore, the counter 20
4 is the clear terminal 21 while chatter is occurring.
4% Ii # Receives level signal, so 11
It is 1. Chatter ends, counter 20
4 is set and counts the clock pulse 213. After a certain period of time, the latch (+) is sent to the latch 206 via the innovator 205.

第4図の破線aは以上のq9作の場合の各4重1号波形
を示したものである。ラッチ2()6ではスイッチ20
00オン情報を取り込んで記憶するとともに、これを出
力1′る。ここで比較器215への入力217と入力2
18とは一致し、比較結果215は′I(ルベルどなり
、カウンタ204はクリヤされる。したがってこの状態
を次のスイッチ情報に変化がある時まで継続する。やが
て、端子212にnil取りノゼルスが到来し、ゲート
207を制御し、スイッチ情報を読み取る。
The broken line a in FIG. 4 shows each quadruple No. 1 waveform in the case of the above q9 production. Switch 20 in latch 2()6
00 ON information is taken in and stored, and this is output 1'. Here input 217 to comparator 215 and input 2
18, and the comparison result 215 is 'I (rubel), and the counter 204 is cleared. Therefore, this state continues until the next switch information changes. Eventually, a nil removal noise arrives at the terminal 212. control the gate 207 and read the switch information.

次に、第4図の破線すに示すように、スイッチ201を
押し下げた時に201の閉じるタイミングがスイッチ2
000俵田よりも遅い場合あるい&J破線Cに示すよう
に逆にスイッチ200の復旧が星い場合について説明す
ると、いずれの場合もチャックリング除去後にカウンタ
204が起gelされて一定時間経過後忙ランチ206
へラッチパルスを出力している。したがって、従来回路
の欠点となっていた破線Cによるタイミングの場合でも
問題なく新しいスイッチ情報の検出が行える。このよう
に、不発ツJによりば従来回路に比較器を追加するだけ
で、確実な動作を(Jることかできる。
Next, as shown by the broken line in FIG.
000 Tawarada, or conversely, the recovery of the switch 200 is slow as shown by &J dashed line C. In either case, the counter 204 is activated after the chuck ring is removed, and after a certain period of time, the busy lunch is completed. 206
A latch pulse is output. Therefore, new switch information can be detected without any problem even in the case of the timing according to the broken line C, which is a drawback of the conventional circuit. In this way, reliable operation can be achieved by simply adding a comparator to the conventional circuit.

なお、実施例回路はロック式スイッチのチェーン回路に
応用したものを示したが、本発明はこれに限定されるも
のではなく、ノンロック式スイッチで特に2重押しで使
用する検出回路のチャツタリング除去回路どしても最j
〜である。
Although the example circuit is applied to a chain circuit of locking type switches, the present invention is not limited to this, and the present invention is applied to a non-locking type switch, in particular, to eliminate chattering in a detection circuit used for double pressing. The circuit is the best
It is ~.

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

以上説明したように、本発明によれば、切替えスイッチ
の押下げ、復旧の動作タイミングに関係なく、チェーン
回路の切替えスイッチのオン情報を確実に検出すること
かできる。
As described above, according to the present invention, it is possible to reliably detect the ON information of the changeover switch of the chain circuit, regardless of the operation timing of pressing down and restoring the changeover switch.

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

第1回目′J゛従北例の回路図。 第2Mは従来何回N+’iの動作のタイミングチャート
 。 第6図1本発明宍施例回路の回路図。 紀41¥41は第3図史施例回に’uの動作のタイミン
グチャート3、 ioo 、  1.01.200.2.01・・・ロッ
ク式スイッチ、102.202・・・キーエンコーダ、
+03.203・・・NORゲート、104.204・
・・カウンタ、105.205・・・インノ々−タ、1
(lfi、、206・・・ラップ、107.207・・
・ゲート、216・・・比較器。 1時a′1出願人 日斗′lC気抹式会社代理人 弁理
士共 出 直 孝
Circuit diagram of the 1st 'J' example. The second M is a timing chart of the conventional operation of N+'i. FIG. 6 is a circuit diagram of an embodiment of the present invention. 41 ¥41 is the timing chart of 'u's operation in the 3rd figure history example episode 3, ioo, 1.01.200.2.01...Lock type switch, 102.202...Key encoder,
+03.203...NOR gate, 104.204.
...Counter, 105.205...Innovator, 1
(lfi,, 206...lap, 107.207...
- Gate, 216... Comparator. 1:a'1 Applicant: Nichito'lC company agent and patent attorney: Naotaka Izu

Claims (1)

【特許請求の範囲】[Claims] (1)複数の切替えスイッチのブレーク接点と隣の共通
接点とが直列に接続されてなるチェーン回路と、 このチェーン回路に接続されて上記切替えスイッチのオ
ン情報を符号化するエンコーダと、このエンコーダの出
力を記憶保持するとともに出力するラッチ回路と、 このラッチ回路が作動するタイミ゛ングを決定するカウ
ンタと を備えた開閉器信号検出回路において、上記エンコーダ
の出力と上記ラッチ回路の出力を比較する比較回路を備
え、 この比較回路の出力に応じて上記カウンタが起動される
ように構成されたことを特徴とする開閉器信号検出回路
(1) A chain circuit in which the break contacts of a plurality of changeover switches and an adjacent common contact are connected in series; an encoder connected to this chain circuit to encode ON information of the changeover switches; In a switch signal detection circuit that includes a latch circuit that stores and outputs the output, and a counter that determines the timing at which this latch circuit operates, the output of the encoder is compared with the output of the latch circuit. 1. A switch signal detection circuit comprising: a circuit, wherein the counter is activated in response to an output of the comparison circuit.
JP57148033A 1982-08-25 1982-08-25 Switch signal detecting circuit Pending JPS5937732A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57148033A JPS5937732A (en) 1982-08-25 1982-08-25 Switch signal detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57148033A JPS5937732A (en) 1982-08-25 1982-08-25 Switch signal detecting circuit

Publications (1)

Publication Number Publication Date
JPS5937732A true JPS5937732A (en) 1984-03-01

Family

ID=15443607

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57148033A Pending JPS5937732A (en) 1982-08-25 1982-08-25 Switch signal detecting circuit

Country Status (1)

Country Link
JP (1) JPS5937732A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03239011A (en) * 1990-02-16 1991-10-24 Seikosha Co Ltd Input processing circuit
JPH03266518A (en) * 1990-03-16 1991-11-27 Fujitsu Ltd Mode output changeover circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03239011A (en) * 1990-02-16 1991-10-24 Seikosha Co Ltd Input processing circuit
JPH03266518A (en) * 1990-03-16 1991-11-27 Fujitsu Ltd Mode output changeover circuit

Similar Documents

Publication Publication Date Title
US3597539A (en) Frame synchronization system
US5168181A (en) Spike filtering circuit for logic signals
JPS5937732A (en) Switch signal detecting circuit
US8324938B2 (en) Self-timed trigger circuit with single-rail data input
EP1097513B1 (en) Clock pulse degradation detector
US4209834A (en) State variant correlator
US3612907A (en) Self-checking flip-flop
JPH01268330A (en) Cmi block synchronizing system
US5510786A (en) CMI encoder circuit
SU1511843A1 (en) Device for detecting failures in stepping electric drive
SU1157540A1 (en) Device for comparing numbers
JPH08181588A (en) Clock interruption detection circuit
JPS6258725A (en) Counter circuit
RU2136111C1 (en) Device for loop synchronization
SU1292216A1 (en) Adaptive restoring member
KR100232868B1 (en) Clock states detecting circuit
SU1128391A1 (en) Ring counter
SU1420665A1 (en) Self-check computing device
SU1019600A1 (en) Device for forming pulse sequences
SU1188922A1 (en) Control device for switching stand-by units
SU1702374A1 (en) Device for monitoring pulse sequence
SU938425A1 (en) Redundancy generator
SU1675874A1 (en) Data input device
SU797075A1 (en) Redundancy pulse counter
RU1786487C (en) Digital device