KR20040025779A - Circuit for expanding ports number of micom - Google Patents
Circuit for expanding ports number of micom Download PDFInfo
- Publication number
- KR20040025779A KR20040025779A KR1020020056377A KR20020056377A KR20040025779A KR 20040025779 A KR20040025779 A KR 20040025779A KR 1020020056377 A KR1020020056377 A KR 1020020056377A KR 20020056377 A KR20020056377 A KR 20020056377A KR 20040025779 A KR20040025779 A KR 20040025779A
- Authority
- KR
- South Korea
- Prior art keywords
- microcomputer
- port
- input
- circuit
- int
- Prior art date
Links
Classifications
-
- 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
- G06F1/22—Means for limiting or controlling the pin/gate ratio
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/12—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
- G06F13/122—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware performs an I/O function other than control of data transfer
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Microcomputers (AREA)
Abstract
Description
본 발명은 마이컴의 포트수 절감회로에 관한 것으로서 특히, 마이컴의 입력포트에 저항값이 서로 다른 래더(ladder) 회로를 적용함으로써, 마이컴 회로를 구현시에 입력포트를 확보할 수 있고, 입력포트가 적은 마이컴으로도 구현이 가능하도록 하는 마이컴의 포트수 절감회로에 관한 것이다.The present invention relates to a microcomputer port number reduction circuit, and in particular, by applying a ladder circuit having a different resistance value to the input port of the microcomputer, the input port can be secured when the microcomputer circuit is implemented. The present invention relates to a microcomputer's port number reduction circuit, which can be implemented with fewer microcomputers.
일반적으로 차량이나 기타 외부 편의장치가 구성된 장비에 있어서, 상기와 같은 각종 편의장치는 마이컴(micom: micro computer)을 이용하여 제어된다.In general, in a vehicle or other external convenience device, various convenience devices as described above are controlled using a microcomputer (micom).
예를 들어, 차량의 도어의 열림과 잠김의 경우에는 도어에 스위치가 구비되어, 도어의 열고 닫힘에 따라 이 스위치의 온/오프 동작이 발생하고, 이 스위치의 온/오프 동작이 상기 마이컴에 입력되어 그 동작이 콘솔에 표시되거나 제어되는 것이다.For example, when the door of the vehicle is opened and locked, the door is provided with a switch, and the on / off operation of the switch occurs as the door is opened and closed, and the on / off operation of the switch is input to the microcomputer. The action is displayed or controlled in the console.
또한, 에어컨을 작동시키는 경우에, 작동을 위해서는 에어컨 스위치와 송풍기를 작동시켜야 하는데, 이러한 스위치의 입력을 마이컴이 처리하여 해당 신호를 전송하여 에어컨을 작동시키게 된다.In addition, in the case of operating the air conditioner, the air conditioner switch and the blower must be operated for the operation, and the microcomputer processes the input of the switch and transmits a corresponding signal to operate the air conditioner.
상기와 같이, 제어하여야 하는 편의장치는 그 수가 매우 많은 편이나, 마이컴의 입력포트의 수는 그 한계가 있다. 더욱이, 비용의 절감을 위해서 입력포트의 수가 적은 마이컴으로 회로를 구성하는 경우에는 입력단자가 부족하여, 추가적인 IC(integrated circuit)를 사용하게 되고, 이는 구조를 복잡하게 할 뿐 아니라 비용을 상승하게 하는 문제점이 있었다.As described above, the number of convenience devices to be controlled is very large, but the number of input ports of the microcomputer is limited. Furthermore, in order to reduce the cost, when a circuit is composed of microcomputers with a small number of input ports, input terminals are insufficient and additional integrated circuits (ICs) are used, which not only complicates the structure but also increases the cost. There was a problem.
본 발명은 상기의 결점을 해소하기 위한 것으로, 마이컴 회로를 구현시에 입력포트를 확보할 수 있고, 입력포트가 적은 마이컴으로도 구현이 가능하도록 하는마이컴의 포트수 절감회로를 제공하고자 한다.The present invention is to solve the above-described drawbacks, and to provide a microcomputer port number reduction circuit that can ensure the input port when the microcomputer circuit is implemented, and can be implemented even with a microcomputer with a small input port.
이러한 본 발명은 마이컴의 A/D 인터럽트 포트(A/D INT)와 외부 인터럽트 포트(EXT INT) 사이에, 입력 스위치가 각각 연결되는 다수의 다이오드와, 다수의 저항으로 이루어지는 래더(ladder) 회로가 구성되어, 상기 다수의 입력 스위치가 입력포트를 구성함으로써 달성된다.The present invention provides a ladder circuit composed of a plurality of diodes and a plurality of resistors, each of which has an input switch connected between an A / D interrupt port (A / D INT) and an external interrupt port (EXT INT) of the microcomputer. Is configured, the plurality of input switches is achieved by configuring the input port.
도 1은 본 발명의 마이컴의 포트수 절감회로의 일 실시예를 나타내는Figure 1 shows an embodiment of the microcomputer port number reduction circuit of the present invention
회로도.Schematic.
<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>
10 : 마이컴 20 : 다이오드10: microcomputer 20: diode
30 : 입력 스위치 40 : 저항30: input switch 40: resistance
50 : 래더 회로50: ladder circuit
본 발명의 실시예를 첨부 도면을 참고하여 상세히 설명하면 다음과 같다.An embodiment of the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명의 마이컴의 포트수 절감회로의 일 실시예를 나타내는 회로도로서, 본 발명은, 마이컴(10)의 A/D 인터럽트 포트(A/D INT)와 외부 인터럽트 포트(EXT INT) 사이에, 타측이 접지되는 입력 스위치(30)가 각각 연결되는 다수의 다이오드(20: D1, D2, D3, D4, D5, ..., DN)와, 다수의 저항(40: R1, R2, R3, R4, R5, ..., RN)으로 이루어지는 래더(ladder) 회로(50)가 구성되어, 상기 다수의 입력 스위치(30)가 입력포트를 구성하도록 하는 것을 그 기술상의 특징으로 한다.1 is a circuit diagram showing an embodiment of the microcomputer port number reduction circuit of the present invention, the present invention is between the A / D interrupt port (A / D INT) and the external interrupt port (EXT INT) of the microcomputer 10 On the other hand, a plurality of diodes (D1, D2, D3, D4, D5, ..., DN) 20 to which the input switch 30 connected to the other side is grounded, and a plurality of resistors 40: R1, R2, R3, respectively. A technical feature is that a ladder circuit 50 composed of R4, R5, ..., RN is configured so that the plurality of input switches 30 constitute an input port.
상기 래더 회로(50)는 상기 마이컴(10)의 A/D 인터럽트 포트(A/D INT)와 외부 인터럽트 포트(EXT INT) 사이에, 입력 스위치(30)가 각각 연결되는 다수의 다이오드(20)가 병렬로 연결되고, 상기 A/D 인터럽트 포트(A/D INT)에 직렬로 연결되어, 상기 다수의 다이오드(20) 각각의 사이에 저항(40)이 위치하도록 연결되어, 상기 입력 스위치(30)가 각각의 입력포트를 구성하는 것이다.The ladder circuit 50 includes a plurality of diodes 20 each having an input switch 30 connected between an A / D interrupt port A / D INT and an external interrupt port EXT INT of the microcomputer 10. Are connected in parallel, are connected in series to the A / D interrupt port (A / D INT), and are connected such that a resistor 40 is positioned between each of the plurality of diodes 20, and the input switch 30 ) Configure each input port.
상기 입력 스위치(30)가 작동하게 되면, 마이컴에서는 A/D 인터럽트포트(A/D INT)를 통하여 전압값이 디지털로 변환되어 입력되게 되는데, 이때, 회로의 구성에 의하여 각각 다른 전압값으로 인하여, 마이컴(10)에서는 어느 입력 스위치(30)를 통하여 입력되었는지 감지할 수 있게되고, 따라서 각각의 포트로서 역할을 할 수 있게된다.When the input switch 30 is operated, the microcomputer converts the voltage value to digital through the A / D interrupt port (A / D INT), and at this time, due to the different voltage values due to the circuit configuration. In the microcomputer 10, which input switch 30 is inputted, the microcomputer 10 can detect which input switch 30, and thus can serve as a respective port.
이하, 상기 도 1을 참고하여 상기와 같은 본 발명의 구성에 의한 작용 및 효과를 설명하면 다음과 같다.Hereinafter, with reference to FIG. 1 will be described the operation and effect by the configuration of the present invention as described above.
상기한 바와 같이, 본 발명의 래더 회로(50)에서, 어느 입력 스위치(30)가 작동하게 되면, 저항(40)의 연결에 의하여, 해당 전압값이 마이컴(10)의 A/D 인터럽트 포트(A/D INT)로 입력되게 된다.As described above, in the ladder circuit 50 of the present invention, when any input switch 30 is operated, the corresponding voltage value is connected to the A / D interrupt port of the microcomputer 10 by the connection of the resistor 40. A / D INT).
상기 입력 스위치(30)의 작동은 사용자에 의하여 직접 작동될 수도 있고, 기타 기기의 작동에 의하여 간접적으로 작동될 수도 있다.The operation of the input switch 30 may be directly operated by the user or indirectly by the operation of other devices.
그리하면, 상기 A/D 인터럽트 포트(A/D INT)에서는 해당 전압값을 디지털 신호로 변환하여 어느 입력 스위치(30)를 통하여 신호가 입력되었는지 감지할 수 있게된다.Then, the A / D interrupt port (A / D INT) converts the voltage value into a digital signal to detect which input switch 30 has been input.
상기 래더 회로(50)의 입력 스위치(30), 다이오드(20) 및 저항(40) 세트의 구성은, 상기 A/D 인터럽트 포트(A/D INT)가 8비트인 경우에는 255개(2의 8제곱에서 1을 뺀 수)까지 가능하게 되며, 각 비트의 수에 따라 그 한도가 정해진다.The configuration of the input switch 30, the diode 20, and the resistor 40 set of the ladder circuit 50 includes 255 (2) when the A / D interrupt port (A / D INT) is 8 bits. 8 squared minus 1), and the limit is determined by the number of bits.
상기 외부 인터럽트 포트(EXT INT)는 그라운드로 공유하게 되며, 각 입력 스위치의 작동 후 인터럽트를 통하여, 상기 해당 입력에 의한 작동에서 벗어나게 된다.The external interrupt port EXT INT is shared with the ground, and is interrupted after the operation of each input switch, thereby deviating from the operation by the corresponding input.
상기 실시예는 본 발명의 기술적 사상을 구체적으로 설명하기 위한 일례로서, 본 발명의 범위는 상기의 도면이나 실시예에 한정되지 않는다.The above embodiment is an example for explaining the technical idea of the present invention in detail, and the scope of the present invention is not limited to the above drawings and embodiments.
이상과 같은 본 발명은 마이컴 회로를 구현시에 입력포트를 확보할 수 있고, 입력포트가 적은 마이컴으로도 구현이 가능하도록 하는 효과가 있는 발명인 것이다.The present invention as described above is an invention having an effect that the input port can be secured when the microcomputer circuit is implemented, and the microcomputer can be implemented even with a small microcomputer.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR10-2002-0056377A KR100471547B1 (en) | 2002-09-17 | 2002-09-17 | Circuit for expanding ports number of micom |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR10-2002-0056377A KR100471547B1 (en) | 2002-09-17 | 2002-09-17 | Circuit for expanding ports number of micom |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20040025779A true KR20040025779A (en) | 2004-03-26 |
KR100471547B1 KR100471547B1 (en) | 2005-03-10 |
Family
ID=37328501
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR10-2002-0056377A KR100471547B1 (en) | 2002-09-17 | 2002-09-17 | Circuit for expanding ports number of micom |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100471547B1 (en) |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR920010486B1 (en) * | 1987-11-30 | 1992-11-28 | 주식회사 금성사 | Input port reduction method |
JP3326019B2 (en) * | 1994-08-11 | 2002-09-17 | 能美防災株式会社 | Terminal equipment for fire alarm equipment |
KR19980044026U (en) * | 1996-12-26 | 1998-09-25 | 김영환 | Switch decoding device using oscillator |
KR200185471Y1 (en) * | 1997-12-05 | 2000-07-01 | 정몽규 | Port selector of micom |
KR19990065220A (en) * | 1998-01-09 | 1999-08-05 | 윤종용 | Key input device with key matrix |
KR200168190Y1 (en) * | 1999-09-01 | 2000-02-15 | 기아전자주식회사 | Multi switching signal input device using one signal cable |
-
2002
- 2002-09-17 KR KR10-2002-0056377A patent/KR100471547B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR100471547B1 (en) | 2005-03-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5874789A (en) | Circuit for integrating a local switch and a remote-control switch | |
US20120001862A1 (en) | Capacitive touch switch display control system and method | |
WO2002097638A3 (en) | An integrated circuit arrangement with feature control | |
KR100471547B1 (en) | Circuit for expanding ports number of micom | |
US7181169B2 (en) | Controlling apparatus and method of mobile communication terminal using electrostatic detection | |
US20080150646A1 (en) | Variable rc oscillator | |
KR950013044A (en) | Integrated Circuit with Bidirectional Pins | |
US20030011409A1 (en) | Method for switching from a first operating condition of an integrated circuit to a second operating condition of the integrated circuit | |
CN101192068A (en) | D.C. voltage stabilizing power source switching control apparatus | |
HU224942B1 (en) | Programmable controller | |
CN106557105B (en) | Voltage regulator circuit | |
JP3847169B2 (en) | Attenuator | |
JP3543364B2 (en) | Microcomputer input / output circuit | |
KR100438434B1 (en) | Apparatus for controlling power and signal in electronic terminal with controller and dependent part | |
JP3888571B2 (en) | Mode switching circuit | |
WO2014188471A1 (en) | I/o mix unit | |
JP3979134B2 (en) | Printed board | |
KR100721828B1 (en) | Signal processing method of micro computer | |
JP2001237691A5 (en) | ||
US6862352B1 (en) | Controlled switching mechanism for accomplishing soft polarity reversal, ring-trip filtering, and line voltage measurements in a subscriber line interface circuit using common capacitor | |
CN100382300C (en) | IC element with pin position correcting function | |
KR20010063174A (en) | Apparatus for scanning key with analog/digital converter and method thereof | |
KR200149676Y1 (en) | Mike circuit of monitor | |
KR0117705Y1 (en) | A reset circuit using hook switch of videophone | |
KR19990004552U (en) | Clock selector switch |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20090202 Year of fee payment: 5 |
|
LAPS | Lapse due to unpaid annual fee |