KR20040034225A - Elastic buffer for keeping frame synchronization and method for detecting clock difference using algorithm of the same - Google Patents

Elastic buffer for keeping frame synchronization and method for detecting clock difference using algorithm of the same Download PDF

Info

Publication number
KR20040034225A
KR20040034225A KR1020020064316A KR20020064316A KR20040034225A KR 20040034225 A KR20040034225 A KR 20040034225A KR 1020020064316 A KR1020020064316 A KR 1020020064316A KR 20020064316 A KR20020064316 A KR 20020064316A KR 20040034225 A KR20040034225 A KR 20040034225A
Authority
KR
South Korea
Prior art keywords
address
data
read
write
read address
Prior art date
Application number
KR1020020064316A
Other languages
Korean (ko)
Other versions
KR100523546B1 (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 KR10-2002-0064316A priority Critical patent/KR100523546B1/en
Publication of KR20040034225A publication Critical patent/KR20040034225A/en
Application granted granted Critical
Publication of KR100523546B1 publication Critical patent/KR100523546B1/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/22Read-write [R-W] timing or clocking circuits; Read-write [R-W] control signal generators or management 
    • G11C7/222Clock generating, synchronizing or distributing circuits within memory device
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/10Input/output [I/O] data interface arrangements, e.g. I/O data control circuits, I/O data buffers
    • G11C7/1051Data output circuits, e.g. read-out amplifiers, data output buffers, data output registers, data output level conversion circuits
    • G11C7/1066Output synchronization

Landscapes

  • Time-Division Multiplex Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE: An elastic buffer for maintaining frame synchronization and a method for detecting a clock difference between nodes using the same are provided to minimize the loss of data by maintaining a state of frame synchronization. CONSTITUTION: An elastic buffer for maintaining frame synchronization includes a FIFO memory(100), a write address increment part(300), and a read address increment part(200). The FIFO memory(100) inputs data to a write address according to a write signal, output read address data according to a read signal, and have the storage capacity corresponding to integer times of two super frames. The write address increment part(300) increases a write address as much as 1 according to the write signal. The read address increment part(200) increases a read address as much as 1 according to the read signal. One of the write address increment part(300) and the read address increment part(200) shifts the write addresses or the read addresses corresponding to a half of a memory size of the FIFO memory before the FIFO memory is in an empty state of data or a full state of data.

Description

프레임 동기를 유지하는 탄성버퍼 및 이를 이용한 노드간 클럭 편차 검출 방법{ELASTIC BUFFER FOR KEEPING FRAME SYNCHRONIZATION AND METHOD FOR DETECTING CLOCK DIFFERENCE USING ALGORITHM OF THE SAME}Elastic buffer that maintains frame synchronization and detection method of clock deviation between nodes using same {ELASTIC BUFFER FOR KEEPING FRAME SYNCHRONIZATION AND METHOD FOR DETECTING CLOCK DIFFERENCE USING ALGORITHM OF THE SAME}

본 발명은 프레임 동기를 유지하는 탄성 버퍼 및 이를 이용한 노드간 클럭 편차 검출 방법에 관한 것으로 상세하게는, 클럭 편차에 의해 버퍼가 엠티나 풀이 되기 전에 어드레스를 제어하여 데이터 손실을 최소화하는 프레임 동기를 유지하는 탄성 버퍼 및 이를 이용한 노드간 클럭 편차 검출 방법에 관한 것이다.The present invention relates to an elastic buffer that maintains frame synchronization and a method of detecting a clock deviation between nodes using the same. Specifically, a frame synchronization that minimizes data loss by controlling an address before a buffer becomes empty or empty due to clock deviation is provided. An elastic buffer and a method for detecting a clock deviation between nodes using the same are provided.

일반적으로 음성과 데이터(data)를 처리하는 시스템(system)간 정확한 정보를 송수신 하기 위해서는 송수신단의 시스템간 동기화(synchronization)가 이루어져야 한다.In general, in order to transmit and receive accurate information between systems that process voice and data, synchronization between systems of a transmitter and a receiver must be performed.

망 동기란 이상적으로는 망 내의 모든 전송 및 교환 시스템이 동일한 클럭(clock)으로 운용되는 것을 의미하지만, 실제로 망 구성시 동일한 클럭으로 운용되기란 매우 어려운 문제점이 있다. 왜냐하면 클럭 타이밍 지터(clock timing jitter) 또는 전송지연 및 클럭 발생기 자체의 기계적, 주위 환경 등의 원인 등으로 동일 주파수를 사용하더라도 양 시스템의 클럭 소스(source)간 주파수 안정도 차이가 발생된다. 이 때, 송신된 정보를 정확히 수신할 수 없게 되어 과도하게 정보가 손실되는 문제가 발생했었다.Ideally, network synchronization means that all transmission and switching systems in a network are operated at the same clock, but there is a problem that it is very difficult to operate at the same clock in a network configuration. The reason is that even when the same frequency is used due to clock timing jitter, transmission delay, and the mechanical and ambient environment of the clock generator itself, frequency stability differences between clock sources of both systems are generated. At this time, there was a problem that the information that was transmitted could not be received correctly and the information was excessively lost.

따라서 본 발명은 시스템 운용 중에 클럭 편차가 다소 있더라고 망 동기 상태를 지속적으로 유지하여, 데이터 오류의 발생을 최소화하는 것을 목적으로 한다.Therefore, the present invention aims to minimize the occurrence of data errors by continuously maintaining the network synchronization state even though there are some clock deviations during system operation.

도 1은 프레임과 슈퍼 프레임의 구조를 나타낸 도면.1 is a diagram showing the structure of a frame and a super frame.

도 2는 본 발명의 실시예에 의한 탄성 버퍼의 구성을 도시한 블록도.2 is a block diagram showing a configuration of an elastic buffer according to an embodiment of the present invention.

도 3은 본 발명의 실시예에 의한 탄성 버퍼의 동작을 도시한 도면.3 is a view showing the operation of the elastic buffer according to an embodiment of the present invention.

도 4는 종래 방식과 본 발명의 실시예에 의한 에러 구간을 비교한 도면.Figure 4 is a view comparing the error interval according to the conventional method and the embodiment of the present invention.

도 5는 종래 방식과 본 발명의 실시예에 의한 BER 성능을 비교한 그래프.5 is a graph comparing the BER performance according to the conventional method and the embodiment of the present invention.

도 6은 본 발명의 실시예에 의한 15비트 누락, 반복 검출 방법을 도시한 블록도.6 is a block diagram showing a 15-bit missing, repetitive detection method according to an embodiment of the present invention.

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

100: 피포메모리부200: 리드어드레스증가부100: cover memory section 200: lead address increasing section

210: 제1래치220: 제2래치210: first latch 220: second latch

230: 어드레스비교기240: 다음리드어드레스연산회로230: address comparator 240: next lead address operation circuit

250,330: 모듈로960연산회로300: 라이트어드레스증가부250,330: Modulo 960 operation circuit 300: Light address increase unit

310: 제3래치320: +1연산회로310: third latch 320: +1 operation circuit

500,700: 시퀀스발생회로510: 레지스터500, 700: sequence generator circuit 510: register

600: 메모리610: 제1메모리부600: memory 610: first memory part

620: 제2메모리부630: 제3메모리부620: second memory unit 630: third memory unit

상기 목적을 달성하기 위하여 본 발명의 실시예는, 라이트 신호의 인가에 따라 라이트 어드레스에 데이터를 입력하며 리드 신호의 인가에 따라 리드 어드레스의 데이터를 출력하고, 두 슈퍼 프레임 크기의 정수배의 저장 용량을 갖는 피포 메모리부; 상기 라이트 신호의 인가에 따라 상기 라이트 어드레스를 1씩 증가시키는 라이트 어드레스 증가부; 및 상기 리드 신호의 인가에 따라 상기 리드 어드레스를 1씩 증가시키는 리드 어드레스 증가부를 포함하며, 상기 라이트 어드레스 증가부 및 상기 리드 어드레스 증가부 중 어느 하나는 상기 피포 메모리부의 데이터가 엠티나 풀 직전일 경우 상기 피포 메모리부 크기의 절반에 해당하는 크기만큼 라이트 어드레스 또는 리드 어드레스를 이동시키는 것을 특징으로 하는 프레임 동기를 유지하는 탄성 버퍼를 제공한다.In order to achieve the above object, an embodiment of the present invention inputs data to a write address according to application of a write signal, outputs data of the read address according to application of a read signal, and stores an integer multiple of two super frame sizes. An encapsulated memory unit; A write address increasing unit configured to increase the write address by one according to the application of the write signal; And a read address increasing unit configured to increase the read address by one according to the application of the read signal, wherein any one of the write address increasing unit and the read address increasing unit is the data immediately before the empty memory unit. An elastic buffer for maintaining frame synchronization is provided by moving a write address or a read address by a size corresponding to half of the size of the target memory unit.

상기 피포 메모리부의 저장 용량은 960비트의 정수배이다.The storage capacity of the covered memory section is an integer multiple of 960 bits.

상기 라이트 어드레스 증가부 및 상기 리드 어드레스 증가부는 라이트 어드레스 및 리드 어드레스가 항상 상기 피포 메모리부 내의 어드레스를 나타내도록 모듈로 960 연산 혹은 모듈로 960의 정수배 연산을 수행한다.The write address increasing unit and the read address increasing unit perform a modulo 960 operation or an integer multiple operation of the modulo 960 such that the write address and the read address always represent an address in the target memory unit.

상기 라이트 어드레스 증가부는 라이트 신호가 인가될 때까지 라이트 어드레스를 저장하는 제 1 래치를 포함하고, 상기 리드 어드레스 증가부는 리드 신호가 인가될 때까지 리드 어드레스를 저장하는 제 2 래치를 포함한다.The write address increasing unit includes a first latch for storing a write address until a write signal is applied, and the read address increasing unit includes a second latch for storing a read address until a read signal is applied.

상기 리드 어드레스와 상기 라이트 어드레스를 비교하여 양 어드레스의 차를 계산하고, 양 어드레스의 차가 -2 내지 2의 범위이면 상기 피포 메모리부 크기의 절반에 해당하는 크기만큼 라이트 어드레스 또는 리드 어드레스를 이동시킨다.The difference between the two addresses is calculated by comparing the read address with the write address. When the difference between the two addresses is in the range of -2 to 2, the write address or the read address is moved by the size corresponding to half of the size of the covered memory unit.

또한 본 발명의 실시예는 송신단에서 수신자가 알고 있는 데이터를 시퀀스 발생회로를 사용하여 제 1 항의 탄성 버퍼를 구비하는 수신단으로 송신하는 단계; 수신단에서 시퀀스 발생회로로 송신단에서 송신한 데이터보다 15비트 빠르게 데이터를 발생하는 단계; 수신단에서 수신 데이터 및 발생시킨 데이터를 비교하여 프레임의 누락 또는 반복을 검출하는 단계를 포함하는 노드간 클럭 편차 검출 방법을 제공한다.In addition, an embodiment of the present invention comprises the steps of transmitting the data known to the receiver at the transmitting end to the receiving end having the elastic buffer of claim 1 using a sequence generating circuit; Generating data from the receiving end to the sequence generating circuit by 15 bits faster than the data transmitted from the transmitting end; It provides a method for detecting a clock deviation between nodes comprising the step of comparing the received data and the generated data at the receiving end to detect the omission or repetition of the frame.

또한 본 발명의 실시예는 8비트의 순환반복코드를 제 1 항의 탄성 버퍼를 구비한 수신단으로 반복하여 전송하는 단계; 및 수신단에서 상기 순환반복코드의 주기를 검출하여 일시적으로 불규칙한 경우 프레임의 누락 또는 반복으로 판단하는 노드간 클럭 편차 검출 방법을 제공한다.In addition, an embodiment of the present invention comprises the steps of repeatedly transmitting the 8-bit cyclic repetitive code to the receiving end having the elastic buffer of claim 1; And a clock deviation detection method between nodes, which detects a period of the cyclic repetition code at a receiving end and determines that a frame is missed or repetitive when temporarily irregular.

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

도 1은 프레임(frame)과 슈퍼 프레임(super frame)의 구조를 나타내고 있다.1 shows a structure of a frame and a super frame.

노드(node)간을 연결하는 다중화 간선로는 전송 속도 1.024Mbps, 용량 32채널이며 프레임의 동기를 확인하고 유지하기 위해, 각 프레임의 첫번째 비트를 FSW(Frame Sync. Word)로 사용한다. 각 프레임은 32비트로 구성되어 있고, 한 프레임을 전송하는 데에 32㎲의 시간이 소요된다.The multiplexing trunk line connecting nodes is 1.024Mbps, 32 channel capacity, and uses the first bit of each frame as FSW (Frame Sync. Word) to check and maintain frame synchronization. Each frame consists of 32 bits and it takes 32ms to transmit one frame.

FSW는 매 15개 프레임을 단위로 반복되고, 매 프레임의 FSW 값은 각각 0000111011 00101이다. FSW가 반복하는 주기 15프레임을 묶어 슈퍼 프레임이라 한다.The FSW is repeated every 15 frames, and the FSW value of each frame is 0000111011 00101, respectively. The 15 frames in which the FSW repeats are collectively called a super frame.

15 프레임 단위로 FSW가 반복되므로, 15 프레임 단위로 프레임이 반복되거나, 누락되는 것은 프레임 동기를 유지하는 관점에서 보면 문제가 없다. 15 프레임이 반복, 누락되면서 데이터 내용이 다소 변질될 수는 있으나, 클럭의 차이에 따른 부득이한 것으로, 비트 오율이 나빠지는 것은 감안할 수밖에 없다.Since the FSW is repeated in units of 15 frames, repeating or dropping frames in units of 15 frames is not a problem from the viewpoint of maintaining frame synchronization. The contents of the data may be somewhat altered as 15 frames are repeated or omitted, but it is inevitable due to the difference in clocks, and the bit error rate is deteriorated.

기존의 탄성 버퍼(elastic buffer)는 일반 피포(First In First Out; FIFO) 구조를 가지고 있어, 풀(Full)이나 엠티(Empty)가 되어 탄성 버퍼를 클리어(clear)할 경우, 프레임 동기를 다시 설정하기 위한 과정이 필요하다. 이를 위해서는 FSW를 약 수백 비트 스캔(scan)하면서 찾아야 했다. 프레임 동기를 다시 잡는 시간 동안인 수백 개의 프레임 시간 동안은 프레임이 맞지 않아 데이터 오류가 심하게 발생했다. 따라서 프레임 동기를 잃었을 경우 집중 에러(burst error)가 발생했다.The existing elastic buffer has a first in first out (FIFO) structure, and when the elastic buffer is cleared to full or empty, the frame synchronization is reset. The process is necessary. This required an FSW scan of several hundred bits. During hundreds of frame times during which frame synchronization was reestablished, the frames were not matched, causing severe data errors. Therefore, when the frame synchronization is lost, a burst error occurs.

도 2는 본 발명의 실시예에 의한 탄성 버퍼의 블록도를 도시하고 있다.2 illustrates a block diagram of an elastic buffer according to an embodiment of the present invention.

상기 탄성 버퍼는 각 노드에 설치되어 이를 거쳐 데이터가 수신된다.The elastic buffer is installed at each node to receive data therethrough.

바람직한 실시예에서 탄성 버퍼는 피포(First In First Out; FIFO) 메모리부(100), 리드 어드레스(Read Address) 증가부(200) 및 라이트 어드레스(Write Address) 증가부(300)를 포함한다.In an exemplary embodiment, the elastic buffer includes a first in first out (FIFO) memory unit 100, a read address increasing unit 200, and a write address increasing unit 300.

상기 리드 어드레스 증가부(200)는 제 1 래치(210), 제 2 래치(220), 어드레스 비교기(230), 다음 리드 어드레스 연산 회로(240) 및 모듈로 960 연산 회로(250)를 포함한다.The read address increasing unit 200 includes a first latch 210, a second latch 220, an address comparator 230, a next read address calculation circuit 240, and a modulo 960 calculation circuit 250.

또한 상기 라이트 어드레스 증가부(300)는 제 3 래치(310), +1연산회로(320), 모듈로 960 연산 회로(330)를 포함한다.The write address increasing unit 300 also includes a third latch 310, a +1 operation circuit 320, and a modulo 960 operation circuit 330.

리드 어드레스 증가부(200) 및 라이트 어드레스 증가부(300)는 리드 신호 및 라이트 신호의 인가에 따라 각각의 어드레스를 증가시키는 기능을 한다.The read address increasing unit 200 and the write address increasing unit 300 increase the respective addresses according to the application of the read signal and the write signal.

각 구성요소의 세부적인 기능은 다음과 같다.The detailed functions of each component are as follows.

본 발명의 실시예에서 피포 메모리부(100)는 읽고 쓰는 경로가 각기 다른 듀얼 포트(Dual Port) RAM(Random Access Memory)으로 구성하였다. 라이트 신호에 의해 라이트 어드레스에 데이터를 입력하고, 리드 신호에 의해 리드 어드레스에서 데이터를 출력한다.In the embodiment of the present invention, the PIpo memory unit 100 is composed of dual port random access memory (RAM) having different read and write paths. Data is input to the write address by the write signal, and data is output from the read address by the read signal.

라이트(Wr) 신호는 RAM에 데이터를 쓰는 명령 신호이다. 다음 라이트 어드레스(Wr Address)를 래치(latch)하는 용도로도 쓰인다.The write signal Wr is a command signal for writing data to the RAM. It is also used to latch the next write address.

리드(Rd) 신호는 RAM의 데이터를 읽는 명령 신호이다. 다음 리드 어드레스(Rd Address)를 래치하고, 현재의 라이트 어드레스를 래치할 때 사용된다.The read Rd signal is a command signal for reading data in the RAM. It is used to latch the next read address (Rd Address) and to latch the current write address.

제 1 래치(210)는 다음 리드 어드레스를 래치하여 저장하고 출력하기 위한 메모리이다. 리셋(Reset)시 0의 값을 갖는다고 가정한다.The first latch 210 is a memory for latching, storing, and outputting a next read address. Assume that it has a value of 0 at reset.

제 2 래치(220)는 라이트 어드레스를 리드 신호로 래치하여 라이트 어드레스를 저장하고 출력하는 메모리이다. 리셋시 3의 값을 갖는다고 가정한다.The second latch 220 is a memory that latches a write address into a read signal to store and output the write address. Assume that it has a value of 3 at reset.

제 3 래치(310)는 다음 라이트 어드레스를 래치하여 저장하고 출력하기 위한 메모리이다. 리셋시 3의 값을 갖는다.The third latch 310 is a memory for latching, storing, and outputting the next write address. It has a value of 3 at reset.

+1 연산회로(320)는 리드 어드레스를 1 증가시키기 위한 연산 회로이다.The +1 calculation circuit 320 is a calculation circuit for increasing the read address by one.

어드레스 비교기(230)는 리드 어드레스와 제 2 래치(220)에 저장된 라이트어드레스를 비교하는 연산 회로이다. 리드 어드레스와 라이트 어드레스를 비교하여 큰 값에서 작은 값을 빼 그 차가 -2~+2의 범위인 경우와 이외의 경우를 판단한다.The address comparator 230 is an operation circuit that compares the read address with the write address stored in the second latch 220. The read address is compared with the write address, and a small value is subtracted from a large value to determine whether or not the difference is in the range of -2 to +2.

다음 리드 어드레스는 어드레스 비교기(230)에서 비교 결과, -2~+2일 경우에는 다음 리드 어드레스를'현재의 리드 어드레스+481'로 계산하고, 이외의 경우에는 '현재의 리드 어드레스+1'로 계산한다. 다음 리드 어드레스의 값은 다음 번 라이트 신호에 의해 제 1 래치(210)에 저장되고 출력된다.As a result of the comparison in the address comparator 230, if the next read address is -2 to +2, the next read address is calculated as 'the current read address +481', otherwise the value is read as the 'current read address +1'. Calculate The value of the next read address is stored and output in the first latch 210 by the next write signal.

모듈로 960 연산회로(250, 330)는 960보다 큰 값(또는 0보다 작은 값)을 0~959 사이의 값으로 바꾸어 주는 연산회로이다. 궁극적으로 리드 어드레스와 라이트 어드레스 값이 0~959 사이에서 변화하도록 억제한다.The modulo 960 arithmetic circuits 250 and 330 are arithmetic circuits that convert a value greater than 960 (or a value less than 0) into a value between 0 and 959. Ultimately, the read address and write address values are suppressed to vary between 0 and 959.

탄성 버퍼의 동작은 다음과 같다.The operation of the elastic buffer is as follows.

도 2에서 초기에 제 1 래치(210)는 리드 어드레스로 '0'을 저장하고, 제 3 래치(310)는 라이트 어드레스로 '3'을 저장하고 있으며, 제 2 래치(220)도 '3'을 저장하고 있다. 제 1 래치(210)의 출력과 제 2 래치(220)의 출력은 각각 초기에 '0'과 '3'으로 설정되었으므로, 어드레스 비교기는 '이외'로 판단 결과를 출력한다. 다음 라이트 어드레스 연산회로(240)는 '이외'의 출력에 의해 다음 라이트 어드레스를 '라이트 어드레스+1(=3+1=4)'로 계산한다.In FIG. 2, the first latch 210 initially stores '0' as the read address, the third latch 310 stores '3' as the write address, and the second latch 220 also has '3'. Is saving. Since the output of the first latch 210 and the output of the second latch 220 are initially set to '0' and '3', the address comparator outputs the determination result as 'other'. The next write address calculation circuit 240 calculates the next write address as 'write address + 1 (= 3 + 1 = 4)' by the output of 'other'.

초기에는 RAM에 일정 수준 이상의 입력 데이터를 저장하기 위해 라이트 신호만이 들어온다. 초기에 약 256비트의 입력 데이터를 저장한다고 하면 라이트 어드레스는 4에서 258까지 매 라이트 신호에 의해 점진적으로 증가하게 된다. 256비트 입력 시간이 경과한 후, 리드 신호가 입력된다. 그 동안은 리드 신호가 없었으므로, 리드 어드레스는 증가하지 않고 0인 상태로 있었으며, 이후에는 리드 신호에 의해 리드 어드레스도 라이트 어드레스처럼 점진적으로 증가한다. 리드 신호 1번에 대해 라이트 신호도 1회씩 규칙적으로 입력되면, 라이트 어드레스와 리드 어드레스는 일정한 간격(약 256)이 유지된다. 이 때, 어드레스 비교기(230)는 '이외'만을 출력한다.Initially, only write signals come in to store more than a certain level of input data in RAM. Initially storing about 256 bits of input data, the write address is incrementally increased by every write signal from 4 to 258. After the 256-bit input time has elapsed, the read signal is input. In the meantime, since there was no read signal, the read address did not increase but remained at zero. After that, the read address gradually increased like the write address by the read signal. If the write signal is also regularly input to the read signal 1 once, the write address and the read address are maintained at a constant interval (about 256). At this time, the address comparator 230 outputs only 'other'.

그러나, 리드 신호와 라이트 신호의 주기가 각각 다르면 라이트 어드레스와 리드 어드레스의 간격에는 변화가 생기고 '라이트 어드레스 - 리드 어드레스 = 0, +1, +2, -1, -2' 등이 되는 경우가 발생하게 된다. 이와 같은 경우 다음 리드 어드레스를 +1이 아닌 +481만큼 증가하도록 어드레스를 제어한다. 다음 리드 어드레스가 +481만큼 점프하여 증가하면, 1개의 슈퍼 프레임을 건너뛴 리드 어드레스의 데이터를 읽게 되는 것으로, 정확히 1개의 슈퍼 프레임 분량의 데이터를 반복 송신하거나 손실 처리하는 것이 된다. 이후에는 다시 정상적인 슈퍼 프레임이 송신된다. 어드레스의 점프 시점이 정확히 슈퍼 프레임의 시작점이거나 끝점이어야 할 필요는 없다. 비록, 슈퍼 프레임 중간의 어느 지점에서 점프하더라도, 이전의 혹은 이후의 슈퍼 프레임의 바로 그 지점으로 점프하므로 2개의 불완전한 슈퍼 프레임이 합쳐져 완전한 480비트의 슈퍼 프레임을 유지하게 된다. '라이트 어드레스 - 리드 어드레스 = +1 혹은 -1' 만을 고려하지 않고, +2, -2 등도 고려한 것은 안전 설계를 목적으로 한 것이다. 즉 지터(클럭의 흔들림)에 의해 라이트 신호 1 주기 내에 2~3개의 리드 신호가 발생하거나, 반대의 경우가 발생하는 경우를 대비한 것이다. 상기 범위는 탄성 버퍼의 동작 환경에 따라 적절한 범위로 설정할 수 있다.However, when the periods of the read signal and the write signal are different from each other, there is a change in the interval between the write address and the read address, and the case of 'write address-read address = 0, +1, +2, -1, -2', etc. occurs. Done. In this case, the address is controlled to increase the next read address by +481 instead of +1. When the next read address jumps by +481 and increases, data of the read address skipped by one super frame is read, and data of exactly one super frame amount is repeatedly transmitted or lost. After that, the normal super frame is transmitted again. The jump point of the address need not be exactly the start or end point of the super frame. Even if you jump at any point in the middle of a super frame, you jump to the very point of the previous or subsequent super frame so that the two incomplete super frames merge to maintain a full 480-bit super frame. Not only considering 'write address-read address = +1 or -1', but also considering +2, -2, etc. is for safety design purposes. That is, this is to prepare for the case where two or three read signals are generated in one write signal cycle or vice versa due to jitter (clock shake). The range can be set to an appropriate range according to the operating environment of the elastic buffer.

도 3은 본 발명의 실시예에 의한 탄성 버퍼가 엠티(empty)나 풀(full)의 상황일 경우의 동작을 도시하고 있다.FIG. 3 shows the operation when the elastic buffer according to the embodiment of the present invention is empty or full.

도 3a는 탄성 버퍼가 엠티일 경우를 나타낸다.3A shows the case where the elastic buffer is empty.

탄성 버퍼에는 제 1 및 제 2 슈퍼 프레임의 데이터가 저장되어 있다.The elastic buffer stores data of the first and second super frames.

라이트 어드레스는 제 2 슈퍼 프레임의 마지막 어드레스에 위치하고 있어 제 3 슈퍼 프레임의 데이터를 제 1 슈퍼 프레임의 데이터가 쓰여진 위치에 겹쳐 쓰려고 하는 상태이다. 그러나, 리드 신호의 주기가 라이트 신호의 주기보다 빨라 리드 어드레스가 라이트 어드레스와 근소한 차이로 떨어져 있어 제 2 슈퍼 프레임의 데이터가 거의 다 읽힌 상태이다. 만약 리드 어드레스를 제어하지 않는다면, 시간이 좀 더 흐를 경우 리드 어드레스가 라이트 어드레스를 앞질러 제 1 슈퍼 프레임의 데이터를 읽게 될 것이다.The write address is located at the last address of the second super frame and is in a state where the data of the third super frame is to be overwritten at the position where the data of the first super frame is written. However, since the period of the read signal is earlier than the period of the write signal, the read address is slightly separated from the write address, so that the data of the second super frame is almost read. If the read address is not controlled, the read address will read the data of the first super frame ahead of the write address if time passes.

본 발명의 실시예에 의하면 이러한 상황에서 리드 어드레스의 위치를 슈퍼 프레임의 크기인 480비트만큼 이동시켜 다시 제 2 슈퍼 프레임의 데이터를 읽게 된다. 제 2 슈퍼 프레임의 데이터는 반복해서 출력되지만 프레임 동기는 유지된다.According to the exemplary embodiment of the present invention, the read address is moved by 480 bits, which is the size of the super frame, to read the data of the second super frame again. The data of the second super frame is repeatedly output but the frame synchronization is maintained.

도 3b는 탄성 버퍼가 풀(full)일 경우를 나타낸다.3B shows a case where the elastic buffer is full.

탄성 버퍼에는 제 1 슈퍼 프레임 및 제 0 및 제 2 슈퍼 프레임 일부의 데이터가 저장되어 있다.The elastic buffer stores data of the first super frame and the part of the zero and second super frames.

제 0 슈퍼 프레임의 데이터가 쓰여졌던 위치에 제 2 슈퍼 프레임의 데이터를 거의 다 겹쳐 쓴 상태이고, 리드 어드레스는 제 0 슈퍼 프레임의 마지막 어드레스에 위치하고 있어 막 제 1 슈퍼 프레임의 데이터를 읽으려고 하는 상태이다. 만약리드 어드레스를 제어하지 않는다면 라이트 신호의 주기가 리드 신호의 주기보다 빨라 라이트 어드레스가 리드 어드레스와 근소한 차이로 떨어져 있어 시간이 좀 더 흐를 경우 라이트 어드레스가 리드 어드레스를 앞지르게 된다. 따라서 제 1 슈퍼 프레임 위에 제 3 슈퍼 프레임의 데이터를 겹쳐 쓰게 되어 제 1 슈퍼 프레임 대신 제 3 슈퍼 프레임을 읽게 된다.The data of the second super frame is almost overwritten at the position where the data of the 0th super frame has been written, and the read address is located at the last address of the 0th super frame, and the data of the first super frame is about to be read. to be. If the read address is not controlled, the write signal period is faster than the read signal period, so that the write address is slightly separated from the read address, so that the write address may overtake the read address if time passes. Therefore, the data of the third super frame is overwritten on the first super frame, so that the third super frame is read instead of the first super frame.

본 발명의 실시예에 의하면 이러한 상황에서 리드 어드레스의 위치를 슈퍼 프레임의 크기인 480비트만큼 이동시켜 제 1 슈퍼 프레임을 건너 뛰어 제 2 슈퍼 프레임의 데이터를 읽게 된다. 제 1 슈퍼 프레임의 데이터는 누락되지만 그 이후의 데이터는 정상적으로 프레임 동기를 유지하게 된다.According to the exemplary embodiment of the present invention, the read address is shifted by 480 bits, which is the size of the super frame, to skip the first super frame and read the data of the second super frame. The data of the first super frame is missing, but the data thereafter is normally kept in frame synchronization.

상술한 실시예의 탄성 버퍼는 리드 어드레스를 이동시키는 방안을 제시하였지만 이와는 반대로 라이트 어드레스를 이동시켜도 동일한 결과를 얻을 수 있다. 이 경우 도 2의 블록도에서 '리드'와 '라이트'를 서로 바꾸어 주면 이에 해당하는 블록도를 구성할 수 있다는 것을 당업계의 통상의 지식을 가진 당업자라면 알 수 있다.Although the elastic buffer of the above-described embodiment has proposed a method of moving the read address, the same result can be obtained by moving the write address. In this case, it will be understood by those skilled in the art that a block diagram corresponding to the "lead" and the "light" are interchanged in the block diagram of FIG. 2.

도 4는 종래 방식과 본 발명에 의한 개선 방식에서 에러 구간과 에러 구간의 반복 주기를 나타낸다.Figure 4 shows the repetition period of the error interval and error interval in the conventional method and the improved method according to the present invention.

도 4a는 종래 방식의 경우 에러 구간을 도시하고 있다.4A shows an error section in the conventional method.

종래 방식의 경우, 두 노드간 클럭 편차가 10-5(1MHz 기준일 때 10Hz)으로 일정하다고 가정하면, 두 노드간에 데이터 송수신시에 매초 약 10비트씩 클럭 차이가 발생하고, 탄성 버퍼의 허용 용량이 채워지는 시간 이후에는 탄성 버퍼를 클리어하여야 하며, 그 때 노드간 링크는 FSW를 다시 검출해 채널의 타임 슬롯(time slot)을 정렬하여야 한다.In the conventional method, assuming that the clock deviation between two nodes is constant at 10 -5 (10 Hz at 1 MHz), a clock difference occurs about 10 bits per second when data is transmitted and received between the two nodes, and the allowable capacity of the elastic buffer is increased. After the time of filling, the elastic buffer must be cleared, and then the inter-node link must detect the FSW again to align the time slot of the channel.

FSW 재동기와 CCS(Common Chanel Signaling) 채널의 BCH(Bose-Chaudhuri-Hocquenghem) 블록 동기를 맞추기 위해 소요되는 시간을 알기 위해, 두 노드간 클럭 편차를 인위적으로 가한 후, 노드에서 CCS 채널을 이용하여 BER(Bit Error Ratio) 성능을 측정한다. CCS는 디지털로 다중화한 신호를 사용하면서, 타임 슬롯에 번호와 이름을 붙여 모든 채널이 시그널링(통화를 연결하거나 끊는 등의 신호 처리)을 위해 쓰는 공통의 채널이다. BCH는 부호화하는 방법의 하나로, 본래 크기의 메시지에 데이터를 부가하여 전송로 상에서 오류가 발생했는지 여부를 구분해내고, 부분적으로 오류를 복구한다. BCH는 블록으로 구분되는데 그 위치를 정확히 인식하는 것이 BCH 블록 동기이다.In order to know the time taken to synchronize the BSW (Bose-Chaudhuri-Hocquenghem) block of the FSW resynchronizer and the Common Chanel Signaling (CCS) channel, the clock skew between the two nodes is artificially applied and then the node uses the CCS channel. Measures the Bit Error Ratio (BER) performance. CCS is a common channel used for signaling (signal processing such as connecting or disconnecting calls) by using digitally multiplexed signals and assigning numbers and names to time slots. The BCH is a method of encoding, adding data to a message of an original size to distinguish whether an error has occurred on a transmission path, and partially recovering an error. BCH is divided into blocks, and it is BCH block synchronization that correctly recognizes the location.

탄성 버퍼가 512 비트인 경우, BER 측정 결과로부터 유추한 결과, FSW 동기와 BCH 블록 동기를 위한 전체 재동기에 소요되는 시간은 약 20㎳ 정도로 추정되었다. 즉, 클럭 편차에 따른 버퍼 클리어시 재동기를 위해서는 매번 약 20,000비트(=0.02[sec]*1,000,000[bps])의 데이터가 손실된다고 할 수 있다.When the elastic buffer is 512 bits, inferred from the BER measurement results, the time required for total resynchronization for FSW synchronization and BCH block synchronization is estimated to be about 20 ms. That is, about 20,000 bits (= 0.02 [sec] * 1,000,000 [bps]) of data are lost each time for resynchronization upon buffer clearing according to the clock deviation.

버퍼의 용량이 1000비트라면, 버퍼 용량의 절반인 500비트가 채워지는 50초마다 버퍼를 클리어하여 20,000비트를 오류 데이터로 채운다. 오류 데이터의 절반은 우연히 맞을 수도 있으므로, 10,000비트가 오류가 된다. 50초간의 전송 데이터 50메가비트(Mbit) 중 10,000비트는 오류이므로 BER은 2.0*10-4(10,000/50*106) 정도를 예상할 수 있다.If the buffer capacity is 1000 bits, the buffer is cleared every 50 seconds when 500 bits, which is half of the buffer capacity, are filled, and 20,000 bits are filled with error data. Half of the error data may be accidental, so 10,000 bits are an error. Since 10,000 bits out of 50 Mbits of 50 seconds of transmission data are errors, the BER can be expected to be 2.0 * 10 -4 (10,000 / 50 * 10 6 ).

탄성 버퍼가 512비트로 현재 가정하는 버퍼 1000비트의 절반 정도이므로, 버퍼 클리어 주기가 약 절반이 되고 오류는 2배 정도 발생하여 BER은 4.0*10-4정도로 나타난다.Since the elastic buffer is about 512 bits, about half of the 1000 bits of the buffer currently assumed, the buffer clear period is about half and error occurs twice, resulting in a BER of about 4.0 * 10 -4 .

도 4b는 본 발명의 실시예에 의한 에러 구간을 도시하고 있다.4B illustrates an error section according to an embodiment of the present invention.

앞에서와 동일한 조건으로 두 노드간 클럭의 차이가 10-5이면, 매초 10비트씩 차이가 누적되고, 480비트가 누적되는 48초가 경과할 때마다 1 슈퍼 프레임(15 프레임=480비트)의 데이터를 반복 송신되거나 누락된다. 프레임 동기는 유지되는 상태이므로 CCS 채널의 BCH 블록 동기만 맞추면 되는데, BCH 동기에 필요한 시간을 3㎳로 추정하면 3000비트(=0.003[sec]*1,000,000[bps])의 데이터가 손실될 것이며, 그 중 절반인 1,500비트 데이터는 오류로 볼 수 있다.If the clock difference between the two nodes is 10 -5 under the same conditions as before, the difference is accumulated by 10 bits per second, and every 48 seconds when 480 bits are accumulated, one super frame (15 frames = 480 bits) is acquired. Repeated transmission or missing. Since frame synchronization is maintained, only the BCH block synchronization of the CCS channel needs to be matched. If the time required for BCH synchronization is estimated to be 3 ms, 3000 bits (= 0.003 [sec] * 1,000,000 [bps]) of data will be lost. Half of that 1,500 bits of data is considered an error.

본 발명의 실시예에서는, 48초동안 전송한 데이터 48메가비트(Mbit) 중 1,500비트가 오류가 되므로 BER은 3.1*10-5이 되어, 유사한 버퍼 용량을 갖는 기존 방식의 1000비트 탄성 버퍼를 사용한 경우의 BER 2.0*10-4보다 나은 BER 성능을 갖는다는 것을 알 수 있다.In the embodiment of the present invention, since 1,500 bits of the 48 Mbits of data transmitted for 48 seconds are an error, the BER becomes 3.1 * 10 −5 , using a conventional 1000-bit elastic buffer having a similar buffer capacity. It can be seen that the BER performance is better than the BER 2.0 * 10 −4 .

기존 방식의 BER 성능과 본 발명의 실시예에 의한 BER 성능을 비교하여 본 발명의 실시예에 의한 탄성 버퍼를 사용할 때 성능 개선의 면을 살펴보면 다음과 같다.Looking at the performance improvement when using the elastic buffer according to an embodiment of the present invention by comparing the BER performance according to the embodiment of the present invention with the conventional BER performance as follows.

도 5는 종래 방식과 본 발명의 실시예에 의한 개선 방식의 BER 성능을 비교한 그래프이다.5 is a graph comparing the BER performance of the conventional method and the improved method according to an embodiment of the present invention.

그래프 상의 점선은 종래 방식의 경우 클럭 편차에 따른 BER을 나타내고, 실선은 개선 방식의 경우 클럭 편차에 따른 BER을 나타낸다.The dotted line on the graph represents the BER according to the clock deviation in the conventional method, and the solid line represents the BER according to the clock deviation in the case of the improved method.

종래 방식의 경우 탄성 버퍼의 크기를 1000비트로 환산하여, 버퍼 클리어시 20㎳ 동안 데이터가 손실되는 경우의 BER을 나타낸 것이고 개선 방식의 경우 버퍼 클리어시 3㎳의 데이터 손실에 따른 BER 곡선을 나타낸다.In the conventional method, the size of the elastic buffer is converted into 1000 bits to represent a BER when data is lost for 20 ms when the buffer is cleared, and the BER curve according to data loss of 3 ms when the buffer is cleared is shown for the improved method.

점 A는 BER=2.0*10-4이고 점 B는 BER=3.1*10-5을 나타낸다. 따라서, 개선 방식의 경우 유사한 버퍼 용량을 갖는 기존의 방식보다 약 1/7 정도 오류가 줄어, 좋은 BER 성능을 갖는다는 것을 알 수 있다.Point A represents BER = 2.0 * 10 −4 and point B represents BER = 3.1 * 10 −5 . Therefore, it can be seen that the improved method has about 1/7 fewer errors than the conventional method having similar buffer capacity, and thus has good BER performance.

이러한 개선된 탄성 버퍼 설계 기술을 사용하고, 프레임 내의 데이터 채널에서 데이터의 수신 형태를 잘 관찰함으로써, 양 노드간 클럭 편차를 측정할 수 있다.By using this improved elastic buffer design technique and observing the reception form of data in the data channel within the frame, the clock deviation between both nodes can be measured.

도 6은 클럭 편차를 측정하기 위한 프레임의 누락, 반복 검출 구성도를 도시하고 있다.Fig. 6 shows a structure of missing and repeated detection of frames for measuring clock deviation.

두 노드간 통화 채널을 개설하고, 수신단에서 알고 있는 데이터 패턴을 송신단에서 송신하면 패턴 중 15비트가 반복 송신되거나, 누락되는 시점을 찾을 수 있다. 1 사용자의 통화 채널은 1 프레임 내에 1비트이므로 슈퍼 프레임을 구성하는 15 프레임이 누락되거나 반복될 경우 FSW와 마찬가지로 통화채널도 15비트가 누락, 반복된다. 15비트가 반복 송신되는 주기나, 누락되는 주기를 기록하면 두 노드간의 클럭 차이를 측정할 수 있다.By establishing a communication channel between two nodes and transmitting a data pattern known to the receiver at the transmitter, it is possible to find a time when 15 bits of the pattern are repeatedly transmitted or missing. Since one user's call channel is 1 bit in one frame, if 15 frames constituting the super frame are missing or repeated, the call channel is repeated and missing 15 bits like FSW. By recording the period in which 15 bits are repeatedly transmitted or missing, the clock difference between the two nodes can be measured.

도 6의 15비트 누락, 반복 검출 구성도에서 수신단 측에는 45비트 저장 용량의 메모리(600)로 데이터를 출력하는 시퀀스 발생회로(500)가 설치되어 있다.In the 15-bit missing and repetitive detection configuration diagram of FIG. 6, the receiving end is provided with a sequence generating circuit 500 for outputting data to the memory 600 having a 45-bit storage capacity.

상기 시퀀스 발생회로(500)는 적어도 5단 이상의 레지스터(510)를 구비하는 것이 바람직하고 XOR(exclusive OR) 연산에 의해 시퀀스를 발생시킨다. 상기 메모리(600)는 각각 15비트의 크기를 가진 제 1 메모리부(610), 제 2 메모리부(620) 및 제 3 메모리부(630)를 포함한다. 시퀀스 발생회로(500)에서 발생된 데이터는 제 1 메모리부(610)로부터 제 3 메모리부630)로 순차적으로 이동하면서 저장된다.The sequence generating circuit 500 preferably includes at least five registers 510 and generates a sequence by an XOR (exclusive OR) operation. The memory 600 includes a first memory unit 610, a second memory unit 620, and a third memory unit 630 each having a size of 15 bits. The data generated by the sequence generator 500 is stored while sequentially moving from the first memory unit 610 to the third memory unit 630.

수신단의 시퀀스 발생회로(500)는, 송신단으로부터 수신된 데이터와 수신단의 메모리(600)에 저장된 데이터를 비교하여 제 2 메모리부(620)의 15비트와 동일한 패턴이 일치할 때까지 클럭을 조절하여, 송신단의 시퀀스 발생회로(700)보다 15비트 빠르게 동기를 맞춘다.The sequence generating circuit 500 of the receiving end compares the data received from the transmitting end with the data stored in the memory 600 of the receiving end, and adjusts the clock until the same pattern as 15 bits of the second memory unit 620 matches. The synchronization is performed 15 bits faster than the sequence generating circuit 700 of the transmitting end.

따라서, 제 2 메모리부(620)에 현재 수신되는 데이터와 동일한 데이터가 저장될 때 제 3 메모리부(630)에는 과거 데이터, 제 1 메모리부(610)에는 미래 데이터가 저장된다. 매 15비트마다 비교 결과를 누적하여 보면 정상인 경우에는 제 2 메모리부(620)의 15비트와 수신 15비트가 서로 지속적으로 일치하며, 15비트가 갑자기 누락되면, 제 1 메모리부(610)의 15비트와 일치하게 되고, 직전의 15비트가 반복되면 제 3 메모리부(630)의 15비트와 일치하게 된다.Therefore, when the same data as the data currently received in the second memory unit 620 is stored, the past data is stored in the third memory unit 630 and the future data is stored in the first memory unit 610. When the comparison result is accumulated every 15 bits, if it is normal, the 15 bits of the second memory unit 620 and the receiving 15 bits are consistently matched with each other, and if the 15 bits are suddenly missing, the 15 of the first memory unit 610 If the bit is matched with the previous 15 bits, the bit is matched with the 15 bits of the third memory unit 630.

일단 15비트의 반복, 누락이 검출되면 검출된 시기를 기록하고, 시퀀스 발생회로(500)의 클럭을 조절하여 다시 수신 데이터와 제 2 메모리부(620)의 15비트가 일치하도록 조정한다. 즉, 앞의 예에서 매 48초마다 15비트가 반복, 누락된 것이검출되면, 클럭 편차는 10-5이며, 매 24초마다 15비트가 반복, 누락된 것이 검출되면, 클럭 편차는 2*10-5이다. 즉, 검출주기와 클럭 편차는 반비례 관계이다.Once repetition or omission of 15 bits is detected, the detected time is recorded, and the clock of the sequence generation circuit 500 is adjusted to adjust the received data and the 15 bits of the second memory unit 620 again. That is, in the previous example, if 15 bits are repeated and missing every 48 seconds, the clock deviation is 10 -5 , and if 15 bits are repeated and missing every 24 seconds, the clock deviation is 2 * 10. -5 . That is, the detection period and the clock deviation are inversely related.

순환반복코드(Cyclic Permutable Codeword; 이하 CPC) 검출 기능을 사용한 15비트 누락/반복 검출도 가능하다. CPC는 8비트를 반복하여 전송한다. 송신측에서는 수신측에서 CPC를 검출할 수 있는 최소한의 반복횟수로 제한하여 송신하고, '0','1'...'9' 등 규칙적인 CPC를 반복 송신하면 수신단에서 CPC 검출에 누락된 CPC가 인식되거나, CPC 검출 주기가 일시적으로 불규칙한 경우, 예컨데 0.48㎳ 지연된 경우 15비트의 반복, 누락으로 판단할 수 있다.15-bit missing / repeated detection using Cyclic Permutable Codeword (CPC) detection is also possible. The CPC transmits 8 bits repeatedly. The sender limits the CPC to the minimum number of repetitions that can be detected by the receiver, and repeatedly transmits regular CPCs such as '0', '1' ... '9'. If it is recognized or the CPC detection period is temporarily irregular, for example, 0.48 ms delay, it can be determined that the 15-bit repetition, omission.

원격으로 클럭의 상대적 안정도를 측정하는 것은 측정의 편리함 외에도 망 동기 관리를 위하여 중요하다.Measuring the relative stability of the clock remotely is important for network synchronization management in addition to the convenience of the measurement.

상기한 설명에 많은 사항이 구체적으로 기재되어 있으나 그들은 발명의 범위를 한정하는 것이 아니라 바람직한 실시예로서 해석되어야 한다. 따라서 발명의 범위는 설명된 실시예에 의하여 정할 것이 아니고 특허청구범위와 특허청구범위에 균등한 것에 의하여 정하여져야 한다.Many details are set forth in the foregoing description, but they should be construed as preferred embodiments rather than limiting the scope of the invention. Therefore, the scope of the invention should not be defined by the described embodiments, but should be defined by the claims and the equivalents of the claims.

본 발명의 실시예에 의하면 다음과 같은 효과를 얻을 수 있다.According to the embodiment of the present invention, the following effects can be obtained.

첫째, 클럭 품질이 열악한 상황에서도 프레임 동기를 유지하여 데이터 손실을 최소화한다.First, frame synchronization is maintained even under poor clock quality to minimize data loss.

둘째, 읽고 쓰는 어드레스 제어 알고리즘이 비교적 간단하여 회로 설계의 부담이 적다.Second, the read and write address control algorithm is relatively simple, so the burden of circuit design is small.

셋째, 15비트 누락, 반복 여부를 검출하는 시퀀스 발생회로로 송수신 노드간 클럭 차이를 원격으로 측정하는 것이 가능하다.Third, it is possible to remotely measure the clock difference between the transmitting and receiving nodes with a sequence generating circuit that detects a 15-bit missing or repetition.

Claims (8)

라이트 신호의 인가에 따라 라이트 어드레스에 데이터를 입력하며 리드 신호의 인가에 따라 리드 어드레스의 데이터를 출력하고, 두 슈퍼 프레임 크기의 정수배의 저장 용량을 갖는 피포 메모리부;A PPI memory unit for inputting data to a write address according to the application of the write signal and outputting data of the read address according to the application of the read signal and having an integer multiple of two super frame sizes; 상기 라이트 신호의 인가에 따라 상기 라이트 어드레스를 1씩 증가시키는 라이트 어드레스 증가부; 및A write address increasing unit configured to increase the write address by one according to the application of the write signal; And 상기 리드 신호의 인가에 따라 상기 리드 어드레스를 1씩 증가시키는 리드 어드레스 증가부를 포함하며,A read address increasing unit configured to increase the read address by one according to the application of the read signal, 상기 라이트 어드레스 증가부 및 상기 리드 어드레스 증가부 중 어느 하나는 상기 피포 메모리부의 데이터가 엠티나 풀 직전일 경우 상기 피포 메모리부 크기의 절반에 해당하는 크기만큼 라이트 어드레스 또는 리드 어드레스를 이동시키는 것을 특징으로 하는 프레임 동기를 유지하는 탄성 버퍼.Any one of the write address increasing unit and the read address increasing unit moves the write address or the read address by a size corresponding to half of the size of the covered memory unit when the data of the covered memory unit is immediately before empty or full. Elastic buffer to keep the frame synchronized. 제 1 항에 있어서, 상기 피포 메모리부의 저장 용량은 960비트의 정수배인 것을 특징으로 하는 프레임 동기를 유지하는 탄성 버퍼.The elastic buffer of claim 1, wherein the storage capacity of the encapsulated memory unit is an integer multiple of 960 bits. 제 1 항에 있어서, 상기 라이트 어드레스 증가부 및 상기 리드 어드레스 증가부는 라이트 어드레스 및 리드 어드레스가 항상 상기 피포 메모리부 내의 어드레스를 나타내도록 모듈로 960의 정수배 연산을 수행하는 것을 특징으로 하는 프레임동기를 유지하는 탄성 버퍼.2. The frame synchronization according to claim 1, wherein the write address increasing unit and the read address increasing unit perform modulo 960 operations such that the write address and the read address always represent an address in the covered memory unit. Elastic buffer. 제 1 항에 있어서, 상기 라이트 어드레스 증가부는 라이트 신호가 인가될 때까지 라이트 어드레스를 저장하는 제 1 래치를 포함하고, 상기 리드 어드레스 증가부는 리드 신호가 인가될 때까지 리드 어드레스를 저장하는 제 2 래치를 포함하는 것을 특징으로 하는 프레임 동기를 유지하는 탄성 버퍼.2. The second latch of claim 1, wherein the write address increasing unit includes a first latch for storing a write address until a write signal is applied, and the read address increasing unit stores a read address until a read signal is applied. Elastic buffer for maintaining frame synchronization, characterized in that it comprises a. 제 1 항에 있어서, 상기 리드 어드레스와 상기 라이트 어드레스를 비교하여 양 어드레스의 차를 계산하고, 양 어드레스의 차가 -2 내지 2의 범위이면 상기 피포 메모리부 크기의 절반에 해당하는 크기만큼 라이트 어드레스 또는 리드 어드레스를 이동시키는 것을 특징으로 하는 프레임 동기를 유지하는 탄성 버퍼.The read address of claim 1, wherein the difference between the two addresses is calculated by comparing the read address with the write address. An elastic buffer for maintaining frame synchronization, characterized by moving a read address. 송신단에서 수신자가 알고 있는 데이터를 시퀀스 발생회로를 사용하여 제 1 항의 탄성 버퍼를 구비하는 수신단으로 송신하는 단계;Transmitting data known to the receiver by the transmitting end to the receiving end having the elastic buffer of claim 1 using a sequence generating circuit; 수신단에서 시퀀스 발생회로로 송신단에서 송신한 데이터보다 15비트 빠르게 데이터를 발생하는 단계;Generating data from the receiving end to the sequence generating circuit by 15 bits faster than the data transmitted from the transmitting end; 수신단에서 수신 데이터 및 발생시킨 데이터를 비교하여 프레임의 누락 또는 반복을 검출하는 단계를 포함하는 노드간 클럭 편차 검출 방법.A method for detecting a clock deviation between nodes including comparing received data and generated data at a receiving end to detect a missing or repeated frame. 8비트의 순환반복코드를 제 1 항의 탄성 버퍼를 구비한 수신단으로 반복하여전송하는 단계; 및Repeatedly transmitting an 8-bit cyclic repetition code to a receiving end having the elastic buffer of claim 1; And 수신단에서 상기 순환반복코드의 주기를 검출하여 일시적으로 불규칙한 경우 프레임의 누락 또는 반복으로 판단하는 노드간 클럭 편차 검출 방법.And detecting a period of the cyclic repetition code at a receiving end and determining that a frame is missed or repetitive when temporarily irregular. 제 7 항에 있어서, 상기 순환반복코드의 주기가 0.48㎳ 지연될 경우 15비트의 누락 또는 반복으로 판단하는 노드간 클럭 편차 검출 방법.8. The method of claim 7, wherein when the cycle of the cyclic repetition code is delayed by 0.48 ms, it is determined that 15 bits are missing or repeated.
KR10-2002-0064316A 2002-10-21 2002-10-21 Elastic buffer for keeping frame synchronization and method for detecting clock difference using algorithm of the same KR100523546B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0064316A KR100523546B1 (en) 2002-10-21 2002-10-21 Elastic buffer for keeping frame synchronization and method for detecting clock difference using algorithm of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0064316A KR100523546B1 (en) 2002-10-21 2002-10-21 Elastic buffer for keeping frame synchronization and method for detecting clock difference using algorithm of the same

Publications (2)

Publication Number Publication Date
KR20040034225A true KR20040034225A (en) 2004-04-28
KR100523546B1 KR100523546B1 (en) 2005-10-25

Family

ID=37333587

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0064316A KR100523546B1 (en) 2002-10-21 2002-10-21 Elastic buffer for keeping frame synchronization and method for detecting clock difference using algorithm of the same

Country Status (1)

Country Link
KR (1) KR100523546B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8252382B2 (en) 2006-04-29 2012-08-28 Inktec Co., Ltd. Aluminum wheel having high gloss
CN111400205A (en) * 2020-02-29 2020-07-10 华南理工大学 First-in first-out address polling cache read-write method, system and device
CN114090494A (en) * 2021-11-29 2022-02-25 海光信息技术股份有限公司 Data transmission method, device, equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5872823A (en) * 1997-04-02 1999-02-16 Sutton; Todd R. Reliable switching between data sources in a synchronous communication system
KR100214020B1 (en) * 1997-05-10 1999-08-02 김영환 Mux and demux device having variable frame structure in digital communication
KR20000039904A (en) * 1998-12-16 2000-07-05 서평원 Method for buffering data in wide band communication terminal
KR20020046461A (en) * 2000-12-14 2002-06-21 오길록 Apparatus and Method for controlling buffer without buffer-full

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8252382B2 (en) 2006-04-29 2012-08-28 Inktec Co., Ltd. Aluminum wheel having high gloss
CN111400205A (en) * 2020-02-29 2020-07-10 华南理工大学 First-in first-out address polling cache read-write method, system and device
CN111400205B (en) * 2020-02-29 2022-05-24 华南理工大学 First-in first-out address polling cache read-write method, system and device
CN114090494A (en) * 2021-11-29 2022-02-25 海光信息技术股份有限公司 Data transmission method, device, equipment and storage medium
CN114090494B (en) * 2021-11-29 2024-04-05 海光信息技术股份有限公司 Data transmission method, device, equipment and storage medium

Also Published As

Publication number Publication date
KR100523546B1 (en) 2005-10-25

Similar Documents

Publication Publication Date Title
JP4528010B2 (en) Video sync
JPH02247709A (en) Method for removing skew
JPWO2002056513A1 (en) Path error monitoring method and device
US6400785B1 (en) Signal resynchronization apparatus having capability to avoid data corruption
JPH08204666A (en) Transmission system with control circuit and control circuitwith comparator
KR100523546B1 (en) Elastic buffer for keeping frame synchronization and method for detecting clock difference using algorithm of the same
JP2008034905A (en) Digital transmission device and method
US6959011B2 (en) Data transmission and reception system, data transmitter and data receiver
NL9102157A (en) SYSTEM FOR CODING PROPERTED DATA WITH A FIRST CODING DEVICE AND DECODING CODED DATA WITH A SECOND CODING DEVICE, AND CODING DEVICE FOR USE IN THE SYSTEM.
JP4183535B2 (en) Optical signal transmission device for speed conversion processing of frame signal
JPS6359621B2 (en)
US6577647B1 (en) Synchronization system and method, and recording medium
JP3920261B2 (en) Frame synchronizer and optical transceiver
JPH08331114A (en) Correlation peak judging circuit
JP3225059B2 (en) Code error detection device
JP4489980B2 (en) Frame synchronization circuit
US20020041647A1 (en) Device and method for burst synchronization and error detection
JP2952051B2 (en) Cell synchronous operation circuit in ATM
JP2006013642A (en) Uninterruptible switching system and terminal equipment for use therein
JPH05327670A (en) Propagation time difference correction circuit for switching type space diversity digital radio communication
JPH01263566A (en) System for measuring transmission delay difference
KR930010778B1 (en) Data transmission line fault detecting circuit
JP2655624B2 (en) Frame synchronization detection circuit
KR0153622B1 (en) 2-phase code decoding apparatus
KR950012322B1 (en) Vc-4 mapping control unit in the physical layer of b-isdn

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

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20131001

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20141006

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee