JPS5911434A - Digital input circuit - Google Patents

Digital input circuit

Info

Publication number
JPS5911434A
JPS5911434A JP57121080A JP12108082A JPS5911434A JP S5911434 A JPS5911434 A JP S5911434A JP 57121080 A JP57121080 A JP 57121080A JP 12108082 A JP12108082 A JP 12108082A JP S5911434 A JPS5911434 A JP S5911434A
Authority
JP
Japan
Prior art keywords
input
circuit
turned
output circuit
switch
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
JP57121080A
Other languages
Japanese (ja)
Inventor
Seiichi Shiba
柴 誠一
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.)
Azbil Corp
Original Assignee
Azbil 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 Azbil Corp filed Critical Azbil Corp
Priority to JP57121080A priority Critical patent/JPS5911434A/en
Publication of JPS5911434A publication Critical patent/JPS5911434A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M11/00Coding in connection with keyboards or like devices, i.e. coding of the position of operated keys
    • H03M11/20Dynamic coding, i.e. by key scanning

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To judge accurately a switching element to be turned on, by providing a shift register close to plural switches and an FET for using three wirings connecting an input/output circuit and each circuit. CONSTITUTION:When a load signal (a) is transmitted from an input/output circuit I/O based on the operation of a processor CPU, an ''L'' is set to the 1st stage S0, an ''H'' is set to other stages S1-Sn, the ''L'' of the 1st stage S0 is shifted sequentially to the next stage S1 and succeeding according to a clock pulse (b) transmitted from the circuit I/O succeedingly, and outputs (c)-(g) of the stages S0-Sn go successively to ''L''. For example, if only the switch K2 is turned on, an output signal (h) goes to ''L'' corresponding to the 2nd pulse of the pulse (b) and is given to the CPU via the circuit I/O. As a result, the CPU judges the switch K2 to be turned on from the relation of synchronism between the pulse (b) and the signal (h) and the required number of wirings is taken as three.

Description

【発明の詳細な説明】 本発明は、プロセッサに対し、入出力回路を介して複数
個のスイッチング素子の状態を入力として与えるディジ
タル入力回路の改良に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an improvement in a digital input circuit that provides the states of a plurality of switching elements as input to a processor via an input/output circuit.

第1図および第2図は従来例を示す構成図であシ、第1
図においては、プロセッサCPUと接続された入出力回
路I 10に対し、スイッチング素子としてのスイン−
f Kl 〜Knおよび入力INに応じてオンとなるト
ランジスタQを各個別に接続しているが、第2図におい
ては、スイッチに1.〜Knをマトリクス状に接続して
おシ、入出力回路I10から縦軸母線に対し、走査信号
Ssl〜Smlを各個別のタイミングによシ送出のうえ
、これと対応する横軸母線の出力信号5olxSonを
入出力回路I10によシ受は取り、プロセッサCPUが
走査信号5III〜Ss’と出力信号Sol〜Sonと
の同期関係に基づき、スイッチに1〜Kn中のオンとな
ったものを判断している。
Figures 1 and 2 are configuration diagrams showing conventional examples.
In the figure, an input/output circuit I 10 connected to a processor CPU is connected to a switch as a switching element.
The transistors Q, which are turned on according to f Kl to Kn and the input IN, are individually connected, but in FIG. 2, the switches 1. ~Kn are connected in a matrix, the input/output circuit I10 sends out scanning signals Ssl to Sml to the vertical bus line at individual timings, and the corresponding output signals of the horizontal bus line are sent. 5olxSon is received by the input/output circuit I10, and the processor CPU determines which of the switches 1 to Kn is turned on based on the synchronization relationship between the scanning signals 5III to Ss' and the output signals Sol to Son. ing.

しかし、第1図および第2図の構成においては、スイッ
チに、〜Knの数に応じて入出力回路I10との間の布
線量が増大し、特にスイッチに、〜Knまたはトランジ
スタQと入出力回路I10との距離が大となる場合は、
線材費および布線工数費が高価となる欠点を生じている
However, in the configurations of FIGS. 1 and 2, the amount of wiring between the switch and the input/output circuit I10 increases depending on the number of ~Kn, and in particular, the amount of wiring between the switch and the input/output circuit I10 increases depending on the number of ~Kn or the transistor Q. If the distance from circuit I10 is large,
The disadvantage is that the wire material cost and the wiring man-hour cost are high.

また、第2図においては、同時に3個のスイッチがオン
となった場合、オンとなったスイッチの判断に誤りを生
ずる欠点を招来するものとなっている。
Furthermore, in FIG. 2, if three switches are turned on at the same time, this results in a drawback that an error occurs in determining which switch is turned on.

すなわち、例えば、スイッチKI+に!およびKlが同
時にオンとなれば、走査信号Ss2がスイッチに!−ス
イッチに、−スイッチに7を介して出力信号Sonとな
シ、本来はスイッチに!のみがオンと判断されるべきと
ころ、スイッチKmもオンと判断されるものになる。
That is, for example, on the switch KI+! If Kl and Kl are turned on at the same time, the scanning signal Ss2 is turned on! - to the switch, to the -switch through 7 to the output signal Son, originally to the switch! Only switch Km should be judged to be on, but switch Km is also judged to be on.

本発明は、従来のかかる諸欠点を根本的に排除する目的
を有し、入出力回路からのロード信号に応じて初段へ特
定状態の信号がセットされ、かつ、クロックパルスにし
たがってシフト動作を行なうシフトレジスタを設けると
共に、−極がシフトレジスタの各段出力へ各個に接続さ
れ、かつ、他極が共通接続のうえ入出力回路へ接続され
る複数のスイッチング素子を設けた極めて効果的な、デ
ィジタル入力回路を提供するものである。
The present invention has the purpose of fundamentally eliminating such drawbacks of the conventional technology, and a signal of a specific state is set to the first stage in response to a load signal from an input/output circuit, and a shift operation is performed in accordance with a clock pulse. An extremely effective digital device that includes a shift register and a plurality of switching elements whose negative poles are individually connected to the output of each stage of the shift register, and whose other poles are commonly connected and connected to the input/output circuit. It provides an input circuit.

以下、実施例を示す第3図以降によシ本発明の詳細な説
明する。
The present invention will be described in detail below with reference to FIG. 3 showing an embodiment.

第3図は構成を示すブロック図、第4図は第3図におけ
る各部の波形を示すタイミングチャートであυ、第3図
においては、入出力回路エカからロード信号(8)およ
びクロックパルス(b)の4tられるシフトレジスタS
Rが設けであると共に、−極がシフトレジスタSRにお
ける各段5I−8nの出力へ各個に接続され、かつ、他
極が共通接続のうえ入出力回路I10へ接続された複数
のスイッチに、〜Kmおよび電界効果形トランジスタ(
以下、FET)Qfが設けてあり、シフトレジスタSR
のセット入力としては、初段S0へ共通電位が与えられ
ている一方、他の段81〜Snには電源Vcが与えられ
ている。
FIG. 3 is a block diagram showing the configuration, and FIG. 4 is a timing chart showing waveforms of each part in FIG. ) 4t shift register S
R is provided, and the negative poles are individually connected to the outputs of the stages 5I-8n in the shift register SR, and the other poles are commonly connected and connected to the input/output circuit I10, ~ Km and field effect transistor (
Hereinafter, FET) Qf is provided, and a shift register SR
As a set input, a common potential is applied to the first stage S0, while a power supply Vc is applied to the other stages 81 to Sn.

このため、プロセッサCPUの動作に基づき、入出力回
路i10からロード信号(、)が送出されると、初段S
oKは’L“(低レベル)がセットされる反面、他の段
S、〜Snには1H′(高レベル)がセットされ、つソ
いて入出力回路し句から送出されるクロックパルス(b
)にしたがい、初段S1ρの% L l が次段S、以
降へ逐次シフトし、各段S。〜Snの出力(01〜(g
)が順次に% L Iとして生じ、例えば、スイッチK
Therefore, when a load signal (,) is sent from the input/output circuit i10 based on the operation of the processor CPU, the first stage S
oK is set to 'L' (low level), while other stages S and ~Sn are set to 1H' (high level), and the clock pulse (b) sent from the input/output circuit is
), the % L l of the first stage S1ρ is sequentially shifted to the next stage S and thereafter. ~Output of Sn (01~(g
) occur sequentially as % L I, for example switch K
.

のみがオ/になっているものとすれば、クロックパルス
(b)の第2パルス2と対応して出力信号(h)が% 
L lとなり、これがプロセッサCPUに対する入力と
して入出力回路I10へ与えられる。
If only the output signal (h) is turned on/off, the output signal (h) will be % in response to the second pulse 2 of the clock pulse (b).
L l is given to the input/output circuit I10 as an input to the processor CPU.

したがって、プロセッサCPUにおいては、クロックパ
ルス(b)と出力信号(h)との同期関係に基づき、オ
ンとなっているスイッチに!を判断することができる。
Therefore, in the processor CPU, based on the synchronization relationship between the clock pulse (b) and the output signal (h), which switch is turned on? can be judged.

なお、他のスイッチKI、 Km等および、入力INに
応じてFET−Qfがオンとなっているときも、同様に
クロックパルス(a)と出力信号(h)との同期関係に
したがってオンとなっているものを判断することができ
ると共に、複数のスイッチング素子が同時にオンとなっ
ていても、これらを各個別に判断することができる。
Note that when other switches KI, Km, etc. and FET-Qf are turned on according to the input IN, they are also turned on according to the synchronization relationship between the clock pulse (a) and the output signal (h). In addition, even if a plurality of switching elements are turned on at the same time, they can be determined individually.

したがって、スイッチに、〜KmおよびFET−Qfへ
近接してシフトレジスタSRを設ければ、入出力回路I
10との間の布線が3本のみになる一方、スイッチング
素子のオンとなっているものを正確に判断することがで
きる。
Therefore, if the switch is provided with a shift register SR close to ~Km and FET-Qf, the input/output circuit I
10, while only three wires are required, it is possible to accurately determine which switching elements are turned on.

だyし、スイッチに1〜KmおよびFET−Qfのはか
に、リレー接点、各種半導体素子等をスイッチング素子
と用いてもよく、初段S。ヘセットされる特定状態の信
号を′L′とせず% Hlとすることも任意であシ、ク
ロックパルス(b)の後縁によシフトレジスタSRがシ
フト動作を行なうときは、初段Soを省略し、次段Sl
を初段としてもよい等、本発明は種々の変形が自在であ
る。
However, a switch of 1 to Km, a FET-Qf scale, a relay contact, various semiconductor elements, etc. may be used as the switching element, and the first stage S. It is optional to set the specific state signal to %Hl instead of 'L', and when the shift register SR performs a shift operation by the trailing edge of the clock pulse (b), the first stage So can be omitted. , next stage Sl
The present invention can be modified in various ways, such as being able to be used as the first stage.

以上の説明により明らかなとおυ本発明によれば、簡単
な構成によシ、入出力回路との間の布線数が減少すると
共に、オンとなったスイッチング素子を確実に判断でき
るものとなシ、各種用途におけるディジタル入力回路と
して顕著な効果が得られる。
As is clear from the above explanation, according to the present invention, the number of wires connected to the input/output circuit is reduced due to the simple configuration, and it is possible to reliably determine which switching element is turned on. Furthermore, remarkable effects can be obtained as a digital input circuit for various uses.

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

第1図および第2図は従来例を示す構成図、第3図は本
発明の実施例を示すブロック図、第4図は第3図におけ
る各部の波形を示すタイミングチャートである。 CPU・・−−プロセッサ、Ilo・・−・入出力回路
、K1〜Km・・・・スイッチ、Qf・・・・FET(
電界効果形トランジスタ)、SR・・・・シフトレジス
タ、(a)・・・・ロード信号、(b)・・・−クロッ
クパルス。 特許出願人  山武ハネウェル株式会社代 理 人  
山  川  政  樹(ほか1名)第1図 第2図
1 and 2 are configuration diagrams showing a conventional example, FIG. 3 is a block diagram showing an embodiment of the present invention, and FIG. 4 is a timing chart showing waveforms of various parts in FIG. CPU...---Processor, Ilo...Input/output circuit, K1~Km...Switch, Qf...FET (
(field effect transistor), SR...shift register, (a)...load signal, (b)...-clock pulse. Patent applicant Yamatake Honeywell Co., Ltd. Agent
Masaki Yamakawa (and 1 other person) Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] プロセッサに対し入出力回路を介して複数個のスイッチ
ング素子の状態を与えるディジタル入力回路において、
前記入出力回路からのロード信号に応じて初段へ特定状
態の信号がセットされかつクロックパルスにしたがって
シフト動作を行なうシフトレジスタと、−極が前記シフ
トレジスタの各段出力へ各個に接続されかつ他極が共通
接続のうえ前記入出力回路へ接続された複数のスイッチ
ング素子とからなることを特徴とするディジタル入力回
路。
In a digital input circuit that provides the states of multiple switching elements to a processor via an input/output circuit,
a shift register in which a signal of a specific state is set to the first stage in response to a load signal from the input/output circuit and performs a shift operation in accordance with a clock pulse; A digital input circuit comprising a plurality of switching elements whose poles are commonly connected and connected to the input/output circuit.
JP57121080A 1982-07-12 1982-07-12 Digital input circuit Pending JPS5911434A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57121080A JPS5911434A (en) 1982-07-12 1982-07-12 Digital input circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57121080A JPS5911434A (en) 1982-07-12 1982-07-12 Digital input circuit

Publications (1)

Publication Number Publication Date
JPS5911434A true JPS5911434A (en) 1984-01-21

Family

ID=14802357

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57121080A Pending JPS5911434A (en) 1982-07-12 1982-07-12 Digital input circuit

Country Status (1)

Country Link
JP (1) JPS5911434A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62192817A (en) * 1986-02-20 1987-08-24 Matsushita Electric Ind Co Ltd Input device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62192817A (en) * 1986-02-20 1987-08-24 Matsushita Electric Ind Co Ltd Input device
JPH0762816B2 (en) * 1986-02-20 1995-07-05 松下電器産業株式会社 Input device

Similar Documents

Publication Publication Date Title
KR860001482A (en) IC device
JPH0682146B2 (en) Sukiyanpass type logic integrated circuit
KR850008567A (en) Semiconductor integrated circuit
JPS5911434A (en) Digital input circuit
JPS63215212A (en) Pulse circuit
JP3214581B2 (en) Test circuit
JPS6136947A (en) Semiconductor device
SU1175026A1 (en) Multichannel switching device
JPH0434616Y2 (en)
JP2881788B2 (en) Video signal switching device
SU706929A1 (en) Order selector
JPS5911433A (en) Digital input display device
SU486462A1 (en) Pulse trainer
SU1218457A1 (en) Device for comparing pulse signals
KR830005794A (en) Ghost Removal Device
SU526941A1 (en) A device for selecting beats
SU1679613A2 (en) Device control pulse sequences
KR100210780B1 (en) Data matching circuit of time slot switch between processor and device
JPH05236026A (en) Digital signal monitor circuit
JPS59191634A (en) Priority deciding system
JPS61264597A (en) Shift register control system
KR880014469A (en) Bit sequential signal scaling device
JPS61287298A (en) One-after-another connection system
JPS6258759U (en)
JPS635278A (en) Testing circuit of semiconductive integrated circuit