KR100566983B1 - Apparatus and method for providing synchronous clock in duplexing board - Google Patents

Apparatus and method for providing synchronous clock in duplexing board Download PDF

Info

Publication number
KR100566983B1
KR100566983B1 KR1020030088917A KR20030088917A KR100566983B1 KR 100566983 B1 KR100566983 B1 KR 100566983B1 KR 1020030088917 A KR1020030088917 A KR 1020030088917A KR 20030088917 A KR20030088917 A KR 20030088917A KR 100566983 B1 KR100566983 B1 KR 100566983B1
Authority
KR
South Korea
Prior art keywords
clock
board
active
providing
phase
Prior art date
Application number
KR1020030088917A
Other languages
Korean (ko)
Other versions
KR20050055868A (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 KR1020030088917A priority Critical patent/KR100566983B1/en
Publication of KR20050055868A publication Critical patent/KR20050055868A/en
Application granted granted Critical
Publication of KR100566983B1 publication Critical patent/KR100566983B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/12Synchronisation of different clock signals provided by a plurality of clock generators

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

본 발명은 이중화 보드의 동기클럭 제공 장치 및 그 방법을 제공하기 위한 것으로, 인터페이스 되는 매체로부터 클럭을 추출하는 클럭 추출부와; 상기 클럭 추출부에서 추출된 클럭으로부터 필요한 클럭을 생성하는 클럭 생성부와; 상기 클럭 생성부에서 생성된 클럭을 분석하여 동기화된 클럭으로 재생하여 타 보드에 제공하는 클럭 동기화부를 포함하여 구성함으로써, 이중화된 양쪽 보드에서 현재의 상태에 따라 클럭간의 동기화를 맞추어 보드간의 절체가 발생할 때에도 클럭의 위상 차이가 발생하지 않게 되는 것이다.The present invention provides a synchronization clock providing apparatus and method for a redundant board, comprising: a clock extracting unit for extracting a clock from a medium to be interfaced; A clock generator for generating a required clock from the clock extracted by the clock extractor; By including a clock synchronizing unit for analyzing the clock generated by the clock generator to reproduce the synchronized clock and provide it to other boards, switching between the boards occurs by synchronizing the clocks in accordance with the current state in both boards Even when the clock phase difference does not occur.

Description

이중화 보드의 동기클럭 제공 장치 및 그 방법{Apparatus and method for providing synchronous clock in duplexing board}Apparatus and method for providing synchronous clock of redundant boards {Apparatus and method for providing synchronous clock in duplexing board}

도 1은 종래 이중화 보드의 클럭 제공 장치의 블록구성도이고,1 is a block diagram of a conventional clock providing apparatus of a redundant board;

도 2는 종래 이중화 보드의 클럭 제공 방법을 보인 흐름도이며,2 is a flowchart illustrating a clock providing method of a conventional redundant board;

도 3은 종래 기술에 의해 제공되는 클럭의 위상 차이를 보인 개념도이고,3 is a conceptual diagram showing a phase difference of a clock provided by the prior art;

도 4는 본 발명에 의한 이중화 보드의 동기클럭 제공 장치의 블록구성도이며,4 is a block diagram of an apparatus for providing a synchronous clock of a redundant board according to the present invention;

도 5는 본 발명에 의한 이중화 보드의 동기클럭 제공 방법을 보인 흐름도이고,5 is a flowchart illustrating a synchronization clock providing method of a redundant board according to the present invention;

도 6은 본 발명에 의해 동기클럭이 생성되는 것을 보인 개념도이며,6 is a conceptual diagram showing that a synchronization clock is generated by the present invention,

도 7은 본 발명에 의해 액티브/스탠바이 절체에 따른 클럭 조절의 예를 든 표이다.7 is a table showing an example of clock adjustment according to active / standby switching according to the present invention.

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

10a : A 사이드(액티브) 10b : B 사이드(스탠바이)10a: A side (active) 10b: B side (standby)

20 : 클럭 추출부 30 : 클럭 생성부20: clock extractor 30: clock generator

40 : 클럭 동기화부 41 : 출력 버퍼40: clock synchronization unit 41: output buffer

42 : 입력 버퍼 43 : 동기 조절부42: input buffer 43: synchronization controller

44 : 메모리부44: memory section

본 발명은 이중화 보드의 동기클럭 제공 장치 및 그 방법에 관한 것으로, 특히 이중화된 양쪽 보드에서 현재의 상태에 따라 클럭간의 동기화를 맞추어 보드간의 절체가 발생할 때에도 클럭의 위상 차이가 발생하지 않도록 하기에 적당하도록 한 이중화 보드의 동기클럭 제공 장치 및 그 방법에 관한 것이다.The present invention relates to an apparatus and a method for providing a synchronous clock of a redundant board, in particular, to synchronize the clock according to the current state in both redundant boards, so that the phase difference of the clock does not occur even when switching between boards occurs. The present invention relates to a synchronization clock providing apparatus of a redundant board and a method thereof.

일반적으로 이중화란 한 시스템 내에 두 대의 컴퓨터, 주변장치, 보드 또는 다른 회로 등을 사용하여 한 쪽이 고장이나 장애 또는 시스템 교체를 수행할 때 나머지 하나가 시스템을 계속 운용할 수 있도록 사용되는 것을 말한다.In general, redundancy is the use of two computers, peripherals, boards, or other circuitry within a system, so that one can continue to operate the system when one fails or fails or replaces the system.

그래서 이중화란 어느 시스템에서 '가'라는 역할을 수행하는 '나'라는 보드가 있을 때, 보드에 문제가 발생하더라도 '가'라는 역할 수행에 이상이 없도록 보드를 A/B 형태로 실장하여, 평상시에는 두 장 중 한 장만이 '가'의 역할을 수행하고, 둘 중 한 보드에 이상이 있을 시에는 다른 한 보드가 그 역할을 대신하는 방식의 구현 형태를 말한다.Thus, when there is a board named 'I' which plays the role of 'A' in a system, the board is mounted in the form of A / B so that there is no problem in performing the role of 'A' even if a problem occurs in the board. In this chapter, only one of the two chapters plays the role of 'A', and when there is an error in one of the boards, the other board replaces the role.

이러한 이중화는 그 중요도와 기타 등등의 상황에 다라 여러 가지 방식으로 구현하고 있다.This redundancy is implemented in a number of ways, depending on its importance, and so on.

한편 통신 시스템의 경우 안정성을 보장하기 위해서 이중화 구조로 보드를 구성하는 경우가 많다. 즉, 만약 하나의 보드가 동작하지 못하는 상황이 발생할지 라도 다른 한 보드가 정상적으로 동작하여 전체 시스템 운영에는 지장을 주지 않게 하는 것이다.On the other hand, in the case of communication systems, boards are often configured in a redundant structure to ensure stability. In other words, if one board fails to operate, the other board operates normally so that it does not interfere with the overall system operation.

도 1은 종래 이중화 보드의 클럭 제공 장치의 블록구성도이다.1 is a block diagram of a conventional clock providing apparatus of a redundant board.

이에 도시된 바와 같이, 인터페이스 되어지는 전송 매체에서 전달되는 기준 클럭을 구별하여 현재 보드에서 필요로 하는 클럭을 추출해내는 클럭 추출부(2)와; 상기 클럭 추출부(2)에서 추출해낸 클럭을 기반으로 타 보드(4)에 제공해줄 클럭을 생성하여 타 보드(4)에 제공하고, 타 보드(4)에 제공되는 클럭 중 보다 더 유효한 클럭이 무엇인지를 알려주는 클럭 생성부(3)로 구성된다.As shown therein, a clock extracting unit (2) which extracts a clock required by a current board by distinguishing a reference clock transmitted from an interfaced transmission medium; Based on the clock extracted from the clock extractor 2, a clock to be provided to the other board 4 is generated and provided to the other board 4, and a more effective clock is provided among the clocks provided to the other board 4. It consists of a clock generation section (3) informing what is.

여기서 참조번호 1a는 클럭 추출부(2)와 클럭 생성부(3)가 구비된 액티브 사이드이고 1b는 클럭 추출부(2)와 클럭 생성부(3)가 구비된 스탠바이 사이드이다.Here, reference numeral 1a denotes an active side provided with a clock extractor 2 and a clock generator 3, and 1b denotes a standby side provided with a clock extractor 2 and a clock generator 3.

도 2는 종래 이중화 보드의 클럭 제공 방법을 보인 흐름도이다.2 is a flowchart illustrating a clock providing method of a conventional redundant board.

이에 도시된 바와 같이, 기준 클럭을 수신하여 클럭을 추출하는 단계(ST11)(ST12)와; 상기 추출된 클럭을 기반으로 필요한 클럭을 생성하여 타 보드(4)로 제공하고 타 보드(4)에 제공되는 클럭 중 보다 더 유효한 클럭이 무엇인지를 알려주는 단계(ST13 ~ ST15)를 수행한다.As shown therein, steps of receiving a reference clock to extract a clock (ST11) (ST12); Based on the extracted clock, a required clock is generated and provided to the other board 4, and steps (ST13 to ST15) indicating which clock is more effective than the clock provided to the other board 4 is performed.

이와 같이 구성된 종래 기술의 동작을 첨부한 도면에 의거하여 상세히 설명하면 다음과 같다.The operation of the prior art configured as described above will be described in detail with reference to the accompanying drawings.

먼저 액티브(1a)와 스탠바이(1b)는 모두 클럭 추출부(2)와 클럭 생성부(3)를 동일하게 구비하고 있다.First, both the active 1a and the standby 1b are provided with the clock extracting unit 2 and the clock generating unit 3 in the same manner.

그래서 클럭 추출부(2)에서는 인터페이스 되어지는 전송매체에서 수신되는 기준 클럭을 구별하여 현재 시스템인 타 보드(4)에서 필요로 하는 클럭을 추출해낸다.Therefore, the clock extractor 2 extracts the clock required by the other board 4 which is the current system by distinguishing the reference clock received from the transmission medium to be interfaced.

그러면 클럭 생성부(3)에서는 클럭 추출부(2)에서 추출해낼 클럭을 기반으로 하여 타 시스템인 타 보드(4)에 제공해 줄 클럭을 만들어낸다. 그리고 생성한 클럭을 약속한 인터페이스 형식에 맞추어서 전송한다.Then, the clock generator 3 generates a clock to be provided to another board 4 which is another system based on the clock to be extracted by the clock extractor 2. The generated clock is then transmitted according to the promised interface format.

또한 제공되는 두 개의 클럭 중에서 보다 더 유효한 클럭이 무엇인지를 상대 시스템인 타 보드(4)에게 알려주는 기능을 수행하게 된다.In addition, it performs a function of informing the other board 4 which is a more valid clock than two clocks provided.

이러한 종래 기술은 좀더 상세히 설명한다.This prior art is described in more detail.

이중화된 각 보드는 인터페이스 되는 매체(STM(Synchronous Transport Module), E1 등등)로부터 기준 클럭을 수신받아 이것을 추출하여 사용하게 된다.Each redundant board receives a reference clock from the interface medium (STM (Synchronous Transport Module), E1, etc.) and extracts it for use.

또한 이 신호를 기준으로 필요한 클럭을 생성하여 타 시스템에 전달해주게 된다.Also, based on this signal, necessary clock is generated and transferred to other system.

다만, 이중화의 경우 액티브인 보드와 스탠바이인 보드에서 각각 클럭을 전송할 수 있기 때문에, 현재 상태에서 보다 더 유효한 클럭이 어느 보드에서 나오는 것인지를 클럭을 제공받는 시스템에 알려줄 필요가 있다.However, in the case of redundancy, the clocks can be transmitted from the active board and the standby board, respectively. Therefore, it is necessary to inform the system receiving the clock which clock is more valid than the current state.

따라서 통상적으로는 액티브인 보드의 클럭을 유효 클럭으로 인식할 수 있도록 클럭 유효(Clock Valid) 신호가 생성되어진다.Therefore, in general, a clock valid signal is generated to recognize a clock of an active board as a valid clock.

그러나 이러한 종래의 기술은 다음과 같은 문제점이 있었다.However, this conventional technology has the following problems.

즉, 종래처럼 이중화된 보드에서 클럭을 제공해주게 되면, 액티브인 보드의 기능이 중단되었을 경우에도 스탠바이인 보드가 액티브로 전환되어 그 기능을 계속 수행할 수 있다.In other words, when a clock is provided by a redundant board as in the related art, even if the function of the active board is interrupted, the standby board may be converted to active and continue to perform the function.

도 3은 종래 기술에 의해 제공되는 클럭의 위상 차이를 보인 개념도이다.3 is a conceptual diagram illustrating a phase difference of a clock provided by the prior art.

따라서 도 3에서와 같이, 클럭의 경우 각각의 보드에서 추출한 클럭의 위상이 정확하게 일치하지 않을 수 있기 때문에, 보드 간의 절체가 발생할 경우 클럭을 수신하는 타 시스템에서 다소의 위상 차이로 인하여 데이터의 손실이 발생할 수 있는 문제점이 있었다.Therefore, as shown in FIG. 3, in the case of a clock, the phases of the clocks extracted from each board may not exactly match each other. Therefore, when switching between boards occurs, data loss may occur due to a slight phase difference in another system receiving the clock. There was a problem that could occur.

이에 본 발명은 상기와 같은 종래의 제반 문제점을 해결하기 위해 제안된 것으로, 본 발명의 목적은 통신 시스템의 STM 프레이머(Framer)와 같은 장치로부터 수신하여 추출한 클럭을 기준으로 기준 클럭을 생성하고 이를 연동되는 블록에 제공해 줄 때, 이중화된 양쪽 보드에서 현재의 상태에 따라 클럭간의 동기화를 맞추어 보드간의 절체가 발생할 때에도 클럭의 위상 차이가 발생하지 않도록 할 수 있는 이중화 보드의 동기클럭 제공 장치 및 그 방법을 제공하는데 있다.Accordingly, the present invention has been proposed to solve the above-mentioned general problems, and an object of the present invention is to generate a reference clock based on a clock received from an apparatus such as an STM framer of a communication system and to interwork it. Apparatus and method for providing a synchronous clock for a redundant board that can synchronize the clocks according to the current state in both redundant boards so that a phase difference of the clock does not occur even when switching between the boards occurs. To provide.

상기와 같은 목적을 달성하기 위하여 본 발명의 일실시예에 의한 이중화 보드의 동기클럭 제공 장치는,In order to achieve the above object, a synchronization clock providing apparatus of a redundant board according to an embodiment of the present invention,

인터페이스 되는 매체로부터 클럭을 추출하는 클럭 추출부와; 상기 클럭 추출부에서 추출된 클럭으로부터 필요한 클럭을 생성하는 클럭 생성부와; 상기 클럭 생성부에서 생성된 클럭을 분석하여 동기화된 클럭으로 재생하여 타 보드에 제공하는 클럭 동기화부를 포함하여 이루어짐을 그 기술적 구성상의 특징으로 한다.A clock extractor for extracting a clock from an interfaced medium; A clock generator for generating a required clock from the clock extracted by the clock extractor; Technical features of the present invention include a clock synchronizing unit which analyzes the clock generated by the clock generating unit and reproduces the synchronized clock and provides it to another board.

상기와 같은 목적을 달성하기 위하여 본 발명의 일실시예에 의한 이중화 보 드의 동기클럭 제공 방법은,In order to achieve the above object, a synchronization clock providing method of a redundant board according to an embodiment of the present invention,

기준클럭을 수신하면 클럭을 추출하는 제 1 단계와; 상기 제 1 단계 후 필요한 클럭을 생성하는 제 2 단계와; 상기 제 2 단계 후 생성된 클럭을 분석하여 동기화된 클럭으로 재생하여 타 보드에 제공하는 제 3 단계를 포함하여 수행함을 그 기술적 구성상의 특징으로 한다.Extracting a clock upon receiving a reference clock; A second step of generating a required clock after the first step; And a third step of analyzing a clock generated after the second step, reproducing a synchronized clock, and providing the same to another board.

이하, 상기와 같은 본 발명, 이중화 보드의 동기클럭 제공 장치 및 그 방법의 기술적 사상에 따른 일실시예를 도면을 참조하여 설명하면 다음과 같다.Hereinafter, an embodiment of the present invention as described above, an apparatus for providing a synchronous clock of a redundant board and a method thereof will be described with reference to the accompanying drawings.

도 4는 본 발명에 의한 이중화 보드의 동기클럭 제공 장치의 블록구성도이다.4 is a block diagram of an apparatus for providing a synchronous clock of a redundant board according to the present invention.

이에 도시된 바와 같이, 인터페이스 되는 매체로부터 클럭을 추출하는 클럭 추출부(20)와; 상기 클럭 추출부(20)에서 추출된 클럭으로부터 필요한 클럭을 생성하는 클럭 생성부(30)와; 상기 클럭 생성부(30)에서 생성된 클럭을 분석하여 동기화된 클럭으로 재생하여 타 보드에 제공하는 클럭 동기화부(40)를 포함하여 이중화로 구성된다.As shown therein, a clock extractor 20 for extracting a clock from a medium to be interfaced; A clock generator 30 for generating a required clock from the clock extracted by the clock extractor 20; The clock generator 30 includes a clock synchronizer 40 which analyzes the clock generated by the clock generator 30 and reproduces the synchronized clock and provides it to another board.

상기에서 클럭 동기화부(40)는, 상기 클럭 생성부(30)에서 수신한 클럭을 두 개의 방향으로 분배하여 전송하는 출력 버퍼(41)와; 자기 사이드(Side)의 상기 출력 버퍼(41)의 출력과 타 사이드의 상기 출력 버퍼(41)의 클럭을 수신하는 입력 버퍼(42)와; 상기 입력 버퍼(42)에서 전달된 신호를 분석하여 동기화된 클럭으로 재생하여 타 보드에 제공하는 동기 조절부(43)와; 상기 동기 조절부(43)와 연결되어 현재 사이드의 상태를 기억하는 메모리부(44)를 포함하여 구성된다.The clock synchronizer 40 includes: an output buffer 41 for distributing and transmitting a clock received from the clock generator 30 in two directions; An input buffer 42 for receiving an output of the output buffer 41 on its own side and a clock of the output buffer 41 on the other side; A synchronization controller 43 for analyzing the signal transmitted from the input buffer 42 and reproducing it with a synchronized clock and providing it to another board; And a memory unit 44 connected to the synchronization adjusting unit 43 to store the state of the current side.

상기에서 동기 조절부(43)는, 액티브 모드일 때는 자기 사이드의 클럭을 바이패스 시키고, 스탠바이 모드일 때는 액티브 사이드에서 전달된 기준 클럭과 위상을 맞추며, 변환 액티브 모드일 때는 스탠바이 모드에서 기억되어 있는 위상 조절 값을 적용하여 조정된 클럭을 제공한다.In the above, the synchronization controller 43 bypasses the clock of its own side in the active mode, synchronizes the phase with the reference clock transmitted from the active side in the standby mode, and is stored in the standby mode in the converted active mode. Apply the phase adjustment value to provide the adjusted clock.

상기에서 동기 조절부(43)는, 지연 버퍼를 구비하여 스탠바이 상태에서 기준 클럭과 비교하여 위상이 동일하지 않을 경우 상기 지연 버퍼를 통과시켜 다시 한번 위상을 비교한다.The synchronization controller 43 includes a delay buffer and compares the phases once again by passing the delay buffer when the phases are not the same as those of the reference clock in the standby state.

상기에서 메모리부(44)는, 스탠바이 상태에서 기준 클럭과 비교하여 자기 사이드의 클럭의 위상을 조절한 값을 기억하여 이후 액티브 상태로 변화되었을 때 위상 조절 값이 적용되도록 한다.In the above-described memory unit 44, the phase adjustment value is stored when the phase of the clock is changed to the active state by storing the value of the phase of the clock of the magnetic side in comparison with the reference clock in the standby state.

도 5는 본 발명에 의한 이중화 보드의 동기클럭 제공 방법을 보인 흐름도이다.5 is a flowchart illustrating a synchronization clock providing method of a redundant board according to the present invention.

이에 도시된 바와 같이, 기준클럭을 수신하면 클럭을 추출하는 제 1 단계(ST21)(ST22)와; 상기 제 1 단계 후 필요한 클럭을 생성하는 제 2 단계(ST23)와; 상기 제 2 단계 후 생성된 클럭을 분석하여 동기화된 클럭으로 재생하여 타 보드에 제공하는 제 3 단계(ST24)를 포함하여 수행한다.As shown therein, a first step (ST21) (ST22) of extracting a clock upon receiving the reference clock; A second step ST23 for generating a required clock after the first step; And a third step ST24 of analyzing a clock generated after the second step, reproducing a synchronized clock, and providing the same to another board.

상기에서 제 3 단계는, 자기 사이드의 클럭을 바이패스 시키는 액티브 모드와, 액티브 사이드에서 전달된 기준 클럭과 위상을 맞추는 스탠바이 모드와, 스탠바이 모드에서 기억되어 있는 위상 조절 값을 적용하여 조정된 클럭을 제공하는 변 환 액티브 모드를 포함하여 수행한다.In the third step, the clock adjusted by applying an active mode for bypassing the clock of its own side, a standby mode for matching phase with a reference clock transmitted from the active side, and a phase adjustment value stored in the standby mode is applied. Provides conversion including active mode.

상기 제 3 단계에서 스탠바이 모드는, 기준 클럭과 비교하여 자기 사이드의 클럭의 위상을 조절한 값을 기억하여 이후 액티브 상태로 변화되었을 때 위상 조절 값이 적용되도록 한다.In the third step, the standby mode stores a value of adjusting a phase of a clock of a magnetic side in comparison with a reference clock so that a phase adjusting value is applied when it is changed to an active state.

이와 같이 구성된 본 발명에 의한 이중화 보드의 동기클럭 제공 장치 및 그 방법의 동작을 첨부한 도면에 의거 상세히 설명하면 다음과 같다.Referring to the accompanying drawings, the operation of the synchronization clock providing apparatus and method of the redundant board according to the present invention configured as described above will be described in detail as follows.

먼저 본 발명은 통신 시스템의 STM(Synchronous Transport Module) 프레이머(Framer)와 같은 장치로부터 수신하여 추출한 클럭을 기준으로 기준 클럭을 생성하고 이를 연동되는 블록에 제공해 줄 때, 이중화된 양쪽 보드에서 현재의 상태에 따라 클럭간의 동기화를 맞추어 보드간의 절체가 발생할 때에도 클럭의 위상 차이가 발생하지 않도록 하고자 한다.First, the present invention generates a reference clock based on a clock received from a device such as a STM (Synchronous Transport Module) framer of a communication system and provides it to an interlocking block. According to this, the clock phase is synchronized so that the phase difference of the clock does not occur even when switching between boards occurs.

도 6은 본 발명에 의해 동기클럭이 생성되는 것을 보인 개념도이며, 도 7은 본 발명에 의해 액티브/스탠바이 절체에 따른 클럭 조절의 예를 든 표이다.FIG. 6 is a conceptual diagram illustrating that a synchronous clock is generated by the present invention, and FIG. 7 is a table showing an example of clock adjustment according to active / standby switching according to the present invention.

그래서 본 발명에서는 상대 보드와의 클럭 동기화를 위해 출력 버퍼(41)와 입력 버퍼(42)를 두고 있다.Therefore, in the present invention, the output buffer 41 and the input buffer 42 are provided for clock synchronization with the partner board.

출력 버퍼(41)는 두 개의 신호를 내보내게 되는데, 그 중 하나의 신호는 타 사이드로 전달되고 나머지 하나의 신호는 자기 사이드의 입력 버퍼(42)로 전달되게 된다.The output buffer 41 emits two signals, one of which is transmitted to the other side and the other of the signal to the input buffer 42 of its side.

입력 버퍼(42)에서는 타 사이드의 출력 버퍼(41)에서 나온 신호와 자기 사이드의 출력 버퍼(42)에서 나온 두 개의 신호가 입력되게 된다.In the input buffer 42, two signals from the output buffer 42 of the other side and two signals from the output buffer 42 of the magnetic side are inputted.

이 두 신호는 동기 조절부(43)로 전달되게 되는데, 이때 클럭 생성부(30)에서 동기 조절부(43)까지는 두 신호 모두 출력 버퍼(41) 한 번과 입력 버퍼(42) 한 번을 거치기 때문에 각 신호의 이상적인 신호지연은 동일하게 된다.These two signals are transmitted to the synchronization controller 43. At this time, the clock generator 30 through the synchronization controller 43 passes both the output buffer 41 and the input buffer 42 once. Therefore, the ideal signal delay of each signal is the same.

동기 조절부(43)에서는 입력되는 두 신호를 가지고 신호 동기를 맞추게 되는데, 이때는 현재 사이드의 상태를 다음과 같이 초기 액티브 모드 / 스탠바이 모드 / 변환된 액티브 모드 로 나누어 관리하게 된다.The synchronization controller 43 synchronizes the signal with two input signals. At this time, the state of the current side is divided into initial active mode / standby mode / converted active mode as follows.

1) 초기 액티브 모드1) Initial active mode

초기 액티브는 최초 절체가 발생하지 않은 상태에서의 초기 액티브 상태를 말한다.Initially active is an initial active state in which no initial transfer has occurred.

이러한 상태에서 동기 조절부(43)는 자기 사이드의 클럭 생성부(30)에서 전달되는 클럭을 위상 조절 없이 그대로 타 보드로 내보내게 된다.In this state, the synchronization controller 43 sends the clock transmitted from the clock generator 30 of the magnetic side to the other board without phase adjustment.

다만, 클럭 생성부(30)에서 나온 클럭을 바로 외부로 보내는 것이 아니라 출력 버퍼(41)와 입력 버퍼(42)를 거쳐서 온 신호를 동기 조절부(43)에서 바이패스(by-pass)하게 된다.However, instead of sending the clock from the clock generator 30 directly to the outside, the synchronization controller 43 bypasses the on-signal through the output buffer 41 and the input buffer 42. .

따라서 버퍼에 따른 신호 지연은 스탠바이 사이드와 동일하게 된다.Therefore, the signal delay along the buffer becomes the same as the standby side.

2) 스탠바이 모드2) standby mode

스탠바이 모드에서는 액티브 사이드에서 전달되는 클럭을 기준으로 자기 사이드의 클럭을 조절하여 동일한 위상으로 만들게 된다.In the standby mode, the clock of the magnetic side is adjusted to the same phase based on the clock transmitted from the active side.

도 6에서와 같이 입력되는 기준 클럭과 현재 자기 사이드의 클럭의 위상 차이를 비교하면서 위상이 동일하지 않을 경우 메모리부(44)를 통과시켜서 다시 한번 위상을 비교하게 된다.As shown in FIG. 6, when the phases are not the same while comparing the phase difference between the input reference clock and the clock of the current magnetic side, the phases are compared again by passing through the memory unit 44.

이러한 작업을 반복하다가 위상이 동일하게 되었을 때 몇 개의 지연 버퍼를 통과시켰는지를 기억하고, 해당 신호를 외부로 내보내게 된다.This operation is repeated, and it remembers how many delay buffers it passed when the phases became the same, and sends the signal out.

따라서 스탠바이 모드에서는 절체가 이루어질 때를 대비하여 현재 위상 조절 범위를 기억하게 된다.Therefore, in the standby mode, the current phase adjustment range is memorized in preparation for the transfer.

3) 변환된 액티브 모드3) converted active mode

변환된 액티브 모드는 스탠바이 모드에서 액티브 모드로 변환된 모드로서, 초기 액티브와는 달리 스탠바이 모드에서 사용하던 위상 조절된 클럭을 사용하게 된다.The converted active mode is a mode converted from the standby mode to the active mode, and unlike the initial active, it uses the phase adjusted clock used in the standby mode.

즉, 스탠바이로 동작하던 보드가 액티브로 바뀌었을 때 기준 클럭의 입력은 없어질 것이고, 액티브가 되었다고는 하지만 자기 사이드의 클럭을 외부로 보내게 되면 앞서 보내던 클럭과의 위상 차이가 발생하게 된다.In other words, when the board used as standby becomes active, the input of the reference clock will be lost. If it is active but sends the clock of its own side, the phase difference from the previous clock will occur.

따라서 스탠바이 모드에서 기억해 두었던 위상 조절 범위를 그대로 사용하여 자기 사이드에서 생성되는 클럭을 동기 조절부(43)를 이용하여 조정한 다음 외부로 내보내게 된다.Therefore, by using the phase adjustment range stored in the standby mode as it is, the clock generated on the magnetic side is adjusted using the synchronization controller 43 and then exported to the outside.

한편 도 7의 표를 보면, A 사이드와 B 사이드 간의 액티브/스탠바이 절체에 따른 클럭 조절 방식의 예를 보여주고 있다. 여기서 지연 버퍼는 도 6의 예를 참조한다.Meanwhile, referring to the table of FIG. 7, an example of a clock control method according to active / standby switching between the A side and the B side is shown. Here, the delay buffer refers to the example of FIG. 6.

그래서 #1의 경우, A 사이드가 액티브 상태이고 B 사이드가 스탠바이 상태이면, A 사이드는 자체 클럭을 생성하여 출력하고 B 사이드는 2 버퍼 지연을 수행한 다.So in case of # 1, if A side is active and B side is in standby state, A side generates and outputs its own clock and B side performs 2 buffer delays.

#2의 경우, A 사이드가 오픈 상태로 되고 B 사이드가 액티브(A 사이드의 장애로 인해 B 사이드가 변환된 액티브가 됨) 상태로 되면, A 사이드는 클럭을 생성하지 않고 B 사이드는 2 버퍼 지연을 수행한다.In case of # 2, when A side is open and B side becomes active (B side becomes active due to the failure of A side), A side does not generate clock and B side 2 buffer delay Do this.

#3의 경우, A 사이드가 스탠바이 상태로 되고 B 사이드가 액티브(변환된 액티브)가 되면, A 사이드는 3 버퍼 지연을 수행하고 B 사이드는 2 버퍼 지연을 수행한다.In case of # 3, when the A side is in the standby state and the B side is active (transformed active), the A side performs 3 buffer delays and the B side performs 2 buffer delays.

#4의 경우, A 사이드가 다시 액티브 상태(변환된 액티브)로 되고 B 사이드가 스탠바이 상태로 되면, A 사이드는 3 버퍼 지연을 수행하고 B 사이드는 1 버퍼 지연을 수행한다.In the case of # 4, when the A side becomes active again (transitioned active) and the B side becomes standby, the A side performs 3 buffer delays and the B side performs 1 buffer delay.

이처럼 본 발명은 이중화된 양쪽 보드에서 현재의 상태에 따라 클럭간의 동기화를 맞추어 보드간의 절체가 발생할 때에도 클럭의 위상 차이가 발생하지 않게 되는 것이다.As such, the present invention synchronizes the clocks according to the current state in both redundant boards so that the phase difference of the clocks does not occur even when switching between boards occurs.

이상에서 본 발명의 바람직한 실시예를 설명하였으나, 본 발명은 다양한 변화와 변경 및 균등물을 사용할 수 있다. 본 발명은 상기 실시예를 적절히 변형하여 동일하게 응용할 수 있음이 명확하다. 따라서 상기 기재 내용은 하기 특허청구범위의 한계에 의해 정해지는 본 발명의 범위를 한정하는 것이 아니다.Although the preferred embodiment of the present invention has been described above, the present invention may use various changes, modifications, and equivalents. It is clear that the present invention can be applied in the same manner by appropriately modifying the above embodiments. Accordingly, the above description does not limit the scope of the invention as defined by the limitations of the following claims.

이상에서 살펴본 바와 같이, 본 발명에 의한 이중화 보드의 동기클럭 제공 장치 및 그 방법은 이중화된 양쪽 보드에서 현재의 상태에 따라 클럭간의 동기화를 맞추어 보드간의 절체가 발생할 때에도 클럭의 위상 차이가 발생하지 않도록 할 수 있는 효과가 있게 된다.As described above, the apparatus for providing a synchronous clock of a redundant board according to the present invention and a method thereof provide synchronization between clocks according to a current state of both redundant boards so that a phase difference of a clock does not occur even when switching between boards occurs. It will work.

또한 본 발명은 이중화로 인해 클럭 제공의 중단이 없어지게 되고, 동기된 클럭을 생성하고 제공함으로써 이중화 절체 시에도 데이터의 손실을 최소화시켜 시스템의 신뢰성을 향상시킬 수 있는 효과도 있게 된다.In addition, the present invention eliminates the interruption of clock provision due to redundancy, and generates and provides a synchronized clock, thereby minimizing data loss during redundancy switching, thereby improving the reliability of the system.

Claims (8)

삭제delete 인터페이스 되는 매체로부터 클럭을 추출하는 클럭 추출부와;A clock extractor for extracting a clock from an interfaced medium; 상기 클럭 추출부에서 추출된 클럭으로부터 필요한 클럭을 생성하는 클럭 생성부와;A clock generator for generating a required clock from the clock extracted by the clock extractor; 상기 클럭 생성부에서 수신한 클럭을 두 개의 방향으로 분배하여 전송하는 출력 버퍼와;An output buffer configured to transmit the clock received by the clock generator in two directions; 자기 사이드의 상기 출력 버퍼의 출력과 타 사이드의 상기 출력 버퍼의 클럭을 수신하는 입력 버퍼와;An input buffer for receiving an output of the output buffer on its own side and a clock of the output buffer on the other side; 상기 입력 버퍼에서 전달된 신호를 분석하여 동기화된 클럭으로 재생하여 타 보드에 제공하는 동기 조절부와;A synchronization controller which analyzes the signal transmitted from the input buffer and reproduces the synchronized clock to provide to another board; 상기 동기 조절부와 연결되어 현재 사이드의 상태를 기억하는 메모리부로 구성되어 상기 클럭 생성부에서 생성된 클럭을 분석하여 동기화된 클럭으로 재생하여 타 보드에 제공하는 클럭 동기화부를 포함하여 구성된 것을 특징으로 하는 이중화 보드의 동기클럭 제공 장치.The memory unit is connected to the synchronization control unit and stores a current side state. The clock generation unit analyzes the clock generated by a synchronized clock and comprises a clock synchronization unit configured to provide to another board. Synchronous clock providing device of redundancy board. 제 2 항에 있어서, 상기 동기 조절부는,The method of claim 2, wherein the synchronization control unit, 액티브 모드일 때는 자기 사이드의 클럭을 바이패스 시키고, 스탠바이 모드일 때는 액티브 사이드에서 전달된 기준 클럭과 위상을 맞추며, 변환 액티브 모드일 때는 스탠바이 모드에서 기억되어 있는 위상 조절 값을 적용하여 조정된 클럭을 제공하는 것을 특징으로 하는 이중화 보드의 동기클럭 제공 장치.In the active mode, the clock on the magnetic side is bypassed. In the standby mode, the clock is phased with the reference clock transmitted from the active side. In the active mode, the clock is adjusted by applying the phase adjustment value stored in the standby mode. Apparatus for providing a synchronous clock of a redundant board, characterized in that provided. 제 3 항에 있어서, 상기 동기 조절부는,The method of claim 3, wherein the synchronization control unit, 지연 버퍼를 구비하여 스탠바이 상태에서 기준 클럭과 비교하여 위상이 동일하지 않을 경우 상기 지연 버퍼를 통과시켜 다시 한번 위상을 비교하는 것을 특징으로 하는 이중화 보드의 동기클럭 제공 장치.And a delay buffer to compare the phases again by passing the delay buffer when the phases are not the same as those of the reference clock in the standby state. 제 2 항 내지 제 4 항 중 어느 한 항에 있어서, 상기 메모리부는,The memory unit of claim 2, wherein the memory unit includes: 스탠바이 상태에서 기준 클럭과 비교하여 자기 사이드의 클럭의 위상을 조절한 값을 기억하여 이후 액티브 상태로 변화되었을 때 위상 조절 값이 적용되도록 하는 것을 특징으로 하는 이중화 보드의 동기클럭 제공 장치.The apparatus for providing a synchronous clock of a redundant board according to claim 1, wherein the phase adjustment value is stored when the phase of the clock of the magnetic side is adjusted in comparison with the reference clock in the standby state. 삭제delete 기준클럭을 수신하면 클럭을 추출하는 제 1 단계와;Extracting a clock upon receiving a reference clock; 상기 제 1 단계 후 필요한 클럭을 생성하는 제 2 단계와;A second step of generating a required clock after the first step; 상기 제 2 단계 후 생성된 클럭을 분석하여 동기화된 클럭으로 재생하여 타 보드에 제공하는 것으로, 자기 사이드의 클럭을 바이패스 시키는 액티브 모드와, 액티브 사이드에서 전달된 기준 클럭과 위상을 맞추는 스탠바이 모드와, 스탠바이 모드에서 기억되어 있는 위상 조절 값을 적용하여 조정된 클럭을 제공하는 변환 액티브 모드를 포함하여 수행하는 것을 특징으로 하는 이중화 보드의 동기클럭 제공 방법.Analyzing the clock generated after the second step and reproducing the synchronized clock to provide to another board, an active mode for bypassing a clock of its own side, and a standby mode for matching phase with a reference clock transmitted from the active side; And a conversion active mode providing a clock adjusted by applying a phase adjustment value stored in the standby mode. 제 7 항에 있어서, 상기 제 3 단계에서 스탠바이 모드는,The method of claim 7, wherein the standby mode in the third step, 기준 클럭과 비교하여 자기 사이드의 클럭의 위상을 조절한 값을 기억하여 이후 액티브 상태로 변화되었을 때 위상 조절 값이 적용되도록 하는 것을 특징으로 하는 이중화 보드의 동기클럭 제공 방법.A method of providing a synchronous clock of a redundant board comprising: storing a phase adjusted value of a clock of a magnetic side in comparison with a reference clock so that a phase adjusted value is applied when it is changed to an active state.
KR1020030088917A 2003-12-09 2003-12-09 Apparatus and method for providing synchronous clock in duplexing board KR100566983B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030088917A KR100566983B1 (en) 2003-12-09 2003-12-09 Apparatus and method for providing synchronous clock in duplexing board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030088917A KR100566983B1 (en) 2003-12-09 2003-12-09 Apparatus and method for providing synchronous clock in duplexing board

Publications (2)

Publication Number Publication Date
KR20050055868A KR20050055868A (en) 2005-06-14
KR100566983B1 true KR100566983B1 (en) 2006-04-04

Family

ID=37250650

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030088917A KR100566983B1 (en) 2003-12-09 2003-12-09 Apparatus and method for providing synchronous clock in duplexing board

Country Status (1)

Country Link
KR (1) KR100566983B1 (en)

Also Published As

Publication number Publication date
KR20050055868A (en) 2005-06-14

Similar Documents

Publication Publication Date Title
EP2141837B1 (en) Active/standby switchover method and device of asynchronous backplane in transport network
KR100566983B1 (en) Apparatus and method for providing synchronous clock in duplexing board
JPH06232856A (en) Phase adjustment device
US6463069B1 (en) Arrangement and method relating to a telecommunications system handling redundant signals
US5903543A (en) Apparatus and method of preventing cell data loss during clock switching
KR100328757B1 (en) A error preventing device of clock signal with switchover for transmission system
JPH0338128A (en) Hitless switching method
JP2001024565A (en) Transmission system having non-interruption switch controller for a plurality of lines
JP2701741B2 (en) Redundant / single switching mode
JP3070546B2 (en) Alarm transfer circuit
JP2918943B2 (en) Phase locked loop
JP3040316B2 (en) Termination circuit of redundant transmission line
JP2856470B2 (en) Duplex configuration switching method
KR20020005830A (en) Apparatus for clock synchonization between dualized STM-N signal interface cards
KR100492891B1 (en) Apparatus For Selecting Reference Clock In The RAM System
JP2864703B2 (en) Redundant optical transmission path
JPH0537500A (en) Clock extracting system for synchronizing network of transmitter
JPH08237235A (en) Digital communication system
JP3893873B2 (en) Duplex processor entanglement system
JPH0774755A (en) Phase matching device for cell of active and standby system in atm communication system
JP2002044058A (en) Transmitter having redundant configuration
JPH10145344A (en) Bit phase synchronizing circuit
JPH01155735A (en) Line switching equipment for digital communication system
JPH05304508A (en) Clock supply system
JP2001007792A (en) Method and device for generating extract reference clock signal

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

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20140218

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20150216

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee