KR100612653B1 - Apparatus and method of dual-clock selecting for wireless communication system - Google Patents

Apparatus and method of dual-clock selecting for wireless communication system Download PDF

Info

Publication number
KR100612653B1
KR100612653B1 KR1020030062191A KR20030062191A KR100612653B1 KR 100612653 B1 KR100612653 B1 KR 100612653B1 KR 1020030062191 A KR1020030062191 A KR 1020030062191A KR 20030062191 A KR20030062191 A KR 20030062191A KR 100612653 B1 KR100612653 B1 KR 100612653B1
Authority
KR
South Korea
Prior art keywords
clock
communication system
wireless communication
result
redundant
Prior art date
Application number
KR1020030062191A
Other languages
Korean (ko)
Other versions
KR20050024939A (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 KR1020030062191A priority Critical patent/KR100612653B1/en
Publication of KR20050024939A publication Critical patent/KR20050024939A/en
Application granted granted Critical
Publication of KR100612653B1 publication Critical patent/KR100612653B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/155Ground-based stations

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

본 발명은 무선 통신 시스템의 이중화 클럭 선택 장치 및 방법을 개시한다.The present invention discloses an apparatus and method for selecting a redundant clock in a wireless communication system.

본 발명은 제 1 클럭의 이상 유무를 상기 무선 통신 시스템이 제공하는 기준 클럭과 비교하여 판단하고, 상기 제 1 클럭에 이상이 판단되면 인터럽트 신호를 출력하는 제 1 클럭 모니터부와, 제 2 클럭의 이상 유무를 상기 무선 통신 시스템이 제공하는 기준 클럭과 비교하여 판단하고, 상기 제 2 클럭에 이상이 판단되면 인터럽트 신호를 출력하는 제 2 클럭 모니터부와, 상기 제 1 클럭 및 제 2 클럭을 주클럭과 예비클럭으로 정의하여 상기 무선 통신 시스템에 주클럭을 제공하도록 하고, 상기 제 1 클럭 모니터부 또는 제 2 클럭 모니터부가 출력하는 인터럽트 신호에 의해 주 클럭과 예비클럭을 절체하고, 이상이 발생한 클럭의 초기화를 수행하는 클럭 제어부를 구성하여 이중화 클럭의 입력에 대한 빠른 절체로 안정적인 보드 동작을 유지 시키고, 주 클럭의 상태가 호전되면 다시 보조 클럭과 절체하도록 하고, 이중화된 두개의 클럭에 모두 이상이 있을 경우, 에러 상황에 대한 조치를 적절히 취할 수 있다.The present invention compares a first clock with a reference clock provided by the wireless communication system to determine whether there is an abnormality, and if an abnormality is determined in the first clock, a first clock monitor unit for outputting an interrupt signal and a second clock; A second clock monitor unit which determines whether there is an error is compared with a reference clock provided by the wireless communication system and outputs an interrupt signal when an abnormality is determined in the second clock, and the first clock and the second clock are the main clocks. And a preliminary clock to provide a main clock to the wireless communication system. The main clock and the preliminary clock are switched by an interrupt signal output from the first clock monitor unit or the second clock monitor unit. By configuring the clock control unit to perform initialization, it maintains stable board operation by fast switching on the input of the redundant clock, and maintains the main clock. If the condition can be improved if the secondary clock all over again, and to transfer, to the redundancy of the two clocks, take appropriate measures for error conditions.

이중화 클럭, 인터럽트, 클럭 절체Redundant Clock, Interrupt, Clock Alternate

Description

무선 통신 시스템의 이중화 클럭 선택 장치 및 방법{Apparatus and method of dual-clock selecting for wireless communication system}Apparatus and method of dual-clock selecting for wireless communication system

도 1은 본 발명의 실시 예에 따른 무선 통신 시스템의 제어국의 클럭 이중화의 구성도를 나타낸 블록도이다.1 is a block diagram illustrating a configuration of clock duplication of a control station of a wireless communication system according to an exemplary embodiment of the present invention.

도 2는 무선 통신 시스템의 클럭 이중화 장치를 가지는 제어국 내의 라인인터페이스 카드의 구조를 나타낸 블록도이다.Fig. 2 is a block diagram showing the structure of a line interface card in a control station having a clock duplication apparatus for a wireless communication system.

도 3은 본 발명의 실시 예에 따른 무선 통신 시스템의 이중화 클럭 선택 장치의 구조를 나타낸 블록도이다.3 is a block diagram illustrating a structure of a redundant clock selection device of a wireless communication system according to an exemplary embodiment of the present invention.

도 4는 본 발명의 실시 예에 따른 도 3의 클럭 모니터부의 구조를 나타낸 블록도이다.4 is a block diagram illustrating a structure of a clock monitor unit of FIG. 3 according to an exemplary embodiment of the present invention.

도 5는 본 발명의 실시 예에 따른 도 4의 클럭 모니터부의 파형도를 나타낸다.5 is a waveform diagram illustrating a clock monitor of FIG. 4 according to an exemplary embodiment of the present invention.

도 6은 본 발명의 실시 예에 따른 무선 통신 시스템의 이중화 클럭 선택 장치 동작의 파형도를 나타낸다.6 is a waveform diagram of an operation of a redundant clock selection device of a wireless communication system according to an exemplary embodiment of the present invention.

본 발명은 무선 통신 시스템의 이중화 클럭 선택 장치 및 방법에 관한 것으로, 특히 간단한 회로 구성을 통하여 이중화 클럭 입력에 대한 빠른 절체와, 무선 통신 시스템의 안정적 동작을 확보 및 지속하기 위한 무선 통신 시스템의 이중화 클럭 선택 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for selecting a redundant clock of a wireless communication system. Particularly, a redundant clock of a wireless communication system for fast switching to a redundant clock input and a stable operation of the wireless communication system through a simple circuit configuration is provided. A selection device and method are disclosed.

종래의 시스템에서의 이중화 유니트의 클럭 인터페이스를 제공하기 위한 장치로 대한민국 특허 공개공보(10-2002-00673130 동기식 전송 시스템에서 이중화 유니트의 클럭 인터페이스 장치)에서 동기식 전송 및 다중화 시스템에서 클럭 생성 유니트의 절체 및 탈장시 프레임 유실 및 비트 에러를 방지하기 위한 이중화 유니트의 클럭 인터페이스를 제시하였다.A device for providing a clock interface of a redundancy unit in a conventional system is disclosed in the Republic of Korea Patent Publication (10-2002-00673130 clock interface device of the redundancy unit in a synchronous transmission system) and switching of the clock generation unit in a synchronous transmission and multiplexing system The clock interface of the redundancy unit is proposed to prevent frame loss and bit error during hermetic operation.

그러나, 상기한 기술은 PLL(phase locked loop) 이용한 하드웨어를 통한 클럭 이중화 절체를 구성하여 절체시나, 절체시 발생될 에러에 대한 보고기능이 없어 에러에 대한 효과적인 대비가 불가능한 문제가 있다.However, the above-described technique has a problem in that it is impossible to effectively prepare for an error because there is no reporting function of an error to be generated at the time of switching or switching by configuring a clock redundant switching through hardware using a PLL (phase locked loop).

상기한 문제를 해결하기 위하여 본 발명은 이중화 클럭의 입력에 대한 빠른 절체로 안정적인 보드 동작을 유지 시키고, 주 클럭의 상태가 호전되면 다시 보조 클럭과 절체하도록 하고, 이중화된 두개의 클럭에 모두 이상이 있을 경우, 에러 상황에 대한 조치를 적절히 취할 수 있도록 하는 무선 통신 시스템의 이중화 클럭 선택 장치 및 방법을 제공함에 그 목적이 있다.In order to solve the above problem, the present invention maintains stable board operation by fast switching to the input of the redundant clock, and when the state of the main clock improves, switches back to the auxiliary clock, and the abnormality of both the redundant clocks It is an object of the present invention to provide an apparatus and method for selecting a redundant clock of a wireless communication system that can properly take action for an error situation.

본 발명의 특징에 따른 무선 통신 시스템의 이중화 클럭 선택 장치는,An apparatus for selecting a redundant clock in a wireless communication system according to a feature of the present invention,

무선 통신 시스템에 제공되는 이중화된 클럭을 선택하는 이중화 클럭 선택 장치에 있어서, 제 1 클럭의 상위 레벨 및 하위레벨의 이상 유무를 기준클럭을 기초로 판단하고, 상기 판단에 따른 결과를 인터럽트 신호로 출력하는 제 1 클럭 모니터부; 제 2 클럭의 상위 레벨 및 하위레벨의 이상 유무를 기준클럭을 기초로 판단하고, 상기 판단에 따른 결과를 인터럽트 신호로 출력하는 제 2 클럭 모니터부; 및 상기 제 1 클럭 및 제 2 클럭을 주클럭과 예비클럭으로 정의하여 상기 무선 통신 시스템에 주클럭을 제공하도록 하고, 상기 제 1 클럭 모니터부 또는 제 2 클럭 모니터부가 출력하는 인터럽트 신호에 의해 주 클럭과 예비클럭을 절체하고, 이상이 발생한 클럭에 초기화를 수행하며, 상기 주클럭과 예비클럭 모두 이상이 발생한 경우 특정 인터럽트를 발생하는 클럭 제어부를 포함한다.
본 발명의 하나의 특징에 따른 무선 통신 시스템의 이중화 클럭 선택 방법은,
A redundant clock selection device for selecting a redundant clock provided to a wireless communication system, the abnormality of the upper level and lower level of the first clock is determined based on the reference clock, and outputs the result of the determination as an interrupt signal. A first clock monitor; A second clock monitor unit which determines whether an upper level and a lower level of the second clock are abnormal based on a reference clock, and outputs a result of the determination as an interrupt signal; And defining a first clock and a second clock as a main clock and a preliminary clock to provide a main clock to the wireless communication system, and the main clock by an interrupt signal output from the first clock monitor or the second clock monitor. And a clock control unit which alternates the preliminary clock, performs initialization to a clock in which an abnormality occurs, and generates a specific interrupt when both the main clock and the preliminary clock occur.
The redundant clock selection method of the wireless communication system according to an aspect of the present invention,

삭제delete

삭제delete

삭제delete

무선 통신 시스템에 제공되는 이중화된 클럭을 선택하는 이중화 클럭 선택 방법에 있어서, (a) 이중으로 입력되는 주 클럭인 제 1 클럭과, 예비 클럭인 제 2 클럭을 설정하고, 제 1 클럭을 상기 무선통신 시스템에 제공하는 단계; (b) 상기 제 1 클럭 및 제 2 클럭의 상위 레벨 및 하위레벨의 이상 유무를 기준클럭을 기초로 판단하고, 상기 판단에 따라 상기 제 1 클럭의 이상이 감지되고 제 2 클럭이 정상적인 경우, 상기 제 2 클럭을 주 클럭으로 절체하고, 상기 무선 통신 시스템으로부터 제 1 클럭 초기화 신호를 기다리는 단계; 및 (c) 상기 무선 통신 시스템으로부터 수신되는 제 1 클럭 초기화 신호에 의해, 상기 제 1 클럭을 주 클럭으로 복원하고, 상기 제 2 클럭을 예비신호로 설정하는 단계를 포함한다.A redundant clock selection method for selecting a redundant clock provided in a wireless communication system, the method comprising: (a) setting a first clock, which is a dual inputted main clock, and a second clock, which is a preliminary clock; Providing to a communication system; (b) determining whether there is an abnormality between upper and lower levels of the first and second clocks based on a reference clock, and when an abnormality of the first clock is detected and the second clock is normal according to the determination, Switching a second clock to a main clock and waiting for a first clock initialization signal from the wireless communication system; And (c) restoring the first clock to a main clock and setting the second clock to a preliminary signal by a first clock initialization signal received from the wireless communication system.

아래에서는 첨부한 도면을 참고로 하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 본 발명의 실시 예를 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시 예에 한정되지 않는다. 첨부된 도면은 본 발명을 명확하게 설명하기 위해 본 발명의 설명과 관계없는 부분은 생략하였으며, 동일 또는 유사한 부분에 대해서는 동일한 도면 부호를 붙였다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention. As those skilled in the art would realize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. In the accompanying drawings, parts irrelevant to the description of the present invention are omitted in order to clearly describe the present invention, and the same or similar parts are denoted by the same reference numerals.

일반적인 무선 통신 시스템의 제어국의 클럭 이중화는 다음과 같이 구성된다.The clock duplication of the control station of the general wireless communication system is configured as follows.

도 1은 본 발명의 실시 예에 따른 무선 통신 시스템의 제어국의 클럭 이중화의 구성도를 나타낸 블록도이다.1 is a block diagram illustrating a configuration of clock duplication of a control station of a wireless communication system according to an exemplary embodiment of the present invention.

도 1을 참조하면, 일반적인 ATM(Asynchronous Transfer Mode) 기반의 무선 통신 시스템의 제어국의 이중화 클럭 보드(100)는 RAS-T(Remote Access Server-Terminal)(110), ASU(ATM Switch Unit)(120), RAS-N(Remote Access Server-Network)(130), RAS-B(RAS-Node B)(140), RAS-CN(RAS-Core Network)(150) 및 CGS(Clock Generation System)(160)를 포함한다.Referring to FIG. 1, a redundant clock board 100 of a control station of a general ATM (Asynchronous Transfer Mode) based wireless communication system includes a remote access server-terminal (RAS-T) 110 and an ATM switch unit (ASU) ( 120), RAS-N (Remote Access Server-Network) 130, RAS-Node B (RAS-B) 140, RAS-CN (RAS-Core Network) 150, and Clock Generation System (CGS) ( 160).

그리고 제어국은 RTS(Run Time System)(170)와, CN(Core Network)(180)과의 인터페이스를 통해 셀을 주고받도록 한다.The control station transmits and receives a cell through an interface between a run time system (RTS) 170 and a core network (CN) 180.

이때, RAS-T(110)는 다수의 THU(Traffic Handing Unit)(111)와, 제 1 AIU(ATM switch Interface Unit)(112)를 포함하고, RAS-N(130)은 제 2 AIU(121), ASP(ATM Switch Processor)(132) 및 ACP(ATM switch Control Processor Unit)(133)를 포함한다.In this case, the RAS-T 110 includes a plurality of traffic handing units (THUs) 111 and a first ATM switch interface unit (AIU) 112, and the RAS-N 130 includes a second AIU 121. ), An ATM switch processor (ASP) 132, and an ATM switch control processor unit (ACP) 133.

또한 RAS-B(140)는 LIU-B(Line Interface Unit-Node B)(141) 및 제 3 AIU(142)를 포함하고, RAS-CN(150)은 제 4 AIU(151) 및 LIU-N(Line Interface Unite- Core Network)(152)을 포함한다.The RAS-B 140 also includes a Line Interface Unit-Node B (LIU-B) 141 and a third AIU 142, and the RAS-CN 150 includes a fourth AIU 151 and a LIU-N. (Line Interface Unite-Core Network) 152.

그리고, CGS(160)는 CDU-A(Clock Data Unit - Node A)(161), CDU-B(Node B)(162), CGU-A(Clock Generation Unit - Node A)(163) 및 CGU-B(Node B)(164)를 포함한다.The CGS 160 includes a CDU-A (Clock Data Unit-Node A) 161, a CDU-B (Node B) 162, a CGU-A (Clock Generation Unit-Node A) 163, and a CGU- Node B (164).

RAS-T(110)의 THU(111)는 트래픽 ATM의 셀을 조정하고, 제 1 AIU(112)와, 제 2 AIU(131)와, 제 3 AIU(142) 및 제 4 AIU(151)는 각각의 보드와 ATM 스위치간의 인터페이스 역할을 담당한다.The THU 111 of the RAS-T 110 coordinates the cells of the traffic ATM, and the first AIU 112, the second AIU 131, the third AIU 142 and the fourth AIU 151 It serves as the interface between each board and the ATM switch.

그리고, ASP(132) 및 ACP(133)은 제어국의 이중화 클럭 보드(100) 전체의 제 어를 위한 부분이며, LIU-B(141) 및 LIU-N(152)은 각각 RTS(170)와 CN(180)과의 라인 인터페이스 역할을 수행한다.In addition, the ASP 132 and the ACP 133 are parts for controlling the entire redundant clock board 100 of the control station, and the LIU-B 141 and the LIU-N 152 are respectively the RTS 170 and the RTS 170. Serves as a line interface with the CN 180.

그리고, CGU-A(163) 및 CGU-B(164)는 각 보드의 동기 클럭을 제공하기 위한 클럭을 발생시키며, CGU-A(163)는 CN(180)으로부터 공급되는 클럭을 이용하여 주 클럭으로서 클럭 제공을 하고, CGU-B(164)는 CGU-1(163)의 보조클럭으로 주클럭의 이상이 있는 경우 절체되어 클럭 공급을 수행한다.The CGU-A 163 and the CGU-B 164 generate a clock for providing a synchronous clock of each board, and the CGU-A 163 uses a clock supplied from the CN 180 as a main clock. The CGU-B 164 switches to the sub-clock of the CGU-1 163 and performs a clock supply when there is an error in the main clock.

CGU-A(163) 및 CGU-B(164)에서 발생시키는 클럭은 각각 CDU-A(161) 및 CDU-B(162)에 의해 각 보드로 제공된다.The clocks generated by CGU-A 163 and CGU-B 164 are provided to each board by CDU-A 161 and CDU-B 162, respectively.

상기한 구조를 가지는 무선 통신 시스템에서 제어국과 기지국은 모두 상위의 망으로부터 클럭을 복원 사용하는 수신종속방식으로 동작하며, 제어국은 핵심망(CN)에서 입력되는 클럭을 이용하여 제어국 내의 각 보드에 공급하고, 제어국 내의 각 기능 보드들의 클럭 공급은 CGU(163, 164)에서 받게 된다.In the wireless communication system having the above structure, both the control station and the base station operate in a reception-dependent method of restoring a clock from an upper network. And the clock supply of each functional board in the control station is received by the CGUs 163 and 164.

이때 각 보드에 공급되는 클럭은 이중화되어 CGU-A(163) 및 CGU-B(164)로 구성되며, 주클럭인 CGU-A(163)와, 보조클럭 CGU-B(164)로 설정된다.At this time, the clock supplied to each board is duplexed and composed of the CGU-A 163 and the CGU-B 164, and the CGU-A 163 as the main clock and the sub-clock CGU-B 164 are set.

그리고 주클럭의 상태가 나빠지면, 보조클럭으로 빠르게 절체하여 안정적인 보드 동작을 유지할 필요가 있게 되며, 주 클럭의 상태 호전시 다시 보조 클럭에서 주 클럭으로 상태 변환을 하여 보조 클럭이 준비될 수 있어야 한다.If the state of the main clock goes bad, it is necessary to quickly switch to the sub-clock to maintain stable board operation. When the state of the main clock improves, the sub-clock should be prepared by converting the state from the sub-clock to the main clock again.

상기한 구조를 가지는 클럭의 이중화 장치가 적용되는 제어국의 라인인터페이스 보드(LIU-B 또는 LIU-N)는 다음과 같다.The line interface board LIU-B or LIU-N of the control station to which the clock duplexing device having the above structure is applied is as follows.

도 2는 무선 통신 시스템의 클럭 이중화 장치를 가지는 제어국 내의 라인인 터페이스 카드의 구조를 나타낸 블록도이다.Fig. 2 is a block diagram showing the structure of an interface card which is a line in a control station having a clock duplication apparatus of a wireless communication system.

도 2를 참조하면, 라인 인터페이스 카드(200)는 기능 블록(210), CPU(220), FPGA(Field-Programmable Gate Array)(230), 및 OSC(oscillator)(240)를 포함한다.Referring to FIG. 2, the line interface card 200 includes a function block 210, a CPU 220, a field-programmable gate array (FPGA) 230, and an oscillator (OSC) 240.

기능 블록(210)은 라인 인터페이스 카드(200) 고유의 기능인 외부 인터페이스 기능을 수행하는 블록이고, FPGA(230)는 이중화된 클럭을 선택하기 위한 장치로 프로그램이 가능한 장치를 이용함으로, 이중화 클럭 선택의 수준을 프로그램으로 간단히 변경이 가능하도록 한다.The function block 210 is a block for performing an external interface function, which is a function unique to the line interface card 200, and the FPGA 230 uses a programmable device as a device for selecting a redundant clock. The level can be easily changed by program.

그리고 OSC(240)는 라인 인터페이스 카드(200) 자체에서 제공하는 클럭을 위한 발진기이며, CPU(220)는 라인 인터페이스 카드(200) 전체를 관리 및 제어한다.The OSC 240 is an oscillator for a clock provided by the line interface card 200 itself, and the CPU 220 manages and controls the entire line interface card 200.

도 2와 같이 구성되는 본 발명의 실시 예에 따른 라인 인터페이스 카드의 FPGA(230)는 외부로부터 입력되는 두개의 클럭(클럭 A 및 클럭 B)과 OSC(240)에서 생성하는 클럭을 입력으로 받고, CPU(220)와 인터페이스 하면서 이중화 클럭에 이상이 발생되는 상황에 대한 제어를 받는 형태로 구성된다.The FPGA 230 of the line interface card according to the embodiment of the present invention configured as shown in FIG. 2 receives two clocks (clock A and clock B) input from the outside and a clock generated by the OSC 240 as an input. While interfacing with the CPU 220 is configured to receive a control on the situation that the abnormality occurs in the redundant clock.

상기 FPGA(230)에 대하여 좀더 자세히 설명하면 다음과 같다.The FPGA 230 will be described in more detail as follows.

도 3은 본 발명의 실시 예에 따른 무선 통신 시스템의 이중화 클럭 선택 장치의 구조를 나타낸 블록도이다.3 is a block diagram illustrating a structure of a redundant clock selection device of a wireless communication system according to an exemplary embodiment of the present invention.

도 3을 참조하면, 이중화 클럭 선택장치(300)는 클럭 모니터부 A(310), 클럭 모니터부 B(320) 및 클럭 제어부(330)를 포함한다.Referring to FIG. 3, the redundant clock selecting apparatus 300 includes a clock monitor unit A 310, a clock monitor unit B 320, and a clock controller 330.

클럭 모니터부 A(310)는 외부에서 입력되는 클럭 A와 보드에서 입력되는 기준 클럭을 비교하여 클럭 A의 정상 여부를 판별하며, 클럭 모니터부 B(320)는 클럭 모니터부 A(310)와 같은 구성을 가지며 클럭 B의 정상 여부를 판별한다. The clock monitor A 310 compares the clock A input from the outside with the reference clock input from the board to determine whether the clock A is normal, and the clock monitor B 320 is the same as the clock monitor A 310. It is configured and determines whether clock B is normal.

그리고, 클럭 제어부(330)는 클럭 모니터 A(310) 및 클럭 모니터 B(3020)에서 입력되는 클럭 상태 신호에 따라 클럭 A 및 클럭 B 중 하나를 주클럭으로 선택하거나 예비 클럭을 주클럭으로 절체하는 기능을 담당한다.The clock controller 330 selects one of the clock A and the clock B as the main clock or transfers the preliminary clock to the main clock according to the clock state signals input from the clock monitor A 310 and the clock monitor B 3020. In charge of the function.

상기의 클럭 모니터부 A(310)와 클럭 모니터부 B(320)는 앞서 언급한 바와 같이 동일한 구조를 가지며, 자세한 구조는 다음과 같다.The clock monitor unit A 310 and the clock monitor unit B 320 have the same structure as described above, and the detailed structure is as follows.

도 4는 본 발명의 실시 예에 따른 도 3의 클럭 모니터부의 구조를 나타낸 블록도이다.4 is a block diagram illustrating a structure of a clock monitor unit of FIG. 3 according to an exemplary embodiment of the present invention.

도 4를 참조하면, 클럭 모니터부(400)는 클럭의 이상 유무를 판단하는 이상유무 판단부에 해당하는 인버터(410), 제 1 카운터(420), 제 2 카운터(430), 제 1 비교기(440), 제 2 비교기(450), OR 게이트(460)와, 이상 유무에 따른 인터럽트 신호 출력을 위한 DFF(D-Flip Flop)(470)를 포함한다.Referring to FIG. 4, the clock monitor 400 may include an inverter 410, a first counter 420, a second counter 430, and a first comparator corresponding to an abnormality determining unit for determining an abnormality of a clock. 440, a second comparator 450, an OR gate 460, and a D-flip flip (DFF) 470 for outputting an interrupt signal according to whether there is an error.

인버터(410)는 비교하고자 하는 비교 클럭(클럭 A 또는 클럭 B)을 반대로 출력하여 제 1 카운터(420)로 입력시키며, 비교 클럭은 제 2 카운터(430)로 그대로 입력된다. 즉, 제 1 카운터(420)와 제 2 카운터(430)는 각각 반대되는 기준 클럭을 입력받는다.The inverter 410 reversely outputs a comparison clock (clock A or clock B) to be compared to the first counter 420, and the comparison clock is input to the second counter 430 as it is. That is, the first counter 420 and the second counter 430 respectively receive opposite reference clocks.

제 1 카운터(420) 및 제 2 카운터(430)는 기준클럭에 의해 동작하며, 기준 클럭에 의해 동작하며 입력되는 비교클럭의 상위 레벨을 유지할 때만 카운터가 동작하고, 초기화 신호에 따라 초기화된다.The first counter 420 and the second counter 430 operate by the reference clock, operate by the reference clock, and operate only when the counter maintains the upper level of the input comparison clock and is initialized according to the initialization signal.

또한, 제 1 카운터(420)는 비교클럭이 상위 레벨(=1)일 때, 제 2 카운터(430)는 비교클럭이 하위 레벨(=0)일 때 초기화 될 수 있다.In addition, the first counter 420 may be initialized when the comparison clock is at the upper level (= 1), and the second counter 430 may be initialized when the comparison clock is at the lower level (= 0).

제 1 비교기(440)는 제 1 카운터(420)가 출력하는 카운터 값과, 기준 카운터 값을 비교하며, 제 2 비교기(460)는 제 2 카운터(430)가 출력하는 카운터 값과 기준 카운터 값을 비교한다.The first comparator 440 compares the counter value output from the first counter 420 with the reference counter value, and the second comparator 460 compares the counter value output from the second counter 430 and the reference counter value. Compare.

그리고, OR 게이트(460)가 제 1 비교기(440)와 제 2 비교기(460)의 출력값에 대한 OR 값을 취하도록 하며, 이를 DFF(470)에 입력하도록 한다.The OR gate 460 takes an OR value with respect to the output values of the first comparator 440 and the second comparator 460, and inputs the same to the DFF 470.

DFF(470)는 입력되는 신호에 따라 클럭 이상을 알리는 인터럽트 신호를 출력하는 인터럽트 신호 출력부이다.The DFF 470 is an interrupt signal output unit that outputs an interrupt signal for notifying a clock error according to an input signal.

상기한 구조를 가지는 클럭 모니터부에 대해 좀더 자세히 설명하면 다음과 같다.The clock monitor having the above structure will be described in more detail as follows.

제 1 비교기(440)는 기준카운터 값과 제 1 카운터(420)의 출력값을 비교하여 만약 제 1 카운터 값이 기준카운터 값 보다 크면 '1'을 출력하도록 한다.The first comparator 440 compares the reference counter value with the output value of the first counter 420 to output '1' if the first counter value is greater than the reference counter value.

즉, 기준 클럭이 1Mhz 이고 비교 클럭이 보다 낮은 10 Khz 라면, 비교클럭의 한 주기 동안 기준 클럭은 10번 진동을 하게 되는 것이고, 기준 카운터는 10이하로 정의할 수 있고, 상기와 같은 조건일 때 입력되는 비교클럭의 상위 레벨에서 오류가 나면 상위 레벨이 길어져서 기준 카운터 값보다 많은 값이 제 1 카운터(420)에서 생성되므로 제 1 비교기(440)의 출력값이 '1'이 된다.That is, if the reference clock is 1Mhz and the comparison clock is lower than 10 Khz, the reference clock oscillates 10 times during one period of the comparison clock, and the reference counter can be defined as 10 or less. If an error occurs at an upper level of the input comparison clock, the upper level is increased so that a value greater than the reference counter value is generated in the first counter 420, so that the output value of the first comparator 440 becomes '1'.

또한, 비교클럭의 하위레벨에서 에러가 발생하는 경우는 제 2 카운터(430) 및 제 2 비교기(460)에 의해 출력값이 '1'로 나ㅗ게 된다.In addition, when an error occurs at a lower level of the comparison clock, the output value is divided by '1' by the second counter 430 and the second comparator 460.

따라서, 제 1 비교기(440)와 제 2 비교기(460)의 값을 OR 연산하는 OR 게이 트(450)에 의해 비교 클럭의 상위 또는 하위 레벨에서의 에러를 모두 나타내어 DFF(470)을 통해 이상을 알리는 인터럽트 신호를 출력할 수 있다.Therefore, the OR gate 450 ORing the values of the first comparator 440 and the second comparator 460 indicate all errors at the upper or lower level of the comparison clock, thereby causing an abnormality through the DFF 470. The alert may output an interrupt signal.

도 5는 본 발명의 실시 예에 따른 도 4의 클럭 모니터부의 파형도를 나타내고, 도 6은 본 발명의 실시 예에 따른 무선 통신 시스템의 이중화 클럭 선택 장치 동작의 파형도를 나타낸다.5 is a waveform diagram of a clock monitor of FIG. 4 according to an embodiment of the present invention, and FIG. 6 is a waveform diagram of an operation of a redundant clock selection device of a wireless communication system according to an embodiment of the present invention.

도 5를 참조하면, 파형도의 '가' 부분에서 입력 클럭의 상위 부분이 없어져서 생기는 에러인 경우는 제 1 카운터(420)가 생성하는 값이 설정한 기준카운터 값보다 커지는 것을 알 수 있으며, 임계값을 넣었을 경우 출력 인터럽트가 발생된다.Referring to FIG. 5, when the error occurs due to the disappearance of the upper portion of the input clock in the 'ga' portion of the waveform diagram, it can be seen that the value generated by the first counter 420 becomes larger than the set reference counter value. If you enter a value, an output interrupt occurs.

그리고, 오류 상태에서 초기화 신호가 입력되면 모든 상태가 초기화된다.When the initialization signal is input in the error state, all the states are initialized.

상기 오류에 의해 인터럽트 신호는 도 3의 클럭 제어부330)가 관찰하여 입력되는 클럭 중 주 클럭을 정하고 다른 하나를 예비 클럭으로 선정하여 주 클럭만을 출력하도록 한다.In response to the error, the clock control unit 330 of FIG. 3 observes the main clock of the input clock and selects the other one as a preliminary clock to output only the main clock.

즉, 원래 클럭 A와 클럭 B의 이중화된 클럭에서 주 클럭이 클럭 A이고, 예비 클럭이 클럭 B 인 경우, 정상적인 상태에서 클럭 제어부(330)는 클럭 A를 출력한다.That is, when the main clock is the clock A and the preliminary clock is the clock B in the dual clocks of the original clock A and the clock B, the clock controller 330 outputs the clock A in a normal state.

그러나, 클럭 모니터 A(310)가 인터럽트 신호를 출력하면, 클럭 제어부(330)는 주클럭과 예비 클럭을 절체하여 클럭 B를 주클럭으로 하고 클럭 A를 예비 클럭으로 하여 클럭 B를 출력하며, CPU(220)로부터 초기화 신호를 기다린다.However, when the clock monitor A 310 outputs an interrupt signal, the clock controller 330 alternates the main clock and the preliminary clock to output the clock B with the clock B as the main clock and the clock A as the preliminary clock, and the CPU Wait for an initialization signal from 220.

그리고 CPU(220)로부터 초기화 신호가 있으면, 다시 클럭 A를 주클럭으로 하고 클럭 B를 예비 클럭으로 설정하여 클럭 A를 출력하도록 한다.When the initialization signal is received from the CPU 220, the clock A is set as the main clock and the clock B is set as the preliminary clock to output the clock A.

도 6을 참조하면, 초기 주 클럭이 클럭 A가 되고, 예비 클럭이 클럭 B가 된 상태에서, 주 클럭의 오류가 보고 되면 클럭 B를 주클럭으로 대체하여 시스템에 입력되는 클럭 오류가 없도록 하고, CPU에 의해 클럭 A가 초기화 되면 다시 클럭 A를 주클럭으로 활성화한다.Referring to FIG. 6, when an initial main clock becomes a clock A and a preliminary clock becomes a clock B, when an error of the main clock is reported, the clock B is replaced with the main clock so that there is no clock error input to the system. When clock A is initialized by the CPU, clock A is activated again as the main clock.

또한, 클럭 A 및 클럭 B가 동시에 오류가 발생하는 경우는 CPU의 초기화에 의해 각각의 클럭을 초기화 할 수 있다.In addition, when the clock A and the clock B fail simultaneously, each clock can be initialized by initialization of a CPU.

이상에서 본 발명의 바람직한 실시 예에 대하여 상세하게 설명하였지만, 본 발명은 이에 한정되는 것은 아니며, 그 외에 다양한 변경이나 변형이 가능하다.Although a preferred embodiment of the present invention has been described in detail above, the present invention is not limited thereto, and various other changes and modifications are possible.

이상에서 설명한 바와 같이, 본 발명에 따른 무선 통신 시스템의 이중화 클럭 선택 장치 및 방법은 무선 통신 시스템의 이중화된 클럭을 간단한 하드웨어의 구성으로 주 클럭의 이상으로 인한 예비클럭으로의 절체가 가능하며, 절체 수준을 프로그램으로 조정 가능하여 이중화 클럭의 구현 및 운용의 유연성을 가지고, 이중화 클럭의 입력에 대한 빠른 절체로 안정적인 보드 동작을 유지 시킬 수 있으며, 주 클럭의 상태가 호전되면 다시 보조 클럭과 절체하도록 하고, 이중화된 두개의 클럭에 모두 이상이 있을 경우, 에러 상황에 대한 조치를 적절히 취할 수 있도록 하는 효과가 있다.As described above, in the redundant clock selection apparatus and method of the wireless communication system according to the present invention, the redundant clock of the wireless communication system can be switched to a preliminary clock due to an abnormality of the main clock with a simple hardware configuration. Programmable levels provide flexibility in the implementation and operation of redundant clocks, enabling fast board switching for redundant clock inputs to maintain stable board operation. In case there is an error in both of the redundant clocks, there is an effect to properly take action on the error situation.

Claims (8)

무선 통신 시스템에 제공되는 이중화된 클럭을 선택하는 이중화 클럭 선택 장치에 있어서,A redundant clock selection device for selecting a redundant clock provided to a wireless communication system, 제 1 클럭의 상위 레벨 및 하위레벨의 이상 유무를 기준클럭을 기초로 판단하고, 상기 판단에 따른 결과를 인터럽트 신호로 출력하는 제 1 클럭 모니터부;A first clock monitor configured to determine whether an upper level and a lower level of the first clock are abnormal based on a reference clock, and output a result of the determination as an interrupt signal; 제 2 클럭의 상위 레벨 및 하위레벨의 이상 유무를 기준클럭을 기초로 판단하고, 상기 판단에 따른 결과를 인터럽트 신호로 출력하는 제 2 클럭 모니터부; 및A second clock monitor unit which determines whether an upper level and a lower level of the second clock are abnormal based on a reference clock, and outputs a result of the determination as an interrupt signal; And 상기 제 1 클럭 및 제 2 클럭을 주클럭과 예비클럭으로 정의하여 상기 무선 통신 시스템에 주클럭을 제공하도록 하고, 상기 제 1 클럭 모니터부 또는 제 2 클럭 모니터부가 출력하는 인터럽트 신호에 의해 주 클럭과 예비클럭을 절체하고, 이상이 발생한 클럭에 초기화를 수행하며, 상기 주클럭과 예비클럭 모두 이상이 발생한 경우 특정 인터럽트를 발생하는 클럭 제어부The first clock and the second clock are defined as a main clock and a preliminary clock to provide a main clock to the wireless communication system, and the main clock and the second clock are interrupted by an interrupt signal output by the first clock monitor or the second clock monitor. A clock control unit which transfers a spare clock, initializes a clock in which an error occurs, and generates a specific interrupt when both the main clock and the spare clock occur. 를 포함하는 무선 통신 시스템의 이중화 클럭 선택 장치.Redundant clock selection device of a wireless communication system comprising a. 제 1항에 있어서,The method of claim 1, 상기 제 1 클럭 모니터부는,The first clock monitor unit, 입력되는 제 1 클럭의 상위 레벨을 상기 무선 통신 시스템이 제공하는 기준 클럭에 의해 카운트하여 그 결과를 출력하는 제 1 카운터;A first counter for counting a higher level of the first clock input by a reference clock provided by the wireless communication system and outputting a result; 상기 제 1 카운터의 출력값과 상기 제 1 클럭이 정상적인 경우의 기준 카운터 값을 비교하여 그 결과를 출력하는 제 1 비교기;A first comparator for comparing an output value of the first counter with a reference counter value when the first clock is normal and outputting a result; 상기 입력되는 제 1 클럭의 하위 레벨을 상기 무선 통신 시스템이 제공하는 기준 클럭에 의해 카운트하여 그 결과를 출력하는 제 2 카운터;A second counter for counting a lower level of the input first clock by a reference clock provided by the wireless communication system and outputting a result; 상기 제 2 카운터의 출력값과 상기 제 1 클럭이 정상적인 경우의 기준 카운터 값을 비교하여 그 결과를 출력하는 제 2 비교기;A second comparator comparing the output value of the second counter with a reference counter value when the first clock is normal and outputting a result; 상기 제 1 비교기 와 제 2 비교기의 출력값을 오아(OR)연산하여 그 결과를 출력하는 OR 게이트; 및An OR gate that ORs the output values of the first comparator and the second comparator and outputs the result; And 상기 이상유무 판단부의 결과를 입력받아 인터럽트 신호로 출력하는 인터럽트 신호 출력부An interrupt signal output unit which receives the result of the abnormality determination unit and outputs the interrupt signal as an interrupt signal. 를 포함하는 무선 통신 시스템의 이중화 클럭 선택 장치.Redundant clock selection device of a wireless communication system comprising a. 삭제delete 제 1항에 있어서,The method of claim 1, 상기 제 2 클럭 모니터부는,The second clock monitor unit, 입력되는 제 2 클럭의 상위 레벨을 상기 무선 통신 시스템이 제공하는 기준 클럭에 의해 카운트하여 그 결과를 출력하는 제 1 카운터;A first counter for counting a higher level of an input second clock by a reference clock provided by the wireless communication system and outputting a result; 상기 제 1 카운터의 출력값과 상기 제 2 클럭이 정상적인 경우의 기준 카운터 값을 비교하여 그 결과를 출력하는 제 1 비교기;A first comparator for comparing an output value of the first counter with a reference counter value when the second clock is normal and outputting a result; 상기 입력되는 제 2 클럭의 하위 레벨을 상기 무선 통신 시스템이 제공하는 기준 클럭에 의해 카운트하여 그 결과를 출력하는 제 2 카운터;A second counter for counting a lower level of the input second clock by a reference clock provided by the wireless communication system and outputting a result; 상기 제 2 카운터의 출력값과 상기 제 2 클럭이 정상적인 경우의 기준 카운터 값을 비교하여 그 결과를 출력하는 제 2 비교기;A second comparator for comparing the output value of the second counter with a reference counter value when the second clock is normal and outputting a result; 상기 제 1 비교기 와 제 2 비교기의 출력값을 오아(OR)연산하여 그 결과를 출력하는 OR 게이트; 및An OR gate that ORs the output values of the first comparator and the second comparator and outputs the result; And 상기 이상유무 판단부의 결과를 입력받아 인터럽트 신호로 출력하는 인터럽트 신호 출력부An interrupt signal output unit which receives the result of the abnormality determination unit and outputs the interrupt signal as an interrupt signal. 를 포함하는 무선 통신 시스템의 이중화 클럭 선택 장치.Redundant clock selection device of a wireless communication system comprising a. 삭제delete 제 1항에 있어서,The method of claim 1, 상기 제 1 클럭 모니터부 및 제 2 클럭 모니터부는 상기 무선 통신 시스템의 초기화신호에 의해 초기화되는 것을 특징으로 하는 무선 통신 시스템의 이중화 클럭 선택 장치.And the first clock monitor unit and the second clock monitor unit are initialized by an initialization signal of the wireless communication system. 무선 통신 시스템에 제공되는 이중화된 클럭을 선택하는 이중화 클럭 선택 방법에 있어서,A redundant clock selection method for selecting a redundant clock provided to a wireless communication system, (a) 이중으로 입력되는 주 클럭인 제 1 클럭과, 예비 클럭인 제 2 클럭을 설정하고, 제 1 클럭을 상기 무선통신 시스템에 제공하는 단계;(a) setting a first clock which is a dual input main clock and a second clock which is a preliminary clock, and providing a first clock to the wireless communication system; (b) 상기 제 1 클럭 및 제 2 클럭의 상위 레벨 및 하위레벨의 이상 유무를 기준클럭을 기초로 판단하고, 상기 판단에 따라 상기 제 1 클럭의 이상이 감지되고 제 2 클럭이 정상적인 경우, 상기 제 2 클럭을 주 클럭으로 절체하고, 상기 무선 통신 시스템으로부터 제 1 클럭 초기화 신호를 기다리는 단계; 및(b) determining whether there is an abnormality between upper and lower levels of the first and second clocks based on a reference clock, and when an abnormality of the first clock is detected and the second clock is normal according to the determination, Switching a second clock to a main clock and waiting for a first clock initialization signal from the wireless communication system; And (c) 상기 무선 통신 시스템으로부터 수신되는 제 1 클럭 초기화 신호에 의해, 상기 제 1 클럭을 주 클럭으로 복원하고, 상기 제 2 클럭을 예비신호로 설정하는 단계(c) restoring the first clock to a main clock and setting the second clock to a preliminary signal by a first clock initialization signal received from the wireless communication system; 를 포함하는 무선 통신 시스템의 이중화 클럭 선택 방법.Redundant clock selection method of a wireless communication system comprising a. 제 7항에 있어서,The method of claim 7, wherein 상기 (b) 단계에서,In step (b), 상기 제 1 클럭 및 제 2 클럭 모두의 이상이 감지된 경우, 상기 무선 통신 시스템으로부터 초기화 신호를 기다려 제 1 클럭 및 제 2 클럭을 초기화하는 단계를 더 포함하는 무선 통신 시스템의 이중화 클럭 선택방법.And if an abnormality of both the first clock and the second clock is detected, waiting for an initialization signal from the wireless communication system to initialize the first clock and the second clock.
KR1020030062191A 2003-09-05 2003-09-05 Apparatus and method of dual-clock selecting for wireless communication system KR100612653B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030062191A KR100612653B1 (en) 2003-09-05 2003-09-05 Apparatus and method of dual-clock selecting for wireless communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030062191A KR100612653B1 (en) 2003-09-05 2003-09-05 Apparatus and method of dual-clock selecting for wireless communication system

Publications (2)

Publication Number Publication Date
KR20050024939A KR20050024939A (en) 2005-03-11
KR100612653B1 true KR100612653B1 (en) 2006-08-16

Family

ID=37231998

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030062191A KR100612653B1 (en) 2003-09-05 2003-09-05 Apparatus and method of dual-clock selecting for wireless communication system

Country Status (1)

Country Link
KR (1) KR100612653B1 (en)

Also Published As

Publication number Publication date
KR20050024939A (en) 2005-03-11

Similar Documents

Publication Publication Date Title
US7467320B2 (en) Fault-tolerant clock generator
KR100612653B1 (en) Apparatus and method of dual-clock selecting for wireless communication system
JPH11308102A (en) Phase locked loop
US6226699B1 (en) Method and apparatus for clock selection and switching
US7411906B2 (en) Method for optimizing frequency of clock signal and network switch using same
CN100461065C (en) Frequency regulation method and device for clock/data restoring circuit
JP2602421B2 (en) Clock reception distribution system
EP1515217A2 (en) Data transfer system and readjustment control method for use with the system
US6708287B1 (en) Active/standby dual apparatus and highway interface circuit for interfacing clock from highway
JP3631606B2 (en) Clock switching circuit for communication equipment
JP2978884B1 (en) Clock confounding distribution device
KR100364780B1 (en) Normal circuit selecting device in communication system
KR0152229B1 (en) Low price duplication node
US7579863B2 (en) Circuit and method for reducing pin count of chip
KR100233903B1 (en) Method for decision of active/standby for duplex and circuit thereof
JP3229993B2 (en) Frame pulse switching circuit
KR100397497B1 (en) DS1/DS1E signal connection apparatus and circuit exchange method
KR100660058B1 (en) This circuit is capable of selection an activated bus of double bus in switching system
JPH03228455A (en) Automatic switching system for reference clock source
KR19990009341A (en) How to prevent occasional transfer of communication module with redundant module and redundant structure
KR20030003944A (en) Apparatus for stabilizing clock signals in dual clock units
JPH09186709A (en) Duplicate clock selection system
JP2002044058A (en) Transmitter having redundant configuration
JPH06252999A (en) Semiconductor integrated circuit for telephone
JPH04331521A (en) Digital communication processor

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
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: 20120719

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20130719

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20150717

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20160719

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20170719

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20180716

Year of fee payment: 13

FPAY Annual fee payment

Payment date: 20190717

Year of fee payment: 14