KR20030045572A - RS 422 Communication Circuit - Google Patents

RS 422 Communication Circuit Download PDF

Info

Publication number
KR20030045572A
KR20030045572A KR1020010076327A KR20010076327A KR20030045572A KR 20030045572 A KR20030045572 A KR 20030045572A KR 1020010076327 A KR1020010076327 A KR 1020010076327A KR 20010076327 A KR20010076327 A KR 20010076327A KR 20030045572 A KR20030045572 A KR 20030045572A
Authority
KR
South Korea
Prior art keywords
relay
data
signal
driver
opto
Prior art date
Application number
KR1020010076327A
Other languages
Korean (ko)
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 KR1020010076327A priority Critical patent/KR20030045572A/en
Publication of KR20030045572A publication Critical patent/KR20030045572A/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/51Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used
    • H03K17/78Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used using opto-electronic devices, i.e. light-emitting and photoelectric devices electrically- or optically-coupled
    • H03K17/785Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used using opto-electronic devices, i.e. light-emitting and photoelectric devices electrically- or optically-coupled controlling field-effect transistor switches
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K23/00Pulse counters comprising counting chains; Frequency dividers comprising counting chains
    • H03K23/74Pulse counters comprising counting chains; Frequency dividers comprising counting chains using relays

Landscapes

  • Dc Digital Transmission (AREA)

Abstract

PURPOSE: An RS(Recommended Standard)-422 communication circuit is provided to simplify the circuit design and maximize the efficiency of the circuit design by realizing the signal transfer while guaranteeing an operation current value of an opto-coupler by selectively operating the opto-coupler with a relay. CONSTITUTION: A data transmitter(210) transmits the data. A plurality of drivers(220) respectively output a driving signal according to the signal outputted from the data transmitter(210). The opto-coupler(240) receives the transmission signal outputted from the driver(220) according to the driving of a relay(230) by connecting to an output terminal of the relays(230) connected to the output terminal of the driver(220) in parallel. A controller(250) outputs a control signal in order to control the operation of the relay(230). A decoder(260) transfers the control signal to the corresponding relay(230) according to the control signal outputted from the controller(250). A data receiver(270) receives the signal outputted through the opto-coupler(240).

Description

RS-422 통신 회로{RS 422 Communication Circuit}RS-422 Communication Circuit

본 발명은 RS-422 통신 회로에 관한 것으로서, 특히 데이터 송신부로부터 입력되어 드라이버(driver)를 통해 출력되는 신호가 하나의 옵토 커플러(Opto-Coupler)에 선택적으로 인가되도록, 상기 옵토 커플러의 전단에 복수의 릴레이를 추가한 RS-422 통신 회로에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an RS-422 communication circuit, and more particularly, a plurality of signals in front of the opto-coupler so that a signal input from a data transmitter and output through a driver is selectively applied to one opto-coupler. RS-422 communication circuit with relay added.

일반적인 데이터 통신방식으로는 병렬과 직렬 두 가지 방식이 존재하는데, 병렬 통신은 전송 속도가 빠른 장점이 있으나 구현하기가 힘들고 고가이며 거리의 제약이 심한 단점이 있어, 고속의 데이터 처리가 필요한 근거리 데이터 통신에 사용되고 있다. 이에 반해서 RS232C, RS422, RS485 등의 직렬 인터페이스를 이용하는 직렬 통신은 전송 속도는 느리나, 구현하기가 쉽고, 저가이며 거리의 제약을 덜 받는 장점이 있어 비교적 느린 전송 속도로도 목적 달성이 충분한 원거리 데이터 통신에 주로 이용되고 있다.There are two general data communication methods, parallel and serial. Parallel communication has the advantage of fast transmission speed, but it is difficult to implement, expensive, and severely constrained in distance. Therefore, short-range data communication requiring high-speed data processing is required. It is used for. On the other hand, serial communication using a serial interface such as RS232C, RS422, or RS485 has a slow transmission speed, but is easy to implement, inexpensive, and limited by distance. It is mainly used for communication.

도 1은 종래의 RS-422 통신 회로를 구성을 개략적으로 나타낸 것이다.1 schematically shows a configuration of a conventional RS-422 communication circuit.

도 1에 나타난 바와 같이, 종래의 RS-422 통신 회로는, 복수의 데이터를 송신하는 데이터 송신부(110)와, 상기 데이터 송신부(110)를 통해 출력되는 신호에 따라 복수의 구동 신호를 출력하는 복수의 드라이버(120: 120a,…120n)와, 각각의 드라이버(120)의 출력단에 연결되어 드라이버(120)로부터 출력되는 구동 신호에 따라 구동되어 신호를 전달하는 복수의 옵토 커플러(130: 130a,…130n)와, 옵토 커플러(130)를 통해 출력되는 신호를 수신하는 데이터 수신부(140)로 구성된다.As shown in FIG. 1, a conventional RS-422 communication circuit includes a data transmitter 110 for transmitting a plurality of data and a plurality of drivers for outputting a plurality of driving signals according to a signal output through the data transmitter 110. A plurality of optocouplers 130 (130a, 130a,...) That are connected to an output terminal of each driver 120 and driven according to a driving signal output from the driver 120 to transfer a signal. 130n and a data receiver 140 receiving a signal output through the optocoupler 130.

이러한 RS-422 통신 회로는 데이터 송신부(110)에서 해당 데이터를 전송하기 위하여 신호를 출력하면 각각의 해당 드라이버(120)가 이 신호에 해당하는 구동 신호로 발생하여 출력하면 각각의 드라이버(120)에 연결된 옵토 커플러(130)가 동작되고, 옵토 커플러(130)의 동작에 따라 데이터 수신부(140)에서 해당 데이터를 수신하게 된다. 이러한 옵토 커플러(130)는 송수신단의 그라운드 분리 기능이 탁월하며, 노이즈(noise) 특성이 좋아 통신 회로에 많이 사용된다.When the RS-422 communication circuit outputs a signal to transmit the corresponding data from the data transmitter 110, each corresponding driver 120 generates a driving signal corresponding to this signal and outputs the signal to each driver 120. The connected opto coupler 130 is operated, and the data receiving unit 140 receives corresponding data according to the operation of the opto coupler 130. The optocoupler 130 is excellent in the ground separation function of the transmitting and receiving end, and has a good noise (noise) characteristics are widely used in communication circuits.

한편, 종래의 통신 회로의 옵토 커플러(130)는 동작 전류값이 보장되어야만 신호의 전달이 정확히 이루어지기 때문에 복수의 드라이버(120a,…120n)를 사용한다. 그러나 이처럼 복수의 드라이버(120a,…120n)를 사용하게되면 회로의 설계가 복잡해지고, 효율성이 저하되는 문제점이 있다.On the other hand, the opto-coupler 130 of the conventional communication circuit uses a plurality of drivers (120a, ... 120n) because the signal transmission is correctly made only when the operating current value is guaranteed. However, when the plurality of drivers 120a, ... 120n are used in this way, the circuit design becomes complicated and the efficiency is lowered.

또한, 이러한 종래의 통신 회로는 채널을 선택할 수가 없기 때문에 특정 채널을 통해 신호를 전달하는 경우에도 모든 채널을 통해 신호가 전달되므로 인접 채널간의 간섭이 발생하는 다른 문제점이 있다.In addition, since the conventional communication circuit cannot select a channel, even when a signal is transmitted through a specific channel, signals are transmitted through all channels, thereby causing another interference between adjacent channels.

본 발명은 상기와 같은 문제점을 해결하고자 창출된 것으로, 릴레이를 이용하여 선택적으로 옵토 커플러를 동작시켜 옵토 커플러의 동작 전류값을 보장하면서 신호의 전달이 이루어질 수 있도록 함으로써 회로의 설계를 간략화시키며, 회로 설계의 효율성이 극대화될 수 있도록 하는데 있다.The present invention was created to solve the above problems, and by simplifying the design of the circuit by allowing the signal transmission to occur while ensuring the operating current value of the opto coupler by selectively operating the opto coupler using a relay, To maximize the efficiency of the design.

또한 본 발명의 다른 목적은 특정 채널만을 통해 신호를 전달할 수 있기 때문에 인접 채널간에 간섭이 발생하는 것을 차단하도록 하는데 있다.In addition, another object of the present invention is to block the occurrence of interference between adjacent channels because the signal can be transmitted only through a specific channel.

도 1은 종래의 RS-422 통신 회로의 구성을 개략적으로 나타낸 도면이고,1 is a view schematically showing a configuration of a conventional RS-422 communication circuit,

도 2는 본 발명에 따른 RS-422 통신 회로의 구성을 나타낸 도면이다.2 is a diagram illustrating a configuration of an RS-422 communication circuit according to the present invention.

<도면중 주요부분에 대한 부호의 설명><Explanation of symbols for main parts of the drawings>

110 : 데이터 송신부120, 120a~120n : 드라이버110: data transmission unit 120, 120a to 120n: driver

130, 130a~130n: 옵토 커플러140: 데이터 수신부130, 130a to 130n: optocoupler 140: data receiver

210: 데이터 송신부220, 220a~220n: 드라이버210: data transmitter 220, 220a to 220n: driver

230, 230a~230n: 릴레이240, 240a~240n: 옵토 커플러230, 230a-230n: Relay 240, 240a-240n: Optocoupler

250: 제어부260 : 디코더250: control unit 260: decoder

270 : 데이터 수신부270: data receiving unit

상기와 같은 목적을 달성하기 위하여 본 발명에 따른 RS-422 통신 회로는,RS-422 communication circuit according to the present invention in order to achieve the above object,

복수의 데이터를 송신하는 데이터 송신부와;A data transmitter for transmitting a plurality of data;

상기 데이터 송신부에서 출력되는 신호에 따라 각각의 구동 신호를 출력하는 복수의 드라이버와;A plurality of drivers for outputting respective driving signals according to the signals output from the data transmitter;

상기 드라이버의 출력단에 병렬로 연결되는 복수의 릴레이와;A plurality of relays connected in parallel to the output terminal of the driver;

상기 릴레이의 출력단에 연결되어 상기 릴레이의 구동에 따라 상기 드라이버로부터 출력되는 송신 신호를 수신하는 옵토 커플러와;An optocoupler connected to an output terminal of the relay and receiving a transmission signal output from the driver according to driving of the relay;

상기 릴레이의 동작을 제어하도록 제어 신호를 출력하는 제어부와;A control unit for outputting a control signal to control the operation of the relay;

상기 제어부로부터 출력되는 제어 신호에 따라 해당 릴레이로 제어 신호를 전달하는 디코더; 및A decoder transferring a control signal to a corresponding relay according to the control signal output from the controller; And

상기 옵토 커플러를 통해 출력되는 신호를 수신하는 데이터 수신부; 를 포함하는 것을 그 특징으로 한다.A data receiver configured to receive a signal output through the optocoupler; It characterized by including the.

이하, 첨부된 도면을 참조하여 본 발명에 따른 실시예를 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명에 따른 RS-422 통신 회로의 구성을 나타낸 블록도이다.2 is a block diagram showing the configuration of an RS-422 communication circuit according to the present invention.

도 2를 참조하면, 상기 RS-422 통신 회로는, 복수의 데이터를 송신하는 데이터 송신부(210)와; 상기 데이터 송신부(210)에서 출력되는 신호에 따라 각각의 구동 신호를 출력하는 복수의 드라이버(220: 220a,…220n)와; 상기 드라이버(220)의 출력단에 병렬로 연결되는 복수의 릴레이(230: 230a,…230n)의 출력단에 연결되어 상기 릴레이(230)의 구동에 따라 상기 드라이버로(220)부터 출력되는 송신 신호를 수신하는 옵토 커플러(240)와; 상기 릴레이(230)의 동작을 제어하도록 제어 신호를 출력하는 제어부(250)와; 상기 제어부(250)로부터 출력되는 제어 신호에 따라 해당 릴레이(230)로 제어 신호를 전달하는 디코더(260)와, 상기 옵토 커플러(240)를 통해 출력되는 신호를 수신하는 데이터 수신부(270) 등으로 구성된다.2, the RS-422 communication circuit includes: a data transmitter 210 for transmitting a plurality of data; A plurality of drivers (220: 220a, ... 220n) for outputting respective driving signals according to the signals output from the data transmitter 210; It is connected to an output terminal of a plurality of relays 230 (230a, ... 230n) connected in parallel to an output terminal of the driver 220 and receives a transmission signal output from the driver 220 according to the driving of the relay 230. Opto coupler 240 and; A controller 250 for outputting a control signal to control the operation of the relay 230; The decoder 260 transmits a control signal to the corresponding relay 230 according to the control signal output from the controller 250, and the data receiver 270 receives a signal output through the optocoupler 240. It is composed.

그럼, 상기와 같은 구성을 갖는 본 발명에 따른 RS-422 통신 회로의 동작에 대해 살펴보기로 한다.Then, the operation of the RS-422 communication circuit according to the present invention having the configuration as described above will be described.

먼저, 데이터 송신부(210)에서 수신된 n개의 데이터가 n개의 드라이버(220)에 입력되면, 각각의 드라이버(220)에서는 입력신호에 따라 적절한 구동 신호가 출력된다. 여기서, n은 데이터 송신부(210)에 연결되는 단말기의 수가 될 수도 있고, 효율적인 데이터 전송을 위하여 원 데이터 신호를 분할한 경우에는 그 분할된 수가 될 수도 있다. 물론, 상기 드라이버(220)에서 출력되는 구동신호는 최대 n개가 된다.First, when n pieces of data received by the data transmitter 210 are input to the n drivers 220, the respective driver 220 outputs an appropriate driving signal according to the input signal. Here, n may be the number of terminals connected to the data transmitter 210, or may be the divided number when the original data signal is divided for efficient data transmission. Of course, the maximum number of driving signals output from the driver 220 is n.

한편, 데이터 송신부(210)에서 데이터 수신부(270)로 이어지는 채널은 하나이므로 상기 n개의 구동신호가 동시에 옵토 커플러(240)에 인가될 경우 상호 간섭이 발생하게 된다. 즉, 통신 에러가 발생하게 된다. 따라서, 상기 채널에 인가되는 구동신호의 순서를 적절히 제어하는 수단이 필요하다.Meanwhile, since there is only one channel from the data transmitter 210 to the data receiver 270, mutual interference occurs when the n driving signals are simultaneously applied to the optocoupler 240. That is, a communication error occurs. Therefore, a means for appropriately controlling the order of drive signals applied to the channel is required.

이를 위해, 본 발명에 따른 RS-422 통신회로에는 릴레이(230)외에 상기 릴레이를 제어하는 디코더(260)와 제어부(250)가 구비되어 있다.To this end, the RS-422 communication circuit according to the present invention is provided with a decoder 260 and a controller 250 for controlling the relay in addition to the relay 230.

예컨대, 여러 개의 드라이버(230)중 하나의 드라이버 즉, 제 1 드라이버(230a)를 통해 데이터를 수신하는 경우 제어부(250)는 제 1 릴레이(230a)를 선택하는 제어신호(Relay Select Control Signal 0)를 디코더(260)로 출력하고, 상기 디코더(260)는 상기 제어신호에 따라 제 1 릴레이(230a)를 구동시키는 신호(Relay Select Signal 0)를 출력한다. 그러면, 제 1 릴레이(230a)만이 온(on)되고, 나머지 릴레이는 모두 오프(off) 상태를 유지하기 때문에 상기 제 1 드라이버(230a)의 송신신호만 옵토 커플러(240)로 출력된다.For example, when receiving data through one of the drivers 230, that is, the first driver 230a, the control unit 250 selects a first relay 230a. Is output to the decoder 260, and the decoder 260 outputs a signal (Relay Select Signal 0) for driving the first relay 230a according to the control signal. Then, since only the first relay 230a is turned on and all the remaining relays are off, only the transmission signal of the first driver 230a is output to the optocoupler 240.

한편, 제 2 드라이버(220b)를 통해 데이터를 수신하는 경우 제어부(250)는제 2 릴레이(230b)를 선택하는 제어신호(Relay Select Control Signal 1)를 디코더(260)로 출력하고, 상기 디코더(260)는 상기 제어신호에 따라 제 2 릴레이(230b)를 구동시키는 신호(Relay Select Signal 1)를 출력한다. 그러면, 제 2 릴레이(230b)만이 온 되고, 나머지 릴레이는 모두 오프 상태를 유지하기 때문에 상기 제 2 드라이버(230b)의 송신신호만 옵토 커플러(240)로 출력된다.On the other hand, when receiving data through the second driver 220b, the controller 250 outputs a control signal (Relay Select Control Signal 1) for selecting the second relay 230b to the decoder 260, and the decoder 260. ) Outputs a signal (Relay Select Signal 1) for driving the second relay 230b according to the control signal. Then, since only the second relay 230b is turned on and all the remaining relays remain off, only the transmission signal of the second driver 230b is output to the optocoupler 240.

즉, 본 발명에 따른 RS-422 통신 회로는 디코더(260)를 통해 릴레이(230)를 동작시킴으로써 해당 통신 채널과 다른 인접 채널간의 간섭이 발생되는 것을 차단하고, 옵토 커플러(240)의 동작 전류값을 보장한다.That is, the RS-422 communication circuit according to the present invention blocks the occurrence of interference between the corresponding communication channel and another adjacent channel by operating the relay 230 through the decoder 260, and the operating current value of the optocoupler 240. To ensure.

특히, 하나의 옵토 커플러(240)만을 사용하여 데이터 송신부(210)와 데이터 수신부(270)를 인터페이스(interface)함으로, 종래 방식에 비해 회로가 현저히 간략화 된다.In particular, by using only one opto-coupler 240 to interface the data transmitter 210 and the data receiver 270, the circuit is significantly simplified compared to the conventional method.

이상, 전술한 실시예는 예시의 목적을 위해 개시된 것으로, 당업자라면 본 발명의 기술사상을 일탈하지 아니하는 범위에서 다양한 변경, 개량, 대체 및 부가 등이 수정이 가능함을 알 수 있을 것이다. 따라서, 본 발명의 기술적 범위는 이하 첨부되는 특허청구의 범위에 의하여 정하여야만 한다. 도 2는 본 발명에 따른 인터페이스 장치의 일실시예를 개략적으로 나타낸 것이다.As described above, the above embodiments are disclosed for purposes of illustration, and those skilled in the art will appreciate that various modifications, improvements, substitutions, and additions may be made without departing from the spirit of the present invention. Accordingly, the technical scope of the present invention should be defined by the appended claims. 2 schematically shows an embodiment of an interface device according to the invention.

이상에서 설명한 바와 같이 본 발명에 따른 RS-422 통신 회로에 의하면, 릴레이를 이용하여 선택적으로 옵토 커플러를 동작시켜 옵토 커플러의 동작 전류값을 보장하면서 신호의 전달이 이루어질 수 있도록 함으로써 회로의 설계를 간략화 시키며, 회로 설계의 효율성이 극대화될 수 있고, 특정 채널만을 통해 신호를 전달할 수 있기 때문에 인접 채널간에 간섭이 발생하는 것을 차단할 수 있다.As described above, the RS-422 communication circuit according to the present invention simplifies the circuit design by selectively operating an optocoupler using a relay to ensure signal transmission while ensuring an operating current value of the optocoupler. In addition, the efficiency of the circuit design can be maximized and the signal can be transmitted only through specific channels, thereby preventing interference between adjacent channels.

Claims (1)

복수의 데이터를 송신하는 데이터 송신부와;A data transmitter for transmitting a plurality of data; 상기 데이터 송신부에서 출력되는 신호에 따라 각각의 구동 신호를 출력하는 복수의 드라이버와;A plurality of drivers for outputting respective driving signals according to the signals output from the data transmitter; 상기 드라이버의 출력단에 병렬로 연결되는 복수의 릴레이와;A plurality of relays connected in parallel to the output terminal of the driver; 상기 릴레이의 출력단에 연결되어 상기 릴레이의 구동에 따라 상기 드라이버로부터 출력되는 송신 신호를 수신하는 옵토 커플러와;An optocoupler connected to an output terminal of the relay and receiving a transmission signal output from the driver according to driving of the relay; 상기 릴레이의 동작을 제어하도록 제어 신호를 출력하는 제어부와;A control unit for outputting a control signal to control the operation of the relay; 상기 제어부로부터 출력되는 제어 신호에 따라 해당 릴레이로 제어 신호를 전달하는 디코더; 및A decoder transferring a control signal to a corresponding relay according to the control signal output from the controller; And 상기 옵토 커플러를 통해 출력되는 신호를 수신하는 데이터 수신부; 를 포함하는 것을 그 특징으로 하는 RS-422 통신 회로.A data receiver configured to receive a signal output through the optocoupler; RS-422 communication circuit, characterized in that it comprises a.
KR1020010076327A 2001-12-04 2001-12-04 RS 422 Communication Circuit KR20030045572A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020010076327A KR20030045572A (en) 2001-12-04 2001-12-04 RS 422 Communication Circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020010076327A KR20030045572A (en) 2001-12-04 2001-12-04 RS 422 Communication Circuit

Publications (1)

Publication Number Publication Date
KR20030045572A true KR20030045572A (en) 2003-06-11

Family

ID=29572989

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020010076327A KR20030045572A (en) 2001-12-04 2001-12-04 RS 422 Communication Circuit

Country Status (1)

Country Link
KR (1) KR20030045572A (en)

Similar Documents

Publication Publication Date Title
JPH06503704A (en) Communication interface for bus-connected circuit breakers
DE60129660D1 (en) Optical transfer interface modules for USB
CN210490838U (en) Isolated communication circuit and system
KR20030045572A (en) RS 422 Communication Circuit
CN104579881A (en) Configurable RS232/422/485 multiplexing circuit
KR20020057740A (en) Rs 422 communication circuit using relay
KR0122738Y1 (en) Transmitter and receiver in the network
JPH06338778A (en) Bidirectional optical coupler
KR100202977B1 (en) Conjunction apparatus between two connectors
JP2007013504A (en) Optical transmission unit and optical transmission cable
CN215529205U (en) Audio switching circuit for resource scheduling mutual control of short-wave fixed communication station
KR20030039081A (en) Half-duplex communication system
KR100315987B1 (en) Pneumatic Solenoid Valve Control System Controlled by Digital Serial Data
CN117807009A (en) Three-in-one interface circuit, serial device and terminal equipment of serial port
KR100562644B1 (en) method for transmitting and receiving of data
CN116662235B (en) Interface for multi-protocol encoder
CN216391065U (en) RS485 communication-based multi-path-to-one-path data routing device
CN101156336A (en) Electrooptical coupling device
SU1462505A1 (en) Telegraph communication system
JPH11205244A (en) Full duplex optical communication equipment and full duplex optical communication method
JP2002209014A (en) Information transmitter
KR200351716Y1 (en) Message transmission and reception interface device between communication stations
JPS58172039A (en) Optical transmission system
KR200376518Y1 (en) RS-232 to RS-485 converter with input/output port of data isolated
KR100224272B1 (en) Apparatus for transceiving signal of fsk

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination