KR101328505B1 - apparatus for controlling long-distance multi-path using RS-232C - Google Patents

apparatus for controlling long-distance multi-path using RS-232C Download PDF

Info

Publication number
KR101328505B1
KR101328505B1 KR1020080096468A KR20080096468A KR101328505B1 KR 101328505 B1 KR101328505 B1 KR 101328505B1 KR 1020080096468 A KR1020080096468 A KR 1020080096468A KR 20080096468 A KR20080096468 A KR 20080096468A KR 101328505 B1 KR101328505 B1 KR 101328505B1
Authority
KR
South Korea
Prior art keywords
controller
signal
devices
data
protocol
Prior art date
Application number
KR1020080096468A
Other languages
Korean (ko)
Other versions
KR20100037246A (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 KR1020080096468A priority Critical patent/KR101328505B1/en
Publication of KR20100037246A publication Critical patent/KR20100037246A/en
Application granted granted Critical
Publication of KR101328505B1 publication Critical patent/KR101328505B1/en

Links

Images

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/4004Coupling between buses
    • G06F13/4027Coupling between buses using bus bridges
    • 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/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1605Handling requests for interconnection or transfer for access to memory bus based on arbitration
    • G06F13/1652Handling requests for interconnection or transfer for access to memory bus based on arbitration in a multiprocessor architecture
    • G06F13/1663Access to shared memory

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)
  • Selective Calling Equipment (AREA)
  • Small-Scale Networks (AREA)

Abstract

RS-232C를 이용한 원거리 다중경로 제어장치가 개시되어 있다. 이에 의하면, RS-232C 통신을 하는 장치들을 먼 원거리에 배치하거나 다수개 배치하여 제어하더라도 전송신호의 감쇠를 방지함으로써 통신불량을 방지하고 통신포트의 수를 확장할 수 있다.A remote multipath controller using RS-232C is disclosed. According to this, even if the device for RS-232C communication is arranged at a far distance or a plurality of devices to control the communication signal can be prevented by preventing attenuation of the transmission signal, and the number of communication ports can be expanded.

RS-232C, 원거리 다중경로 제어장치, 감쇠 RS-232C, remote multipath controller, attenuation

Description

RS-232C를 이용한 원거리 다중경로 제어장치{apparatus for controlling long-distance multi-path using RS-232C}Apparatus for controlling long-distance multi-path using RS-232C}

본 발명은, RS-232C를 이용한 다중경로 제어장치에 관한 것으로, 더욱 상세하게는, 전송신호의 감쇠에 따른 통신불량을 일으키지 않고도 원거리에서 여러 장치들을 제어하도록 한 RS-232C를 이용한 원거리 다중경로 제어장치에 관한 것이다.The present invention relates to a multipath control apparatus using RS-232C, and more particularly, to remote multipath control using RS-232C to control various devices at a long distance without causing communication failure due to attenuation of a transmission signal. Relates to a device.

일반적으로, RS-232C 인터페이스방식은, 표준 인터페이스방식의 하나로서, 데이터를 직렬 전송하며 하나의 인터페이스에 대하여 하나의 단말장치밖에 접속할 수 없지만, 배선수가 적고 접속이 용이하며 RS-232C 레벨을 사용하므로 TTL레벨보다 훨씬 더 긴 케이블을 사용할 수 있다는 이점이 있다. 그러므로 다양한 장비들과 제어용 컴퓨터 간의 통신은, 주로 RS-232C 인터페이스방식의 통신로에 의해 이루어지고 있다.In general, the RS-232C interface method is one of the standard interface methods, and serially transmits data, and only one terminal device can be connected to one interface. However, the number of wires is small, the connection is easy, and the RS-232C level is used. The advantage is that a cable much longer than the TTL level can be used. Therefore, communication between the various devices and the control computer is mainly performed by the communication path of the RS-232C interface method.

도 1에 도시된 바와 같이, 개인용 컴퓨터 또는 랩탑 컴퓨터와 같은 한 대의 제어용 콘트롤러(1)가 하나의 RS-232C 통신포트를 이용하여 비디오카메라들(3)과, RS232C 통신이 가능한 설비들(5)을 제어하는 경우, RS-232C 통신포트를 여러 개로 확장하기가 어렵고, 통신거리를 12미터 이상의 원거리로 연장하거나 통신포트를 확장하였을 때, 전송신호의 감쇠가 불가피하다. 전송신호의 감쇠가 발생한 상태에서는, RS-232C 통신에서 정확한 데이터 추출이 이루어지지 않기 때문에 비디오카메라들(3)이나 설비들(5)이 정확하게 제어되지 않거나 비디오카메라들(3)이나 설비들(5)로부터 오류 데이터를 수신하므로 시스템 운용에 많은 어려움이 있었다.As shown in Fig. 1, a control controller 1, such as a personal computer or a laptop computer, has facilities capable of RS232C communication with the video cameras 3 using one RS-232C communication port. In case of control, it is difficult to extend RS-232C communication port to several, and attenuation of transmission signal is inevitable when the communication distance is extended to 12m or more. In the state where attenuation of the transmission signal occurs, the video cameras 3 or 5 are not accurately controlled or the video cameras 3 or 5 are not accurately controlled because accurate data extraction is not performed in RS-232C communication. Since error data is received from the system, there are many difficulties in operating the system.

도 2에 도시된 바와 같이, 개인용 컴퓨터 또는 랩탑 컴퓨터와 같은 한 대의 제어용 콘트롤러(10)가 RS-232C 통신용 분배부(20)를 사용하여 비디오카메라들뿐만 아니라 RS-232C 통신이 가능한 설비들과 같은 복수개의 장치들(SET1, SET2,..., SETN)을 제어하는 경우, 분배부(20)가 제1분배기(21)와 제2분배기(23)를 포함하여 구성되고, 제1분배기(21)가, 하나의 통신포트를 가진 트랜스시버로서, 콘트롤러(10) 및 제2분배기(23)와 RS-232C 통신을 하고, 제2분배기(23)가, 복수개의 트랜스시버를 가지며, 제1분배기(21)와 통신을 함과 아울러 각각의 통신포트를 통하여 장치들(SET1, SET2,..., SETN)과 통신을 한다. 이러한 구성은 단순히 RS-232C 통신포트를 확장한 구성이기 때문에, 콘트롤러(10)와 장치들(SET1, SET2,..., SETN) 사이의 거리가 12미터를 초과하거나, 장치들(SET1, SET2,..., SETN)이 25개보다 많아질 경우, 이러한 장치들(SET1, SET2,..., SETN)들을 제어할 때, 전송신호의 감쇠가 심화하여서 통신상태가 악화되며, 장치들(SET1, SET2,..., SETN)로부터 콘트롤러(1) 로 전송되는 신호에 대해 장치들(SET1, SET2,..., SETN)의 각각에서 제어 가능해야만 하였다.As shown in Fig. 2, one control controller 10, such as a personal computer or a laptop computer, uses the distribution unit 20 for RS-232C communication such as facilities capable of RS-232C communication as well as video cameras. When controlling the plurality of devices SET 1 , SET 2 ,..., SET N , the distribution unit 20 includes a first distributor 21 and a second distributor 23, and includes a first distributor 21. The distributor 21 is a transceiver having one communication port, which performs RS-232C communication with the controller 10 and the second distributor 23, and the second distributor 23 has a plurality of transceivers, In addition to communicating with the distributor 21 and through the respective communication port to communicate with the devices (SET 1 , SET 2 , ..., SET N ). Since this configuration is simply an extension of the RS-232C communication port, the distance between the controller 10 and the devices SET 1 , SET 2 , ..., SET N exceeds 12 meters, or the devices ( 1 SET, SET 2, ..., N SET) when the quality is more than 25, hayeoseo to control such devices (1 SET, SET 2, ..., N SET), the attenuation of the transmitted signal deepening the communication state is deteriorated, the device of the device for the signals transmitted to the controller 1 from the (SET 1, SET 2, ..., N SET) (SET 1, SET 2, ..., N SET) Each had to be controllable.

도 3에 도시된 바와 같이, 개인용 컴퓨터 또는 랩탑 컴퓨터와 같은 한 대의 제어용 콘트롤러(10)가 RS-232C 통신용 분배부(30)를 사용하여 비디오카메라들뿐만 아니라 RS-232C 통신이 가능한 설비들과 같은 복수개의 장치들(SET1, SET2,..., SETN)을 제어하는 경우, 분배부(30)가 제1분배기(31)와 제2분배기(32) 및 제3분배기(33)를 포함하여 구성되고, 제1분배기(31)가, 하나의 통신포트를 가진 트랜스시버이고, 제2분배기(32)가 버퍼로서, 제1분배기(31)로부터 전송된 TTL레벨의 신호를 복수개의 출력단을 통하여 제3분배기(33) 내의 대응하는 복수개의 트랜스시버로 선별 분배 없이 전송하고, 각각의 통신포트를 통하여 장치들(SET1, SET2,..., SETN)과 통신을 하는 한편, 제2분배기(32)를 거치지 않고 제1분배기(31)에 RS-232C레벨의 신호를 전송한다. 이러한 구성은, 콘트롤러(10)와 장치들(SET1, SET2,..., SETN)로 전송하는 신호에 대한 감쇠가 해결될 수 있었으나, 콘트롤러(10) 또는 장치들(SET1, SET2,..., SETN)로 입력된 데이터는, 프로토콜에 일치하지 못한 경우에도 콘트롤러(10) 또는 장치들(SET1, SET2,... SETN)로 전송됨으로써 시스템의 운용에 오동작이 자주 발생하였다.As shown in Fig. 3, one control controller 10, such as a personal computer or a laptop computer, uses the distribution unit 30 for RS-232C communication, such as facilities capable of RS-232C communication as well as video cameras. When controlling the plurality of devices SET 1 , SET 2 ,..., SET N , the distribution unit 30 controls the first distributor 31, the second distributor 32, and the third distributor 33. The first divider 31 is a transceiver having one communication port, and the second divider 32 is a buffer, and the TTL level signal transmitted from the first divider 31 is supplied to a plurality of output stages. Transmits to the corresponding plurality of transceivers in the third distributor 33 without selective distribution, and communicates with the devices SET 1 , SET 2 ,..., SET N via respective communication ports, The RS-232C level signal is transmitted to the first distributor 31 without passing through the distributor 32. In this configuration, although the attenuation of the signal transmitted to the controller 10 and the devices SET 1 , SET 2 ,..., SET N could be solved, the controller 10 or the devices SET 1 , SET 2 , ..., SET N ) is transmitted to the controller 10 or devices (SET 1 , SET 2 , ... SET N ) even when the protocol does not match, causing malfunction in the operation of the system. This often happened.

따라서 본 발명의 목적은, RS-232C 통신을 하는 장치들을 먼 원거리에 배치하거나 다수개 배치하여 제어하더라도 전송신호의 감쇠를 방지함으로써 통신불량을 방지하고 통신포트의 수를 확장하도록 한 RS-232C를 이용한 원거리 다중경로 제어장치를 제공하는데 있다.Therefore, an object of the present invention is to prevent RS-232C communication by extending the number of communication ports by preventing attenuation of the transmission signal even if the RS-232C communication devices are controlled at a long distance or a plurality of devices. The present invention provides a remote multipath controller.

이와 같은 목적을 달성하기 위한 본 발명의 실시예에 의한 RS-232C를 이용한 원거리 다중경로 제어장치는, 복수개의 장치들을 제어하는 제어용 콘트롤러; 및 상기 제어용 콘트롤러로부터의 신호를 RS-232C 통신포트를 거쳐 수신한 후 수신신호에 대한 프로토콜을 분석하여 데이터를 추출하고, 상기 장치들의 프로토콜에 맞추어 추출 데이터에 상응하는 신호를 재생성하여 상기 장치들에 전송하는 분배부를 포함하고, 상기 분배부는, 상기 제어용 콘트롤러부터의 신호를 하나의 통신포트를 거쳐 수신한 후 수신신호의 RS-232C레벨을 TTL레벨로 변환하여 전송하는 하나의 RS-232C 트랜스시버를 가진 제1분배기; 상기 제1분배기로부터 전송받은 TTL레벨의 신호에 대한 프로토콜을 분석하여 데이터를 추출하고, 상기 장치들의 프로토콜에 맞추어 추출 데이터에 상응하는 신호를 재생성하는 선별분배용 콘트롤러; 및 상기 선별분배용 콘트롤러로부터 전송받은 신호의 TTL레벨을 RS-232C레벨로 변환하여 상기 장치들에 각각 대응하는 복수개의 통신포트를 거쳐 상기 장치들로 전송하는 복수개의 RS-232C 트랜스시버들을 가진 제2분배기를 포함한다.The remote multipath controller using RS-232C according to an embodiment of the present invention for achieving the above object, a control controller for controlling a plurality of devices; And receiving a signal from the control controller through an RS-232C communication port, analyzing a protocol for the received signal, extracting data, and regenerating a signal corresponding to the extracted data in accordance with the protocol of the devices. And a distribution unit for transmitting, wherein the distribution unit has one RS-232C transceiver for receiving a signal from the control controller through one communication port and converting the RS-232C level of the received signal into a TTL level for transmission. A first divider; A selective distribution controller for analyzing data for a TTL level signal received from the first distributor, extracting data, and regenerating a signal corresponding to the extracted data in accordance with protocols of the devices; And a second RS-232C transceiver for converting the TTL level of the signal received from the screening controller to the RS-232C level and transmitting the RS to the devices through a plurality of communication ports respectively corresponding to the devices. It includes a distributor.

본 발명에 따르면, 선별분배용 콘트롤러가, 추출 데이터가 프로토콜에 일치하는 경우, 최종 장치들에 적합한 프로토콜 규약에 따라 데이터를 재생성하여 전송하므로 전송거리가 원거리, 예를 들어 12미터보다 먼 거리로 증가하더라도 신호의 감쇠를 방지하여 통신불량을 방지할 수 있다. 또한 선별분배용 콘트롤러가, 장치들에서 제어용 콘트롤러로 전송될 신호들에 대해 프로토콜을 분석하고, 제어용 콘트롤러로 전송될 데이터가 맞는지 확인한 후에 프로토콜에 맞추어 해당 데이터를 제어용 콘트롤러에 전송하므로 데이터를 장치들에서 제어용 콘트롤러로 손실 없이 전송하는 것이 가능하다. 더욱이 본 발명은, 선별 제어용 콘트롤러에 프로토콜을 간단하게 설치 가능하므로 프로토콜에 별다른 구애를 받지 않고 통신포트의 수를 확장할 수 있음으로써 장치들의 수를 25대보다 더 많이 확장할 수가 있다.According to the present invention, when the selective distribution controller matches the protocol with the extracted data, the data is regenerated and transmitted according to a protocol protocol suitable for end devices, so that the transmission distance is increased to a long distance, for example, a distance greater than 12 meters. Even if it can prevent the signal attenuation to prevent communication failure. In addition, the screening controller analyzes the protocol for signals to be transmitted from the devices to the controller, checks whether the data to be transmitted to the controller is correct, and then transmits the data to the controller according to the protocol. It is possible to transmit without loss to the controller for control. Furthermore, the present invention can easily install a protocol in the controller for sorting control, so that the number of communication ports can be expanded regardless of the protocol, thereby expanding the number of devices more than 25 units.

이하, 본 발명의 바람직한 실시예에 의한 RS-232C를 이용한 원거리 다중경로 제어장치를 첨부된 도면을 참조하여 상세히 설명하기로 한다. Hereinafter, a remote multipath control apparatus using RS-232C according to a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 4는 본 발명의 실시예에 의한 RS-232C를 이용한 원거리 다중경로 제어장치를 나타낸 구성도이다.Figure 4 is a block diagram showing a remote multipath control apparatus using RS-232C according to an embodiment of the present invention.

도 4를 참조하면, 본 발명의 RS-232C를 이용한 원거리 다중경로 제어장치는, 개인용 컴퓨터 또는 랩탑 컴퓨터와 같은 한 대의 제어용 콘트롤러(10)가 RS-232C 통신용 분배부(40)를 사용하여 비디오카메라들뿐만 아니라 RS-232C 통신이 가능한 설비들과 같은 복수개의 장치들(SET1, SET2,..., SETN)의 다중경로를 제어하도록 구성된다.Referring to FIG. 4, in the remote multipath controller using the RS-232C of the present invention, a control controller 10 such as a personal computer or a laptop computer uses a video camera using an RS-232C communication distribution unit 40. And multipaths of a plurality of devices (SET 1 , SET 2 ,..., SET N ), as well as facilities capable of RS-232C communication.

여기서, 분배부(40)는, 제1분배기(41)와 제2분배기(42) 및 선별분배용 콘트롤러(43)를 포함하여 구성된다.Here, the distribution part 40 is comprised including the 1st distributor 41, the 2nd distributor 42, and the selective distribution controller 43. As shown in FIG.

제1분배기(41)는, 하나의 통신포트를 가진 RS-232C 트랜스시버로서, 제어용 콘트롤러(10)로부터 입력된 RS-232C레벨의 신호를 TTL레벨의 신호로 변환하여 선별분배용 콘트롤러(43)에 전송하거나, 선별분배용 콘트롤러(43)로부터 입력된 TTL레벨의 신호를 RS-232C레벨의 신호로 변환하여 제어용 콘트롤러(10)에 전송한다.The first divider 41 is an RS-232C transceiver having one communication port. The first divider 41 converts a signal of the RS-232C level input from the controller 10 into a TTL level signal to the selective distribution controller 43. Alternatively, the TTL level signal input from the screening distribution controller 43 is converted into a RS-232C level signal and transmitted to the control controller 10.

선별분배용 콘트롤러(43)는, 범용 비동기화 송수신기(Universal asynchronous Receiver/Transmitter UART)를 내장하고 있고, 제1분배기(41)로부터 전송된 TTL레벨의 신호에 대해 프로토콜을 분석하여 장치들(SET1, SET2,..., SETN)에 전송할 데이터를 추출, 판별하고, 그 데이터가 프로토콜에 일치하는 것으로 판별되면, 최종 장치들(SET1, SET2,..., SETN)에 적합한 프로토콜 규약에 따라 해당 데이터를 TTL레벨에서 RS-232C레벨로 변환, 재생성(re-generation)하여 선별분배용 콘트롤러(43)의 복수개의 출력단을 통하여 제2분배기(42) 내의 대응하는 복수개의 트랜스시버로 선별 분배하여 전송하거나, 그 데이터가 프로토콜에 일치하지 않은 것으로 판별되면, 데이터를 제2분배기(42)로 전송하지 않는다. 한편, 제2분배 기(42) 내의 대응하는 복수개의 트랜스시버를 거쳐 장치들(SET1, SET2,..., SETN)로부터 전송받은 RS-232C레벨의 신호를 TTL레벨의 신호로 변환한 후 해당 신호에 대해 프로토콜을 분석하여 제어용 콘트롤러(10)에 전송할 데이터를 추출, 판별하고, 그 데이터가 프로토콜에 일치한 것으로 판별되면, 데이터를 TTL레벨에서 RS-232C레벨로 변환하여 제1분배기(41)에 전송한다.The selective distribution controller 43 has a built-in universal asynchronous receiver / transmitter UART, and analyzes the protocol for the TTL level signal transmitted from the first distributor 41 to set the devices (SET 1). , SET 2, ..., N SET) extracts the data to be transmitted to, and determines, when the data is judged to be consistent with the protocol, suitable for end-device (SET 1, SET 2, ..., N SET) According to the protocol, the data is converted from the TTL level to the RS-232C level and re-generated to a plurality of corresponding transceivers in the second divider 42 through a plurality of outputs of the sorting controller 43. If it is determined to be selectively distributed and transmitted, or if the data does not match the protocol, the data is not transmitted to the second distributor 42. Meanwhile, the RS-232C level signal received from the devices SET 1 , SET 2 ,..., SET N is converted into a TTL level signal through a plurality of corresponding transceivers in the second distributor 42. After analyzing the protocol for the signal and extracting and determining the data to be transmitted to the controller 10 for control, and if it is determined that the data matches the protocol, the data is converted from the TTL level to the RS-232C level and the first divider ( 41).

제2분배기(42)는, 선별분배용 콘트롤러(43)로부터 입력된 TTL레벨의 신호를 RS-232C레벨의 신호로 변환하여 장치들(SET1, SET2,..., SETN)에 전송하거나, 장치들(SET1, SET2,..., SETN)로부터 입력된 RS-232C레벨의 신호를 TTL레벨의 신호로 변환하여 선별분배용 콘트롤러(43)에 전송한다.The second distributor 42 converts the signal of the TTL level input from the sorting and distribution controller 43 into a signal of the RS-232C level and transmits the signal to the devices SET 1 , SET 2 ,..., SET N. Alternatively, the RS-232C level signal inputted from the devices SET 1 , SET 2 ,..., SET N is converted into a TTL level signal and transmitted to the selection distribution controller 43.

이러한 구성을 가진 다중경로 제어장치의 작용을 도 5를 참조하여 간단히 설명하기로 한다.The operation of the multipath controller having such a configuration will be briefly described with reference to FIG. 5.

도 5를 참조하면, 단계(S10)에서, 먼저, 장치들(SET1, SET2,..., SETN) 중에서 원하는 장치, 예를 들어 첫 번째 장치(SET1)에 대해 전원공급(turn on), 전원차단(turn off), 온도설정 등과 같은 동작을 제어하기 위하여, 사용자가 제어용 콘트롤러(10)의 키패드를 통하여 해당하는 입력 데이터를 입력함에 따라 제어용 콘트롤러(10)의 모니터에 입력 데이터가 디스플레이되고 아울러 입력 데이터에 해당하는 RS-232C 레벨의 신호를 분배부(40)의 제1분배기(41) 예를 들어, 하나의 통신포트를 가진 RS-232C 트랜스시버에 전송한다.Referring to FIG. 5, in step S10, first, power is turned on for a desired device, for example the first device SET1, among the devices SET 1 , SET 2 ,..., SET N. In order to control operations such as power off (turn off), temperature setting, and the like, input data is displayed on the monitor of the controller 10 as the user inputs corresponding input data through the keypad of the controller 10. In addition, the RS-232C level signal corresponding to the input data is transmitted to the first distributor 41 of the distribution unit 40, for example, an RS-232C transceiver having one communication port.

단계(S20)에서, 제1분배기(41)는, 하나의 통신포트를 가진 RS-232C 트랜스시 버로서, 제어용 콘트롤러(10)로부터 전송받은 RS-232C레벨의 신호를 TTL레벨의 신호로 변환하여 선별분배용 콘트롤러(43)에 전송한다.In step S20, the first distributor 41 is an RS-232C transceiver having one communication port, and converts a signal of the RS-232C level received from the controller 10 into a TTL level signal. It transmits to the selection distribution controller 43.

단계(S30)에서, 선별분배용 콘트롤러(43)는, 제1분배기(41)로부터 전송된 TTL레벨의 신호에 대해 프로토콜을 분석하여 장치들(SET1, SET2,..., SETN) 중 원하는 장치, 예를 들어 장치(SET1)에 전송할 데이터를 추출한다.In step S30, the sorting controller 43 analyzes the protocol for the TTL level signal transmitted from the first distributor 41 and sets the devices SET 1 , SET 2 ,..., SET N. The data to be transmitted to the desired device, for example, the device SET1, is extracted.

단계(S40)에서, 선별분배용 콘트롤러(43)는, 이어, 추출된 데이터가 프로토콜 내에 있는 데이터와 일치하는지를 판별한다.In step S40, the sorting controller 43 then determines whether the extracted data matches the data in the protocol.

이때, 추출 데이터가 프로토콜 내에 있는 데이터와 일치하는 것으로 판별되면, 단계(S50)에서, 선별분배용 콘트롤러(43)는, 원하는 장치(SET1)에 적합한 프로토콜에 따라 추출 데이터를 TTL레벨에서 RS-232C레벨로 변환, 재생성(re-generation)한 후 선별분배용 콘트롤러(43)의 복수개의 출력단 중 장치(SET1)에 대응하는 출력단을 통하여 제2분배기(42) 내의 복수개의 트랜스시버 중 대응하는 첫 번째의 RS-232C 트랜스시버로 전송한다. 이어, 첫 번째의 RS-232C 트랜스시버가 선별분배용 콘트롤러(43)로부터 전송받은, 재생성된 데이터를 첫 번째 장치(SET1)로 전송한다.At this time, if it is determined that the extracted data coincides with the data in the protocol, in step S50, the sorting controller 43 transmits the extracted data to the RS- at the TTL level according to a protocol suitable for the desired device SET 1 . After the conversion and regeneration to the 232C level, the corresponding first of the plurality of transceivers in the second distributor 42 through the output terminal corresponding to the device SET 1 of the plurality of output terminals of the sorting controller 43. Transmit to the first RS-232C transceiver. Subsequently, the first RS-232C transceiver transmits the regenerated data received from the sorting controller 43 to the first device SET1.

반면에, 추출 데이터가 프로토콜에 일치하지 않은 것으로 판별되면, 선별분배용 콘트롤러(43)는 데이터를 제2분배기(42)로 전송하지 않고, 단계(S10)로 되돌아간다.On the other hand, if it is determined that the extracted data does not match the protocol, the sorting controller 43 does not transmit the data to the second distributor 42, and returns to step S10.

단계(S70)에서, 첫 번째 장치(SET1)가 대응하는 첫 번째의 RS-232C 트랜스시 버로부터 상기 재생성된 데이터를 전송받음으로써 첫 번째 장치(SET1)의 전원공급이 이루어진다.In step S70, power is supplied to the first device SET1 by receiving the regenerated data from the corresponding first RS-232C transceiver.

단계(S80)에서, 첫 번째 장치(SET1)가 전원공급의 제어가 완료되었음을 통지하는 RS-232C레벨의 신호를, 대응하는 첫 번째의 RS-232C 트랜스시버에 전송한다.In step S80, the first device SET1 transmits a signal of RS-232C level notifying that control of power supply is completed, to the corresponding first RS-232C transceiver.

단계(S90)에서, 첫 번째의 RS-232C 트랜스시버가 첫 번째 장치(SET1)로부터 전송받은, 전원공급의 제어가 완료되었음을 통지하는 RS-232C레벨의 신호를 TTL레벨의 신호를 변환하여 선별분배용 콘트롤러(43)의 복수개의 입력단 중 장치(SET1)에 대응하는 입력단을 통하여 선별분배용 콘트롤러(43)에 전송한다.In step S90, the first RS-232C transceiver transmits the signal of the RS-232C level, which is transmitted from the first device SET1, to notify that the control of the power supply is completed, by converting the signal of the TTL level for selective distribution. The controller 43 transmits to the sorting controller 43 through an input terminal corresponding to the device SET 1 among the plurality of input terminals of the controller 43.

단계(S100)에서, 선별분배용 콘트롤러(43)는, 제2분배기(41)의 첫 번째의 RS-232C 트랜스시버로부터 전송받은 TTL레벨의 신호에 대해 프로토콜을 분석하여 제어용 콘트롤러(10)에 전송할 데이터를 추출한다.In step S100, the selective distribution controller 43 analyzes a protocol for a signal of the TTL level received from the first RS-232C transceiver of the second distributor 41 and transmits the data to the controller 10 for control. Extract

단계(S110)에서, 선별분배용 콘트롤러(43)는, 이어, 추출된 데이터가 프로토콜 내에 있는 데이터와 일치하는지를 판별한다.In step S110, the sorting controller 43 then determines whether the extracted data matches the data in the protocol.

이때, 추출된 데이터가 프로토콜 내에 있는 데이터와 일치하는 것으로 판별되면, 단계(S120)에서, 선별분배용 콘트롤러(43)는, 제어용 콘트롤러(10)에 적합한 프로토콜에 따라 해당 데이터를 TTL레벨에서 RS-232C레벨로 변환, 재생성한 후 제1분배기(41) 내의 하나의 RS-232C 트랜스시버로 전송한다. 반면에, 추출된 데이터가 프로토콜 내에 있는 데이터와 일치하지 않은 것으로 판별되면, 단계(S130)에서, 선별분배용 콘트롤러(43)가 제1분배기(41)에 데이터를 전송하지 않고, 단계(S80)로 되돌아간다.At this time, if it is determined that the extracted data coincides with the data in the protocol, in step S120, the selective distribution controller 43 transmits the corresponding data at the TTL level to RS- according to a protocol suitable for the controller 10 for control. After converting and regenerating to 232C level, it transmits to one RS-232C transceiver in the first distributor 41. On the other hand, if it is determined that the extracted data does not match the data in the protocol, in step S130, the screening controller 43 does not transmit the data to the first distributor 41, step S80. Return to

단계(S130)에서, 첫 번째의 RS-232C 트랜스시버가 선별분배용 콘트롤러(43)로부터 전송받은 데이터를 제어용 콘트롤러(10)로 전송한다.In step S130, the first RS-232C transceiver transmits the data received from the sorting distribution controller 43 to the control controller 10.

따라서 본 발명은, 선별분배용 콘트롤러(43)가, 추출 데이터가 프로토콜에 일치하는 경우, 최종 장치들(SET1, SET2,..., SETN)에 적합한 프로토콜 규약에 따라 데이터를 재생성하여 전송하므로 전송거리가 원거리, 예를 들어 12미터보다 먼 거리로 증가하더라도 신호의 감쇠를 방지하여 통신불량을 방지할 수 있다.Therefore, according to the present invention, when the selective distribution controller 43 matches the protocol, the data is regenerated according to a protocol protocol suitable for the final devices SET 1 , SET 2 ,..., SET N. Because of the transmission, even if the transmission distance is increased to a long distance, for example, a distance greater than 12 meters, it is possible to prevent a communication failure by preventing attenuation of the signal.

또한 선별분배용 콘트롤러(43)가, 장치들(SET1, SET2,..., SETN)에서 제어용 콘트롤러(10)로 전송될 신호들에 대해 프로토콜을 분석하고, 제어용 콘트롤러(10)로 전송될 데이터가 맞는지 확인한 후에 프로토콜에 맞추어 해당 데이터를 제어용 콘트롤러(10)에 전송하므로 데이터를 장치들(SET1, SET2,..., SETN)에서 제어용 콘트롤러(10)로 손실 없이 전송하는 것이 가능하다.In addition, the sorting controller 43 analyzes a protocol for signals to be transmitted from the devices SET 1 , SET 2 ,..., And SET N to the controlling controller 10, and then, to the controller 10. After confirming that the data to be transmitted is correct, the data is transmitted to the controller 10 for control in accordance with the protocol, so that data is transmitted without loss from the devices SET 1 , SET 2 ,..., SET N to the controller 10 for control. It is possible.

더욱이 본 발명은, 선별 제어용 콘트롤러에 프로토콜을 간단하게 설치 가능하므로 프로토콜에 별다른 구애를 받지 않고 통신포트의 수를 확장할 수 있음으로써 장치들(SET1, SET2,..., SETN)의 수를 25대보다 더 많이 확장할 수가 있다.Furthermore, the present invention can easily install a protocol in the controller for sorting control, so that the number of communication ports can be extended without regard to the protocol, so that the devices (SET 1 , SET 2 , ..., SET N ) can be expanded. You can expand the number to more than 25.

한편, 본 발명은 도시된 도면과 상세한 설명에 기술된 내용에 한정하지 않으며 본 발명의 사상을 벗어나지 않는 범위 내에서 다양한 형태의 변형도 가능함은 이 분야에 통상의 지식을 가진 자에게는 자명한 사실이다.It will be apparent to those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims and their equivalents. .

도 1은 종래의 RS-232C를 이용한 경로 제어장치를 나타낸 회로도.1 is a circuit diagram showing a path control apparatus using a conventional RS-232C.

도 2는 종래의 다른 RS-232C를 이용한 경로 제어장치를 나타낸 회로도.Figure 2 is a circuit diagram showing a conventional path control device using another RS-232C.

도 3은 종래의 또 다른 RS-232C를 이용한 경로 제어장치를 나타낸 회로도.3 is a circuit diagram showing another path control apparatus using a conventional RS-232C.

도 4는 본 발명에 의한 RS-232C를 이용한 원거리 다중경로 제어장치를 나타낸 회로도.Figure 4 is a circuit diagram showing a remote multipath control apparatus using RS-232C according to the present invention.

도 5는 본 발명에 의한 RS-232C를 이용한 원거리 다중경로 제어장치에 적용된 제어방법을 나타낸 플로우차트.5 is a flowchart showing a control method applied to a remote multipath controller using RS-232C according to the present invention;

Claims (1)

복수개의 장치들을 제어하는 제어용 콘트롤러; 및A controller for controlling a plurality of devices; And 상기 제어용 콘트롤러로부터의 신호를 RS-232C 통신포트를 거쳐 수신한 후 수신신호에 대한 프로토콜을 분석하여 데이터를 추출하고, 상기 장치들의 프로토콜에 맞추어 추출 데이터에 상응하는 신호를 재생성하여 상기 장치들에 전송하는 분배부를 포함하고, After receiving the signal from the controller for control via the RS-232C communication port, the protocol of the received signal is analyzed and the data is extracted. The signal corresponding to the extracted data is regenerated and transmitted to the devices according to the protocol of the devices. Including a distribution unit to make, 상기 분배부는,Wherein the distributor comprises: 상기 제어용 콘트롤러부터의 신호를 하나의 통신포트를 거쳐 수신한 후 수신신호의 RS-232C레벨을 TTL레벨로 변환하여 전송하는 하나의 RS-232C 트랜스시버를 가진 제1분배기;A first divider having one RS-232C transceiver for receiving a signal from the control controller through one communication port and converting the RS-232C level of the received signal into a TTL level for transmission; 상기 제1분배기로부터 전송받은 TTL레벨의 신호에 대한 프로토콜을 분석하여 데이터를 추출하고, 상기 장치들의 프로토콜에 맞추어 추출 데이터에 상응하는 신호를 재생성하는 선별분배용 콘트롤러; 및A selective distribution controller for analyzing data for a TTL level signal received from the first distributor, extracting data, and regenerating a signal corresponding to the extracted data in accordance with protocols of the devices; And 상기 선별분배용 콘트롤러로부터 전송받은 신호의 TTL레벨을 RS-232C레벨로 변환하여 상기 장치들에 각각 대응하는 복수개의 통신포트를 거쳐 상기 장치들로 전송하는 복수개의 RS-232C 트랜스시버들을 가진 제2분배기를 포함하는 것을 특징으로 하는 RS-232C를 이용한 원거리 다중경로 제어장치.A second divider having a plurality of RS-232C transceivers for converting the TTL level of the signal received from the screening controller to the RS-232C level and transmitting them to the devices through a plurality of communication ports respectively corresponding to the devices; Remote multipath controller using RS-232C characterized in that it comprises a.
KR1020080096468A 2008-10-01 2008-10-01 apparatus for controlling long-distance multi-path using RS-232C KR101328505B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080096468A KR101328505B1 (en) 2008-10-01 2008-10-01 apparatus for controlling long-distance multi-path using RS-232C

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080096468A KR101328505B1 (en) 2008-10-01 2008-10-01 apparatus for controlling long-distance multi-path using RS-232C

Publications (2)

Publication Number Publication Date
KR20100037246A KR20100037246A (en) 2010-04-09
KR101328505B1 true KR101328505B1 (en) 2013-11-13

Family

ID=42214483

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080096468A KR101328505B1 (en) 2008-10-01 2008-10-01 apparatus for controlling long-distance multi-path using RS-232C

Country Status (1)

Country Link
KR (1) KR101328505B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102147788B1 (en) 2019-12-16 2020-08-25 정환영 Control apparatus and method for solid state relay using rs-232c connector

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7317733B1 (en) * 2003-08-18 2008-01-08 Cortina Systems, Inc. Apparatus, system, and method for protocol conversion in transceiver modules
US20080232328A1 (en) * 2007-03-23 2008-09-25 Stefan Scheinert Localization of a mobile device in distributed antenna communications system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7317733B1 (en) * 2003-08-18 2008-01-08 Cortina Systems, Inc. Apparatus, system, and method for protocol conversion in transceiver modules
US20080232328A1 (en) * 2007-03-23 2008-09-25 Stefan Scheinert Localization of a mobile device in distributed antenna communications system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102147788B1 (en) 2019-12-16 2020-08-25 정환영 Control apparatus and method for solid state relay using rs-232c connector

Also Published As

Publication number Publication date
KR20100037246A (en) 2010-04-09

Similar Documents

Publication Publication Date Title
CN100396127C (en) Method and system for resetting radio zoom-out module
JP5238500B2 (en) Data relay system and data relay method
JP5216604B2 (en) Wireless device
CN102648459A (en) Communication converter for connecting an automation device to a computer and method for controlling the communication converter
KR100770856B1 (en) Device and method for performing multi- functions using unique port in wireless terminal
WO2009144843A1 (en) Communication system, test device, communication device, communication method, and test method
CN106793153A (en) The method of optical projection system and control optical projection system
US20100209116A1 (en) Optical transmission system, optical end terminal equipment, and optical repeater equipment
KR101328505B1 (en) apparatus for controlling long-distance multi-path using RS-232C
CN109804655A (en) Method, radio frequency system and the detection device that signal transmits in radio frequency network
KR20200013722A (en) How to Communicate Between Microcontroller and Transceiver Modules
US20040106378A1 (en) Circuit connection restoration method and program for restoring connection in short time
CN101325754A (en) Method and system for resetting of radio frequency far-pulling module
US20060098722A1 (en) Repeating installation, communication speed adjusting method, program, and recording medium
US20060209679A1 (en) Transceiver, optical transmitter, port-based switching method, program, and storage medium
CN109274402B (en) Frequency hopping communication recovery method, electronic device and non-transitory computer readable medium
CN109547895B (en) Microphone and karaoke method
EP3297220A1 (en) Signal transmission method, controller and signal transmission system
CN108337143B (en) Communication structure, communication system, and communication method
US7565166B2 (en) Non-interacting transmission of identification information on communication lines
JP6407661B2 (en) Communication device
US9075628B2 (en) Electronic system and communication control method for transmitting and receiving data by serial communication
KR102177230B1 (en) Apparatus and method for serial communication control discriminating
CN102326435B (en) Communication equipment and method, the gateway comprising this equipment, device and system
JP2002209014A (en) Information transmitter

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: 20161021

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20171101

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20181017

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20190902

Year of fee payment: 7