KR100471547B1 - Circuit for expanding ports number of micom - Google Patents

Circuit for expanding ports number of micom Download PDF

Info

Publication number
KR100471547B1
KR100471547B1 KR10-2002-0056377A KR20020056377A KR100471547B1 KR 100471547 B1 KR100471547 B1 KR 100471547B1 KR 20020056377 A KR20020056377 A KR 20020056377A KR 100471547 B1 KR100471547 B1 KR 100471547B1
Authority
KR
South Korea
Prior art keywords
microcomputer
port
input
circuit
int
Prior art date
Application number
KR10-2002-0056377A
Other languages
Korean (ko)
Other versions
KR20040025779A (en
Inventor
박민기
Original Assignee
현대모비스 주식회사
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 현대모비스 주식회사 filed Critical 현대모비스 주식회사
Priority to KR10-2002-0056377A priority Critical patent/KR100471547B1/en
Publication of KR20040025779A publication Critical patent/KR20040025779A/en
Application granted granted Critical
Publication of KR100471547B1 publication Critical patent/KR100471547B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/22Means for limiting or controlling the pin/gate ratio
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/122Program 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

Abstract

본 발명은 마이컴의 포트수 절감회로에 관한 것으로서 특히, 마이컴의 입력포트에 저항값이 서로 다른 래더(ladder) 회로를 적용하기 위한 것으로, 마이컴(10)의 A/D 인터럽트 포트(A/D INT)와 외부 인터럽트 포트(EXT INT) 사이에, 타측이 접지되는 입력 스위치(30)가 각각 연결되는 다수의 다이오드(20)와, 다수의 저항(40)으로 이루어지는 래더(ladder) 회로(50)가 구성되어, 상기 다수의 입력 스위치(30)가 입력포트를 구성하여, 마이컴 회로를 구현시에 입력포트를 확보할 수 있고, 입력포트가 적은 마이컴으로도 구현이 가능하도록 하는 것이다.The present invention relates to a microcomputer port number reduction circuit, and more particularly, to apply a ladder circuit having a different resistance value to an input port of a microcomputer. The A / D interrupt port (A / D INT) of the microcomputer 10 is provided. ) And a ladder circuit 50 consisting of a plurality of diodes 20 and a plurality of resistors 40 each having an input switch 30 connected to the other side grounded between the external interrupt port EXT INT. In this case, the plurality of input switches 30 form an input port, so that the input port can be secured when the microcomputer circuit is implemented, and the microcomputer can be implemented even with a microcomputer with a small input port.

Description

마이컴의 포트수 절감회로 {Circuit for expanding ports number of micom} Micom's port count reduction circuit {Circuit for expanding ports number of micom}

본 발명은 마이컴의 포트수 절감회로에 관한 것으로서 특히, 마이컴의 입력포트에 저항값이 서로 다른 래더(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, it is possible to implement even 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.

본 발명의 실시예를 첨부 도면을 참고하여 상세히 설명하면 다음과 같다.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 into a digital value through an 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.

도 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

Claims (2)

삭제delete 마이컴의 A/D 인터럽트 포트(A/D INT)와 외부 인터럽트 포트(EXT INT) 사이에 병렬로 연결되는 다수의 다이오드와;A plurality of diodes connected in parallel between the A / D interrupt port (A / D INT) and the external interrupt port (EXT INT) of the microcomputer; 상기 A/D 인터럽트 포트에 직렬로 연결되어, 상기 다수의 다이오드 각각의 사이에 연결되는 저항과;A resistor connected in series with the A / D interrupt port and connected between each of the plurality of diodes; 상기 여러 개의 다이오드에 각각 직렬로 연결되는 여러 개의 입력 스위치로 구성되는 것을 특징으로 하는 마이컴의 포트수 절감회로.Port number reduction circuit of the microcomputer, characterized in that composed of a plurality of input switches connected in series to the plurality of diodes, respectively.
KR10-2002-0056377A 2002-09-17 2002-09-17 Circuit for expanding ports number of micom KR100471547B1 (en)

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 KR20040025779A (en) 2004-03-26
KR100471547B1 true 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)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR890008718A (en) * 1987-11-30 1989-07-12 최근선 How to reduce input port
JPH0855289A (en) * 1994-08-11 1996-02-27 Nohmi Bosai Ltd Terminal equipment of fire alarm facilities
KR19980044026U (en) * 1996-12-26 1998-09-25 김영환 Switch decoding device using oscillator
KR19990023385U (en) * 1997-12-05 1999-07-05 정몽규 Micom's Port Selector
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR890008718A (en) * 1987-11-30 1989-07-12 최근선 How to reduce input port
JPH0855289A (en) * 1994-08-11 1996-02-27 Nohmi Bosai Ltd Terminal equipment of fire alarm facilities
KR19980044026U (en) * 1996-12-26 1998-09-25 김영환 Switch decoding device using oscillator
KR19990023385U (en) * 1997-12-05 1999-07-05 정몽규 Micom's Port Selector
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

Also Published As

Publication number Publication date
KR20040025779A (en) 2004-03-26

Similar Documents

Publication Publication Date Title
US7688230B2 (en) Switching device with critical switch detection
US20060139825A1 (en) Protective circuit for protecting chip from misoperation
KR100471547B1 (en) Circuit for expanding ports number of micom
WO2002097638A3 (en) An integrated circuit arrangement with feature control
US6727721B2 (en) Method for switching from a first operating condition of an integrated circuit to a second operating condition of the integrated circuit
CN110190841B (en) IO port multiplexing control circuit and electronic equipment
US20080150646A1 (en) Variable rc oscillator
KR950013044A (en) Integrated Circuit with Bidirectional Pins
US6321174B1 (en) Apparatus and method for testing add-on device of a computer system
CN106557105B (en) Voltage regulator circuit
EP3259846B1 (en) Resistor multiplexed switch wake-up circuit
JP3888571B2 (en) Mode switching circuit
CN210835669U (en) Circuit for switching starting configuration and interface configuration and system on chip
KR200168190Y1 (en) Multi switching signal input device using one signal cable
KR100459522B1 (en) Electronic apparatus with internal modems
JP3979134B2 (en) Printed board
JP2006203534A (en) Output variable circuit
KR890009062Y1 (en) Circuit for protecting microcomputer from errors
KR100565294B1 (en) A apparatus of setting program mode for fpga
KR100930789B1 (en) Semiconductor device that can change the output signal level of the output driver
KR19990007323U (en) Reset circuit of microprocessor
CN117573591A (en) JTAG interface automatic identification method and circuit of FPGA chip
KR100418706B1 (en) Computer system
CN100382300C (en) IC element with pin position correcting function
KR100590000B1 (en) Circuit device of osd key board

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