KR200165753Y1 - Clock restration circuit of digital image decoder - Google Patents

Clock restration circuit of digital image decoder Download PDF

Info

Publication number
KR200165753Y1
KR200165753Y1 KR2019940030156U KR19940030156U KR200165753Y1 KR 200165753 Y1 KR200165753 Y1 KR 200165753Y1 KR 2019940030156 U KR2019940030156 U KR 2019940030156U KR 19940030156 U KR19940030156 U KR 19940030156U KR 200165753 Y1 KR200165753 Y1 KR 200165753Y1
Authority
KR
South Korea
Prior art keywords
clock
pcr
counter
outputting
signal
Prior art date
Application number
KR2019940030156U
Other languages
Korean (ko)
Other versions
KR960019399U (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 KR2019940030156U priority Critical patent/KR200165753Y1/en
Publication of KR960019399U publication Critical patent/KR960019399U/en
Application granted granted Critical
Publication of KR200165753Y1 publication Critical patent/KR200165753Y1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4305Synchronising client clock from received content stream, e.g. locking decoder clock with encoder clock, extraction of the PCR packets

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Synchronizing For Television (AREA)

Abstract

본 고안은 디지탈 영상 디코더의 클럭 복원회로에 관한 것으로, 특히 인가되는 동기신호에 따라 카운터를 근접시켜 클럭을 복원하는 디지탈 영상 디코더의 클럭 복원회로에 관한 것이다.The present invention relates to a clock recovery circuit of a digital image decoder, and more particularly, to a clock recovery circuit of a digital image decoder for recovering a clock by approaching a counter in accordance with an applied synchronization signal.

상기와 같은 본 고안의 디지탈 영상 디코더의 클럭 복원회로는 임의의 간격으로 입력되는 비트 스트림상의 헤더(header)정보에 실려있는 시간정보(PCR 또는 SCR)에 의해 부호화기(Encoder)의 시스템 클럭에 동기화된 클럭을 출력하는 디지탈 영상 디코더의 클럭 복원회로에 있어서, 로칼 클럭(Local Clock)을 발생하는 로칼 클럭발생기와, 입력되는 제어신호에 의해 기준클럭수를 달리하여 상기의 로칼 클럭을 카운팅하여 상기 기준클럭수마다 출력레벨을 변화시켜 클럭신호를 출력하는 시스템 카운터와, 상기 시스템 카운터의 출력신호 및 제1헤더정보의 PCR값을 입력으로 하여 예측값(PCR')을 출력하는 PCR 카운터와, 상기 PCR 카운터의 예측값(PCR')과 제2헤더정보의 PCR을 비교감산하는 감산기와, 상기 감산기의 출력을 입력으로 하여 임계값이상의 오차가 발생할때마다 제어신호를 출력하여 시스템 카운터의 기준클럭수를 변화시키는 임계값검출부와, 상기 시스템 카운터의 출력신호를 분주하여 수직, 수평동기신호를 발생하는 수직, 수평동기신호발생부와, 상기 로칼 클럭발생기의 출력신호를 ½ 분주하여 픽셀 클럭을 출력하는 분주기를 포함하여 이루어진다.The clock recovery circuit of the digital image decoder according to the present invention is synchronized with the system clock of the encoder by time information (PCR or SCR) contained in header information on a bit stream input at an arbitrary interval. In a clock recovery circuit of a digital image decoder for outputting a clock, a local clock generator for generating a local clock, and the reference clock is counted by varying the number of reference clocks according to an input control signal. A system counter for outputting a clock signal by varying the output level for each number, a PCR counter for outputting a prediction value (PCR ') by inputting the output signal of the system counter and the PCR value of the first header information, and the PCR counter A subtractor for comparing and subtracting the PCR of the predicted value PCR 'and the second header information, and an output of the subtractor as an input, when an error above the threshold occurs. A threshold detection unit for outputting a control signal to change the number of reference clocks of the system counter, a vertical and horizontal synchronization signal generator for dividing the output signal of the system counter to generate vertical and horizontal synchronization signals, and the local clock generator And a divider for dividing the output signal of ½ and outputting a pixel clock.

Description

디지탈 영상디코더의 클럭복원회로Clock Restoration Circuit of Digital Image Decoder

제1도는 일반적인 디지탈 영상디코더의 구성블럭도.1 is a block diagram of a general digital video decoder.

제2도는 종래의 시스템 클럭 복원회로를 나타낸 구성블럭도.2 is a block diagram showing a conventional system clock recovery circuit.

제3도는 본 고안의 시스템 클럭 복원회로를 나타낸 구성블럭도.3 is a block diagram showing a system clock recovery circuit of the present invention.

제4도는 본 고안에 따른 시스템 클럭의 복원의 예를 나타낸 타이밍도.4 is a timing diagram showing an example of restoration of a system clock according to the present invention.

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

30 : 임계값 검출부 31 : 시스템 카운터30: threshold detection unit 31: system counter

32 : 로칼 클럭발생기 33 : 분주기32: local clock generator 33: divider

34 : PCR 카운터 35 : 수직, 수평동기신호발생부34: PCR counter 35: vertical and horizontal synchronous signal generator

36 : 감산기36: subtractor

본 고안은 디지탈 영상 디코더의 클럭 복원회로에 관한 것으로, 특히 인가되는 동기신호에 따라 카운터를 근접시켜 클럭을 복원하는 디지탈 영상디코더의 클럭 복원회로에 관한 것이다.The present invention relates to a clock recovery circuit of a digital image decoder, and more particularly, to a clock recovery circuit of a digital image decoder for recovering a clock by approaching a counter in accordance with an applied synchronization signal.

일반적으로 디지탈 영상 시스템에서는 비트 스트림상에 수직 및 수평동기신호를 복원할 수 있는 시간정보(PCR(Program Clock Reference) 또는 SCR(System Clock Reference))를 실어 전송하게 된다.In general, a digital video system carries time information (Program Clock Reference (PCR) or System Clock Reference (SCR)) for restoring vertical and horizontal synchronization signals on a bit stream.

이하, 첨부된 도면을 참고하여 종래의 디지탈 영상 디코더의 클럭 복원회로에 대하여 설명하면 다음과 같다.Hereinafter, a clock recovery circuit of a conventional digital image decoder will be described with reference to the accompanying drawings.

제1도는 일반적인 디지탈 영상 디코더의 구성블럭도이고 제2도는 종래의 시스템 클럭 복원회로를 나타낸 구성블럭도이다.FIG. 1 is a block diagram of a general digital video decoder and FIG. 2 is a block diagram showing a conventional system clock recovery circuit.

먼저, 제1도에서와 같이 일반적인 디지탈 영상 디코더 시스템은 전송채널을 통해 시스템 비트 스트림이 입력되면 헤더 정보를 디패키타이징(Depacketizing)하여 순수한 비디오 비트 스트림을 출력하고(이때, 도면에 도시하지 않았지만 오디오 비트 스트림도 출력되게 된다) 헤더(header)정보중에서 클럭에 관한 상태를 나타내는 PCR 또는 SCR 정보를 추출하여 출력하는 시스템 디코더(1)와, 상기 시스템 디코더(1)의 압축된 비트 스트림을 받아 복호화하는 영상 디코더(2)와, 상기 시스템 디코더(1)의 SCR 또는 PCR 정보를 입력으로 하여 수직, 수평동기신호 및 픽셀 클럭(pixel clock)을 재생하는 타이밍 제네레이터(Timing Generator)(4)와, 상기 영상 디코더(2)에서 수직, 수평동기신호 및 픽셀 클럭이 동기화된 복원 영상신호(RGB 또는 YUV)를 NTSC 인코더 처리하여 출력하는 NTSC 신호처리부(3)를 포함하여 구성된다. 상기의 타이밍 제네레이터(4)에서 SCR이나 PCR을 이용하는 이유는 부호화기(Encoder)와 복호화기(Decoder)의 클럭을 동기화시키기 위함인데 이는 아나로그 시스템에서는 부호화기 클럭을 타임 복원회로(Time Recovery)에서 바로 복원하게 되지만 디지탈 시스템에서는 로칼 클럭(Local Clock)간에 시간 정보를 이용하여 End-to-End 동기를 사용하기 때문이다.First, as shown in FIG. 1, a general digital video decoder system depacketizes header information when a system bit stream is input through a transport channel, and outputs a pure video bit stream (at this time, although not shown in the drawing) A bit stream is also output.) The system decoder 1 extracts and outputs PCR or SCR information indicating a clock state from the header information, and receives and decodes the compressed bit stream of the system decoder 1. A video generator (2), a timing generator (4) for reproducing vertical and horizontal synchronization signals and a pixel clock by inputting SCR or PCR information of the system decoder (1), and the video NTSC signal that NTSC encoder processes and outputs the reconstructed video signal (RGB or YUV) in which the vertical and horizontal synchronization signals and the pixel clock are synchronized by the decoder 2 Is configured to include a processing unit (3). The reason for using the SCR or the PCR in the timing generator 4 is to synchronize the clocks of the encoder and the decoder. In an analog system, the encoder clock is directly restored from a time recovery circuit. This is because digital systems use end-to-end synchronization using time information between local clocks.

상기와 같이 부호화기의 클럭에 복호화기의 클럭을 동기화하는 이유는 복호화기의 속도가 부호화기의 속도와 다를 경우 어느 정도의 시간이 흐르면 재생되는 영상의 프레임수가 부호화기와 다르게 되어 영상 디코더 버퍼(Video Decoder Buffer)가 오버플로우(Overflow) 또는 언더플로우(Underflow)되어 오디오 신호와의 립싱크(Lip-sync)가 무너지게 되기 때문이다.The reason for synchronizing the clock of the decoder with the clock of the encoder as described above is that if the speed of the decoder is different from the speed of the encoder, the number of frames of the reproduced video is different from that of the encoder, and thus the video decoder buffer (Video Decoder Buffer). ) Is overflowed or underflowed so that the lip-sync with the audio signal is broken.

상기와 같이 구성된 복호화기(Docoder)에서 타이밍 제네레이터(4)로 구성된 종래의 시스템 클럭 복원회로(5)를 제2도를 참고하여 설명하면 다음과 같다.Referring to FIG. 2, a conventional system clock recovery circuit 5 including the timing generator 4 in the decoder Docoder configured as described above will be described below.

시스템 디코더(1)로 부터 SCR 또는 PCR을 받아 초기값(Start Value)을 카운터(23)로 로딩(Loading)하면 카운터(23)는 VCO(Voltage Controlled Oscillator)(22)의 클럭을 받아 값이 27MHz의 속도로 증가하게 된다(MPEG1의 경우에는 90KHz VCO를 사용).When the SCR or PCR is received from the system decoder 1 and the initial value is loaded into the counter 23, the counter 23 receives the clock of the voltage controlled oscillator 22 and the value is 27 MHz. It will increase at a speed of (90KHz VCO for MPEG1).

초기값 다음으로 입력되는 PCR 또는 SCR은 카운터(23)로부터 증가되어진 예측값과 감산기(20)에서 비교 감산되어 오차가 구해지게 된다.The PCR or SCR input after the initial value is compared and subtracted by the subtractor 20 with the predicted value increased from the counter 23 to obtain an error.

만약, 부호기에서의 클럭이 빨라졌다면 +값이 감산 결과이며(부호기의 위상이 빠르다는 것을 나타낸다) 늦어졌다면 -값이 감산 결과가 된다.If the clock in the encoder is faster, the + value is the result of the subtraction (which indicates that the encoder's phase is faster).

상기와 같은 감산 결과(Error)는 LPF(Low Pass Filter)(21)를 거쳐서 VCO(22)의 주파수 입력이 되어 +값은 VCO(22)의 주파수가 증가하도록 하고, -값은 VCO(22)의 주파수가 감소되도록 한다.The subtraction result (Error) is input to the frequency of the VCO 22 through the LPF (Low Pass Filter) 21, the + value to increase the frequency of the VCO 22,-value is the VCO (22) Allow the frequency of to be reduced.

VCO(22)는 입력값의 변화에 따라 주파수를 변화시켜 부호화기의 클럭속도와 동기화 시키게 된다.The VCO 22 changes the frequency according to the change of the input value to synchronize with the clock speed of the encoder.

여기서 VCO는 코일이나 바리콘을 조정하지 않고 외부에서 가하는 전압으로 발진주파수를 변화시키는 발진회로(Voltage Controlled Oscillator)를 말한다.Here, the VCO refers to a voltage controlled oscillator that changes the oscillation frequency by an external voltage without adjusting the coil or the baricon.

그러나 상기와 같은 종래의 시스템 클럭 복원회로에 있어서는 고가의 VCO와 LPF를 사용하여 시스템 클럭 복원회로를 구성하므로 시스템 구성의 제조단가가 높고 회로가 복잡해지는 문제점이 있었다.However, in the conventional system clock recovery circuit as described above, since the system clock recovery circuit is configured using the expensive VCO and LPF, there is a problem in that the manufacturing cost of the system configuration is high and the circuit is complicated.

본 고안은 상기와 같은 종래의 디지탈 영상 디코더의 시스템 복원회로의 문제점을 해결하기 위하여 안출한 것으로써, 고가의 VCO를 사용하지 않고 카운터와 게이트(gate)만을 사용하여 회로를 단순화하고 저가의 구성으로 실용성을 높인 디지탈 영상 디코더의 클럭 복원회로를 제공하는데 그 목적이 있다.The present invention was devised to solve the problems of the system recovery circuit of the conventional digital image decoder as described above. The circuit is simplified and the low cost configuration is achieved using only a counter and a gate without using an expensive VCO. It is an object of the present invention to provide a clock recovery circuit of a digital image decoder having improved practicality.

상기의 목적을 달성하기 위한 본 고안의 디지탈 영상 디코더의 클럭 복원회로는 임의의 간격으로 입력되는 비트 스트림상의 헤더(header)정보에 실려있는 시간 정보(PCR 또는 SCR)에 의해 부호화기(Encoder)의 시스템 클럭에 동기화된 클럭을 출력하는 디지탈 영상 디코더의 클럭 복원회로에 있어서, 로칼 클럭(Local Clock)을 발생하는 로칼 클럭발생기와, 입력되는 제어신호에 의해 기준 클럭수를 달리하여 상기의 로칼 클럭을 카운팅하여 상기 기준클럭수마다 출력레벨을 변화시켜 클럭신호를 출력하는 시스템 카운터와, 상기 시스템 카운터의 출력신호 및 제1헤더정보의 PCR 값을 입력으로 하여 예측값(PCR')을 출력하는 PCR 카운터와, 상기 PCR 카운터의 예측값(PCR')과 제2헤더정보의 PCR을 비교 감산하는 감산기와, 상기 감산기의 출력을 입력으로 하여 임계값 이상의 오차가 발생할때마다 제어신호를 출력하여 시스템 카운터의 기준 클럭수를 변화시키는 임계값 검출부와, 상기 시스템 카운터의 출력신호를 분주하여 수직, 수평동기신호를 발생하는 수직, 수평동기신호발생부와, 상기 로칼 클럭 발생기의 출력신호를 ½ 분주하여 픽셀 클럭을 출력하는 분주기를 포함하여 구성됨을 특징으로 한다.The clock recovery circuit of the digital video decoder of the present invention for achieving the above object is an encoder system by time information (PCR or SCR) contained in header information on a bit stream input at an arbitrary interval. In a clock recovery circuit of a digital video decoder for outputting a clock synchronized with a clock, a local clock generator for generating a local clock and a number of reference clocks are counted according to the input control signal to count the local clock. A system counter for outputting a clock signal by changing an output level for each reference clock number, a PCR counter for outputting a prediction value PCR 'by inputting an output signal of the system counter and a PCR value of first header information; A subtractor which compares and subtracts the predicted value PCR 'of the PCR counter with the PCR of the second header information, and an output of the subtractor as an input is equal to or greater than a threshold A threshold detector for changing a reference clock number of a system counter by outputting a control signal each time an error occurs; a vertical and horizontal synchronous signal generator for splitting an output signal of the system counter to generate vertical and horizontal synchronous signals; And a divider for dividing the output signal of the local clock generator by ½ to output a pixel clock.

이하, 첨부된 도면을 참고하여 본 고안의 디지탈 영상 디코더의 클럭 복원회로를 상세히 설명하면 다음과 같다.Hereinafter, the clock recovery circuit of the digital image decoder of the present invention will be described in detail with reference to the accompanying drawings.

제3도는 본 고안의 시스템 클럭 복원회로를 나타낸 구성블럭도이다.3 is a block diagram showing a system clock recovery circuit of the present invention.

먼저, 27MHz의 로칼 클럭(Local Clock)을 발생하는 로칼 클럭 발생기(32)와, 입력되는 업/다운(Up/Down)의 제어신호에 의해 300Hz의 기준 클럭수를 달리하여 상기 로칼 클럭을 카운팅하여 상기 기준 클럭수마다 출력레벨을 변화시켜 90KHz의 클럭신호(상기 기준클럭수가 변화함에 따라 달라지는)를 출력하는 시스템 카운터(31)와, 상기 시스템 카운터(31)의 출력신호 및 비트 스트림상의 제1헤더정보의 PCR(Program Clock Reference)값을 입력으로 하여 예측값(PCR')을 출력하는 PCR 카운터(34)와, 상기 PCR 카운터의 예측값(PCR')과 제2헤더(header)정보의 PCR을 비교 감산하는 감산기(36)와, 상기 감산기(36)의 출력을 입력으로 하여 클럭의 위상이 임계값 이상의 오차가 발생할때마다 업/다운(Up/Down)의 제어신호를 시스템 카운터(31)로 출력하여 시스템 카운터(31)의 기준 클럭수를 변화시키는 임계값 검출부(30)와, 상기 시스템 카운터(31)의 출력신호를 분주하여 수직, 수평동기신호를 발생하는 수직, 수평동기신호발생부(35)와, 상기 로칼 클럭 발생기(32)의 27MHz의 클럭신호를 2분주하여 픽셀 클럭을 출력하는 분주기(33)를 포함하여 구성된다.First, the local clock is counted by varying the number of reference clocks of 300 Hz according to a local clock generator 32 generating a 27 MHz local clock and an input up / down control signal. A system counter 31 for outputting a clock signal of 90 KHz (which varies according to the change of the reference clock number) by varying an output level for each reference clock number, an output signal of the system counter 31, and a first header on a bit stream Comparing and subtracting a PCR counter 34 that outputs a prediction value PCR 'by inputting a PCR (Program Clock Reference) value of information, and a PCR of the predicted value PCR' and the second header information of the PCR counter. The subtractor 36 and the output of the subtractor 36 are inputted, and an up / down control signal is outputted to the system counter 31 whenever an error in the phase of the clock exceeds a threshold value. Changing the reference clock number of the system counter 31 The vertical and horizontal synchronous signal generators 35, which divide the output signal of the system counter 31 to generate vertical and horizontal synchronous signals, and the 27 MHz of the local clock generator 32, And a divider 33 for dividing the clock signal into two to output a pixel clock.

상기와 같은 MPEG을 수용하는 시스템에서는 시스템 클럭의 대역을 MPEG I에서는 90KHz로 MPEG Ⅱ에서는 27MHz로 정했는데 이는 기본 33bits의 PCR 또는 SCR 필드로 90KHz의 기본 리솔루션(Resolution)을 가지며, MPEG Ⅱ에서는 9bits의 확장코드(Extension Code)를 사용하여 27MHz로 표현한다.In the MPEG-accepting system, the system clock band is set to 90 KHz in MPEG I and 27 MHz in MPEG II. This is a basic 33 bit PCR or SCR field with a 90 KHz default resolution, and 9 bits in MPEG II. Expressed as 27MHz using Extension Code of.

상기와 같은 본 고안의 디지탈 영상 디코더의 클럭 복원회로는 시스템 디코더에서 추출한 SCR 또는 PCR값이 첫번째 값일 경우 PCR 카운터(34)로 로딩(Loading)하게 된다.The clock recovery circuit of the digital image decoder according to the present invention loads the PCR counter 34 when the SCR or PCR value extracted from the system decoder is the first value.

상기 PCR 카운터(34)는 로칼 클럭 발생기(32)의 27MHz의 클럭신호를 정상적인 상태(Steady state)일때 150clock 마다 출력레벨을 "1"과 "0"상태로 토글링(Toggling)하는 시스템 카운터(31)에 입력단이 연결되어 시스템 클럭의 대역인 90KHz(27MHz를 300클럭으로 나눈)를 입력으로 받게된다.The PCR counter 34 is a system counter 31 that toggles the output level of the clock signal of 27 MHz of the local clock generator 32 to " 1 " and " 0 " states every 150 clocks in the steady state. ) Is connected to receive the input of 90KHz (27MHz divided by 300 clocks), the band of the system clock.

상기 시스템 카운터(31)로 부터 출력되는 90KHz의 클럭은 수직, 수평동기신호발생부(35)를 거쳐 동기클럭으로 출력되고 로칼 클럭 발생기의 27MHz의 클럭은 분주기(33)에서 이분(二分)되어 13.5MHz의 픽셀 클럭으로 출력되게 된다.The 90 KHz clock output from the system counter 31 is output as a synchronous clock through the vertical and horizontal synchronous signal generators 35, and the 27 MHz clock of the local clock generator is divided in two by the divider 33. It will output at a pixel clock of 13.5MHz.

상기 PCR 카운터(34)의 예측값(PCR')과 제2헤더정보에서 검출된 제2PCR값은 감산기(36)에서 비교 감산되어 임계값 검출부(30)에 의해 업 또는 다운의 제어신호를 시스템 카운터(31)로 출력되게 된다.The predicted value PCR 'of the PCR counter 34 and the second PCR value detected in the second header information are compared and subtracted by the subtractor 36, and the threshold detection unit 30 converts the up or down control signal into a system counter ( 31).

시스템 카운터(31)가 0인 상태의 시간 간격을 150클럭에서 줄이거나 늘리는 기능을 수행한다.The time interval in which the system counter 31 is zero is reduced or increased at 150 clocks.

상기 임계값 검출부(30)에서 검출되는 임계값의 위상 오차범위는 응용분야에 따라 다르나 대체로 ±10%의 듀티비(Duty Rate)와 클럭주기의 오차를 허용한다.The phase error range of the threshold detected by the threshold detector 30 varies depending on the application, but generally allows a duty rate of ± 10% and an error of a clock period.

따라서, ±10%의 오차가 발생하였을때, 시스템 카운터(31)의 주기는 300 클럭이므로 30클럭(300클럭×0.1에서 산출된)을 시스템 카운터(31)에서 줄이거나 늘리게 된다.Therefore, when an error of ± 10% occurs, the period of the system counter 31 is 300 clocks, so 30 clocks (calculated at 300 clocks x 0.1) are reduced or increased by the system counter 31.

즉, 임계값 검출부(30)에 +의 값이 입력되면(PCR의 값이 크다는 것을 의미하며 부호화기(Encoder)의 클럭위상이 빠름을 나타내는것) 시스템 카운터(31)는 120클럭이 기준클럭수가 되며 120클럭이 카운트되어 출력레벨을 변화시킨후에 다시 위상이 앞으로 당겨져 150클럭으로 되게된다.That is, when the value of + is input to the threshold detector 30 (which means that the value of PCR is large and indicates that the clock phase of the encoder is fast), the system counter 31 becomes 120 reference clocks. After 120 clocks are counted and the output level is changed, the phase is pulled forward again to 150 clocks.

-의 값이 입력되면 시스템 카운터(31)는 150클럭이 기준클럭수가 되며 150 클럭이 카운트되어 출력레벨을 변화시킨후에 다시 위상이 뒤로 밀려 150클럭이 기준 클럭수가 된다.If a value of-is input, the system counter 31 becomes the reference clock number of 150 clocks and 150 clocks are counted to change the output level.

본 고안에 따른 시스템 클럭의 본원의 예를 나타낸 타이밍도인 제4도에서와 같이 "a"의 경우는 PCR값이 PCR' 보다 커서 위상이 부호화기(Encoder)에서 빠른 경우를 나타낸 것으로 위상오차가 90KHz의 시스템 카운터에서 발생한 클럭의 허용오차를 넘으면 업신호에 의해 출력레벨의 '0'상태의 길이가 줄어들게 되어 정상 REP(Rising Edge Position)보다 앞에서 RE(Rising Edge)가 발생한다.As shown in FIG. 4, which is a timing diagram showing an example of a system clock according to the present invention, "a" indicates a case where a phase value is faster in an encoder because the PCR value is larger than PCR 'and the phase error is 90 KHz. If the tolerance of the clock generated by the system counter is exceeded, the length of the '0' state of the output level is reduced by the up signal, and a rising edge (RE) occurs before the normal rising edge position (REP).

그러므로 다음 RE에서는 위상이 정렬(align)되었음을 나타낸 것이다.Therefore, the following RE shows that the phase is aligned.

"b"는 반대의 경우를 나타낸 것으로 PCR' 값이 PCR보다 커서 위상이 부호화기(Encoder)에서 늦은 경우를 나타낸 것으로, 다운 신호에 의해 출력레벨의 '0'상태의 길이가 늘어나게 되어 정상 REP 보다 늦게 RE가 발생하므로 다음 RE에서는 위상이 정렬(align)되게 된다."b" indicates the opposite case, which means that the PCR 'value is larger than the PCR and the phase is later in the encoder. The length of the' 0 'state of the output level is increased later than the normal REP due to the down signal. As the RE occurs, the phase is aligned in the next RE.

상기와 같은 본 고안의 디지탈 영상 디코더의 클럭 복원회로는 카운터와 게이트만을 사용하여 클럭 복원기능을 수행하게 하여 회로가 단순화되고, 저가의 구성으로 제조원가를 절감하는 효과가 있다.As described above, the clock recovery circuit of the digital image decoder of the present invention performs a clock recovery function using only a counter and a gate, thereby simplifying the circuit and reducing manufacturing cost with a low cost configuration.

Claims (1)

임의의 간격으로 입력되는 비트 스트림상의 헤더(header)정보에 실려있는 시간 정보(PCR 또는 SCR)에 의해 부호화기(Encoder)의 시스템 클럭에 동기화된 클럭을 출력하는 디지탈 영상 디코더의 클럭 복원회로에 있어서, 로칼 클럭(Local Clock)을 발생하는 로칼 클럭 발생기와, 입력되는 제어신호에 의해 기준클럭수를 달리하여 상기의 로칼 클럭을 카운팅하여 상기 기준클럭수마다 출력레벨을 변화시켜 클럭신호를 출력하는 시스템 카운터와, 상기 시스템 카운터의 출력신호 및 제1헤더정보의 PCR 값을 입력으로 하여 예측값(PCR')을 출력하는 PCR 카운터와, 상기 PCR 카운터의 예측값(PCR')과 제2헤더정보의 PCR을 비교 감산하는 감산기와, 상기 감산기의 출력을 입력으로 하여 임계값 이상의 오차가 발생할때마다 제어신호를 출력하여 시스템 카운터의 기준클럭수를 변화시키는 임계값 검출부와, 상기 시스템 카운터의 출력신호를 분주하여 수직, 수평 동기신호를 발생하는 수직, 수평동기신호발생부와, 상기 로칼 클럭 발생기의 출력신호를 ½ 분주하여 픽셀 클럭을 출력하는 분주기를 포함하여 구성됨을 특징으로 하는 디지탈 영상 디코더의 클럭 복원회로.In a clock recovery circuit of a digital video decoder for outputting a clock synchronized with a system clock of an encoder by time information (PCR or SCR) contained in header information on a bit stream input at an arbitrary interval, Local clock generator for generating a local clock, and a system counter for counting the local clock by varying the number of reference clocks according to an input control signal, and outputting a clock signal by changing the output level for each reference clock. And a PCR counter for outputting the prediction value PCR 'by inputting the output signal of the system counter and the PCR value of the first header information, and comparing the PCR of the predicted value PCR' of the PCR counter with the second header information. A subtractor for subtracting and an output of the subtractor are inputted to output a control signal whenever an error exceeding a threshold occurs so as to change the reference clock number of the system counter. A threshold detector for dividing the output signal of the system counter to generate a vertical and horizontal synchronization signal, and a divider for dividing the output signal of the local clock generator to output a pixel clock. Clock recovery circuit of the digital video decoder, characterized in that it comprises a.
KR2019940030156U 1994-11-15 1994-11-15 Clock restration circuit of digital image decoder KR200165753Y1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR2019940030156U KR200165753Y1 (en) 1994-11-15 1994-11-15 Clock restration circuit of digital image decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR2019940030156U KR200165753Y1 (en) 1994-11-15 1994-11-15 Clock restration circuit of digital image decoder

Publications (2)

Publication Number Publication Date
KR960019399U KR960019399U (en) 1996-06-19
KR200165753Y1 true KR200165753Y1 (en) 2000-01-15

Family

ID=19398135

Family Applications (1)

Application Number Title Priority Date Filing Date
KR2019940030156U KR200165753Y1 (en) 1994-11-15 1994-11-15 Clock restration circuit of digital image decoder

Country Status (1)

Country Link
KR (1) KR200165753Y1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005029845A1 (en) * 2003-09-22 2005-03-31 Samsung Electronics Co., Ltd. Display synchronization signal generation apparatus in digital broadcast receiver and decoder

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005029845A1 (en) * 2003-09-22 2005-03-31 Samsung Electronics Co., Ltd. Display synchronization signal generation apparatus in digital broadcast receiver and decoder
US7365797B2 (en) 2003-09-22 2008-04-29 Samsung Electronics Co., Ltd. Display synchronization signal generation apparatus in digital broadcast receiver and decoder

Also Published As

Publication number Publication date
KR960019399U (en) 1996-06-19

Similar Documents

Publication Publication Date Title
JPH0468625A (en) Asynchronizing signal extraction circuit
PL174674B1 (en) Video and audio signals synchronising system
KR100224099B1 (en) Synchronization signals and method for audio/video signals
KR100238287B1 (en) Frame synchronizing device and method therefor
KR100816964B1 (en) Data processing device and method thereof
KR940013256A (en) Image processing device prevents image deterioration and circuit
KR200165753Y1 (en) Clock restration circuit of digital image decoder
KR20010090453A (en) Data recording and reproducing apparatus
JPS6114705B2 (en)
JP2002152736A (en) Phase locked loop oscillation circuit
KR0149809B1 (en) Clock generating circuit
JPH1056581A (en) Pll circuit for display device
JP2573727B2 (en) PLL circuit for video signal
KR970057890A (en) Device for compensating synchronization of video signal and audio signal without phase lock circuit (PLL)
KR950002212Y1 (en) Apparatus for separating vertical synchronizing signal
KR910013933A (en) Main Clock Generation Method and Circuit of Digital Television Receiver
KR100219516B1 (en) Pll for horizontal synchronous signals
KR0169855B1 (en) Apparatus for controlling reset signals in trigger board
JP2962391B2 (en) PLL circuit
JPH1188187A (en) Coder and decoder
JP3125270B2 (en) Motion detection circuit and memory control circuit in YC separation circuit for PAL signal
JPH0151116B2 (en)
JPS6269791A (en) Clock signal reproducing device
JPS63234722A (en) Phase locked loop circuit
JPH05300470A (en) Clock signal generation circuit

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
REGI Registration of establishment
FPAY Annual fee payment

Payment date: 20070918

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee