JPH0341817A - Switch operation monitor circuit - Google Patents
Switch operation monitor circuitInfo
- Publication number
- JPH0341817A JPH0341817A JP17618689A JP17618689A JPH0341817A JP H0341817 A JPH0341817 A JP H0341817A JP 17618689 A JP17618689 A JP 17618689A JP 17618689 A JP17618689 A JP 17618689A JP H0341817 A JPH0341817 A JP H0341817A
- Authority
- JP
- Japan
- Prior art keywords
- switch
- output
- receiving elements
- light receiving
- light
- 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.)
- Ceased
Links
Landscapes
- Rotary Switch, Piano Key Switch, And Lever Switch (AREA)
- Electronic Switches (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
[発明の目的]
(産業上の利用分野)
この発明は、光を媒体としてスイッチ選択を得る例えば
ロータリースイッチの誤動作を監視するスイッチ動作監
視回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a switch operation monitoring circuit that obtains switch selection using light as a medium and monitors malfunctions of, for example, a rotary switch.
(従来の技術)
複数の受光素子に対して発光素子を選択的に対向させて
、前記複数の受光素子の出力をラッチするスイッチ回路
がある。この種のスイッチ回路は、構成が簡単で小形軽
量であるという利点がある。しかし、光を媒体としてい
るので、外部からの光で誤動作を生じやすいという欠点
もある。この欠点を除去するためには、外部筐体の光遮
蔽を確実にする必要があるが、これでは外部筐体の価格
が高くなる。また、外部筐体を密閉形にすると、試験や
補修、点検の作業のとき不便であり、また外部の光が侵
入する状態で作業を行うと反射光等により誤動作を生じ
正確な試験を行うことができない。(Prior Art) There is a switch circuit that selectively opposes a light emitting element to a plurality of light receiving elements and latches the outputs of the plurality of light receiving elements. This type of switch circuit has the advantage of being simple in structure, small in size, and lightweight. However, since it uses light as a medium, it also has the drawback of being susceptible to malfunctions due to external light. In order to eliminate this drawback, it is necessary to ensure that the external housing is light-shielded, but this increases the cost of the external housing. Additionally, if the external casing is sealed, it is inconvenient during testing, repair, and inspection work, and if work is performed with outside light penetrating, reflected light may cause malfunctions, making it difficult to perform accurate tests. I can't.
(発明が解決しようとする課題)
上記したように、光を媒体とするスイッチ装置において
は、外部光による誤動作防止を確実に得ようとすると、
筐体の価格が高くなり、また拭験や点検を行う場合に反
射光等により誤動作を生じ易いという問題がある。(Problems to be Solved by the Invention) As described above, in a switch device that uses light as a medium, in order to reliably prevent malfunctions caused by external light,
There are problems in that the price of the housing is high and that malfunctions are likely to occur due to reflected light etc. when performing wiping tests or inspections.
そこでこの発明は、簡単な手段により誤動作によるスイ
ッチ出力を停止させることができ、信頼性の高いスイッ
チ出力を得るスイッチ動作監視回路を提供することを目
的とする。SUMMARY OF THE INVENTION An object of the present invention is to provide a switch operation monitoring circuit that can stop switch output due to malfunction by simple means and provides highly reliable switch output.
[発明の構成]
(課題を解決するための手段)
この発明は、複数の受光素子に対して発光素子を選択的
に対向させることにより、前記複数の受光素子の状態を
示すスイッチ選択出力を得るスイッチ手段と、前記スイ
ッチ選択出力をラッチするラッチ回路手段と、前記複数
の受光素子からのスイッチ選択出力が入力され、これを
シフトしてカウンタに入力するシフトレジスタ手段と、
前記カウンタの出力と所定値とを比較し、一致する場合
にのみ前記ラッチ回路手段の出力を導出せしめる比較手
段とを備えるものである。[Structure of the Invention] (Means for Solving the Problems) The present invention obtains a switch selection output indicating the state of the plurality of light receiving elements by selectively arranging a light emitting element to face a plurality of light receiving elements. a switch means, a latch circuit means for latching the switch selection output, and a shift register means for inputting the switch selection output from the plurality of light receiving elements, shifting it and inputting it to a counter;
The apparatus further comprises comparison means for comparing the output of the counter with a predetermined value and deriving the output of the latch circuit means only when they match.
(作用)
上記の手段により、誤動作によるスイッチ選択出力が発
生しても、その内容は比較器において点検され、ラッチ
回路から誤った信号が出力されることがない。(Function) With the above means, even if a switch selection output occurs due to a malfunction, its content is checked in the comparator, and an erroneous signal will not be output from the latch circuit.
(実施例) 以下、この発明の実施例を図面を参照して説明する。(Example) Embodiments of the present invention will be described below with reference to the drawings.
第1図はこの発明の一実施例である。この実施例は、可
動部11としての発光素子が1個であり、固定部12と
しての受光素子が7個の例である。FIG. 1 shows an embodiment of the present invention. In this embodiment, the number of light emitting elements as the movable part 11 is one, and the number of light receiving elements as the fixed part 12 is seven.
従って、スイッチ選択が行われた状態では、受光素子Q
1〜Q7の出力のうちいずれか1つがローレベルとなる
。Therefore, in the state where the switch selection is performed, the light receiving element Q
Any one of the outputs of Q1 to Q7 becomes low level.
各受光素子Q1〜Q7の出力は、ラッチ回路13および
シフトレジスタ14に入力され、スイッチ選択動作が終
了した時点で同時ラッチパルスにより取込まれる。ラッ
チ回路13の出力は、スイッチ選択出力としてゲート回
路15を通り、被制御部に供給されるが、このゲート回
路15が導通状態に制御されたときのみ被制御部に供給
される。シフトレジスタ14の格納データは、クロック
により転送され、カウンタ16に供給される。The outputs of the respective light receiving elements Q1 to Q7 are input to the latch circuit 13 and the shift register 14, and are taken in by simultaneous latch pulses when the switch selection operation is completed. The output of the latch circuit 13 passes through the gate circuit 15 as a switch selection output and is supplied to the controlled section, but is supplied to the controlled section only when the gate circuit 15 is controlled to be in a conductive state. The data stored in the shift register 14 is transferred by the clock and supplied to the counter 16.
これにより、受光素子Q1〜Q7の状態を示す内容がカ
ウント値により得られる。カウンタ16の出力Aは、比
較器17において所定値Bと比較される。この所定値は
「6」である。つまり、受光素子Q1〜Q7の出力のう
ち1つがローレベルであれば、他のハイレベルをカウン
トすれば、必ず「6」になるはずである。「6」以外の
ときは、誤動作が発生していることである。よって、比
較器17は、A−Bのときのみ、ゲート回路15を導通
状態に制御する。Thereby, contents indicating the states of the light receiving elements Q1 to Q7 can be obtained from the count values. The output A of the counter 16 is compared with a predetermined value B in a comparator 17. This predetermined value is "6". In other words, if one of the outputs of the light-receiving elements Q1 to Q7 is at a low level, counting the outputs from the other high levels will definitely result in "6". A value other than "6" indicates that a malfunction has occurred. Therefore, the comparator 17 controls the gate circuit 15 to be in a conductive state only when A-B.
上記したように、この実施例によるとスイッチ部におい
て誤動作が発生しているか否かを監視し、正常な場合の
み出力を得られるようにしている。As described above, according to this embodiment, it is monitored whether or not a malfunction has occurred in the switch section, and an output is obtained only when the switch section is normal.
なお上記の例は、発光素子が1個の例であるが、これに
限らず2個あるいはそれ以上であってもよい。この場合
は、受光素子数の関連で、所定値も適宜選定される。Note that in the above example, the number of light emitting elements is one, but the number of light emitting elements is not limited to this, and the number of light emitting elements may be two or more. In this case, the predetermined value is also appropriately selected in relation to the number of light receiving elements.
また、ラッチパルスの発生タイミングは、発光素子の動
きが停止してから得られるように、タイiミング回路(
図示せず)が設けられており、ラッチパルスが得られた
後で、シフトレジスタにおけるデータシフトが行われる
。In addition, the latch pulse generation timing is determined by the timing i circuit (
(not shown) is provided, and data shifting in the shift register is performed after the latch pulse is obtained.
スイッチ部の構造的な実施例は、各種の実施例が可能で
ある。例えば第2図に示すように受光素子Q1〜Q7を
固定基板21に円形配列し、その配列に沿って発光素子
Q10が回転するようなロータロースイッチ方式がある
。また、受光素子を線形に配列して、この線形配列に沿
って発光素子が移動するスライド方式であってもよい。Various structural embodiments of the switch section are possible. For example, as shown in FIG. 2, there is a rotary low switch system in which light-receiving elements Q1 to Q7 are arranged circularly on a fixed substrate 21, and a light-emitting element Q10 rotates along the arrangement. Alternatively, a sliding method may be used in which the light receiving elements are linearly arranged and the light emitting elements are moved along this linear arrangement.
[発明の効果]
以上説明したようにこの発明は、簡単な手段により誤動
作によるスイッチ出力を停止させることができ、信頼性
の高いスイッチ出力を得ることができる。[Effects of the Invention] As explained above, according to the present invention, switch output due to malfunction can be stopped by simple means, and highly reliable switch output can be obtained.
第1図はこの発明の一実施例を示す回路図、第2図はス
イッチ部の構造例を示す説明図である。
11・・・可動部、12・・・固定部、13・・・ラッ
チ回路、14・・・シフトレジスタ、15・・・ゲート
回路、1
6・・・カウンタ、
7・・・比較器。FIG. 1 is a circuit diagram showing an embodiment of the present invention, and FIG. 2 is an explanatory diagram showing an example of the structure of a switch section. DESCRIPTION OF SYMBOLS 11... Movable part, 12... Fixed part, 13... Latch circuit, 14... Shift register, 15... Gate circuit, 1 6... Counter, 7... Comparator.
Claims (1)
ことにより、前記複数の受光素子の状態を示すスイッチ
選択出力を得るスイッチ手段と、前記スイッチ選択出力
をラッチするラッチ回路手段と、 前記複数の受光素子からのスイッチ選択出力が入力され
、これをシフトしてカウンタに入力するシフトレジスタ
手段と、 差異カウンタの出力と所定値とを比較し、一致する場合
にのみ差異ラッチ回路手段の出力を導出せしめる比較手
段とを具備したことを特徴とするスイッチ動作監視回路
。[Scope of Claims] A switch means for obtaining a switch selection output indicating the state of the plurality of light receiving elements by selectively arranging a light emitting element to face a plurality of light receiving elements, and a latch for latching the switch selection output. circuit means; shift register means to which the switch selection outputs from the plurality of light receiving elements are inputted; shift register means for shifting the output and inputting it to a counter; and comparing the output of the difference counter with a predetermined value, and detecting a difference only when they match. A switch operation monitoring circuit comprising: comparison means for deriving the output of the latch circuit means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17618689A JPH0341817A (en) | 1989-07-07 | 1989-07-07 | Switch operation monitor circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17618689A JPH0341817A (en) | 1989-07-07 | 1989-07-07 | Switch operation monitor circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0341817A true JPH0341817A (en) | 1991-02-22 |
Family
ID=16009154
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP17618689A Ceased JPH0341817A (en) | 1989-07-07 | 1989-07-07 | Switch operation monitor circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0341817A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006335669A (en) * | 2005-05-31 | 2006-12-14 | Yoshino Kogyosho Co Ltd | Bath medicine storage container |
-
1989
- 1989-07-07 JP JP17618689A patent/JPH0341817A/en not_active Ceased
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006335669A (en) * | 2005-05-31 | 2006-12-14 | Yoshino Kogyosho Co Ltd | Bath medicine storage container |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4001818A (en) | Digital circuit failure detector | |
| KR870000114B1 (en) | Data processing systems | |
| US3585376A (en) | Positioning system | |
| US3046523A (en) | Counter checking circuit | |
| US6105156A (en) | LSI tester for use in LSI fault analysis | |
| KR0150459B1 (en) | Inspection Devices and Inspection Methods for Integrated Circuits | |
| SU441532A1 (en) | Device for detecting faults in logic circuits | |
| SU1130880A1 (en) | Device for checking electric wiring | |
| SU1176333A1 (en) | Device for checking multioutrut digital units | |
| SU960826A1 (en) | Digital unit checking device | |
| SU1071979A1 (en) | Device for digital assembly diagnostics | |
| SU1378050A1 (en) | Self-check countung device | |
| RU2099777C1 (en) | Device which searches for alternating fails in microprocessor systems | |
| SU1062623A1 (en) | Device for checking pulses | |
| SU661552A1 (en) | Device for test diagnosis of logic units | |
| SU1290213A1 (en) | Device for checking logical equipment | |
| SU1193679A1 (en) | Device for checking logic units | |
| SU1059576A1 (en) | Device for checking digital units | |
| SU393700A1 (en) | DEVICE FOR THE CONTROL OF THE OPERATION OF SWITCHING ELECTRIC EQUIPMENT | |
| SU1160414A1 (en) | Device for checking logic units | |
| SU858210A1 (en) | Multichannel analyzer of logic states | |
| SU450138A1 (en) | Fault finding device | |
| SU634291A1 (en) | Wiring checking arrangement | |
| SU1394181A1 (en) | Device for checking electric plug-to-plug connections | |
| SU1243099A1 (en) | Logic analy]er |