KR100607292B1 - Serial communication auto selection device_ - Google Patents

Serial communication auto selection device_ Download PDF

Info

Publication number
KR100607292B1
KR100607292B1 KR1019980059229A KR19980059229A KR100607292B1 KR 100607292 B1 KR100607292 B1 KR 100607292B1 KR 1019980059229 A KR1019980059229 A KR 1019980059229A KR 19980059229 A KR19980059229 A KR 19980059229A KR 100607292 B1 KR100607292 B1 KR 100607292B1
Authority
KR
South Korea
Prior art keywords
serial communication
transmission
external connector
communication method
connector
Prior art date
Application number
KR1019980059229A
Other languages
Korean (ko)
Other versions
KR20000042932A (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 KR1019980059229A priority Critical patent/KR100607292B1/en
Publication of KR20000042932A publication Critical patent/KR20000042932A/en
Application granted granted Critical
Publication of KR100607292B1 publication Critical patent/KR100607292B1/en

Links

Classifications

    • 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/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • 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/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Communication Control (AREA)

Abstract

본 발명은, 시리얼통신 자동선택 장치에 있어서, 제1 시리얼통신방식의 송수신 라인과, 제2 시리얼통신방식의 제1 송수신 라인과, 상기 제2 시리얼통신방식의 제2 송수신 라인과, 소정 선택제어에 의해서 상기 제1 시리얼통신방식의 송수신라인 및 상기 제2 시리얼통신방식의 제1 송수신라인을 택일하는 스위치부와, 제1 시리얼통신방식의 외부 송수신라인에 연결된 제1 시리얼통신 외부컨넥터와, 제2 시리얼통신방식의 외부 제1,제2 송수신라인에 연결된 제2 시리얼통신 외부컨넥터와, 상기 제1 시리얼통신 외부컨넥터와 상기 제2 시리얼통신 외부컨넥터가 사용자에 의해서 택일적으로 시스템 장비에 장착됨에 따라 외부 컨넥터 타입을 감지하는 외부컨넥터 타입 감지부와, 상기 외부컨넥터 타입 감지에 따라 상기 스위치부를 선택제어하는 스위치 제어부와, 상기 스위치부에서 선택된 송수신라인과 상기 제2 시리얼통신방식의 제2 송수신라인이 연결되며, 상기 외부컨넥터 장착시 외부컨넥터의 대응 송수신라인들과 접속되는 내부 컨넥터로 구성한다.The present invention provides a serial communication automatic selection device comprising: a transmission / reception line of a first serial communication method, a first transmission / reception line of a second serial communication method, a second transmission / reception line of the second serial communication method, and predetermined selection control. A switch unit for selecting the transmission / reception line of the first serial communication method and the first transmission / reception line of the second serial communication method, a first serial communication external connector connected to an external transmission / reception line of the first serial communication method, and 2 The second serial communication external connector connected to the external first and second transmission / reception lines of the serial communication method, and the first serial communication external connector and the second serial communication external connector are alternatively mounted to the system equipment by the user. An external connector type sensing unit for sensing an external connector type, and a switch control unit for selectively controlling the switch unit according to the external connector type detection , And a second transmission line of the transmission line and the second serial communication method which is selected by the connection switching unit, which are configured into the connector to be connected with the corresponding transmission lines of the external connector when mounting the external connector.

Description

시리얼통신 자동선택 장치Serial communication automatic selection device

본 발명은 데이터통신에 관한 것으로, 특히 시리얼통신 방식을 외부에서 선택할 수 있도록 하는 시리얼통신 자동선택 장치에 관한 것이다.The present invention relates to data communication, and more particularly, to a serial communication automatic selection device that enables the external communication system to be selected.

요즈음 퍼스널컴퓨터에는 통신을 위한 각종 인터페이스가 표준 또는 옵션으로 정해져 있다. 이들중 대표적인 것으로는 데이터를 시리얼(serial)로 전송하는 RS232C, RS422, RS423, 데이터를 패러렐(parallel)로 보내는 센트로닉스(centronics)인터페이스가 있다. 패러렐 전송은 고속이지만 다수의 신호선을 필요로 하므로 양자간의 거리가 먼 경우에는 전송로나 입출력 인터페이스에 비용이 많이 든다. 장거리의 전송에서는 데이터의 전송속도를 다소 희생시켜도 신호선의 수가 적고 접속이 용이하고 노이즈 대책이 비교적 용이한 시리얼 전송이 용이하다. 시리얼통신중 RS422, RS423은 고속 장거리 전송이 유리하다.These days, personal computers have various interfaces for communication as standard or optional. Among them, RS232C, RS422, RS423, which transmits data in serial, and a centronics interface, which transmits data in parallel, are typical. Parallel transmission is high speed, but requires a large number of signal lines, so if the distance between them is long, the transmission path or input / output interface is expensive. In the long-distance transmission, even at the expense of data transmission speed, serial transmission is easy because the number of signal lines is small, the connection is easy, and the noise countermeasure is relatively easy. High speed long distance transmission is advantageous for RS422 and RS423 during serial communication.

RS232C, RS422, RS423에서는 드라이브, 리시브 방식에 차이가 있다. RS232C에서는 드라이브, 리시브측 모두 불평형형이지만, RS422에서는 양쪽 모두 평형형, RS423에서는 리스브측만이 불평형형으로 되어 있다. 어느 것이나 전송노선은 트위스트 페어라인을 사용한다.RS232C, RS422 and RS423 have different drive and receive methods. In RS232C, both drive and receive sides are unbalanced. In RS422, both sides are balanced, and in RS423, only the rib side is unbalanced. Either transmission route uses a twisted pair line.

데이터통신 장비 시스템에는 시리얼통신 사용시 각 시리얼통신방식을 지원하도록 되어 있어야 편리하다. 그래서 데이터통신 장비 시스템에서는 RS422, RS423, RS232C 인터페이스방식이 함께 장착되는 경우가 많은데, 이럴 경우 해당 통신방식을 선택하기 위한 딥스위치(dip switch)가 메인보드나 케이블 등에 구비된다.Data communication equipment system is convenient to support each serial communication method when using serial communication. Therefore, in the data communication equipment system, RS422, RS423, and RS232C interface methods are often installed together. In this case, a dip switch for selecting a corresponding communication method is provided in a motherboard or a cable.

종래기술은 시리얼통신방법을 두 개 이상 사용시에는 메인보드나 케이블에서 운용자가 직접 딥스위치(dip switch)를 조작한 후 그 보드를 보오드 슬롯에 삽입하여 사용하도록 되어 있어 불편한 점이 많았다. 즉 시리얼통신방법을 바꿀 경우에는 시스템 장비를 해체 후, 보드에서 딥스위치를 원하는 통신방식 위치로 조정하고 그 보드를 다시 장착하여 사용을 해야 했다. 그렇지 않으면 운용자가 프로그램으로 어떤 모드를 선택하여 통신방식을 선택하도록 시스템을 개발한 후에야 그 모드를 선택할 수 있었다.In the prior art, when more than two serial communication methods are used, the operator directly manipulates a dip switch on a main board or a cable, and then inserts the board into a board slot. In other words, when changing the serial communication method, after dismantling the system equipment, it was necessary to adjust the dip switch to the desired communication method position on the board and remount the board. Otherwise, the mode could not be selected until after the operator developed the system to select a mode by a program.

따라서 본 발명의 목적은 편리하게 시리얼통신방식을 선택할 수 있도록 하기 위한 시리얼통신 자동선택 장치를 제공하는데 있다.Accordingly, it is an object of the present invention to provide an automatic serial communication selection device for selecting a serial communication method conveniently.

상기한 목적에 따라, 본 발명은, 시리얼통신 자동선택 장치에 있어서, 제1 시리얼통신방식의 송수신 라인과, 제2 시리얼통신방식의 제1 송수신 라인과, 상기 제2 시리얼통신방식의 제2 송수신 라인과, 소정 선택제어에 의해서 상기 제1 시리얼통신방식의 송수신라인 및 상기 제2 시리얼통신방식의 제1 송수신라인을 택일하는 스위치부와, 제1 시리얼통신방식의 외부 송수신라인에 연결된 제1 시리얼통신 외부컨넥터와, 제2 시리얼통신방식의 외부 제1,제2 송수신라인에 연결된 제2 시리얼통신 외부컨넥터와, 상기 제1 시리얼통신 외부컨넥터와 상기 제2 시리얼통신 외부컨넥터가 사용자에 의해서 택일적으로 시스템 장비에 장착됨에 따라 외부 컨넥터 타입을 감지하는 외부컨넥터 타입 감지부와, 상기 외부컨넥터 타입 감지에 따라 상기 스위치부를 선택제어하는 스위치 제어부와, 상기 스위치부에서 선택된 송수신라인과 상기 제2 시리얼통신방식의 제2 송수신라인이 연결되며, 상기 외부컨넥터 장착시 외부컨넥터의 대응 송수신라인들과 접속되는 내부 컨넥터로 구성함을 특징으로 한다.According to the above object, the present invention provides a serial communication automatic selection device, comprising: a transmission / reception line of a first serial communication method, a first transmission / reception line of a second serial communication method, and a second transmission / reception of the second serial communication method. A switch unit for selecting a line, a transmission / reception line of the first serial communication method and a first transmission / reception line of the second serial communication method by a predetermined selection control, and a first serial connected to an external transmission / reception line of the first serial communication method. The communication external connector, the second serial communication external connector connected to the external first and second transmission / reception lines of the second serial communication method, and the first serial communication external connector and the second serial communication external connector are alternatively selected by the user. An external connector type sensing unit for sensing an external connector type as installed in the system equipment, and selecting and controlling the switch unit according to the external connector type detection A switch control unit configured to be connected to a transmission / reception line selected by the switch unit and a second transmission / reception line of the second serial communication method, and an internal connector connected to corresponding transmission / reception lines of an external connector when the external connector is mounted. It is done.

이하 본 발명의 바람직한 실시예들을 첨부한 도면을 참조하여 상세히 설명한다. 도면들중 동일한 구성요소들은 가능한한 어느 곳에서든지 동일한 부호들로 나타내고 있음에 유의해야 한다. 또한 본 발명의 요지를 불필요하게 흐릴 수 있는 공지 기능 및 구성에 대한 상세한 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the same elements in the figures are denoted by the same numerals wherever possible. In addition, detailed descriptions of well-known functions and configurations that may unnecessarily obscure the subject matter of the present invention will be omitted.

도 1은 RS422 시리얼통신 개념도로서, 드라이버(2)와 리시버(4)간에는 2개의 전송라인으로 이루어진다. 하나의 전송라인은 "하이" 신호로 구성되고 다른 하나의 전송라인은 "로우" 신호로 구성되어, 두 전송라인의 전압차로 시리얼데이터가 전송된다. 드라이버(2)와 리시버(4)간의 전송라인은 트위스트 페어 전송라인이다. 도 2는 RS232C 시리얼통신 개념도로서, 드라이버(6)와 리시버(8)간에는 1개의 전송라인으로 이루어진다. RS232C 시리얼통신방식에서는 신호를 증폭하여 데이터를 전송하고 있다. 드라이버(5)와 리시버(8)간의 전송라인에는 실제로 접지라인이 더 존재하기 때문에 트위스트 페어 전송라인으로 되어 있다.1 is a conceptual diagram of RS422 serial communication, comprising two transmission lines between a driver 2 and a receiver 4. One transmission line consists of a "high" signal and the other transmission line consists of a "low" signal, so that serial data is transmitted with the voltage difference between the two transmission lines. The transmission line between the driver 2 and the receiver 4 is a twisted pair transmission line. FIG. 2 is a conceptual diagram of RS232C serial communication, which consists of one transmission line between the driver 6 and the receiver 8. RS232C serial communication method amplifies the signal and transmits the data. Since there are actually more ground lines in the transmission line between the driver 5 and the receiver 8, it is a twisted pair transmission line.

도 1 및 도 2에 도시한 바와 같은 시리얼통신방식을 자동으로 선택하게 해 주기 위해, 본 발명의 실시예에서는 도 3 및 도 4에 도시한 바와 같은 시리얼 통신 자동선택장치를 구성하고 있다. 도 3은 시스템 장비에 RS422용 컨넥터가 장착시의 동작을 설명하기 위한 도면이고, 도 4는 시스템 장비에 RS232C용 컨넥터가 장착시의 동작을 설명하기 위한 도면이다.In order to automatically select the serial communication method as shown in Figs. 1 and 2, the embodiment of the present invention constitutes an automatic serial communication selection device as shown in Figs. 3 is a view for explaining the operation when the connector for RS422 is mounted on the system equipment, Figure 4 is a view for explaining the operation when the connector for RS232C is mounted on the system equipment.

도 3 및 도 4와 같은 시리얼통신 자동 선택장치는 도 1 및 도 2의 드라이버(2,6)와 전송라인 사이 또는 전송라인과 리시버(4,8) 사이에 위치한다.The automatic serial communication selection apparatus shown in FIGS. 3 and 4 is located between the drivers 2 and 6 and the transmission line of FIGS. 1 and 2 or between the transmission line and the receiver 4 and 8.

도 3 및 도 4의 컨넥터부(9)에서 내부 컨넥터(10)는 드라이버(2,6)의 후단 또는 리시버(4,8)의 전단의 시스템장비내에 장착되어 있는 컨넥터이다.In the connector part 9 of FIGS. 3 and 4, the internal connector 10 is a connector mounted in the system equipment at the rear end of the drivers 2, 6 or the front end of the receivers 4, 8.

도 3에 도시된 참조번호 12는 RS422용 외부컨넥터이고, 도 4에 도시된 참조번호 13은 RS232C용 외부컨넥터이다. 도 3의 RS422용 외부컨넥터(12)와 도 4의 RS232C용 외부컨넥터(13)를 비교해 보면, 도 3의 RS422용 외부컨넥터(12)의 1번 핀과 2번 핀은 쇼트(short)되어 있는데 반해 도 4의 RS232C용 외부컨넥터(13)의 1번 핀과 2번 핀은 오픈(open)되어 있다. 사용자에 의해서 RS422용 외부컨넥터(12)와 RS232C용 외부컨넥터(13)가 선택적으로 접속되는 내부컨넥터(10)의 1번 핀은 릴레이 선택제어부(14)측으로 연결되어 있고 2번 핀은 접지되어 있다. 릴레이선택제어부(14)와 내부컨넥터(10)의 1번핀 사이에는 전원전압 Vcc에 의해서 풀업된 저항 R1이 연결되어 있다. RS422용 외부컨넥터(12) 및 RS232C용 외부컨넥터(13)의 1,2번 핀의 연결상태와, 내부컨넥터(10)의 1,2번핀의 구조, 릴레이 선택제어부(14)와 내부컨넥터(10)의 1번핀 사이에 연결된 풀업저항 R1의 구성들은 RS422용 외부컨넥터(12) 또는 RS232C용 외부컨넥터(13)가 택일되어 내부컨넥터(10)에 장착시, 외부 컨넥터의 타입을 감지하도록 해주는 외부컨넥터 타입 감지부 역할을 한다.Reference numeral 12 in FIG. 3 denotes an external connector for RS422, and reference numeral 13 illustrated in FIG. 4 denotes an external connector for RS232C. When comparing the external connector 12 for RS422 of FIG. 3 and the external connector 13 for RS232C of FIG. 4, pins 1 and 2 of the RS422 external connector 12 of FIG. 3 are shorted. In contrast, pins 1 and 2 of the external connector 13 for RS232C of FIG. 4 are open. Pin 1 of the internal connector 10 to which the RS422 external connector 12 and the RS232C external connector 13 are selectively connected by the user is connected to the relay selection control unit 14, and pin 2 is grounded. . A resistor R1 pulled up by the power supply voltage Vcc is connected between the relay select controller 14 and pin 1 of the internal connector 10. Connection status of pins 1 and 2 of the external connector 12 for RS422 and external connector 13 for RS232C, the structure of pins 1 and 2 of the internal connector 10, the relay selection control unit 14 and the internal connector 10 The configuration of the pull-up resistor R1 connected between pin 1 of) is an external connector that detects the type of the external connector when an external connector 12 for RS422 or an external connector 13 for RS232C is selected and mounted on the internal connector 10. It acts as a type detector.

도 3 및 도 4에서 릴레이선택제어부(14)는 인버터(30,32), 다이오드(34), 및 트랜지스터(36)를 포함하고 있으며, 외부 컨넥터 타입 감지에 따른 이진 논리상태를 릴레이 구동부(18)로 출력한다. RS422용 외부컨넥터(12)가 내부컨넥터(10)에 장착될 시 릴레이선택제어부(14)에서는 이진 논리 "H"상태가 되고, RS232C용 외부컨넥터(13)가 내부컨넥터(10)에 장착될 시 릴레이선택제어부(14)에서는 이진 논리 "L"상태가 된다. 릴레이구동부(18)는 이진 논리 " L "상태에서 릴레이부(20)의 스위치를 RS232C의 수신 및 송신라인 RS232C RX, RS232C TX측으로 연결시킨다.In FIGS. 3 and 4, the relay selection controller 14 includes inverters 30 and 32, a diode 34, and a transistor 36. The relay driver 18 displays a binary logic state according to external connector type detection. Will output When the external connector 12 for RS422 is mounted on the internal connector 10, the relay selection control unit 14 becomes binary logic " H " state and when the external connector 13 for RS232C is mounted on the internal connector 10. In the relay select controller 14, the binary logic " L " The relay driver 18 connects the switch of the relay unit 20 to the reception and transmission lines RS232C RX and RS232C TX of the RS232C in binary logic "L" state.

릴레이부(20)의 상위스위치 및 하위스위치의 일측단 a,d단은 내부컨넥터(10)의 3번 및 4번 핀에 연결되어 있다. 릴레이부(20)의 상위스위치 및 하위스위치의 타측단 b,e단은 RS232C의 수신 및 송신라인 RS232C RX, RS232C TX에 연결되어 있고, 상기 릴레이부(20)의 상위스위치 및 하위스위치의 타측단 c,f단은 RS422의 제1 수신 및 송신라인 RS422 RXH, RS422 TXH에 연결되어 있다. RS422의 제2수신 및 송신라인 RS422 RXL, RS422 TXL은 내부컨넥터(10)의 5번 및 6번 핀에 각각 연결되어있다.One end a and d ends of the upper switch and the lower switch of the relay unit 20 are connected to pins 3 and 4 of the internal connector 10. The other end b and e ends of the upper switch and the lower switch of the relay unit 20 are connected to the receiving and transmitting lines RS232C RX and RS232C TX of the RS232C, and the other end of the upper switch and the lower switch of the relay unit 20. The c and f stages are connected to the first receiving and transmitting lines RS422 RXH and RS422 TXH of RS422. The second receiving and transmitting lines RS422 RXL and RS422 TXL of RS422 are connected to pins 5 and 6 of the internal connector 10, respectively.

한편 도 3의 RS422용 외부컨넥터(12)의 3번 및 5번 핀에는 각각 제1,제2 수신라인 RXH, RXL이 연결되어 있고, RS422용 컨넥터(12)의 4번 및 6번 핀에는 각각 제1,제2 송신라인 TXH, TXL이 연결되어 있다. 도 4에 도시된 RS232C용 외부컨넥터(13)의 3번 및 4번 핀에는 수신라인 RX 및 송신라인 TX가 연결되어 있다.Meanwhile, first and second receiving lines RXH and RXL are connected to pins 3 and 5 of the external connector 12 for RS422 of FIG. 3, respectively, and pins 4 and 6 of the connector 12 for RS422, respectively. The first and second transmission lines TXH and TXL are connected. Receive line RX and transmit line TX are connected to pins 3 and 4 of the external connector 13 for RS232C shown in FIG.

이하 RS422용 외부컨넥터(12) 또는 RS232C용 외부컨넥터(13)가 택일되어서 내부컨넥터(10)에 접속될 경우 본 발명의 실시예에 따른 시리얼통신 자동선택하는 동작을 상세히 설명한다.Hereinafter, when the external connector 12 for RS422 or the external connector 13 for RS232C is alternatively connected to the internal connector 10, an operation of automatically selecting serial communication according to an embodiment of the present invention will be described in detail.

먼저 도 3을 참조하여 RS422용 외부컨넥터(12)가 내부컨넥터(10)에 장착될 경우 본 발명의 실시예에 따른 시리얼통신 자동선택하는 동작을 설명한다. 도 3과 같이, RS422용 외부컨넥터(12)가 내부컨넥터(10)에 접속되면, 내부컨넥터(10)와 RS422용 외부컨넥터(12)의 1,2번 핀은 도 5에 도시된 바와 같이 쇼트된 상태가 된다. 그러므로 전원전압 Vcc는 내부컨넥터(10)의 2번 핀에 연결된 접지로 방전된다. 그에 따라 릴레이선택부(14)의 인버터(30)에는 이진 논리 "L"상태가 되므로 결국 트랜지스터(36)의 베이스에는 이진논리 " L"상태가 인가되고, 상기 트랜지스터(36)는 턴오프된다. 상기 트랜지스터(36)가 턴오프된 상태에서는 릴레이구동부(18)는 구동하지 않고 릴레이부(20)의 상하위스위치는 RS422의 제1 수신 및 송신라인 RS422 RXH, RS422 TXH와 연결된 c,f단과의 연결을 그대로 유지한다.First, when the external connector 12 for RS422 is mounted on the internal connector 10, an operation of automatically selecting serial communication according to an embodiment of the present invention will be described. As shown in FIG. 3, when the external connector 12 for RS422 is connected to the internal connector 10, pins 1 and 2 of the internal connector 10 and the external connector 12 for the RS422 are shorted as shown in FIG. 5. It becomes a state. Therefore, the power supply voltage Vcc is discharged to ground connected to pin 2 of the internal connector 10. As a result, a binary logic "L" state is applied to the inverter 30 of the relay selector 14, so that a binary logic "L" state is applied to the base of the transistor 36, and the transistor 36 is turned off. When the transistor 36 is turned off, the relay driver 18 is not driven and the upper and lower switches of the relay unit 20 are connected to the c and f terminals connected to the first receiving and transmitting lines RS422 RXH and RS422 TXH of RS422. Keep it.

이에 따라 내부컨넥터(10)의 3,4,5,6번 핀에 각각 연결된 RS422의 제1 수신 및 송신라인 RS422 RXH, RS422 TXH, 제2 수신 및 송신라인 RS422 RXL, RS422 TXL은 RS422용 외부컨넥터(12)의 3,4,5,6번 핀에 각각 접속된 RS422의 제1 수신 및 송신라인 RXH,TXH, 제2 수신 및 송신라인 RXL,TXL과 연결된다.Accordingly, the first reception and transmission line RS422 RXH, RS422 TXH, the second reception and transmission line RS422 RXL, and RS422 TXL of RS422 connected to pins 3, 4, 5, and 6 of the internal connector 10 are RS422 external connectors, respectively. The first receiving and transmitting lines RXH, TXH and the second receiving and transmitting lines RXL and TXL of RS422 connected to pins 3, 4, 5, and 6 of (12), respectively.

다음으로 도 4를 참조하여 RS232용 외부컨넥터(13)가 내부컨넥터(10)에 장착될 경우 본 발명의 실시예에 따른 시리얼통신 자동선택하는 동작을 설명한다. 도 4과 같이, RS232C용 외부컨넥터(13)가 내부컨넥터(10)에 접속되면, 내부컨넥터(10)와 RS232C용 외부컨넥터(13)의 1,2번 핀은 도 6에 도시된 바와 같이 오픈된 상태가 된다. 그에 따라 릴레이선택부(14)의 인버터(30)에는 이진 논리 "H"상태가 되므로 결국 트랜지스터(36)의 베이스에는 이진논리 " H"상태가 인가되고, 상기 트랜지스터(36)는 턴온된다. 상기 트랜지스터(36) 턴온상태에 의해서 릴레이구동부(18)가 구동되므로, 릴레이부(20)의 상하위스위치는 RS232C의 수신 및 송신라인 RS232C RH, RS232C TX와 연결된 b,e단으로 스위칭된다.Next, when the external connector 13 for RS232 is mounted on the internal connector 10, an operation of automatically selecting serial communication according to an embodiment of the present invention will be described with reference to FIG. As shown in FIG. 4, when the external connector 13 for RS232C is connected to the internal connector 10, pins 1 and 2 of the internal connector 10 and the external connector 13 for RS232C are opened as shown in FIG. 6. It becomes a state. The binary logic " H " state is applied to the inverter 30 of the relay selector 14, so that the binary logic " H " state is applied to the base of the transistor 36, and the transistor 36 is turned on. Since the relay driver 18 is driven by the transistor 36 turned on, the upper and lower switches of the relay unit 20 are switched to b and e stages connected to the RS232C receiving and transmitting lines RS232C RH and RS232C TX.

이에 따라 내부컨넥터(10)의 3,4번 핀에 연결된 RS232C의 수신 및 송신라인 RS232C RX, RS232C TX는 RS232C용 외부컨넥터(13)의 3,4번 핀에 연결된 RS232C의 수신 및 송신라인 RX,TX과 각각 연결된다.Accordingly, the receiving and transmitting lines RS232C RX and RS232C connected to pins 3 and 4 of the internal connector 10 are RS232C receiving and transmitting lines RX, RS232C connected to pins 3 and 4 of the external connector 13 for RS232C. Connected with TX respectively.

상술한 바와 같이 본 발명은 RS422, RS232C 시리얼통신 라인을 자동으로 선택될 수 있도록 회로를 구성하여, 사용자가 RS422용 또는 RS232C용 외부컨넥터를 택일해서 꼽으면 해당 통신방식으로 전송라인이 선택될 수 있다.As described above, the present invention configures a circuit so that RS422 and RS232C serial communication lines can be automatically selected, and a transmission line can be selected according to a corresponding communication method when the user selects an external connector for RS422 or RS232C.

도 1은 RS422 시리얼통신 개념도,1 is a conceptual diagram of RS422 serial communication;

도 2는 RS232C 시리얼통신 개념도,2 is a conceptual diagram of RS232C serial communication;

도 3은 본 발명의 실시예에 따른 시리얼 통신 자동선택장치 구성도로서, RS422용 컨넥터 장착시의 동작을 설명하기 위한 도면,3 is a configuration diagram of a serial communication automatic selection device according to an embodiment of the present invention, illustrating the operation when the connector for RS422 is mounted;

도 4는 본 발명의 실시예에 따른 구성도로서, RS232C용 컨넥터 장착시의 동작을 설명하기 위한 도면,4 is a configuration diagram according to an embodiment of the present invention, which illustrates an operation when mounting a connector for RS232C;

도 5는 도 3과 같은 RS422용 컨넥터 장착시 컨넥터부 1,2번 핀의 연결상태를 설명하기 위한 도면,5 is a view for explaining the connection state of the connector pins 1 and 2 when the connector for RS422 as shown in FIG.

도 6은 도 4와 같은 RS232C용 컨넥터 장착시 컨넥터부 1,2번 핀의 연결상태를 설명하기 위한 도면.Figure 6 is a view for explaining the connection state of the connector pins 1 and 2 when the connector for RS232C as shown in FIG.

Claims (1)

시리얼통신 자동선택 장치에 있어서,In the serial communication automatic selection device, 제1 시리얼통신방식의 송수신 라인과,A first serial communication transmission / reception line, 제2 시리얼통신방식의 제1 송수신 라인과,A first transmission / reception line of a second serial communication method, 상기 제2 시리얼통신방식의 제2 송수신 라인과,A second transmission / reception line of the second serial communication method; 소정 선택제어에 의해서 상기 제1 시리얼통신방식의 송수신라인 및 상기 제2 시리얼통신방식의 제1 송수신라인을 택일하는 스위치부와,A switch unit for selecting the transmission / reception line of the first serial communication method and the first transmission / reception line of the second serial communication method by predetermined selection control; 제1 시리얼통신방식의 외부 송수신라인에 연결되며, 제1구분 회로를 구비하는 제1 시리얼통신 외부컨넥터와,A first serial communication external connector connected to an external transmission / reception line of a first serial communication method and having a first division circuit; 제2 시리얼통신방식의 외부 제1,제2 송수신라인에 연결되며, 제2구분회로를 구비하는 제2 시리얼통신 외부컨넥터와,A second serial communication external connector connected to an external first and second transmission / reception lines of a second serial communication method and having a second division circuit; 상기 스위치부에서 선택된 송수신라인과 상기 제2 시리얼통신방식의 제2 송수신라인이 연결되고, 상기 외부컨넥터 장착시 외부컨넥터의 대응 송수신라인들과 접속되며, 상기 제1시리얼통신 외부컨넥터와 상기제2시얼통신 외부컨넥터가 택일적으로 장착되면 장착된 외부컨넥터에 구비된 구분회로와 연결되어 외부 컨넥터 감지회로를 구성하여, 상기 외부 컨넥터 감지 회로의 구성 상태에 따라 발생하는 외부 컨넥터 타입 감지 신호를 인가하는 감지회로를 구비하는 컨넥터와,The transmission / reception line selected by the switch unit and the second transmission / reception line of the second serial communication method are connected, and when the external connector is mounted, the transmission / reception line of the external connector is connected to the first serial communication external connector and the second connector. When the serial communication external connector is alternatively mounted, it is connected to the division circuit provided in the mounted external connector to configure an external connector sensing circuit, and applies an external connector type detection signal generated according to the configuration of the external connector sensing circuit. A connector having a sensing circuit; 인가되는 상기 외부 컨넥터 타입 감지 신호에 따라 상기 스위치부를 선택제어하는 스위치 제어부로 구성함을 특징으로 하는 시리얼 통신 자동선택장치.And a switch control unit for selecting and controlling the switch unit according to the external connector type sensing signal applied thereto.
KR1019980059229A 1998-12-28 1998-12-28 Serial communication auto selection device_ KR100607292B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980059229A KR100607292B1 (en) 1998-12-28 1998-12-28 Serial communication auto selection device_

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980059229A KR100607292B1 (en) 1998-12-28 1998-12-28 Serial communication auto selection device_

Publications (2)

Publication Number Publication Date
KR20000042932A KR20000042932A (en) 2000-07-15
KR100607292B1 true KR100607292B1 (en) 2006-09-28

Family

ID=19566185

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980059229A KR100607292B1 (en) 1998-12-28 1998-12-28 Serial communication auto selection device_

Country Status (1)

Country Link
KR (1) KR100607292B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010083748A (en) * 2000-02-21 2001-09-01 박종섭 Output and input matching unit of communication system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62222346A (en) * 1986-03-25 1987-09-30 Mitsubishi Electric Corp Serial interface element
KR950004804A (en) * 1993-07-07 1995-02-18 최훈 Communication mode switching method and device
KR19990002319U (en) * 1997-06-26 1999-01-25 김영환 Serial communication switching circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62222346A (en) * 1986-03-25 1987-09-30 Mitsubishi Electric Corp Serial interface element
KR950004804A (en) * 1993-07-07 1995-02-18 최훈 Communication mode switching method and device
KR19990002319U (en) * 1997-06-26 1999-01-25 김영환 Serial communication switching circuit

Also Published As

Publication number Publication date
KR20000042932A (en) 2000-07-15

Similar Documents

Publication Publication Date Title
US7401162B2 (en) Multi-functional port
EP3862230B1 (en) Communication system and vicarious inputting and outputting unit
EP1213658A3 (en) Optical communication interface module for universal serial bus
US6725304B2 (en) Apparatus for connecting circuit modules
KR100607292B1 (en) Serial communication auto selection device_
CN111711552B (en) Terminal resistor access circuit, servo driver and control system
US4803411A (en) Industrial sewing machine
US4812840A (en) Multiple mode switching means
US7200510B2 (en) Measurement control apparatus including interface circuits
EP1535425A2 (en) Control circuit
US7046033B2 (en) Termination enable: hardware and software controlled enable with detect
WO2005059697A2 (en) Configurable input/output terminals
KR0157736B1 (en) Bidirectional bus interface switching device and data transmission system
JPH0370423B2 (en)
EP1103134A1 (en) Method of and system for actuating faults
KR950003520B1 (en) Signal multiplexing transmission device using multi-drop method
KR100626519B1 (en) Apparatus of connecting a external device in the mobile communication terminal
KR880001872Y1 (en) Multi-drop transmission method
KR100464011B1 (en) Auto-select driving apparatus and method for system designed to be equipped with diverse lcd module
KR19990056227A (en) Port connection control device
KR20030052474A (en) A method and a device of termination for common bus
CA2418192A1 (en) Remote input/output device
KR20000039643A (en) Method for asynchronous serial communication of micro controller
KR19990074769A (en) Serial Communication Device and Method of PC
JP2009044285A (en) Impedance matching system

Legal Events

Date Code Title Description
N231 Notification of change of applicant
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: 20130710

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20140630

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20150629

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20160629

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20170628

Year of fee payment: 12