KR101192902B1 - Method and apparatus for detecting a clock signal in mobile communication system - Google Patents

Method and apparatus for detecting a clock signal in mobile communication system Download PDF

Info

Publication number
KR101192902B1
KR101192902B1 KR1020050085806A KR20050085806A KR101192902B1 KR 101192902 B1 KR101192902 B1 KR 101192902B1 KR 1020050085806 A KR1020050085806 A KR 1020050085806A KR 20050085806 A KR20050085806 A KR 20050085806A KR 101192902 B1 KR101192902 B1 KR 101192902B1
Authority
KR
South Korea
Prior art keywords
signal
clock signal
clock
output
glitch
Prior art date
Application number
KR1020050085806A
Other languages
Korean (ko)
Other versions
KR20070031111A (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 KR1020050085806A priority Critical patent/KR101192902B1/en
Publication of KR20070031111A publication Critical patent/KR20070031111A/en
Application granted granted Critical
Publication of KR101192902B1 publication Critical patent/KR101192902B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/125Discriminating pulses
    • H03K5/1252Suppression or limitation of noise or interference
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/13Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals
    • H03K5/135Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals by the use of time reference signals, e.g. clock signals
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K2005/00286Phase shifter, i.e. the delay between the output and input pulse is dependent on the frequency, and such that a phase difference is obtained independent of the frequency

Abstract

본 발명은 이동 통신 시스템에서 내부 블록에 사용되는 기준 클럭(Clock)의 이상유무를 확인하는 방법 및 장치에 관한 것이다.The present invention relates to a method and an apparatus for checking the presence or absence of a reference clock used for an internal block in a mobile communication system.

이를 위해 이동 단말에서 신호 검출부가 기능 블록에 공급하는 클럭 신호와 상기 클럭 신호보다 2배 빠른 신호를 기준 클럭 신호로 입력하여 클럭의 동작 여부를 나타내는 신호를 출력한다. 글리치 제거부가 상기 신호 검출부의 출력 신호 중 글리치(Glitch) 신호를 제거하여 출력한다.To this end, the mobile terminal inputs a clock signal supplied to the functional block and a signal twice as fast as the clock signal as a reference clock signal to output a signal indicating whether the clock is operating. The glitch remover removes and outputs a glitch signal among the output signals of the signal detector.

CDMA, UMTS, 클럭 신호, 기능 블록, 논리 연산자 CDMA, UMTS, Clock Signals, Function Blocks, Logical Operators

Description

이동 통신 시스템에서의 동기 검출 방법 및 장치{METHOD AND APPARATUS FOR DETECTING A CLOCK SIGNAL IN MOBILE COMMUNICATION SYSTEM}METHOD AND APPARATUS FOR DETECTING A CLOCK SIGNAL IN MOBILE COMMUNICATION SYSTEM}

도 1은 본 발명의 바람직한 실시 예에 따른 이동 단말의 모뎀에서 클럭 검출기를 나타낸 블록도1 is a block diagram illustrating a clock detector in a modem of a mobile terminal according to an exemplary embodiment of the present invention.

도 2는 도 1의 신호 검출부를 상세히 나타낸 도면2 is a view illustrating in detail the signal detector of FIG.

도 3은 도 1의 글리치 제거부를 상세히 나타낸 도면3 is a view illustrating in detail the glitch removing unit of FIG.

도 4a는 도 1의 신호 검출부와 글리치 제거부에서 정상적인 클럭 신호가 유입된 경우를 나타낸 타이밍도4A is a timing diagram illustrating a case where a normal clock signal is introduced into the signal detector and the glitch remover of FIG. 1.

도 4b는 도 4a의 S1 신호를 확대한 타이밍도이다.4B is an enlarged timing diagram of the S1 signal of FIG. 4A.

도 5는 도 1의 신호 검출부와 글리치 제거부에서 비정상적인 클럭 신호가 공급되는 경우를 나타낸 타이밍도 FIG. 5 is a timing diagram illustrating a case where an abnormal clock signal is supplied from the signal detector and the glitch remover of FIG. 1. FIG.

본 발명은 이동 통신 시스템에서의 동기 검출 방법 및 장치에 관한 것으로, 특히 이동 통신 시스템에서 내부 블록에 사용되는 기준 클럭(Clock)의 이상 유무를 확인하는 방법 및 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for detecting synchronization in a mobile communication system, and more particularly, to a method and apparatus for checking an abnormality of a reference clock used for an internal block in a mobile communication system.

일반적으로 클럭을 사용하는 통신 시스템에서 클럭을 사용하여 데이터를 처리하게 된다. 예를 들어, 코드분할 다중 접속(Code Division Multiple Access: CDMA) 시스템에서 모뎀(Modem)은 내부에 변/복조, 디코딩, 인터리빙 등 다수의 기능 블록(Block)들로 구성된다. 상기 모뎀은 상기 각 기능 블록으로 유입되는 클럭 신호(Clock signal)를 온/오프(on/off) 스위치 형태의 먹스(Mux)를 이용하여 각 기능 블록 별로 공급하게 된다. In general, a clock system uses a clock to process data. For example, in a code division multiple access (CDMA) system, a modem includes a plurality of functional blocks such as modulation / demodulation, decoding, and interleaving. The modem supplies a clock signal introduced to each functional block for each functional block by using a mux in the form of an on / off switch.

상세히 설명하면 이동 단말은 특성상 전류 소모를 최소화기 위해 동작 모드 이외에 휴면 모드 등으로 구분되어 각 기능 블록 등에 공급되는 클럭 신호를 제어하게 된다. 예를 들어 기지국으로부터 이동 단말이 슬립 모드(Sleep Mode)인 경우 RF 수신단 만 동작하므로 디코더 및 인터리버와 같은 기능 블록들에게는 클럭 신호를 공급하지 않게 된다.In detail, the mobile terminal is divided into the sleep mode and the like in addition to the operation mode in order to minimize current consumption in order to control the clock signal supplied to each functional block. For example, when the mobile station from the base station is in the sleep mode (sleep mode), only the RF receiver operates so that the clock signal is not supplied to the functional blocks such as the decoder and the interleaver.

이와 같이 상기 CDMA 모뎀은 필요 시 클럭 신호를 온/오프 하므로 미세한 클럭 신호의 온/오프 타이밍(Clock on/off timing) 차이를 극복하지 못하여 오작동(Malfunction)으로 인한 소프트웨어 제어(S/W control)되는 현상이 자주 발생하는 문제점이 있다.As such, since the CDMA modem turns on / off the clock signal when necessary, software control (S / W control) due to a malfunction occurs because the CDMA modem does not overcome the fine clock on / off timing difference. There is a problem that often occurs.

이러한 CDMA 모뎀에서 내부의 기능 블록들에 클럭 신호의 공급여부를 확인하기 위해서는 소프트웨어(Software)에서 레지스터(Register)에 소정의 특정한 값을 써서 on /off를 설정한 후 하드웨어(Hardware) 외부 핀으로 추출하여 오실로스코프와 같은 외부장비를 이용하여야 하는 문제점이 발생한다.To check whether the clock signal is supplied to the internal functional blocks in the CDMA modem, the software sets the on / off by writing a certain value to the register and extracts it to the hardware external pin. This causes a problem of using external equipment such as an oscilloscope.

따라서 본 발명의 목적은 이동 통신 시스템의 이동 단말에서 기능 블록 별로 공급하는 내부 클럭 신호를 검출하는 장치 및 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide an apparatus and method for detecting an internal clock signal supplied for each functional block in a mobile terminal of a mobile communication system.

본 발명의 다른 목적은 이동 통신 시스템의 이동 단말에서 내부 클럭 신호의 이상여부를 실시간으로 검사하여 오류 발생시 대처하는 방법 및 장치를 제공함에 있다.Another object of the present invention is to provide a method and apparatus for coping with an error in an internal clock signal in real time in a mobile terminal of a mobile communication system.

상술한 목적을 달성하기 위한 본 발명은 이동 통신 시스템에 이동 단말에서 기능 블록 별로 공급하는 내부 클럭 신호를 검출하는 장치에 있어서, 상기 기능 블록에 공급하는 클럭 신호와 상기 클럭 신호보다 2배 빠른 신호를 기준 클럭 신호로 입력하여 클럭의 동작 여부를 나타내는 신호를 출력하는 신호 검출부와, 상기 출력 신호 중 글리치(Glitch) 신호를 제거하는 글리치 제거부를 포함하여 구성됨을 특징으로 한다.According to an aspect of the present invention, there is provided an apparatus for detecting an internal clock signal supplied for each functional block from a mobile terminal to a mobile communication system, the clock signal being supplied to the functional block and a signal twice as fast as the clock signal. And a glitch removal unit for inputting a reference clock signal and outputting a signal indicating whether a clock is operating, and a glitch removal unit for removing a glitch signal among the output signals.

또한 상기 신호 검출부와 상기 글리치 제거부의 동작 여부를 알려주는 인에이블 신호를 입력하는 수단을 더포함하여 구성됨을 특징으로 하는 상기 장치.The apparatus may further include means for inputting an enable signal informing whether the signal detector and the glitch remover operate.

상기 신호 검출부는 상기 클럭 신호와 상기 기준 클럭 신호를 저장하는 적어도 두 개의 수단과, 상기 적어도 두 개의 수단 중 하나의 수단으로부터 출력되는 신호와 다른 하나의 수단으로부터 출력되는 신호에 대한 베타적 논리 연산을 수행하는 논리 연산자를 포함하여 구성됨을 특징으로 한다. The signal detection unit performs a beta logical operation on at least two means for storing the clock signal and the reference clock signal, a signal output from one of the at least two means, and a signal output from the other means. It is characterized by including the logical operator to perform.

상기 글리치 제거부는 상기 신호 검출부의 출력신호와 상기 기준 클럭 신호를 저장하는 적어도 두 개의 수단과, 상기 적어도 두 개의 수단 중 하나의 수단으로부터 출력되는 신호와 다른 하나의 수단으로부터 출력되는 신호에 대한 베타적 논리 연산을 수행하는 논리 소자를 포함하여 구성됨을 특징으로 한다.The glitch canceling unit is a beta for at least two means for storing the output signal and the reference clock signal of the signal detector, a signal output from one of the at least two means and a signal output from the other means. It is characterized by including a logic element for performing a logic operation.

상기 클럭 신호와 상기 기준 클럭 신호를 저장하는 적어도 두 개의 수단과 상기 신호 검출부의 출력신호와 상기 기준 클럭 신호를 저장하는 적어도 두 개의 수단은 플립플롭임을 특징으로 한다.At least two means for storing the clock signal and the reference clock signal, and at least two means for storing the output signal of the signal detector and the reference clock signal are flip-flops.

상기 클럭 신호는 9.8304 MHz임을 특징으로 한다.The clock signal is characterized in that 9.8304 MHz.

상술한 목적을 달성하기 위한 본 발명은 이동 통신 시스템에 이동 단말의 내부 블록에 공급하는 클럭 신호를 검출하는 방법에 있어서, 상기 기능 블록에 공급하는 클럭 신호와 상기 클럭 신호보다 2배 빠른 신호를 기준 클럭 신호로 입력하여 상기 클럭의 동작 여부를 나타내는 신호를 출력하는 제 1과정과, 상기 출력 신호 중 글리치(Glitch) 신호를 제거하여 출력하는 제 2과정을 포함하여 이루어짐을 특징으로 한다.According to an aspect of the present invention, there is provided a method of detecting a clock signal supplied to an internal block of a mobile terminal in a mobile communication system, wherein a clock signal supplied to the functional block and a signal twice as fast as the clock signal are referenced. And a second step of outputting a signal indicating whether the clock is operated by inputting a clock signal and a second step of removing and outputting a glitch signal among the output signals.

또한 상기 제 1과정과 상기 제 2과정에 따른 동작의 수행 여부를 알려주는 인에이블 신호를 입력하는 과정을 더 포함하여 이루어짐을 특징으로 한다.The method may further include inputting an enable signal informing whether the operation according to the first process and the second process is performed.

상기 제 1과정은 적어도 두 개의 저장 수단을 이용하여 상기 클럭 신호와 상기 기준 클럭 신호를 저장하는 과정과, 상기 적어도 두 개의 수단 중 하나의 수단으로부터 출력되는 신호와 다른 하나의 수단으로부터 출력되는 신호에 대한 베타적 논리 연산을 수행하는 과정을 포함하여 이루어짐을 특징으로 한다.The first process includes storing the clock signal and the reference clock signal using at least two storage means, a signal output from one of the at least two means, and a signal output from the other means. It includes a process of performing a beta logical operation for.

이하 본 발명의 바람직한 실시 예들의 상세한 설명이 첨부된 도면들을 참조하여 설명될 것이다. 도면들 중 동일한 구성들은 가능한 한 어느 곳에서든지 동일 한 부호들을 나타내고 있음을 유의하여야 한다. 하기 설명에서 구체적인 특정사항들이 나타나고 있는데, 이는 본 발명의 보다 전반적인 이해를 돕기 위해 제공된 것이다. 그리고 본 발명을 설명함에 있어, 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a detailed description of preferred embodiments of the present invention will be given with reference to the accompanying drawings. It should be noted that the same components in the drawings represent the same numerals wherever possible. Specific details are set forth in the following description, which is provided to aid a more general understanding of the invention. In the following description of the present invention, detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear.

본 발명은 이동 통신 시스템의 이동 단말에서 내부 기능 블록 별로 공급하는 클럭 신호를 실시간을 검사하는 장치 및 방법을 제공한다. 이를 위해 우선 본 발명의 바람직한 실시 예에 따른 이동 단말의 모뎀에 대해 설명한 후 타이밍도를 이용하여 그에 따른 클럭 검출 방법에 대해 설명하기로 한다. 본 발명에서 이동 통신 시스템은 CDMA, UMTS, 위성 통신을 나타낼 수 있으며, 이하 설명에서는 설명의 편의상 CDMA 위주로 설명할 것이다. 그러나 본 발명은 UMTS, 위성 통신 등에도 적용될 수 있음을 유의하여야 한다.The present invention provides an apparatus and method for checking in real time a clock signal supplied for each internal functional block in a mobile terminal of a mobile communication system. To this end, first, a modem of a mobile terminal according to an exemplary embodiment of the present invention will be described, and then a clock detection method according to the timing diagram will be described. In the present invention, the mobile communication system may represent CDMA, UMTS, and satellite communication, and the following description will focus on CDMA for convenience of description. However, it should be noted that the present invention can be applied to UMTS, satellite communication, and the like.

도 1은 본 발명의 바람직한 실시 예에 따른 이동 단말의 모뎀에서 클럭 검출기(100)를 나타낸 블록도이다. 도 1에서 F는 각 기능 블록에 공급하는 클럭 신호를 나타내고, 상기 2XF는 상기 F 신호보다 2배 빠른 클록 신호로 상기 F 클럭 신호를 검출하기 위한 기준 클럭 신호이다. 모니터 인에이블(Monitor Enable: ME)은 상기 F 클럭 신호의 검출 동작 여부에 대한 인에이블 신호이다.1 is a block diagram illustrating a clock detector 100 in a modem of a mobile terminal according to an exemplary embodiment of the present invention. In FIG. 1, F denotes a clock signal supplied to each functional block, and 2XF is a reference clock signal for detecting the F clock signal as a clock signal twice as fast as the F signal. The monitor enable (ME) is an enable signal for detecting the operation of the F clock signal.

도 1을 참조하면, 클럭 검출기는 신호 검출부(Signal Detect)(110)와 글리치 잡음 삭제부(Glitch Cancel)(120)로 구성된다. 상기 신호 검출부(110)는 F 신호, En, 2XF 신호를 입력으로 한다. 상기 신호 검출부(110)는 상기 F 신호의 클럭의 공급여부 및 이상 여부를 검출하기 위한 것으로 상기 2XF 신호를 기준 클럭으로 하여 검출하게 된다. 여기서 상기 F는 CDMA 시스템에서 사용되는 클럭 신호로 각각 ChipX8(9.8304 MHz)로 나타내고, 상기 2XF는 상기 ChipX16로 상기 ChipX8보다 2배 빠른 클럭 신호를 나타낸다. 상기 두 클럭 신호는 모뎀내의 각 기능 블록으로 유입되는 기준 클럭 신호로, 상기 두 클럭 신호는 소정의 위상 차 θ로 고정(Phase Locking)이 되어 있다.Referring to FIG. 1, a clock detector includes a signal detect unit 110 and a glitch cancel unit 120. The signal detection unit 110 receives an F signal, an En, a 2XF signal. The signal detector 110 detects whether the clock of the F signal is supplied or not, and detects the 2XF signal as a reference clock. Here, F denotes a clock signal used in a CDMA system, respectively, as ChipX8 (9.8304 MHz), and 2XF denotes a ChipX16 clock signal that is twice as fast as the ChipX8. The two clock signals are reference clock signals introduced into each functional block in the modem, and the two clock signals are locked by a predetermined phase difference θ.

상기 신호 검출부(110)는 인에이블 신호(En)에 의해 상기 F 신호를 클럭 검출 여부를 수행하게 되면, 상기 기준 클럭 2XF 신호를 이용하여 상기 F 신호의 클럭의 동작여부를 나타내는 S1 신호를 검출하게 된다. 여기서 상기 S1 신호는 상기 두 신호의 타이밍 지연시간과 상기 신호 검출부(110)내의 논리 소자들로 인한 전송 지연 시간(Propagation Delay)등의 글리치 신호가 발생하게 된다.When the signal detection unit 110 detects whether the F signal is clocked by the enable signal En, the signal detection unit 110 detects the S1 signal indicating whether the clock of the F signal is operated using the reference clock 2XF signal. do. Here, the S1 signal generates a glitch signal such as a timing delay time between the two signals and a propagation delay time due to the logic elements in the signal detector 110.

상기 글리치 제거부(120)는 입력 신호로 상기 신호 검출부(110)의 출력 신호 S1, 상기 인에이블 신호(En), 기준 클락 신호 2XF 신호를 가진다. 상기 글리치 제거부(120)는 상기 신호 검출부(110)의 출력 신호 S1에서 글리치 신호를 삭제하여 S2 신호를 출력하게 된다. 상기 글리치 신호를 삭제하는 이유는 상기 F 신호가 공급 및 정상 여부에 대해 오 판정을 할 수 있기 때문이다. 상기 S2 신호는 미리 결정된 레지스터에 정상 여부에 대한 결과를 기록하게 된다. 본 발명에서는 정상 동작인 경우 로우 레벨로 나타내고, 오동작인 경우 하이 레벨로 나타낼 것이다.The glitch remover 120 has an output signal S1 of the signal detector 110, the enable signal En, and a reference clock signal 2XF as an input signal. The glitch remover 120 deletes the glitch signal from the output signal S1 of the signal detector 110 to output the S2 signal. The reason for the deletion of the glitch signal is that a false determination can be made as to whether the F signal is supplied and normal. The S2 signal records the result of the normality in a predetermined register. In the present invention, the normal operation is represented by a low level, and in the case of a malfunction will be represented by a high level.

여기서 상기 신호 검출부(110)과 상기 글리치 제거부(120)에 입력되는 인에이블 신호(En)는 시스템에 따라 달리지는 선택적인 사항이다.Here, the enable signal En inputted to the signal detector 110 and the glitch remover 120 is an optional item that varies depending on the system.

그러면 상기 신호 검출부(110)에서 다음의 도 2 내지 도 4a를 이용하여 상기 S1 신호를 출력하는 과정에 대해 설명하기로 한다.Next, the process of outputting the S1 signal by using the signal detector 110 will be described with reference to FIGS. 2 to 4A.

도 2는 도 1의 신호 검출부(110)를 상세히 나타낸 도면이고, 도 4a는 상기 신호 검출부(110)와 상기 글리치 제거부(120)에서 출력되는 신호를 나타낸 타이밍도로서 정상적인 클럭 신호가 유입된 경우를 나타낸다.FIG. 2 is a detailed view of the signal detector 110 of FIG. 1, and FIG. 4A is a timing diagram illustrating signals output from the signal detector 110 and the glitch remover 120 when a normal clock signal is introduced. Indicates.

도 2를 참조하면, 상기 신호 검출부(110)는 2개의 D 플리플롭(Flip Flop)(211, 213)과 NON-EX-OR(215)로 구성된다. 제 1플립플롭(211)과 제 2플립플롭(213)이 제어부(미도시)로부터 인에이블 신호(En)가 온(On)되어 상기 ChipX8 신호의 클럭 신호를 검출 동작을 수행한다. 상기 제 1플립플롭(211)은 입력된 상기 ChipX8 신호에 상기 두 배 빠른 ChipX16 신호를 기준 클럭으로 사용하여 ① 신호를 출력하게 된다. 상기 두 클럭 신호는 기본적으로 타이밍 지연시간 θ만큼 고정되어 입력된다. 여기서 상기 θ= t2-t1 이다.Referring to FIG. 2, the signal detection unit 110 includes two D flip flops 211 and 213 and a NON-EX-OR 215. The first flip-flop 211 and the second flip-flop 213 turn on the enable signal En from a controller (not shown) to detect a clock signal of the ChipX8 signal. The first flip-flop 211 outputs a? Signal using the twice faster ChipX16 signal as a reference clock to the input ChipX8 signal. The two clock signals are basically input with a fixed timing delay θ. Where θ = t2-t1.

상기 ① 신호는 도 4a에서 나타내었다. 상기 ① 신호는 ChipX8 신호가 상기 기준 클럭 신호 ChipX16이 라이징 에지(Rising Edge)시 출력되는 신호로, 상기 ChipX8 신호가 θ만큼 시프트(Shift)된 신호를 출력하게 된다. 상기 ① 신호는 상기 제 2플립플롭(213)으로 입력되어 상기 기준 클럭 신호 ChipX16에 의해 ② 신호를 출력하게 된다.The ① signal is shown in Figure 4a. The ① signal is a signal that the ChipX8 signal is output at the rising edge of the reference clock signal ChipX16, and outputs a signal shifted by the ChipX8 signal by θ. The ① signal is input to the second flip-flop 213 to output the ② signal by the reference clock signal ChipX16.

도 4a에서 나타난 바와 같이 상기 ② 신호는 상기 ChipX8이 θ만큼 시프트되고, 상기 ① 신호를 상기 ChipX16에 의해 1 클럭을 지연시키므로 상기 ① 신호와 반전되는 신호를 검출하게 된다.As shown in FIG. 4A, the signal ② is shifted by θ, and the signal ① is delayed by one clock by the ChipX16, thereby detecting a signal inverted from the signal ①.

상기 NON-EX-OR(215)는 상기 ① 신호와 ② 신호를 입력으로 하여 S1 신호를 출력하는 논리 게이트이다. 상기 S1 신호는 도 4a에 나타내었다. 상기 NON-EX-OR(215)는 입력된 두 신호의 레벨이 다른 경우 로우 레벨이 되고, 동일한 경우 하이 레벨이 된다. 이에 따라 상기 S1 신호를 살펴보면, 상기 ① 신호와 ② 신호가 상기 플립플롭 간의 지연시간과 논리 게이트 사이에서 발생하는 타이밍 지연 시간에 의하여 소정의 시간

Figure 112012026266324-pat00001
동안 동일 레벨을 가지므로 글로치 신호가 발생하게 된다.The NON-EX-OR 215 is a logic gate that outputs the S1 signal by inputting the ① and ② signals. The S1 signal is shown in Figure 4a. The NON-EX-OR 215 becomes a low level when the levels of the two input signals are different, and becomes a high level when they are the same. Accordingly, referring to the S1 signal, the predetermined time is determined by the delay time between the ① and ② signals between the flip-flop and the timing delay between the logic gates.
Figure 112012026266324-pat00001
Since they have the same level, a gloss signal is generated.

상기 글로치 신호는 아주 작은 시간 동안 일어나지만, 상기 글로치 신호는 시스템 동작 시 오류 판정을 할 수 있는 경우가 발생한다. 이에 대한 자세한 이유는 다음의 도 4b를 통하여 설명하겠다.The glitches occur for a very small amount of time, but there are cases where the glitches can make error determinations during system operation. A detailed reason for this will be described with reference to FIG. 4B.

도 4b는 도 4a의 S1 신호를 확대한 타이밍도이다.4B is an enlarged timing diagram of the S1 signal of FIG. 4A.

도 4b를 참조하면, tg(401)와 tb(403)는 중앙처리장치(Central Processing Unit: CPU)가 데이터를 읽어 가는 시점(Timing)을 나타낸다. 대부분의 시스템에서는 각 기능 블록에서 사용하는 클럭과 비동기(Asynchronous) 제어 신호를 사용하여 데이터를 읽어 간다. 즉 tg시점(401)에서도 읽어 갈 수도 있고, tb(403) 시점에서도 데이터를 읽을 수 있다. tg시점(401)에서 데이터를 읽어 간다면 문제가 되지 않지만, tb 시점(403)에서 읽어가게 되면 플립플롭의 라이징 에지(Rising Edge)에서 데이터를 래치(Latch)한다고 하면 정상적인 클럭 신호가 유입되더라도 논리 레벨이 "1"이 되어서 소프트웨어(S/W)에서 오류 메시지(Fault Message)로 인식하게 된다. 따라서 이를 방지하기 위하여 글리치 제거부(120)를 구비하여야 한다.Referring to FIG. 4B, tg 401 and tb 403 indicate timings at which a central processing unit (CPU) reads data. Most systems use the clock and asynchronous control signals used by each function block to read data. That is, the data can be read at the time tg 401 or at the time tb 403. It is not a problem if the data is read at the time tg 401, but if the data is read at the rising edge of the flip-flop if the data is read at the tb time 403, even if a normal clock signal flows in, the logic level Becomes "1" and is recognized by the software (S / W) as an error message. Therefore, in order to prevent this, the glitch removing unit 120 should be provided.

그러면 상기 글리치 제거부(120)의 구성 및 동작 방법을 설명하기로 한다.Next, the configuration and operation method of the glitch removing unit 120 will be described.

도 3은 도 1의 글리치 제거부(120)를 상세히 나타낸 도면이다.3 is a view illustrating in detail the glitch removing unit 120 of FIG. 1.

도 3을 참조하면, 글리치 제거부(120)는 두 개의 플립플롭(311, 313)과, AND 게이트(315)로 구성된다. 상기 두 개의 플립플롭은 제 1플립플롭(311)과 제 2플립플롭(313)으로 구성된다.Referring to FIG. 3, the glitch removing unit 120 includes two flip-flops 311 and 313 and an AND gate 315. The two flip-flops are composed of a first flip-flop 311 and a second flip-flop 313.

상기 제 1플립플롭(311)은 상기 신호 검출부(110)로부터 출력된 신호 S1 신호를 입력으로 하고, 기준 클럭 신호로 ChipX16을 사용한다. 또한 상기 제 2플립플롭(313)도 상기 ③ 신호를 입력으로 하여 ④ 신호를 출력으로 한다. 상기 ③, ④ 신호는 다음의 도 4a에 나타내었다. 그러면 도 4a를 이용하여 상기 ③, ④ 신호를 설명하기로 한다.The first flip-flop 311 receives the signal S1 signal output from the signal detector 110 and uses ChipX16 as a reference clock signal. Also, the second flip-flop 313 also inputs the signal ③ to output the signal ④. The signals 3 and 4 are shown in FIG. 4A. Next, the signals 3 and 4 will be described with reference to FIG. 4A.

도 4a를 참조하면, 우선 상기 ③ 신호는 상기 제 1 플립플롭(311)이 상기 S1 신호와 상기 기준 클럭 신호 2XF를 입력으로 하여 나오는 출력 신호이다. 도 4a에서

Figure 112011102960712-pat00002
구간이 항상 chipx16 클럭 신호의 라이징 에지(Rising Edge) 뒤에 존재 한다. 따라서 도 4a에서 나타나듯이 정상적인 Clock이 유입되는 경우에도 발생하는 글리치 신호는 상기 ts 시점에서 데이터를 래치(Latch)하게 되므로 ③ 출력에서 알 수 있듯이 글리치 신호가 제거 된다. 이로서 S2는 논리 레벌 '0'을 유지하고 이는 정상상태임을 나타낸다.Referring to FIG. 4A, first, the 3 signal is an output signal from which the first flip-flop 311 receives the S1 signal and the reference clock signal 2XF. In FIG. 4A
Figure 112011102960712-pat00002
The interval is always behind the rising edge of the chipx16 clock signal. Therefore, as shown in FIG. 4A, the glitch signal generated even when a normal clock flows in latches data at the time ts. Thus, the glitch signal is removed as can be seen from the output. This maintains a logical level of '0', indicating that S2 is steady.

상기 제 2플립플롭(313)은 상기 ③ 신호를 입력으로 하고, 기준 클럭 신호로 ChipX16을 사용하여 상기 ④ 신호를 출력하게 된다. 상기 ④ 신호는 도 4a에서 나타나듯이 상기 ③ 신호를 Chipx16으로 1 클럭(Clock) 지연 시키게 된다.The second flip-flop 313 receives the signal ③ and outputs the signal ④ using ChipX16 as a reference clock signal. As shown in Fig. 4a, the signal? Is delayed by one clock with Chipx16.

상기 AND 게이트(315)는 상기 ③, ④ 신호를 입력으로 하여 최종 신호 S2를 출력함으로써 시간적으로 두 번 연속 상기 신호 검출부(110)부의 출력 신호를 검사하게 된다. 즉 상기 S1 신호에서 시스템의 오 동작을 일으킬 수 있는 글로치 신호를 완벽하게 제거하게 됨으로써 최종 출력 신호 S2는 논리 레벌 '0'이 되어 오류가 없음을 알리는 메시지를 미리 결정된 메모리에 저장하게 된다. The AND gate 315 checks the output signal of the signal detector 110 twice in time by outputting the final signal S2 by inputting the signals ③ and ④. That is, by completely removing the glitches signal that may cause a malfunction of the system from the S1 signal, the final output signal S2 becomes a logic level '0' to store a message indicating that there is no error in a predetermined memory.

도 4a에서는 모뎀 내부의 기능 블록들에 정상적이 클럭 신호가 공급되는 경우를 나타내었다.
다음으로 상기 기능 블록들에 비정상적인 클럭 신호가 공급되는 경우에 대해 설명하기로 한다.
4A illustrates a case in which a clock signal is normally supplied to the functional blocks inside the modem.
Next, a case in which an abnormal clock signal is supplied to the functional blocks will be described.

도 5는 본 발명에 따른 클럭 검출기(100)에서 비정상적인 클럭 신호가 공급되는 경우를 나타낸 타이밍도로 초기에서는 F 신호가 정상적으로 유입되다가 t6 시점에서부터 논리 레벨이 클럭 신호가 '1'로 고정되는 비정상적인 상태가 발생하여 최종 출력인 S2 신호가 t7 시점부터 오류 메시지(Fault Message)의 논리 레벨이 '1'을 나타내는 경우를 나타내었다.FIG. 5 is a timing diagram illustrating a case in which an abnormal clock signal is supplied from the clock detector 100 according to the present invention. In the initial stage, an F signal is normally introduced, and at t6, an abnormal state in which the logic level is fixed to the clock signal is '1'. When the S2 signal, which is the final output, occurs from t7, the logic level of the fault message indicates a '1'.

도 5를 참조하면, 비정상적인 클럭 신호가 유입되는 경우에는 상기 ③ 신호의 출력에서 논리 레벨 '1'을 유지하고 이는 다시 한번 Chipx16으로 클럭킹(Clocking)되므로 상기 ④ 신호는 논리 레벨 '1'을 유지하게 된다. 그런 후 상기 AND 게이트(315)를 통과 시켜 상기 ③, ④ 신호 모두 1인 경우 도 3의 t7 시점에서 오류 메시지(Fault Message)를 1로 만들게 된다.Referring to FIG. 5, when an abnormal clock signal is introduced, the logic level '1' is maintained at the output of the ③ signal, which is clocked to Chipx16 once again, thus maintaining the logic level '1'. do. Thereafter, when the signals 3 and 4 are all passed through the AND gate 315, a fault message is set to 1 at time t7 of FIG.

시스템의 중앙 처리 장치(CPU)에서는 임의의 시점 ts 즉 chipx16 클럭 신호의 라이징 에지(Rising Edge)에서 데이터를 래치(Latch)하기 때문에 그 이후 블록에서 생성되는 신호 즉, 내부 신호인 ①, ②에 의하여 발생하는 S1 신호는 절대로 logic 1인 상태에서 기준 클럭 신호 Chipx16의 라이징 에지(Rising Edge)를 만날 수게 된다.The central processing unit (CPU) of the system latches data at an arbitrary time ts, that is, the rising edge of the chipx16 clock signal, so that signals generated in the subsequent blocks, i.e., internal signals ① and ② The generated S1 signal may encounter the rising edge of the reference clock signal Chipx16 in a state of logic 1.

한편 본 발명의 상세한 설명에서는 구체적인 실시 예에 관해 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능함은 물론이다. 그러므로 본 발명의 범위는 설명된 실시 예에 국한되어 정해져서는 안되며 후술하는 특허청구의 범위뿐 아니라 이 특허청구의 범위와 균등한 것들에 의해서 정해져야 한다.While the present invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not limited to the disclosed embodiments, but is capable of various modifications within the scope of the invention. Therefore, the scope of the present invention should not be limited by the described embodiments, but should be determined by the scope of the appended claims and equivalents thereof.

상술한 바와 같이 본 발명은 실제 CDMA S/W가 동작하는 동안에는 단말의 특성상 슬립 모드와 같이 전류 소모를 최소화하기 위하여 각 블록에 유입되는 경우, 클럭 신호를 온/오프(on/off)하는 경우에 발생하는 비정상적인 동작을 소프트웨어에서 실시간으로 검출할 수 있는 효과가 있다. 따라서 비정상적인 클럭 동작 시 빠른 속도로 조치할 수 있어 효율성이 높은 소프트웨어(S/W) 구현이 가능하게 된다. As described above, the present invention provides a case in which a clock signal is turned on / off when the CDMA S / W is introduced into each block to minimize current consumption, such as a sleep mode, while the CDMA S / W is operating. The abnormal behavior that occurs can be detected in software in real time. Therefore, it is possible to take action at high speed in case of abnormal clock operation, which enables high efficiency software (S / W).

Claims (10)

이동 통신 시스템의 이동 단말에서 기능 블록 별로 공급하는 내부 클럭 신호의 이상 여부를 실시간으로 검사하는 장치에 있어서,An apparatus for checking in real time whether an internal clock signal supplied for each functional block by a mobile terminal of a mobile communication system is abnormal. 상기 기능 블록에 공급하는 클럭 신호와 상기 클럭 신호보다 2배 빠른 신호를 기준 클럭 신호로 입력하여 클럭의 동작 여부를 나타내는 신호를 출력하는 신호 검출부와,A signal detector for inputting a clock signal supplied to the functional block and a signal twice as fast as the clock signal as a reference clock signal, and outputting a signal indicating whether a clock is operating; 상기 출력 신호 중 글리치(Glitch) 신호를 제거하는 글리치 제거부를 포함하여 구성됨을 특징으로 하는 검사 장치.And a glitch remover configured to remove a glitch signal among the output signals. 제 1항에 있어서,The method of claim 1, 상기 신호 검출부와 상기 글리치 제거부의 동작 여부를 알려주는 인에이블 신호를 입력하는 수단을 더 포함하여 구성됨을 특징으로 하는 검사 장치.And means for inputting an enable signal informing whether the signal detector and the glitch remover are in operation. 제 1항에 있어서, 상기 신호 검출부는,The method of claim 1, wherein the signal detection unit, 상기 클럭 신호와 상기 기준 클럭 신호를 저장하는 적어도 두 개의 수단과,At least two means for storing the clock signal and the reference clock signal; 상기 적어도 두 개의 수단 중 하나의 수단으로부터 출력되는 신호와 다른 하나의 수단으로부터 출력되는 신호에 대한 베타적 논리 연산을 수행하는 논리 연산자를 포함하여 구성됨을 특징으로 하는 검사 장치.And a logical operator for performing a beta logical operation on a signal output from one of the at least two means and a signal output from the other means. 제 1항에 있어서, 상기 글리치 제거부는,The method of claim 1, wherein the glitch removing unit, 상기 신호 검출부의 출력신호와 상기 기준 클럭 신호를 저장하는 적어도 두 개의 수단과,At least two means for storing an output signal of the signal detector and the reference clock signal; 상기 적어도 두 개의 수단 중 하나의 수단으로부터 출력되는 신호와 다른 하나의 수단으로부터 출력되는 신호에 대한 베타적 논리 연산을 수행하는 논리 소자를 포함하여 구성됨을 특징으로 하는 검사 장치.And a logic element for performing a beta logic operation on a signal output from one of the at least two means and a signal output from the other means. 제3항 또는 제 4항에 있어서, 상기 수단은 플립플롭임을 특징으로 하는 검사 장치.5. An inspection apparatus according to claim 3 or 4 wherein the means is a flip flop. 제 1항에 있어서, 상기 클럭 신호는 9.8304 MHz임을 특징으로 하는 검사 장치.The test apparatus of claim 1, wherein the clock signal is 9.8304 MHz. 이동 통신 시스템의 이동 단말에서 기능 블록 별로 공급하는 내부 클럭 신호의 이상 여부를 실시간으로 검사하는 방법에 있어서,In the method for checking in real time whether the internal clock signal supplied for each functional block in the mobile terminal of the mobile communication system, 상기 기능 블록에 공급하는 클럭 신호와 상기 클럭 신호보다 2배 빠른 신호를 기준 클럭 신호로 입력하여 클럭의 동작 여부를 나타내는 신호를 출력하는 제 1과정과,A first process of inputting a clock signal supplied to the functional block and a signal twice as fast as the clock signal as a reference clock signal and outputting a signal indicating whether the clock is operating; 상기 출력 신호 중 글리치(Glitch) 신호를 제거하여 출력하는 제 2과정을 포함하여 이루어짐을 특징으로 하는 검사 방법.And a second process of removing and outputting a glitch signal among the output signals. 제 7항에 있어서,8. The method of claim 7, 상기 제1 과정 및 상기 제2 과정에 따른 동작의 수행 여부를 알려주는 인에이블 신호를 입력하는 과정을 더 포함하여 이루어짐을 특징으로 하는 검사 방법.And a step of inputting an enable signal informing whether the operation according to the first process and the second process is performed. 제 7항에 있어서, 상기 제 1과정은,The method of claim 7, wherein the first process, 적어도 두 개의 수단을 이용하여 상기 클럭 신호와 상기 기준 클럭 신호를 저장하는 과정과,Storing the clock signal and the reference clock signal using at least two means; 상기 적어도 두 개의 수단 중 하나의 수단으로부터 출력되는 신호와 다른 하나의 수단으로부터 출력되는 신호에 대한 베타적 논리 연산을 수행하는 과정을 포함하여 이루어짐을 특징으로 하는 검사 방법.And performing a beta logical operation on a signal output from one of the at least two means and a signal output from the other means. 제 7항에 있어서, 상기 클럭 신호는 9.8304 MHz임을 특징으로 하는 검사 방법.8. The method of claim 7, wherein the clock signal is 9.8304 MHz.
KR1020050085806A 2005-09-14 2005-09-14 Method and apparatus for detecting a clock signal in mobile communication system KR101192902B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050085806A KR101192902B1 (en) 2005-09-14 2005-09-14 Method and apparatus for detecting a clock signal in mobile communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050085806A KR101192902B1 (en) 2005-09-14 2005-09-14 Method and apparatus for detecting a clock signal in mobile communication system

Publications (2)

Publication Number Publication Date
KR20070031111A KR20070031111A (en) 2007-03-19
KR101192902B1 true KR101192902B1 (en) 2012-10-18

Family

ID=43655538

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050085806A KR101192902B1 (en) 2005-09-14 2005-09-14 Method and apparatus for detecting a clock signal in mobile communication system

Country Status (1)

Country Link
KR (1) KR101192902B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230001957A (en) * 2021-06-29 2023-01-05 주식회사 엔에스엠 Apparatus and method for detecting error of digital exchanger in communication network environment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR200288278Y1 (en) * 2002-06-20 2002-09-10 안병식 Synchronizing asynchronous signal with twice clock frequency
KR100392854B1 (en) 1999-08-24 2003-07-28 엘지전자 주식회사 Clock Monitor Appratus Of Switching System

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100392854B1 (en) 1999-08-24 2003-07-28 엘지전자 주식회사 Clock Monitor Appratus Of Switching System
KR200288278Y1 (en) * 2002-06-20 2002-09-10 안병식 Synchronizing asynchronous signal with twice clock frequency

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230001957A (en) * 2021-06-29 2023-01-05 주식회사 엔에스엠 Apparatus and method for detecting error of digital exchanger in communication network environment
KR102494090B1 (en) * 2021-06-29 2023-02-06 주식회사 엔에스엠 Apparatus and method for detecting error of digital exchanger in communication network environment

Also Published As

Publication number Publication date
KR20070031111A (en) 2007-03-19

Similar Documents

Publication Publication Date Title
US7653850B2 (en) Delay fault detection using latch with error sampling
TWI521378B (en) Apparatus and method for detecting fault injection
US8466727B2 (en) Protection against fault injections of an electronic circuit with flip-flops
CN110311659B (en) Trigger and integrated circuit
CN112507396B (en) Electronic device and method for checking data sampling integrity by using gating clock
JP6968234B2 (en) Electronic devices and methods for performing data sampling integrity checks using flip-flops with relative delay
US7661052B2 (en) Using statistical signatures for testing high-speed circuits
JP2010091482A (en) Semiconductor integrated circuit device and delay fault test method therefor
JP2006010707A (en) Integrated circuit
KR101192902B1 (en) Method and apparatus for detecting a clock signal in mobile communication system
US20060020864A1 (en) Method and system for blocking data in scan registers from being shifted out of a device
US10547311B2 (en) Reducing glitches that occur when multiplexing of asynchronous clocks using flip-flops and logic gates
US9256504B2 (en) Semiconductor integrated circuit including a state machine
CN115792579A (en) Circuit and method for controlling test mode
CN111913038B (en) Device and method for detecting frequency of multipath clock signals
US20090160488A1 (en) Apparatus and method for clock signal synchronization in JTAG testing in systems having modules processing clock signals at different rates
US6166574A (en) Circuit for turning on and off a clock without a glitch
JP4962497B2 (en) Clock monitoring circuit, information processing apparatus, and clock monitoring method
US11169892B1 (en) Detecting and reporting random reset faults for functional safety and other high reliability applications
US11879938B2 (en) Method for detecting perturbations in a logic circuit and logic circuit for implementing this method
EP4209793A1 (en) Signal toggling detection and correction circuit
US7603601B2 (en) Enabling special modes within a digital device
Yi et al. A scan cell design for scan-based debugging of an SoC with multiple clock domains
Polian et al. On reducing circuit malfunctions caused by soft errors
US20100134148A1 (en) Detecting transitions in circuits during periodic detection windows

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20150925

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20160929

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee