KR101336799B1 - Apparatus for reproducing and method for controlling timing - Google Patents

Apparatus for reproducing and method for controlling timing Download PDF

Info

Publication number
KR101336799B1
KR101336799B1 KR20070054627A KR20070054627A KR101336799B1 KR 101336799 B1 KR101336799 B1 KR 101336799B1 KR 20070054627 A KR20070054627 A KR 20070054627A KR 20070054627 A KR20070054627 A KR 20070054627A KR 101336799 B1 KR101336799 B1 KR 101336799B1
Authority
KR
South Korea
Prior art keywords
clock
reproduction
unit
data
count value
Prior art date
Application number
KR20070054627A
Other languages
Korean (ko)
Other versions
KR20080063029A (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 삼성전자주식회사
Publication of KR20080063029A publication Critical patent/KR20080063029A/en
Application granted granted Critical
Publication of KR101336799B1 publication Critical patent/KR101336799B1/en

Links

Images

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • 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/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

본 발명은 정확한 클록을 생성하면서 구성을 소형화 하고, 시스템을 자유롭게 설계하여 이용 가능하며, 영상·음성 데이터를 끊김 없이 재생 가능하도록 하는 재생 장치 및 타이밍 제어 방법을 제공한다. 본 발명의 재생 장치(100)는 제2 클록을 생성하여 재생 데이터를 공급하는 튜너 유닛(120), 튜너 유닛(120)으로부터 재생 데이터를 공급받아 재생 데이터를 저장하는 데이터 저장부(130), 제1 클록을 생성하여 데이터 저장부(130)로부터 재생 데이터를 취득하여 재생하는 디코더(140), 튜너 유닛(120)으로부터 제2 클록 및 디코더(140)로부터 제1 클록을 각각 입력받아, 제1 클록 및 제2 클록에 기초하여 디코더(140)의 재생 타이밍을 제어하는 동기 제어부(150)를 포함하는 것을 특징으로 한다.

Figure R1020070054627

The present invention provides a reproducing apparatus and a timing control method for minimizing a configuration while generating an accurate clock, freely designing and using a system, and enabling a seamless reproduction of video and audio data. The reproducing apparatus 100 of the present invention includes a tuner unit 120 for generating a second clock and supplying regeneration data, a data storage unit 130 for receiving regeneration data from the tuner unit 120 and storing regeneration data. A first clock is generated by receiving a second clock and a first clock from the decoder 140 and the decoder 140 that generate one clock, acquire playback data from the data storage unit 130, and reproduce the data. And a synchronization controller 150 that controls the reproduction timing of the decoder 140 based on the second clock.

Figure R1020070054627

Description

재생 장치 및 타이밍 제어 방법{Apparatus for reproducing and method for controlling timing}Apparatus for reproducing and method for controlling timing}

도 1은 본 발명의 일 실시 예에 따른 재생 장치의 구성을 보이는 블록도 이다.1 is a block diagram showing a configuration of a playback apparatus according to an embodiment of the present invention.

도 2는 본 발명의 일 실시 예에 따른 도 1의 재생 장치 중 동기 제어부의 상세 구성을 보이는 블록도 이다.FIG. 2 is a block diagram illustrating a detailed configuration of a synchronization controller in the playback device of FIG. 1 according to an embodiment of the present invention.

도 3은 본 발명의 일 실시형 예에 따른 타이밍 제어 방법의 동작을 보이는 흐름도 이다.3 is a flowchart illustrating an operation of a timing control method according to an exemplary embodiment of the present invention.

도 4는 종래 기술에 따른 데이터 수신측에 포함될 수 있는 MPEG2-TS 규격을 이용한 클록 생성부의 구성을 보이는 블록도 이다.4 is a block diagram showing a configuration of a clock generation unit using the MPEG2-TS standard which can be included in the data receiving side according to the prior art.

도 5는 종래 기술에 따른 수신기의 구성을 보이는 블록도 이다.5 is a block diagram showing the configuration of a receiver according to the prior art.

< 도면의 주요부분에 대한 부호의 간단한 설명 ><Brief description of symbols for the main parts of the drawings>

100 : 재생 장치 110 : 안테나100: playback device 110: antenna

120 : 튜너 유닛 130 : 데이터 저장부120: tuner unit 130: data storage unit

140 : 디코더 150 : 동기 제어부140: decoder 150: synchronization control unit

152 : 제1 카운터 154 : 제2 카운터152: first counter 154: second counter

156 : 비교부 160 : 제1 제어 신호 출력부156: comparison unit 160: first control signal output unit

162 : 제2 제어 신호 출력부162: second control signal output unit

본 발명은 재생 장치 및 타이밍 제어 방법에 관한 것이다.The present invention relates to a playback apparatus and a timing control method.

텔레비전 방송 또는 화상 전화 등과 같은 동영상/음성 전송 시스템이나, 동영상/음성 등의 신호가 기록된 광 디스크 또는 자기 디스크 등의 기록 매체를 재생하는 시스템에서는, 데이터의 전송로나 기록 매체를 유효하게 이용하기 위해, 고효율의 부호화를 수행하여 전송 효율을 높이는 방법이 알려져 있다. 이러한 부호화 방식으로는 MPEG(moving picture expert group)이 있다. MPEG 방식에는 텔레비젼 방송용 규격으로서, MPEG-2 방식이나 MPEG-4 방식 등이 있다. In a video / audio transmission system such as a television broadcast or a video telephone, or a system for reproducing a recording medium such as an optical disk or a magnetic disk on which a signal such as a video / audio is recorded, in order to effectively use a data transmission path or a recording medium. In addition, a method of improving transmission efficiency by performing encoding with high efficiency is known. Such a coding scheme includes a moving picture expert group (MPEG). The MPEG system includes the MPEG-2 system and the MPEG-4 system as a standard for television broadcasting.

MPEG-2 방식에는 부호화 규격뿐만 아니라, 부호화한 신호를 다중화하여 전송하는 MPEG-2 시스템이라는 규격이 정해져 있다. MPEG-2 시스템에는 트랜스포트 스트림(TS:transport stream)이라는 전송규격과, 프로그램 스트림(PS:program stream)이라는 전송규격이 있다. 그 중 TS 전송규격은 방송이나 통신에 적용을 상정한 것으로, 일본을 비롯하여 세계 여러 나라에서 디지털 방송 규격으로 사용되고 있다. In the MPEG-2 system, not only an encoding standard, but also an MPEG-2 system for multiplexing and transmitting encoded signals is defined. The MPEG-2 system has a transmission standard called a transport stream (TS) and a transmission standard called a program stream (PS). Among them, the TS transmission standard is intended to be applied to broadcasting and communication, and is used as a digital broadcasting standard in many countries including Japan.

MPEG2-TS 규격을 사용하는 디지털 방송 시스템에서는, 송신측에서 MPEG 방식을 사용하여 인코딩한 동영상 또는 음성이 포함된 데이터를 수신측에서 수신하여 디코딩함으로써 동영상 또는 음성을 재생한다. 수신측에서는 디코딩을 위한 클록을 생성하고, 생성한 클록에 기초하여 동영상 또는 음성 데이터에 대해 디코딩 처리를 수행한다. 디코딩 처리 제어 방법으로서, 예를 들어 일본 특개 평11-252543호가 있다.In a digital broadcasting system using the MPEG2-TS standard, a moving picture or audio is reproduced by receiving and decoding data containing a moving picture or audio encoded using the MPEG method at the transmitting side. The receiving side generates a clock for decoding and performs decoding processing on the video or audio data based on the generated clock. As a decoding processing control method, there is, for example, Japanese Patent Laid-Open No. 11-252543.

도 4는 종래 기술에 따른 데이터 수신측에 포함될 수 있는 MPEG2-TS 규격을 이용한 클록 생성부의 구성을 보이는 블록도 이다. 도 4에 도시된 바와 같이, 종래의 클록 생성부(10)는 RF(radio frequency) 튜너(11), 복조부(12), 헤더 검출부(13), STC(system time clock)카운터(14), 비교부(15)와, LPF(low pass filter:저역 통과 필터)(16), VCXO(voltage-controlled rrystal oscillator: 전압 제어 수정 발진기)(17)를 포함한다.4 is a block diagram showing a configuration of a clock generation unit using the MPEG2-TS standard which can be included in the data receiving side according to the prior art. As shown in FIG. 4, the conventional clock generator 10 includes a radio frequency (RF) tuner 11, a demodulator 12, a header detector 13, a system time clock (STC) counter 14, A comparator 15, a low pass filter (LPF) 16, and a voltage-controlled rrystal oscillator (VCXO) 17 are included.

도 4를 참조하여 클록 생성부(10)의 동작을 설명하면, RF튜너(11)는 안테나(18)로부터 수신한 무선 신호로부터 음성·영상 신호를 추출한다. 복조부(12)는 추출된 음성·영상 신호의 복호처리를 수행한다. 복호된 음성·영상 신호는 헤더 검출부(13)에 입력되고, PCR(program clock reference: 프로그램 시각 기준 참조값)을 추출한다. 추출한 PCR을 이용하여 STC카운터(14)에서 PCR에 기재된 카운터값을 읽어낸다. 읽어낸 카운터값은 STC카운터(14)의 초기값이 된다. 그리고, 비교부(15)는 PCR에 기재된 카운터값과 STC카운터(14)의 카운터값을 비교하여 차분을 계산한다. 비교부(15)의 계산 결과는 LPF(16)에 입력되고, LPF(16)의 출력 결과를 전압으로하여 VCXO(17)에 입력한다. VCXO(17)는 이 전압신호로부터 수신측 전체의 동작을 위한 27MHz의 클록을 생성한다. 생성한 클록은 클록 생성부(10)로부터 출 력되는 것 외에, 복조부(12), 헤더 검출부(13) 및 STC카운터(14)에 입력되어 이들을 동작시키고, RF튜너(11)에서 추출한 음성·영상 신호로부터 PCR을 추출하여 비교부(15)의 차분 계산 처리로 되돌아간다. 이러한 처리를 반복하여 영상·음성 신호와 클록 신호를 생성한다.Referring to FIG. 4, the operation of the clock generator 10 will be described. The RF tuner 11 extracts an audio / video signal from the radio signal received from the antenna 18. The demodulator 12 performs decoding processing of the extracted audio / video signal. The decoded audio / video signal is input to the header detector 13 to extract a PCR (program clock reference). Using the extracted PCR, the STC counter 14 reads the counter value described in the PCR. The read counter value becomes the initial value of the STC counter 14. And the comparison part 15 compares the counter value described in PCR with the counter value of STC counter 14, and calculates a difference. The calculation result of the comparator 15 is input to the LPF 16, and the output result of the LPF 16 is input to the VCXO 17 as a voltage. The VCXO 17 generates a 27 MHz clock for operation of the entire receiving side from this voltage signal. The generated clock is outputted from the clock generator 10, inputted to the demodulator 12, the header detector 13, and the STC counter 14 to operate them, and the audio / audio extracted by the RF tuner 11 is generated. PCR is extracted from the video signal and the process returns to the difference calculation process of the comparison unit 15. This process is repeated to generate a video / audio signal and a clock signal.

그러나, 도 4에 도시된 클록 생성부(10)에는 LPF(16)와 VCXO(17)라는 아날로그 회로가 존재한다. 시스템을 안정하게 동작시키기 위해 27MHz의 클록을 정확하게 생성하고자 하는 경우, 그 만큼 회로 규모가 커져야 하는 문제가 있다. 또한, 소형의 휴대 기기에 내장하는 경우, 소형의 휴대 기기에는 진동 등의 외란이 많아 아날로그 회로를 사용하는 것은 문제점이 있다. 나아가, 클록 생성부(10)에서 생성한 클록은 수신측의 시스템을 동작시키는 시스템 클록으로, 비디오 출력, 음성 출력, CPU 동작 등의 전부를, 클록 생성부(10)에서 생성한 클록을 기준으로 동작시켜야 하므로 시스템 설계의 자유도를 저해하는 문제점이 있다.However, in the clock generation unit 10 shown in FIG. 4, there are analog circuits such as the LPF 16 and the VCXO 17. In order to accurately generate a 27 MHz clock in order to operate the system stably, there is a problem that the circuit size must be increased. In addition, when incorporated into a small portable device, there is a problem that the small portable device uses an analog circuit due to a lot of disturbances such as vibration. Furthermore, the clock generated by the clock generator 10 is a system clock that operates the system on the receiving side, and all of the video output, audio output, CPU operation, and the like are based on the clock generated by the clock generator 10. Since there is a need to operate, there is a problem that impairs the freedom of system design.

이와 같은 문제점을 해결하기 위한 구성으로서, 도 5에 도시된 수신기의 구성을 생각할 수 있다. 도 5에 도시된 수신기(20)은 안테나(21), 튜너 유닛(22), 데이터 저장부(23), 디코더(24)를 포함한다. 도 5에 도시된 수신기(20)와 같이, 튜너 유닛(22)의 클록과 디코더(24)의 동작 클록을 분리함으로써 시스템의 구성을 간단화하고 설계의 자유도도 높일 수 있다. As a configuration for solving such a problem, the configuration of the receiver shown in FIG. 5 can be considered. The receiver 20 shown in FIG. 5 includes an antenna 21, a tuner unit 22, a data storage unit 23, and a decoder 24. Like the receiver 20 shown in FIG. 5, the clock of the tuner unit 22 and the operating clock of the decoder 24 can be separated to simplify the configuration of the system and increase the degree of freedom in design.

그러나, 이와 같은 구성은 영상·음성 데이터의 공급원이 DVD나 HDD와 같이 안정되게 데이터를 공급할 수 있는 DSM(digitai storage media) 시스템인 경우에는 양호하게 동작하지만, 안테나(21)로부터 영상·음성 데이터를 수신하여 재생하는 경우에는 반드시 양호하게 동작하는 것은 아니다. 왜냐하면, 영상·음성 데이터의 공급원이 DVD나 HDD와 같이 안정되게 데이터를 공급할 수 있는 DSM 시스템인 경우, 데이터 저장부(23)에 저장되는 데이터가 적어지거나 데이터가 결핍되는 경우에는 DSM 시스템으로부터 고속으로 데이터를 독출함으로써 대처할 수 있지만, 영상·음성 데이터의 공급원이 안테나(21)로부터 수신한 것인 경우에는, 데이터 전송률이 항상 일정하고, 튜너 유닛(22)은 대용량의 버퍼가 구비되어 있지 않기 때문에, 데이터의 누락이 생기면 인터럽트가 발생하게 되고, 경우에 따라서는 초단위로 영상·음성 데이터가 끊겨 버리는 문제점이 발생한다. However, this configuration works well when the source of video and audio data is a digital storage media (DSM) system capable of stably supplying data such as a DVD or an HDD. In the case of receiving and reproducing, it does not necessarily work well. If the source of video and audio data is a DSM system capable of stably supplying data such as a DVD or an HDD, when the data stored in the data storage unit 23 is short or there is a lack of data, the DSM system can provide high speed data. Although data can be dealt with by reading data, when the source of video and audio data is received from the antenna 21, the data rate is always constant, and the tuner unit 22 is not provided with a large buffer. Interruption occurs when data is missing, and in some cases video and audio data are interrupted in seconds.

본 발명은 상기 문제점를 감안하여 이루어진 것으로, 본 발명이 이루고자 하는 기술적인 과제는 정확한 클록을 생성하면서, 구성을 소형화 하고, 시스템 설계의 자유도를 저해하지 않으면서, 영상·음성 데이터를 끊김 없이 재생할 수 있는 신규하고 개량된 재생 장치 및 타이밍 제어 방법을 제공하는데 있다.SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and the technical problem to be solved by the present invention is to generate an accurate clock, to reduce the size of the configuration, and to reproduce video and audio data without interrupting the freedom of system design. The present invention provides a novel and improved reproduction apparatus and timing control method.

본 발명이 이루고자 하는 상기 기술적인 과제를 해결하기 위한 재생 장치는 제2 클록을 생성하고 재생 데이터를 공급하는 재생 데이터 공급부; 재생 데이터 공급부로부터 재생 데이터를 공급받아 저장하는 데이터 저장부; 제1 클록을 생성하고 데이터 저장부로부터 재생 데이터를 취득하여 재생하는 재생부; 재생 데이터 공급부로부터 제2 클록을, 재생부로부터 제1 클록을 각각 입력받아, 제1 클록 및 제2 클록에 기초하여 재생부에서의 재생 타이밍을 제어하는 동기 제어부;를 포함하는 것이 바람직하다.A reproducing apparatus for solving the above technical problem to be achieved by the present invention comprises: a reproducing data supply unit generating a second clock and supplying reproducing data; A data storage unit for receiving and storing reproduction data from a reproduction data supply unit; A reproducing section which generates a first clock and acquires and reproduces reproducing data from the data storage section; And a synchronization controller configured to receive the second clock from the reproduction data supply unit and the first clock from the reproduction unit, respectively, and control the reproduction timing in the reproduction unit based on the first clock and the second clock.

이러한 구성에 의하면, 재생 데이터 공급부는 제2 클록을 생성하여 재생 데이터를 공급하고, 데이터 저장부는 재생 데이터 공급부로부터 재생 데이터를 공급받아 저장하고, 재생부는 제1 클록을 생성하여 데이터 저장부로부터 재생 데이터를 취득하여 재생하고, 동기 제어부는 재생 데이터 공급부로부터 제2 클록을, 재생부로부터 제1 클록을 각각 입력받아, 제1 클록 및 제2 클록에 기초하여 재생부에서의 재생 타이밍을 제어한다. 그 결과, 2개의 클록에 따라 재생부에서의 재생 타이밍을 제어함으로써 시스템 설계의 자유도를 저해하지 않으며 영상·음성 데이터를 끊김 없이 재생할 수 있다. According to this configuration, the reproduction data supply unit generates a second clock to supply the reproduction data, the data storage unit receives and stores the reproduction data from the reproduction data supply unit, and the reproduction unit generates the first clock to reproduce the reproduction data from the data storage unit. The reproduction control unit acquires and reproduces the data, and the synchronization control unit receives the second clock from the reproduction data supply unit and the first clock from the reproduction unit, respectively, and controls the reproduction timing in the reproduction unit based on the first clock and the second clock. As a result, video and audio data can be played back seamlessly without sacrificing freedom of system design by controlling the playback timing in the playback section in accordance with the two clocks.

동기 제어부는 제1 클록 및 제2 클록으로부터 주파수 차이를 검출하여 저장하고, 저장된 주파수 차이 값이 재생 타이밍으로 제어할 수 있는 소정의 문턱값을 넘으면 재생 타이밍을 제어를 수행할 수 있다. 이러한 구성에 의하면, 동기 제어부는 재생부로부터의 제1 클록과 재생 데이터 공급부로부터의 제2 클록과의 주파수 차를 검출하여 저장하고, 저장된 주파수 차이값이 재생 타이밍으로 제어할 수 있는 소정의 문턱값을 넘으면 재생 타이밍을 제어한다. 그 결과, 2개 클록의 주파수 차에 따라 재생부에서의 재생 타이밍을 제어할 수 있다. The synchronization controller may detect and store a frequency difference from the first clock and the second clock, and control the reproduction timing when the stored frequency difference value exceeds a predetermined threshold that can be controlled as the reproduction timing. According to this configuration, the synchronization control unit detects and stores the frequency difference between the first clock from the playback unit and the second clock from the reproduction data supply unit, and the predetermined threshold value at which the stored frequency difference value can be controlled by the reproduction timing. If exceeded, the playback timing is controlled. As a result, the reproduction timing in the reproducing section can be controlled in accordance with the frequency difference between the two clocks.

동기 제어부는 제1 클록을 입력받아 제1 카운트값을 계측하는 제1 카운터; 제2 클록을 입력받아 제2 카운트값을 계측하는 제2 카운터; 제1 카운트값과 상기 제2 카운트값을 비교하는 비교부; 비교부의 비교 결과에 기초하여 재생부에 대해서 재생 타이밍의 제어 신호를 출력하는 제어 신호 출력부;를 포함할 수 있다. 이러 한 구성에 의하면, 제1 카운터는 제1 클록을 입력받아 제1 카운트값을 계측하고, 제2 카운터는 제2 클록을 입력받아 제2 카운트값을 계측하고, 비교부는 제1 카운트값과 상기 제2 카운트값을 비교하고, 제어 신호 출력부는 비교부의 비교 결과에 기초하여 재생부에 대해서 재생 타이밍의 제어 신호를 출력한다. 그 결과, 2개의 클록을 비교함으로써 재생부에서 재생 타이밍을 제어하는 제어 신호를 출력할 수 있고, 그 제어 신호에 의해 재생부에서의 재생 타이밍을 제어할 수 있다. The synchronization controller may include a first counter configured to receive a first clock and measure a first count value; A second counter configured to receive a second clock and measure a second count value; A comparison unit comparing a first count value with the second count value; And a control signal output unit configured to output a control signal of reproduction timing to the reproduction unit based on the comparison result of the comparison unit. According to this configuration, the first counter receives the first clock to measure the first count value, the second counter receives the second clock to measure the second count value, and the comparator measures the first count value and the The second count value is compared, and the control signal output section outputs a control signal of reproduction timing to the playback section based on the comparison result of the comparison section. As a result, by comparing the two clocks, it is possible to output a control signal for controlling the reproduction timing in the reproduction unit, and the reproduction timing in the reproduction unit can be controlled by the control signal.

제어 신호 출력부는 제1 카운트값과 제2 카운트값의 차이가 소정 값 이상인 경우에 재생부에 대해서 재생 타이밍의 제어 신호를 출력할 수 있다. 이러한 구성에 의하면, 제어 신호 출력부는 제1 카운트값과 제2 카운트값의 차이가 소정 값 이상인 경우에 재생부에 대해서 재생 타이밍의 제어 신호를 출력한다. 그 결과, 2개 클록의 카운트값이 소정 값 이상 떨어져 있는 경우에 재생부에서의 재생 타이밍을 제어하는 제어 신호를 출력함으로써 재생부에서의 재생 타이밍을 제어할 수 있다.The control signal output unit may output a control signal of the reproduction timing to the reproduction unit when the difference between the first count value and the second count value is equal to or greater than a predetermined value. According to this configuration, the control signal output section outputs a control signal of the reproduction timing to the playback section when the difference between the first count value and the second count value is equal to or greater than the predetermined value. As a result, when the count values of the two clocks are separated by a predetermined value or more, the reproduction timing in the reproduction portion can be controlled by outputting a control signal for controlling the reproduction timing in the reproduction portion.

카운트값의 차이는 화상의 1프레임분에 상당할 수 있다. 그 결과, 제어 신호 출력부는 재생부에 대해서 화상의 1프레임분의 재생 타이밍을 제어하는 제어 신호를 출력할 수 있다. The difference in count value may correspond to one frame of an image. As a result, the control signal output unit can output a control signal for controlling the reproduction timing of one frame of the image to the reproduction unit.

제어신호 출력부는 제1 카운트값이 화상의 1프레임분을 초과한 경우에는 1프레임의 재생을 반복함으로써, 제2 카운트값이 화상의 1프레임분을 초과한 경우에는 1프레임의 재생을 스킵함으로써 재생 타이밍을 제어 할 수 있다. 그 결과, 제어 신호 출력부는 재생부에 대해서 화상의 1프레임분의 재생을 반복하거나, 재생을 스킵하거나 하는 재생 타이밍을 제어하는 제어 신호를 출력할 수 있다. The control signal output section repeats playback of one frame when the first count value exceeds one frame of the image, and skips playback of one frame when the second count value exceeds one frame of the image. You can control the timing. As a result, the control signal output unit can output a control signal for controlling the reproduction timing for repeating reproduction of one frame of the image or skipping reproduction for the reproduction unit.

제2 클록은 소정량의 지터를 가지는 클록이고, 제1 클록은 제2 클록과 비교하여 지터가 충분히 적고 정밀도가 높은 클록일 수 있다. 그 결과, 재생 데이터 공급부에서 정확한 클록을 생성할 수 없더라도 2개의 클록에 따라 재생부에서의 재생 타이밍을 제어함으로써 시스템 설계의 자유도를 저해하지 않으며 영상·음성 데이터를 끊김 없이 재생할 수 있다. The second clock may be a clock having a predetermined amount of jitter, and the first clock may be a clock having sufficiently low jitter and high precision as compared to the second clock. As a result, even if the reproduction data supply unit cannot generate an accurate clock, video and audio data can be reproduced without interrupting the degree of freedom in system design by controlling the reproduction timing in the reproduction unit according to the two clocks.

재생 데이터 공급부는 MPEG2-TS 규격에 준거한 튜너 유닛이고, 재생부는 MPEG2-TS 규격에 준거한 신호의 복호처리를 하는 디코더일 수 있다. The reproduction data supply unit may be a tuner unit conforming to the MPEG2-TS standard, and the reproduction unit may be a decoder for decoding a signal conforming to the MPEG2-TS standard.

재생 데이터 공급부는 IEEE1394 규격에 준거한 신호를 수신하는 수신기이고, 재생부는 IEEE1394 규격에 준거한 신호의 복호처리를 하는 디코더일 수 있다. The reproduction data supply unit may be a receiver for receiving a signal conforming to the IEEE 1394 standard, and the reproduction unit may be a decoder for decoding a signal conforming to the IEEE 1394 standard.

본 발명이 이루고자 하는 상기 기술적인 과제를 해결하기 위한 타이밍 제어 방법은 제1 클록을 생성하고 재생 데이터를 공급하는 재생 데이터 공급 단계; 재생 데이터 공급 단계에 의한 재생 데이터를 공급받아 재생 데이터를 저장하는 재생 데이터 저장 단계; 제2 클록을 생성하고 재생 데이터 저장 단계에서 저장한 재생 데이터를 취득하여 재생하는 재생 단계; 재생 데이터 공급 단계로부터 제1 클록을, 재생 단계로부터 제2 클록을 각각 입력받아, 제1 클록 및 제2 클록에 기초하여 재생 단계에서의 재생 타이밍을 제어하는 동기 제어 단계;를 포함하는 것을 특징으로 하는 타이밍 제어 방법이 제공된다. A timing control method for solving the above technical problem to be achieved by the present invention comprises: a reproduction data supply step of generating a first clock and supplying reproduction data; A reproduction data storage step of receiving reproduction data by the reproduction data supply step and storing reproduction data; A reproduction step of generating a second clock, acquiring and reproducing the reproduction data stored in the reproduction data storage step; And a synchronization control step of receiving a first clock from the reproduction data supply step and a second clock from the reproduction step, respectively, and controlling the reproduction timing in the reproduction step based on the first clock and the second clock. A timing control method is provided.

이러한 구성에 의하면, 재생 데이터 공급 단계는 제1 클록을 생성하여 재생 데이터를 공급하고, 재생 데이터 저장 단계는 재생 데이터 공급 단계에 의한 재생 데이터를 공급받아 재생 데이터를 저장하고, 재생 단계는 제2 클록을 생성하여 재 생 데이터 저장 단계에서 저장한 재생 데이터를 취득하여 재생하고, 동기 제어 단계는 재생 데이터 공급 단계로부터 제1 클록을, 재생 단계로부터 제2 클록을 각각 입력하고, 제1 클록 및 제2 클록에 기초하여 재생 단계에서의 재생 타이밍을 제어한다. 그 결과, 2개의 클록에 따라 재생 단계에서의 재생 타이밍을 제어함으로써, 시스템 설계의 자유도를 저해하지 않으며 영상·음성 데이터를 끊어짐 없이 재생할 수 있다.According to this configuration, the reproducing data supplying step generates a first clock to supply the reproducing data, the reproducing data storing step receives the reproducing data by the reproducing data supplying step to store the reproducing data, and the reproducing step is the second clock. Generate and reproduce the reproduced data stored in the reproduced data storage step, and input the first clock from the reproduced data supply step and the second clock from the reproduced step, respectively; The playback timing in the playback step is controlled based on the clock. As a result, by controlling the reproduction timing in the reproduction stage in accordance with the two clocks, the video and audio data can be reproduced without interruption of the degree of freedom in system design.

이하, 첨부도면을 참조하면서 본 발명의 바람직한 실시형태에 대해서 상세하게 설명한다. 본 명세서 및 도면에 있어서, 실질적으로 동일한 기능구성을 갖는 구성요소에 대해서는 동일한 부호를 부여함으로써 중복설명을 생략한다.EMBODIMENT OF THE INVENTION Hereinafter, preferred embodiment of this invention is described in detail, referring an accompanying drawing. In the present specification and drawings, redundant descriptions of components having substantially the same functional configuration are given the same reference numerals.

도 1은 본 발명의 일 실시 예에 따른 재생 장치(100)의 구성을 보이는 블록도 이다. 1 is a block diagram showing the configuration of a playback apparatus 100 according to an embodiment of the present invention.

도 1에 도시된 바와 같이, 본 발명의 일 실시 예에 따른 재생 장치(100)는 안테나(110), 튜너 유닛(120), 데이터 저장부(130), 디코더(140), 동기 제어부(150)를 포함한다.As shown in FIG. 1, the playback apparatus 100 according to an exemplary embodiment of the present invention includes an antenna 110, a tuner unit 120, a data storage unit 130, a decoder 140, and a synchronization controller 150. It includes.

재생 장치(100)는 안테나(110)로부터 복호화된 영상·음성 데이터를 수신하여, 영상이나 음성을 재생하여 출력하는 장치이다. 재생 장치(100)는, 예를 들어 디지털 방송 수신기일 수 있으며, DVD나 HDD로부터 영상·음성 데이터를 독취하여 재생하는 재생기일 수도 있다. 본 실시 예에서, 재생 장치(100)는 MPEG2-TS 방식을 사용한 영상·음성 데이터 재생 장치로서, 안테나(110)로부터 영상·음성 데이터를 수신하여 영상·음성 데이터를 재생한다. The reproducing apparatus 100 is a device that receives the decoded video and audio data from the antenna 110, and reproduces and outputs the video or audio. The reproduction device 100 may be, for example, a digital broadcast receiver, or may be a player that reads and reproduces video and audio data from a DVD or an HDD. In the present embodiment, the reproducing apparatus 100 is a video and audio data reproducing apparatus using the MPEG2-TS method, and receives the video and audio data from the antenna 110 to reproduce the video and audio data.

안테나(110)는 복호화된 영상·음성 데이터를 수신한다. 튜너 유닛(120)은 본 발명의 재생 데이터 공급부의 일례로 안테나(110)로부터 수신한 영상·음성 데이터 중에서 원하는 영상·음성 데이터를 선택하여 복조함과 동시에, 재생 장치(100)를 동작시키기 위한 클록을 생성한다. 본 발명에서 제2 클록의 일례인, 튜너 유닛(120)에서 생성하는 클록은 지터가 있는 클록이다. 튜너 유닛(120)의 내부 구성은 도 4에 도시된 바와 동일하므로, 튜너 유닛(120)의 내부 구성에 관한 상세한 설명을 생략한다. The antenna 110 receives the decoded video and audio data. The tuner unit 120 is an example of a reproduction data supply unit of the present invention that selects and demodulates desired image and audio data from the image and audio data received from the antenna 110, and at the same time, operates a clock for operating the reproduction device 100. Create The clock generated by the tuner unit 120, which is an example of the second clock in the present invention, is a jittered clock. Since the internal configuration of the tuner unit 120 is the same as that shown in FIG. 4, a detailed description of the internal configuration of the tuner unit 120 is omitted.

데이터 저장부(130)는 튜너 유닛(120)에서 복조된 영상·음성 데이터를 일시적으로 저장한다. 데이터 저장부(130)는 제일 먼저 저장된 것을 첫번째로 출력하는 이른바 FIFO(first in first out)의 특성을 가지고 있다. 데이터 저장부(130)에서 일시적으로 저장된 영상·음성 데이터는 저장된 것부터 순서대로 디코더(140)로 입력된다. The data storage unit 130 temporarily stores the demodulated video and audio data of the tuner unit 120. The data storage unit 130 has a characteristic of a so-called first in first out (FIFO) that outputs the first stored first. The video / audio data temporarily stored in the data storage unit 130 is input to the decoder 140 in order from the stored ones.

디코더(140)는 본 발명의 재생부의 일례로서, 데이터 저장부(130)로부터 취득한 영상·음성 데이터의 복호처리를 수행한다. 본 실시 예에 있어서, 디코더(140)는 영상·음성 데이터의 복호처리를 수행하는것 이외에, 재생 장치(100)를 동작시키기 위한 클록도 생성한다. 디코더(140)에서 생성하는 클록은 신뢰성이 높은 클록을 생성하는 것이 바람직하다. 본 발명에서 제1 클록의 일례인, 디코더(140)에서 생성하는 클록은 바람직하게는 재생 장치(100)를 안정되게 동작시키기 위한 27MHz의 클록이다. The decoder 140 is an example of a reproduction unit of the present invention and performs decoding processing of video and audio data obtained from the data storage unit 130. In the present embodiment, in addition to performing decoding processing of video and audio data, the decoder 140 also generates a clock for operating the reproduction device 100. The clock generated by the decoder 140 preferably generates a highly reliable clock. The clock generated by the decoder 140, which is an example of the first clock in the present invention, is preferably a 27 MHz clock for stably operating the reproduction device 100.

디코더(140)에서의 복호처리는 영상·음성 데이터의 부호화 처리에 기초하여 정해진다. 예를 들어 MPEG2-TS 방식을 사용하여 영상·음성 데이터가 부호화된 경우에는 MPEG 방식의 복호처리를 한다. 본 실시 예에서는, 재생 장치(100)가 MPEG2-TS 방식을 사용한 영상·음성 데이터 재생 장치이기 때문에, 디코더(140)에서 MPEG 방식의 복호처리를 하여 부호화된 영상·음성 데이터를 복호한다. The decoding process at the decoder 140 is determined based on the encoding process of the video and audio data. For example, when video and audio data are encoded using the MPEG2-TS system, MPEG decoding is performed. In the present embodiment, since the playback device 100 is a video and audio data playback device using the MPEG2-TS system, the decoder 140 decodes the encoded video and audio data by performing MPEG decoding processing.

동기 제어부(150)는 튜너 유닛(120)과 디코더(140)로부터 클록 신호를 입력받아 비교하고, 비교 결과를 디코더(140)에 출력하여 디코더(140)의 동작을 제어한다. 동기 제어부(150)가 디코더(140)에 신호를 출력하여 디코더(140)의 동작을 제어함으로써, 영상·음성 데이터를 끊김 없이 재생할 수 있게 된다. 동기 제어부(150)의 내부 구성 및 동작에 대해서는 후술한다. The synchronization controller 150 receives a clock signal from the tuner unit 120 and the decoder 140, compares the clock signal, and outputs a comparison result to the decoder 140 to control the operation of the decoder 140. The synchronization controller 150 outputs a signal to the decoder 140 to control the operation of the decoder 140, so that video and audio data can be seamlessly reproduced. The internal structure and operation of the synchronization controller 150 will be described later.

이상, 도 1을 사용하여 본 발명의 일 실시 예에 따른 재생 장치(100)의 구성에 대해서 설명하였다. 다음으로, 본 발명의 일 실시 예에 따른 동기 제어부(150)의 구성에 대해서 설명한다. The configuration of the reproducing apparatus 100 according to an exemplary embodiment of the present invention has been described above with reference to FIG. 1. Next, a configuration of the synchronization controller 150 according to an embodiment of the present invention will be described.

도 2는 본 발명의 일 실시 예에 따른 도 1의 재생 장치 중 동기 제어부의 상세 구성을 보이는 블록도 이다.FIG. 2 is a block diagram illustrating a detailed configuration of a synchronization controller in the playback device of FIG. 1 according to an embodiment of the present invention.

도 2에 도시된 바와 같이, 본 발명의 일 실시 예에 따른 동기 제어부(150)는 제1 카운터(152), 제2 카운터(154), 비교부(156), 제1 제어 신호 출력부(160), 제2 제어 신호 출력부(162)를 포함한다.As shown in FIG. 2, the synchronization controller 150 according to an embodiment of the present invention may include a first counter 152, a second counter 154, a comparator 156, and a first control signal output unit 160. ), And a second control signal output unit 162.

제1 카운터(152)는 디코더(140)로부터 클록을 입력받아 클록을 카운트한다. 제1 카운터(152)에서 카운트하는 제1 카운트값은 비교부(156)에 입력된다. 제2 카운터(154)는 튜너 유닛(120)으로부터의 클록을 입력받아 클록을 카운트한다. 제2 카운터(154)에서 카운트하는 제2 카운트값은 마찬가지로 비교부(156)에 입력된다. The first counter 152 receives the clock from the decoder 140 and counts the clock. The first count value counted by the first counter 152 is input to the comparator 156. The second counter 154 receives the clock from the tuner unit 120 and counts the clock. The second count value counted by the second counter 154 is similarly input to the comparator 156.

비교부(156)는 제1 카운터(152)의 제1 카운트값 및 제2 카운터(154)의 제2 카운트값을 입력받아, 2개의 카운트값을 비교 연산한다. 비교부(156)는 비교 연산 결과를 제1 제어 신호 출력부(160) 및 제2 제어 신호 출력부(162)로 입력한다. 비교부(156)의 비교 연산에 대해서는 후술한다. The comparator 156 receives the first count value of the first counter 152 and the second count value of the second counter 154, and compares the two count values. The comparator 156 inputs a result of the comparison operation to the first control signal output unit 160 and the second control signal output unit 162. The comparison operation of the comparison unit 156 will be described later.

제1 제어 신호 출력부(160) 및 제2 제어 신호 출력부(162)는 비교부(156)의 비교 연산 결과에 기초하여 디코더(140)를 제어하는 제어 신호를 출력한다. 비교부(156)의 비교 연산 결과에 기초하여 출력하는 제어 신호에 대해서는 후술한다. The first control signal output unit 160 and the second control signal output unit 162 output control signals for controlling the decoder 140 based on the comparison operation result of the comparator 156. The control signal output based on the comparison operation result of the comparison unit 156 will be described later.

이상, 본 발명의 일 실시 예에 따른 동기 제어부(150)의 구성에 대해서 설명하였다. 다음으로, 본 발명의 일 실시 예에 따른 타이밍 제어 방법에 대해서 설명한다. In the above, the configuration of the synchronization controller 150 according to an embodiment of the present invention has been described. Next, a timing control method according to an embodiment of the present invention will be described.

디코더(140)를 동작시키는 클록(이하, 디코더(140)를 동작시키는 클록을 「디코더 클록」이라고 표기함)은 통상은 정밀도가 높은 안정된 클록을 사용한다. 디코더(140)를 동작시키는 클록으로 27MHz의 수정 진동자를 사용하는 것이 적합하다. 한편, 튜너 유닛(120)을 동작시키는 클록(이하, 튜너 유닛(120)을 동작시키는 클록을 「튜너 클록」이라고 표기함)은 PCR로부터 얻어지는 클록이다. 디코더 클록과 같이 정밀도가 높고 지터가 적은 안정된 클록과 달리, 튜너 클록은 디코더 클록과 비교하여 정밀도가 나쁘고 어느 정도의 지터를 가지고 있다. The clock for operating the decoder 140 (hereinafter, the clock for operating the decoder 140 is referred to as "decoder clock") usually uses a stable clock with high precision. It is suitable to use a 27 MHz crystal oscillator as the clock to operate the decoder 140. On the other hand, the clock for operating the tuner unit 120 (hereinafter, the clock for operating the tuner unit 120 is referred to as "tuner clock") is a clock obtained from PCR. Unlike stable clocks with high precision and low jitter, such as decoder clocks, tuner clocks have poor precision and some jitter compared to decoder clocks.

디코더 클록과 튜너 클록의 주파수가 다르면 디코더(140)에서의 동작에 지장이 생긴다. 예를 들어 디코더 클록의 주파수가 높으면, 디코더(140)의 디코딩 처 리가, 튜너 유닛(120)의 영상·음성 데이터에 대한 복조 처리보다 더 빨리 진행되기 때문에, 디코더(140)에서 디코딩할 영상·음성 데이터가 결핍되고 영상이나 음성이 끊어지게 된다. 한편, 튜너 클록의 주파수가 높으면, 튜너 유닛(120)의 영상·음성 데이터 복조 처리가, 디코더(140)의 디코딩 처리보다 더 빨리 진행되기 때문에, 데이터 저장부(130)에 일시적으로 저장되는 영상·음성 데이터가 넘쳐 버린다. If the frequency of the decoder clock and the tuner clock are different, the operation of the decoder 140 is disturbed. For example, if the frequency of the decoder clock is high, the decoding process of the decoder 140 proceeds faster than the demodulation process for the video and audio data of the tuner unit 120, so that the video and audio to be decoded by the decoder 140 are decoded. There is a lack of data and video or audio is lost. On the other hand, if the frequency of the tuner clock is high, the video / audio data demodulation process of the tuner unit 120 proceeds faster than the decoding process of the decoder 140, so that the video / temporarily stored in the data storage unit 130 Audio data overflows.

따라서, 본 실시 예에서 동기 제어부(150)가 디코더 클록 및 튜너 클록의 차이값을 계산하고, 이 차이값에 의해 디코더(140)의 디코딩 처리 타이밍을 제어한다. 계산된 차이값에 의해 디코더(140)의 디코딩 처리 타이밍을 제어함으로써 안정된 디코딩 화상을 생성할 수 있다. Therefore, in the present embodiment, the synchronization controller 150 calculates a difference value between the decoder clock and the tuner clock, and controls the decoding processing timing of the decoder 140 based on the difference value. By controlling the decoding processing timing of the decoder 140 by the calculated difference value, a stable decoded picture can be generated.

도 3은 본 발명의 일 실시형 예에 따른 타이밍 제어 방법의 동작을 보이는 흐름도 이다.3 is a flowchart illustrating an operation of a timing control method according to an exemplary embodiment of the present invention.

우선, 디코더(140)로부터 디코더 클록을 제1 카운터(152)에, 튜너 유닛(120)으로부터 튜너 클록을 제2 카운터(154)에 각각 입력하여 카운트값을 계측한다(단계 S110). 그리고, 제1 카운터(152)로부터 제1 카운트값(D_cnt)을, 제2 카운터(154)로부터 제2 카운트값(T_cnt)을 각각 출력하여 비교부(156)에 입력한다(단계 S112). First, the decoder clock is input from the decoder 140 to the first counter 152 and the tuner clock from the tuner unit 120 to the second counter 154, respectively, to measure the count value (step S110). Then, the first count value D_cnt is output from the first counter 152 and the second count value T_cnt is output from the second counter 154, respectively, and is input to the comparison unit 156 (step S112).

비교부(156)는 입력된 제1 카운트값(D_cnt) 및 제2 카운트값(T_cnt)을 사용하여 카운트값의 비교 연산을 수행한다(단계 S114). 본 실시형태에서는, 제1 카운트값(D_cnt)에서 제2 카운트값(T_cnt)을 뺀 값(A)과, 제2 카운트값(T_cnt)에서 제1 카운트값(D_cnt)을 뺀 값(B)을 각각 계산한다. 비교부(156)에서 계산된 값(A)은 제1 제어 신호 출력부(160)로 입력되고, 값(B)는 제2 제어 신호 출력부(162)로 입력된다. The comparison unit 156 performs a comparison operation of the count value using the inputted first count value D_cnt and the second count value T_cnt (step S114). In the present embodiment, a value A obtained by subtracting the second count value T_cnt from the first count value D_cnt, and a value B obtained by subtracting the first count value D_cnt from the second count value T_cnt. Calculate each. The value A calculated by the comparator 156 is input to the first control signal output unit 160, and the value B is input to the second control signal output unit 162.

값(A)가 제1 제어 신호 출력부(160)로, 값(B)가 제2 제어 신호 출력부(162)로 입력되면, 제1 제어 신호 출력부(160) 및 제2 제어 신호 출력부(162)에서 각각의 값이 소정 값 이상인지를 판단한다. 본 실시형태에서는, 값(A)가 900900을 초과하는지, 또는 값(B)가 900900을 초과하는지를 판단한다(단계 S116). 여기에서, 900900이라는 값은, NTSC 규격(national television standards committee)에서 27MHz의 클록의 1프레임분의 카운트값(27×10^6/ 30×(1001/1000))에 해당한다. 본 발명에서는, 소정 값은 900900에 한정되지 않는다. 소정 값은 내부에서 동작하는 클록의 주파수에 따라 결정할 수도 있다. When the value A is input to the first control signal output unit 160 and the value B is input to the second control signal output unit 162, the first control signal output unit 160 and the second control signal output unit are provided. In 162, it is determined whether each value is greater than or equal to a predetermined value. In this embodiment, it is determined whether the value A exceeds 900900 or whether the value B exceeds 900900 (step S116). Here, the value 900900 corresponds to a count value (27 × 10 6/30 × (1001/1000)) for one frame of a 27 MHz clock in the NTSC standard (national television standards committee). In the present invention, the predetermined value is not limited to 900900. The predetermined value may be determined according to the frequency of the clock operating therein.

값(A), 값(B)의 어느 쪽도 900900을 넘지 않는 경우에는, 상기 단계 S110으로 되돌아가 카운트값을 계측한다. 이 경우, 전체 시스템은 통상의 동작을 계속하게 된다. 한편, 값(A), 값(B)의 어느 한 쪽의 값이 900900을 초과하는 경우, 제1 제어 신호 출력부(160) 또는 제2 제어 신호 출력부(162)는 디코더(140)에 제어 신호를 출력한다. If neither the value A nor the value B exceeds 900900, the flow returns to step S110 to measure the count value. In this case, the whole system continues normal operation. On the other hand, when either the value A or the value B exceeds 900900, the first control signal output unit 160 or the second control signal output unit 162 controls the decoder 140. Output the signal.

본 실시형태에서는, 900900을 초과하는 것이 값(A)인지 값(B)인지 판단하고(단계 S118), 값(A)가 900900을 넘는 경우는 디코더 클록이 1프레임분만큼 튜너 클록보다 초과하고 있기 때문에, 데이터 저장부(130)에서 영상·음성 데이터가 고갈되지 않도록 디코더(140)에 1프레임분만큼 반복하여 디코딩하라는 제어 신호인 프레임 반복신호(frame duplicate신호)를 출력한다(단계 S120). 그리고, 제1 카운 터(152)의 카운트값에서 900900을 신속하게 감산한다(단계 S122). In the present embodiment, it is determined whether it is the value A or the value B exceeding 900900 (step S118). If the value A exceeds 900900, the decoder clock exceeds the tuner clock by one frame. Therefore, the data storage unit 130 outputs a frame duplicate signal (frame duplicate signal) which is a control signal to repeatedly decode by one frame so as not to exhaust the video and audio data (step S120). Then, 900900 is quickly subtracted from the count value of the first counter 152 (step S122).

한편, 값(B)가 900900을 넘는 경우에는, 튜너 클록이 1프레임분만큼 디코더 클록보다 초과하고 있기 때문에, 데이터 저장부(130)로부터 영상·음성 데이터가 넘치지 않도록, 디코더(140)에 1프레임만큼 데이터를 파기하고 다음 프레임부터 디코딩을 수행하도록 하는 제어 신호인 프레임 파기 신호(frame drop신호)를 출력한다(단계 S124). 그리고, 제2 카운터(154)의 카운트값에서 900900을 조속히 감산한다(단계 S126). 본 실시형태에서는 900900을 감산하는 것으로 하고 있지만, 본 발명은 반대측 카운터값에 900900을 가산함으로써도 실현할 수 있는 것은 당연하다. On the other hand, when the value B exceeds 900900, since the tuner clock exceeds one decoder clock for one frame, the decoder 140 has one frame so that video and audio data does not overflow from the data storage unit 130. Data is discarded as many times and a frame drop signal (frame drop signal), which is a control signal for decoding from the next frame, is output (step S124). Then, 900900 is quickly subtracted from the count value of the second counter 154 (step S126). In the present embodiment, 900900 is subtracted, but the present invention can be realized by adding 900900 to the counter value on the opposite side.

그리고, 900900을 초과하는 것이 값(A), 값(B)의 어느 쪽이더라도 영상·음성 데이터의 재생이 종료되었는지 여부를 판단하고, 종료하고 있지 않으면 상기 단계 S110에 되돌아가 카운트값의 계측을 속행한다. 한편, 영상·음성 데이터의 재생이 종료한 경우에는 카운트값의 계측을 종료한다. Then, whether the value (A) or value (B) exceeds 900900 is judged whether or not the reproduction of the video / audio data has ended, and if not, the process returns to step S110 to continue measuring the count value. do. On the other hand, when the reproduction of the video and audio data ends, the measurement of the count value ends.

이상, 도 3을 사용하여 본 발명의 일 실시 예에에 따른 타이밍 제어 방법에 대해서 설명하였다. 본 실시 예에서는, 동기 제어부(150)는 카운트값이 1프레임분 차이가 나면, 디코더(140)에 대해서 1프레임분 데이터를 반복하여 디코딩하거나, 1프레임분 데이터를 파기하기 위한 제어 신호를 출력하고 있지만, 본 발명은 이에 한정되지 않고 제어 신호를 출력하는 기준값을 2프레임분 이상의 카운트값으로 할 수 있으며, 이 경우에는 디코더(140)에 대해서 2프레임분 데이터를 반복하여 디코딩하거나, 2프레임분 데이터를 파기하기 위한 제어신호를 출력할 수도 있다. The timing control method according to an exemplary embodiment of the present invention has been described above with reference to FIG. 3. In the present exemplary embodiment, when the count value differs by one frame, the synchronization controller 150 repeatedly decodes one frame of data or outputs a control signal for discarding one frame of data. However, the present invention is not limited thereto, and the reference value for outputting the control signal may be a count value of 2 frames or more. In this case, the decoder 140 repeatedly decodes 2 frames of data or decodes 2 frames of data. It can also output a control signal for discarding.

이상 설명한 바와 같이, 본 발명의 일 실시 예에 따른 재생 장치(100) 및 타 이밍 제어 방법에 의하면, 디코더 클록과 튜너 클록과의 차분에 따라 디코더(140)의 재생 타이밍을 제어함으로써, 안정된 디코딩 처리가 행해지고, 영상이나 음성을 매끄럽게 재생할 수 있게 된다. 또한, 동기 제어부(150)의 구성은 모두 ASIC(application specific integrated circuit; 특정 용도용 집적회로)와 같은 디지털 회로로 구성할 수 있기 때문에 회로 면적을 소형화할 수 있다. 회로 면적을 소형화할 수 있으므로 재생 장치(100)의 소형화에 크게 기여하게 된다. As described above, according to the reproducing apparatus 100 and the timing control method according to an embodiment of the present invention, by controlling the reproduction timing of the decoder 140 in accordance with the difference between the decoder clock and the tuner clock, a stable decoding process The video and audio can be played smoothly. In addition, since the configuration of the synchronization controller 150 can be made of digital circuits such as application specific integrated circuits (ASICs), the circuit area can be miniaturized. Since the circuit area can be downsized, it greatly contributes to the downsizing of the reproducing apparatus 100.

상술한 타이밍 방법은 컴퓨터 프로그램에 의해 이루어질 수 있으며, 예를 들어 재생 장치(100)의 내부에 컴퓨터 프로그램이 기록되어 있는 기록 매체 및 컴퓨터 프로그램을 독출하여 실행하는 프로세서를 내장하고, 프로세서가 컴퓨터 프로그램을 순차적으로 독출하여 실행함으로써 이루어질 수 있다. The above-described timing method may be performed by a computer program. For example, a recording medium in which a computer program is recorded and a processor for reading out and executing the computer program are embedded in the reproduction apparatus 100, and the processor may execute the computer program. This can be achieved by reading out and executing sequentially.

이상 첨부 도면을 참조하면서 본 발명의 바람직한 실시형태에 대해 설명하였으며, 본 발명은 상기 예에 한정되지 않는 것은 물론이다. 당업자라면 특허청구범위에 기재된 기술적 사상의 범위내에서, 각종의 변경예 또는 수정예를 생각해 낼 수 있는 것은 분명하며, 그들에 대해서도 당연히 본 발명 기술적 범위에 속하는 것이라고 이해된다.As mentioned above, although preferred embodiment of this invention was described referring an accompanying drawing, it cannot be overemphasized that this invention is not limited to the said example. Those skilled in the art can clearly conceive of various modifications or modifications within the scope of the technical idea described in the claims, and it is understood that they belong to the technical scope of the present invention as well.

예를 들어, 상기 실시형태에서는 재생 장치(100)는 MPEG2-TS 방식을 사용한 영상·음성 데이터의 재생 장치로서, 안테나(110)로부터 수신한 영상·음성 데이터를 재생하고 있지만, 본 발명의 재생 장치의 형태는 이러한 예에 한정되지 않는다. 예를 들어, 본 발명의 재생 장치는 IEEE1394 규격에 준거한 신호를 수신하고, 수신한 신호에 포함되는 영상·음성 데이터를 재생하는 재생 장치일 수도 있다. For example, in the above embodiment, the reproduction device 100 is a reproduction device for video and audio data using the MPEG2-TS method, and reproduces video and audio data received from the antenna 110. However, the playback device of the present invention is used. The form of is not limited to this example. For example, the reproducing apparatus of the present invention may be a reproducing apparatus for receiving a signal conforming to the IEEE1394 standard and reproducing video and audio data included in the received signal.

또한, 본 발명의 재생 장치의 동기 제어부는 여러가지 기기에 적용 가능하다. 예를 들어, 소형의 텔레비전 수상기 이외에 소형의 휴대 가능한 기기에 적용할 수 있다. 소형의 휴대 가능한 기기로서, 예를 들어 휴대 전화, PDA(prsonal digital assistant), 디지털 카메라, 캠코더 등에 본 발명의 재생 장치의 동기 제어부를 적용할 수 있다.In addition, the synchronization controller of the playback apparatus of the present invention can be applied to various devices. For example, the present invention can be applied to a small portable device in addition to a small television receiver. As a small portable device, for example, a synchronization controller of the playback apparatus of the present invention can be applied to a cellular phone, a PDA (prsonal digital assistant), a digital camera, a camcorder, and the like.

상술한 바와 같이 본 발명에 따르면, 정확한 클록을 생성하면서, 구성을 소형화 하고, 시스템 설계의 자유도를 저해하지 않으면서, 영상·음성 데이터를 끊김 없이 재생할 수 있는 신규하고 개량된 재생 장치 및 타이밍 제어 방법을 제공할 수 있다.As described above, according to the present invention, a novel and improved reproducing apparatus and timing control method capable of reproducing video and audio data without interruption while minimizing the configuration while generating an accurate clock and without sacrificing freedom of system design. Can be provided.

또한, 재생 데이터를 공급할 때 정확한 클록을 생성하기 어려운 경우라 하더라도 2개의 클록 신호를 기초로 재생 타이밍을 제어함으로써, 영상·음성 데이터를 끊김 없이 재생할 수 있는 소형의 재생 장치 및 타이밍 제어 방법을 제공할 수 있다.In addition, even when it is difficult to generate an accurate clock when supplying reproduction data, it is possible to provide a small reproduction apparatus and a timing control method capable of seamlessly reproducing video and audio data by controlling reproduction timing based on two clock signals. Can be.

Claims (10)

재생 데이터로부터 제2 클록을 생성하고 상기 재생 데이터를 공급하는 재생 데이터 공급부;A reproduction data supply unit generating a second clock from the reproduction data and supplying the reproduction data; 상기 재생 데이터 공급부로부터 상기 재생 데이터를 공급받아 상기 재생 데이터를 저장하는 데이터 저장부;A data storage unit receiving the reproduction data from the reproduction data supply unit and storing the reproduction data; 고정된 주파수를 갖는 제1 클록을 생성하고 상기 데이터 저장부로부터 상기 재생 데이터를 취득하여 재생하는 재생부; 및A reproducing section which generates a first clock having a fixed frequency and acquires and reproduces the reproducing data from the data storage section; And 상기 재생 데이터 공급부로부터 상기 제2 클록을, 상기 재생부로부터 상기 제1 클록을 각각 입력받아, 상기 제1 클록 및 상기 제2 클록의 주파수 차이에 기초하여 상기 재생부에서의 재생 타이밍을 제어하는 동기 제어부;를 포함하는 것을 특징으로 하는 재생 장치. A synchronization for receiving the second clock from the reproduction data supply unit and the first clock from the reproduction unit, respectively, and controlling the reproduction timing of the reproduction unit based on the frequency difference between the first clock and the second clock; And a control unit. 제1항에 있어서,The method of claim 1, 상기 동기 제어부는 상기 제1 클록 및 상기 제2 클록으로부터 주파수 차이를 검출하여 저장하고, 상기 저장된 주파수 차이 값이 재생 타이밍을 제어할 수 있는 소정의 문턱값을 넘으면 재생 타이밍을 제어하는 것을 특징으로 하는 재생 장치. The synchronization controller detects and stores a frequency difference from the first clock and the second clock, and controls the reproduction timing when the stored frequency difference value exceeds a predetermined threshold for controlling the reproduction timing. Playback device. 제1항에 있어서,The method of claim 1, 상기 동기 제어부는, The synchronization control unit, 상기 제1 클록을 입력받아 제1 카운트값을 계측하는 제1 카운터;A first counter receiving the first clock and measuring a first count value; 상기 제2 클록을 입력받아 제2 카운트값을 계측하는 제2 카운터;A second counter configured to receive the second clock and measure a second count value; 상기 제1 카운트값과 상기 제2 카운트값을 비교하는 비교부;A comparator for comparing the first count value with the second count value; 상기 비교부의 비교 결과에 기초하여 상기 재생부에 대해서 재생 타이밍의 제어 신호를 출력하는 제어 신호 출력부;를 포함하는 것을 특징으로 하는 재생 장치. And a control signal output unit which outputs a control signal of reproduction timing to the reproduction unit based on the comparison result of the comparison unit. 제3항에 있어서,The method of claim 3, 상기 제어 신호 출력부는 상기 제1 카운트값과 상기 제2 카운트값과의 차이가 소정 값 이상인 경우에 상기 재생부에 대해서 재생 타이밍의 제어 신호를 출력하는 것을 특징으로 하는 재생 장치. And the control signal output unit outputs a control signal of reproduction timing to the reproduction unit when the difference between the first count value and the second count value is equal to or greater than a predetermined value. 제4항에 있어서,5. The method of claim 4, 상기 소정 값이 화상의 1프레임분에 상당하는 것을 특징으로 하는 재생 장치. And the predetermined value corresponds to one frame of an image. 제3항 내지 제5항 중 어느 한 항에 있어서,6. The method according to any one of claims 3 to 5, 제어신호 출력부는 상기 제1 카운트값과 상기 제2 카운트값의 비교에 기초하여,The control signal output unit is based on the comparison between the first count value and the second count value, 제1 카운트값의 초과분이 화상의 1프레임분을 초과한 경우에는 1프레임의 재생을 반복함으로써, 제2 카운트값의 초과분이 화상의 1프레임분을 초과한 경우에는 1프레임의 재생을 스킵함으로써 재생 타이밍을 제어 하는 것을 특징으로 하는 재생 장치.If the excess of the first count value exceeds one frame of the image, playback of one frame is repeated. If the excess of the second count value exceeds one frame of the image, playback is skipped by one frame. Playback apparatus characterized by controlling the timing. 제1항에 있어서,The method of claim 1, 상기 제2 클록은 소정량의 지터를 가지는 클록이고, 상기 제1 클록은 상기 제2 클록과 비교하여 지터가 적은 클록인 것을 특징으로 하는 재생 장치. And the second clock is a clock having a predetermined amount of jitter, and the first clock is a clock having less jitter than the second clock. 제1항에 있어서,The method of claim 1, 상기 재생 데이터 공급부는 MPEG2-TS 규격에 준거한 튜너 유닛이고, 상기 재생부는 상기 MPEG2-TS 규격에 준거한 신호의 복호처리를 하는 디코더인 것을 특징으로 하는 재생 장치. And the reproduction unit is a tuner unit conforming to the MPEG2-TS standard, and the reproduction unit is a decoder for decoding a signal conforming to the MPEG2-TS standard. 제1항에 있어서,The method of claim 1, 상기 재생 데이터 공급부는 IEEE1394 규격에 준거한 신호를 수신하는 수신기이고, 상기 재생부는 상기 IEEE1394 규격에 준거한 신호의 복호처리를 하는 디코더인 것을 특징으로 하는 재생 장치. And the reproduction data supply unit is a receiver for receiving a signal conforming to the IEEE 1394 standard, and the reproduction unit is a decoder for decoding the signal according to the IEEE 1394 standard. 재생 데이터로부터 제1 클록을 생성하고 상기 재생 데이터를 공급하는 재생 데이터 공급 단계;A reproduction data supply step of generating a first clock from reproduction data and supplying the reproduction data; 상기 재생 데이터 공급 단계에 의한 상기 재생 데이터를 공급받아 상기 재생 데이터를 저장하는 데이터 저장 단계;A data storage step of receiving the reproduction data by the reproduction data supply step and storing the reproduction data; 고정된 주파수를 갖는 제2 클록을 생성하고 상기 재생 데이터 저장 단계에서 저장한 상기 재생 데이터를 취득하여 재생하는 재생 단계; 및A reproduction step of generating a second clock having a fixed frequency and acquiring and reproducing the reproduction data stored in the reproduction data storage step; And 상기 재생 데이터 공급 단계로부터 상기 제1 클록을, 상기 재생 단계로부터 상기 제2 클록을 각각 입력받아, 상기 제1 클록 및 상기 제2 클록의 주파수 차이에 기초하여 상기 재생 단계에서 재생 타이밍을 제어하는 동기 제어 단계;를 포함하는 것을 특징으로 하는 타이밍 제어 방법. A synchronization for receiving the first clock from the reproducing data supply step and the second clock from the reproducing step, respectively, and controlling the reproducing timing in the reproducing step based on a frequency difference between the first clock and the second clock; Control step; comprising a timing control method.
KR20070054627A 2006-12-28 2007-06-04 Apparatus for reproducing and method for controlling timing KR101336799B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JPJP-P-2006-00356158 2006-12-28
JP2006356158A JP5139677B2 (en) 2006-12-28 2006-12-28 Playback apparatus and timing control method

Publications (2)

Publication Number Publication Date
KR20080063029A KR20080063029A (en) 2008-07-03
KR101336799B1 true KR101336799B1 (en) 2013-12-03

Family

ID=39696098

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20070054627A KR101336799B1 (en) 2006-12-28 2007-06-04 Apparatus for reproducing and method for controlling timing

Country Status (2)

Country Link
JP (1) JP5139677B2 (en)
KR (1) KR101336799B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003188865A (en) * 2001-12-18 2003-07-04 Sony Corp Data processor and data processing method
JP2005167747A (en) * 2003-12-04 2005-06-23 Matsushita Electric Ind Co Ltd Video decoder

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3692164B2 (en) * 1995-06-20 2005-09-07 ユナイテッド・モジュール・コーポレーション MPEG decoder
JP3573396B2 (en) * 1997-06-20 2004-10-06 富士通株式会社 Moving image decoding method and apparatus
JP3881441B2 (en) * 1998-02-05 2007-02-14 沖電気工業株式会社 Time information evaluation apparatus and evaluation method thereof
JP3921986B2 (en) * 2000-10-30 2007-05-30 ソニー株式会社 Synchronizing apparatus and method, digital broadcast receiving apparatus
JP2004180282A (en) * 2002-11-12 2004-06-24 Matsushita Electric Ind Co Ltd Stream information reproducing apparatus, stream information reproducing method, program, and digital broadcasting receiver

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003188865A (en) * 2001-12-18 2003-07-04 Sony Corp Data processor and data processing method
JP2005167747A (en) * 2003-12-04 2005-06-23 Matsushita Electric Ind Co Ltd Video decoder

Also Published As

Publication number Publication date
KR20080063029A (en) 2008-07-03
JP5139677B2 (en) 2013-02-06
JP2008167294A (en) 2008-07-17

Similar Documents

Publication Publication Date Title
US7671927B2 (en) Method for reducing channel switching delay in digital broadcast receiver and digital broadcast receiver using the same
JP4793247B2 (en) Recording apparatus, recording method, reproducing apparatus, and reproducing method
US7343087B2 (en) Data stream playback device and method, digital broadcast receiver and related computer program
US20070286245A1 (en) Digital signal processing apparatus and data stream processing method
KR100359782B1 (en) Method and Device for the system time clock control from MPEG Decoder
JP4257478B2 (en) Recording / playback device
US8422866B2 (en) Signal output device, signal output method and readable-by-computer recording medium
KR20050052717A (en) System and method for transcording stream data except audio data
KR101086920B1 (en) Exploitation of discontinuity indicator for trick mode operation
KR101336799B1 (en) Apparatus for reproducing and method for controlling timing
JP5032179B2 (en) Stream reproducing apparatus and media data decoding method
JP2006128857A (en) Information reproducing device, buffer control method, and program
US8005338B2 (en) Recording and reproducing device
US20060092983A1 (en) Clock generating apparatus
JP4589355B2 (en) Stream playback device
JP4212404B2 (en) System clock control apparatus and system clock control method for stream receiver
JP2004180282A (en) Stream information reproducing apparatus, stream information reproducing method, program, and digital broadcasting receiver
JP2004343516A (en) Recording and playback processing apparatus
JP2008193444A (en) Information processor
JP2009194591A (en) Reencoding apparatus, video recording apparatus, integrated circuit, and reencoding method
JP2005198203A (en) Video signal recording and reproducing apparatus and method
JP2006217229A (en) Digital broadcast receiving device
KR100956821B1 (en) Method for playing Personal Video Recorder
JP2005151523A (en) Digital signal transmission apparatus, and digital signal recording apparatus
JP2009060502A (en) Electronic device, output method and program

Legal Events

Date Code Title Description
N231 Notification of change of applicant
N231 Notification of change of applicant
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20161028

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20171030

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee