KR19990057709A - Preamble generator of half duplex serial communication - Google Patents

Preamble generator of half duplex serial communication Download PDF

Info

Publication number
KR19990057709A
KR19990057709A KR1019970077781A KR19970077781A KR19990057709A KR 19990057709 A KR19990057709 A KR 19990057709A KR 1019970077781 A KR1019970077781 A KR 1019970077781A KR 19970077781 A KR19970077781 A KR 19970077781A KR 19990057709 A KR19990057709 A KR 19990057709A
Authority
KR
South Korea
Prior art keywords
clock
preamble
carrier
signal
serial communication
Prior art date
Application number
KR1019970077781A
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 KR1019970077781A priority Critical patent/KR19990057709A/en
Publication of KR19990057709A publication Critical patent/KR19990057709A/en

Links

Abstract

본 발명은 반이중 직렬통신의 프리앰블 발생장치에 관한 것으로서, 외부 클럭을 받아 반이중 직렬통신을 하는 장비의 프리앰블 발생장치에 있어서, 클럭을 이용하여 네트웍의 사용여부를 판단하는 캐리어 검출수단; 및 이 캐리어 검출수단에서 캐리어가 검출되지 않을 때, 프리앰블을 발생하는 프리앰블 발생부를 포함함을 특징으로 하고, 그 캐리어검출수단은 외부 클럭을 입력으로 하며, 입력 트리거 신호에 대해 그 클럭 주기의 적어도 두배 주기를 갖는 펄스를 출력하는 단안정 멀티바이브레이터임이 바람직하다.The present invention relates to a preamble generator for half-duplex serial communication, comprising: a carrier detecting means for determining whether to use a network by using a clock; And a preamble generator for generating a preamble when the carrier is not detected by the carrier detecting means, wherein the carrier detecting means takes an external clock as an input and at least twice the clock period with respect to the input trigger signal. It is preferable that it is a monostable multivibrator for outputting a pulse having a period.

본 발명에 의하면, 클럭을 받아서 반이중 통신을 하는 장비에서 입력되는 클럭을 이용하여 망의 사용중인 여부를 판단할 때 및 입력되는 클럭을 이용하여 하드웨어적으로 프리앰블 신호를 발생시키는 장비에서 캐리어 검출을 신속하게 할 수 있다.According to the present invention, when detecting a network using a clock input from a device receiving a clock and performing half-duplex communication, and using a clock input to quickly detect a carrier in a device that generates a preamble signal in hardware. It can be done.

Description

반이중 직렬통신의 프리앰블 발생장치Preamble generator of half duplex serial communication

본 발명은 직렬통신장치에 관한 것으로서, 특히 클럭을 받아 반이중 직렬통신을 하는 장비에서 상기 클럭을 이용하여 네트웍의 사용여부를 판단하여 프리앰블을 발생하는 반이중 직렬통신의 프리앰블 발생장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a serial communication apparatus, and more particularly, to a preamble generator for half-duplex serial communication that generates a preamble by determining whether a network is used using the clock in a device that receives a clock and performs half-duplex serial communication.

일반적으로 직렬통신제어기(Serial Communication Controller : SCC)는 통신용 클럭을 발생시키거나 또는 통신을 하기 위한 클럭을 외부로부터 입력을 받아 이를 통신에 활용하고 있다. 즉, 통신장비가 무선통신기기에 데이터를 보내고자 할 때, 상기 무선통신기기는 상기 통신장비에 클럭을 송신한다. 그리고 상대방 무선통신기기으로 부터 데이터를 수신할 때도 클럭을 발생하므로써 데이터 수신을 알린다. 따라서 통신장비가 데이터를 송신하고자할 때는 상기 무선통신기기에게 상기 클럭 발생을 요청하여야 하고, 데이터를 수신할 때도 상기 무선통신기기로부터 클럭을 수신하여 데이터를 수신한다.In general, a serial communication controller (SCC) generates a clock for communication or receives a clock for communication from the outside and utilizes it for communication. That is, when the communication device wants to send data to the wireless communication device, the wireless communication device transmits a clock to the communication device. Also, when receiving data from the other party's wireless communication device, a clock is generated to inform the reception of the data. Therefore, when a communication device wants to transmit data, it needs to request the clock generation from the wireless communication device, and receives data by receiving a clock from the wireless communication device when receiving data.

한편 양방향통신에서 SCC의 통신용 클럭(송출 또는 수신)을 D 플립플롭을 이용하여 1:1로 사용하거나 1:N 으로 분기시키고, 송신요청신호(Request To Send : /RTS)가 액티브(active)될 때 프리앰블(preamble ) 신호가 외부로 발생된다. 그 다음에 상기 송신요청신호(/RTS) 및 데이터 터미널 레디(Data Terminal Ready : /DTR) 신호가 동시에 액티브될 때 전송하고자 하는 주된 직렬데이터(serial data)가 전송된다. 그러나 단방향통신에서는 상대방이 전송 중인가를 확인하여 데이터를 송출해야 하므로 신호검출을 위해 캐리어검출신호(Carrier Detect : /CD)를 활용하여 상기 캐리어 검출신호가 캐리어를 검출하면 하드웨어적으로 신호송출을 불가능하여야 한다.On the other hand, in two-way communication, the SCC communication clock (send or receive) is used 1: 1 or 1: N by using D flip-flop, and the request to send signal (/ RTS) is activated. When the preamble signal is generated externally. Then, when the transmission request signal (/ RTS) and data terminal ready (/ DTR) signal are simultaneously activated, main serial data to be transmitted is transmitted. However, in unidirectional communication, it is necessary to check whether the other party is transmitting and transmit data. Therefore, if the carrier detection signal detects a carrier by using a carrier detection signal (CD) for signal detection, signal transmission must be impossible in hardware. do.

따라서 클럭을 받아서 반이중(half) 통신을 하는 장비에서 현재 네트웍의 사용 중인지를 판단하는 것은 매우 중요하다. 송신측에서 네트웍을 점유하여 송신할 때 수신측은 송신을 해서는 안되며 수신모드에 있어야 한다. 그렇지 않으면 둘 다 송신을 하므로 인해 네트웍의 충돌이 일어나게 된다.Therefore, it is very important to determine whether the network is currently in use by a device that receives a clock and performs half-duplex communication. When the transmitting side occupies the network and transmits, the receiving side shall not transmit and be in the receiving mode. Otherwise both will transmit and cause a network crash.

도 1은 직렬통신을 위한 일반적인 프리앰블 발생장치를 도시한 것이다. 프리앰블을 발생하기 위해서는 먼저 외부 클럭을 받아들여 캐리어가 있는지 알아야 한다. 이를 위해 통상적으로 카운터(미도시)를 사용하여 소정 개수이상의 클럭이 카운트되면, 캐리어가 검출되었음을 알아차리고 캐리어 검출신호(/CD)를 액티브(active)시킨다. 따라서 데이터를 송신하고자 할 때, 즉 /RTS 신호를 액티브시키고자 할 때는 상기 /CD 신호를 체크해야 한다. 상기 /CD 신호가 인액티브 상태에 있을 때, 상기 /RTS 신호를 구동하여 프리앰블 신호를 발생시키고, 계속해서 상기 /CD 신호가 인액티브 상태에 있으면 /DTR 신호도 액티브 시켜 송신하고자 하는 데이터를 송신한다. 그리고 나서 데이터 송신이 끝나면, 상기 /RTS 및 /DTR 신호를 인액티브시킨다. 그런데, 상기 데이터 송신 프로토콜에 있어 상기와 같은 캐리어 검출을 위해서는 클럭을 카운트해야 하므로 시간이 많이 소요되는 단점이 있다.1 illustrates a general preamble generator for serial communication. In order to generate the preamble, the external clock must first be accepted to see if there is a carrier. To this end, if a predetermined number of clocks are counted using a counter (not shown), the carrier is detected and the carrier detection signal (/ CD) is activated. Therefore, when transmitting data, that is, to activate the / RTS signal, the / CD signal should be checked. When the / CD signal is in an inactive state, the / RTS signal is driven to generate a preamble signal, and when the / CD signal is in an inactive state, the / DTR signal is also activated to transmit data to be transmitted. . Then, when data transmission is completed, the / RTS and / DTR signals are inactivated. However, in the data transmission protocol, the clock has to be counted for the carrier detection as described above, which takes a long time.

본 발명이 이루고자하는 기술적 과제는 클럭을 받아 반이중 직렬통신을 하는 장비에서 상기 클럭을 이용하여 네트웍의 사용여부를 판단하여 프리앰블을 발생하는 반이중 직렬통신의 프리앰블 발생장치를 제공하는 것이다.An object of the present invention is to provide a preamble generator for half-duplex serial communication that generates a preamble by determining whether a network is used using the clock in a device that receives a clock and performs half-duplex serial communication.

도 1은 직렬통신을 위한 일반적인 프리앰블 발생장치를 도시한 것이다.1 illustrates a general preamble generator for serial communication.

도 2는 본 발명에 의한 반이중 직렬통신의 프리앰블 발생장치의 구성에 대한 회로도를 도시한 것이다.Figure 2 shows a circuit diagram of the configuration of a preamble generator for half-duplex serial communication according to the present invention.

도 3은 본 발명에 사용되는 단안정 멀티바이브레이터의 외부 클럭 입력에 대한 캐리어 검출신호(/CD)의 파형을 도시한 것이다.Figure 3 shows the waveform of the carrier detection signal (/ CD) for the external clock input of the monostable multivibrator used in the present invention.

도 4는 본 발명에 의한 프리앰블 발생 및 데이터 송신흐름을 도시한 것이다.4 illustrates a preamble generation and data transmission flow according to the present invention.

상기 기술적 과제를 해결하기 위한 본 발명에 의한, 반이중 직렬통신의 프리앰블 발생장치는, 외부 클럭을 받아 반이중 직렬통신을 하는 장비의 프리앰블 발생장치에 있어서, 상기 클럭을 이용하여 네트웍의 사용여부를 판단하는 캐리어 검출수단; 및 상기 캐리어 검출수단에서 캐리어가 검출되지 않을 때, 프리앰블을 발생하는 프리앰블 발생부를 포함함을 특징으로 하고, 상기 캐리어검출수단은 상기 외부 클럭을 입력으로 하며, 입력 트리거 신호에 대해 상기 클럭 주기의 적어도 두배 주기를 갖는 펄스를 출력하는 단안정 멀티바이브레이터임이 바람직하다.The preamble generator for half-duplex serial communication according to the present invention for solving the above technical problem is a preamble generator for equipment that performs half-duplex serial communication by receiving an external clock. Carrier detecting means; And a preamble generator for generating a preamble when the carrier is not detected by the carrier detecting means, wherein the carrier detecting means receives the external clock as an input and at least one of the clock periods for the input trigger signal. It is preferable that it is a monostable multivibrator that outputs a pulse having a double period.

이하에서 첨부된 도면을 참조하여 본 발명의 바람직한 일실시예를 설명하기로 한다. 도 2는 본 발명에 의한 반이중 직렬통신의 프리앰블 발생장치의 구성에 대한 회로도를 도시한 것으로서, 네트웍의 사용여부를 판단하는 캐리어 검출수단으로 단안정 멀티바이브레이터(200)를 이용하고 있음을 도시하고 있다. 그리고 도 4는 본 발명에 의한 프리앰블 발생 및 데이터 송신흐름을 도시한 것이다Hereinafter, with reference to the accompanying drawings will be described a preferred embodiment of the present invention. FIG. 2 is a circuit diagram showing the configuration of a preamble generating device for half-duplex serial communication according to the present invention, and shows that the monostable multivibrator 200 is used as a carrier detecting means for determining whether a network is used. . 4 illustrates a preamble generation and data transmission flow according to the present invention.

상기 멀티바이브레이터(200)는 상기 외부 클럭을 입력으로 하며, 입력 트리거 신호에 대해 상기 클럭 주기의 적어도 두배 주기를 갖는 펄스를 출력하도록, 외부 커패시터(Cext) 및 저항(Rext) 값을 선택한다. 이렇게 하므로써, 도 3에 도시된 바와 같이 외부클럭이 입력되면, 외부 클럭이 존재하는 동안에는 캐리어 검출신호가 항상 액티브(active)상태에 있게 된다. 따라서 데이터를 송신하고자 하는 송신측에서는 상기 /CD 신호를 보면 현재 네트웍이 사용중인지를 신속하게 알 수 있다.The multivibrator 200 receives the external clock as an input, and selects an external capacitor Cext and a resistor Rext value to output a pulse having at least twice the clock period with respect to the input trigger signal. In this way, when the external clock is input as shown in Fig. 3, the carrier detection signal is always in an active state while the external clock is present. Therefore, the transmitting side which wants to transmit data can quickly know whether the network is in use by looking at the / CD signal.

이와 같이 상기 /CD 신호가 액티브 상태인지 체크하여(400단계), 상기 /CD 신호가 인액티브상태에 있을 때 상기 /RTS 신호를 인에이블(enable)하고(410단계), 통신용 프리앰블 신호를 101010... 형태를 발생시킨다.(420단계) 그리고 나서 필요시점에서 주된 데이터를 송출한다. 즉, 프리앰블 신호를 발생시킨 후 계속해서 상기 /CD 신호가 인액티브 상태에 있으면(430단계), /DTR 신호도 인에이블시키고(440단계), 송신하고자 하는 데이터를 송신한다.(450단계) 그리고 나서 데이터 송신이 끝나면, 상기 /RTS 및 /DTR 신호를 디스에이블(disable)시킨다.(460단계)In this way, it is checked whether the / CD signal is in an active state (step 400), when the / CD signal is in an inactive state, the enable / RTS signal is enabled (step 410), and the communication preamble signal is 101010. Generate the form (step 420) and then send the main data when necessary. That is, if the / CD signal is in an inactive state after generating the preamble signal (step 430), the / DTR signal is also enabled (step 440), and the data to be transmitted is transmitted (step 450). When the data transmission is completed, the / RTS and / DTR signals are disabled (step 460).

본 발명은 송신시 클럭을 외부에서 받아서 송신동작을 하며 또한 수신시에도 외부 클럭이 입력되어 이를 수신장치에서 활용하는 장비의 프리앰블 발생 및 캐리어 검출 신호(/CD)를 발생한다. 캐리어 검출신호는 현재 망의 사용여부를 보내고자 하는 측에 알려주는 신호로 활용되며 송신측은 먼저 이 신호의 active/inactive 상태를 판단해야 하며 inactive 시에 실제 프리앰블과 데이터를 전송시킬 수 있다.In the present invention, a clock is externally received and a transmission operation is performed. In addition, an external clock is inputted during reception to generate a preamble generation and a carrier detection signal (/ CD) of equipment utilizing the reception apparatus. The carrier detection signal is used as a signal for notifying a party that wants to use the current network. The transmitter must first determine the active / inactive state of the signal and can transmit the actual preamble and data when inactive.

본 발명에 의하면, 클럭을 받아서 half 통신을 하는 장비에서 입력되는 클럭을 이용하여 망의 사용중인 여부를 판단할 때 및 입력되는 클럭을 이용하여 하드웨어 적으로 preamble 신호를 발생시키는 장비에서 캐리어 검출을 신속하게 할 수 있다.According to the present invention, a carrier can be quickly detected in a device that generates a preamble signal by using a clock input to determine whether a network is in use by using a clock inputted from a device that receives a clock. It can be done.

Claims (2)

외부 클럭을 받아 반이중 직렬통신을 하는 장비의 프리앰블 발생장치에 있어서,In the preamble generator of the equipment that receives an external clock and performs half-duplex serial communication, 상기 클럭을 이용하여 네트웍의 사용여부를 판단하는 캐리어 검출수단; 및Carrier detection means for determining whether a network is used using the clock; And 상기 캐리어 검출수단에서 캐리어가 검출되지 않을 때, 프리앰블을 발생하는 프리앰블 발생부를 포함함을 특징으로 하는 반이중 직렬통신의 프리앰블 발생장치.And a preamble generating unit for generating a preamble when the carrier is not detected by the carrier detecting unit. 제1항에 있어서, 상기 캐리어검출수단은The method of claim 1, wherein the carrier detecting means 상기 외부 클럭을 입력으로 하며, 입력 트리거 신호에 대해 상기 클럭 주기의 적어도 두배 주기를 갖는 펄스를 출력하는 단안정 멀티바이브레이터인 것을 특징으로 하는 반이중 직렬통신의 프리앰블 발생장치.And a monostable multivibrator for inputting the external clock and outputting a pulse having at least twice the clock period with respect to an input trigger signal.
KR1019970077781A 1997-12-30 1997-12-30 Preamble generator of half duplex serial communication KR19990057709A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970077781A KR19990057709A (en) 1997-12-30 1997-12-30 Preamble generator of half duplex serial communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970077781A KR19990057709A (en) 1997-12-30 1997-12-30 Preamble generator of half duplex serial communication

Publications (1)

Publication Number Publication Date
KR19990057709A true KR19990057709A (en) 1999-07-15

Family

ID=66172229

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970077781A KR19990057709A (en) 1997-12-30 1997-12-30 Preamble generator of half duplex serial communication

Country Status (1)

Country Link
KR (1) KR19990057709A (en)

Similar Documents

Publication Publication Date Title
JPH104390A (en) Radio loopback test method and system
KR940006362A (en) Dual communication control
JPH10215183A (en) Decoding method for digital signal, bus system and peripheral equipment and transmission device for bus system
KR19990057709A (en) Preamble generator of half duplex serial communication
JP3277948B2 (en) Digital signal receiver
JPH07264263A (en) Serial communication interface device
JPH0616607B2 (en) Optical communication device
JPH06205073A (en) Automatic detector for communication speed
US6061155A (en) High amplitude signal supplement to aid recovery of a low amplitude signal
GB2324688A (en) A modem in which bit rate is determined using the width of a start bit
JPH08279803A (en) Burst signal detection circuit
JPH0621999A (en) Serial communication equipment
US6404805B1 (en) Bit error measuring device for modem device and bit error measuring method for the same
KR0167910B1 (en) Remote data service unit controlling apparatus
KR100419253B1 (en) Apparatus for Detecting E3 Data Frame Pulse Position
JPH0738538A (en) Data transmission method
JP3095576B2 (en) Communication error detection device
KR20200099282A (en) Low Power Wireless Communication System
JPH051166Y2 (en)
JP2661583B2 (en) Clock signal distribution apparatus and method
JPH0654385A (en) Data transmitter-receiver
JPH0541700A (en) Automatic detection device for communication data
JPH085739A (en) Ultrasonic distance measuring instrument
JPH10336163A (en) Address counter
JPH0774759A (en) Radio transmitter and terminal equipment used therefor

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application