KR860003476Y1 - Input switch state displaying device of microcomputer - Google Patents
Input switch state displaying device of microcomputer Download PDFInfo
- Publication number
- KR860003476Y1 KR860003476Y1 KR2019840012856U KR840012856U KR860003476Y1 KR 860003476 Y1 KR860003476 Y1 KR 860003476Y1 KR 2019840012856 U KR2019840012856 U KR 2019840012856U KR 840012856 U KR840012856 U KR 840012856U KR 860003476 Y1 KR860003476 Y1 KR 860003476Y1
- Authority
- KR
- South Korea
- Prior art keywords
- microcomputer
- voltage
- output
- input terminal
- switch
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Electronic Switches (AREA)
Abstract
내용 없음.No content.
Description
제 1 도는 본 고안의 회로도.1 is a circuit diagram of the present invention.
제 2 도는 종래의 회로도.2 is a conventional circuit diagram.
제 3 도는 본 고안 회로 각부의 신호 파형도.3 is a signal waveform diagram of each part of the circuit of the present invention.
본 고안은 마이크로 컴퓨터에 신호를 입력시키는 스위치의 온, 오프 상태를 컴퓨터부에서 판별하여 소수의 신호전송선을 통해 신호전송이 이루어지도록한 입력 스위치 상태 판별장치의 구성에 관한 것이다.The present invention relates to a configuration of an input switch state determination device for determining whether an on or off state of a switch for inputting a signal to a microcomputer is to be transmitted through a small number of signal transmission lines.
종래에는 마이크로 컴퓨터와 신호입력 스위치간에 신호전송선을 배선하여 입력스위치의 온 또는 오프 상태를 판별하였으나 제 2 도에 도시된 바와 같이 6개의 스위치(S11-S16)들의 상태를 판별하는데 최소한 5개의 신호전송선(13-17)이 필요하게 되었으므로 전선수가 많아서 좁은 공간에서 배선하기가 어렵고 배선상태도 복잡해지게 되었으며, 보수 또는 수리할 때에도 어려움이 많았다.Conventionally, a signal transmission line is wired between a microcomputer and a signal input switch to determine an on or off state of an input switch. However, as shown in FIG. 2, at least five signals are used to determine the states of six switches S 11 to S 16 . Since the signal transmission line (13-17) is required, it is difficult to wire in a narrow space due to the number of wires, and the wiring state becomes complicated, and there are many difficulties in repair or repair.
또 입력 스위치부(11)와 컴퓨터부(12)가 많이 떨어져 있을 때는 전선의 전체 소요 길이가 증가하게 되어 비경제적이고 배선 작업하는데 시간도 많이 소요되어 비능률적인 문제점이 있었다.In addition, when the input switch unit 11 and the computer unit 12 are far away from each other, the total required length of the wires increases, which is uneconomical and requires a lot of time for wiring work, thereby resulting in inefficient problems.
본 고안은 이와 같은 문제점을 해결하여 입력스위치부와 컴퓨터부 사이에 배선되어 신호전송선수를 대폭 줄여서 좁은 공간 내에라도 배선하기가 매우 용이하고 수리나 보수하기도 쉽게 되며 또 배선 작업 능률도 향상되게 한 것이다.The present invention solves such a problem, and the wiring between the input switch unit and the computer unit greatly reduces the signal transmission player, making it very easy to wire even in a narrow space, making it easy to repair and repair, and improve the wiring work efficiency. .
본 고안의 구성 및 작용 효과를 상세히 설명하면 다음과 같다.Referring to the configuration and effect of the present invention in detail as follows.
본 고안의 판별장치는 제 1 도에 도시된 바와 같이,As the discriminating device of the present invention is shown in Figure 1,
입력 스위치부(1)는 직렬로 연결된 저항(R1-R6)들의 각 접속점과 접지사이에는 스위치(S2-S6)들이 각각 연결하고, 저항(R6)과 접지사이에는 스위치(S1)를 연결하며, 저항(R1) 양단에서의 연결선(3,4)과 접지선(5)을 출력선(3,4,5)으로 하여 구성하고, 컴퓨터 연결부(2)는 출력선(3,5)사이에 저항(R7,R8)을 연결하고 저항(R7,R8)의 접속점을 저항(R9,R10,R11)을 통하여 마이크로 컴퓨터(7)의 출력단자(D2-D2)에 연결함과 동시에 연산증폭기(6)의 반전입력단자(-)에 연결하고 출력선(4)은 저항(R12)을 통하여 연산증폭기(6)의 비반전입력단자(+)에 연결하되 연산증폭기(6)의 출력을 마이크로 컴퓨터(7)의 입력(I0)에 연결하고 출력선(3,5)을 마이크로 컴퓨터(7)의 전원단자(+Vcc)와 접지단자(E0)에 연결하여 된 것이다.Between the input switch (1) is provided between each connection point and the ground of the serially connected resistors (R 1 -R 6), the switch (S 2 -S 6) are connected, respectively, and a resistance (R 6) and the ground, the switch (S 1 ), and the connecting line (3, 4) and the ground line (5) at both ends of the resistor (R 1 ) is configured as the output line (3, 4, 5), the computer connection portion 2 is the output line (3) and 5) resistance between (R 7, connected to R 8) and resistance to the connection point of the resistors (R 7, R 8) (R 9, R 10, the output terminal of the microcomputer 7 via an R 11) (D 2 -D 2 ) and at the same time to the inverting input terminal (-) of the operational amplifier (6) and the output line (4) through the resistor (R 12 ) the non-inverting input terminal (+) of the operational amplifier (6) ), But connect the output of the operational amplifier (6) to the input (I 0 ) of the microcomputer (7) and connect the output lines (3,5) to the power terminal (+ V cc ) and the ground terminal of the microcomputer (7). Is connected to (E 0 ).
여기서 미설명 부호 C1,C2: 저항(RR)의 양단을 접지시키는 콘덴서, C3: 연산증폭기(16)의 입력단자(+,-)사이에 연결된 콘덴서이다.Here, reference numeral C 1 , C 2 : a capacitor which grounds both ends of the resistor (R R ), C 3 : a capacitor connected between the input terminals (+,-) of the operational amplifier 16.
이러한 구성의 작용 효과를 상세히 설명하면 다음과 같다.The effect of this configuration will be described in detail as follows.
제 1 도에서 연산증폭기(6)의 비반전입력단자(+)에는 스위치(S1-S6)의 온, 오프 상태에 따라 저항(R1-R6)에 의해 분압된 전원(+Vcc)전압이 인가되고 반전입력단자(1)에는 마이크로 컴퓨터(7)의 출력단자(D0-D2)의 상태에 따라 저항(R7-R11)으로 분압된 전원(+Vcc)전압이 인가된다. 그런데 연산증폭기(6)의 출력은 비반전입력단자(+)에 인가되는 전압이 반전입력단자(-)에 인가되는 전압보다 클때는 하이(H)레벨이 되고 작을 때는 로(L)레벨이 되므로 결국 입력 스위치부(S1-S6)의 온, 오프 상태와 컴퓨터 출력단자(D0-D2)의 출력 상태에 따라 연산증폭기(6)의 출력 즉, 마이크로 컴퓨터(7)의 입력(I0)이 하이(H)레벨이 될 것인가 또는 로(L)레벨이 될 것인가가 결정되며, 이 신호에 의해 마이크로 컴퓨터(7)는 스위치(S1-S6)중 어느 스위치가 온되었는가를 판별하게 되는 것이므로 이를 좀 더 상세히 설명하면 다음과 같다.In FIG. 1, the non-inverting input terminal (+) of the operational amplifier 6 has a power supply (+ V cc ) divided by the resistors R 1- R 6 according to the on and off states of the switches S 1 -S 6 . Voltage is applied, and the inverting input terminal 1 receives the voltage (+ V cc ) divided by the resistors R 7- R 11 according to the state of the output terminals D 0- D 2 of the microcomputer 7. Is approved. However, the output of the operational amplifier 6 becomes high (H) level when the voltage applied to the non-inverting input terminal (+) is higher than the voltage applied to the inverting input terminal (-), and low (L) level when small. Eventually, the output of the operational amplifier 6, that is, the input I of the microcomputer 7 according to the on and off states of the input switch units S 1 -S 6 and the output states of the computer output terminals D 0 -D 2 . It is determined whether 0 ) becomes high (H) level or low (L) level, and by this signal, the microcomputer 7 determines which of the switches S 1 -S 6 is on. Since it will be described in more detail as follows.
신호전송선(4)에 나타나는 전압 즉, 연산증폭기(6)의 비반전입력단자(+)에 인가되는 전압은 스위치(S1)를 온했을 경우에는 전압(Vs1)=Vcc×(R2+…+R6)/(R1+…+R6)볼트가 되고, 스위치(S2)를 온했을 경우에는 전압(Vs2)=Vcc×(R2+…+R5)/(R1+…+R5)볼트가 되며 같은 방법으로 각 스위치(S3-S6)를 온했을 때의 전압(Vs3-Vs6)이 저항(R1-R6)값에 의해 결정된다.The voltage appearing on the signal transmission line 4, i.e., the voltage applied to the non-inverting input terminal (+) of the operational amplifier 6, when the switch S 1 is turned on, the voltage V s1 = V cc × (R 2 +… + R 6 ) / (R 1 +… + R 6 ) and when the switch (S 2 ) is turned on, the voltage (V s2 ) = V cc × (R 2 +… + R 5 ) / ( R 1 + ... + R 5) the bolt is determined by the voltage (V s3 -V s6) the resistance (R 1 -R 6) value when turning on the switches (S 3 -S 6) in the same way .
그리고 연산증폭기(6)의 반전입력단자(-)에 인가되는 전압은 마이크로 컴퓨터(7)의 출력단자(D0-D2)의 상태에 따라 결정되는데 출력단자(D0-D2)에서는 제 3(a)도, 제 3(b)도, 제 3(c)도와 같은 신호가 주기적으로 출력된다.And the inverting input terminal of the operational amplifier 6 (-) voltage is applied to is determined according to the state of the output terminals (D 0 -D 2) in the microcomputer 7, the output terminal (D 0 -D 2) the Signals such as 3 (a), 3 (b), and 3 (c) are periodically outputted.
따라서 맨 처음 신호(1)때는 출력단자(D0-D2)는 모두 로(L)레벨(출력단 개방)이므로 이때에 반전입력단자(-)에 인가되는 전압(V1)=Vcc×R8/(R1+R8)볼트가 되고 다음 신호(2)때는 출력단자(D0)는 하이(H)레벨(출력전압 +Vcc)이고 출력단자(D1,D2)는 로(L)레벨일 때 인가전압(V2)=Vcc×R8/(R7HR9+R8)볼트가 되며 같은 방법으로 출력단자(D0-D2)의 상태에 따라 반전입력단자(-)에 인가되는 전압(V3-V8)이 저항(R7-R11)값에 의해 결정된다.Therefore, at the first signal (1), the output terminals (D 0 -D 2 ) are all at the low (L) level (output stage open), so the voltage (V 1 ) applied to the inverting input terminal (-) at this time is V cc × R 8 / (R 1 + R 8 ) volts, the next signal (2) output terminal (D 0 ) is high (H) level (output voltage + V cc ) and output terminals (D 1 , D 2 ) are low ( At the L) level, the applied voltage (V 2 ) = V cc × R 8 / (R 7 HR 9 + R 8 ) volts.In the same way, the inverting input terminal (D 0 -D 2 ) The voltage (V 3 -V 8 ) applied to-) is determined by the values of the resistors R 7 -R 11 .
본 고안에서는 저항(R1-R11)값을 알맞게 설정하여, Vs6<V1<Vs5<V2<Vs4<V3<Vs3<V4<Vs2<V5<Vs1<V6의 부등식이 만족되도록 저항(R1-R11)값을 미리 설정한다.In the present design by setting appropriately the resistors (R 1 -R 11) value, V s6 <V 1 <V s5 <V 2 <V s4 <V 3 <V s3 <V 4 <V s2 <V 5 <V s1 < Set the resistance (R 1- R 11 ) values in advance so that the inequality of V 6 is satisfied.
이와 같이 된 상태에서 예를들어 스위치(S3)가 온되었다면, 제 3d도에서와 같이 연산증폭기(6)의 반전입력단자(-)에 인가되는 전압은 제 3a도-제 3c도와 같이 출력단자(D0-D1)의 상태가 변함에 따라 점차 증가하게 되는데 양쪽에 입력되는 전압의 관계가 전압(Vs3)<전압(V4)이전까지는 반전입력단자(-)의 전압(Vs3)이 비반전입력단자(+)의 전압(V1,V2,V3)보다 높으므로 그 출력은 제 3e도와 같이 하이(H)레벨을 유지하고 있게 된다.In this state, for example, when the switch S 3 is turned on, the voltage applied to the inverting input terminal (-) of the operational amplifier 6 as shown in FIG. 3d is the output terminal as shown in FIGS. 3a to 3c. voltage (V s3) - (D 0 -D 1) is varied until there is gradually increased before the relationship of voltage applied to the both sides of the voltage (V s3) <voltage (V 4), the inverting input terminal, depending on the state of the () Since the voltage (V 1 , V 2 , V 3 ) of the non-inverting input terminal (+) is higher, the output is maintained at the high (H) level as shown in FIG. 3e.
그러나 출력단자(D0-D2)로 부터 4번째 신호(제 3a도의 4)가 출력되었을 때에는 제 3d도와 같이 반전입력단자(-)에 인가된는 전압(V4)이 비반전입력단자(+)에 인가된 전압(Vs3)보다 더 커져서 연산증폭기(6)의 출력은 제 3e도와 같이 로(L)레벨로 떨어지게 된다.However, when the fourth signal (4 in FIG. 3a) is output from the output terminals D 0 -D 2 , the voltage V 4 applied to the inverting input terminal (-) as shown in FIG. 3d is applied to the non-inverting input terminal (+). ) Becomes greater than the voltage V s3 applied to the output of the operational amplifier 6 to fall to the low (L) level as shown in FIG.
따라서 마이크로 컴퓨터(7)의 입력단자(I0)에는 제 3()와 같은 신호가 입력되므로 마이크로 컴퓨터(7)는 스위치(S3)가 온되었음을 판별하게 되는 것이다.Accordingly, since the same signal as the third () is input to the input terminal I 0 of the microcomputer 7, the microcomputer 7 determines that the switch S 3 is turned on.
다른 스위치(S1-S6)들의 온 또는 오프 상태의 판별도 상기와 같은 방법에 의해 하게되는 것이다.The determination of the on or off state of the other switches S 1 -S 6 is also performed by the above method.
즉, 마이크로 컴퓨터(7)에서는 출력단자(D0-D1)들의 출력상태를 변화시키면서 이에 따른 입력단자(I0)의 변화를 감지하여 스위치(S1-S6)의 온 또는 오프 상태를 판별하게 되는 것이다.That is, the microcomputer 7 changes the output state of the output terminals D 0 -D 1 and senses the change of the input terminal I 0 accordingly to change the on or off state of the switches S 1 -S 6 . Will be determined.
이와 같이 본 고안은 입력 스위치부와 컴퓨터부 사이에 소수의 신호전송 선만 있으면 되므로 경제적이고 또 배선작업하기도 쉬워서 작업능률도 향상되며 특히 배선된 후에 보수나 수리할 때에도 선의 수가 적어서 매우 편리하게 된 것이다.As such, the present invention requires only a few signal transmission lines between the input switch unit and the computer unit, which is economical and easy to wire, thus improving work efficiency.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR2019840012856U KR860003476Y1 (en) | 1984-12-07 | 1984-12-07 | Input switch state displaying device of microcomputer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR2019840012856U KR860003476Y1 (en) | 1984-12-07 | 1984-12-07 | Input switch state displaying device of microcomputer |
Publications (2)
Publication Number | Publication Date |
---|---|
KR860008392U KR860008392U (en) | 1986-07-24 |
KR860003476Y1 true KR860003476Y1 (en) | 1986-12-06 |
Family
ID=70163016
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR2019840012856U KR860003476Y1 (en) | 1984-12-07 | 1984-12-07 | Input switch state displaying device of microcomputer |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR860003476Y1 (en) |
-
1984
- 1984-12-07 KR KR2019840012856U patent/KR860003476Y1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR860008392U (en) | 1986-07-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0093803A3 (en) | Indicating system | |
KR860003476Y1 (en) | Input switch state displaying device of microcomputer | |
FR2533381B1 (en) | CIRCUIT AND METHOD FOR CONVERTING A DIGITAL INPUT WORD INTO AN ANALOG CURRENT THAT REPRESENTS THE VALUE | |
US5124616A (en) | Circuit for driving a load and for producing a signal indicative of the condition of the load | |
EP0327512B1 (en) | Power supply gradually developing an output voltage when switched on | |
KR910009067B1 (en) | Analog to digital converter | |
KR890004068A (en) | Ignition control circuit | |
EP0220326B1 (en) | Input state detection circuit | |
GR77588B (en) | ||
KR100380571B1 (en) | Comparison circuit having hysteresis characteristic | |
KR890000150Y1 (en) | Control circuit for indicators | |
JPH0329914Y2 (en) | ||
KR900002156Y1 (en) | Driving control circuit for electronic ranges | |
SU1149388A1 (en) | Device for simulating inductance | |
JP2624215B2 (en) | Option board identification device | |
KR900000376Y1 (en) | Window comparator circuit | |
KR890001657Y1 (en) | Power source voltage variation detection circuit | |
JPS6316752B2 (en) | ||
KR890007397Y1 (en) | Pulse generator circuit | |
SU1663566A1 (en) | Ac voltage level indicator | |
SU1007184A1 (en) | Pulse amplifier | |
JP2692135B2 (en) | Load control device | |
JP2680940B2 (en) | D / A converter | |
SU1647453A1 (en) | Device for insulation resistance testing | |
JPS6171369A (en) | Criterion circuit of voltage level |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
O032 | Opposition [utility model]: request for opposition | ||
O121 | Withdrawal of opposition [utility model] | ||
E701 | Decision to grant or registration of patent right | ||
O071 | Decision to grant registration after opposition [utility model]: decision to grant registration | ||
REGI | Registration of establishment | ||
FPAY | Annual fee payment |
Payment date: 19941227 Year of fee payment: 10 |
|
LAPS | Lapse due to unpaid annual fee |