KR0181746B1 - Multi-port monitoring circuit - Google Patents

Multi-port monitoring circuit Download PDF

Info

Publication number
KR0181746B1
KR0181746B1 KR1019950024811A KR19950024811A KR0181746B1 KR 0181746 B1 KR0181746 B1 KR 0181746B1 KR 1019950024811 A KR1019950024811 A KR 1019950024811A KR 19950024811 A KR19950024811 A KR 19950024811A KR 0181746 B1 KR0181746 B1 KR 0181746B1
Authority
KR
South Korea
Prior art keywords
port
data
circuit
transmitted
latch circuit
Prior art date
Application number
KR1019950024811A
Other languages
Korean (ko)
Other versions
KR970013920A (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 KR1019950024811A priority Critical patent/KR0181746B1/en
Publication of KR970013920A publication Critical patent/KR970013920A/en
Application granted granted Critical
Publication of KR0181746B1 publication Critical patent/KR0181746B1/en

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)
  • Communication Control (AREA)

Abstract

단일 회선 비동기 통신 방식에 의한 멀티포트 감시회로에 관한 것으로, 상기 멀티포트 감시회로는 한개의 프로세서에 비동기 직렬포트와, 장거리에서 보낼수 있는 비동기 통신의 송신 방식으로 구성된 회로로 이루어져 있고, 상기 통신 방식은 단일 마이크로 프로세서를 사용하여 원거리에 위치한 여러개의 포트를 제어하기 위해 비동기 시리얼 통신 방식을 이용하는 것을 특징으로 하여 단일 회선으로 원거리에 위치한 포트에서 정보 수신이 가능하며, 공통 회선으로 여러개의 포트 정보 수신을 할 수 있고, 많은 전송 회선을 설치하기 힘든 장소에 설치하기가 용이하다.It relates to a multi-port supervisory circuit by a single line asynchronous communication method, the multi-port supervisory circuit is composed of an asynchronous serial port to one processor, and a circuit composed of a transmission method of asynchronous communication that can be sent over a long distance, the communication method It uses asynchronous serial communication method to control multiple ports located at a long distance by using a single microprocessor, so that information can be received at a port located at a long distance by a single line, and multiple port information can be received by a common line. It is easy to install in places where it is difficult to install many transmission lines.

Description

멀티포트 감시회로 장치Multiport Supervisory Circuit Device

제1도는 본 발명에 따른 단일 회선 비동기 통신 방식에 의한 멀티포트 제어회로를 나타낸 블럭도.1 is a block diagram showing a multi-port control circuit by a single line asynchronous communication method according to the present invention.

제2도는 본 발명에 따른 단일 회선 비동기 통신 방식에 의한 멀티포트 제어회로의 직렬 데이타를 나타낸 블럭도.2 is a block diagram showing serial data of a multiport control circuit by a single line asynchronous communication method according to the present invention.

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

1 : 개시 신호검출 회로 2 : 카운터1: start signal detection circuit 2: counter

3 : 제1쉬프트레지스터 회로 4 : 제1래치 회로3: first shift register circuit 4: first latch circuit

5 : 디코더 6 : 제2래치 회로5 decoder 6 second latch circuit

7 : 제2쉬프트레지스터 회로 8 : 출력 데이타 합성회로7: second shift register circuit 8: output data synthesis circuit

본 발명은 다중 포트 제어 시스템에 관한 것으로서, 특히 단일 회선을 통해 다중 포트의 상태를 단일 프로세서로 비동기 통신 방식을 이용하여 송신을 할 수 있는 단일 회선 비동기 통신 방식에 의한 멀티포트 감시회로에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-port control system, and more particularly, to a multi-port supervisory circuit by a single line asynchronous communication method capable of transmitting a state of multiple ports to a single processor through a single line using an asynchronous communication method.

일반적으로 비동기 전송은 전송될 데이타가 일정하지 않은 간격으로 발생될 경우에 사용되는데, 터미날에 있는 사용자는 일정치 않은 간격으로 각각의 문자를 입력하며, 연속적으로 입력된 문자는 각각의 문자들 사이에 긴 시간 간격을 가질 수도 있다.In general, asynchronous transmission is used when the data to be transmitted occurs at irregular intervals. The user at the terminal enters each character at irregular intervals, and consecutive characters are entered between each character. It may have a long time interval.

따라서, 이러한 형태의 통신에 대해서는 수신기가 새로 수신된 문자의 시작에서 각각 재동기화를 이룰 수 있어야 한다. 이를 위해서는, 각각의 전송된 문자 혹은 좀더 일반적으로 사용자 데이타의 각 항목은 부가된 시작 비트 한개 또는 그 이상의 종료 비트 사이에 틀이 씌어진다.Thus, for this type of communication, the receiver must be able to resynchronize each at the beginning of a newly received character. To this end, each transmitted character or, more generally, each item of user data is framed between one or more additional start bits.

사용자 데이타의 각 항목을 전송하기 위해서는 10개의 비트(각각 한개씩의 시작과 종료 비트) 혹은 11개의 비트(한개의 시작 비트와 두개의 종료 비트)가 사용될 수 있다. 따라서, 8비트의 항에 대해 시작 비트와 종료 비트 및 비트 전송률 즉, 1200bps(초당 비트수)를 가정할 경우, 심볼 전송률(한개의 심볼은 11개의 비트로 구성됨)은 1200/11 혹은 110bytes/sec가 된다.To transmit each item of user data, 10 bits (one start and one stop bit each) or 11 bits (one start bit and two end bits) can be used. Thus, assuming a start bit, an end bit, and a bit rate for an 8 bit term, that is, 1200 bps (bits per second), the symbol rate (one symbol consists of 11 bits) is 1200/11 or 110 bytes / sec. do.

종래 기술로는 여러개의 포트를 제어하는 시스템은 단일 프로세서에 의한 중앙 집중식 구조, 각 포트마다 독립된 프로세서를 사용하는 분산된 구조, 중앙 집중식 구조와 분산된 구조의 결합된 형태인 하이브리드 구조를 갖는다.In the prior art, a system for controlling several ports has a centralized structure by a single processor, a distributed structure using independent processors for each port, and a hybrid structure in which a centralized structure and a distributed structure are combined.

그러나, 상기 중앙 집중식 구조의 제어 시스템은 포트의 수가 많지 않은 경우에 구조가 간단하여 제어 정보의 융합 및 제어 포트의 효율적 관리가 편리하지만 포트의 수가 증가하면 실시간 처리가 어려워지며 그 구조가 복잡해지는 문제점이 있다.However, the centralized control system has a simple structure when the number of ports is not large, so that the convergence of control information and the efficient management of the control port are convenient. However, as the number of ports increases, real-time processing becomes difficult and the structure becomes complicated. There is this.

또한, 분산된 구조를 갖는 제어 시스템은 각 포트마다 많은 양의 정보를 처리할 수 있지만 각 포트로 입출력되는 정보를 효율적으로 관리하고 포트간의 동기화를 구현하기가 어려운 문제점이 있다.In addition, a control system having a distributed structure can process a large amount of information for each port, but there is a problem that it is difficult to efficiently manage information input and output to each port and to implement synchronization between ports.

또한, 여러개의 포트를 제어하는 종래의 제어 시스템은 각 포트 마다 독립된 전송 회선을 가지고 있는데, 공간이 한정된 경우에는 전송 회선을 설치하는데 상당한 제약을 받을 뿐 아니라 기구학적인 설계가 어렵다는 문제점과, 제어 포트가 원거리에 떨어져 있을 경우에 전송 회선이 노이즈의 영향을 받으며, 제조 단가도 상승하는 문제점이 있다.In addition, the conventional control system for controlling multiple ports has independent transmission lines for each port. In case of limited space, the control system is not only limited to installing transmission lines but also difficult to design mechanically. If the distance is far away, the transmission line is affected by the noise, there is a problem that the manufacturing cost increases.

따라서, 본 발명에서는 상기 문제점을 해결하기 위해 원거리에 있는 포트를 비동기 시리얼 통신 방식에 의해 감시하고, 좁은 공간에서 여러개의 시스템을 제어할 경우 전송 회선의 복잡성에 기인한 기구학적인 설계의 어려움을 해결하며, 외부 노이즈에 영향을 받는 시스템의 신뢰도를 해결하고, 제조 단가를 줄이는데 그 목적이 있다.Therefore, in the present invention, to solve the above problems, by monitoring the remote port by asynchronous serial communication method, and when controlling multiple systems in a narrow space to solve the difficulty of mechanical design due to the complexity of the transmission line Therefore, the aim is to solve the reliability of the system affected by external noise and to reduce the manufacturing cost.

본 발명은 상기 목적을 달성하기 위해 한개의 프로세서에 비동기 직렬 포트와 장거리 송신이 가능한 비동기 통신의 송신 방식으로 구성된 회로로 입력 데이타를 받아들여 통신의 개시 비트를 감지하여 검출하는 개시 신호 검출회로와, 상기 개시 비트가 포함된 일정 크기의 직렬 수신 데이타 비트의 수를 셀수 있는 카운터와, 상기 카운트되어 전송된 직렬 데이타 비트의 수를 셀수 있는 카운터와, 상기 카운트 되어 전송된 직렬 데이타를 병렬로 바꾸어 주는 제1쉬프트 레지스터 회로와, 상기 카운터에서 전송된 각 포트를 구별할 수 있는 카운트된 클럭 데이타와 포트 입력 데이타를 받아들여 병렬로 유지하기 위한 제2래치 회로와, 상기 제2래치 회로에서 전송된 병렬 데이타를 보존 유지하는 제1래치 회로와, 상기 제1래치 회로로 부터 전송된 데이타 중 코드 부분을 디코딩하여 감시하고자 하는 포토의 코드이면 개시 감지와 함께 전송하는 디코더와, 상기 제1쉬프트 레지스터 회로와 제1래치 회로에서 전송된 병렬 데이타를 직렬 데이타로 변환하여 주는 제2쉬프트 레지스터와, 상기 제2쉬프트 레지스터 회로에서 전송된 직렬 데이타와 포트 감시코드가 없는 입력 데이타들을 합성한 출력 데이타를 프로세서로 전송하는 출력 데이타 합성기로 구성되는 것을 특징으로 한다.In order to achieve the above object, the present invention provides an asynchronous serial port and a start signal detecting circuit for detecting and detecting a start bit of a communication by inputting data into a circuit configured in a transmission method of asynchronous communication capable of long distance transmission to one processor; A counter for counting the number of serial received data bits of a predetermined size including the start bit, a counter for counting the number of serial data bits that have been counted and transmitted, and a counter for converting the counted transmitted serial data in parallel A first shift register circuit, a second latch circuit for receiving counted clock data and port input data for distinguishing each port transmitted from the counter and maintaining the port input data in parallel, and parallel data transmitted from the second latch circuit; Of the first latch circuit and data transmitted from the first latch circuit. A decoder which decodes a code part and transmits it with a start detection if it is a code of a port to be monitored; a second shift register for converting parallel data transmitted from the first shift register circuit and the first latch circuit into serial data; And an output data synthesizer configured to transmit output data obtained by synthesizing serial data transmitted from the second shift register circuit and input data without a port supervisory code to a processor.

이하, 첨부된 도면을 참조하여 본 발명을 상세히 설명하기로 한다.Hereinafter, with reference to the accompanying drawings will be described in detail the present invention.

제1도는 본 발명의 단일 회선 비동기 통신 방식에 의한 멀티포트 제어회로를 나타낸 블럭도로서, 입력 데이타를 받아 들여 통신의 개시 비트를 감지하여 검출하는 개시 신호 검출회로(1)와, 일정 크기의 수신 데이타 비트의 수를 셀 수 있는 카운터(2)와, 직렬 데이타를 병렬 데이타로 바꾸어 주는 제1쉬프트 레지스터 회로(3)와, 각 포트를 구별할 수 있는 디코더(5) 및 카운트된 클럭 데이타와 포트 입력 데이타를 입력하여 병렬로 유지하기 위한 제2래치 회로(6)와, 상기 제2래치 회로(6)에서 전송된 병렬 데이타를 보존 유지하는 제1래치 회로(4)와, 상기 제1쉬프트 레지스터 회로(3)에서 전송된 병렬 데이타를 직렬 데이타로 바꾸어 주는 제2쉬프트 레지스터 회로(7)와, 상기 제2쉬프트 레지스터 회로(7)에서 전송된 직렬 데이타와 포트 감시 코드가 없는 입력 데이타들을 프로세서로 전송하기 위해 출력 데이타를 합성하는 출력 데이타 합성회로(8)로 구성되어 있는 것을 나타낸 것이다.1 is a block diagram showing a multi-port control circuit according to the single-line asynchronous communication method of the present invention. The start signal detecting circuit 1 receives input data and detects and detects a start bit of communication. A counter (2) for counting the number of data bits, a first shift register circuit (3) for converting serial data into parallel data, a decoder (5) for distinguishing each port, and counted clock data and ports A second latch circuit 6 for inputting and holding input data in parallel; a first latch circuit 4 for holding and holding parallel data transmitted from the second latch circuit 6; and the first shift register. A second shift register circuit 7 for converting parallel data transmitted from the circuit 3 into serial data, and an input data having no serial data and a port supervisory code transmitted from the second shift register circuit 7; It shows that it is composed of the output data synthesis circuit 8 for synthesizing the output data for transmitting to the other processor.

상기 비동기 통신의 송신 방식은 우선적으로 각 포트의 비동기 통신 전송 속도를 같게한 프로세서는 비동기 직렬 칩의 기능을 이용하고, 각 포트들은 카운터의 입력 클럭으로 결정한다.In the transmission method of the asynchronous communication, the processor which first makes the asynchronous communication transmission speed of each port use the function of the asynchronous serial chip, and each port is determined by the input clock of the counter.

비동기 통신의 송신 방식의 동작 순서는 프로세서에서 전송 선로에 데이타를 보내면(RS232방식, 혹은 RS422방식) 수신 포트에서는 개시 비트를 감지하고, 상기 감지된 개시 비트에 의해 클럭을 동작 시키고, 상기 동작된 클럭의 카운트된 클럭 신호와 포트 입력 데이타를 입력하여 병렬인 상태를 래치하며 다른 전송로에서는 상기 동작된 클럭은 클럭 라이징 에지(rising edge)된 프로세서에서 연속적으로 전송되는 데이타를 읽어서 제1쉬프트 레지스터 회로(3)에서 직렬 데이타를 병렬로 바꾸고, 상기 제2래치 회로(6)로 부터 전송된 입력 데이타와 포트의 상태를 제1래치 회로(4)에 래치하고, 상기 제2래치 회로(6)로 부터 전송된 데이타 중 코드 부분을 디코더(5)로 디코딩하여 감시하고자 하는 포트의 코드이면 개시감지와 함께 제2쉬프트 레지스터 회로(7)로 보내고, 상기 제1쉬프트 레지스터 회로(3) 및 디코더(5)로 부터 전송된 입력 데이타 및 포트 감시 데이타를 병렬인 상태에서 직렬인 상태로 바꾸어 전송하며, 상기 제2쉬프트 레지스터 회로(7)로 부터 전송된 데이타 및 포트 감시코드가 없는 입력 데이타들을 합성하여 출력 데이타를 전송하다. 따라서 상기 출력 데이타는 프로세서로 전송되어 감시하고자 하는 포트의 상태를 확인하고 제어할 수 있다.The operation sequence of the transmission method of asynchronous communication is that when the processor sends data to the transmission line (RS232 method or RS422 method), the receiving port detects a start bit, operates a clock by the detected start bit, and operates the clock. The counted clock signal and the port input data are input to latch the parallel state. In another transmission path, the operated clock reads data continuously transmitted from a clock rising edge processor and then shifts the first shift register circuit ( Change the serial data in parallel in 3), latch the state of the input data and the port transmitted from the second latch circuit 6 to the first latch circuit 4, and from the second latch circuit 6 If the code part of the transmitted data is decoded by the decoder 5 and the code of the port to be monitored, the code is sent to the second shift register circuit 7 together with the start detection. And transfers the input data and the port monitoring data transmitted from the first shift register circuit 3 and the decoder 5 from a parallel state to a serial state, and transfers them from the second shift register circuit 7. Output data is synthesized by combining the input data and the input data without the port supervisory code. Therefore, the output data can be transmitted to the processor to check and control the state of the port to be monitored.

제2도는 본 발명에 따른 단일 회선 비동기 통신 방식에 의한 멀티포트 제어회로의 직렬 데이타에 코드를 입력하여 합성된 것을 나타낸 것으로, 각각의 데이타에 코드를 부여하여 순차적으로 단일 회선에 전송하여 각각의 포트에서 감지되는 코드의 데이타를 입력하여 출력 데이타를 검출하게 된다.2 is a diagram illustrating the synthesis of a serial data of a multi-port control circuit by a single line asynchronous communication method according to the present invention. A code is assigned to each data to be sequentially transmitted to a single line. Output data is detected by inputting the data of code detected in.

본 발명은 단일 회선 비동기 통신 방식에 의한 멀티포트 감시회로 장치는 단일 회선으로 원거리에 위치한 포트에서 정보 수신이 가능하며, 공통 회선으로 여러개의 포트 정보수신을 할 수 있고, 많은 전송 회선을 설치하기 힘든 장소에 설치하기가 용이하여 환경이 열악하고 원거리 통신 제어가 필요한 공장 자동화 시스템에 유용하게 사용될 수 있다.According to the present invention, the multi-port supervisory circuit device using a single line asynchronous communication method can receive information from a port located at a long distance with a single line, can receive multiple port information through a common line, and it is difficult to install many transmission lines. Easy to install in place, it can be useful for factory automation system which has poor environment and needs telecommunication control.

Claims (2)

입력 데이타를 받아들여 통신의 개시 비트를 감지하여 검출하는 개시 신호 검출회로와, 상기 개시 비트가 포함된 직렬 일정 크기의 수신 데이타 비트의 수를 셀수 있는 카운터와, 상기 카운트되어 전송된 직렬 데이타를 병렬로 바꾸어 주는 제1쉬프트 레지스터 회로와, 상기 카운터에서 전송된 각 포트를 구별할 수 있는 카운트된 클럭 데이타와 포트 입력 데이타를 받아들여 병렬로 유지하기 위한 제2래치 회로와, 상기 제2래치 회로에서 전송된 병렬 데이타를 보존 유지하는 제1래치 회로와, 상기 제1래치 회로로 부터 전송된 데이타 중 코드 부분을 디코딩하여 감시하고자 하는 포토의 코드이면 개시 감지와 함께 전송하는 디코더와, 상기 제1쉬프트 레지스터 회로와 제1래치 회로에서 전송된 병렬 데이타를 직렬 데이타로 변환하여 주는 제2쉬프트 레지스터와, 상기 제2쉬프트 레지스트에서 전송된 직렬 데이타와 포트 감시 코드가 없는 입력 데이타들을 합성한 출력 데이타를 프로세서로 전송하는 출력 데이타 합성기를 포함하는 멀티포트 감시회로 장치.A start signal detecting circuit that receives input data and detects and detects a start bit of communication, a counter that can count the number of received data bits of a predetermined size in series including the start bit, and the counted transmitted serial data in parallel A first shift register circuit for converting to a second latch circuit, a second latch circuit for receiving and maintaining the counted clock data and the port input data that can distinguish each port transmitted from the counter in parallel, and in the second latch circuit. A first latch circuit for preserving and maintaining the transmitted parallel data, a decoder for decoding a code portion of the data transmitted from the first latch circuit and transmitting the start code with a start detection if it is a code of a port to be monitored, and the first shift Second shift register for converting parallel data transmitted from register circuit and first latch circuit into serial data Emitter and a multi-port monitoring circuit comprises an output data synthesizer for transmitting the serial data to the second monitoring port and the processor to a code output data synthesizing the input data is not transferred from the shift resist. 제1항에 있어서, 상기 통신 방식은 비동기 시리얼 통신 방식인 것을 특징으로 하는 단일 회선 비동기 통신 방식에 의한 멀티포트 감시회로 장치.The multi-port supervisory circuit according to claim 1, wherein the communication method is an asynchronous serial communication method.
KR1019950024811A 1995-08-11 1995-08-11 Multi-port monitoring circuit KR0181746B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950024811A KR0181746B1 (en) 1995-08-11 1995-08-11 Multi-port monitoring circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950024811A KR0181746B1 (en) 1995-08-11 1995-08-11 Multi-port monitoring circuit

Publications (2)

Publication Number Publication Date
KR970013920A KR970013920A (en) 1997-03-29
KR0181746B1 true KR0181746B1 (en) 1999-05-15

Family

ID=19423329

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950024811A KR0181746B1 (en) 1995-08-11 1995-08-11 Multi-port monitoring circuit

Country Status (1)

Country Link
KR (1) KR0181746B1 (en)

Also Published As

Publication number Publication date
KR970013920A (en) 1997-03-29

Similar Documents

Publication Publication Date Title
CA1287905C (en) Method and apparatus for detecting a rate of data transmission
CA1218436A (en) Data transmitting and receiving apparatus
AU594057B2 (en) Communication system
JPS5810038B2 (en) Communication exchange method
US4891783A (en) Data terminal device
KR0181746B1 (en) Multi-port monitoring circuit
KR850008089A (en) Digital PBX switch
US6327259B1 (en) Flexible placement of serial data within a time divisioned multiplexed frame through programmable time slot start and stop bit positions
JP3252229B2 (en) Digital data transmission system
US4314109A (en) Synchronization system for key telephone system
EP0241622B1 (en) An efficient transmission mechanism integrating data and non coded information
Cook IEEE 1355 data-strobe links: ATM speed at RS232 cost
KR100217738B1 (en) Computer communication speed improving method of keyphone
KR100286536B1 (en) Arbitration apparatus of transrmission for multidrop communication system
KR960009533B1 (en) Apparatus for receiving data from multi-port control system
JPS5952587B2 (en) Data transmission method
KR940000452B1 (en) Trunk matching circuit for ccitt no7 signal link
JP2697552B2 (en) Code error detection circuit
JPH0771349B2 (en) Monitoring system status change data discrimination method
SU1185634A2 (en) Interface for linking electronic computer with telegraph communication channels
SU1140261A1 (en) Data transmission system
RU2015572C1 (en) Discrete data communication device
SU1113792A1 (en) Interface for linking computer with alphanumeric video display units
SU1434557A1 (en) Device for switching data transmission channels
SU1062884A1 (en) Device for transmitting and receiving digital information

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee